Zigbee2Mqtt sur freebox delta

Bonjour bonjour,

je m’excuse par avance de la longueur du message :confused:

Je n’arrive pas à configurer Zigbee2Mqtt sur HA_OS de ma Freebox Delta

*J’ai suivi ce tutoriel : zigbee2mqtt-config
l’installation de MQTT avec Mosquitto-MQTT fonctionne bien, démarre sans erreur

l’installation de Zigbee2Mqtt se passe moins bien.

  • j’ai du flasher ma sonoff dongle-E pour pouvoir la configurer en mode ember
  • un fois flashée, zigbee2Mqtt démarre, mais s’arrête sans message d’erreur. cf log ci dessous :

config mosquitto-mqtt :

logins: []
require_certificate: false
certfile: fullchain.pem
keyfile: privkey.pem
customize:
  active: false
  folder: mosquitto

log mosquito :

[15:29:23] INFO: Starting NGINX for authentication handling...
s6-rc: info: service legacy-services successfully started
[15:29:24] INFO: Starting mosquitto MQTT broker...
2024-12-24 15:29:24: mosquitto version 2.0.18 starting
2024-12-24 15:29:24: Config loaded from /etc/mosquitto/mosquitto.conf.
2024-12-24 15:29:24: Loading plugin: /usr/share/mosquitto/go-auth.so
2024-12-24 15:29:24: Warning: Mosquitto should not be run as root/administrator.
2024-12-24 15:29:24:  ├── Username/password checking enabled.
2024-12-24 15:29:24:  ├── TLS-PSK checking enabled.
2024-12-24 15:29:24:  └── Extended authentication not enabled.
2024-12-24 15:29:24: Opening ipv4 listen socket on port 1883.
2024-12-24 15:29:24: Opening ipv6 listen socket on port 1883.
2024-12-24 15:29:24: Opening websockets listen socket on port 1884.
2024-12-24 15:29:24: mosquitto version 2.0.18 running
2024-12-24 15:29:25: New connection from ::1:46422 on port 1883.
2024-12-24 15:29:25: Client <unknown> disconnected due to protocol error.
[15:29:26] INFO: Successfully send discovery information to Home Assistant.
[15:29:27] INFO: Successfully send service information to the Supervisor.
2024-12-24 15:29:34: New connection from 172.30.32.1:48339 on port 1883.
2024-12-24 15:29:34: Client 3qcD9eoMMaDaC3Ndn3NWB4 disconnected, not authorised.
2024-12-24 15:29:35: New connection from 172.30.32.1:46243 on port 1883.
2024-12-24 15:29:35: New client connected from 172.30.32.1:46243 as 7jLBJDfvwUtcdcNoudLQVU (p2, c1, k60, u'homeassistant').
2024-12-24 15:29:36: Client 7jLBJDfvwUtcdcNoudLQVU disconnected.
2024-12-24 15:29:36: New connection from 172.30.32.1:57437 on port 1883.
2024-12-24 15:29:36: New client connected from 172.30.32.1:57437 as 3PYjwzrjGccjPC1C1Jznkx (p2, c1, k60, u'homeassistant').
2024-12-24 15:29:36: Client 3PYjwzrjGccjPC1C1Jznkx disconnected.
2024-12-24 15:29:36: New connection from 172.30.32.1:59649 on port 1883.
2024-12-24 15:29:36: New client connected from 172.30.32.1:59649 as 5BWFQ8PBrZ9Z4IExfkrcWf (p2, c1, k60, u'homeassistant').
time="2024-12-24T15:29:42+01:00" level=error msg="POST error: Post \"http://127.0.0.1:80/superuser\": EOF"
2024-12-24 15:30:05: New connection from 172.30.32.2:33722 on port 1883.
2024-12-24 15:30:05: Client <unknown> closed its connection.
2024-12-24 15:32:05: New connection from 172.30.32.2:51404 on port 1883.
2024-12-24 15:32:05: Client <unknown> closed its connection.
2024-12-24 15:33:31: New connection from 172.30.32.1:43169 on port 1883.
2024-12-24 15:33:31: New client connected from 172.30.32.1:43169 as 2sdAOsa71GQVoJ7Nl7Bgtk (p2, c1, k60, u'mqtt').
2024-12-24 15:33:36: Client 2sdAOsa71GQVoJ7Nl7Bgtk disconnected.
2024-12-24 15:33:56: New connection from 172.30.32.1:33783 on port 1883.
2024-12-24 15:33:56: New client connected from 172.30.32.1:33783 as 707bBsg7hxO7AFp4sy0ep8 (p2, c1, k60, u'homeassistant').
2024-12-24 15:33:56: Client 707bBsg7hxO7AFp4sy0ep8 disconnected.

config Z2M :

data_path: /config/zigbee2mqtt
socat:
  enabled: false
  master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
  slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
  options: "-d -d"
  log: false
mqtt:
  server: mqtt://core-mosquitto:1883
  user: mqtt
  password: mqtt
serial:
  port: >-
    /dev/serial/by-id/usb-Itead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_V2_42a4f4908739ef119eb753f454516304-if00-port0
  adapter: ember

log Z2M :

