Speed,?
I was one that asked why use the node name. I can see your point now, but originally I didn't. What you are saying is with the node name in the topic. The ESP8266, ESP32, or whatever would only need to subscribe and publish to a wildcard, which doesn't require that node to have several strings for subscribe and publish.?
The one thing I don't understand what you are doing is storing stuff in your EEPROM, but that is something beyond this topic.?
Chris?
toggle quoted message
Show quoted text
On Thu, Dec 13, 2018 at 11:57 AM, Speed wrote:
[ Someone asked why we would use a node name/number?in the topic:?it makes it a lot simpler for the node itself to only subscribe to the topic "TxNamib/servo.0001/#"? versus subscribing to multiple topics (various post about this on Google) and managing 16 strings that needs to be stored in non-volatile memory (if you want it to be configurable). Currently, I only have to save the "0001" in EEPROM, as well as the TxNamib/,? the MQTT ip address, the WiFi SSID and WPA. ]