How to check the status of send email command ?

Moderator: leecollings

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

How to check the status of send email command ?

Post by DaTTcz »

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