Page 1 of 1

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

Posted: Fri Jan 15, 2021 10:59 pm
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 1242 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 1242 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

Re: Incremental alarms not working [for me]?

Posted: Sun Jan 17, 2021 3:40 pm
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.

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

Posted: Sun Jan 17, 2021 8:15 pm
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!