home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
70.48k stars 29.41k forks source link

Opentherm connection problem #28769

Closed gufi666 closed 4 years ago

gufi666 commented 4 years ago

Hi,

I try to configure Opentherm Gateway but i have problem with connection. If i want to connect to my gateway there is info that about connection timeout. I,m using nobo gateway with LAN interface or NodeMCU (flashed with espeasy) It's work wit OTMonitor and ping is ok. Maybe somebody can help resolve this problem. I just start using HA so I'm learning. I found in home-assistent.log only this info 2019-11-14 13:54:17 ERROR (MainThread) [pyotgw.pyotgw] Could not connect to serial device on 192.168.1.60:23. Will keep trying. Reported error was: [Errno 2] could not open port 192.168.1.60:23: [Errno 2] No such file or directory: '192.168.1.60:23'

BR Artur

probot-home-assistant[bot] commented 4 years ago

Hey there @mvn23, mind taking a look at this issue as its been labeled with a integration (opentherm_gw) you are listed as a codeowner for? Thanks!

frenck commented 4 years ago

Hi there, @gufi666!

Sorry to hear you are having issues. Would you please use the issue template provided to create an issue? Since that requests a lot of additional information, that is now missing.

About your issues, it seems to me that you are trying to set up a remote serial connection, in this case, I would expect the path setting to have a socket:// prefix. I don't see it in the error message, nor did you provide an example configuration.

Please make sure you are using a PySerial compatible path format, as linked in the docs:

https://pythonhosted.org/pyserial/url_handlers.html

gufi666 commented 4 years ago

Hi, My fault did not look exactly and the reason was the lack of a socket:// prefix before the address. Now everything work fine.

frenck commented 4 years ago

@gufi666 It's ok! Glad you got it resolved there! 👍