You did some programming for me about 2 years ago, I hope you are well.
Have you worked with the Particle Core? [url removed, login to view]
It is basically a wifi enabled Arduino.
I am using the relay shield with the program bellow, which enables me to turn On/Off/Switch relays from a web interphase.
I would like to add to this program:
1- The ability to read a variable with any of the relay status (on or off). This way I can know from my website what the status is.
2- Assign 4 pins (D4 to D7) so that when any is High it sends a URL Request simmilar to: [url removed, login to view]\[url removed, login to view]
Pin D4 will switch Pin D0
Pin D5 will switch Pin D1
Pin D6 will switch Pin D2
Pin D7 will switch Pin D3
Finally, I need my web interphase to display the relay status, this can be done doing a JQuery requests to variable on step 1.
I would like to work with you again.