@tgauchat I’ve been slowly learning git too!
I’ve posted 1.01 version of my device type to git. This device type seems to work much better. Before it was either button 1 or button 2-7 working properly. Now buttons 1-7 all work every time (for me).
Onto Use Button As PIN Input, I’m seeing now that it recognizes double button pushes many times when it’s not. I’m still not convinced this isn’t related to the device type because I can see double z-wave commands on button presses.
This is logs from the z-wave device type
12:55:13 PM: debug Button 3 repeat 0x 1419447313466
12:55:13 PM: debug Parsing 'zw device: 43, command: 2B01, payload: 03 FF '
12:55:13 PM: debug Parsing 'zw device: 43, command: 2B01, payload: 03 FF '
12:55:11 PM: debug Parsing 'zw device: 43, command: 2B01, payload: 02 FF '
12:55:11 PM: debug Parsing 'zw device: 43, command: 2B01, payload: 02 FF '
12:55:09 PM: debug Button 1 repeat 0x 1419447309873
12:55:09 PM: debug Parsing 'zw device: 43, command: 2B01, payload: 01 FF '
12:55:09 PM: debug Parsing 'zw device: 43, command: 2B01, payload: 01 FF ' '
This is the same log from the Use Button As Pin Input SmartApp
12:55:13 PM: debug "Use Buttons As PIN Input".("Use Buttons As PIN Input"): buttonEvent Device: [Z-Wave Controller], Name: [button], Value: [button 3], Data: [{"buttonNumber":3}], ButtonNumber: [3]
12:55:12 PM: debug "Use Buttons As PIN Input".("Use Buttons As PIN Input"): buttonEvent Device: [Z-Wave Controller], Name: [button], Value: [button 2], Data: [{"buttonNumber":2}], ButtonNumber: [2]
12:55:12 PM: debug "Use Buttons As PIN Input".("Use Buttons As PIN Input"): buttonEvent Device: [Z-Wave Controller], Name: [button], Value: [button 2], Data: [{"buttonNumber":2}], ButtonNumber: [2]
12:55:09 PM: debug "Use Buttons As PIN Input".("Use Buttons As PIN Input"): buttonEvent Device: [Z-Wave Controller], Name: [button], Value: [button 1], Data: [{"buttonNumber":1}], ButtonNumber: [1]
12:54:50 PM: debug "Use Buttons As PIN Input".("Use Buttons As PIN Input"): Initialized - state: [inputDigitsList:[], pinLength:3, pinSeqList:[1, 2, 3]]
12:54:49 PM: trace button from Z-Wave Controller was provided with buttonEvent...creating subscription
12:54:49 PM: trace Use Buttons As PIN Input is attempting to unsubscribe from all events
12:54:49 PM: debug "Use Buttons As PIN Input".("Use Buttons As PIN Input"): Updated; settings: [buttonDevice:Z-Wave Controller, pinLength:3, switches:Office Hue, comb_3:3, comb_2:2, comb_1:1]
12:54:49 PM: trace "Use Buttons As PIN Input".("Use Buttons As PIN Input"): Updated; Version: v0.1.0-beta+005