Trigger Event

All about the standard Meteobridge devices based on mobile routers from TP-Link, D-Link, ASUS

Moderator: Mattk

Post Reply
Mauricio
Junior Boarder
Junior Boarder
Posts: 20
Joined: Sun Jan 28, 2018 7:55 pm

Trigger Event

Post 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!
User avatar
davidmc36
Expert Boarder
Expert Boarder
Posts: 87
Joined: Wed Apr 10, 2024 7:33 pm

Re: Trigger Event

Post 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"?
Mauricio
Junior Boarder
Junior Boarder
Posts: 20
Joined: Sun Jan 28, 2018 7:55 pm

Re: Trigger Event

Post by Mauricio »

Exactly! if an email can be generated at that time, any idea how can the variable be generated?
User avatar
davidmc36
Expert Boarder
Expert Boarder
Posts: 87
Joined: Wed Apr 10, 2024 7:33 pm

Re: Trigger Event

Post by davidmc36 »

I only had a quick look at the options under the Services/Events tab. Not sure exactly how to work it up.
Mauricio
Junior Boarder
Junior Boarder
Posts: 20
Joined: Sun Jan 28, 2018 7:55 pm

Re: Trigger Event

Post 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
Last edited by Mauricio on Sat Sep 06, 2025 2:11 am, edited 1 time in total.
Mattk
Platinum Boarder
Platinum Boarder
Posts: 1387
Joined: Mon Sep 22, 2014 3:24 am

Re: Trigger Event

Post 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?
Mauricio
Junior Boarder
Junior Boarder
Posts: 20
Joined: Sun Jan 28, 2018 7:55 pm

Re: Trigger Event

Post 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
User avatar
davidmc36
Expert Boarder
Expert Boarder
Posts: 87
Joined: Wed Apr 10, 2024 7:33 pm

Re: Trigger Event

Post 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?
Mauricio
Junior Boarder
Junior Boarder
Posts: 20
Joined: Sun Jan 28, 2018 7:55 pm

Re: Trigger Event

Post by Mauricio »

I want to develop it through an event
Mattk
Platinum Boarder
Platinum Boarder
Posts: 1387
Joined: Mon Sep 22, 2014 3:24 am

Re: Trigger Event

Post 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?
Mauricio
Junior Boarder
Junior Boarder
Posts: 20
Joined: Sun Jan 28, 2018 7:55 pm

Re: Trigger Event

Post by Mauricio »

Exactly the time ( 18 PM) relate it to the 3 parameters
Mattk
Platinum Boarder
Platinum Boarder
Posts: 1387
Joined: Mon Sep 22, 2014 3:24 am

Re: Trigger Event

Post by Mattk »

Then how about setting up an Email event at a Specific Time [18:00] with a Subj# Body something like

Frost Risk @ [[hh]:[mm]##if# {*(Condition1) && (Conditon2) && (Condition3)*} #then# Yes #else# No #fi#
Post Reply