Hello.
I finally managed to flash the module via UART with no issues. Everything works as expected, but I have the same problem that
@akkipro had, that is, in Home Assistant, both the voltage and the battery level are updated every 10 seconds, but neither the temperature nor the humidity are updated, unless you manually run autexec.bat.
I have tried many configurations, simple as:
PowerSave
scheduleHADiscovery
delay_s 60
and more complicated:
PowerSave
startDriver SHT3X
SHT_Calibrate -3.2 +6
SHT_Measure
Battery_Setup 2000 3030 2.29
battery_measure
publishFloat "voltage" $CH4/1000
publishFloat "battery" $CH4/25
mqtt_broadcastInterval 300
scheduleHADiscovery
addRepeatingEvent 300 -1 SHT_Measure
but I still don't have the updated temperature and humidity.
By the way, I have noticed that if I "play" with the sensor for some time, the temperature difference between the offered sample and the real one is about 4 degrees Cesius, but if I let the module work "alone", the difference is reduced to about 2 degrees.
As soon as I get the module working normally, I will do a more in-depth study to be able to give a more approximate measurement.
Greetings.
Added after 9 [minutes]:More info about the problem:
LOG:
Info:SENSOR:SHT3X_Measure: Temperature:21.5C Humidity:55%
Info:MAIN:Time 48871, idle 65970/s, free 64960, MQTT 1(1), bWifi 1, secondsWithNoPing 48800, socks 2/38 POWERSAVE
Info:DRV:DRV_BATTERY : Measure Battery volt en perc
Info:GEN:CHANNEL_Set channel 5 has changed to 1 (flags 0)
Info:MQTT:Channel has changed! Publishing 1 to channel 5
Info:MQTT:Publishing val 1 to obkFF8FA1BC/5/get retain=0
Info:GEN:CHANNEL_Set channel 5 has changed to 0 (flags 0)
Info:MQTT:Channel has changed! Publishing 0 to channel 5
Info:MQTT:Publishing val 0 to obkFF8FA1BC/5/get retain=0
Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic obkFF8FA1BC/5/get
Info:MQTT:MQTT in topic obkFF8FA1BC/5/get
Info:MQTT:MQTT topic not handled: obkFF8FA1BC/5/get
Info:MQTT:Publishing val 3027 to obkFF8FA1BC/voltage/get retain=0
Info:MQTT:Publishing val 99 to obkFF8FA1BC/battery/get retain=0
Info:DRV:DRV_BATTERY : battery voltage : 3027.093750 and percentage 99.717834%
Info:MAIN:Time 48872, idle 134749/s, free 52744, MQTT 1(1), bWifi 1, secondsWithNoPing 48801, socks 3/38 POWERSAVE
Info:MQTT:channelSet NOT 'set'
Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic obkFF8FA1BC/5/get
Info:MQTT:MQTT in topic obkFF8FA1BC/5/get
Info:MQTT:MQTT topic not handled: obkFF8FA1BC/5/get
Info:MQTT:channelSet NOT 'set'
Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic obkFF8FA1BC/voltage/get
Info:MQTT:MQTT in topic obkFF8FA1BC/voltage/get
Info:MQTT:MQTT topic not handled: obkFF8FA1BC/voltage/get
Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic obkFF8FA1BC/battery/get
Info:MQTT:MQTT in topic obkFF8FA1BC/battery/get
Info:MQTT:MQTT topic not handled: obkFF8FA1BC/battery/get
Info:MQTT:channelSet NOT 'set'
Info:MQTT:channelSet NOT 'set'