krahabb / meross_lan

Home Assistant integration for Meross devices
MIT License
455 stars 47 forks source link

meross lan stop woking after nuc bios update #138

Closed userMak closed 2 years ago

userMak commented 2 years ago

Version of the custom_component

v2.4.3

-->

Configuration


Add your logs here.

`This error originated from a custom integration.

Logger: custom_components.meross_lan
Source: custom_components/meross_lan/helpers.py:23
Integration: Meross LAN (documentation, issues)
First occurred: 20:45:51 (6 occurrences)
Last logged: 20:45:51

MerossDevice(1811269316494129086734298f1861d1) error in async_http_request: Cannot connect to host 192.168.1.48:80 ssl:default [Connect call failed ('192.168.1.48', 80)]
MerossDevice(1811262418516429086734298f185fa8) error in async_http_request: Cannot connect to host 192.168.1.47:80 ssl:default [Connect call failed ('192.168.1.47', 80)]
MerossDevice(1811264836268229086734298f1862d0) error in async_http_request: Cannot connect to host 192.168.1.52:80 ssl:default [Connect call failed ('192.168.1.52', 80)]
MerossDevice(1812011610829529087334298f1896a5) error in async_http_request: Cannot connect to host 192.168.1.49:80 ssl:default [Connect call failed ('192.168.1.49', 80)]
MerossDevice(1812013756539529087334298f18976e) error in async_http_request: Cannot connect to host 192.168.1.50:80 ssl:default [Connect call failed ('192.168.1.50', 80)]

## Describe the bug
After a bios update of my intel nuc (which run HA) the integration stopped working. Is it possible that the bios update effect the integration somehow? Can someone suggest what should I do?

## Debug log

<!-- To enable debug logs check this https://www.home-assistant.io/components/logger/ -->

```text

Add your logs here.
userMak commented 2 years ago

Just noticed that all the meross switches are available if I search in the wifi network. Does this mean I should add them all from scratch?

krahabb commented 2 years ago

Hello @userMak , I couldn't find any detailed reason for the errors you are experiencing and 'sure' (reasonably at least) they shouldn't be related to the bios update. Have you checked the ip connectivity from the nuc to the devices is ok ? just pinging with the same address as configured in meross_lan ?

userMak commented 2 years ago

Hi @krahabb , I just saw your reply. I really don't know why all my devices were disconnected, I had to connect them from scratch though. The good thing was that once I connect them there were available in HA so now everything is working fine again.

tgambee commented 2 years ago

I'm having a similar issue. Logs show "cannot connect to host" but reconnecting them does not restore anything for me. The timestamp error has been around for quite a while.

