dmslabsbr / hoymiles

Hoymiles ADD-ON for Home Assistant
126 stars 30 forks source link

Stop working after update core-2022.3.5 #72

Closed Kwiatjk closed 2 years ago

Kwiatjk commented 2 years ago

Starting add-on container... Tue Mar 15 12:38:57 CET 2022 Exporting config data... Getting mqqt data... [12:38:58] ERROR: Got unexpected response from the API: Service not enabled total 16 d--------- 2 root root 4096 Mar 15 12:39 . d--------- 4 root root 4096 Mar 15 12:38 .. ---------- 1 root root 718 Mar 15 12:39 base.html ---------- 1 root root 221 Mar 15 12:39 index.html [12:39:00] INFO: secrets.ini exists! [12:39:00] INFO: /data/secrets.ini exists! [12:39:01] INFO: null [12:39:01] INFO: {"supervisor":"2022.03.4","homeassistant":"2022.3.5","hassos":null,"docker":"20.10.3","hostname":null,"operating_system":null,"features":[],"machine":"qemux86-64","arch":"amd64","state":"running","supported_arch":["amd64","i386"],"supported":false,"channel":"stable","logging":"info","timezone":"Europe/Warsaw"} [12:39:01] INFO: {"supervisor":"2022.03.4","homeassistant":"2022.3.5","hassos":null,"docker":"20.10.3","hostname":null,"operating_system":null,"features":[],"machine":"qemux86-64","arch":"amd64","state":"running","supported_arch":["amd64","i386"],"supported":false,"channel":"stable","logging":"info","timezone":"Europe/Warsaw"} dmslabs - Home Assistant HoyMiles Solar Data Gateway Add-on 2022-03-15 12:39:02,045 - HoymilesAdd-on - INFO - ** dmslabs&Cosik Hoymiles Gateway v.0.24.2d 2022-03-15 12:39:02,045 - HoymilesAdd-on - INFO - Starting up... 2022-03-15 12:39:02 2022-03-15 12:39:02,046 - HoymilesAdd-on - INFO - Using Internal MQTT Server: 2022-03-15 12:39:02,046 - HoymilesAdd-on - INFO - Using Internal MQTT User: 2022-03-15 12:39:02,046 - HoymilesAdd-on.hoymilesapi.Hoymiles - INFO - Loading: https://global.hoymiles.com/platform/api/gateway/iam/auth_login 2022-03-15 12:39:02,989 - HoymilesAdd-on.hoymilesapi.Hoymiles - INFO - I got the token!! :-) 2022-03-15 12:39:02,990 - HoymilesAdd-on.hoymilesapi.Hoymiles - INFO - Loading: https://global.hoymiles.com/platform/api/gateway/pvm-data/data_count_station_real_data 2022-03-15 12:39:03,354 - HoymilesAdd-on.hoymilesapi.Hoymiles - INFO - last_data_time 2022-03-15T12:31:06+01:00 2022-03-15 12:39:03,357 - HoymilesAdd-on.mqttapi.Mqtt - INFO - Starting MQTT

Cosik commented 2 years ago

Are you sure? On my side is working. But I'm using not default user for mqqt. Did you tried restart addon? I think this should be rised to HA that something stop working. We didn't change anything.

Kwiatjk commented 2 years ago

SOLVED start working after set External_MQTT to true

On Tue, 15 Mar 2022 at 12:57, Jaroslaw Kwiatkowski @.***> wrote:

My config what working before update HOYMILES_USER: xxx HOYMILES_PASSWORD: xxxx HOYMILES_PLANT_ID: 'xxxx' DEVELOPERS_MODE: false External_MQTT_Server: false MQTT_Host: core-mosquitto MQTT_User: xxxx MQTT_Pass: xxxx MQTT_TLS: true MQTT_TLS_PORT: '8883'

Server was restarted

