This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Automatic Ethernet connection checking and informing in case of troubles ?
#4
(05.11.2019, 20:21)Erwin van der Zwart Wrote: Hi Joep, welcome at the forum, took you a loooooooong time to join (:

The question was to send “I’m okay” but I don’t see the added value in that, I would want to know when it’s not okay anymore and that’s a bit tricky when you don’t have internet (: SMS could help you in that case or check the controller from another device.

If you want the okay message on interval bases you could simply add a scheduled script with a single command mail('me@gmail.com', 'Controller X status', 'I’m okay') as it will be send when connection is there (:

But after a few days of mail you will get crazy of those spam messages and you will start ignore them so what’s the point of adding it in the first place?

BR,

Erwin
Thanks for the welcome Erwin Smile

The good thing with my script is that it will send it's complete status after startup so you got all the information you need from the controller.
There's also a function to check wether or not there is an network connection so that part can help you detecting the fysical connection.
And beside that you could also check the internet connection so your half way.. Only thing is that you can't mail this information any longer if there's no internet connection.
But what you could do for example is to check and send an email every night. So when it will not arrive the next morning you know something is wrong.
Reply


Messages In This Thread
RE: Automatic Ethernet connection checking and informing in case of troubles ? - by Joep - 06.11.2019, 07:37

Forum Jump: