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

SerialException: Could not open port socket error #9

Open
catdogmaus opened this issue May 28, 2024 · 0 comments
Open

SerialException: Could not open port socket error #9

catdogmaus opened this issue May 28, 2024 · 0 comments

Comments

@catdogmaus
Copy link

With Elfyn EW11 I keep getting error
`This error originated from a custom integration.

Logger: custom_components.pyscript.file.hewalex2mqtt
Source: custom_components/pyscript/global_ctx.py:341
integration: Pyscript Python scripting (documentation, issues)
First occurred: 11:07:36 PM (1 occurrences)
Last logged: 11:07:36 PM

Exception in </config/pyscript/hewalex2mqtt.py> line 5: ser = serial.serial_for_url('socket://173.16.0.174:6200') ^ SerialException: Could not open port socket://173.16.0.174:6200: [Errno 111] Connection refused`
Same time device MQTT status shows connected

To Reproduce
Latest HA, pyscript, EW11, G422-P09

Expected behavior
no errors

OS:
Home Assistant
2024.5.5

** Your setup description **
Latest HA, pyscript, EW11, G422-P09

Controller:

  • Device: G422-P09
  • Physical address: no idea what that means
  • Logical address: no idea what that means
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant