1. Arduino Uno Board R3
2. Ethernet Shield R3
3. SainSmart 4-Channel 5V Relay Module for Arduino. See: http://www.amazon.com/gp/product/B0057OC5O8/ref=oh_details_o05_s01_i01?ie=UTF8&psc=1
4. (optional) LCD Module 20 X 4. See: http://www.amazon.com/gp/product/B003B22UR0/ref=oh_details_o05_s01_i02?ie=UTF8&psc=1
Arduino Web Server:
Will operate the Relay Module based on data received by HTTP GET request. Ex: [url removed, login to view]
relay1: activated for .7 second if open=0.
relay2: activated for 3 seconds if status=1
relay3: activated for 3 seconds if status=2
relay4: activated for 3 seconds if status=3
auth passes an authentication token to verify GET request was sent by web app and prevent a simple page refresh to control relay module.
A simple method of authentication is desired. An option is to match a token that is generated by arithmetic operation using private key and system date-time. Ex: private key (any fixed number) * day of month / hour + minutes. Authentication is not major concern since Arduino will only be accessed inside LAN. Developer can proposed another way to accomplish this.
Include two more variables in GET request to be displayed in LCD: four digit integer and number in currency format.
Project requires the code (clean, well documented) for Arduino and components schematics showing how to hook up everything.
I will assemble parts, load code to Arduino and modify web app. Everything must work as described.