AlexxIT / SonoffLAN

Control Sonoff Devices with eWeLink (original) firmware over LAN and/or Cloud from Home Assistant
https://github.com/AlexxIT/Blog
MIT License
2.74k stars 416 forks source link

Sonoff mini R2 error #1174

Open Freeejack opened 1 year ago

Freeejack commented 1 year ago

Hi!

My Sonoff Mini R2 worked for a month in DIY mode, and now i cannot find why it doesn't work anymore in HA. I see it in the list, but cannot control. If i click to switch it on or off it grays out.

This is what i see in the log, but don't know what's the IP 192.168.1.200, i never used that address and i cannot find anything in my router with this IP. HA server address is 192.168.1.100 from the beginning.

2023-04-24 21:02:15 [D] 10015a7c8c => Local4 | 192.168.1.200:8081 | None !! Can't connect: Cannot connect to host 192.168.1.200:8081 ssl:default [Connect call failed ('192.168.1.200', 8081)]
2023-04-24 21:02:15 [D] 10015a7c8c !! Local4 | Device offline
2023-04-24 21:02:46 [D] 10015a7c8c <= Local3 | 192.168.1.200:8081 | {'switch': 'on', 'startup': 'off', 'pulse': 'off', 'sledOnline': 'on', 'fwVersion': '3.6.0', 'pulseWidth': 5000, 'rssi': -62} | 17

How can i debug the root of this error?

Sonoff integration latest master Home Assistant 2023.4.6 Supervisor 2023.04.0 Operating System 10.0

AlexxIT commented 1 year ago

Reboot (power off): Sonoff device, Hass server, WiFi router. And check again