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!
-
-
Clarification: I'm using the MQTT ESP8266 Client gateway sketch with an external MQTT broker running on a Pi.
Not sure why it doesn't support allocation of node ids....
-
"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.
Suggested Topics
-
Update RF24 library to latest version
Bug Reports • 23 Mar 2014, 23:37 • andriej 24 Mar 2014, 22:52 -
Email notifications received twice
General Discussion • 6 Feb 2023, 16:15 • Jodaille 12 days ago -
ESP32 with LoRa
General Discussion • 31 Jan 2023, 11:06 • dhanushmh 5 days ago -
Why is the output of ACS712 current measurement module unchanged?
General Discussion • 19 Jul 2021, 09:09 • Tessie T 9 days ago -
Which device I have to use to connect with accelerometer before connecting to my pc?
General Discussion • 24 Jan 2023, 17:16 • Yada Kijsathan 22 days ago -
Is it possible to extract child ID from a just sent message?
General Discussion • 8 Nov 2021, 09:21 • Nigel31 8 days ago