Also das hab ich bis jetzt gemacht. OH3 und mosquitto in openhabian-config neu installiert.
dann wie folgt alles durch gegangen
sudo nano /etc/mosquitto/mosquitto.conf:
Code: Alles auswählen
# Place your local configuration in /etc/mosquitto/conf.d/
#
# A full description of the configuration file is at
# /usr/share/doc/mosquitto/examples/mosquitto.conf.example
pid_file /run/mosquitto/mosquitto.pid
persistence true
persistence_location /var/lib/mosquitto/
log_dest file /var/log/mosquitto/mosquitto.log
include_dir /etc/mosquitto/conf.d
listener 1883
allow_anonymous true
Code: Alles auswählen
tcp LISTEN 0 100 0.0.0.0:1883 0.0.0.0:*
tcp LISTEN 0 100 [::]:1883 [::]:*
Code: Alles auswählen
openhabian@openhabian:~ $ mosquitto -v
1639929210: mosquitto version 2.0.11 starting
1639929210: Using default config.
1639929210: Starting in local only mode. Connections will only be possible from clients running on this machine.
1639929210: Create a configuration file which defines a listener to allow remote access.
1639929210: For more details see https://mosquitto.org/documentation/authentication-methods/
1639929210: Opening ipv4 listen socket on port 1883.
1639929210: Error: Address already in use
1639929210: Opening ipv6 listen socket on port 1883.
1639929210: Error: Address already in use