Comments (3)
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.
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.
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)
- MFA Support HOT 1
- Package camera snapshot is occasionally taken from the main camera HOT 8
- Invoke ring on doorbell remotely HOT 3
- Issue with livestreaming in HKSV on Unifi Protect Version 6.20.0 HOT 4
- Moved to Mac Mini M1 Verison V6.20 and V.19 won't play video HOT 3
- Errors in the Log after Update from G3 to G5 Cameras HOT 2
- Homekit video / snapshot not loading after a while require reboot of plugin or homebridge HOT 2
- Unifi Protect HKSV recordings cut off HOT 3
- Memory Leaked warning HOT 3
- Possible cause of #1061 (Author's note: nope.). HOT 2
- Unifi Baby Cry AI Detection - Device to trigger off of HOT 2
- Is it possible to add only motion sensors from some of the devices? HOT 2
- Transcoding based on IP address HOT 3
- HBUP API behaviour is impacting local admin login to Protect (4.0.3) HOT 2
- Live Streaming does not work but works with other tools HOT 2
- Switch to disable doorbell inside HomeKit HOT 2
- Max CPU usage and 32 Protect API errors per second HOT 13
- Why does UP Floodlight require full admin rights? HOT 2
- 2FA SUPPORT HOT 3
- Protect Controller taking too long to respond HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebridge-unifi-protect.