>>20887108
The same issue happened again. Even with 5 minutes for deep sleep and measurement intervals of 60 seconds, a fully charged AAA battery lasted around a full day.
I have attached 2MB dumps from the following stages:
- after battery died (_corrupted2)
- after flashing OpenBK again (_afterflash1)
- after restoring RF part, right after reflashing OpenBK (_afterflash2)
- after formatting the sensor (using erase all button, filename is _aftererase)
- after reflashing OpenBK right after using the erase all button (_aftereraseall2)
In all situations, the option to configure OpenBK was checked. I manually configured OpenBK this time, based on the previous configuration.
The sensor only worked again after using erase all and reflashing OpenBK and applying the manually configured settings.
EDIT: this was my current autoexec.bat script:
startDriver SHT3X
mqtt_broadcastInterval 60
// hold button to get into safe mode
addEventHandler OnHold 20 SafeMode
setChannelLabel 3 humidity
setChannelLabel 2 temperature
// AAA battery: 1500 3000
// rechargable: 1800 2400
Battery_Setup 1500 3000
Battery_Measure
Battery_cycle 60
SHT_cycle 60
// wait until wifi is connected
waitFor WiFiState 4
// go to deep sleep if mqtt can't connect
addRepeatingEventID 30 -1 1337 DeepSleep 300
// wait until mqtt is connected
waitFor MQTTState 1
cancelRepeatingEvent 1337
scheduleHADiscovery
delay_s 60
DeepSleep 300
Is there a way to disable broadcasting RSSI or specific mqtt channels?
also, HASS shows a sharp decrease in battery voltage after almost a whole day running the script:
It also shows that RSSI was being broadcast every 2-3 minutes instead of the usual 5 minutes after deep sleep, with some holes in its reading: