seydx / homebridge-fritz-platform

AiO Homebridge dynamic platform plugin for AVM hardware like Fritz!Box, Fritz!Repeater etc.
MIT License
223 stars 32 forks source link

[Documentation] Add guide on how to group devices #252

Open ghost opened 2 years ago

ghost commented 2 years ago

Hey there,

I am struggling to group two Dect!301 thermostats together.

If I add then in the plugin to be part of a group, nothing happens.

Screenshot 2021-11-19 at 12 09 03

I tried to create a group in my Fritz!box and adding a device without an AIN using the GUI. But by doing that the plugin is not finding the two thermostats with the AIN

[11/19/2021, 12:10:35 PM] [FritzPlatform] Therm-1 (smarthome-thermostat): Can not find device with AIN: 099950100114
[11/19/2021, 12:10:35 PM] [FritzPlatform] Therm-2 (smarthome-thermostat): Can not find device with AIN: 099950050431

AND its ignoring the group device since there is no AIN set.

After trying out things back and forth I got a working config. This included adding a group in my Fritz!Box the the name WoZi. This config will add the single devices as well as the group.

"smarthome": [
                {
                    "active": true,
                    "name": "Therm-WoZi1",
                    "ain": "09995 0100114",
                    "temperature": true,
                    "battery": true,
                    "accType": "thermostat"
                },
                {
                    "active": true,
                    "name": "Therm-WoZi2",
                    "ain": "09995 0050431",
                    "temperature": true,
                    "battery": true,
                    "accType": "thermostat"
                },
                {
                    "active": true,
                    "name": "WoZi",
                    "group": true,
                    "temperature": true,
                    "battery": true,
                    "accTypeGroup": "thermostat",
                    "accType": "thermostat"
                }
            ],
tim-hilt commented 2 years ago

So, it only works, when you also add the individual devices of a group?