Page 1 of 1
Trigger Event
Posted: Fri Sep 05, 2025 8:14 pm
by Mauricio
As we know, dew point temperatures can be used to predict when a severe frost will occur.
Therefore, I need help generating a trigger that will activate an alert indicating the possibility of a severe frost if the wind is =<5 km/h, the air temperature at 6:00 PM is >7.2°C, and the dew point is =< −2.2°C .
Is this possible? What do you think? Thanks!
Re: Trigger Event
Posted: Fri Sep 05, 2025 8:22 pm
by davidmc36
One thing is you can create an email event at that time of day sending those parameters.
What about email "Triggered By Event"?
Re: Trigger Event
Posted: Fri Sep 05, 2025 9:24 pm
by Mauricio
Exactly! if an email can be generated at that time, any idea how can the variable be generated?
Re: Trigger Event
Posted: Fri Sep 05, 2025 10:58 pm
by davidmc36
I only had a quick look at the options under the Services/Events tab. Not sure exactly how to work it up.
Re: Trigger Event
Posted: Sat Sep 06, 2025 1:17 am
by Mauricio
I have tried it this way and it works!
One - Time Alarm ( It does not allow you to select 18 PM)
Raise: ([th0temp-act=c.1:0] <= 7.2) && ([wind0wind-act=kmh.0:0] <=5) && ([th0dew-act.0:0] <=-2.2)
Clear: ([th0temp-act=c.1:0] >= 10) && ([wind0wind-act=kmh.0:0] >=8.0) && ([th0dew-act.0:0] >= 2)
Subj # Body: Risk of severe frost!!
Thanks
Re: Trigger Event
Posted: Sat Sep 06, 2025 1:46 am
by Mattk
You should be able to frame a specific time and the other conditions using #if# #then# #else# #fi# and send an email etc?
Re: Trigger Event
Posted: Sat Sep 06, 2025 2:06 am
by Mauricio
Do you have any ideas on how to do it? I'm already lost there , I don't know how to relate it to the time. Thanks
Re: Trigger Event
Posted: Sat Sep 06, 2025 2:46 am
by davidmc36
Mattk wrote: ↑Sat Sep 06, 2025 1:46 am
You should be able to frame a specific time and the other conditions using #if# #then# #else# #fi# and send an email etc?
Are you thinking of a virtual sensor with the desired conditions that triggers when all conditions are met and initiates the email?
Or would it all be done on the Event tab?
Re: Trigger Event
Posted: Sat Sep 06, 2025 2:59 am
by Mauricio
I want to develop it through an event
Re: Trigger Event
Posted: Sat Sep 06, 2025 3:12 am
by Mattk
On the event tab but thinking some more might not be be an option without being able to nest the expression?
But with the one time alert maybe also able to incorporate the time (just thinking again) but just to clarify does the 6:00 PM only relate to the Temp? Assuming it would be, and wind, and dewp, and Temp all at 6:00 Pm? or No?
Re: Trigger Event
Posted: Sat Sep 06, 2025 3:34 am
by Mauricio
Exactly the time ( 18 PM) relate it to the 3 parameters