Random Device Offline notification
Posted: Wed Aug 06, 2025 7:12 am
Hi all,
I have a problem where my device gets an Offline notification for 1-5 minutes at random times (e.g., 2-3 times per day).
The setup is the following:
- issue happening in my power-saving mode implemented by using power management with automated light-sleep and WIFI_PS_MAX_MODEM (listen interval set to 100). Main task runs every 10s, ULP each 500us for ADC sampling.
- confirmed that the ESP is not losing wifi connection when offline notification occurs, nor getting reset, or anything.
- everything is working great in this power-saving mode implemented, including MQTT messages during light sleep and WIFI_PS_MAX_MODEM (100 listen interval), they are handled every 10-20 seconds, no complaints about performance.
- sending only 1 rainmaker MQTT update every 5 minutes (~288 per day). I found that sending each notification every 1 minute reduces the number of offline notifications to 1 per day.
- using Rainmaker MQTT Alive interval of 600
- I have tried different values and combinations (e.g., mqtt alive intervals to 30 mins, etc), but the result is the same
Offline Notif: Rainmaker config: Versions:
- Node ID 1051DBDD8610
- IOS rainmaker app 3.4.0
- rmaker_common 1.4.12
- esp_rainmaker 1.6.1
- esp idf 5.5 rc1 (also happened on 5.4 as well)
- ESP32 S2 MINI 2 custom board
Does someone have any clue why this is happening, or can they check the status of the Node ID?
I have a problem where my device gets an Offline notification for 1-5 minutes at random times (e.g., 2-3 times per day).
The setup is the following:
- issue happening in my power-saving mode implemented by using power management with automated light-sleep and WIFI_PS_MAX_MODEM (listen interval set to 100). Main task runs every 10s, ULP each 500us for ADC sampling.
- confirmed that the ESP is not losing wifi connection when offline notification occurs, nor getting reset, or anything.
- everything is working great in this power-saving mode implemented, including MQTT messages during light sleep and WIFI_PS_MAX_MODEM (100 listen interval), they are handled every 10-20 seconds, no complaints about performance.
- sending only 1 rainmaker MQTT update every 5 minutes (~288 per day). I found that sending each notification every 1 minute reduces the number of offline notifications to 1 per day.
- using Rainmaker MQTT Alive interval of 600
- I have tried different values and combinations (e.g., mqtt alive intervals to 30 mins, etc), but the result is the same
Offline Notif: Rainmaker config: Versions:
- Node ID 1051DBDD8610
- IOS rainmaker app 3.4.0
- rmaker_common 1.4.12
- esp_rainmaker 1.6.1
- esp idf 5.5 rc1 (also happened on 5.4 as well)
- ESP32 S2 MINI 2 custom board
Does someone have any clue why this is happening, or can they check the status of the Node ID?