I need a little help with a problem I have on my web page. What I need is a snipit of code that will change the status of my vertical blinds. This is how it works: The H/U code is A9 which controls a super socket. When an on signal (A9-on) is sent to the socket the motors opens (or closes depending on the position) the curtains. Because the motor needs an on signal, I have set up an event that turns the socket off after 10 seconds. That way when another on signal is sent, the curtains reverse. What I need is a way to set the status to either open or closed (just change the status of the device from one to the other) and dispay it on my web page. Right now it only shows on/off but that doesn't tell me much except that my event worked and turned off the super socket.
Thanks.
Thanks.
Comment