alexryd / homebridge-shelly-ng

Homebridge plugin for the next generation of Shelly devices
GNU General Public License v3.0
121 stars 44 forks source link

Shelly1 cannot be connected #63

Closed bjoerrrn closed 1 year ago

bjoerrrn commented 1 year ago

I am unfortunately not able to connect my shelly1 to homebridge.

It is connected to the local network, can be accessed via shelly app and directly with http:///shelly, too. Thought it would be easier to plug & play with it. Wifi devices are allowed to talk to eachother. My 2 vacuum cleaners could be found as well, plus a TP Link device.

log output:

[1/7/2023, 9:14:29 AM] [Shelly NG] Launched child bridge with PID 2396935
[1/7/2023, 9:14:30 AM] Registering platform 'homebridge-shelly-ng.ShellyNG'
[1/7/2023, 9:14:30 AM] [Shelly NG] Loaded homebridge-shelly-ng v1.6.0 child bridge successfully
[1/7/2023, 9:14:30 AM] Loaded 0 cached accessories from cachedAccessories.0E81DB399C63.
[1/7/2023, 9:14:30 AM] Homebridge v1.6.0 (HAP v0.11.0) (Shelly NG) is running on port 46679.
[1/7/2023, 9:14:30 AM] [Shelly NG] Failed to add discovered device (id: shelly1-xxx): Error connecting to device (code: 1006)

configuration:

            "name": "Shelly NG",
            "mdns": {
                "enable": false
            },
            "devices": [
                {
                    "id": "shelly1-xxx",
                    "name": "Lampe Flur EG",
                    "exclude": false,
                    "hostname": "192.168.178.44",
                    "switch:0": {
                        "exclude": false,
                        "type": "switch"
                    },
                    "switch:1": {
                        "exclude": false,
                        "type": "switch"
                    },
                    "switch:2": {
                        "exclude": false,
                        "type": "switch"
                    },
                    "switch:3": {
                        "exclude": false,
                        "type": "switch"
                    },
                    "cover:0": {
                        "exclude": false,
                        "type": "window"
                    }
                }
            ],
            "_bridge": {
                "username": "xx:xx:xx:xx:xx:xx",
                "port": xxxxx
            },
            "websocket": {
                "requestTimeout": 10,
                "pingInterval": 60,
                "reconnectInterval": [
                    5,
                    10,
                    30,
                    60,
                    300,
                    600
                ]
            },
            "platform": "ShellyNG"
        }
bjoerrrn commented 1 year ago

Used the community Homekit firmware to solve my problem.