Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/homematic-community/ccu-addon-mosquitto

Mosquitto packaged as Addon for the Homematic CCU3 and RaspberryMatic
https://github.com/homematic-community/ccu-addon-mosquitto

broker ccu homematic iot mosquitto mqtt raspberrymatic smarthome

Last synced: 22 days ago
JSON representation

Mosquitto packaged as Addon for the Homematic CCU3 and RaspberryMatic

Lists

README

        

# ccu-addon-mosquitto

[![Current Release](https://img.shields.io/github/release/hobbyquaker/ccu-addon-mosquitto.svg?colorB=4cc61e)](https://github.com/hobbyquaker/ccu-addon-mosquitto/releases/latest)
[![Github Releases](https://img.shields.io/github/downloads/hobbyquaker/ccu-addon-mosquitto/total.svg)](https://github.com/hobbyquaker/ccu-addon-mosquitto/releases)

[Mosquitto](https://mosquitto.org/) als Addon für die
[Homematic CCU3](https://www.eq-3.de/produkte/homematic/zentralen-und-gateways/smart-home-zentrale-ccu3.html) und
[RaspberryMatic](https://github.com/jens-maus/RaspberryMatic)

Unter [Releases](https://github.com/hobbyquaker/ccu-addon-mosquitto/releases) steht die Datei
`mosquitto-.tar.gz` zum Download zur Verfügung, diese kann über das CCU WebUI als Zusatzsoftware installiert
werden.

Auf der CCU3 sind anschließend noch die notwendigen Ports freizugeben. Die Freigabe erfolgt unter Einstellungen > Systemsteuerung > Firewall konfigurieren. Dort trägt man im Feld "Port-Freigabe" z.B. "1883;1884" ein.

Die Mosquitto Konfiguration ist unter `/usr/local/addons/mosquitto/etc/conf.d/*.conf` zu finden.
Neustart via `/etc/config/rc.d/mosquitto restart`.

Falls eigene Konfigurationen vorgenommen werden sollten diese nicht in den vorhandenen conf Dateien eingetragen werden
(da diese bei einem evtl Update überschrieben werden). Empfehlung: `conf.d/custom-xyz.conf`.

Per default lauscht Mosquitto auf den Ports 1883/mqtt und 1884/ws. Falls auf der CCU ein Zertifikat vorhanden ist
werden automatisch auch TLS listener geöffnet (8883/mqtts und 8884/wss).

Bei Aufrufen von `mosquitto_pub` muss dem Aufruf das Setzen des Library Pfades vorangestellt werden, z.B.: `LD_LIBRARY_PATH=/usr/local/addons/mosquitto/lib /usr/local/addons/mosquitto/bin/mosquitto_pub -t 'test' -m 'test'`

## Credits

Mosquitto was written by Roger Light