Dobry dzień,
proszę o pomoc w podłączeniu chmury Supla do Home Assistant poprzez most mqqt. Wszystko działało, ale po aktualizacji HA przestało działać.
Skonfigurowałem wszystko zgodnie z instrukcją https://drive.google.com/file/d/10HTT6j ... KQwb3/view
ale nadal nie mogę się połączyć.
konfiguruję
connection bridge-Sadov****
address mqtt80.supla.org:8833
topic supla/# in
topic homeassistant/# in
topic supla/+/devices/+/channels/+/execute_action out
topic supla/+/devices/+/channels/+/set/+ out
remote_username d28852f6e53117119317c110a3****
remote_password AVKvQeZkus*3_WhfnmJF87mRMk****
bridge_capath /etc/ssl/certs
ale tak jest napisane w dzienniku brokera Mosquito w HA
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
[10:37:11] 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)
[10:37:11] INFO: Starting NGINX for authentication handling...
s6-rc: info: service legacy-services successfully started
[10:37:12] INFO: Starting mosquitto MQTT broker...
2024-04-13 10:37:12: Warning: Mosquitto should not be run as root/administrator.
2024-04-13 10:37:12: mosquitto version 2.0.18 starting
2024-04-13 10:37:12: Config loaded from /etc/mosquitto/mosquitto.conf.
2024-04-13 10:37:12: Loading plugin: /usr/share/mosquitto/go-auth.so
2024-04-13 10:37:12: ├── Username/password checking enabled.
2024-04-13 10:37:12: ├── TLS-PSK checking enabled.
2024-04-13 10:37:12: └── Extended authentication not enabled.
2024-04-13 10:37:12: Opening ipv4 listen socket on port 1883.
2024-04-13 10:37:12: Opening ipv6 listen socket on port 1883.
2024-04-13 10:37:12: Opening websockets listen socket on port 1884.
2024-04-13 10:37:12: mosquitto version 2.0.18 running
2024-04-13 10:37:12: New connection from 127.0.0.1:57744 on port 1883.
2024-04-13 10:37:12: Client <unknown> disconnected due to protocol error.
[10:37:12] INFO: Successfully send discovery information to Home Assistant.
2024-04-13 10:37:12: New connection from 172.30.33.8:35608 on port 1883.
2024-04-13 10:37:12: New client connected from 172.30.33.8:35608 as mqttjs_7cdc0427 (p2, c1, k60, u'addons').
[10:37:12] INFO: Successfully send service information to the Supervisor.
2024-04-13 10:37:16: New connection from 172.30.32.1:34917 on port 1883.
2024-04-13 10:37:16: New client connected from 172.30.32.1:34917 as 6f36pEdKNyVwfVCPs4XArl (p2, c1, k60, u'homeassistant').
2024-04-13 10:37:37: New connection from 172.30.32.2:42856 on port 1883.
2024-04-13 10:37:37: Client <unknown> closed its connection.
2024-04-13 10:39:37: New connection from 172.30.32.2:58384 on port 1883.
2024-04-13 10:39:37: Client <unknown> closed its connection.
2024-04-13 10:41:37: New connection from 172.30.32.2:37730 on port 1883.
2024-04-13 10:41:37: Client <unknown> closed its connection.
2024-04-13 10:43:37: New connection from 172.30.32.2:36488 on port 1883.
2024-04-13 10:43:37: Client <unknown> closed its connection.
2024-04-13 10:45:37: New connection from 172.30.32.2:42544 on port 1883.
2024-04-13 10:45:37: Client <unknown> closed its connection.
2024-04-13 10:47:37: New connection from 172.30.32.2:35132 on port 1883.
2024-04-13 10:47:37: Client <unknown> closed its connection.
Proszę, nie wiesz, co może być nie tak?
Dziękuję Paweł
Home assistant MQQT bridge MQQT/SUPLA
-
pslany
- Posts: 9
- Joined: Wed Oct 05, 2022 6:36 pm
naprawiłem port na 8883, ale nadal nie działa dla mnie
mosquitto.conf) (/share/mosquitto) :
connection bridge-Sadova2749
address mqtt80.supla.org:8883
topic supla/# in
topic homeassistant/# in
topic supla/+/devices/+/channels/+/execute_action out
topic supla/+/devices/+/channels/+/set/+ out
remote_username d28852f6e53117119317c110a3****
remote_password AVKvQeZkus*3_WhfnmJF87mRMk****
bridge_capath /etc/ssl/certs
Ustawienia Mosquitto broker:
logins: []
require_certificate: true
certfile: fullchain.pem
keyfile: privkey.pem
customize:
active: true
folder: mosquitto
log HA :
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
[12:29:15] 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)
[12:29:15] INFO: Starting NGINX for authentication handling...
s6-rc: info: service legacy-services successfully started
[12:29:16] INFO: Starting mosquitto MQTT broker...
1713004156: Loading config file /share/mosquitto/mosquitto.conf
2024-04-13 12:29:16: Warning: Mosquitto should not be run as root/administrator.
2024-04-13 12:29:16: mosquitto version 2.0.18 starting
2024-04-13 12:29:16: Config loaded from /etc/mosquitto/mosquitto.conf.
2024-04-13 12:29:16: Loading plugin: /usr/share/mosquitto/go-auth.so
2024-04-13 12:29:16: ├── Username/password checking enabled.
2024-04-13 12:29:16: ├── TLS-PSK checking enabled.
2024-04-13 12:29:16: └── Extended authentication not enabled.
2024-04-13 12:29:16: Opening ipv4 listen socket on port 1883.
2024-04-13 12:29:16: Opening ipv6 listen socket on port 1883.
2024-04-13 12:29:16: Opening websockets listen socket on port 1884.
2024-04-13 12:29:16: Connecting bridge bridge-Sadova2749 (mqtt80.supla.org:8833)
2024-04-13 12:29:16: mosquitto version 2.0.18 running
2024-04-13 12:29:16: New connection from 127.0.0.1:47240 on port 1883.
2024-04-13 12:29:16: Client <unknown> disconnected due to protocol error.
[12:29:16] INFO: Successfully send discovery information to Home Assistant.
[12:29:16] INFO: Successfully send service information to the Supervisor.
2024-04-13 12:29:16: New connection from 172.30.32.1:36305 on port 1883.
2024-04-13 12:29:16: New client connected from 172.30.32.1:36305 as 5C8cveWxJkZdJkyZs60kbz (p2, c1, k60, u'homeassistant').
2024-04-13 12:29:17: New connection from 172.30.33.8:45948 on port 1883.
2024-04-13 12:29:17: New client connected from 172.30.33.8:45948 as mqttjs_b0c2f97c (p2, c1, k60, u'addons').
mosquitto.conf) (/share/mosquitto) :
connection bridge-Sadova2749
address mqtt80.supla.org:8883
topic supla/# in
topic homeassistant/# in
topic supla/+/devices/+/channels/+/execute_action out
topic supla/+/devices/+/channels/+/set/+ out
remote_username d28852f6e53117119317c110a3****
remote_password AVKvQeZkus*3_WhfnmJF87mRMk****
bridge_capath /etc/ssl/certs
Ustawienia Mosquitto broker:
logins: []
require_certificate: true
certfile: fullchain.pem
keyfile: privkey.pem
customize:
active: true
folder: mosquitto
log HA :
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
[12:29:15] 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)
[12:29:15] INFO: Starting NGINX for authentication handling...
s6-rc: info: service legacy-services successfully started
[12:29:16] INFO: Starting mosquitto MQTT broker...
1713004156: Loading config file /share/mosquitto/mosquitto.conf
2024-04-13 12:29:16: Warning: Mosquitto should not be run as root/administrator.
2024-04-13 12:29:16: mosquitto version 2.0.18 starting
2024-04-13 12:29:16: Config loaded from /etc/mosquitto/mosquitto.conf.
2024-04-13 12:29:16: Loading plugin: /usr/share/mosquitto/go-auth.so
2024-04-13 12:29:16: ├── Username/password checking enabled.
2024-04-13 12:29:16: ├── TLS-PSK checking enabled.
2024-04-13 12:29:16: └── Extended authentication not enabled.
2024-04-13 12:29:16: Opening ipv4 listen socket on port 1883.
2024-04-13 12:29:16: Opening ipv6 listen socket on port 1883.
2024-04-13 12:29:16: Opening websockets listen socket on port 1884.
2024-04-13 12:29:16: Connecting bridge bridge-Sadova2749 (mqtt80.supla.org:8833)
2024-04-13 12:29:16: mosquitto version 2.0.18 running
2024-04-13 12:29:16: New connection from 127.0.0.1:47240 on port 1883.
2024-04-13 12:29:16: Client <unknown> disconnected due to protocol error.
[12:29:16] INFO: Successfully send discovery information to Home Assistant.
[12:29:16] INFO: Successfully send service information to the Supervisor.
2024-04-13 12:29:16: New connection from 172.30.32.1:36305 on port 1883.
2024-04-13 12:29:16: New client connected from 172.30.32.1:36305 as 5C8cveWxJkZdJkyZs60kbz (p2, c1, k60, u'homeassistant').
2024-04-13 12:29:17: New connection from 172.30.33.8:45948 on port 1883.
2024-04-13 12:29:17: New client connected from 172.30.33.8:45948 as mqttjs_b0c2f97c (p2, c1, k60, u'addons').
-
pslany
- Posts: 9
- Joined: Wed Oct 05, 2022 6:36 pm
Nie mam z tym doświadczenia, pobrałem, zalogowałem się i to pokazuje mi, jak postępować dalej? Załączam zdjęcie
You do not have the required permissions to view the files attached to this post.
-
pslany
- Posts: 9
- Joined: Wed Oct 05, 2022 6:36 pm
inny screen, wygląda na to, że działa u brokera w HA, czy mogę jeszcze czegoś spróbować?
You do not have the required permissions to view the files attached to this post.
-
pslany
- Posts: 9
- Joined: Wed Oct 05, 2022 6:36 pm
więc to nie działa, istnieje stara data, kiedy jeszcze funkcjonowało
You do not have the required permissions to view the files attached to this post.
