- Code: Select all
#define ENABLE_EXCEED_FLAGS
How to use the trigger options in the Portal
Just to confirm, but you do have this on the features file, righ?
Roberto.
|
|
I tested your code and got the same thing I posted earlier.
Seems it is working fine here. Roberto.
|
|
i try it now...and it's work
<RA><T1>266</T1><T2>0</T2><T3>0</T3><PH>924</PH><R>11</R><RON>0</RON><ROFF>255</ROFF><ATOLOW>0</ATOLOW><ATOHIGH>0</ATOHIGH><EM>0</EM><REM>0</REM><PWMA>0</PWMA><PWMD>0</PWMD><C0>1</C0><C1>0</C1><C2>0</C2><C3>0</C3><C4>0</C4><C5>0</C5><C6>0</C6><C7>0</C7></RA> |
|
Roberto, have any news?
|
|
Yes, it should've been fixed a while ago.
Sorry I forgot to post. Can you try? Roberto.
|
|
i don't try it.... but, do you think is possible add at the trigger a lable ? for example i set this: T1 <= 23.7 T1 >= 27.5 RON > 0 C0 = 1 C1 = 1 Is possible add a lable, so the email object use it ? Like : T1 <= 23.7 Label: Water temp too low T1 >= 27.5 Label: Water temp too high RON > 0 Label: test C0 = 1 Label: ATO Alarm C1 = 1 Label: Overheat Alarm Do you think is possible configure a rearm ? TNX ![]() |
|
I think it already sends the trigger as well as the actual value, so you know exactly what happened.
The trigger is always active and will send alerts every consecutive hour if the alert condition is still active. Roberto.
|
|
I am trying to do similar. I would like to set a custom variable when the ATO timeout is exceeded. The code compiles fine, but my custom variable is not set for some reason. Here are (I think) the relevant portions of my ino file:
When compiling I get this output, which I think indicates the exceed flagging is enabled, and which I think is required for the custom ATO function to set the ato flag properly:
What the heck am I missing? |
|
Just to be sure, you do have MyCustomATO() inside loop(), correct?
Other than that, everything looks good. Does the red status led turn on when the you get ato timeout? Roberto.
|
|
Who is online
Users browsing this forum: No registered users and 1 guest