-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request - Grouped accessories IOS13 #201
Comments
I think this is the functionality that Jacob Nite added in 1.0.50? |
Hmm, as I have understood no, it's not the same thing. Jacob Nite added a button which does not have a state(ON or OFF) so you can press it once, twice or long press to perform a different actions on the same button. I'm talking about the new feature(which many hated) that came with IOS13. This groups different accessorise that are under one device into one single tile. It is explained for example here: https://9to5mac.com/2019/08/20/homekit-ios-13/ |
It would be awesome if we could group accessorise by common name somewhere in the config.
So then if two accessories have the same group name they would be displayed in homekit in the one tile that you can open up to see and interact independently |
Thanks, @Kepete. Do you have any idea how groups are represented by HomeKit types? I can’t see anything obvious in https://github.com/KhaosT/HAP-NodeJS/blob/master/src/lib/gen/HomeKit.ts. |
@arachnetech not sure about HomeKit types, but found an issue explaining it further on HAP-NodeJS git. https://github.com/KhaosT/HAP-NodeJS/issues/680 Furthermore, I have one Homebridge plugin(the same I shared screenshots of) that grouped tiles after IOS13 update automatically, so maybe you can figure it out from the code. The plugin is: Maybe this helps :) |
You get this grouping, if you add multiple "functional" services to one accessory. For example multiple "switch" services, or "motionsensor" combined with "lightbulb". In this Plugin we already have this grouping feature for type "WheatherStation", which I added some time ago. It provides Temperature & Humidity services (+some special Eve-only services) in just one accessory. You can check out the code for this... The main conceptual problem is that homebridge-mqttthing is based on different accessory types with fixed assigned services/characteristics. It may be worthwhile to implement kind of a "flexible" type with a combination of multiple services, which was already discussed in #144 and #149. |
Thanks, that’s very helpful. Certainly sounds possible, but probably only directly through the XML (not config-ui-x). |
Yes. This might be too complex for config-Ui-x. I could imagine this kind of json configuration:
Where appropriate, common options could also be specified outside of "services". As inner types, however, one should only use simple types that provide only one service. So complex ones like Doorbell with motion, WeatherStation, TV should not be used. And there could only exist one BatteryService! |
Thanks @tobekas for your input. This is exactly what I was looking for when posting this feature request. Your configuration example makes sense and would work well. |
And how about an extra option for grouped switches: "isDefaultOn". Reason: Homekit is lacking selector-switches (I.E. the same way a tv-accessory works). Based on this plugin: https://www.npmjs.com/package/homebridge-dummy-radio-switch |
@arachnetech is there some works done about this feature request? |
Still waiting for me to find some time, unfortunately. Thanks for reminding me though - maybe during the weekend... |
i just put in a group fir a xiaomi item in the openhab package. its configurtion was relatively straight forward.
so fir mqttthing, I'd guess the item, types would be thing definitions , as per if they were listed individually. |
That looks really good |
Wow, I'm excited! Are there any limitations which accessories you can group together? For example does Apple allow grouping Curtains with Light Dimmer(an unusual group) ors. |
Thanks! It's in the I haven't implemented any limitations, but I suspect Homekit might impose some. So far I've only tested the combination shown above, which uses the configuration proposed by @tobekas above. |
Hi there,
however, when I try to change it to make use of the 1.1.17 multiservice feature, the plug just gets invisible in home app & eve & also in the homebridge accessory page.
did I do something wrong, or do you maybe have an idea why this is not working as I expected? |
Seems like multi-service is in the main branch moving forward from release 1.1.17 ? |
Yes, it's in the main branch now. @Hans0lo, I think There's some very brief documentation at https://github.com/arachnetech/homebridge-mqttthing/blob/master/docs/Configuration.md#grouped-accessories which may help. |
To be honest, I don't know without trying it! |
@arachnetech Tested and can confirm it works awesome! Thanks again. One small addition. Currently if I group two (dimmable) lights together, I will have to slide to full power both of them separately(two sliders next to each other). Could it be implemented that if you click the tile(accessory) once it goes to ON for all devices in the group(so switching both dimmable lights on) and if you hold long press then it opens the accessory like currently(and then can separately control them). I don't know maybe it's a limitation from homekit side, but would seem like logical to have a short way of doing things and then long press would give extra info. |
I've played around with this feature, and I've noticed if I have "history":"true" on the root custom service, it complains of having multiple services with the same UUID. Upon closer inspection, I can see that the outlet on the custom group service , the history service for it is being allocated the same UUID as another outlet not in a custom service. Removing "history":"true" from the root custom service fixes the problem. |
More info, if I have two outlets in a single custom grouping, if you apply history to both it will fail on a duplicate UUID on the history service. |
Exactly what we need, Is this still in beta? |
With IOS 13 it's now possible to have different tiles (accessorise) grouped into one tile. While long pressing on it it will reveal them.
For example it's possible to have two switches grouped:
I think this has been discussed under different issues few times, but though it would need it's own discussion.
The text was updated successfully, but these errors were encountered: