yenoiwesa / homebridge-connexoon

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

can not start #50

Closed Valdemar1111 closed 2 years ago

Valdemar1111 commented 2 years ago

Can you show me, example of config file please.

name, it is email address ?

{
    "bridge": {
        "...": "..."
    },
    "description": "...",
    "platforms": [
        {
            "platform": "Connexoon",
            "name": "My Connexoon Hub",
            "username": "<*****************@gmail.com",
            "password": "<*********>",
            "service": "Connexoon"
        }
    ],
    "platform": "Connexoon"
}

what is incorrect? and how I can ad devises ?

yenoiwesa commented 2 years ago

Hi @Valdemar1111 👋

The username should be your Somfy account user name that you used when you setup the Somfy Connexoon hub via the mobile app. Generally your email address.

As to how to add devices, the platform will automatically add all the window coverage devices that have been mapped to your Somfy Connexoon hub.

I'll close this issue as answered. Feel free to reopen if you have more questions.

Valdemar1111 commented 2 years ago

[Connexoon] Username and password must be defined as configuration. [Connexoon] Failed to get device list undefined [Connexoon] Could not initialise platform, will retry in 5 min

I read all the closed topics, but did not find a solution, I still have no way to log in.

can you help?

Valdemar1111 commented 2 years ago

everyone has problems because of the region, I tried all the options for the service, but it did not help.

I am in Russia

yenoiwesa commented 2 years ago

The error message clearly says that the username and the password must be defined in your configuration. If it's not how do you expect it can work?

Check your configuration for username and password as clearly it's not properly defined/not present.

Valdemar1111 commented 2 years ago

{ "bridge": { "...": "..." }, "description": "...", "platforms": [ { "platform": "Connexoon", "name": "My Connexoon Hub", "username": "xxxxxxxxxxxx@gmail.com", "password": "xxxxxxx", "service": "Connexoon" } ], "platform": "Connexoon" }

it is my configuration, username and password is correct

Whatever data I enter is correct or incorrect, the error text does not change, please check if everything is correct in my configuration

Valdemar1111 commented 2 years ago

I have Connexoon RTS

yenoiwesa commented 2 years ago

@Valdemar1111 you have a second "platform": "Connexoon" at the bottom of your configuration. That's incorrect. Remove it.

Valdemar1111 commented 2 years ago

I don't add it, it acts on its own every time, even if I remove it

Valdemar1111 commented 2 years ago

I delete it, click save, go back to the settings window and it's there again...

yenoiwesa commented 2 years ago

Your configuration makes no sense in that screenshot. Why do you have the bridge, the description, all with ellipsis value (clearly meant to say it's a template).

I don't know how to use homebridge config UI, I don't use it myself, but you need to read more about homebridge and understand what is a platform...

Only put the JSON object that corresponds to the platform you are configuring, not the outer objects that are meant to represent how to configure a normal homebridge configuration file.

yenoiwesa commented 2 years ago

Clearly the UI is giving you a hint by adding the platform bit every time...