I have an HRSD1. When it’s armed and tripped, I would like Vera (in my case, V1 running UI2) to send me a prowl alert. If I try to set up a normal “event” based on the device being armed and tripped, all it seems I can do is turn on and off Zwave devices in the command section.
I know folks set up scenes for this, and I’ve seen the Luup code. Does that code go in “Luup Event”, “Luup Scene”, some in each? I may have working code and may be up against an issue with the duration of the “trip”–this HRSD1 is connected to a NC relay that is wired in parallel with my doorbell. The bell rings, and I have checked the relay contacts with an ohmeter, and we’re definitely going to infinite resistance, but only for a second or so. I would think this would be enough, and it sounds like others are using similar techniques and getting results.
I know my “prowl” “get” is okay–pasting that into a browser gets me an alert on my iPhone.
Is it really the case that setting up a Luup Scene for this device will then “watch” it? That seems like a horribly inefficient way for things inside Vera to work. Does Vera fire this scene whenever a state change notification gets sent from the device?
Confused. Tired. Going to go cook dinner, and then beat my head against my day job–still trying to get some Montgomery math code to play nice for me.
–Richard
So I decided to start from simple stuff. I got rid of the non-working scene, and made a new one. When the doorbell “sensor” is tripped while armed, turn on the front porch light. Nothing happens when I ring the bell. I think the time the circuit is open isn’t long enough for the Everspring to decide that it mattered. Dunno. The relay definitely actuates–you can hear it, and as I said, I’ve watched the reading across the contacts I’m using go from 0 ohms to K ohms and onward before bouncing back as the relay releases.
Sigh.
–Richard
[quote=“rlmalisz, post:1, topic:168102”]I have an HRSD1. When it’s armed and tripped, I would like Vera (in my case, V1 running UI2) to send me a prowl alert. If I try to set up a normal “event” based on the device being armed and tripped, all it seems I can do is turn on and off Zwave devices in the command section.
I know folks set up scenes for this, and I’ve seen the Luup code. Does that code go in “Luup Event”, “Luup Scene”, some in each? I may have working code and may be up against an issue with the duration of the “trip”–this HRSD1 is connected to a NC relay that is wired in parallel with my doorbell. The bell rings, and I have checked the relay contacts with an ohmeter, and we’re definitely going to infinite resistance, but only for a second or so. I would think this would be enough, and it sounds like others are using similar techniques and getting results.
I know my “prowl” “get” is okay–pasting that into a browser gets me an alert on my iPhone.
Is it really the case that setting up a Luup Scene for this device will then “watch” it? That seems like a horribly inefficient way for things inside Vera to work. Does Vera fire this scene whenever a state change notification gets sent from the device?
Confused. Tired. Going to go cook dinner, and then beat my head against my day job–still trying to get some Montgomery math code to play nice for me.
–Richard[/quote]