fbacker / broadlink-mqtt-bridge

Bridge Broadlink RM Devices with MQTT and API for e.g. OpenHAB
41 stars 14 forks source link

Changing default ports #24

Closed gargamelonly closed 4 years ago

gargamelonly commented 4 years ago

I have a system also running Grafana tool which also has a web interface on port 3000. How can I change the bridge web configuration to use a different port?

fbacker commented 4 years ago

Please read the wiki https://github.com/fbacker/broadlink-mqtt-bridge/wiki/Configuration

create a file ./config/local.json and put this in. will give you a port of 8080

{
  "gui": {
    "port": 8080
  }
}
strobel1x commented 4 years ago

The logs are served always at port 3001 (frontail), but the gui is using the config port.

fbacker commented 4 years ago

@strobel1x @gargamelonly latest version now listens to logs port change as well.