Hello, I have OpenMQTTGateway installed on an ESP32 and it is receiving data from a SmartDry sensor and integrated into Home Assistant. I noticed if it doesn’t receive data for a couple of days (since I’m not doing laundry every day) that the devices go to ‘Unknown’ and I no longer see a blue light on my ESP32. I have to unplug my ESP32 and plug it back in for it to turn its blue light back on and start transmitting data for the SmartDry again. Is there a way to prevent this?
Hi @BrenenP,
Which environment/binary on your ESP32 are you using to monitor your SmartDry sensor?
A restart every now and then can easily happen, but I’ve never seen a total outage of a BLE OMG gateway, as you are describing it.
Isn’t your ESP32 BLE gateway not also picking up other BLE device in your vicinity, even if you might not be inetretsed in them for your HA system? You can easily monitor this with MQTT-Explorer.
Are you using the latest OpemMQTTGatewat version 1.0.0?
If so, could you try sending the following commands
mosquitto_pub -t home/OpenMQTTGateway/commands/MQTTtoBT/config -m '{"interval":100}'
and
mosquitto_pub -t home/OpenMQTTGateway/commands/MQTTtoBT/config -m '{"bleconnect":false}'
to see if it makes any difference to your experienced total outages?
How did you originally flash OMG to your ESP32 - via web upload, flash tool or with PlatformIO?
The web upload of version 1.0.0 can be done at
With the new version I would just try it as is, to see if the outages still happen without any interval
and bleconnect
changes.
Would be interesting to tey the v1.1.0
FYI - I have not experienced this issue since I updated to v1.0.0, I have not tried v1.1.0.
On a tangent, this forum is unusable on desktop Chrome, I am not able to click anything or scroll.
Clicking issue is:
<img class="preloader-image" src="data:image/svg;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" alt="OpenMQTTGateway">
Scrolling issue is:
html {
overflow-y: hidden !important;
}
Removing both of those through Inspect allows normal use. I know this is unrelated to the topic but just wanted you to know.