@freemo Here, that's all that's required.
also, the HTTP server in the "Ethernet" library can only handle 8 connections at once, anyway... Considering it's just me and the wife, and this is a "for my use" project...
I was just looking for a more elegant way of doing the HTML part of it.
The reload forces the "root" URL to pull the query off the URL so that the light doesn't constantly flip on and off with every reload.
I don't want to use Java or require (allow?) the arduino to go outside of the LAN to pick up libraries from anything... Looking for a simple, self-contained, stable solution.
I added the reload so that I could have a state written to the HTML.. Light is on/off sort of thing. I couldn't think of a better way to do it.
I will be adding a sensor (eventually) to determine if the door is up or down, but that's down the road.
So, that's the reason for my query.. is there a more elegant way to handle the "status" on the webpage that doesn't require a reload to a forced blank URL?