Incremental alarms not working [for me]? **solved**

This section covers the Meteobridge PRO, PRO2, NANO SD, Raspberry Pi and VM platforms exclusively

Moderator: Mattk

Post Reply
andlil
Junior Boarder
Junior Boarder
Posts: 29
Joined: Sat Jan 20, 2018 1:13 pm

Incremental alarms not working [for me]? **solved**

Post by andlil »

I'm trying to get incremental alarms to work, and have these definitions
Skärmavbild 2021-01-15 kl. 21.49.04.png
Skärmavbild 2021-01-15 kl. 21.49.04.png (19.31 KiB) Viewed 1239 times
I thought that I would get one alarm at 0C and then one at -1C, -2C etc. But I only get the 0C alarm. I get an alarm at the threshold but not the subsequent increases. I can see that it triggers from the little orange i.
Skärmavbild 2021-01-15 kl. 21.57.20.png
Skärmavbild 2021-01-15 kl. 21.57.20.png (178.45 KiB) Viewed 1239 times
I tried the same thing with wind and I can't get it to work more than one time.

Am I doing something wrong or missing something?

//A
Last edited by andlil on Sun Jan 17, 2021 9:22 pm, edited 1 time in total.
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: Incremental alarms not working [for me]?

Post by admin »

incremental alarms don't work with results from comparisons, as the comparison returns just 0 or 1. So once having "1" any higher values in the comparison will not change this. Therefore, you don't get incremential triggers. Having "--" as default is also not a good choice as you are dealing with numbers here, so the comparison will do silly things when defaults apply.

Please try this:
Raise: "th0temp-act.0:0"
Clear: "th0temp-act.0:1 < 0"

It will trigger each time temperature increases at least by one degree Celsius. Triggers will be reset, once temperature drops below 0 degrees Celsius.
andlil
Junior Boarder
Junior Boarder
Posts: 29
Joined: Sat Jan 20, 2018 1:13 pm

Re: Incremental alarms not working [for me]? **solved**

Post by andlil »

Aha, I see, I'll change the parameters and see what happens. Right now temperature is steady and zero wind so nothing happening right now :roll:

Edit:Now the incremental alarms work!
Post Reply