Incremental Alarm Issue **solved**
Moderator: Mattk
- assenzuid
- Expert Boarder
- Posts: 94
- Joined: Sat May 03, 2014 10:15 pm
- Location: The Netherlands
- Contact:
Re: Incremental Alarm Issue
Will try it again
- assenzuid
- Expert Boarder
- Posts: 94
- Joined: Sat May 03, 2014 10:15 pm
- Location: The Netherlands
- Contact:
Re: Incremental Alarm Issue
I have, as test, changed the value to clear the alarm at 9:32:
[th10temp-act=c.1:0] > 15 ) || ( ( [hh] == 9 ) && ( [mm] == 32 )
But not luck, alarm not cleared.
[th10temp-act=c.1:0] > 15 ) || ( ( [hh] == 9 ) && ( [mm] == 32 )
But not luck, alarm not cleared.
Re: Incremental Alarm Issue
two missing brackets!
- assenzuid
- Expert Boarder
- Posts: 94
- Joined: Sat May 03, 2014 10:15 pm
- Location: The Netherlands
- Contact:
Re: Incremental Alarm Issue
Ok,
I have this:
Raise: [th10temp-act=c.1:0] < 15 ) && ( ( [hh] != 0 ) || ( [mm] != 0 ))
Clear: [th10temp-act=c.1:0] > 15 ) || ( ( [hh] = 7 ) && ( [mm] = 0 ))
The alarm will be cleared if the temp. raise above 15 degree or at 7:00 hours if I'm correct?
I have this:
Raise: [th10temp-act=c.1:0] < 15 ) && ( ( [hh] != 0 ) || ( [mm] != 0 ))
Clear: [th10temp-act=c.1:0] > 15 ) || ( ( [hh] = 7 ) && ( [mm] = 0 ))
The alarm will be cleared if the temp. raise above 15 degree or at 7:00 hours if I'm correct?
Re: Incremental Alarm Issue
yes, but one more missing "(" at the beginning and needs "==" instead of "=".
- assenzuid
- Expert Boarder
- Posts: 94
- Joined: Sat May 03, 2014 10:15 pm
- Location: The Netherlands
- Contact:
Re: Incremental Alarm Issue
Ok,
Then it will:
Raise: ( [th10temp-act=c.1:0] < 15 ) && ( ( [hh] !== 0 ) || ( [mm] !== 0 ))
Clear: ( [th10temp-act=c.1:0] > 15 ) || ( ( [hh] == 7 ) && ( [mm] == 0 ))
Then it will:
Raise: ( [th10temp-act=c.1:0] < 15 ) && ( ( [hh] !== 0 ) || ( [mm] !== 0 ))
Clear: ( [th10temp-act=c.1:0] > 15 ) || ( ( [hh] == 7 ) && ( [mm] == 0 ))
Re: Incremental Alarm Issue
Should be solved with latest release.
- assenzuid
- Expert Boarder
- Posts: 94
- Joined: Sat May 03, 2014 10:15 pm
- Location: The Netherlands
- Contact:
Re: Incremental Alarm Issue **solved**
I updated my MB to the latest version, but when I use below alarm conditions the trigger isn't working.
Raise: ([th10temp-act=c.1:0] < 15) && (([hh] !== 0) || ([mm] !== 0))
Clear: ([th10temp-act=c.1:0] > 15) || (([hh] == 7) && ([mm] == 0))
When I use this, whitout the daily reset at 7:00 hours the alarm will be raised and cleared when the temp raises above 15 degree.
Looks like that there somthing is not ok with the (([hh] == 7) && ([mm] == 0)) string?
Raise: (th10temp-act=c.1:0 < 15)
Clear: (th10temp-act=c.1:0 > 15)
Raise: ([th10temp-act=c.1:0] < 15) && (([hh] !== 0) || ([mm] !== 0))
Clear: ([th10temp-act=c.1:0] > 15) || (([hh] == 7) && ([mm] == 0))
When I use this, whitout the daily reset at 7:00 hours the alarm will be raised and cleared when the temp raises above 15 degree.
Looks like that there somthing is not ok with the (([hh] == 7) && ([mm] == 0)) string?
Raise: (th10temp-act=c.1:0 < 15)
Clear: (th10temp-act=c.1:0 > 15)
Re: Incremental Alarm Issue **solved**
Please make use of the "i" icon to understand how the conditions have been evaluated and paste this here.
Btw: "!==" is not defined, I guess the "i" icon will render a syntax error and on "live data"
also an error in evaluation is displayed. Please use this new debugging options, it is rather
unlikely you draft a formular correct first time, at least valid for me
Btw: "!==" is not defined, I guess the "i" icon will render a syntax error and on "live data"
also an error in evaluation is displayed. Please use this new debugging options, it is rather
unlikely you draft a formular correct first time, at least valid for me

