home-assistant / home-assistant.io

:blue_book: Home Assistant User documentation
https://www.home-assistant.io
Other
4.83k stars 7.22k forks source link

default port #23186

Closed acfnews closed 2 years ago

acfnews commented 2 years ago

Feedback

Can the default TCP port be mentioned in the 'configuration / path' section:

According to this topic : https://www.domoticaforum.eu/viewtopic.php?t=13438&sid=f0c7225c9f97a60dd771088abba3cb90

it should be : socket://192.168.1.138:25238

URL

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

Version

2022.6.7

Additional information

No response

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

Hey there @mvn23, mind taking a look at this feedback as it has been labeled with an integration (opentherm_gw) you are listed as a code owner for? Thanks! (message by CodeOwnersMention)

mvn23 commented 2 years ago

The OpenTherm Gateway is designed as a serial device, not as a network device. When using a socket://-type url to connect to the gateway, you're essentially connecting to an additional device (in your case an ESP8266) which is taking care of the transfer of network traffic to the serial port and vice versa. This additional device has its own firmware and settings and depending on the firmware in use, the default port will be different (mine defaulted to 23). Because of this, there is no such thing as a default port for the OpenTherm Gateway. There are only default ports for each firmware that may be in use to translate between the serial and network connections. Therefore, the correct place for this information is in the documentation of the specific firmware in use. For Robert's ESP8266 OTGW-firmware it is clearly stated here which port should be used.

frenck commented 2 years ago

Closing this feedback, as there is no "standard" or default port for this integration.