Skip to content
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 Accessoires iOS13 #121

Closed
crbyxwpzfl opened this issue Jan 10, 2022 · 3 comments
Closed

[Feature Request] Grouped Accessoires iOS13 #121

crbyxwpzfl opened this issue Jan 10, 2022 · 3 comments
Assignees

Comments

@crbyxwpzfl
Copy link

I like this feature of an other homebridge plugin.
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 have no idea how much effort it would be to implement this.

Just thought I post it here.

@ztalbot2000
Copy link
Owner

ztalbot2000 commented Jan 10, 2022 via email

@uswong
Copy link

uswong commented Jan 12, 2022

I thought this can be done already with cmd4 using "linkedTypes". I have done it and the example below is using the type "Switch" as parent but displayed as "Fan" in HomeApp with a type "Fan" as "linkedTypes". The config.json file for that is attached for your reference.

image

            {
                "type": "Switch",
                "displayName": "Aircon Fan",
                "on": "FALSE",
                "name": "Aircon Fan",
                "manufacturer": "Advantage Air Australia",
                "model": "e-zone",
                "serialNumber": "Daikin e-zone",
                "queue": "A",
                "polling": [
                    {
                        "characteristic": "on"
                    }
                ],
                "state_cmd": "'/usr/local/lib/node_modules/homebridge-cmd4-advantageair/AdvAir.sh'",
                "state_cmd_suffix": "${IP}",
                "linkedTypes": [
                    {
                        "type": "Fan",
                        "displayName": "Fan Speed",
                        "on": "TRUE",
                        "rotationSpeed": 100,
                        "name": "Fan Speed",
                        "manufacturer": "Advantage Air Australia",
                        "model": "e-zone",
                        "serialNumber": "Daikin e-zone",
                        "queue": "A",
                        "polling": [
                            {
                                "characteristic": "on"
                            },
                            {
                                "characteristic": "rotationSpeed"
                            }
                        ],
                        "state_cmd": "'/usr/local/lib/node_modules/homebridge-cmd4-advantageair/AdvAir.sh'",
                        "state_cmd_suffix": "${IP} fanSpeed"
                    }
                ]
            },

@crbyxwpzfl
Copy link
Author

wow how did you figure this out. Amazing! thank you @uswong!

thank you @ztalbot2000, too!! You are always so quick with your response really appreciate it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants