ON and OFF Commands for plugwise devices

Forum over Homeseer scripts (DUTCH forum)

Moderators: TANE, Ruud

Post Reply
Juande
Member
Member
Posts: 52
Joined: Fri Oct 26, 2007 1:14 am
Location: Spain

ON and OFF Commands for plugwise devices

Post 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
User avatar
TANE
Forum Moderator
Forum Moderator
Posts: 4806
Joined: Fri Apr 06, 2007 9:46 pm
Location: Netherlands
Contact:

Re: ON and OFF Commands for plugwise devices

Post by TANE »

You can send HTTP commands via scritps.
My first setup was build this way...
but why not use the HS-Plugin ?
Enver Tanriverdi | http://blog.tane.nl
Juande
Member
Member
Posts: 52
Joined: Fri Oct 26, 2007 1:14 am
Location: Spain

Re: ON and OFF Commands for plugwise devices

Post 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
User avatar
TANE
Forum Moderator
Forum Moderator
Posts: 4806
Joined: Fri Apr 06, 2007 9:46 pm
Location: Netherlands
Contact:

Re: ON and OFF Commands for plugwise devices

Post by TANE »

In the HS-Plugin you can also use the power consumption as trigger for your events.
Enver Tanriverdi | http://blog.tane.nl
Juande
Member
Member
Posts: 52
Joined: Fri Oct 26, 2007 1:14 am
Location: Spain

Re: ON and OFF Commands for plugwise devices

Post 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
Post Reply

Return to “Homeseer Scripts Forum”