Just wanted to add another device to the device list and have a thread to link it to. I won't go into too much detail about the flashing and config as there are many other threads for very similar devices.
This is from Ali https://www.aliexpress.com/item/1005006024045641.html
CBU/BK7231N module.
boot log
autoexec to publish and label water sensor state and put into deep sleep, configure battery.
Could probably get fancier with dry/wet sensor state, instead of on/off, in HA. And a nice automation to raise an email or other kind of alarm when water is detected. Device won't currently stay awake if water is detected.
Device does wake from deep sleep on button push and on sensor state change. Successful MQTT connection required.
OBK Template
This is from Ali https://www.aliexpress.com/item/1005006024045641.html

CBU/BK7231N module.






boot log
Code: Text
autoexec to publish and label water sensor state and put into deep sleep, configure battery.
Code: Text

Could probably get fancier with dry/wet sensor state, instead of on/off, in HA. And a nice automation to raise an email or other kind of alarm when water is detected. Device won't currently stay awake if water is detected.
Device does wake from deep sleep on button push and on sensor state change. Successful MQTT connection required.
OBK Template
Code: JSON