Thanks a bunch for this driver. My house came pre-wired for an alarm system, so it's gonna be awesome to finally use the stuff. The contacts are working great. And I'm planning on putting some extra switches where there would normally be control panels.
I'm having some trouble getting the button feature to work though. I just wanna make sure I'm understanding them correctly. This is on a NodeMCU. Using an edited [ST_Anything_Multiples_ESP8266WiFi.ino] sketch. I'm trying to connect 2 buttons. button1 is between D3 and GND. button2 is between D4 and GND. I set Number of Buttons=2 in the DTH.
The problem I'm having is if I press button1 my routine will trigger once. But it wont trigger again until after I press button2. And vice versa. Are the buttons supposed to be tied together in this way? I'd like for them to be independent of each other.
Update: To get it working for my case. I had to change [HubDuino Parent Ethernet] line 87
results << createEvent(name: value, value: namenum)
results << createEvent(name: value, value: namenum, isStateChange:true)