AdyRock / homey-netscan

4 stars 3 forks source link

Power consumption when ON and OFF #11

Open arobasse2 opened 5 months ago

arobasse2 commented 5 months ago

Hello

I use your app to detect if devices are powerd on or not I wanted to fill the power consumption value in Homey, but it result in always consuming this value of watt, not only when the device is connected

Would it be possible to have two possible power values (when ON and when OFF, for like standby mode) And to activate the corresponding power consumption depending on the state of the device ?

I know a little of programming in NodeJS, I can help if you don't have the time :)

Have a good day, and thanks for this app !

AdyRock commented 5 months ago

Strange, I was only looking at that myself today 😁 The problem is Homey decides the power used via an on/off capability, but the app controls an alarm. Maybe I can add a setting to let the user decide if it should be an alarm or on/off.