New features are added to the WebPower an Arduino-Webduino Relay Switcher!
The biggest improvement is that I have added physical controls for the real world. The first is a analog sensor for monitoring voltages or more specific light sensor to monitor the presence of a LED that is indicating a device is powered on... this is specifically important for devices that use pulsed relays. I have built in the functions for two such sensors and disabled them by default.
The next feature was the ability to control the on-off functions manually when your next to the device.. I wanted something that would power on the devices in order. So if there is a boot up sequence I could turn on my radio gear quickly with out the use of a webpage. Pressing the On button multiple times will turn on each relay in order, note that if you have a pulse relay the current version isn't monitoring for that and thus will latch a pulse relay. I will correct this later, or you can workaround by simply putting that relay as your last relay and being careful not to latch it.
The off button will reverse of the on button, something like a rocker switch would work nice for this..
I do recommend using a pull-down resistors well as remember to shield the use of analog pins, test this in your environment. I used 10kOhm pull-down resistors to keep the pins quiet. This was some dirty code I put in a lazy debounce and I'm sure there is a better way.. if you have input let me know!
You can get the code back on the main page for this project.
Example of a Analog push button for the on/off switch with a pull-down resistor (10Kohm for example)