@swollef wrote:
I have just setup my rpi3 with Home Assistant having being running OpenHab for the last few years. Most of my devices are sonoff devices flashed with Tasmota
I have installed HA, setup an additional user called mqtt and changed my devices to use the new IP address and username and password… installed the Mosquitto broker and left the configuration as is (as im using a HA user).
the Mosquitto broker logs show the user connecting but no devices show up in intergrations. Ive read forum posts (most seem out of date) and watched a few youtube videos but im no further forward. any help would massively appreciated.
Broker Config:
logins: [] anonymous: false customize: active: false folder: mosquitto certfile: fullchain.pem keyfile: privkey.pem require_certificate: false
Broker Log:
[12:25:05] INFO: Setup mosquitto configuration [12:25:05] WARNING: SSL not enabled - No valid certs found! [12:25:05] INFO: No local user available [12:25:06] INFO: Initialize Hass.io Add-on services [12:25:06] INFO: Initialize Home Assistant discovery [12:25:06] INFO: Start Mosquitto daemon 1585139106: mosquitto version 1.6.3 starting 1585139106: Config loaded from /etc/mosquitto.conf. 1585139106: Loading plugin: /usr/share/mosquitto/auth-plug.so 1585139106: |-- *** auth-plug: startup 1585139106: ├── Username/password checking enabled. 1585139106: ├── TLS-PSK checking enabled. 1585139106: └── Extended authentication not enabled. 1585139106: Opening ipv4 listen socket on port 1883. 1585139106: Opening ipv6 listen socket on port 1883. 1585139106: Opening websockets listen socket on port 1884. 1585139106: Warning: Mosquitto should not be run as root/administrator. 1585139108: New connection from 172.30.32.1 on port 1883. 1585139109: Socket error on client <unknown>, disconnecting. 1585139109: New connection from 172.30.32.1 on port 1883. [INFO] found homeassistant on local database 1585139109: New client connected from 172.30.32.1 as auto-A0C6F36D-B0F9-1891-2B37-364655D0D737 (p2, c1, k60, u'homeassistant'). 1585139111: New connection from 192.168.1.190 on port 1883. [INFO] found mqtt on Home Assistant 1585139113: New client connected from 192.168.1.190 as SonoffBasic01 (p2, c1, k10, u'mqtt'). 1585139113: New connection from 192.168.1.212 on port 1883. 1585139113: New client connected from 192.168.1.212 as rgbswitch02 (p2, c1, k10, u'mqtt').
Posts: 5
Participants: 2