andrea-mattioli / bticino_x8000_component

Additional component for home assistant for managing the bticino x8000 smart thermostat without the netatmo firmware.
9 stars 1 forks source link

Received 401 Unauthorized error. Attempting token refresh #13

Closed Vahn84 closed 8 months ago

Vahn84 commented 9 months ago

Checks

The problem

The component is not responding to any action and this error was found inside the home assistant logs

Diagnostics information

Logger: custom_components.bticino_x8000.api Source: custom_components/bticino_x8000/api.py:82 Integration: Bticino X8000 (documentation, issues) First occurred: 08:24:19 (2 occurrences) Last logged: 12:33:21

Received 401 Unauthorized error. Attempting token refre

Anything in the logs that might be useful for me?

No response

Additional information

The component was working correctly yesterday when i configured it. This issue started today

andrea-mattioli commented 9 months ago

I can't reproduce the problem, did you make any changes to HA or after a bad reboot? could you give me some more info?

Vahn84 commented 9 months ago

I can't reproduce the problem, did you make any changes to HA or after a bad reboot? could you give me some more info?

Hey Andrea, thank you for your support. I was suddenly struggling to replicate the error and then i understood why. It was because of the firewall rules i had enabled (and then disabled) after the integration, that were blocking every connection with a geo-lock.

This is the error anyway

image

Do you know which port/ip address i need to allow to make things work with the firewall rules enabled? Also...but this is more of a feature question...is there a way to trigger the BOOST feature of the smarther thermostat within the home assistant card?

Thank you again

Fabio

andrea-mattioli commented 9 months ago

https://api.developer.legrand.com Questo è l'indirizzo che viene chiamato dall'integrazione

Vahn84 commented 9 months ago

https://api.developer.legrand.com Questo è l'indirizzo che viene chiamato dall'integrazione

Grazie mille Andrea, alla fine sono riuscito a sniffare l'indirizzo ip di legrand tramite wireshark su docker