Hourly email with temperature warning.

Moderator: leecollings

Post Reply
paul402
Posts: 96
Joined: Monday 23 May 2016 23:07
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Hourly email with temperature warning.

Post by paul402 »

I have just started with Domoticz. I wrote a Blockly event which works and sends an email when the temperature is below a certain point.
Only problem is that it sends the email every minute, which is a bit tiresome and is filling up my mail box.

Graphic of the event script is here:
blockly.jpg
blockly.jpg (15.19 KiB) Viewed 1244 times
Could someone give me some hints on how to make it run the test every hour please.
User avatar
emme
Posts: 909
Joined: Monday 27 June 2016 11:02
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Location: Milano, Italy
Contact:

Re: Hourly email with temperature warning.

Post by emme »

Why using a script when you can setup the same with the notification option on the temp device.
than in Settings/Configuration/Notification you can set the period by which the notification is repeated
ciao
M
The most dangerous phrase in any language is:
"We always done this way"
paul402
Posts: 96
Joined: Monday 23 May 2016 23:07
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Hourly email with temperature warning.

Post by paul402 »

Thank you so much. I am still a beginner. I didn't know that this facility existed. It works perfectly!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest