ArjanKranenburg / virtual-devices

Homey-app to add Virtual Devices that can trigger your flows.
Other
25 stars 17 forks source link

Added Electricitymeter / Cumulative device #135

Open Allram opened 3 years ago

Allram commented 3 years ago

Added cumulative energydevice as a separate device when choosing between Device and Mode. Used Sensor capability and removed some of the capabilities (the ones that are left i'm using myself with an Wemos D1 Mini reading Power, temperature, status on cabinet door etc.) Just to keep them all under the same device.

Reused electricity.png from virtual_device folder.

I'm not a coder, so probably alot of "extra" code here that is not needed. But it works atleast :)

ArjanKranenburg commented 3 years ago

Hi Vegard,

Thanks a lot for your suggestions and help. I'm very busy at the moment, so I'll answer first. In general I'm not too keen on adding new capabilities, let alone a complete new device. But the addition of a cumulative energy capability is much requested. So I want to have a look at this (later) in more detail and either add it to the virtual device as options during pairing or create a new app for it.

With kind regards,

Arjan