Table of Contents
Mosquitto MQTT
Install
sudo apt install mosquitto mosquitto-clients mosquitto-dev
Setup
Disable
/etc/init.d/mosquitto stop update-rc.d mosquitto disable systemctl disable mosquitto systemctl mask mosquitto
Runit
echo "\nlistener 1883\nallow_anonymous true" >> /etc/mosquitto/mosquitto.conf
/usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf
Test
MQTT host is listening at 192.168.0.13
mosquitto_sub -h 192.168.0.13 -t '#'