I’ve connected input 1 to the PIR sensor and any movement returns the above or if I move input 1 to tamper on the PIR sensor same, the tamper switch works fine. So result input 1 works fine.
I don’t seem to be getting any commands being sent from input 2, do I need to do some extra work to get input 2 working? I’ve excluded it from ST/reset it as it says on the docs and then included again with both inputs connected but still no luck.
I’ve not worked on it for a while now, I got the basics working. Was able to identify each input by using association group 2 if I recall correctly. Think it would need a smart app creating to make use of both inputs.
My alarm is under warranty for another 10 or so months, so probably won’t work on it until after then.
Thanks for the code, works great for the first input, but getting the 2nd input to work/show is a little beyond me. I changed capability “Sensor” to capability “Contact Sensor” so I could use it with the smartlighting app.
Sorry for the late reply, you will have to change the code a little bit.
If i remember correctly by default it associates with group 1 which only returns the state of input one, you need to associate with group 2 by running zwave.associationV2.associationSet(groupingIdentifier:2, nodeId:[zwaveHubNodeId]).format() its part of the device code above just commented out.
I think once you do that it sends slightly different data for each input. You’d need to create a smart app to make use of both inputs from what I’ve read in various threads.
Hey i’ve just received universal sensor and was planning giving it a go this weekend, @Sniper am i right in thinking the revision on your github has both inputs working?
Dave