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).
Plugwise Switch
Re: Plugwise Switch
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.
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.
- Attachments
-
- ps.png (10.25 KiB) Viewed 2684 times
-
- pl.png (13.14 KiB) Viewed 2684 times
Enver Tanriverdi | http://blog.tane.nl
Re: Plugwise Switch
Thank's for the information.