Re: Plugwise Switch
Posted: Tue Jul 06, 2010 12:39 pm
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).
- 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).