Hallo,
can anone help me with connection Home assistant with supla cloud server over MQTT?
I set it up MQTT brokera and nothing.
My settings:
mosquitto.conf
connection bridge-xxxxx
address mqtt99.supla.org:8883
topic supla/# in
topic homeassistant/# in
topic supla/+/devices/+/channels/+/execute_action out
topic supla/+/devices/+/channels/+/set/+ out
remote_username xxxxxx
remote_password xxxxxx
bridge_capath /etc/ssl/certs
broker settings:
logins: []
require_certificate: true
certfile: fullchain.pem
keyfile: privkey.pem
customize:
active: true
folder: mosquitto
Broker log:
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/mosquitto.sh
[17:15:48] INFO: SSL is not enabled
cont-init: info: /etc/cont-init.d/mosquitto.sh exited 0
cont-init: info: running /etc/cont-init.d/nginx.sh
cont-init: info: /etc/cont-init.d/nginx.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun mosquitto (no readiness notification)
services-up: info: copying legacy longrun nginx (no readiness notification)
[17:15:49] INFO: Starting NGINX for authentication handling...
s6-rc: info: service legacy-services successfully started
[17:15:49] INFO: Starting mosquitto MQTT broker...
1695741349: Loading config file /share/mosquitto/mosquitto.conf
2023-09-26 17:15:49: Warning: Mosquitto should not be run as root/administrator.
2023-09-26 17:15:49: mosquitto version 2.0.17 starting
2023-09-26 17:15:49: Config loaded from /etc/mosquitto/mosquitto.conf.
2023-09-26 17:15:49: Loading plugin: /usr/share/mosquitto/go-auth.so
2023-09-26 17:15:49: ├── Username/password checking enabled.
2023-09-26 17:15:49: ├── TLS-PSK checking enabled.
2023-09-26 17:15:49: └── Extended authentication not enabled.
2023-09-26 17:15:49: Opening ipv4 listen socket on port 1883.
2023-09-26 17:15:49: Opening ipv6 listen socket on port 1883.
2023-09-26 17:15:49: Opening websockets listen socket on port 1884.
2023-09-26 17:15:49: Connecting bridge bridge-xxxxx (mqtt99.supla.org:8883)
2023-09-26 17:15:49: mosquitto version 2.0.17 running
2023-09-26 17:15:50: New connection from 127.0.0.1:37930 on port 1883.
2023-09-26 17:15:50: Client <unknown> disconnected due to protocol error.
[17:15:51] INFO: Successfully send discovery information to Home Assistant.
[17:15:51] INFO: Successfully send service information to the Supervisor.
Thank U
SUPLA with Home assistant not working
-
pzygmunt
- Posts: 20302
- Joined: Tue Jan 19, 2016 9:26 am
- Location: Paczków
- Been thanked: 59 times
