sindrebroch / ha-magicmirror

Custom HomeAssistant-integration for MagicMirror
Apache License 2.0
14 stars 0 forks source link

Lost connection to MagicMirror after going to 2.21.0 of MM #18

Closed fribse closed 1 year ago

fribse commented 1 year ago

Version of the custom_component

1.4.0

Configuration


Add your logs here.
Logger: homeassistant.config_entries
Source: config_entries.py:783
First occurred: 19.02.15 (1 occurrences)
Last logged: 19.02.15

Config entry '10.11.12.17' for magicmirror integration not ready yet; Retrying in background

Logger: homeassistant.config_entries
Source: config_entries.py:395
First occurred: 18.59.20 (4 occurrences)
Last logged: 18.59.27

Config entry '10.11.12.17' for magicmirror integration not ready yet; Retrying in background

Describe the bug

After the upgrade of MagicMirror from 2.20 to 2.21 the integration doesn't work. I think the update of HA to 2022.11.x also had an effect.

billede

Debug log

2022-11-27 19:07:21.278 DEBUG (MainThread) [custom_components.magicmirror] GET url=http://10.11.12.17:8080/api/mmUpdateAvailable. headers={'accept': 'application/json', 'Authorization': 'Bearer b9911c8282f943faac207140f4e8ea0a'}
2022-11-27 19:07:35.399 DEBUG (MainThread) [custom_components.magicmirror] Finished fetching magicmirror data in 14.121 seconds (success: False)
sindrebroch commented 1 year ago

Hm weird, I'm currently running both MagicMirror 2.21 and HA 2022.11.4 and not facing any new issues. My mirror goes unavailable once in a while when polling is timing out, because my mirror is on wifi and has a weak signal, but seems to be running fine most of the time. Does this happen on every restart, or only sometimes?

fribse commented 1 year ago

It is the new normal here. I haven't had any success in connecting to it. I also previously had intermittent connection issues, but that was just wifi problems for this mirror. But now I can log into the rpi with a SSH connection without issues, but the integration still fails.

fribse commented 1 year ago

I have no idea why, but after updating HA to 2022.11.5 the MagicMirror integration works again?

sindrebroch commented 1 year ago

Seems to be resolved. Please reopen if the issue did not solve itself.