How to check the status of send email command ?

Post Reply
User avatar
DaTTcz
Posts: 14
Joined: Monday 26 September 2016 9:12
Target OS: Raspberry Pi
Domoticz version: beta
Location: Czech Republic
Contact:

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 domoticz.email () command ?
Something like:
if domoticz.email () fail then xxx end
if domoticz.email () 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 1 guest