Gateway MQTT first launch
-
Hello,
I developed a library that allows you to modify and store the parameters of the #define sketches in eeprom when launching a module. Thus no need for IDE, compilation and upload.
It works well with all nodes but with an MQTT gateway it is waiting to find the MQTT broker to start the program.
But the first time, the parameters are, of course, not entered.
An idea to work around this problem?
Thank you.
-
@miclane use dns and a convention for naming the broker like mysensors-mqtt.local?
-
Thank you for the idea.
I try and I will do a report.But is there a way to start the sketch after a delay even if the gateway does not find the broker.
I understand that this is not very interesting .... except for my library.
With a node, it is possible to start the sketch after a delay with the parameter MY_TRANSPORT_WAIT_READY_MS.Thank you.
Suggested Topics
-
Blink on nodeMCU / RFM69 gateway
Hardware • 7 Oct 2018, 18:06 • rmh 8 Oct 2018, 09:02 -
Update RF24 library to latest version
Bug Reports • 23 Mar 2014, 23:37 • andriej 24 Mar 2014, 22:52 -
Node-red msg queue form Controller to Gateway over MQTT
Development • 16 Sept 2020, 07:43 • alexelite 16 Sept 2020, 07:43 -
Why is the output of ACS712 current measurement module unchanged?
General Discussion • 19 Jul 2021, 09:09 • Tessie T 13 days ago -
ESP32 with LoRa
General Discussion • 31 Jan 2023, 11:06 • dhanushmh 9 days ago -
ESP-NOW
General Discussion • 22 Apr 2018, 05:58 • NeverDie 17 Feb 2025, 22:24