Created by: Kelsey
See the rest of the post at https://projects.tessel.io/projects/website-down-alarm.
This doesn't seem to work propertly for me? I get:INFO Bundling directory /Users/ewanvalentine/Development/DownAlarmINFO Deploying bundle (52.00 KB)...INFO Finished deploymentConnected.Ready!Pinging website...Got response: 200Pinging website...
And then nothing happens
Hi @Ewan_Valentine congrats ... you have successfully used your Tessel.
The response "200" is a HTTP-Status Code means "OK"So your Server is up ... If you will see "302" it is "found"
Edit: Maybe you try to misspell the url for testing ... this way the light will come up
Ohhhh so it only prints the result once? Then continues to loop silently until there's an error?
no it should run every ten seconds:
// Repeat every few seconds
Yeah that's what I thought, but after printing "Got response: 200" the first time, it stops. There's no further output.
OK, I cannot test it for the moment. So I would exchange the line
Thanks, I'll give it a try
You are welcome let me know whether it works to exchange the line