homebridge-shelly-ng
homebridge-shelly-ng copied to clipboard
Shelly 1l Device disconnected (code: 1006)
Hi.
I use a Shelly 1l to control on/off of a gas heating central.
When I check the logs, I see a lot of disconnects from the network and reconnects after 5 seconds.
[05/05/2023, 10:52:44] [Shelly NG] [shellyplus1-441793a72744] Device disconnected (code: 1006) [05/05/2023, 10:52:44] [Shelly NG] [shellyplus1-441793a72744] Reconnecting in 5 second(s) [05/05/2023, 10:52:49] [Shelly NG] [shellyplus1-441793a72744] Device connected
This drove me attention because last night, the device dissapeared also from the Homebridge Accessories. In the Shelly app it went off during the night, but in Homekit remained On.
What could be the problem?
Same here although I use Shelly 2.5, it still loses the connection after some time
[Shelly NG] [Kitchen Light] Failed to set switch: Error connecting to device (code: 1006)
My config:
{
"name": "Shelly NG",
"mdns": {
"enable": true
},
"websocket": {
"requestTimeout": 15,
"pingInterval": 30,
"reconnectInterval": "5, 10, 30, 60, 300, 600"
},
"platform": "ShellyNG"
},
Anyone ever get this fixed as i get the same issue
3/21/2024, 12:08:16 PM] [Shelly NG] Failed to add discovered device (id: a8032abd5a48): Error connecting to device (code: 1006) [3/21/2024, 12:08:16 PM] [Shelly NG] Failed to add discovered device (id: shellyplus1-a8032abd5a48): Error connecting to device (code: 1006) [3/21/2024, 12:08:16 PM] [Shelly NG] Failed to add discovered device (id: shellyplus1-a8032abe7200): Error connecting to device (code: 1006) [3/21/2024, 12:08:16 PM] [Shelly NG] Failed to add discovered device (id: shellyplus1-7c87ce728ef8): Error connecting to device (code: 1006) [3/21/2024, 12:08:16 PM] [Shelly NG] Failed to add discovered device (id: shellyplus1-7c87ce735270): Error connecting to device (code: 1006)
Are your Shelly devices configured with enabled authentification?
Hi
What does that mean? Is that an option in the Shelly app as everything is set as default
Thanks
Matt
On 21 Mar 2024, at 15:10, apartmedia @.***> wrote:
Are your Shelly devices configured with enabled authentification?
— Reply to this email directly, view it on GitHubhttps://github.com/alexryd/homebridge-shelly-ng/issues/76#issuecomment-2012562422, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AWCVJLRQN7NZN6KSKVAU7STYZLZ47AVCNFSM6AAAAAAXX4CQDCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJSGU3DENBSGI. You are receiving this because you commented.Message ID: @.***>
Better use the Shelly integrated Webserver for this and not the Shelly app… Open the Shelly configuration webpage by typing the IP address of your Shelly device into the addressbar of a Webbrowser (you can get the IP address in your Shelly app or by looking into your Routers configuration webpage which normally acts as your DHCP server and assigns local IP addresses to each WLAN client). When opening the Shelly config webpage you might be prompted for a login password. If that’s the case, your device has authentification enabled. To disable authentication, login, go to Settings —> Authentication, uncheck the checkbox named „Password protected device“ and hit „Save settings“. This removes the password protection.