WXforum.net

Weather Software => WeatherLink/weatherlink.com by Davis Instruments => Topic started by: Mchd17 on February 07, 2019, 09:16:28 PM

Title: Rain alarm?
Post by: Mchd17 on February 07, 2019, 09:16:28 PM
Is there a way to setup a rain alarm within WL? Say if todays rain is greater than zero? And will the console stop beeping (alarm) after a certain time? I have text notifications setup within WL2.0

Curious if this can be done. I would like to know when it starts to rain. Other ideas within WL? Thanks
Title: Re: Rain alarm?
Post by: Mchd17 on February 11, 2019, 08:40:10 AM
I take that as can not be done through WL. I setup MB to send email when rain rate is >0 and clear =0. Have to see how that works.
Title: Re: Rain alarm?
Post by: galfert on February 11, 2019, 10:15:43 AM
Can you share the code you used for the MB? Both the Raise: and Clear: lines. Thanks.

Or is it just?...
Code: [Select]
Raise: [RainRateCur] > 0
Clear: [RainRateCur] == 0
UPDATE - This code is wrong, see Mchd17's next response

If your MB is licensed for Ambientweather.net you can create alarms called Alerts there too.
Title: Re: Rain alarm?
Post by: Mchd17 on February 11, 2019, 10:46:04 AM
Code: [Select]
raise: [rain0rate-act.0:0] > 0
clear: [rain0rate-act.0:0] == 0

Has not tripped the alarm yet though, no rain. I have one setup with Ambient Weather. If the MB alarm works good, that's what I will use \:D/
Title: Re: Rain alarm?
Post by: galfert on February 11, 2019, 10:49:47 AM
 #-o Oh okay my bad... I realize now I used my SQL variables instead of the MB variables....Thanks
Title: Re: Rain alarm?
Post by: galfert on February 11, 2019, 11:01:15 AM
I just setup the following for the email subject and body:

Code: [Select]
Subj # Body: Rain has begun # Rain Rate: [rain0rate-act=in.2] in/hr
Title: Re: Rain alarm?
Post by: Mchd17 on February 11, 2019, 11:45:23 AM
Next rainfall....post back alarm results :lol:
Title: Re: Rain alarm?
Post by: galfert on February 12, 2019, 04:17:17 PM
Just started raining. It works.

----Email Received -----

Subj: Rain has begun
Body: Rain Rate: 0.07 in/hr

Title: Re: Rain alarm?
Post by: Mchd17 on February 12, 2019, 04:42:07 PM
 \:D/ :-)
Title: Re: Rain alarm?
Post by: galfert on February 12, 2019, 05:00:41 PM
Not so fast. This is not good. Getting too many notifications.

I'm now testing with Raise check to use this variable instead:
[rain0total-sum60=in.2]

So I now have:
Code: [Select]
Raise: [rain0total-sum60=in.2] > 0
Clear: [rain0total-sum60=in.2] == 0

Then I'll only be notified on the beginning of every rain event, defined as rain starting to fall separated by more than 60 minutes of no rain.
Title: Re: Rain alarm?
Post by: Mchd17 on February 12, 2019, 06:05:33 PM
good idea, let us know how that works 


Might be a good idea to start a thread in the MB forum hosted here. More MB users will be there
Title: Re: Rain alarm?
Post by: Bushman on February 12, 2019, 06:26:08 PM
FWIW, you CAN do this via Weatherlink.
Title: Re: Rain alarm?
Post by: galfert on February 12, 2019, 08:47:12 PM
good idea, let us know how that works 


Might be a good idea to start a thread in the MB forum hosted here. More MB users will be there

Good idea. Done:
https://www.wxforum.net/index.php?topic=36142.0