steilerDev / homebridge-openhab2-complete

A homebridge plugin for openHAB, that has the expectation to fully support all Services offered by Apple's Homekit Accessory Protocol (HAP)
GNU General Public License v3.0
52 stars 16 forks source link

New Service/Device exhaust hood #69

Closed Maniez closed 4 years ago

Maniez commented 4 years ago

Hi,

i'm running into the problem, that no accessories is matching the needs I have for my implementation of an exhaust hood. Would it possible to add a new accessorie? My needs for the accessorie would be:

something like this:

{
    "name": "An items name, as shown in Homekit later",
    "type": "Exhaust hood",
    "powerItem": "Itemname-within-OpenHAB",
    "fanItem": "Itemname-within-OpenHAB",
    "cookingLightItem": "Itemname-within-OpenHAB",
    "ambientLightItem": "Itemname-within-OpenHAB",
}

many thanks

steilerDev commented 4 years ago

Hi @Maniez,

unfortunately it is not possible to create item types that are not part of the HomeKit Accessory Protocol for HomeKit and having them displayed in the Home.app. A possible workaround would be a grouping of items (if your devices run iOS 13 and above).

You would define separate items for your fan, light and power and put them into a single group. Find the syntax in the Readme Doc.

Regards,

Frank

Maniez commented 4 years ago

ah cool i didn't know that. I think this will match perfekt my needs. Thanks