yenoiwesa / homebridge-connexoon

A homebridge plugin to integrate Somfy blinds with the Connexoon RTS hub
Apache License 2.0
27 stars 2 forks source link

Accepting 'Commands' #37

Closed woodgieboodgie closed 2 years ago

woodgieboodgie commented 2 years ago

Hi again,

I have the following config which has authenticated with Somfy successfully, but trying to set commands making 'MY' available to the home.

{
            "platform": "Connexoon",
            "name": "My Connexoon Hub",
            "username": "andrew@xyz.com",
            "password": "mypassword",
            "service": "ConnexoonRTS",
            "devices": {
                "Main Room Blind Centre": {
                    "commands": [
                        "close",
                        "my",
                        "open"
                    ]
                }
            }
        }

The error is:

[24/11/2021, 1:47:18 pm] [My Connexoon Hub] No device is associated to Main Room Blind Centre
[24/11/2021, 1:47:18 pm] [My Connexoon Hub] No device is associated to Main Room Blind Centre
[24/11/2021, 1:47:18 pm] [My Connexoon Hub] No device is associated to Main Room Blind West
[24/11/2021, 1:47:18 pm] [My Connexoon Hub] No device is associated to Main Room Blind West
[24/11/2021, 1:47:18 pm] [My Connexoon Hub] No device is associated to Main Room Blind East
[24/11/2021, 1:47:18 pm] [My Connexoon Hub] No device is associated to Main Room Blind East
yenoiwesa commented 2 years ago

Hello again @woodgieboodgie. So first, your configuration here serves no purpose because what you added is exactly the default value. So that doesn't change the configuration at all, this is what you already had before adding this block.

Now, regarding your error, I assume you have renamed the shade in the Somfy app, because it cannot find the matching shade anymore.

I just suggest removing that blind configuration entirely from the JSON based on my first point. The My position is there by default, when you put the blind at 50% in the home app.

yenoiwesa commented 2 years ago

@woodgieboodgie have you been able to come back to this?

yenoiwesa commented 2 years ago

Any update @woodgieboodgie ?

woodgieboodgie commented 2 years ago

Yep, that sorted it. Thanks.