-
Notifications
You must be signed in to change notification settings - Fork 583
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
Accessing Mosquitto on IOTstack #48
Comments
Hello, as far as i am aware mosquitto doesn't have a web interface. port 1883 is for the mqtt traffic itself. You can access the mosquitto terminal via the script Typically you just need to run mosquitto and you will interface to it via Node-RED. The topics that you send from any mqtt client will be created in mosquitto automatically https://www.youtube.com/watch?v=AsDHEDbyLfg here is a video where he shows the mosquiito_pu and mosquitto_sub commands. the only difference is the they would need to be run inside the mosquitto terminal not in the regular terminal side note, remember that if you are trying to talk to mosquitto from nodered that if you use the default config the address would be "mosquitto" but it you activate the network_mode=host then it will be "127.0.0.1" |
Thank you for such a quick response.
I was just a bit confused and assumed that mosquitto has its own web interface. So this means that my stack is working exactly as it’s supposed to thanks to your software.
Thanks
Anthony
…Sent from my iPhone
On Nov 7, 2019, at 1:05 PM, Graham Garner ***@***.***> wrote:
Hello, as far as i am aware mosquitto doesn't have a web interface. port 1883 is for the mqtt traffic itself. You can access the mosquitto terminal via the script ./services/mosquitto/terminal.sh (if run from the IOTstack folder). However you will only be able to run command line tools.
Typically you just need to run mosquitto and you will interface to it via Node-RED. The topics that you send from any mqtt client will be created in mosquitto automatically
https://www.youtube.com/watch?v=AsDHEDbyLfg here is a video where he shows the mosquiito_pu and mosquitto_sub commands. the only difference is the they would need to be run inside the mosquitto terminal not in the regular terminal
side note, remember that if you are trying to talk to mosquitto from nodered that if you use the default config the address would be "mosquitto" but it you activate the network_mode=host then it will be "127.0.0.1"
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Hey Graham, |
Thanks, I will add it when i get home next week.
I really wish github would allow PRs on the wiki
…On Thu, 23 Jan 2020, 18:55 laenan8466, ***@***.***> wrote:
Hey Graham,
thanks for your awesome IOT stack.
I got stuck with the config address of the mosquitto server locally for
two days now, finally finding this very helpful issue.
Suggestion: Please add the information about network_mode to the Wiki
entries of MQTT and/or node-red. This information was really hard to find,
as a newbie to Docker and IOTstack. I guess changes in the Wiki aren't
possible for every github user?
Cheers, Laenan
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#48?email_source=notifications&email_token=ALECSYIBXJNVZMXYR3ATAZDQ7HK2PA5CNFSM4JKJNLUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJYHPBQ#issuecomment-577795974>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALECSYPA5C3FYZFOE423VPDQ7HK2PANCNFSM4JKJNLUA>
.
|
added deconz device config menu and amended wiki accordingly
Hi I have installed and configured the stack with excellent results. All items seem to work I even set the password for mosquitto but I can’t seem to gain access to the interface.
Tried localhost:1883 and several other ports.
What am I missing to get into mosquitto
Thanks
The text was updated successfully, but these errors were encountered: