Page 1 of 1

If webserver value = then

Posted: Sun Oct 30, 2016 2:20 pm
by eirik226
Hey,

Tried searching a bit but couldn't find any relevant information. I'm trying to setup a good morning routine that turns on light slowly (using the good morning action tellstick-duo plugin have), turns on the TV, turns on music etc.

What I am trying to achieve is a python script that checks first the status of the actions I want to do. EG:

- Turn TV on if persistent TV value = False
- Turn on Music if persistent Sonos Value = false

And if they are turned on update the value (This is easy).

So basically, is it possible to do a: If webserver.tvvalue == false then blast IR signal and how would I do it?

Thanks in advance!

Re: If webserver value = then

Posted: Sun Oct 30, 2016 3:36 pm
by Pako
If_webserver_value=then.png
If_webserver_value=then.png (8.64 KiB) Viewed 2169 times

Re: If webserver value = then

Posted: Sun Oct 30, 2016 4:20 pm
by eirik226
Thanks a lot!

I keep forgetting about normal actions, I always think "over-complicated".