swttt / com.swttt.homekit

Homekit for Homey
https://apps.athom.com/app/com.swttt.homekit
GNU Affero General Public License v3.0
35 stars 20 forks source link

Aqara motion sensor doesn't show in Homekit #201

Open Chil81 opened 2 years ago

Chil81 commented 2 years ago

Hi, I have added a few motion sensors in Homey and this works well. But unfortunately they don't appear in Apple Homekit.

I also don't see them in the config of HomeyKit (v3.0.16). Someone have an idea? Am I doing something wrong? Or is it not (yet) supported in HomeyKit??

robertklep commented 2 years ago

It depends on which capabilities your motion sensors are using. You can find that out here: https://tools.developer.homey.app/tools/devices

Find your device(s) and see which capabilities are listed for it.

Chil81 commented 2 years ago

Hmmm.....? I think I don't know what you mean specifically.

Below are the capabillities of the vibration sensor: (more than e.g. a water sensor)

Capabilities
Capability | Type | Value | Edit value | Last Updated -- | -- | -- | -- | -- measure_tilt | number | null |   |   measure_tilt.relative | number | null |   |   measure_vibration | number | 2 |   | 8 minutes ago alarm_vibration | boolean | false |   | 2 days ago alarm_tilt | boolean | null |   |   alarm_drop | boolean | null |   |   alarm_battery | boolean | false |   | 6 days ago measure_battery | number | 100 |   | 6 days ago
robertklep commented 2 years ago

All of those capabilities are custom; in other words, the developer of the Homey app created them specifically for their app. HomeyKit has no idea how to handle such capabilities, so it doesn't know how to expose such a device to HomeKit.

Chil81 commented 2 years ago

That's a pitty. But on the other hand: the developer did get other Aqara sensors working. Maybe he can let this one also work in HomeyKit. :)

robertklep commented 2 years ago

Other Aqara sensors use regular capabilities, not custom ones that only exist in one app and for which no documentation exists.

klim123123 commented 2 years ago

You can convert your vibration sensor to motion sensor by creating virtual device and make flow.

Hmmm.....? I think I don't know what you mean specifically.

Below are the capabillities of the vibration sensor: (more than e.g. a water sensor)

Capabilities

Capability Type Value Edit value Last Updated measure_tilt number null     measure_tilt.relative number null     measure_vibration number 2   8 minutes ago alarm_vibration boolean false   2 days ago alarm_tilt boolean null     alarm_drop boolean null     alarm_battery boolean false   6 days ago measure_battery number 100   6 days ago

Chil81 commented 2 years ago

You can convert your vibration sensor to motion sensor by creating virtual device and make flow.

Hmmm.....? I think I don't know what you mean specifically. Below are the capabillities of the vibration sensor: (more than e.g. a water sensor)

Capabilities

Capability Type Value Edit value Last Updated measure_tilt number null     measure_tilt.relative number null     measure_vibration number 2   8 minutes ago alarm_vibration boolean false   2 days ago alarm_tilt boolean null     alarm_drop boolean null     alarm_battery boolean false   6 days ago measure_battery number 100   6 days ago

Interesting.... But how? I'm not yet an advanced Homey-user :)