Find and share HowTos to various installations / configurations!
2 posts • Page 1 of 1
2 posts
• Page 1 of 1
tpjctrl
Posts:145
Joined: Tue May 08, 2018 10:30 am
analogue value range alerts - class of highest active alert?
Postby tpjctrl »
I'm trying to find out what the class is for any given active analogue range alert. I can detect the highest alert pending status via:
_act_state
but reading _class gives me nothing (which actually makes sense as it's the particular ranges that have the class set and not the "top layer"). I'm guessing the answer is that there's no way to easily read it, but maybe I'm missing something obvious? I know I can go through the ranges and check each individually, but I'd prefer an easier solution
Re: analogue value range alerts - class of highest active alert?
Postby tpjctrl »
To answer my own question one can simply pull out the '_alert_hdl.._act_state_range' and then use that value to pull out _alert_hdl." + [act state range value] + "._class".