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 error
-
pzygmunt
- Posts: 20302
- Joined: Tue Jan 19, 2016 9:26 am
- Location: Paczków
- Been thanked: 59 times
-
moravec.frantisek
- Posts: 21
- Joined: Tue Sep 26, 2023 3:24 pm
Thank U but that is not working for me...
I tried this manual...
I tried this manual...
-
moravec.frantisek
- Posts: 21
- Joined: Tue Sep 26, 2023 3:24 pm
yes it is working when i check encrypt TLS
-
moravec.frantisek
- Posts: 21
- Joined: Tue Sep 26, 2023 3:24 pm
I am trying both methots. Own MQTT broker and without own MQTT broker
and nothing.
and nothing.
-
moravec.frantisek
- Posts: 21
- Joined: Tue Sep 26, 2023 3:24 pm
Here is a MQTT integration set up
You do not have the required permissions to view the files attached to this post.
-
moravec.frantisek
- Posts: 21
- Joined: Tue Sep 26, 2023 3:24 pm
Which is better and stable…?
I could use both but i traid both but nothink works for me.
I could use both but i traid both but nothink works for me.
Last edited by moravec.frantisek on Wed Sep 27, 2023 2:48 pm, edited 1 time in total.
