Xiaomi icon indicating copy to clipboard operation
Xiaomi copied to clipboard

Support Keenhome.io variant's pressure data

Open Gr1mR3aver opened this issue 6 years ago • 2 comments

Updated read attribute handling pressure calcs to additionally support attrId "0020", in order to make this handler suitable for the Keenhome.io variant of this device.

Gr1mR3aver avatar Jul 13 '18 01:07 Gr1mR3aver

I looked over the code changes and it looks fine to me - Thanks for this!

I had no idea that any Xiaomi devices had been re-purposed for use in a different custom-hub solution as Keen Home is doing. They must be making good profit charging $40 US for a sensor that Xiaomi sells for $15!

Since I don't own one myself - can you confirm that all other functions (temperature / humidity / battery) of the Keenhome.io sensor variant work correctly with the Aqara Temp-Humidity Sensor SmartThings device handler?

veeceeoh avatar Jul 17 '18 21:07 veeceeoh

Battery reporting doesn't seem to work on these units, since I see zero battery "catchall:" messages in the debug log. temp, humidity and pressure are all working. I have seen some odd "network issue" messages whenever I go to the "Recents" tab in the device UI in the app, but it seems to be an innocuous error since I'm seeing continuous temp/humidity/pressure events.

One point to note: I am running a v1 hub, thought I don't think that will make a difference.

Thanks, Paul


From: Keith G [email protected] Sent: Tuesday, July 17, 2018 4:01 PM To: bspranger/Xiaomi Cc: Gr1mR3aver; Author Subject: Re: [bspranger/Xiaomi] Support Keenhome.io variant's pressure data (#119)

I looked over the code changes and it looks fine to me - Thanks for this!

I had no idea that any Xiaomi devices had been re-purposed for use in a different custom-hub solution as Keen Home is doing. They must be making good profit charging $40 US for a sensor that Xiaomi sells for $15!

Since I don't own one myself - can you confirm that all other functions (temperature / humidity / battery) of the Keenhome.io sensor variant work correctly with the Aqara Temp-Humidity Sensor SmartThings device handler?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fbspranger%2FXiaomi%2Fpull%2F119%23issuecomment-405726410&data=02%7C01%7C%7C293c90c8b50745a7aba008d5ec2866ee%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636674580615629775&sdata=dfB5CKVOzsFlYb0f%2B3j%2FXPd9VnXhU%2F%2FGcPMK4gV9Wow%3D&reserved=0, or mute the threadhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAWGnYjR-9FppJ-k-mXJOkjmiGz_Slm3Zks5uHlCLgaJpZM4VOLQu&data=02%7C01%7C%7C293c90c8b50745a7aba008d5ec2866ee%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636674580615629775&sdata=8vXPJOgT8odoB9pt7n6%2BevkBCl%2BsE8E3rAbn4%2BdlTbQ%3D&reserved=0.

Gr1mR3aver avatar Jul 17 '18 22:07 Gr1mR3aver