Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95925

Can`t start MQTT work properly

$
0
0

@Iluhis wrote:

I have HA 0.103.4 with MQTT broker 5.1 add-on installed with CC2531 sniffer and spent 2 days trying to make it work.
I`ve tried many instructions and nothing helped.

I can publish and see subscribed topics in developer panel, but only if I publish it, but nothing happens when I try to add device (movement detector from Xiaomi)

It worked fine while I was using other system (not HA). Maybe there are some tricks that are not mentioned?

broker config

{
  "logins": [],
  "anonymous": false,
  "customize": {
    "active": true,
    "folder": "mosquitto"
  },
  "certfile": "fullchain.pem",
  "keyfile": "privkey.pem",
  "require_certificate": false
}

broker log

[22:52:35] INFO: Setup mosquitto configuration
[22:52:35] WARNING: SSL not enabled - No valid certs found!
[22:52:35] INFO: No local user available
[22:52:35] INFO: Initialize Hass.io Add-on services
[22:52:35] INFO: Initialize Home Assistant discovery
[22:52:35] INFO: Start Mosquitto daemon
1577220755: Loading config file /share/mosquitto/acl.conf
1577220755: mosquitto version 1.6.3 starting
1577220755: Config loaded from /etc/mosquitto.conf.
1577220755: Loading plugin: /usr/share/mosquitto/auth-plug.so
1577220755: |-- *** auth-plug: startup
1577220755:  ├── Username/password checking enabled.
1577220755:  ├── TLS-PSK checking enabled.
1577220755:  └── Extended authentication not enabled.
1577220755: Opening ipv4 listen socket on port 1883.
1577220755: Opening ipv6 listen socket on port 1883.
1577220755: Opening websockets listen socket on port 1884.
1577220755: Warning: Mosquitto should not be run as root/administrator.
1577220765: New connection from 192.168.1.108 on port 1883.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 95925

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>