Quantcast
Channel: FHEM – wolf-u.li
Viewing all articles
Browse latest Browse all 46

MQTT für FHEM einrichten

$
0
0

Vor ein paar Tagen wollte ich mir MQTT auf meinem Raspberry (mit Debian) einrichten und in FHEM einbinden. Dazu hatte ich ein bisschen Mühe die Anleitung zusammen zustellen, daher hier meine Kurzreferenz für das eben erwähnte Debian.

Richte das Repository für Mosquitto nach der Anleitung ein. Installiere dann die fehlenden Perl Module:

cpan install Net::MQTT::Simple::SSL
cpan install Net::MQTT::Constants

Dann installiere mosquitto:

apt-get install mosquitto mosquitto-clients

Das wars auch schon, jetzt kann man MQTT in FHEM initialisieren:

define myMQTTdevice MQTT

Wie immer kann man ein bisschen in der Commanref zu MQTT nachlesen.


Related posts:


© 2005-2014 by Uli Wolf - This Content is distributed under the Creative Commons License
This feed is for personal, non-commercial use only.
The use of this feed on other websites without attribution to the author and notification of the author breaches copyright. If this content is not in your news reader, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint: d2a576b5311479d89eff39b7ca886f6b)

Viewing all articles
Browse latest Browse all 46