22-03-15 12:44:04,686 - HoymilesAdd-on - INFO - ** dmslabs&Cosik Hoymiles Gateway v.0.24.2d 2022-03-15 12:44:04,687 - HoymilesAdd-on - INFO - Starting up... 2022-03-15 12:44:04 2022-03-15 12:44:04,688 - HoymilesAdd-on - INFO - Using Internal MQTT Server: 2022-03-15 12:44:04,688 - HoymilesAdd-on - INFO - Using Internal MQTT User: 2022-03-15 12:44:04,688 - HoymilesAdd-on.hoymilesapi.Hoymiles - INFO - Loading: https://global.hoymiles.com/platform/api/gateway/iam/auth_login 2022-03-15 https://global.hoymiles.com/platform/api/gateway/iam/auth_login%0D2022-03-15 12:44:05,432 - HoymilesAdd-on.hoymilesapi.Hoymiles - INFO - I got the token!! :-) 2022-03-15 12:44:05,432 - HoymilesAdd-on.hoymilesapi.Hoymiles - INFO - Loading: https://global.hoymiles.com/platform/api/gateway/pvm-data/data_count_station_real_data 2022-03-15 https://global.hoymiles.com/platform/api/gateway/pvm-data/data_count_station_real_data%0D2022-03-15 12:44:06,041 - HoymilesAdd-on.hoymilesapi.Hoymiles - INFO - last_data_time 2022-03-15T12:31:06+01:00 2022-03-15 12:44:06,044 - HoymilesAdd-on.mqttapi.Mqtt - INFO - Starting MQTT 2022-03-15 12:44:06,045 - HoymilesAdd-on.mqttapi.Mqtt - INFO - Trying TLS: 8883

On Tue, 15 Mar 2022 at 12:51, Cosik @.***> wrote:

Are you sure? On my side is working. But I'm using not default user for mqqt. Did you tried restart addon? I think this should be rised to HA that something stop working. We didn't change anything.

— Reply to this email directly, view it on GitHub https://github.com/dmslabsbr/hoymiles/issues/72#issuecomment-1067898471, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARXVUA46D4ECSZZ7BVCE4P3VAB2TVANCNFSM5QYM6FWA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

Cosik commented 2 years ago

Probably they broke somehow getting data. We are collecting them as it is in documentation.

Kwiatjk commented 2 years ago

My config what working before update HOYMILES_USER: xxx HOYMILES_PASSWORD: xxxx HOYMILES_PLANT_ID: 'xxxx' DEVELOPERS_MODE: false External_MQTT_Server: false MQTT_Host: core-mosquitto MQTT_User: xxxx MQTT_Pass: xxxx MQTT_TLS: true MQTT_TLS_PORT: '8883'

Server was restarted

22-03-15 12:44:04,686 - HoymilesAdd-on - INFO - ** dmslabs&Cosik Hoymiles Gateway v.0.24.2d 2022-03-15 12:44:04,687 - HoymilesAdd-on - INFO - Starting up... 2022-03-15 12:44:04 2022-03-15 12:44:04,688 - HoymilesAdd-on - INFO - Using Internal MQTT Server: 2022-03-15 12:44:04,688 - HoymilesAdd-on - INFO - Using Internal MQTT User: 2022-03-15 12:44:04,688 - HoymilesAdd-on.hoymilesapi.Hoymiles - INFO - Loading: https://global.hoymiles.com/platform/api/gateway/iam/auth_login 2022-03-15 12:44:05,432 - HoymilesAdd-on.hoymilesapi.Hoymiles - INFO - I got the token!! :-) 2022-03-15 12:44:05,432 - HoymilesAdd-on.hoymilesapi.Hoymiles - INFO - Loading: https://global.hoymiles.com/platform/api/gateway/pvm-data/data_count_station_real_data 2022-03-15 12:44:06,041 - HoymilesAdd-on.hoymilesapi.Hoymiles - INFO - last_data_time 2022-03-15T12:31:06+01:00 2022-03-15 12:44:06,044 - HoymilesAdd-on.mqttapi.Mqtt - INFO - Starting MQTT 2022-03-15 12:44:06,045 - HoymilesAdd-on.mqttapi.Mqtt - INFO - Trying TLS: 8883

On Tue, 15 Mar 2022 at 12:51, Cosik @.***> wrote:

Are you sure? On my side is working. But I'm using not default user for mqqt. Did you tried restart addon? I think this should be rised to HA that something stop working. We didn't change anything.

— Reply to this email directly, view it on GitHub https://github.com/dmslabsbr/hoymiles/issues/72#issuecomment-1067898471, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARXVUA46D4ECSZZ7BVCE4P3VAB2TVANCNFSM5QYM6FWA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>