- assenzuid
- Expert Boarder
- Posts: 94
- Joined: Sat May 03, 2014 10:15 pm
- Location: The Netherlands
- Contact:
Re: Incremental Alarm Issue **solved**
I'm still struggling with this alarm event.
What I want to achieve is that when the outside temperature falls below, for example 10 degrees, an email is sent.
If the temperature raise above 10 degrees the alarm is cleared.
Above works fine with this:
Raise: (th10temp-act=c.1:0)< 10
Clear: (th10temp-act=c.1:0) > 10
But what I also want is that the alarm is cleared every 24 hours (day swicht) or at 7:00 hours in the morning.
When I set below conditions the alarm is raised, but not cleared.
I the worst case, meteobridge will crashed (reset) multiple times in sequence and the connections to my datalogger is lost.
Raise: ([th10temp-act=c.1:0] < 15) && (([hh] != 0) || ([mm] !=0))
Clear: ([th10temp-act=c.1:0] > 15) || (([hh] = 7) && ([mm] = 0))
I have tried multiple settings, but no luck unfortunately.
What I want to achieve is that when the outside temperature falls below, for example 10 degrees, an email is sent.
If the temperature raise above 10 degrees the alarm is cleared.
Above works fine with this:
Raise: (th10temp-act=c.1:0)< 10
Clear: (th10temp-act=c.1:0) > 10
But what I also want is that the alarm is cleared every 24 hours (day swicht) or at 7:00 hours in the morning.
When I set below conditions the alarm is raised, but not cleared.
I the worst case, meteobridge will crashed (reset) multiple times in sequence and the connections to my datalogger is lost.
Raise: ([th10temp-act=c.1:0] < 15) && (([hh] != 0) || ([mm] !=0))
Clear: ([th10temp-act=c.1:0] > 15) || (([hh] = 7) && ([mm] = 0))
I have tried multiple settings, but no luck unfortunately.
Re: Incremental Alarm Issue **solved**
With new update (brand new version 2.4) the following lines worked fine with my rig:
Raise: ([th10temp-act=c.1:0] < 15)
Clear: ([th10temp-act=c.1:0] > 15) || (([hh] = 7) && ([mm] = 0))
When clear condition is true, raise condition is no longer checked, therefore, masking of reset time is no longer needed.
Raise: ([th10temp-act=c.1:0] < 15)
Clear: ([th10temp-act=c.1:0] > 15) || (([hh] = 7) && ([mm] = 0))
When clear condition is true, raise condition is no longer checked, therefore, masking of reset time is no longer needed.
- assenzuid
- Expert Boarder
- Posts: 94
- Joined: Sat May 03, 2014 10:15 pm
- Location: The Netherlands
- Contact:
Re: Incremental Alarm Issue **solved**
This works good now.
Raise: ([th10temp-act=c.1:0] < 10)
Clear: ([th10temp-act=c.1:0] > 10) || (([hh] = 7) && ([mm] = 0))
Is it also possible to clear the alarm at mutiple times?
Now it will be cleared at 7 hours, but is it also possible to for example at 7 hours and 19 hours?
Raise: ([th10temp-act=c.1:0] < 10)
Clear: ([th10temp-act=c.1:0] > 10) || (([hh] = 7) && ([mm] = 0))
Is it also possible to clear the alarm at mutiple times?
Now it will be cleared at 7 hours, but is it also possible to for example at 7 hours and 19 hours?
Re: Incremental Alarm Issue **solved**
Yes, add another or clause like the one for 7:00.
- assenzuid
- Expert Boarder
- Posts: 94
- Joined: Sat May 03, 2014 10:15 pm
- Location: The Netherlands
- Contact:
Re: Incremental Alarm Issue **solved**
Can it be combined into one alarm condition?
Clear: ([th10temp-act=c.1:0] > 15) || (([hh] = 7) && ([mm] = 0)) || (([hh] = 19) && ([mm] = 0))
Clear: ([th10temp-act=c.1:0] > 15) || (([hh] = 7) && ([mm] = 0)) || (([hh] = 19) && ([mm] = 0))
Re: Incremental Alarm Issue **solved**
yes, exactly.
The modulus operator "%" would also allow to clear in regular intervals like:
will clear at 0:00, 4:00, 8:00, ...
will clear at 7:00 and 19:00.
The modulus operator "%" would also allow to clear in regular intervals like:
Code: Select all
clear: ([th10temp-act=c.1:0] > 15) || (([hh] % 4 = 0) && ([mm] = 0))
Code: Select all
clear: ([th10temp-act=c.1:0] > 15) || (([hh] % 12 = 7) && ([mm] = 0))