Menu

Tree [fcae16] master /
 History

HTTPS access


File Date Author Commit
 old_files 2016-01-20 berg53 berg53 [fdd970] Changing directory paths
 stepper_scripts 2016-10-14 Berg53 Berg53 [fcae16] addingfirst scrips to be looked at for usefullness
 readme.md 2015-05-16 berg53 berg53 [822efc] Editing to be on external network to show Stiv
 readme.txt 2015-05-16 berg53 berg53 [52d37f] Changer the timer relay page display
 relay_controller.py 2016-01-20 berg53 berg53 [f97674] adding new relay controller programed with one ...

Read Me

The Program can be run in Manual or Timer mode

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

  • direct brouser to localhost port 8080
  • set up the relays manualy or use the timer settings
  • you will need the raspberry PI to run this web aplication as it uses the
  • RPi.GPIO lib.
  • THis is a work in progress at nthe moment so don't expect too much
  • This web app also uses the python Bottle.py webserver

Manual Set UP

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.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.