My IP cams show up in Hubitat as motion sensors which have āattributesā such as objects detected (e.g. āpersonā, ātruckā, ādogā etc.).
Iād like to get Pushover notifications (which currently works when the IP cam detects motion) but would like to add the attribute (specifically the object detected) into the notification.
The Pushover Notifications app allows for including Global Variables in the notification. Does anyone know how to get the Attributes of a sensor to show up as a Global Variable? TIA from a relative newbie!
One problem I am running into is that my IP cams retain the last Object identified as an attribute so if a āpersonā has been previously detected, and is detected again, no change will occur in the attribute so a change in attribute cannot be used as a trigger. Although Iām new to all this, I can figure out another trigger to use (perhaps the motion detection itself). However, I canāt figure out how to get the last attribute value into my Global Variable āObjectā. I can set the value but I want the Global Variable to reflect the current value of the āobject attributeā in the IP cam. Also, since I have several IP cams, it seems that I would have to set up a Global Variable for each camera? Thanks for your help and TIA to anyone else that can chime in as well.
@thebearmay,
Thank you so much for your selfless help! Got everything working and learned a lot in the process after spinning my wheels for several hours before your instructions. I set up one RM4.1 rule that automatically sets the object attribute as the variable value in each global variable (one global variable for each of my IP cams). Thank you for taking the trouble to help me out. Much appreciated!
Just paying it forward, lot of good people on here helped me early on (and actually still help me); seems like a good way to thank them for their efforts.