If webserver value = then
Posted: Sun Oct 30, 2016 2:20 pm
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!
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!