J’essaye d’utiliser l’addon Maestro Gateway pour piloter / voir mon poele MCZ Ray mais je n’y arrive pas…
Ci dessous les logs :
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[23:45:41] INFO: Launching maestro local connection plugin
Starting Maestrogateway.
Systemd is not available. This is the case on docker alpine images and on windows machines
2023-02-01 23:45:43,094 :: __main__ :: INFO :: Starting Maestro Daemon
Reading config from envionment variables
2023-02-01 23:45:43,097 :: __main__ :: INFO :: Connection in progress to the MQTT broker (IP:mqtt://core-mosquitto PORT:1883)
mqtt authentication enabled`Texte préformaté`
Non je suis resté en False
Si j’ai bien compris ce paramètre permet de coisir si on fonctionne en local (solution de Chibald’ ) ou avec l’API de MCZ (solution de Pipolaq’s cloud connection script )
Dans mon cas si j’ai le choix je préfère rester en local mais je comprends pas bien toutes les implications de ce choix
Oui j’ai Mosquitto broker qui fonctionne (avec Zigbee2Mqtt), apres je ne suis pas très à l’aise avec les config donc j’ai pu faire des erreurs.
Mais en lisant les logs ca me donne plus l’impression qu’il me manque des modules ou un truc du genre
:
Starting Maestrogateway.
Systemd is not available. This is the case on docker alpine images and on windows machines
En fait j’ai pas installé docker, je suis sur Home Assistant OS et pour l’instant j’ai tout géré avec les addon disponible… mais je me demande si ca ne m’oblige pas à tout revoir
Non je ne suis pas allé plus loin… Je me suis pas lancé dans une ré installation complète de home assistant.
Par contre si tu arrives a faire quelques chose je suis très intéressé !
Maintenant les logs d’erreur vont un peu plus loin mais ca ne fonctionne toujours pas.
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
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
[22:28:55] INFO: Launching maestro local connection plugin
Starting Maestrogateway.
Systemd is not available. This is the case on docker alpine images and on windows machines
2023-11-08 22:28:55,675 :: __main__ :: INFO :: Starting Maestro Daemon
Reading config from envionment variables
2023-11-08 22:28:55,677 :: __main__ :: INFO :: Connection in progress to the MQTT broker (IP:core-mosquitto PORT:1883)
mqtt authentication enabled
2023-11-08 22:28:55,687 :: __main__ :: INFO :: MQTT: Subscribed to topic "Maestro/Command#"
Traceback (most recent call last):
File "/maestro/local/maestro.py", line 284, in <module>
start_mqtt()
File "/maestro/local/maestro.py", line 222, in start_mqtt
client.subscribe(_MQTT_TOPIC_SUB+'#', qos=1)
File "/usr/local/lib/python3.11/site-packages/paho/mqtt/client.py", line 1491, in subscribe
raise ValueError('Invalid subscription filter.')
ValueError: Invalid subscription filter.
2023-11-08 22:28:55,699 :: __main__ :: INFO :: MQTT: Connected to broker. 0
il y a toujours le problème de
Systemd is not available. This is the case on docker alpine images and on windows machines
mais finalement je ne suis pas sur que ce soit bloquant…
Par contre la fin du log me fait plus penser à un problèe de configuration de mon broker mqtt… Des avis ?