niceboygithub / AqaraGateway

Aqara Gateway/Hub integration for Home Assistant
523 stars 66 forks source link

HA GUI Can’t be accessed after AqaraGateway upgrade to 0.2.5 from HACS #270

Open leeaash opened 5 months ago

leeaash commented 5 months ago

Issue is said as title. I can see the core restart by supervisor from HA console but i don’t know how to fix it.

I can only restore my HA from vm backup when this happened.

leeaash commented 5 months ago

I did more testing after upgrading to 0.2.5

  1. Core restart to safe mode by cli, then the GUI can’t be accessed.
  2. I removed old 2 integrations for Aqara Hub M1 and M2 2022, then reboot core to normal mode, then GUI can be accessed.
  3. I reinstalled the integration for my Aqara Hub M2 2022, it took core to restart several times then show fail installation for this integration.
  4. I have to rollback from my vm backup, and use 0.2.4 for my Aqara Hub M2.
linjt325 commented 5 months ago

same problem, i removed M1s but not working.

leeaash commented 4 months ago

0.2.6 still have same issue, please have a look and fix it.

leeaash commented 2 months ago

same issue under 0.2.7.

linjt325 commented 2 months ago

same problem, i removed M1s but not working.

problem solved by updating firmware of my M2 2022. firstly i delete all gateways which were configurated in aqaragateway , HA's GUI works. but the gateway configuration always failed. so i try to update modified firmware to 4.1.8 and one of my M2 is in HA now. too bad i have to rename them again -- image

leeaash commented 2 months ago

same problem, i removed M1s but not working.

problem solved by updating firmware of my M2 2022. firstly i delete all gateways which were configurated in aqaragateway , HA's GUI works. but the gateway configuration always failed. so i try to update modified firmware to 4.1.8 and one of my M2 is in HA now. too bad i have to rename them again -- image So delete M2 in the integration will solve the issue? For re-add M2 into integration, the M2 have to be upgrade its firmware? My current fm version is 4.0.6.
how did you upgrade your M2 firmware?

linjt325 commented 2 months ago

same problem, i removed M1s but not working.

problem solved by updating firmware of my M2 2022. firstly i delete all gateways which were configurated in aqaragateway , HA's GUI works. but the gateway configuration always failed. so i try to update modified firmware to 4.1.8 and one of my M2 is in HA now. too bad i have to rename them again -- So delete M2 in the integration will solve the issue? For re-add M2 into integration, the M2 have to be upgrade its firmware? My current fm version is 4.0.6. how did you upgrade your M2 firmware?

mine was 4.0.8. i suggest you update the firmware first. you can telnet your M2 and follow the commands in here

leeaash commented 2 months ago

e

same problem, i removed M1s but not working.

problem solved by updating firmware of my M2 2022. firstly i delete all gateways which were configurated in aqaragateway , HA's GUI works. but the gateway configuration always failed. so i try to update modified firmware to 4.1.8 and one of my M2 is in HA now. too bad i have to rename them again -- So delete M2 in the integration will solve the issue? For re-add M2 into integration, the M2 have to be upgrade its firmware? My current fm version is 4.0.6. how did you upgrade your M2 firmware?

mine was 4.0.8. i suggest you update the firmware first. you can telnet your M2 and follow the commands in here

Cool, mate. I did upgrade my firmware for M2, then upgrade AqaraGateway to 0.2.7, the HA GUI worked after restart.

Thanks