robertklep / name.klep.homekitty

HomeyKit 3.0
13 stars 4 forks source link

[Valve] #55

Open massari46 opened 1 year ago

massari46 commented 1 year ago

(make sure you also edit the title)

Type (Tuya Smart water valve / _TZ3000_iedbgyxt) of device

...

Homey Model

Is it supported by HomeyKit?

Device Classes

Find the device here: https://tools.developer.homey.app/tools/devices

What are it's class, and virtual class (if it has one)?

Device Capabilities

(see above for where you can find these; please post ID, title and type)

robertklep commented 1 year ago

If the device has class "other" and only the "onoff" capability, HomeKitty has no idea that it's a valve, and cannot present it as such to HomeKit. It can only present it as a switch.

massari46 commented 1 year ago

I understant. Is it possible to change the device type or add an option to "show as" in the HomeKitty settings?

robertklep commented 1 year ago

Changing the device class isn't possible (and besides that, Homey doesn't have a "valve" device class), implementing something like "show as" is technically possible, but won't solve your problems.

In HomeKit, a valve has three required characteristics/capabilities: "Active", "InUse" and "ValveType" ("Generic", "Irrigation", "Shower Head" and "Water Faucet").

All of these are not provided by Homey, so that problem should be solved too and would require an elaborate "device builder" in HomeKitty. Not something I'm planning to implement, I'm afraid 🥴

massari46 commented 1 year ago

Thank you very much for your quick response and interest.