I have an MQTT Micro Gateway connecting using TLS to a broker in the cloud. I’m having issues with it reconnecting to the broker after a power cycle. When I cycle power the status light will blink in a 1 sec. pattern of: white 8x, Off, Green, Off (repeat)
Interestingly, when I tap the CNG button once, the light will turn off, then turn blue, and then turn green. At this point, the Gateway will be connected to my WiFi and will publish data to the cloud.
How do I make the Gateway reboot and connect automatically? I have two Gateways and both behave identically.
That’s very interesting. I have never seen this before.
The Gateway should completely ignore the CFG button press unless it is held down for at least 3 seconds.
There are two small buttons near the RGB LED inside the unit. Once is C, the other is R. If you press the R button does the same thing happen?
How are you powering the Gateway? Are you using a power supply we provided?
I tried pressing the RST button on the ESP32 daughter board. The RGB light turned off, turned blue, and then solid green. (The same result as when I press the CFG button)
This hardware was originally bought by our customer and now I am reconfiguring it to communicate with a new MQTT server. I assume they are the original power supplies. They are identical for both gateways, are UL listed, and output 12VDC/1.5A I’ll attach an image of the power supply.
One additional piece of info… When I log into the gateway’s config page, the version listed is 1.0.6
As a test, I tried an alternate 12VDC/2A power supply. The symptoms were the same.
There should really be no difference between disconnecting/reconnecting power and pressing the RST button. Both would result in a reboot of the processor. It is strange that pressing the RST button does not cause the same symptom of a power cycle.
You have the latest firmware on the MQTT Gateway. I am not sure what else to suggest as I am not able to replicate on hardware here.
I did some more testing. I’m not 100% certain, but it does seem to be related to a (noisy?) power supply issue. Certain circuits in my building work better than others. It also consistently works better to plug in the barrel jack into the device first, and then plug in the AC adapter into the wall.