File | Date | Author | Commit |
---|---|---|---|
old_files | 2016-01-20 |
![]() |
[fdd970] Changing directory paths |
stepper_scripts | 2016-10-14 |
![]() |
[fcae16] addingfirst scrips to be looked at for usefullness |
readme.md | 2015-05-16 |
![]() |
[822efc] Editing to be on external network to show Stiv |
readme.txt | 2015-05-16 |
![]() |
[52d37f] Changer the timer relay page display |
relay_controller.py | 2016-01-20 |
![]() |
[f97674] adding new relay controller programed with one ... |
To start it.
"sudo python Manual_relay_controler.py" ** Manual Mode **
If you restart the web server the relays will all default Back to OFF!
Do Note you Need to install a better browser
in your PI to allow the WEB Widgets to work
In the Bottle Server Otherwise some functions
Fail
To start using the manual system just put the bottle.py and
the Manual_relay_controller.py in a folder and simply
these are in the relay_timer folder for now it may change later
If you want to use it as local host leave the file as is
but if you want to use it over wifi remotely set you
host = 'localhost'
to reflect you local ip example '192.168.0.101' or
** set host to '0.0.0.0' so it can be seen from external net
** this will mean anyone that knows your ip and port can
operate your PI
sudo python Manual_relay_controller.py
This will start the manual server direct your web browers to what
ever you set the host value to :8080 this will bring up the toggle
Switches to control the pins
It is set for a 8 channel relay do make sure you have a optic coupler
relay to protect you PI from power spikes
The pins used are [12, 16, 18, 22, 32, 36, 38, 40]
so set you relay jumper cables to use them good luck.