Gateway questions....
-
I have a few questions about gateways that I haven't managed to find answers to.
-
What is "inclusion mode"?
-
I'm running an MQTT Gateway on an ESP8266. It seems to be running fine and communicating with my Humidity sensor. However, I had to hardcode the MY_NODE_ID on the sensor. Does the MQTT ESP8266 gateway sketch not support automatic allocation of node ids?
Thanks all!
-
-
"Inclusion mode" is a feature for allowing the gateway to have a physical button controlling weather new devices should be allowed to be added or not.
But it's really the controller that decides what to to when new nodes present themselves. It can respect inclusion mode status or just ignore it (always adding new nodes). Presentation messages is always passed along to the controller even when inclusion mode is disabled.
Regarding id... It's always the controller that hands out ids. In the case of MQTT I guess you have to setup a rule answering those requests yourself if your controller doesn't support it..
-
Thanks for the explanation of inclusion mode. Much appreciated.
I thought some of the gateway sketches did allocate node id's....but that for some reason the MQTT Client gateway didn't.
No big deal....I don't want to use a 3rd party controller, so will just hard code the id's for now.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login