hobbyquaker / lgtv2mqtt

Interface between LG WebOS Smart TVs and MQTT :tv:
MIT License
106 stars 33 forks source link

feature request - port number for mqtt broker #4

Closed PianSom closed 6 years ago

PianSom commented 6 years ago

Hi - thanks for producing this.

It would be helpful to include a "port number" argument in config.js (for those of us who run our mqtt broker on a non-standard port to avoid conflicts :) )

hobbyquaker commented 6 years ago

This should be already possible via the MQTT url: <protocol>://<user>:<pass>@<host>:<port> where protocol is one of mqtt, mqtts, wsor wss. So e.g. for using standard mqtt on Port 2000: mqtt://host:2000