Page 2 of 2

Re: Plugwise Switch

Posted: Tue Jul 06, 2010 12:39 pm
by pvgent
I have some questions about the switch

- how it is presented in the source (as an appliance?)
- can you access/read the state of the switch (on/off) using the PTE script language
- can you switch on/off the switch using the source the same way you can control circles in the source

The reason is this, if you can read the state of the switch (on/off) you can use this as an @home or away switch.

I've written an simple PTE script for a Master/Slave switch, if the powerusage of the master is higher than a given threshold the slave is switched on, if the powerusage is lower than the given threshold the slave is switched off. The script is executed every 60 seconds using the program page in the source (right side).

Re: Plugwise Switch

Posted: Tue Jul 06, 2010 7:16 pm
by TANE
The switch is presented as a switch.
You will see a short indicating blinking on the status.
Since the switch works as puls device you will not be able to request the status

You can alway use a extra appliance and request the status of this device with your script.
see the attachments.

Re: Plugwise Switch

Posted: Tue Jul 06, 2010 7:23 pm
by pvgent
Thank's for the information.