Did you push and hold them for 3 secs?
That worked. Wasn’t aware of the 3 seconds. Thanks
Based on what I learned from this version, I went back to the original community version from the first post. With a few modifications I was able to get it to work for me. Since I don't use HSM it was a better fit. And not quite as complicated, I think
Thanks to Mike for his work on it.
I am still confused about the logging on/off. Not fully understanding the programming principles. When you have an if statement with the actions on the same line, you don’t need the brackets?
Reason I ask, if I turn logging off I run into all kinds of things not working.
Again not being that great a programmer I’m just trying to understand.
Groovy is built on Java. Both Java and Groovy allow for the curly brackets to be omitted if there is only 1 statement to be executed. So that syntax (no curly brackets on same line) is fine.
If logs being off is causing issue, there is something wrong, but it'll be hard to troubleshoot without logs... which driver are you using & what isn't working?
When I first tried your driver, I was experimenting with everything. Mainly checking to see if I could send arm commands to the keypad and get commands back from the keypad. It all seemed to be working. I turned the debug logs off and then I couldn't get any commands back from the keypad. Turned the logs back on and it started working again.
At that point I started searching thru the code and noticed the IF statements without brackets. And not knowing that should work, I went thru everything and put brackets on. Then it all started working ok without the debug logging on.
So my thought now is there might have been one instance in the code that isn't quite right and that caused the whole issue. It may have already been fixed. Don't know if you have turned the logging off or not.
If it has to do with my driver, DM me. I don't want to bog down this thread.
Hi, I started using your driver and seems to work (Very little testing) fine, but when i added my second keypad into HSM and I arm then disarm, it goes into a loop arming and disarming until I remove it. Any ideas?
Thanks
@carldickson , DM please
Hey, looks as though you are doing sterling work to fix a widespread issue - did you get anywhere with it? Is there a link to the holy grail of Ring Gen2 Keypad driver goodness that you can share (in order to cement your godlike status?
@MikeNYC is doing an awesome job. The sheer magnitude of code that he is doing boggles my mind.
@MikeNYC is amazing, indeed!!!