dmslabsbr / hoymiles

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

'ERROR - User has no access to plant id' on running add-on #147

Closed stefan190977 closed 4 months ago

stefan190977 commented 4 months ago

weiss leider nicht wo das problem liegt

2024-05-09 12:14:20,415 - HoymilesAdd-on - INFO - ** dmslabs&Cosik Hoymiles Gateway v.1.3.0 2024-05-09 12:14:20,416 - HoymilesAdd-on - INFO - Starting up... 2024-05-09 12:14:20 2024-05-09 12:14:20,417 - HoymilesAdd-on - INFO - Using Internal MQTT Server: core-mosquitto 2024-05-09 12:14:20,418 - HoymilesAdd-on - INFO - Using Internal MQTT User: addons 2024-05-09 12:14:20,419 - HoymilesAdd-on.mqttapi.Mqtt - INFO - mqtt.Client e69b30d0-0dec-11ef-a854-d83addda9f4d 2024-05-09 12:14:20,419 - HoymilesAdd-on.mqttapi.Mqtt - INFO - Starting MQTT core-mosquitto 2024-05-09 12:14:20,424 - HoymilesAdd-on.mqttapi.Mqtt - INFO - MQTT connected with result code 0 2024-05-09 12:14:20,425 - HoymilesAdd-on.mqttapi.Mqtt - INFO - Connected to core-mosquitto 2024-05-09 12:14:21,426 - HoymilesAdd-on.hoymilesapi.Hoymiles - INFO - Loading: https://global.hoymiles.com/platform/api/gateway/iam/auth_login 2024-05-09 12:14:21,766 - HoymilesAdd-on.hoymilesapi.Hoymiles - INFO - I got the token!! :-) 2024-05-09 12:14:21,768 - HoymilesAdd-on.hoymilesapi.Hoymiles - INFO - Loading: https://global.hoymiles.com/platform/api/gateway/pvm/station_find 2024-05-09 12:14:22,120 - HoymilesAdd-on - ERROR - User has no access to plant s6-rc: info: service legacy-services: stopping s6-rc: info: service legacy-services successfully stopped s6-rc: info: service legacy-cont-init: stopping s6-rc: info: service legacy-cont-init successfully stopped s6-rc: info: service fix-attrs: stopping s6-rc: info: service fix-attrs successfully stopped s6-rc: info: service s6rc-oneshot-runner: stopping s6-rc: info: service s6rc-oneshot-runner successfully stopped

Cosik commented 4 months ago

Podejrzewam iż zostały wpisane niepoprawne dane.

stefan190977 commented 4 months ago

S-Miles-Cloud daten habe ich richtig ein gegeben

Cosik commented 4 months ago

No ale bez bardziej szczegółowych danych nie jestem w stanie Ci pomóc. Jakość wystawionego zgłoszenia jest bardzo niska. Co więcej warto by załączyć log w formie debug. Tam jest więcej informacji. A może masz konto na innym serwerze?

stefan190977 commented 4 months ago

Starting add-on container... Fri May 10 00:13:44 CEST 2024 total 24 drwxr-xr-x 5 root root 4096 May 10 00:13 . drwxr-xr-x 1 root root 4096 May 10 00:13 .. drwxr-xr-x 2 root root 4096 May 9 17:06 pycache drwxr-xr-x 2 root root 4096 May 10 00:13 jsons -rw------- 1 root root 480 May 10 00:13 options.json drwxr-xr-x 2 root root 4096 May 9 17:06 templates [00:13:44] INFO: /data/secrets.ini not exists! Getting mqtt data... [00:13:45] INFO: null [00:13:45] INFO: {"supervisor":"2024.05.1","homeassistant":"2024.5.2","hassos":"12.1","docker":"24.0.7","hostname":"homeassistant","operating_system":"Home Assistant OS 12.1","features":["reboot","shutdown","services","network","hostname","timedate","os_agent","haos","resolved","journal","disk","mount"],"machine":"raspberrypi4-64","arch":"aarch64","state":"running","supported_arch":["aarch64","armv7","armhf"],"supported":true,"channel":"stable","logging":"info","timezone":"Europe/Vienna"} [00:13:45] INFO: {"supervisor":"2024.05.1","homeassistant":"2024.5.2","hassos":"12.1","docker":"24.0.7","hostname":"homeassistant","operating_system":"Home Assistant OS 12.1","features":["reboot","shutdown","services","network","hostname","timedate","os_agent","haos","resolved","journal","disk","mount"],"machine":"raspberrypi4-64","arch":"aarch64","state":"running","supported_arch":["aarch64","armv7","armhf"],"supported":true,"channel":"stable","logging":"info","timezone":"Europe/Vienna"} dmslabs - Home Assistant HoyMiles Solar Data Gateway Add-on 2024-05-10 00:13:46,028 - HoymilesAdd-on - INFO - ** dmslabs&Cosik Hoymiles Gateway v.1.0.11 2024-05-10 00:13:46,028 - HoymilesAdd-on - INFO - Starting up... 2024-05-10 00:13:46 2024-05-10 00:13:46,031 - HoymilesAdd-on - INFO - Using Internal MQTT Server: core-mosquitto 2024-05-10 00:13:46,032 - HoymilesAdd-on - INFO - Using Internal MQTT User: addons 2024-05-10 00:13:46,034 - HoymilesAdd-on.hoymilesapi.Hoymiles - INFO - Loading: https://global.hoymiles.com/platform/api/gateway/iam/auth_login 2024-05-10 00:13:46,866 - HoymilesAdd-on.hoymilesapi.Hoymiles - INFO - I got the token!! :-) 2024-05-10 00:13:46,866 - HoymilesAdd-on.hoymilesapi.Hoymiles - INFO - Loading: https://global.hoymiles.com/platform/api/gateway/pvm/station_find 2024-05-10 00:13:47,215 - HoymilesAdd-on - ERROR - User has no access to plant s6-rc: info: service legacy-services: stopping s6-rc: info: service legacy-services successfully stopped s6-rc: info: service legacy-cont-init: stopping s6-rc: info: service legacy-cont-init successfully stopped s6-rc: info: service fix-attrs: stopping s6-rc: info: service fix-attrs successfully stopped s6-rc: info: service s6rc-oneshot-runner: stopping s6-rc: info: service s6rc-oneshot-runner successfully stopped

Cosik commented 4 months ago

No ale to prawie taki sam log. Wrzucanie tego samego nie powoduje zwiększenia ilości informacji w konsekwencji czego ktokolwiek byłby w stanie pomóc. Już napisałem że jest potrzebny log co najmniej debugowy a to jest wciąż podstawowa wersja. Weź no pomyśl i wciśnij tam przycisk z modem developera czy jak to tam było.

I z łaski swojej weź wrzucaj to w jakieś znaczniki albo załączaj plik bo robi się nie czytelnie.

stefan190977 commented 4 months ago

It has lost the Plant ID. Plant ID is the number of my balcony plant, which is displayed in the address bar of the browser when I go to the picture of my plant on the Hoymiles page mentioned above

Cosik commented 4 months ago

So, is it working now or not? If still not working I need debug logs from your addon.

What is more, please check edge version.

stefan190977 commented 4 months ago

It works now without any problems, the only thing missing was the Panet ID.

Thank you