MQTT Mosquitto Shelly: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 1: Zeile 1:
 +
=Der Mosquitto Broker=
 +
;Installation
 +
*sudo apt install mosquitto mosquitto-clients
 +
;Passwot setzen
 +
*sudo mosquitto_passwd -c /etc/mosquitto/passwd xinux
 +
;Grundkonfiguration
 +
*sudo cat /etc/mosquitto/conf.d/default.conf
 +
allow_anonymous false
 +
password_file /etc/mosquitto/passwd
 +
bind_address 0.0.0.0
 +
log_type all
 +
log_type debug
 +
 +
 +
 
=Verbindung=
 
=Verbindung=
 
*Wir verbinden uns über WLAN(Smartphone mit dem Shelly.
 
*Wir verbinden uns über WLAN(Smartphone mit dem Shelly.

Version vom 31. Oktober 2024, 10:58 Uhr

Der Mosquitto Broker

Installation
  • sudo apt install mosquitto mosquitto-clients
Passwot setzen
  • sudo mosquitto_passwd -c /etc/mosquitto/passwd xinux
Grundkonfiguration
  • sudo cat /etc/mosquitto/conf.d/default.conf
allow_anonymous false
password_file /etc/mosquitto/passwd
bind_address 0.0.0.0
log_type all
log_type debug


Verbindung

  • Wir verbinden uns über WLAN(Smartphone mit dem Shelly.

Wlan Client

Shelly-1.png

Unsichere Verbindnung

Shelly-2.png


Datei:Shelly-3.png