Hie there
I use my shellyHT with the USB-Power-Supply. I wrote a vb.net software which tries to ping the shelly evetry 30 seconds and if reachable it requests the current data with "http://<ip>/status
if awake (ping succcessfull) it results (mostly every 10 minutes) in a string:
{"wifi_sta":{"connected":true,"ssid":"","ip":"192.168.1.40","rssi":-63},"cloud":{"enabled":false,"connected":false},"mqtt":{"connected":false},"time":"11:35","unixtime":1644921344,"serial":1,"has_update":false,"mac":"4C7525341716","cfg_changed_cnt":0,"actions_stats":{"skipped":0},"is_valid":true,"tmp":{"value":19.50,"units":"C","tC":19.50,"tF":67.10,"is_valid":true},"hum":{"value":61.5,"is_valid":true},"bat":{"value":100,"voltage":2.92},"act_reasons":["sensor"],"connect_retries":0,"sensor_error":0,"update":{"status":"unknown","has_update":false,"new_version":"","old_version":"20220209-093309/v1.11.8-g8c7bb8d"},"ram_total":51520,"ram_free":41544,"fs_size":233681,"fs_free":156373,"uptime":11}
But sometimes it reasults in a string where "time" is an empty string and "unixtime" is of value 0 like
{"wifi_sta":{"connected":true,"ssid":"","ip":"192.168.1.40","rssi":-62},"cloud":{"enabled":false,"connected":false},"mqtt":{"connected":false},"time":"","unixtime":0,"serial":1,"has_update":false,"mac":"4C7525341716","cfg_changed_cnt":0,"actions_stats":{"skipped":0},"is_valid":true,"tmp":{"value":21.00,"units":"C","tC":21.00,"tF":69.80,"is_valid":true},"hum":{"value":62,"is_valid":true},"bat":{"value":100,"voltage":2.92},"act_reasons":["sensor"],"connect_retries":0,"sensor_error":0,"update":{"status":"unknown","has_update":false,"new_version":"","old_version":"20220209-093309/v1.11.8-g8c7bb8d"},"ram_total":51520,"ram_free":41544,"fs_size":233681,"fs_free":156373,"uptime":11}
What could be the reason? An error in the firmware?