alexryd / homebridge-shelly

Homebridge plugin for Shelly devices
MIT License
300 stars 45 forks source link

[Bug] EHOSTUNREACH 192.168.0.27:80 (device SHSW-1 25A2CB, at 192.168.0.27) #319

Open BobbySlope opened 3 years ago

BobbySlope commented 3 years ago

Describe the bug Plugin finds the Shellys, but states cant be set

Log output 22/06/2021, 21:45:32HOOBSShellyERRORFailed to load device settings 22/06/2021, 21:45:32HOOBSShellyERRORError: connect EHOSTUNREACH 192.168.0.27:80 (device SHSW-1 25A2CB, at 192.168.0.27) 22/06/2021, 21:45:36HOOBSShellyERRORFailed to load device settings 22/06/2021, 21:45:36HOOBSShellyERRORError: connect EHOSTUNREACH 192.168.0.70:80 (device SHSW-25 40F5202A70DE, at 192.168.0.70) 22/06/2021, 21:45:36HOOBSShellyERRORFailed to load device settings 22/06/2021, 21:45:36HOOBSShellyERRORError: connect EHOSTUNREACH 192.168.0.185:80 (device SHSW-25 40F52000270F, at 192.168.0.185) 22/06/2021, 21:45:36HOOBSShellyERRORFailed to load device settings 22/06/2021, 21:45:36HOOBSShellyERRORError: connect EHOSTUNREACH 192.168.0.37:80 (device SHSW-25 40F520015259, at 192.168.0.37) 22/06/2021, 21:45:36HOOBSShellyERRORFailed to load device settings 22/06/2021, 21:45:36HOOBSShellyERRORError: connect EHOSTUNREACH 192.168.0.176:80 (device SHSW-25 40F520004DE4, at 192.168.0.176) 22/06/2021, 21:45:36HOOBSShellyERRORFailed to load device settings 22/06/2021, 21:45:36HOOBSShellyERRORError: connect EHOSTUNREACH 192.168.0.122:80 (device SHSW-25 40F52000D2D5, at 192.168.0.122) 22/06/2021, 21:45:39HOOBSShellyERRORFailed to load device settings 22/06/2021, 21:45:39HOOBSShellyERRORError: connect EHOSTUNREACH 192.168.0.228:80 (device SHSW-25 40F5202A4EC9, at 192.168.0.228) 22/06/2021, 21:45:39HOOBSShellyERRORFailed to load device settings 22/06/2021, 21:45:39HOOBSShellyERRORError: connect EHOSTUNREACH 192.168.0.251:80 (device SHSW-25 40F5202A776D, at 192.168.0.251) 22/06/2021, 21:45:39HOOBSShellyERRORFailed to load device settings

Environment:

lhrwilson commented 3 years ago

Same Issue here

Environment: Shelly Devices: Sw1 & SW2.5 & Dimmer 2 Device: Ubuntu Server 20.04 on VM & Plugin 0.18.0

adamengineering commented 2 years ago

Same Issue here

Environment: Shelly Devices: Sw1 & SW1PM & SW2.5 & Hygrp/Temp Device: Raspberry Pi4+ 8GB & Plugin 0.19.1 for Hoods

kmreed55 commented 2 years ago

Was wondering if there was any traction on this issue. I have a brand new install everything up to date and having the same problem on only one of my Shelly 1's. Thanks for any helping and let me know if more info would be helpful.

[Shelly] Admin server is running on port 8181 [06/01/2022, 10:05:06] [Shelly] New device discovered: SHSW-1 8CAAB5C513E9 at 192.168.192.5 [06/01/2022, 10:05:10] [Shelly] New device discovered: SHSW-1 500291ED534E at 192.168.192.193 [06/01/2022, 10:05:13] [Shelly] Failed to load device settings [06/01/2022, 10:05:13] [Shelly] Error: connect EHOSTUNREACH 192.168.192.193:80 (device SHSW-1 500291ED534E, at 192.168.192.193) [06/01/2022, 10:05:15] [Shelly] New device discovered: SHSW-1 8CAAB5C513F4 at 192.168.192.16 [06/01/2022, 10:05:18] [Shelly] New device discovered: SHSW-1 8CAAB5C513F8 at 192.168.192.21

Environment: Shelly Devices SW1 (4 of them) Firmware Version 20211109-124958/v1.11.7-g682a0db Device: Raspberry Pi4+ 4GB Homebridge installed via Raspberry Pi Imager App on Mac M1 Plugin: Homebridge Shelly homebridge-shelly v0.19.1

krzysztofKubiakVizlib commented 2 years ago

In my case this bug I resolved by disabled Dual WAN in settings of my router:

image
tamasfodor1988 commented 5 months ago

For me the solution was to change inside the Shelly plugin the Authentication from username to e-mail address.