Closed veeceeoh closed 6 years ago
Got the 1.0.4.706
hub update installed and this driver loaded.
Single, Double click & shake work. Press & release also shows up in event log.
Anything else i should be testing?
@kquinsland - No, that's great, thank you! I've been too busy to test it but tonight I will make sure it's working with webCoRE. If it looks good, then I will merge the new code and announce the update.
@veeceeoh Just curious, waht's webCoRE
? I see it mentioned a lot, but not clear to me what it is / why it's breaking things.
I've only had a few min to test. hopefully in the next 24h or so i'll be able to thoroughly test pairing new buttons (to make sure the signature works) and test the driver events w/ the hubitat -> mqtt bridge.
WebCoRE stands for the web Community's own Rules Engine. It's a rather robust and powerful automation rules Smart app for SmartThings.
I just committed a few fixes to the device handler. In my testing, it's now fully functional and works as expected!
I am merging this pull request now, and announcing the update to the device driver on the Hubitat forum.
Changes: • added compatibility with Aqara Button model WXKG12LM, which supports single-click, double-click, hold, release, and shake actions • added custom
buttonPressed
,buttonHeld
, &buttonReleased
events for webCoRE use • removed toggle mode for model WXKG11LM, because Rule Machine, webCoRE, etc. already have toggle switch actions • changed releaseTime preference description text for clarity and to specify it only applies to model WXKG11LM • addedvalue: 1000
forcluster: 0006, attrId: 0000
messages to be parsed as model WXKG11LM single click • assigned some log messages to be "informational" log type • added "enable info logging" toggle preference • added / edited log messages for clarity • changedlastCheckin
event to use Epoch Time stamp (for use with webCoRE) • removedlastCheckinDate
because it serves no real purpose on Hubitat • changedresetBatteryReplacedDate()
to usenew Date()
for date/time stamp • removedformatDate()
function because it is not used anymore • removed date format and 24 hour clock settings because they are not used anymore • changednumberOfButtons
to 4 on install / configure