Comments (7)
@fbeltrao Thanks. I'll close this issue after I've confirmed that I can connect more than 100 devices sometime later this afternoon my time.
from iotedge-lorawan-starterkit.
This is expected because by default IoT Edge has a maximum of 100 devices concurrently connected. You can increase this settings on the edgeHub module with the env variable: "MaxConnectedClients".
Depending on the type of the lora device you can optimize for latency and downstream msgs (keeping the connection open for a long time, our default is 1 day) or for sensors density where after every lora message we close the connection to iot hub (this is good for something like parking sensors that are mostly, if not only upstream, and are not high frequency in sending msgs). You control this per device in specifying "KeepAliveTimeout" desired twin: https://github.com/Azure/iotedge-lorawan-starterkit/blob/master/Docs/quickstart.md#optional-device-properties
You could expect on an Intel gateway to have 500 or even up to 990 active connections at the same time. On a Pi we tested with 250 concurrent.
from iotedge-lorawan-starterkit.
@ronniesa Thanks for the info. I'm running the AAEON AIOT-IP68 gateway so I think I should easily be able to support 500 devices. Just want to confirm that I set the "MaxConnectedClients" variable in deviceConfiguration.json?
"env": {
"OptimizeForPerformance": {
"value": "false"
},
"MaxConnectedClients": {
"value": "500"
},
"mqttSettings__enabled": {
"value": "false"
},
"httpSettings__enabled": {
"value": "false"
},
"TwinManagerVersion": {
"value": "v2"
}
},
I've deploy 110 temperature and humidity sensors which are reporting every 5 minutes. If I understand correctly I think I should stay with the default KeepAliveTimeout for the device twins for these devices?
from iotedge-lorawan-starterkit.
Correct.
If the devices are upstream only you could further optimize by setting the device twin “Downlink” to false.
from iotedge-lorawan-starterkit.
from iotedge-lorawan-starterkit.
Yes, setting Downlink=false
will prevent the device from receiving cloud to device messages.
from iotedge-lorawan-starterkit.
@ronniesa and @fbeltrao I've confirmed that I can register more than 100 devices with my gateway. Thanks for the assistance!
Closing the issue.
from iotedge-lorawan-starterkit.
Related Issues (20)
- Fix the Label on PRs
- All CIs should be using federated Identities when possible and functional HOT 1
- [Story] Create pull requests from release workflow
- [Bug] If building the provisioning cli fails, release workflow looks green
- [Story] Create Arduino Sample for Class B beaconing HOT 2
- Document twin settings for Class B beaconing HOT 2
- DRs set to 0 in US915 router config recognized as FSK instead of "undefined" HOT 11
- When running E2E CI manually it still fail trying to update PR Label HOT 1
- Release pipeline: Azure Functions zip improperly created HOT 1
- Deployment Failed: 'PrincipalNotFound' error when deploying Discovery Service HOT 1
- QUESTION: Azure IoT TLS upgrade HOT 3
- Wrong manifest creation in release pipeline HOT 1
- Enhance Class B documentation
- Deployment is not idempotent when the deployDevice parameter is enabled HOT 1
- Add timestamp/datetime to console logs HOT 4
- Remove dynamic binding introduced with #1841
- Could not get Facade information from module twin HOT 2
- [QUESTION] Upgrading to latest bits HOT 1
- Join requests received are considered as unexpected HOT 4
- No matching manifest for linux/arm/v7 HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iotedge-lorawan-starterkit.