Giter Club home page Giter Club logo

Comments (4)

judge avatar judge commented on July 18, 2024

Hi! Currently the plugin registers locks as "LockMechanism" (https://developers.homebridge.io/#/service/LockMechanism) for Homekit. There is "GarageDoorOpener" (https://developers.homebridge.io/#/service/GarageDoorOpener) type as well, so probably if the plugin would register your locks as that type, they would show up.
I will try to come up with a solution to make this configurable. Do you have multiple locks? If so, do you want all of them show up as GarageDoorOpener?

from homebridge-hikconnect.

kapps7 avatar kapps7 commented on July 18, 2024

Hey mate.
In this case yes there is a drive in gate and a walk in gate so I would only want to expose the drive in gate as the garage accessory. That way I can get it show up in CarPlay.

Great if you can add it as a configuration option. I was thinking the other way would be to use the dummy garage switch plugin and tie it to that. Doing it within your plugin would be more elegant ;)

from homebridge-hikconnect.

judge avatar judge commented on July 18, 2024

The problem with that I cannot control individual accessories. When the plugin starts, it will log in into HikConnect, gets all the devices and registers them as LockMechanism. I could create a config variable to be able to configure those as GarageDoorOpeners but then all of the locks will became that type.
Maybe the plugin you mentioned (https://github.com/rasod/homebridge-dummy-garage) + an automation could be a better solution.

from homebridge-hikconnect.

kapps7 avatar kapps7 commented on July 18, 2024

You're right because that would mess up CarPlay for all so. I'll go the dummy accessory. Thanks as always!

from homebridge-hikconnect.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.