Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ADS - does not restore the connection after a short drop #134052

Open
nielsstos2 opened this issue Dec 26, 2024 · 1 comment
Open

ADS - does not restore the connection after a short drop #134052

nielsstos2 opened this issue Dec 26, 2024 · 1 comment

Comments

@nielsstos2
Copy link

The problem

The ADS communication is not restored after a short disconnection.

Example:
When everything is working fine, I suddenly unplug the RJ45 and after a while I plug it back in. But It won't restore its connection.
The only way to fix this, is to restart whole Home Assistant.
That is, as you imagine, not very handy.

This is the same issue as the closed topic, by inactivity, #99258

I make a small INT sensor in PLC counting it from 1 to 6 and HA just monitoring that
1

but from a longer perspective here we can see that communication lost and even if PLC still working that HA have no connection and only restart HA helps with that
2

What version of Home Assistant Core has the issue?

core-2024.12.5

What was the last working version of Home Assistant Core?

Never worked

What type of installation are you running?

Home Assistant OS

Integration causing the issue

ADS

Link to integration documentation on our website

https://www.home-assistant.io/integrations/ads/

Diagnostics information

No response

Example YAML snippet

# ADS - Gateway
- platform: ads
  name: AdsNodeGatewayRelay1
  adsvar: ADS.Gateway.Receive.qxRelay1

# ADS - Node 1
- platform: ads
  name: AdsNode1Relay1
  adsvar: ADS.Node1.Receive.qxRelay1

# ADS - Node 2
- platform: ads
  name: AdsNode2Relay1
  adsvar: ADS.Node2.Receive.qxRelay1

Anything in the logs that might be useful for us?

Logger: homeassistant.components.ads.hub
Bron: components/ads/hub.py:64
integratie: ADS (documentatie, problemen)
Eerst voorgekomen: 20:17:31 (10 gebeurtenissen)
Laatst gelogd: 20:32:08

Error writing ADS.Node1.Receive.qxRelay1: ADSError: timeout elapsed (1861).
Error writing ADS.Node2.Receive.qxRelay1: ADSError: timeout elapsed (1861).
Error writing ADS.Node1.Receive.qxRelay1: ADSError: Unknown Error (-1).
Error writing ADS.Gateway.Receive.qxRelay1: ADSError: Unknown Error (-1).
Error writing ADS.Node2.Receive.qxRelay1: ADSError: Unknown Error (-1).

Additional information

No response

@home-assistant
Copy link

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

Code owner commands

Code owners of ads 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 ads 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)


ads documentation
ads source
(message by IssueLinks)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant