Skip to content

Error fetching checkwatt data: Failed to login and Unexpected HTTP status code: 429 #92

@manberg1

Description

@manberg1

Hi

First of all, thanks for all your work with this integration!

Since a couple of weeks I've been geeting a lot of errors to fetch data and login. It ususally succeds again after a few minutes.
With my very limited knowledge I undersrand the 429 code to mean too many requests but I don't know how I can adjust this.

Has anyone else had this problem or found a way to solve it?

/J


Loggare: custom_components.checkwatt
Källa: custom_components/checkwatt/init.py:364
integration: CheckWatt (dokumentation, ärenden)
Inträffade först: 4 oktober 2025 kl. 09:20:20 (1154 förekomster)
Senast loggade: 11:38:49

Failed to login, abort update


Loggare: pycheckwatt
Källa: custom_components/checkwatt/init.py:363
integration: CheckWatt (dokumentation, ärenden)
Inträffade först: 4 oktober 2025 kl. 09:20:20 (1154 förekomster)
Senast loggade: 11:38:49

Unexpected HTTP status code: 429
An error occurred during the request. URL: https://api.checkwatt.sehttps://checkwatt.se/ha-killswitch.txt, Headers: {'accept': 'application/json, text/plain, /', 'accept-language': 'sv-SE,sv;q=0.9,en-SE;q=0.8,en;q=0.7,en-US;q=0.6', 'content-type': 'application/json', 'sec-ch-ua': '"Chromium";v="112", "Google Chrome";v="112", "Not:A-Brand";v="99"', 'sec-ch-ua-mobile': '?0', 'sec-ch-ua-platform': '"Windows"', 'sec-fetch-dest': 'empty', 'sec-fetch-mode': 'cors', 'sec-fetch-site': 'cross-site', 'wslog-os': '', 'wslog-platform': 'controlpanel', 'X-pyCheckwatt-Application': 'ha-checkwatt'}. Error: Server disconnected
An error occurred during the request. URL: https://api.checkwatt.sehttps://checkwatt.se/ha-killswitch.txt, Headers: {'accept': 'application/json, text/plain, /', 'accept-language': 'sv-SE,sv;q=0.9,en-SE;q=0.8,en;q=0.7,en-US;q=0.6', 'content-type': 'application/json', 'sec-ch-ua': '"Chromium";v="112", "Google Chrome";v="112", "Not:A-Brand";v="99"', 'sec-ch-ua-mobile': '?0', 'sec-ch-ua-platform': '"Windows"', 'sec-fetch-dest': 'empty', 'sec-fetch-mode': 'cors', 'sec-fetch-site': 'cross-site', 'wslog-os': '', 'wslog-platform': 'controlpanel', 'X-pyCheckwatt-Application': 'ha-checkwatt'}. Error: Cannot connect to host checkwatt.se:443 ssl:default [Network unreachable]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions