Page 1 of 1

MQTT setup

Posted: Monday 06 June 2016 14:03
by planetf1
I've followed the instructions to setup MQTT via https://www.domoticz.com/wiki/MQTT

At this point there's no mqtt server started... is there a continuation of these instructions I should be following? I'm hoping to get domoticz working along with node-red (locally) plus use mqtt to send/receive sensor data & analytics from elsewhere in the cloud :-)

I'll dig around otherwise, just wanted to check if there were any other decent starter articles to read first.

Re: MQTT setup

Posted: Thursday 02 March 2017 9:17
by blauwebuis
I'm curious about this too. Did you find anything useful?

Re: MQTT setup

Posted: Thursday 02 March 2017 12:34
by Satellietje
Last weekend, I have reinstalled a Raspberry Pi with Rasbian Jessie Lite v11-01-2017. Also MQTT installed as follows.

sudo apt-get update
sudo apt-get upgrade

Nodejs
curl -sL https://deb.nodesource.com/setup_7.x | sudo bash -
sudo bash
apt-get install nodejs
node -v (laat de geïnstalleerde versies zien) - (v7.6.0)
npm -v (v 4.1.2)
sudo reboot

wget http://repo.mosquitto.org/debian/mosquitto-repo.gpg.key
sudo apt-key add mosquitto-repo.gpg.key
cd /etc/apt/sources.list.d/
sudo wget http://repo.mosquitto.org/debian/mosquitto-wheezy.list
sudo -i
apt-get update
apt-get install mosquitto
exit
Sudo reboot