2022-01-01 10:42:38 WARNING (MainThread) [custom_components.meross_lan] MerossDevice(2103035621535455853548e1e9602911) error in async_http_request: Cannot connect to host 192.168.8.73:80 ssl:default [Connect call failed ('192.168.8.73', 80)] 2022-01-01 10:42:38 WARNING (MainThread) [custom_components.meross_lan] MerossDevice(2103039332381955853448e1e960150f) error in async_http_request: Cannot connect to host 192.168.8.83:80 ssl:default [Connect call failed ('192.168.8.83', 80)] 2022-01-01 10:42:38 WARNING (MainThread) [custom_components.meross_lan] MerossDevice(2103039089768055853548e1e960275d) error in async_http_request: Cannot connect to host 192.168.8.76:80 ssl:default [Connect call failed ('192.168.8.76', 80)] 2022-01-01 10:42:41 WARNING (MainThread) [custom_components.meross_lan] MerossDevice(2101208403451651854048e1e9479d41) error in async_http_request: Cannot connect to host 192.168.8.137:80 ssl:default [Connect call failed ('192.168.8.137', 80)] 2022-01-01 10:42:41 WARNING (MainThread) [custom_components.meross_lan] MerossDevice(2109137060258955855748e1e97627cf) error in async_http_request: Cannot connect to host 192.168.8.178:80 ssl:default [Connect call failed ('192.168.8.178', 80)] 2022-01-01 10:42:41 WARNING (MainThread) [custom_components.meross_lan] MerossDevice(2109136679556655855748e1e9762ede) error in async_http_request: Cannot connect to host 192.168.8.103:80 ssl:default [Connect call failed ('192.168.8.103', 80)] 2022-01-01 10:42:41 WARNING (MainThread) [custom_components.meross_lan] MerossDevice(2103030287880555853548e1e9602618) error in async_http_request: Cannot connect to host 192.168.8.237:80 ssl:default [Connect call failed ('192.168.8.237', 80)] 2022-01-01 10:42:41 WARNING (MainThread) [custom_components.meross_lan] MerossDevice(2101206373473751854048e1e9474437) error in async_http_request: Cannot connect to host 192.168.8.158:80 ssl:default [Connect call failed ('192.168.8.158', 80)] 2022-01-01 10:42:41 WARNING (MainThread) [custom_components.meross_lan] MerossDevice(2101203476951551854048e1e9474ae6) error in async_http_request: Cannot connect to host 192.168.8.69:80 ssl:default [Connect call failed ('192.168.8.69', 80)] 2022-01-01 10:42:41 WARNING (MainThread) [custom_components.meross_lan] MerossDevice(2103038932770355853448e1e9601b15) error in async_http_request: Cannot connect to host 192.168.8.134:80 ssl:default [Connect call failed ('192.168.8.134', 80)] 2022-01-01 10:42:41 WARNING (MainThread) [custom_components.meross_lan] MerossDevice(2103036389646055853548e1e96021f4) error in async_http_request: Cannot connect to host 192.168.8.157:80 ssl:default [Connect call failed ('192.168.8.157', 80)] 2022-01-01 10:42:41 WARNING (MainThread) [custom_components.meross_lan] MerossDevice(2103035048814755853548e1e9602b58) error in async_http_request: Cannot connect to host 192.168.8.151:80 ssl:default [Connect call failed ('192.168.8.151', 80)] 2022-01-01 10:42:41 WARNING (MainThread) [custom_components.meross_lan] MerossDevice(2103032120054455853448e1e960182c) error in async_http_request: Cannot connect to host 192.168.8.243:80 ssl:default [Connect call failed ('192.168.8.243', 80)] 2022-01-01 10:42:41 WARNING (MainThread) [custom_components.meross_lan] MerossDevice(2103036467782355853548e1e9602833) error in async_http_request: Cannot connect to host 192.168.8.148:80 ssl:default [Connect call failed ('192.168.8.148', 80)] 2022-01-01 10:42:41 WARNING (MainThread) [custom_components.meross_lan] MerossDevice(2103039404551855853448e1e96020de) error in async_http_request: Cannot connect to host 192.168.8.232:80 ssl:default [Connect call failed ('192.168.8.232', 80)] 2022-01-01 10:42:41 WARNING (MainThread) [custom_components.meross_lan] MerossDevice(2103304332494055853848e1e968ed21) error in async_http_request: Cannot connect to host 192.168.8.215:80 ssl:default [Connect call failed ('192.168.8.215', 80)] 2022-01-01 10:42:41 WARNING (MainThread) [custom_components.meross_lan] MerossDevice(2103304298055555853848e1e968f82e) error in async_http_request: Cannot connect to host 192.168.8.239:80 ssl:default [Connect call failed ('192.168.8.239', 80)] 2022-01-01 10:42:41 WARNING (MainThread) [custom_components.meross_lan] MerossDevice(2103020046840390843448e1e94f0621) error in async_http_request: Cannot connect to host 192.168.8.240:80 ssl:default [Connect call failed ('192.168.8.240', 80)] 2022-01-01 10:42:42 WARNING (MainThread) [custom_components.meross_lan] MerossDevice(2103038129554055853548e1e960235e) error in async_http_request: Cannot connect to host 192.168.8.85:80 ssl:default [Connect call failed ('192.168.8.85', 80)] 2022-01-01 10:42:42 WARNING (MainThread) [custom_components.meross_lan] MerossDevice(2103034397128855853548e1e9602946) error in async_http_request: 404, message='Not Found', url=URL('http://192.168.8.28/config') 2022-01-01 10:42:45 WARNING (MainThread) [custom_components.meross_lan] MerossDevice(2009106110665236100548e1e931f1bd) error in async_http_request: Cannot connect to host 192.168.8.174:80 ssl:default [Connect call failed ('192.168.8.174', 80)] 2022-01-01 10:42:45 WARNING (MainThread) [custom_components.meross_lan] MerossDevice(2105266001690390851448e1e971bb3c) error in async_http_request: Cannot connect to host 192.168.8.94:80 ssl:default [Connect call failed ('192.168.8.94', 80)] 2022-01-01 10:42:46 WARNING (MainThread) [custom_components.meross_lan] MerossDevice(2103035748059755853548e1e96025c1) has incorrect timestamp: 1641057393 seconds behind HA 2022-01-01 10:42:53 WARNING (MainThread) [custom_components.meross_lan] MerossDevice(2103035552457755853548e1e96025f8) error in async_http_request: TimeoutError 2022-01-01 10:42:53 WARNING (MainThread) [custom_components.meross_lan] MerossDevice(2103039747488755853448e1e9601b67) error in async_http_request: TimeoutError 2022-01-01 10:42:53 WARNING (MainThread) [custom_components.meross_lan] MerossDevice(2103039348834455853448e1e9601e9f) error in async_http_request: TimeoutError

krahabb commented 2 years ago

Hello @tgambee , I guess your devices ar still paired to the meross cloud/app. Have you set the proper device key in meross_lan configuration per each device ? or are you rusing a 'blank' key in meross_lan ? Did this issue arise after some update/upgrade of devices firmware or maybe HA/meross_lan itself ?