bspranger / Xiaomi

my Xiaomi Device Handlers for Smartthings
Apache License 2.0
521 stars 1.36k forks source link

Just got a new Xiaomi Aqara Button with mode id: lumi.sensor_switch.aq3 #106

Closed xtianpaiva closed 6 years ago

xtianpaiva commented 6 years ago

This is what I get, the current DH do not work properly, just let me know if you need some testing.

8:42:07: debug Thing: Parse returned [name:Model, value:lumi.sensor_switch.aq3, unit:%, isStateChange:true, descriptionText:device model, displayed:true, linkText:Thing]

8:42:07: debug Thing: Parse returned [name:battery, value:100, unit:%, isStateChange:true, descriptionText:Thing Battery at 100% (3.055 Volts), displayed:true, linkText:Thing]

8:42:07: debug Thing: [name:battery, value:100, unit:%, isStateChange:true, descriptionText:Thing Battery at 100% (3.055 Volts)]

8:42:07: debug cluster: 0000, attrId: 0005, value: 6C756D692E73656E736F725F7377697463682E61713301FF42260121EF0B0328230421A8130521620006240100030000082102010A2100009821080099210000, model:6C756D692E73656E736F725F7377697463682E617133, data:42260121EF0B0328230421A8130521620006240100030000082102010A2100009821080099210000

8:42:07: debug Thing: Parsing 'read attr - raw: B73F01000088050042166C756D692E73656E736F725F7377697463682E61713301FF42260121EF0B0328230421A8130521620006240100030000082102010A2100009821080099210000, dni: B73F, endpoint: 01, cluster: 0000, size: 88, attrId: 0005, encoding: 42, value: 6C756D692E73656E736F725F7377697463682E61713301FF42260121EF0B0328230421A8130521620006240100030000082102010A2100009821080099210000'

Thanks for the great work.

kquinsland commented 6 years ago

These guys seem to pair to my Hubitat much quicker / easier than the previous generation. It'll be a while before i can test some of these buttons w/ SmartThings

veeceeoh commented 6 years ago

I will update the Hubitat Aqara Button device handler immediately after finishing the SmartThings DTH (since I plan on using my buttons with my Hubitat hub!)

veeceeoh commented 6 years ago

Pull Request #113 with the new code is posted.

Should be fully working now - give it a try!

veeceeoh commented 6 years ago

@kquinsland -

These guys seem to pair to my Hubitat much quicker / easier than the previous generation. It'll be a while before i can test some of these buttons w/ SmartThings

I was only able to pair the two model WXKG12LM buttons with my Hubitat hub after I had paired them to SmartThings. My Hubitat is currently on Zigbee channel 13.

I looked for user reports on what channel the Xiaomi Gateway uses, and only found three instances - two people reporting channel 25, and one person reported their gateway on channel 11.

I am working on the Hubitat device driver now, should be ready within a few days.

veeceeoh commented 6 years ago

@kquinsland - I have created a pull request for testing the updated Aqara Button device driver for Hubitat, which now supports the model WXKG12LM button. Please post any feedback / reports over on that pull request, thanks!

veeceeoh commented 6 years ago

Closing this issue because the updated Aqara DTH with support for model WXKG12LM was released, and is working great by all accounts.