Comments (4)
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"
from iotstack.
from iotstack.
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
from iotstack.
from iotstack.
Related Issues (20)
- InfluxDb data not in backup HOT 3
- menu.sh error HOT 2
- unable to stop and remove Hassio containers in IOTstack HOT 1
- zigbee2mqtt
- menu.sh just checks for current version HOT 2
- Home Assistant Native keeps coming back after removal HOT 1
- Zigbee2MqttAssistant: Unable to connect to MQTT server mosquitto HOT 2
- chown -R 1883:1883 ./volumes/mosquitto does not accept "Y" HOT 1
- ImportError: No module named 'blessed' HOT 1
- running rtl_433 container problem HOT 7
- influxdb.conf ... changing the retention of data HOT 1
- how to retrive an old image HOT 5
- How Do I get rid of Pihole ? I tried everything. HOT 5
- IOT stack vs raspberry pi OS bullseye HOT 5
- installation script incorrectly prompting version types HOT 2
- Concerned about prerequisites HOT 3
- pi.hole only works intermittently. HOT 3
- Cannot start service nodered /dev/ttyAMA0 HOT 2
- can't install new nodes in Node-Red due to no connection of node-red container with internet HOT 1
- i2c in nodered HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iotstack.