ArjanKranenburg / virtual-devices

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

I want to change the design (status) of a VD based on the status of a lamp #96

Closed rvqrat closed 4 years ago

rvqrat commented 5 years ago

I am a new user and need som help to get started. What I want to do is the following:

I like to have 3 Virtual Devices to turn ON or OFF different groups of lamps.

When pressing VD 1 a group turns ON and the button VD 1 should be “ON”, VD 2 should be “OFF” and VD 3 should be “OFF”.

When pressing VD 2 another group turns ON and the button VD 1 should be “OFF”, VD 2 should be “ON” and VD 3 should be "OFF…

Based on what VD has been pressed I am setting a variable to different values to know what to do next.

The problem I have is that the virtual device or virtual mode that I am using is showing “ON” or “OFF” based on its feedback (turn on, turn off, turn mode on, turn mode off), but also based on if it was pressed or not. And in my case I want its status not being triggered by a button pressure but by turn on, turn off, turn mode on or turn mode off.

Another question I have is what is the exact differences between turn on turn off turn mode on turn mode off based on the tests I have made all these modes are triggering the status of the button or device, but I guess it should be differences between them.

Anybody who knows how to do this?

Thanks!

ArjanKranenburg commented 4 years ago

My sincere apologies for not responding. It's been 10 months already. The first question is simply not possible. The status of the icon is arranged by Homey and you can always press it. If you see an app where it is done, let me know, but as far as I know it is not possible.

I think there is no difference between 'turn on' and 'turn mode on'. The first comes with the capability and the second was defined by me. Perhaps the first is added by Athom later, but I don't remember that. I've disabled adding flow-cards for 'turn mode on'.