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

Zigbee device not showing dim #218

Closed jaccoh closed 2 years ago

jaccoh commented 2 years ago

Hey Robert

Can you add this to Homeykit? It's a AduroSmart Eria plug added as generic Zigbee device.

Class: socket Driver: homey:manager:vdevice — zigbeebasic Capability | Type | Value: onoff | boolean | true/false Capability | Type | Value: dim | number | 0 to 1 (eg 0.90 for 90%)

Would be very much appreciated as always :)

jaccoh commented 2 years ago

More clarification: it does show up in Apple Home but only as onoff. Not as dimmable.

robertklep commented 2 years ago

The issue is that HomeKit outlets (which are used for Homey sockets) don't support dimming. Some alternative Home apps do support this, but the built-in Home app doesn't.

If you want this to work, I think you have to create a virtual "light" device (which does support both on/off and dimming).

jaccoh commented 2 years ago

Ok! I'll try that. I did see a virtual switch but not a light before.. but I'll google. It's out of scope here!

robertklep commented 2 years ago

Homey's built-in virtual devices don't support lights, but you can use the Virtual Devices app.

jaccoh commented 2 years ago

Works! I kept the original light for on off and added a virtual for dimming.. together with a workflow and a level tag..

On 16 Feb 2022, at 16:35, Robert Klep @.***> wrote:

 Homey's built-in virtual devices don't support lights, but you can use the Virtual Devices app.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.

robertklep commented 2 years ago

You should be able to create a virtual light device that supports both capabilities, and (in the Homeykit settings) prevent the original device from being exposed to Home. That way, you should have a single device in Home that supports both on/off and dimming.

jaccoh commented 2 years ago

I know. I’ll try later .. maybe with tags and just one flow?

On 16 Feb 2022, at 16:55, Robert Klep @.***> wrote:

 You should be able to create a virtual light device that supports both capabilities, and (in the Homeykit settings) prevent the original device from being exposed to Home. That way, you should have a single device in Home that supports both on/off and dimming.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.