I don't know why the Wh value isn’t showing up in Domoticz an how can I fix this?
Code: Select all
{
"device": {
"identifiers": [
"xxxxxxxx"
],
"manufacturer": "APsystems",
"model": "DS3",
"name": "Inverter xxxxxxxx",
"sw_version": "V2284"
},
"device_class": "energy",
"enabled_by_default": true,
"force_update": true,
"name": "Energy",
"state_class": "total_increasing",
"state_topic": "pv2mqtt/inverter/xxxxxxxx",
"unit_of_measurement": "kWh",
"unique_id": "pv2mqtt_xxxxxxxx_WH",
"value_template": "{{ value_json.WH / 1000 | round(3) }}"
}Code: Select all
{"AphA": 0.17,
"AphB": null,
"AphC": null,
"PhVphA": 232.0,
"PhVphB": null,
"PhVphC": null,
"W": 8.0,
"VA": 40.7,
"VAr": 40.0,
"WH": 470.0,
"PF": 0.196,
"Hz": 50.0,
"TmpCab": 17.0,
"TmpSnk": null,
"TmpTrns": null,
"TmpOt": null}