Page 1 of 1

ON and OFF Commands for plugwise devices

Posted: Mon Dec 21, 2009 11:34 pm
by Juande
Hi all

Does anybody know any way of sending an ON or OFF command to any Plugwise device (Plugwise plugin device) directly from a script?

Thanks

Juan

Re: ON and OFF Commands for plugwise devices

Posted: Mon Dec 21, 2009 11:40 pm
by TANE
You can send HTTP commands via scritps.
My first setup was build this way...
but why not use the HS-Plugin ?

Re: ON and OFF Commands for plugwise devices

Posted: Mon Dec 21, 2009 11:52 pm
by Juande
I have one plugwise device connected to an ethernet switch. The switch should be normaly off unless a mediacenter connected to this switch wakes up so it needs access to LAN through this switch.

I have a recurring event that checks through pings to computers if the mediacenter is working or if it is suspended. I need then to switch on or off the ethernet switch based on the status. I know that I could use a HS event based on the status change for the mediacenter...

Juan

Re: ON and OFF Commands for plugwise devices

Posted: Tue Dec 22, 2009 12:03 am
by TANE
In the HS-Plugin you can also use the power consumption as trigger for your events.

Re: ON and OFF Commands for plugwise devices

Posted: Tue Dec 22, 2009 2:21 pm
by Juande
TANE wrote:In the HS-Plugin you can also use the power consumption as trigger for your events.

Thanks, that was the selected option and works like a charm! :D

Juan