Starting Zigbee2MQTT without watchdog.
[15:35:28] INFO: Preparing to start...
[15:35:28] INFO: Socat not enabled
[15:35:28] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[15:35:45] INFO: Preparing to start...
[15:35:45] INFO: Socat not enabled
[15:35:46] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[15:36:02] INFO: Preparing to start...
[15:36:02] INFO: Socat not enabled
[15:36:02] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[15:36:19] INFO: Preparing to start...
[15:36:19] INFO: Socat not enabled
[15:36:20] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[15:36:37] INFO: Preparing to start...
[15:36:37] INFO: Socat not enabled
[15:36:37] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[15:37:41] INFO: Preparing to start...
[15:37:42] INFO: Socat not enabled
[15:37:42] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[2024-12-24 15:37:51] info: 	z2m: Logging to console, file (filename: log.log)
[2024-12-24 15:37:51] info: 	z2m: Starting Zigbee2MQTT version 1.42.0 (commit #unknown)
[2024-12-24 15:37:51] info: 	z2m: Starting zigbee-herdsman (2.1.9)
[2024-12-24 15:37:54] info: 	zh:ember: Using default stack config.
[2024-12-24 15:37:54] info: 	zh:ember: ======== Ember Adapter Starting ========
[2024-12-24 15:37:54] info: 	zh:ember:ezsp: ======== EZSP starting ========
[2024-12-24 15:37:54] info: 	zh:ember:uart:ash: ======== ASH Adapter reset ========
[2024-12-24 15:37:54] info: 	zh:ember:uart:ash: RTS/CTS config is off, enabling software flow control.
[2024-12-24 15:37:54] info: 	zh:ember:uart:ash: Serial port opened
[2024-12-24 15:37:54] info: 	zh:ember:uart:ash: ======== ASH starting ========
[2024-12-24 15:37:55] info: 	zh:ember:uart:ash: ======== ASH connected ========

Au final mon service ne tourne pas et j’ai aussi des 502 : bad gateway sur le Z2M

j’ai essayé avec et sans user mqtt, ça n’a pas changé grand chose
*

Ma configuration


[center]## System Information

version core-2024.12.5
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.13.0
os_name Linux
os_version 6.6.66-haos
arch aarch64
timezone Europe/Paris
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
HACS Data ok
GitHub API Calls Remaining 5000
Installed Version 2.0.1
Stage running
Available Repositories 1556
Downloaded Repositories 4
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 14.1
update_channel stable
supervisor_version supervisor-2024.12.0
agent_version 1.6.0
docker_version 27.2.0
disk_total 29.8 GB
disk_used 6.0 GB
healthy true
supported true
host_connectivity true
supervisor_connectivity true
ntp_synchronized true
virtualization kvm
board generic-aarch64
supervisor_api ok
version_api ok
installed_addons Advanced SSH & Web Terminal (19.0.0), File editor (5.8.0), Let’s Encrypt (5.2.10), Mosquitto broker (6.4.1), Zigbee2MQTT (1.42.0-2)
Dashboards
dashboards 3
resources 0
views 2
mode storage
Recorder
oldest_recorder_run 12 décembre 2024 à 19:50
current_recorder_run 24 décembre 2024 à 15:22
estimated_db_size 234.51 MiB
database_engine sqlite
database_version 3.45.3
[/center]

Merci d’avance pour votre aide

Hello,

Bon pour le moment je pars sur ZHA Zigbee Home Assistant, et la découvert fonctionne très bien, je verrai plus tard l’avantage de passer sur Z2M … Ou pas :joy:

A +
:raising_hand_man:

deja réfléchis a remplacer ton hardware la DELTA est vraiment pas au top pour se faire une box HA sérieuse, plus la pérénité pour un produit qui ne t’appartient pas

2 « J'aime »

Salut @ddfdom ,

je m’attendais à cette réponse si jamais tu passais sur mon message vu les retours que tu avais fait par le passé sur le forum :wink:

Pour ce que je teste en ce moment, franchement, c’est pas si mal la freebox delta, ça me permet de lancer tout ce que je veux, et ça ne consomme rien de plus, vu que la box tourne par défaut.
Le coté pénible c’est d’ajouter des clés comme zigbee, on est assez rapidement au bout, mais vu que la sonoff est multiprotocol, ça peut aussi passer pendant un long moment.

Pour le moment, je gère :

  • Consommation solaire
  • Gestion du chauffe eau
  • Alarme
  • Et là j’ajoute Versatyl Thermostat et gestion des radiateurs

J’ai tout de même commencé de regarder vers quel type migrer sur les autres post comme un PI 4 ou 5 ou un intel NUC .

Mais ce sera à faire par la suite :slight_smile:

Merci en tout cas pour les conseils que tu donnes sur le forum, ça m’a bien servi :wink:

Tu as boosté la ram de ta delta
Car c’est surtout la que ça pêche

Une dernière chose oublies aussi le multiprotocol c’est abandonné côté HA et ça n’a de toute façon eu que le statut expérimental

1 « J'aime »

Je n’ai qu’une VM sur la Delta et 2 Go pour HA

Et le multiprtocol j’ai lu que c’était c’était décrié,

Donc la prochaine étape sera sûrement de migrer en récupérant ma config, a voir pour le début d’année prochaine en février ou mars si tout fonctionne bien comme je le veux :wink:

Ah oui 2 Go c’est très limite