Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MQTT on different port #211

Open
kisspandur opened this issue Nov 28, 2019 · 4 comments
Open

MQTT on different port #211

kisspandur opened this issue Nov 28, 2019 · 4 comments

Comments

@kisspandur
Copy link

I have my own running mqtt-server inside an other docker image, sitting on port 1183 (instead the default 1883). Is that possibile to set the configuration to work with that? (Right now there an option to set the ip address. Or should we use it like ip:port? )

@kisspandur
Copy link
Author

kisspandur commented Nov 28, 2019

Oh, a million pardon...

... Example from CloudMQTT
... host: mqtt:///m10.cloudmqtt.com:19427

@craxo
Copy link

craxo commented Dec 10, 2019

Where did you find this setting? I have the same issue. Did you change the mqtt-bridge in docker to another port, or did you use the standard 8080?

@kisspandur
Copy link
Author

kisspandur commented Dec 10, 2019

I only changed the mqtt-server port to 1183. If you do it, you can do it two different way. You can change only the mqtt port in the config, and you can leave it, as you connect it trough local docker IP. Or you can make it public, via docker port-forward. (I did it both.) So, locally and "publicly" I use the same non-default port, 1183. Then when I configured this smartthings-mqtt-bridge, I also had to change the port in the url above.
(I hope, I get what you want to know.)
(My problem is with that whole smarttings things. I really dont get it trough. Smartapps, and so on...)

@craxo
Copy link

craxo commented Dec 10, 2019

I realized I have to read more up on how the computer communicates with the Docker containers as I have never used it before.
Are your events listed in the live log on the smartthings page?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants