I use several Power sockets which provide energy insight, i also have a P1 meter (via Domotizc on Synology NAS)
When i look at the tab “Energy”(Energie in dutch) is see my power usage. However Homey counts my P1 meter (All the energy used) with the power used my the powerplugs to create a total which is to high.
example:
I use my lights (100w)
I see 100w as usage on the powersocket and 100w on the P1 meter.
Homey energy tab makes this a total of 200w
If you want to have overall house consumption correct, you can use virtual device with energy metering capability and assign negative consumption to it based on power consumption from other devices. Then overall consumption should be correct.
A device that is a power meter like the P1 needs to have:
“energy”: {
“cumulative”: true
},
defined as a property in the app.json. Is there anyway you can do that in the way you get the device from Domoticz?
I will look into this.
Unfortunatly changing app.json sounds difficult and not something i will (can) do.
Wil look into the virtual device if i can fix it that way.
how did you manage that the minus power turns into plus power when setting it for correction into a virtual device? This is really annoying that the minus from the solar is deducted to the Energy Measure.
Therefore it is a wrong global value which will dramatically change as soon as I start to include more power measurings which have to be added to the correction flow too.
I managed to have a flow taking the measured solar energy and save it into the virtual device. But is there a wildcard or another way to convert the minus into plus? If I try to add + or - where Power is selected then a get errors.