PiotrMachowski / Home-Assistant-custom-components-Tauron-AMIplus

This sensor uses unofficial API to get energy usage and generation data from https://elicznik.tauron-dystrybucja.pl.
MIT License
128 stars 34 forks source link

"Unknown Error" during login #173

Closed vvac closed 7 months ago

vvac commented 7 months ago

Homeassistant ver. 2023.12.1 Tauron ver. 2.5.2

Happens after clicking Submit

image

Double checked credentials and they're fine. I can use them to login to https://elicznik.tauron-dystrybucja.pl/ with no issues.

Log not very helpful

root@homeassistant:/home/dockers/homeassistant/config# tail -n 100 -f home-assistant.log
2024-01-04 08:26:18.857 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration config_editor which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-01-04 08:26:18.858 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-01-04 08:26:18.858 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration watchman which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-01-04 08:26:18.859 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration ble_monitor which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-01-04 08:26:18.859 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration tauron_amiplus which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-01-04 08:26:35.823 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140178110532160] **** from 188.122.18.179 (Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36): Client unable to keep up with pending messages. Reached 4096 pending messages. The system's load is too high or an integration is misbehaving; Last message was: {"id":24,"type":"event","event":{"id":1337,"action":"update","repository":"giachello/beoplay","repository_id":"328566789"}}
vvac commented 7 months ago

Nieaktualne - okazało się, że Tauron mnie wyciął:| Po zmianie IP działa - zobaczymy jak długo

PiotrMachowski commented 7 months ago

Jak wyciął? Pokazywał że konto zablokowane na 8h, czy coś innego?

vvac commented 7 months ago

Efekt taki jakby mnie zDROPili na firewallu - wszystkie próby połączenia z domowego IP, również te z przeglądarki kończyły się timeoutem. Podpiąłem HA pod hotspota z telefonu i zaczęło działać :) Zmieniłem już IP publiczne i bangla 💪 Mają pewnie jakiś fail2ban który wycina zbyt natrętnie używających

pt., 5 sty 2024 o 18:35 Piotr Machowski @.***> napisał(a):

Jak wyciął? Pokazywał że konto zablokowane na 8h, czy coś innego?

— Reply to this email directly, view it on GitHub https://github.com/PiotrMachowski/Home-Assistant-custom-components-Tauron-AMIplus/issues/173#issuecomment-1879031018, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEO35JZAVBXMWYMB5LJ5GYDYNA2V5AVCNFSM6AAAAABBMQP4JSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZZGAZTCMBRHA . You are receiving this because you modified the open/close state.Message ID: <PiotrMachowski/Home-Assistant-custom-components-Tauron-AMIplus/issues/173/1879031018 @github.com>

PiotrMachowski commented 7 months ago

😮 to jakaś nowość... Co takiego mogło spowodować ten problem?

vvac commented 7 months ago

Nie mam pojęcia :/

vvac commented 7 months ago

Problem się powtórzył - przyblokowali mnie ponownie. Wygląda na to, że dzieje się to krótko po restartcie Home Assistant. Otwieram ponowie i proszę o sprawdzenie czy można z tym coś zrobić.

PiotrMachowski commented 7 months ago

Ile razy restartowałeś HA?

vvac commented 7 months ago

Dobre kilka, może nawet dobiło do 10. Dopiero wchodzę w HA i testuję różne integracje / setupy ;)

niedz., 7 sty 2024 o 04:27 Piotr Machowski @.***> napisał(a):

Ile razy restartowałeś HA?

— Reply to this email directly, view it on GitHub https://github.com/PiotrMachowski/Home-Assistant-custom-components-Tauron-AMIplus/issues/173#issuecomment-1879925609, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEO35JZPHRU7VROEARBL2VTYNIIZVAVCNFSM6AAAAABBMQP4JSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZZHEZDKNRQHE . You are receiving this because you modified the open/close state.Message ID: <PiotrMachowski/Home-Assistant-custom-components-Tauron-AMIplus/issues/173/1879925609 @github.com>

PiotrMachowski commented 7 months ago

No to wszystko jasne. Każdy restart to nowe logowanie. W takich sytuacjach najlepiej wyłączyć integrację Tauronową

vvac commented 7 months ago

Ok, to w takim razie do zamknięcia - dzięki za responsywność i powodzenia w nowych projektach! :)

niedz., 7 sty 2024 o 15:00 Piotr Machowski @.***> napisał(a):

No to wszystko jasne. Każdy restart to nowe logowanie. W takich sytuacjach najlepiej wyłączyć integrację Tauronową

— Reply to this email directly, view it on GitHub https://github.com/PiotrMachowski/Home-Assistant-custom-components-Tauron-AMIplus/issues/173#issuecomment-1880067737, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEO35JYI7LDYP6EFQG2IP3LYNKS6FAVCNFSM6AAAAABBMQP4JSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBQGA3DONZTG4 . You are receiving this because you modified the open/close state.Message ID: <PiotrMachowski/Home-Assistant-custom-components-Tauron-AMIplus/issues/173/1880067737 @github.com>

PiotrMachowski commented 7 months ago

Dzięki!