This object is in archive! 

Help with virtual switches

JB shared this question 10 years ago
Need Answer

I’m now learing to use a virtual switch and have a question. I have made a simple rule, when the virtual switch (action) is toggled I want to toggle a light – but nothing happens. I can see the event ("Live…" ) but nothing happens.


What am I missing?

Replies (6)

photo
1

So when virtual switch is on then turn on Lamp x?


When virtual switch = on

Lamp x action on

photo
1

I guess he want Virtual Switch ON or OFF (toggle)

Lamp X action on


I have never used ANY (toggle) with the virtual switch but i guess it should work.

photo
1

I have made some progess but I have a new question...


I have created two virtual switches, both are configures (type) as HTTP devices. Both of them appears under “Lights & Power (Control Center) – so far so good but when I manually toggle them (on/off) switch nr 1 report an event as state changed to true (or false) but switch nr 2 report an event as state changed to on (or off).


Why do the switches report different values (on/off vs true/false)?

photo
1

Are you sure you used the same actions in you rule?

I mean, sometimes you have the choice between on/off and true/falseCan you check both rules and verify it's the same?

Otherwise I don't know why you get different events in log.

photo
1

Hi,


And what is the difference between on/off and true/false ?


Mick

photo
1

Nothing, this is a bug.

Leave a Comment
 
Attach a file