WebPowerDuino by jrborba.rs

This sketch is missing a short description
/* WebPowerDuino 0.01.00 WebPowerDuino (c)2015-12-03 Jose Ricardo Borba http://www.jrbsystems.com/ code modified used from http://kellykeeton.com/2013/08/06/webpower/ code modified used from http://brwry.com/2012/04/storing-settings-between-brews/ This application will run on a Arduino with a WizArd compatible ethernet shield. The Arduino will server up a jQuery enhanced website using webduino for switching on and off relays The relays can be connected to any number of applications. Most Specific it was intended for remote automation of utility main's power for home automation. You will need the webduino library in your Arduino /library folder to compile; built in Arduino 1.5.4 and webduino 1.7 (you will need to restart IDE to load) https://github.com/sirleech/Webduino The application also has functionality for Push Button, which is essentially a pulse rather then a latch of a relay, this is useful for hooking up to items that need turned on and off with a time delay on the power button. This code assumes the use of a 2x2 or 1x4 optio-isolator relay module. for a max of 7 relays (I am out of memory in default code to add more) Any use of high voltage or damage to your hardware is not my fault. I assume no risk or responsibility for the quality of this code. To enable auth look below and change the settings accordingly. you will need to base 64 encode your creds. Currently I am not saving the Port Name to EEPROM, if you have suggestions on how to accomplish this quickly let me know, I just haven’t done it yet.. until then you can edit the relayUse array below change 'Undefined' To your port name after reboot, Port1,Port2... etc. To use this, enter the following USLs into your browser. Replace "host" with the IP address assigned to the Arduino. (variables below) http://host/ These URLs brings up a display of the values READ on digital pins This is done with a call to defaultCmd. http://host/webpower This URL also brings up a display of the values READ on digital pins But it's done as a form, by the "formCmd" function, and the digital pins are shown as radio buttons you can change. When you click the "Submit" button, it does a POST that sets the digital pins, re-reads them, and re-displays the form. http://host/settings This URL will assign the pins to relays, by default all relays are disabled this pin to relay information is stored on your Arduino EEPROM Note: 255 is the default and that means the Item is not active. ChangeLog: 0.01.00 Initial release */

Embed This Sketch

Use the following HTML code to embed the sketch code above in your blog or website.

<iframe style="height: 510px; width: 100%; margin: 10px 0 10px;" allowTransparency="true" src="https://codebender.cc/embed/sketch:197746" frameborder="0"></iframe>

Embed The Serial Monitor

You can also embed the Serial Monitor section! Just use this HTML code.

<iframe style="height: 510px; width: 100%; margin: 10px 0 10px;" allowTransparency="true" src="https://codebender.cc/embed/serialmonitor" frameborder="0"></iframe>