WITAM. Dziś potrzebuje pomocy z tematem MQTT a konkretnie z dodaniem drugiego urządzenia, szukałem, nawet udało mi się podobny wątek odszukać ale pogubiłem się bo temat sie rozjechał i nic z niego nie potrafie wyłuskać… ale ale od początku.
HA metal, licznik energii MEW zamel/supla przez MQTT. Wszystko śmiga pięknie
Jednak potrzebuje dorzucić solar_assistant.io po MQTT i tutaj zaczyna się poblem.
Kombinowałem wg informacji znalezionych i namieszałem jeszcze bardziej bo dodatek MQTT nie wstaje:
Cytat
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
[21:08:14] 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)
[21:08:15] INFO: Starting NGINX for authentication handling…
s6-rc: info: service legacy-services successfully started
[21:08:15] INFO: Starting mosquitto MQTT broker…
1692731295: Loading config file /share/mosquitto/bridge.conf
1692731295: Loading config file /share/mosquitto/~$bridge.conf
1692731295: Error: Unknown configuration variable “Darek”.
1692731295: Error found at /share/mosquitto/~$bridge.conf:1.
1692731295: Error found at /etc/mosquitto/mosquitto.conf:37.
[19:08:16] WARNING: Halt add-on
s6-rc: info: service legacy-services: stopping
[19:08:16] INFO: Service restart after closing
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
Na szczęscie zrobiłem wczoraj wieczorem kopie całości i wrazie czego zrobie restore. Ale rozwiąże to tylko problem który sam stworzyłem.
Ma ktoś pomysł jak się za to zabrać?
EDIT:
problem z niewstającym mqtt rozwiązany
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
[21:57:05] 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)
[21:57:06] INFO: Starting NGINX for authentication handling…
s6-rc: info: service legacy-services successfully started
[21:57:06] INFO: Starting mosquitto MQTT broker…
1692734226: Loading config file /share/mosquitto/bridge.conf
2023-08-22 21:57:06: Warning: Mosquitto should not be run as root/administrator.
[21:57:07] INFO: Successfully send discovery information to Home Assistant.
[21:57:07] INFO: Successfully send service information to the Supervisor.
ale pomysłu jak dodać drugie urządzenie dalej brak