View Single Post
Old 09-18-2018, 09:27 AM   #5
davepl
Registered User
 
davepl's Avatar
 
Join Date: Aug 2006
Location: Redmond, WA
Posts: 6,332
Re: Dave's Neck, Compressor, Electronics

Quote:
Originally Posted by weq92f View Post
Neat! Hitting your URL now it must be serving up a static page as it's the same one you showed at the beginning of the thread:

155 psi
77 F
ON 30

No... wait, that's not a static page. It's reading from the chip...

What gives?

-klb
It wasn't a static page, it was a live page connected to the real compressor and everything, it was just not my -main- 240V compressor. I hooked it up to a small Cradftsman and left that run a few days, so you were able to monitor it while it was still up!

The page would update every second by doing a POST request back to the server for JSON data to update the text, whatever that's called (restful updating?)
__________________
1970 GMC Sierra Grande Custom Camper - Built, not Bought
1969 Pontiac 2+2 427/390 4-speed Coupe
1969 Pontiac 2+2 427/390 4-speed Convertible
davepl is offline   Reply With Quote