Ultra,
I know that the use of replacement variables has changed in HS3. Took me forever to figure out how to use them in HS2, so this change was not good for me...
In HS2, I use to have a ton of single-purpose notification events. For example, when alarm is armed away, send a pushover message "alarm armed away. That's it. Then a dozen more just like ot for various arm or disarm states and troubles with Elk.
In HS3, I am simply trying to create an event that would send me an email on any alarm state change: armed stay, armed away, armed whatever, disarmed. However, in the body of that email, I was to have a statement about what exactly has taken place and when. I know the "when" part (i.e. $time and $date). But for the life of me, I can't figure out how to get a replacement variable for the "Area 01" or AreaStatus 01" (I am not even sure which one is best to use, since both display the same status, i.e. "Armed Stay":
In HS2, each device, including those created by plugins, has a device code (i.e. q45). I know that has been depricated in HS3 and replaced by a device address, but for a virtual device such as ElkM1G area status, there is no numeric device address...
What do I do? Do I manually assign a device code to thoise devices I need a replacement variable for and which do not contain an alphanumeric address? Do I use something else in the body of email, in order for it to be converted to the area 1 arming status?
I know that the use of replacement variables has changed in HS3. Took me forever to figure out how to use them in HS2, so this change was not good for me...
In HS2, I use to have a ton of single-purpose notification events. For example, when alarm is armed away, send a pushover message "alarm armed away. That's it. Then a dozen more just like ot for various arm or disarm states and troubles with Elk.
In HS3, I am simply trying to create an event that would send me an email on any alarm state change: armed stay, armed away, armed whatever, disarmed. However, in the body of that email, I was to have a statement about what exactly has taken place and when. I know the "when" part (i.e. $time and $date). But for the life of me, I can't figure out how to get a replacement variable for the "Area 01" or AreaStatus 01" (I am not even sure which one is best to use, since both display the same status, i.e. "Armed Stay":
In HS2, each device, including those created by plugins, has a device code (i.e. q45). I know that has been depricated in HS3 and replaced by a device address, but for a virtual device such as ElkM1G area status, there is no numeric device address...
What do I do? Do I manually assign a device code to thoise devices I need a replacement variable for and which do not contain an alphanumeric address? Do I use something else in the body of email, in order for it to be converted to the area 1 arming status?
Comment