espressif / esp-homekit-sdk

566 stars 107 forks source link

How to change Homekit TCP port? #131

Open dzungpv opened 7 months ago

dzungpv commented 7 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 7 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 6 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.