How to check the status of send email command ?

Must be cleaned all topics go to the right subforum
Post Reply
User avatar
Posts: 14
Joined: Monday 26 September 2016 9:12
Target OS: Raspberry Pi
Domoticz version: beta
Location: Czech Republic

How to check the status of send email command ?

Post by DaTTcz » Monday 13 November 2017 14:37

Can I create a script in DzVents, LUA or other... that will check the status of the () command ?
Something like:
if () fail then xxx end
if () ok then yyy end
Or use some external scrip (shell) to email with status from linux?
Now I check ping for an internet address and if it's unavailable change the switch. But checking ping every minute unnecessarily forces the system.
Arduino, ESP8266, MySensors. Sorry for my English, I speak Czech.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests