Hi,
I am using the GitHub - AlexxIT/SonoffLAN: Control Sonoff Devices with eWeLink (original) firmware over LAN and/or Cloud from Home Assistant integration, all works well and I have a Sonoff POWCT installed.
In the eWeLink app it shows the value “Today’s Export”, which I want to use in the Energy Dashboard, it is however not shown in HA (HA shows, current, Energy Day/Month, Power and Voltage).
If I download the log from the integration I see “dayPowerSupply” (see part of the log below) which corresponds with the value in the app.
"getHoursKwh": {
"start": 0,
"end": 719
},
"only_device": {
"ota": "success",
"ota_fail_reason": 0
},
"TZ": "Asia/Bangkok",
"detectionMode": 1,
"yesterdayKwh": 1004,
"dayPowerSupply": 1136,
"monthPowerSupply": 1136,
"supplyCurrent": 0,
"supplyPower": 0,
"yesterdayPowerSupply": 0
},
"model": "POWCT",
"online": true,
"local": true,
"localtype": "plug",
"host": "192.168.1.xxx:8081",
"deviceid": "10023xxxxx"
}
How to turn the value in a sensor that can be used in the Energy dashboard ?