qqaatw / JciHitachiHA

A home assistant integration for controlling Jci-Hitachi devices, using LibJciHitachi backend. 台灣日立雲端模組
Apache License 2.0
116 stars 32 forks source link

abnormal connection #30

Closed chiang324 closed 2 years ago

chiang324 commented 2 years ago

Home Assistant 2022.8.2 Supervisor 2022.07.0 Operating System 8.4 Frontend 20220802.0 - latest

2022-08-09 08:43:09.824 WARNING (MainThread) [homeassistant.components.number] custom_components.jcihitachi_tw.number::JciHitachiMonthlyDataSelectorNumberEntity is overriding deprecated methods on an instance of NumberEntity, this is not valid and will be unsupported from Home Assistant 2022.10. Please report it to the custom integration author. 2022-08-09 08:43:14.569 ERROR (Dummy-2) [JciHitachi.aws_connection] An unknown shadow response is received. Client token: 66428598702835

chiang324 commented 2 years ago

please help for this issue!! thank you very much

qqaatw commented 2 years ago

Is there any other problem with device control except for this error?

chiang324 commented 2 years ago

thank for your help,that is all log

Invalid config

The following integrations and platforms could not be set up:

after core 8.3 upgrade 2022-08-10 23:37:27.581 ERROR (SyncWorker_2) [JciHitachi.aws_connection] MQTT connection failed with exception AWS_ERROR_HTTP_WEBSOCKET_UPGRADE_FAILURE: Failed to upgrade HTTP connection to Websocket. 2022-08-10 23:37:27.585 ERROR (MainThread) [custom_components.jcihitachi_tw] Failed to login API: An error occurred when connecting to MQTT endpoint. 2022-08-10 23:37:27.587 ERROR (MainThread) [homeassistant.setup] Setup failed for custom integration jcihitachi_tw: Integration failed to initialize.

But now,HA reboot about 10time,is normal now! 抱歉英文實在不太好,重開機常常無法載入,載入成功的話有error也不影響使用,多重開幾次就有機會成功!! 謝謝您的幫忙

qqaatw commented 2 years ago

目前唯一的方式就是避免重開。第一次載入需要從雲端(位於日本東京)擷取所有資訊來初始化entities,若你的裝置數量較多或是連線不穩定就會導致這些錯誤。

chiang324 commented 2 years ago

好的 這個已經很好用了!!! 謝謝您的幫忙!!!