Page 1 of 1

Sonoff POW : create a virtual device for HLW8012 : voltage/current/power/PF measurement

Posted: Sunday 02 December 2018 22:03
by mapal
Hi,
long user of domoticz, love it! Virtual device are useful through MQTT and else to implement whichever sensors.
I am using Sonoff POW (flashed with ESP easy) in my setup.

The chip HLW8012 in Sonoff POW allows for voltage/current/power/power factor measurements and this is awesome for such a cheap device and relatively .
The ESP easy allows for sending data to a domotics virtual device via its IDX:

Only problem, these voltage/current/power/power factor data means 4 values. I don't have any device with 4 values adapted for the task thus the following error using a device with 5 values (see screncap)

Could you create such a virtual device?