guerrerotook / securitas-direct-new-api

This repository contains the new securitas direct API that can be integrated in Home Assistant
Apache License 2.0
76 stars 30 forks source link

Nothing worked till I changed DNS Servers #129

Closed KoolLSL closed 1 year ago

KoolLSL commented 1 year ago

After installation the integration was never starting, this in logs: "Error doing job: Task exception was never retrieved" ... "aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host customers.securitasdirect[...]"

It finally worked after I changed the DNS Servers in HA Settings / System / Network, setting IPv4 to Static and DNS Servers to 1.1.1.1. (replacing the local DNS) , and rebooting the host.

Not a bug but something to be aware. Maybe it depends of country or provider.

guerrerotook commented 1 year ago

That is a specific local issue that has nothing to do with the integration itself. Depending on your country, there may be a different url to connect to, but if you have trouble that is something about the PC where Home Assistant is running.