GithubHelp home page GithubHelp logo

Comments (3)

hjdhjd avatar hjdhjd commented on June 12, 2024

This is not a plugin issue. This is HomeKit-intended behavior. When an accessory has multiple associated services, HomeKit shows them as a single accessory starting in iOS 13.

Adrian's chosen to implement non-native switches (such as the occupancy switch in his plugin, for instance) as their own accessories instead of directly associating them with an existing accessory. Some accessories in the Nest plugin, like the Thermostat or Nest Protect ones, do have associated services attached to them, which you can also see in the same way you described above, and behave the same as you've described.

Philosophically, the intent in HomeKit is that if an accessory has multiple services, they should all be linked to that accessory. My design choices honor that intent. Aaron's do as well...he sees things like occupancy sensors as completely separate accessories, and arguably they are.

Net-net: it's not a bug. This is intended behavior. I have no plans to disassociate switches and sensors from the camera accessories they're attached to.

With that out of the way, generally speaking, I wouldn't do what you're trying to do. The motion switches are there as a convenience, but truly, they're there for automation events. Turn on motion detection when I leave the house, for example. I'd consider what you're really trying to do here, and act accordingly.

In my situation...I've got the better part of two dozen cameras. That would be a lot of switches on a home screen. 😄

One other thing you could do is implement the liveviews feature. This will help you get to a "single switch to rule them all", if you so desire. Read more here: https://github.com/hjdhjd/homebridge-unifi-protect2/blob/master/docs/Liveviews.md

If you don't like the way the Home app UI works, you can use a different HomeKit app, like Eve and others.

Read more here: https://www.imore.com/how-ungroup-homekit-accessories-home-app and https://9to5mac.com/2019/08/20/homekit-ios-13/

from homebridge-unifi-protect.

matellis avatar matellis commented on June 12, 2024

All understood and healthy. The outcome is if you have a bunch of cameras in your favorites and you want motion sensors & enable switches, well you have two of those on your favorites page as well. It all gets a bit cluttered. I've put them at the bottom out of the way. Thanks

from homebridge-unifi-protect.

github-actions avatar github-actions commented on June 12, 2024

This issue is locked to prevent necroposting on closed issues. Please create a new issue for related support requests, bug reports, or feature suggestions.

from homebridge-unifi-protect.

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.