outlet.pyPython script used for scheduling automation, also contains additional code used by the web interface to store the state of the outlets and properly configure the switchespy - 1.65 kB - 03/25/2017 at 17:42 |
|
|
index.phpVery simple and basic web interface to control the outlets, it can be improved by using css, or other buttons.php - 1.75 kB - 03/25/2017 at 18:11 |
|
|
gpio.phpused by the java script to switch the outlet off or on and to store the state of the outlet (OFF/ON)php - 1.81 kB - 03/25/2017 at 18:20 |
|
|
script.jsJava script used to control the buttons and display the appropriate images, calls on gpio.php to perform the actual switching and saving the outlet states.javascript - 2.90 kB - 03/25/2017 at 18:26 |
|
|
off_0.jpgImage file used by the web interface, represents first half of the switch in the OFF positionJPEG Image - 19.21 kB - 03/25/2017 at 17:44 |
|
|
off_1.jpgImage file used by the web interface, represents second half of the switch in the OFF positionJPEG Image - 17.90 kB - 03/25/2017 at 17:44 |
|
|
on_0.jpgImage file used by the web interface, represents first half of the switch in the ON positionJPEG Image - 17.44 kB - 03/25/2017 at 17:44 |
|
|
on_1.jpgImage file used by the web interface, represents second half of the switch in the ON positionJPEG Image - 17.98 kB - 03/25/2017 at 17:44 |
|
|