Device keeps on disconnecting and re-connecting to Rainmaker via MQTT
Posted: Mon Sep 23, 2024 7:01 am
Hi All,
Have a strange one but I have flashed a board with custom firmware using the Rainmake zigbee gateway example as a base. I can succesfully claim the device and get it enrolled into my dashboard with everything working well. However throughout the day the board will disconnect and then reconnect a couple of seconds later. In the Rainmaker app under notifications I see hundreds of offline then online messages. The device reconnects within random times of 2 - 80 seconds. I doubt it is the wifi strength issue as I have it transmitting data back to insights and RSSI normally sits at about -40db and when the errors happen there is no difference in RSSI at that time. Also in the same location I had it running as a Zigbee coordinator sending MQTT packets back to a Mosquitto broker without any issues.
Is there some kind of session setting with the Rainmaker MQTT broker that I need to tweek to stop it reporting online offline messages randomly?
I am getting the attached error messages through Insights, not sure why it thinks I haven't uploaded a firmware package but I have uploaded the latest ZIP that is flashed on the device.
Have a strange one but I have flashed a board with custom firmware using the Rainmake zigbee gateway example as a base. I can succesfully claim the device and get it enrolled into my dashboard with everything working well. However throughout the day the board will disconnect and then reconnect a couple of seconds later. In the Rainmaker app under notifications I see hundreds of offline then online messages. The device reconnects within random times of 2 - 80 seconds. I doubt it is the wifi strength issue as I have it transmitting data back to insights and RSSI normally sits at about -40db and when the errors happen there is no difference in RSSI at that time. Also in the same location I had it running as a Zigbee coordinator sending MQTT packets back to a Mosquitto broker without any issues.
Is there some kind of session setting with the Rainmaker MQTT broker that I need to tweek to stop it reporting online offline messages randomly?
I am getting the attached error messages through Insights, not sure why it thinks I haven't uploaded a firmware package but I have uploaded the latest ZIP that is flashed on the device.