Wouldn't be great to turn on and off the lights of your house remotely, no problem ? With the onOff software, with a simple touch on your phone you can turn on any light that you want, at your entrance, garage, or in anyother room, you can also turn on or off remotely your watering system, heating radiatiors, boiler or any other electrical devices.
This automation software made to controll relays with a raspbbery pi. The software has buttons that turn on or off the relays of a raspbbery. You can create buttons and choose the GPIO that they control.
Use onOff to turn on and off
Make sure that your garden is hydrated, turn on and off the water when you need to from the comfort of your smartphone.
Since you can easily connect GPIOS to the web interface you use it as a simple platform to prototype your robots.
Turn on and off things from anywhere. If you plug in your device on the internet you can access it remotely from anywhere.
This a simple project and all you need is
1) A rpi with onoff and a relay.
2) 12V light and the right 12 V power supply for the light.
Connect the 12v light to the relay and the power supply and connect it to the rpi, then configure the pins (go to http://localhost/config.php) and thats it. Once you go again to the web interface you will see the button ready to turn on or off your light.
1) Extract the files from pi-remote- to the root folder of your webserver for example, /var/www/html Copy 2) Start your webserver if nessesary and go to the configuration page. http://localhost/config.php
1) Go to http://localhost/ 2) After 2.5 seconds it will refresh the status of the buttons and change the buttons to show if they are turned ON or OFF. 3) To Turn ON or OFF a button simply click on it. It will quickly show that we are changing the state of the relay.
Simply email us at email@example.com