You've triggered me to update the video with the new and easy AEDES - which uses the same simple nodes... I blogged about it recently then forgot all about it - so much to do, so little time. Enjoy.
thanks for sharing, very useful for me, as new on this.... i found mqtt much better and simple, i first used JSON over http but is very slow if compared
This topic seems so straight forward, yet every time I try to tackle it I have problems. I get the error "node not deployed". I have everything looking like yours, yet nothing connects. MQTTBox installed and it states t is not connected.
Dear Mr peter, I tried following the tutorial, until I got stuck at a point, where in both MQTT input and output nodes were showing 'disconnected' status. I repeated the same again, still it says disconnected. Could you please suggest some troubleshooting for this issue?. Thanks
The author describes this as to "test" MQTT so I don't think it is intended to have multiple users... and in a home control environment not sure why you'd need them. My 20+ ESP8266s all use the same username and password.... in my case I use xx/toesp where xx is the name of a given unit - and when replying I use xx/fromesp.
Before you rush in only to be disappointed, I had crash issues with this broker, never resolved - and on GITHUB the project does not seem to have been updated for a year, meanwhile several people have written in to GITHUB and not received any responses. Meanwhile I continue to use MOSQUITO without issue for my projects. It is in use on PIs in 2 countries, 24-7 and is my main (and in some cases only) means of talking to devices. If you are using a Raspberry PI (procedure is similar or identical for other boards) you could do worse than take a look at THE SCRIPT (2019 version) which installs pretty much all the tools I use including Mosquito. bitbucket.org/snippets/scargill/qexexb/the-script-2019 - hope this helps. Lots of blog entries on Mosquito and Node-Red in the tech blog at tech.scargill.net
Thank you Peter. Like you I am running Node-RED and mosquitto (albeit on a low end Synology NAS). As a follow up on your Mosca video, the project has been discontinued and they refer to Aedes. On the feature comparison sheet it comes out pretty good github.com/mqtt/mqtt.github.io/wiki/server-support . As it's a node project too, it has some appeal: one platform, one ecosystem, one update methodology, etc. And V8 is good, very good. I haven't tried it yet, but here are the links. Aedes Node-RED node: flows.nodered.org/node/node-red-contrib-aedes . Gitbub: github.com/moscajs/aedes .
i have tried initially wget repo.mosquitto.org/debian/mosquitto-repo.gpg.key sudo apt-key add mosquitto-repo.gpg.key cd /etc/apt/sources.list.d/ sudo wget repo.mosquitto.org/debian/mosquitto-wheezy.list sudo -i apt-get update apt-get install mosquitto but not installable like that error then i have tried $ sudo curl -O repo.mosquitto.org/debian/mosquitto-repo.list but source list not able to read error comming
I need help. I use Node-RED node-red-contrib-mqtt-broker node. flows.nodered.org/node/node-red-contrib-mqtt-broker I include pubsubclient.h in my Arduino code. only set clientID The connection is successful. But I add clientID, username, password caht in my arduino code. Connection will fail. Does anyone have add "username" "password" connect to mqtt broker server successfully connected? Please forgive me my poor English.
hi, thanks for the video and i have a question, in this tutorial www.hackster.io/victorffs/connecting-stm32-lora-discovery-kit-to-aws-iot-83ee15 he doesnt add the mosca broker, just take a mqtt out block (for me it acts just as a publisher) and send the data to aws(amazon web services) where he emulates a mqtt client but where is the broker? , thanks