I spent the past month learning, trial and error and finally putting it all together.
I still know very little, but I know a lot more than when I started
I have posted the full code for my Webserver in the attachment -(It would not fit in the insert code - as it exceeds 9500 characters)
The Server runs with multiple connections - LAN or internet.
8 buttons for turning items on / off - I used colors, and sizing for examples
It Displays the status of each device / auto updates the status
Refreshes the sensor status every 35 secs.
The Sensor displays if room is light or dark.
Next on the list to add:
Display “connected” on LCD when a user connects - should be easy - LCD is on order - 2 line serial ---- looking for coding ideas
Display the actual IP - ? hmm
PIR sensor - should be easy
Very Simple password protection -? ?
I am also open to coding improvements to make it more efficient, if any one is willing to help this project along
The hours of trying to code, trial and error and put it all together was a joint effort, I thank all those who helped!.
Special Thanks to zoomkat for some test code - It made me redo a large portion of my server but , it works much better now!!
Hopefully this will provide a starting point…for others to build from.
The retired hobbyist
webserver999forum.ino (8.9 KB)