Giter Club home page Giter Club logo

Comments (7)

home-assistant avatar home-assistant commented on September 26, 2024

Hey there @einarhauks, mind taking a look at this issue as it has been labeled with an integration (tesla_wall_connector) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of tesla_wall_connector can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign tesla_wall_connector Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


tesla_wall_connector documentation
tesla_wall_connector source
(message by IssueLinks)

from core.

jerry34ha avatar jerry34ha commented on September 26, 2024

Happened again tonight: Integration is trying to reach 192.168.1.110 while the correct IP is .100.

The Tesla Wall connector is .100
See the crazy logs:

024-06-05 22:00:28.629 ERROR (Thread-5) [pychromecast.socket_client] [Tout(192.168.1.111):32186] Failed to connect to service MDNSServiceInfo(name='Google-Cast-Group-51A7B474C0D94695A20E5D3BAD856309._googlecast._tcp.local.'), retrying in 5.0s
2024-06-05 22:04:30.532 INFO (MainThread) [backoff] Backing off async_request(...) for 0.5s (tesla_wall_connector.exceptions.WallConnectorConnectionTimeoutError: Timeout while connecting to Wall Connector at 192.168.1.111)

We see above that at 20:00 the WiFi in the house dies.
Client .111 which is a chroma cast becomes unreachable.
4 minutes later, the TeslaWallConnector integration tries to connect to the Chromecast .111

Next log:
2024-06-06 06:46:36.045 INFO (MainThread) [backoff] Backing off async_request(...) for 0.7s (tesla_wall_connector.exceptions.WallConnectorConnectionTimeoutError: Timeout while connecting to Wall Connector at 192.168.1.100)

At 6:45 Wifi is back, TeslaWallConnector tries to contact the correct IP: .100
Fails one time but then all is good for the rest of the day.

Next log:
2024-06-06 22:04:32.680 INFO (MainThread) [backoff] Backing off async_request(...) for 0.8s (tesla_wall_connector.exceptions.WallConnectorConnectionTimeoutError: Timeout while connecting to Wall Connector at 192.168.1.110)

The next evening, WiFi goes off again. TeslaWallConnector tries to contact .110 (which is the wrong IP, as .100 is the correct.

Next log:
2024-06-07 06:46:34.603 INFO (MainThread) [backoff] Backing off async_request(...) for 0.7s (tesla_wall_connector.exceptions.WallConnectorConnectionError: Error while communicating with Wall Connector at 192.168.1.100: Cannot connect to host 192.168.1.100:80 ssl:default [Connect call failed ('192.168.1.100', 80)]) 2024-06-07 06:46:35.322 INFO (MainThread) [backoff] Backing off async_request(...) for 0.4s (tesla_wall_connector.exceptions.WallConnectorConnectionError: Error while communicating with Wall Connector at 192.168.1.100: Cannot connect to host 192.168.1.100:80 ssl:default [Connect call failed ('192.168.1.100', 80)]) 2024-06-07 06:46:35.830 ERROR (MainThread) [backoff] Giving up async_request(...) after 3 tries (tesla_wall_connector.exceptions.WallConnectorConnectionError: Error while communicating with Wall Connector at 192.168.1.100: Cannot connect to host 192.168.1.100:80 ssl:default [Connect call failed ('192.168.1.100', 80)]) 2024-06-07 06:55:02.403 INFO (MainThread) [backoff] Backing off async_request(...) for 0.5s (tesla_wall_connector.exceptions.WallConnectorConnectionTimeoutError: Timeout while connecting to Wall Connector at 192.168.1.110) 2024-06-07 06:55:03.879 INFO (MainThread) [backoff] Backing off async_request(...) for 0.7s (tesla_wall_connector.exceptions.WallConnectorConnectionTimeoutError: Timeout while connecting to Wall Connector at 192.168.1.110) 2024-06-07 06:55:05.552 ERROR (MainThread) [backoff] Giving up async_request(...) after 3 tries (tesla_wall_connector.exceptions.WallConnectorConnectionTimeoutError: Timeout while connecting to Wall Connector at 192.168.1.110)

The next morning, Wifi comes back on, TeslaWallConnector tries to contact .100 for a little while then switches to .110 and will keep trying until I reinstalled the integration.

from core.

jerry34ha avatar jerry34ha commented on September 26, 2024

Another thing:
I disable the TeslaWallConnector integration at 21:55 and re-enable it at 6:55.
So why is it actively trying to contact the connector at 22:04 and at 6:46 exactly ?

Is there a 9 min time difference between the integration and HA Core ?

from core.

jerry34ha avatar jerry34ha commented on September 26, 2024

Tonight it tried yet another IP:
2024-06-08 22:04:30.328 INFO (MainThread) [backoff] Backing off async_request(...) for 0.9s (tesla_wall_connector.exceptions.WallConnectorConnectionTimeoutError: Timeout while connecting to Wall Connector at 192.168.1.109)

from core.

jerry34ha avatar jerry34ha commented on September 26, 2024

Happened again today. This time it was a power outage that stopped wifi brutally at 11:51.
When power came back, the integration had switched IP again:
2024-06-14 11:51:44.562 ERROR (MainThread) [backoff] Giving up async_request(...) after 3 tries (tesla_wall_connector.exceptions.WallConnectorConnectionTimeoutError: Timeout while connecting to Wall Connector at 192.168.1.100) 2024-06-14 12:35:29.042 INFO (MainThread) [backoff] Backing off async_request(...) for 0.5s (tesla_wall_connector.exceptions.WallConnectorConnectionTimeoutError: Timeout while connecting to Wall Connector at 192.168.68.105)

from core.

dglaude avatar dglaude commented on September 26, 2024

I have "similar" problem with the integration trying to connect to the old IP of the Wall Connector. But in my case I cannot find the new IP either (despite scanning).
Let's say that it "aggressively" tries to talk to the initial IP, or something like that.

from core.

jerry34ha avatar jerry34ha commented on September 26, 2024

More info:
Today, after the integration started to call yet another IP (.108 this time), I want to the Integration page and clicked "Reload".
An error message was displayed in red reading approx. "cannot connect to 108".
At that point, I did not delete the configured Wall connector.
I tried to add another entity with the correct .100 IP.
I got an error message telling me that the entity is already configured and the existing entity started working again, calling the correct .100 IP.

So reloading the integration does not work, but trying to create a duplicate does reset the existing one to the correct IP.

Also, I do not understand why the integration tries contact the connector every day at 22:04 and 6:46, while the config entry is disabled.

from core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.