Some basic config stuff for the RASPI & MQTT



# Place your local configuration in /etc/mosquitto/conf.d/
pid_file /var/run/
persistence true
persistence_location /var/lib/mosquitto/
connection_messages true
log_dest file /var/log/mosquitto/mosquitto.log
include_dir /etc/mosquitto/conf.d


password_file /etc/mosquitto/conf.d/pwfile
allow_anonymous false
sys_interval 60


sudo service mosquitto status

sudo service mosquitto stop

sudo service mosquitto start


 Posting a lifesign to Web-Hub

mosquitto_pub -h -q 1 -u USER -P PASS -t "" -m ` cat /proc/uptime | awk -F" " '{ print $1 }'`

 Execute as cronjob every 15min with "crontab -e"

0,15,30,45 * * * * /home/dietmar/bin/

Get status of broker

mosquitto_sub -d -h -u user -P password -v -t \$SYS/#




2014 CW (Morse Telegraphy) was added to the German Nationwide Inventory of Intangible Cultural Heritage.