espressif / esp-homekit-sdk

541 stars 98 forks source link

How to change Homekit TCP port? #131

Open dzungpv opened 2 months ago

dzungpv commented 2 months ago

By default Homekit using port 80 for local communication. I can change port with other SDK for example 8088 when I want to use port 80 for webserver. How to do with esp-homekit-sdk ?

shahpiyushv commented 2 months ago

There is a config option CONFIG_HAP_HTTP_SERVER_PORT (menuconfig -> Component config -> HAP HTTP Server -> Server Port) for changing the port number.

dzungpv commented 2 months ago

There is a config option CONFIG_HAP_HTTP_SERVER_PORT (menuconfig -> Component config -> HAP HTTP Server -> Server Port) for changing the port number.

Thank you, I will try that, you may add docs for the SDK.