Open rrrrado opened 1 year ago
Incorrect values in items in totalKWH 1/2/3 here is a status from device:
{"wifi_sta":{"connected":true,"ssid":"IoT","ip":"192.168.10.34","rssi":-44},"cloud":{"enabled":true,"connected":true},"mqtt":{"connected":false},"time":"00:06","unixtime":1670454380,"serial":40107,"has_update":false,"mac":"40F52000B6BF","cfg_changed_cnt":0,"actions_stats":{"skipped":0},"relays":[{"ison":false,"has_timer":false,"timer_started":0,"timer_duration":0,"timer_remaining":0,"overpower":false,"is_valid":true,"source":"http"}],"emeters":[{"power":642.10,"pf":0.92,"current":2.89,"voltage":241.38,"is_valid":true,"total":18039107.3,"total_returned":5362303.9},{"power":1123.68,"pf":0.84,"current":5.47,"voltage":244.26,"is_valid":true,"total":18136912.4,"total_returned":6113606.3},{"power":304.42,"pf":0.64,"current":1.94,"voltage":244.44,"is_valid":true,"total":14161565.6,"total_returned":105.4}],"total_power":2070.20,"emeter_n":{"current":0.00,"ixsum":4.30,"mismatch":false,"is_valid":false},"fs_mounted":true,"v_data":1,"ct_calst":0,"update":{"status":"idle","has_update":false,"new_version":"20221027-110030/v1.12.1-ga9117d3","old_version":"20221027-110030/v1.12.1-ga9117d3"},"ram_total":49928,"ram_free":31364,"fs_size":233681,"fs_free":152859,"uptime":573585}
Here are values from OH items: 64941292800.000 J 65293862400.000 J 50982177600.000 J
Total returned KW/H looks fine. Values are same as status from device.
This has been fixed with OpenHAB 3.4 M6, there was a problem with the default unit which was J instead of kWh.
Incorrect values in items in totalKWH 1/2/3 here is a status from device:
{"wifi_sta":{"connected":true,"ssid":"IoT","ip":"192.168.10.34","rssi":-44},"cloud":{"enabled":true,"connected":true},"mqtt":{"connected":false},"time":"00:06","unixtime":1670454380,"serial":40107,"has_update":false,"mac":"40F52000B6BF","cfg_changed_cnt":0,"actions_stats":{"skipped":0},"relays":[{"ison":false,"has_timer":false,"timer_started":0,"timer_duration":0,"timer_remaining":0,"overpower":false,"is_valid":true,"source":"http"}],"emeters":[{"power":642.10,"pf":0.92,"current":2.89,"voltage":241.38,"is_valid":true,"total":18039107.3,"total_returned":5362303.9},{"power":1123.68,"pf":0.84,"current":5.47,"voltage":244.26,"is_valid":true,"total":18136912.4,"total_returned":6113606.3},{"power":304.42,"pf":0.64,"current":1.94,"voltage":244.44,"is_valid":true,"total":14161565.6,"total_returned":105.4}],"total_power":2070.20,"emeter_n":{"current":0.00,"ixsum":4.30,"mismatch":false,"is_valid":false},"fs_mounted":true,"v_data":1,"ct_calst":0,"update":{"status":"idle","has_update":false,"new_version":"20221027-110030/v1.12.1-ga9117d3","old_version":"20221027-110030/v1.12.1-ga9117d3"},"ram_total":49928,"ram_free":31364,"fs_size":233681,"fs_free":152859,"uptime":573585}
Here are values from OH items: 64941292800.000 J 65293862400.000 J 50982177600.000 J
Total returned KW/H looks fine. Values are same as status from device.