Giter Club home page Giter Club logo

Comments (12)

judge avatar judge commented on August 17, 2024 1

Yes, this is it, now I think I understand everything. :)
I think I'm going to add an ignoredLocks optional entry to the config so you can ignore the 2nd one by its name.

from homebridge-hikconnect.

judge avatar judge commented on August 17, 2024 1

I just published a new version, could you please try it?
If you update to 1.3.0 and click on the Settings, you should see an "Ignored Locks" section on the Homebridge UI. Here you can specify the name of your lock you want to ignore. So in your case: DS-KH8520-WTE1/2/0
Then you need to restart Homebridge and sadly there is one more step needed because Homebridge caches accessories. Go to "Homebridge Settings / Remove Single Cached Accessory" and remove the lock from there too, then restart again.
I hope it works for you!

from homebridge-hikconnect.

judge avatar judge commented on August 17, 2024

As far as I know, this is not possible in Homebridge. I can introduce a config parameter where you can specify the ID of the lock you want to hide. But for that, you would need to know the ID before the plugin registers the lock somehow.

from homebridge-hikconnect.

OwlBawl avatar OwlBawl commented on August 17, 2024

Homebridge itself doesn’t support the devise “hide”, but if you could add “disable” / comment it would work. Many plugins have such option.
Would appreciate.

from homebridge-hikconnect.

judge avatar judge commented on August 17, 2024

Could you show me a plugin where this has been implemented? Would be great so I can follow some patterns.

from homebridge-hikconnect.

OwlBawl avatar OwlBawl commented on August 17, 2024

Not sure the principles of this plugins fits your case... but these one I use and know they have ability to chose items which to expose to Homekit:
https://github.com/smallwood69/homebridge-cgllc-airmonitor-s1
https://github.com/ebaauw/homebridge-rpi

from homebridge-hikconnect.

judge avatar judge commented on August 17, 2024

One last question: could you show me your device's names? The plugin uses the "Device Name"/"Lock Channel"/"Lock Index" format to expose the locks, I would like to see your use case: you have multiple locks in 1 device? or does the device have multiple lock channels? or are there more devices? :)

from homebridge-hikconnect.

OwlBawl avatar OwlBawl commented on August 17, 2024

Hope this what you asked for.
If need something else - please tell
Screenshot 2022-08-20 at 15 02 22
Screenshot 2022-08-20 at 15 02 40

from homebridge-hikconnect.

OwlBawl avatar OwlBawl commented on August 17, 2024

1 - is main door station - I use
2 - door ringbell, no lock in fact using (just outdoor apt. ring)

from homebridge-hikconnect.

OwlBawl avatar OwlBawl commented on August 17, 2024

Thank you in advance. Would wait the update from you 😊

from homebridge-hikconnect.

OwlBawl avatar OwlBawl commented on August 17, 2024

Made all your guided steps. It really needs to be manually deleted.
After the "Homebridge Settings / Remove Single Cached Accessory" and reboot - unwanted lock disappeared as supposed to.
Thank you for your help !!! Now it's perfect )

from homebridge-hikconnect.

judge avatar judge commented on August 17, 2024

Great, I'm glad I could help! :)

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.