Regular HTTP 401 Unauthorized responses from API
Hi!
Been using the API for a while now, quite successfully, using the homebridge-flair-minisplit plugin of Homebridge. However, once every few weeks, my scheduled temperature change will not apply. I investigated the logs and I notice that, once very few hours, the Flair API rejects the requests with HTTP 401 UNAUTHORIZED responses, even though authentication worked and successfully polls my account every 60 seconds.
Is there something on Flair's side that may cause these errors? Is 60 seconds polling too frequent? I saw nothing in terms of expected frequency.
Example URLs that return this 401 once in a while:
- GET /api/hvac-units/(GUID goes here) HTTP/1.1
- GET /api/rooms/8051 HTTP/1.1
Any help would be appreciated.
Please sign in to leave a comment.
Comments
0 comments