Aqara W100 sensor/thermostat — temperature and humidity sensor Zigbee Matter Thread

Hello, has anyone already used this sensor
https://www.domadoo.fr/fr/devices-matter/7852-aqara-capteur-de-temperature-et-humidite-zigbee-matter-thread-6975833357260.html

I have basic electric radiators with a dial to adjust the temperature.
This dial is the weak point: there are intermittent contacts and over time the radiator (thermostat) stops working.

I also have contact sensors on my windows that cut the radiators’ power supply if the window is open.

The problem is that the new radiators with digital displays lose their settings when the power is cut.

So I was thinking of bypassing the thermostat of my old radiator and connecting it to a Nodon switch
https://www.domadoo.fr/fr/peripheriques/5688-nodon-micromodule-commutateur-multifonctions-zigbee-16a-3700313925188.html

and then pairing it with the AQARA W100 CLIMATE so the user can set the desired temperature in the room with it.

So if anyone has already tested it, I’d appreciate their feedback.

I saw it on YouTube — that sensor looks insane!

If nobody has it yet, don’t hesitate to get it, we’ll help you in any case to fully integrate it :slight_smile:

Okay, it’s ordered.

1 Like

It’s Matter/Thread compatible but I don’t have a Matter dongle
So I tried to connect it via Zigbee by starting pairing on zigbee2MQTT
nothing happened.
You have to download the Aqara Home app on your phone (so Android or Mac required once again), create an account, allow Bluetooth and Wi‑Fi, the device is detected, it is configured in Matter. To switch it to Zigbee, the phone transmits the firmware to the device and after that zigbee2MQTT works (well, almost)

And it does not appear in Gladys under « Zigbee network discovery »

Hi @bjm,

Thanks for your feedback! :slightly_smiling_face:

I see that Zigbee2MQTT shows « Not supported »: this means the device is not yet recognized by the current version of Zigbee2MQTT you are using.

According to the Zigbee2mqtt documentation, this device was added very recently to Zigbee2MQTT (about two weeks ago). I imagine you are using the version integrated into Gladys, without having started Zigbee2MQTT manually?

In Gladys, we use a specific, stable version of Zigbee2MQTT. This choice helps avoid unpleasant surprises that an unstable update could cause across users’ installations :slightly_smiling_face:

In early 2025 a major update of Zigbee2MQTT was released, but we have not migrated to that version yet. It had some initial instabilities, and I prefer to wait a bit longer before deploying it at scale in Gladys.

You therefore have two options:

  • Wait for Gladys to move to the new version of Zigbee2MQTT.
  • Or, run Zigbee2MQTT yourself in manual mode, to use the most recent version.

Don’t hesitate if you need help with that!

So I created an External Converter
I had already made one for a watering scheduler but I had found it all done in Home Assistant and I no longer remembered very well how to do it so I found this link

So I put this:


This allowed it to be registered on Gladys

However, the battery is still at 0% and I couldn’t configure the action button.

It also seems to me that the values sent by the sensor are a bit high. I can adjust that with Zigbee2MQTT’s « Temperature calibration », but that does not change the display on the device.
Moreover, the temperature change does not appear quickly on Zigbee2MQTT.

Afterwards I’m wondering about buying
https://www.domadoo.fr/fr/dongle-zigbee/6868-phoscon-passerelle-universelle-zigbee-30-usb-matter-bluetooth-4260350821366.html
to move to Matter but apparently it’s still too early — the firmware has not been released.

2 Likes

Thanks @pierre-gilles, I hadn’t seen your reply.
I’ll try running Zigbee2MQTT in manual mode.
Do you have the procedure?

Hello @bjm
I don’t know what kind of machine you’re running your containers on, so I’ll give you what I have at home (currently on z2m 2.2.1).
For your W100 to be recognized you need the latest version of z2m, namely 2.3.0 (first New Supported Devices TH-S04D)
However, if you upgrade Gladys (1.4.2), there may be some potential issues as @pierre-gilles mentioned.
I had started a post about this with a log of my upgrades.

So I use docker-compose as much as possible on my Synology NAS, and when I can I use Portainer (a bit easier to manage, I find).
Here’s the code you can use:

version: "3.8"
services:
  zigbee2mqtt:
# current Gladys version
#    image: koenkk/zigbee2mqtt:1.42.0
# current z2m version
    image: koenkk/zigbee2mqtt:2.3.0
    container_name: zigbee2mqtt
    restart: unless-stopped
    environment:
      - PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
      - NODE_ENV=production
      - TZ=Europe/Berlin
    volumes:
      - ./data:/app/data:rw
      - /run/udev:/run/udev:ro
#    ports:
#      - 12000:12000
    network_mode: host

volumes:
  data:

I’m less comfortable running a docker run :frowning:

EDIT: don’t forget to make a backup so you can roll back if there’s a problem!

Thanks @mutmut

I’m on a Gladys mini PC installed via Docker
zigbee2mqtt installed via Gladys

I connect to Gladys via SSH
and move to the directory
cd /var/lib/gladysassistant/

I make a copy of the zigbee2mqtt folder
sudo cp -r zigbee2mqtt zigbee2mqtt.back

I stop the zigbee2mqtt docker
sudo docker stop gladys-z2m-zigbee2mqtt

I check
sudo docker ps -a

According to the doc Docker | Zigbee2MQTT
I download image 2.3.0

sudo docker pull ghcr.io/koenkk/zigbee2mqtt:2.3.0

Then I delete the zigbee2mqtt docker
sudo docker rm -f gladys-z2m-zigbee2mqtt

I remove the old z2m folder
rm -r z2m

I create the new zigbee2mqtt docker

sudo docker run \
   --name gladys-z2m-zigbee2mqtt \
   --restart=unless-stopped \
   --network=host \
   --device=/dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0018ED3DDF-if00:/dev/ttyACM0 \
   -p 8080:8080 \
   -v /var/lib/gladysassistant/zigbee2mqtt:/app/data \
   -v /run/udev:/run/udev:ro \
   -e TZ=Europe/Paris \
   ghcr.io/koenkk/zigbee2mqtt:2.3.0

I get the following message:

WARNING: Published ports are discarded when using host network mode
docker: Error response from daemon: error gathering device information while adding custom device « /dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0018ED3DDF-if00 »: no such file or directory

the docker was not created, I modify the command and retry with

sudo docker run \
   --name gladys-z2m-zigbee2mqtt \
   --restart=unless-stopped \
   -p 8080:8080 \
   -v /var/lib/gladysassistant/zigbee2mqtt/z2m:/app/data \
   -v /run/udev:/run/udev:ro \
   -e TZ=Europe/Paris \
   ghcr.io/koenkk/zigbee2mqtt:2.3.0

That worked.
I go into the z2m folder
cd /var/lib/gladysassistant/zigbee2mqtt/z2m

I delete the new configuration.yaml file
sudo rm -r configuration.yaml

and I restore the original z2m files that I had copied into the .back folder
sudo cp -r /var/lib/gladysassistant/zigbee2mqtt.back/z2m /var/lib/gladysassistant/zigbee2mqtt

But it doesn’t work: the docker restarts every minute.

I stop
sudo docker stop gladys-z2m-zigbee2mqtt

In my opinion the commands to install the gladys-z2m-zigbee2mqtt docker are not correct.

EDIT:
I hadn’t seen this information; I don’t know if it appeared when I filled in the configuration on the page http://gladys:8080/

sudo docker run \
   --name gladys-z2m-zigbee2mqtt \
   --restart=unless-stopped \
   -p 8080:8080 \
   -v /var/lib/gladysassistant/zigbee2mqtt/z2m:/app/data \
   -v /run/udev:/run/udev:ro \
   -e TZ=Europe/Paris \
   ghcr.io/koenkk/zigbee2mqtt:2.3.0
Using '/app/data' as data directory
Starting Zigbee2MQTT without watchdog.
Onboarding page is available at http://0.0.0.0:8080/
{"homeassistant":{"enabled":false,"discovery_topic":"homeassistant","status_topic":"homeassistant/status","legacy_action_sensor":false,"experimental_event_entities":false},"availability":{"enabled":false,"active":{"timeout":10,"max_jitter":30000,"backoff":true,"pause_on_backoff_gt":0},"passive":{"timeout":1500}},"frontend":{"enabled":false,"port":8080,"base_url":"/"},"mqtt":{"base_topic":"zigbee2mqtt","include_device_information":false,"force_disable_retain":false,"maximum_packet_size":1048576,"server":"mqtt://localhost:1883"},"serial":{"disable_led":false},"passlist":[],"blocklist":[],"map_options":{"graphviz":{"colors":{"fill":{"enddevice":"#fff8ce","coordinator":"#e04e5d","router":"#4ea3e0"},"font":{"coordinator":"#ffffff","router":"#ffffff","enddevice":"#000000"},"line":{"active":"#009900","inactive":"#994444"}}}},"ota":{"update_check_interval":1440,"disable_automatic_update_check":false,"image_block_response_delay":250,"default_maximum_data_size":50},"device_options":{},"advanced":{"log_rotation":true,"log_console_json":false,"log_symlink_current":false,"log_output":["console","file"],"log_directory":"/app/data/log/%TIMESTAMP%","log_file":"log.log","log_level":"info","log_namespaced_levels":{},"log_syslog":{},"log_debug_to_mqtt_frontend":false,"log_debug_namespace_ignore":"","log_directories_to_keep":10,"pan_id":"GENERATE","ext_pan_id":"GENERATE","channel":11,"cache_state":true,"cache_state_persistent":true,"cache_state_send_on_startup":true,"last_seen":"disable","elapsed":false,"network_key":"GENERATE","timestamp_format":"YYYY-MM-DD HH:mm:ss","output":"json"},"version":4,"devices":{},"groups":{}}
{"serial_port":"/dev/ttyUSB0","serial_adapter":"zstack","serial_baudrate":"115200","network_channel":"11","network_key":"GENERATE","network_pan_id":"GENERATE","network_ext_pan_id":"GENERATE","mqtt_base_topic":"zigbee2mqtt","mqtt_server":"mqtt://localhost:1884","mqtt_user":"gladys","mqtt_password":"6............................o","frontend_port":"8080","log_level":"info"}
[2025-05-17 19:09:06] info: 	z2m: Logging to console, file (filename: log.log)
[2025-05-17 19:09:06] info: 	z2m: Starting Zigbee2MQTT version 2.3.0 (commit #aec59cb774aa09a793ae41cd60e6a5cef15b293c
)
[2025-05-17 19:09:06] info: 	z2m: Starting zigbee-herdsman (4.0.0)
[2025-05-17 19:09:06] info: 	zh:adapter:discovery: Matched adapter: {"path":"/dev/ttyUSB0","manufacturer":"1a86","serialNumber":"971207DO","pnpId":"usb-1a86_TubesZB_971207DO-if00-port0","vendorId":"1a86","productId":"7523"} => zstack: 3
[2025-05-17 19:09:06] info: 	zh:zstack:znp: Opening SerialPort with {"path":"/dev/ttyUSB0","baudRate":115200,"rtscts":false,"autoOpen":false}
[2025-05-17 19:09:06] error: 	z2m: Error while starting zigbee-herdsman
[2025-05-17 19:09:06] error: 	z2m: Failed to start zigbee-herdsman
[2025-05-17 19:09:06] error: 	z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start_crashes-runtime.html for possible solutions
[2025-05-17 19:09:06] error: 	z2m: Exiting...
[2025-05-17 19:09:06] error: 	z2m: Error: Error: No such file or directory, cannot open /dev/ttyUSB0

I reinstalled 1.42.0 via Gladys while waiting for your feedback.
@pierre-gilles @mutmut
however I have this error now

2025-05-17 20:35:16z2m: Failed to write state to '/app/data/state.json' (Error: ENOENT: no such file or directory, open '/app/data/state.json')

the guys from z2m told me that if z2m doesn’t access the zone key, Docker restarts non-stop.

In my opinion you should have kept the configuration.yaml and just modified a few lines if needed.

and I think you need to add the line with the USB key in your docker run.

Otherwise overall the procedure is fine.

For the message in z2m, you should check

FYI, I just made a copy of the z2m repo and launched the new version, and it upgraded all the files.

So you didn’t delete your configuration.yaml and other files.

It does exist, I launched a restore via Gladys + I’ll see if it still shows up.

In the original configuration, it’s Gladys that sends this information; if it’s hard-coded it can no longer be modified.

I tried again using this

I did not delete the z2m folder

sudo docker run \
   --name gladys-z2m-zigbee2mqtt \
   --restart=unless-stopped \
   --device=/dev/serial/by-id/usb-1a86_TubesZB_971207DO-if00-port0:/dev/ttyUSB0 \
   -p 8080:8080 \
   -v /var/lib/gladysassistant/zigbee2mqtt/z2m:/app/data \
   -v /run/udev:/run/udev:ro \
   -e TZ=Europe/Paris \
   ghcr.io/koenkk/zigbee2mqtt:2.3.0

Result: there was indeed an update to the files but also errors.
And once again the docker restarts.

Using '/app/data' as data directory
Starting Zigbee2MQTT without watchdog.
Migration notes written in /app/data/migration-1-to-2.log
Migration notes written in /app/data/migration-2-to-3.log
Migration notes written in /app/data/migration-3-to-4.log
[2025-05-17 21:40:10] info: 	z2m: Logging to console, file (filename: log.log)
[2025-05-17 21:40:10] info: 	z2m: Starting Zigbee2MQTT version 2.3.0 (commit #aec59cb774aa09a793ae41cd60e6a5cef15b293c
)
[2025-05-17 21:40:10] info: 	z2m: Starting zigbee-herdsman (4.0.0)
[2025-05-17 21:40:10] error: 	z2m: Error while starting zigbee-herdsman
[2025-05-17 21:40:10] error: 	z2m: Failed to start zigbee-herdsman
[2025-05-17 21:40:10] error: 	z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start_crashes-runtime.html for possible solutions
[2025-05-17 21:40:10] error: 	z2m: Exiting...
[2025-05-17 21:40:10] error: 	z2m: Error: USB adapter discovery error (No valid USB adapter found). Specify valid 'adapter' and 'port' in your configuration.
    at discoverAdapter (/app/node_modules/.pnpm/zigbee-herdsman@4.0.0/node_modules/zigbee-herdsman/src/adapter/adapterDiscovery.ts:589:15)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at Function.create (/app/node_modules/.pnpm/zigbee-herdsman@4.0.0/node_modules/zigbee-herdsman/src/adapter/adapter.ts:53:33)
    at Controller.start (/app/node_modules/.pnpm/zigbee-herdsman@4.0.0/node_modules/zigbee-herdsman/src/controller/controller.ts:129:24)
    at Zigbee.start (/app/lib/zigbee.ts:70:27)
    at Controller.start (/app/lib/controller.ts:104:13)
    at start (/app/index.js:149:5)
[2025-05-17 21:40:10] error: 	z2m: If this happens after updating to Zigbee2MQTT 2.0.0, see https://github.com/Koenkk/zigbee2mqtt/discussions/24364

Back to 1.42.0

There may be an answer here

Which Zigbee dongle do you have? (brand, model, chipset)
There’s a good chance you’re in the situation described by the link you mentioned.

Tube’s Zigbee Store

Order Summary

Item Desc


CC2652P2 based Zigbee to Ethernet/USB Serial Coordinator

Variante: No Ethernet - connects over USB only

Case Color: Black

so you need to add the adapter line in your z2m 2.3.0 configuration.yaml and that should solve the problem.

Donc j’ai avancé un peu.
Mon fichier configuration.yaml

homeassistant: false
permit_join: false
mqtt:
  base_topic: zigbee2mqtt
  server: mqtt://localhost:1884
  user: gladys
  password: 6--------------------------o
serial:
    adapter: zstack
    port: /dev/ttyACM0
frontend:
  port: 8080
map_options:
  graphviz:
    colors:
      fill:
        enddevice: '#fff8ce'
        coordinator: '#e04e5d'
        router: '#4ea3e0'
      font:
        coordinator: '#ffffff'
        router: '#ffffff'
        enddevice: '#000000'
      line:
        active: '#009900'
        inactive: '#994444'                                                            
advanced:
  homeassistant_legacy_entity_attributes: false
  homeassistant_legacy_triggers: false
  legacy_api: false
  legacy_availability_payload: false
  log_level: info
device_options:
  legacy: false
devices:
  '0x00158d0001ae7bf7':
    friendly_name: Bouton Xiaomi
  '0x00158d0001b8fe12':
    friendly_name: Prise Xiaomi
  '0x00124b0024c239da':
    friendly_name: Commutateur porte SdB
  '0x00158d0001b1bf2b':
    friendly_name: Overture Porte entrée Privé
  '0x00158d0001abd7ba':
    friendly_name: Détecteur mouvements Xiaomi
  '0x0015bc003101140b':
    friendly_name: Détecteur Fumé Petit Couloir
  '0x0015bc0031011737':
    friendly_name: Détecteur Fumé Escalier 2 eme Étage
  '0x0015bc0031012018':
    friendly_name: Détecteur Fumé Couloir Chambre RDC
  '0x3c6a2cfffed1f913':
    friendly_name: Congel Grenier Privé
  '0x00124b00251f1fad':
    friendly_name: Température Orly
  '0xa4c138e2237bf96a':
    friendly_name: Prise Nous 15
  '0xdc8e95fffe95710c':
    friendly_name: Repetteur Entrée Auberge
  '0x9035eafffed8d3da':
    friendly_name: Lumière-central-kitchenette
  '0x94b216fffee6639a':
    friendly_name: multiprises-tableau
  '0x286847fffe8b959e':
    friendly_name: détecteur-présence-entrée
  '0xa4c138645242b755':
    friendly_name: Ampoule-Entrée-Auberge
  '0x94b216fffe2699fb':
    friendly_name: Intérupteur-Lumière-Kitchenette
  '0x44e2f8fffe174cae':
    friendly_name: Spot-kitchenette
  '0x08ddebfffeaa6ad0':
    friendly_name: Chauffe-eau
  '0x54ef441001263f08':
    friendly_name: thermostat-radiateur-sb-chambre-6
external_converters:
  - TS0601.js
  - TH-S04E.js
blocklist: []

le docker run

sudo docker run \
   --name gladys-z2m-zigbee2mqtt \
   --restart=unless-stopped \
   --device=/dev/serial/by-id/usb-1a86_TubesZB_971207DO-if00-port0 \
   -p 8080:8080 \
   -v /var/lib/gladysassistant/zigbee2mqtt/z2m:/app/data \
   -v /run/udev:/run/udev:ro \
   -e TZ=Europe/Paris \
   ghcr.io/koenkk/zigbee2mqtt:2.3.0

La réponse:

Using '/app/data' as data directory
Starting Zigbee2MQTT without watchdog.
[2025-05-18 22:22:36] info: 	z2m: Logging to console, file (filename: log.log)
[2025-05-18 22:22:36] info: 	z2m: Starting Zigbee2MQTT version 2.3.0 (commit #aec59cb774aa09a793ae41cd60e6a5cef15b293c
)
[2025-05-18 22:22:36] info: 	z2m: Starting zigbee-herdsman (4.0.0)
[2025-05-18 22:22:37] info: 	zh:zstack:znp: Opening SerialPort with {"path":"/dev/serial/by-id/usb-1a86_TubesZB_971207DO-if00-port0","baudRate":115200,"rtscts":false,"autoOpen":false}
[2025-05-18 22:22:37] info: 	zh:zstack:znp: Serialport opened
[2025-05-18 22:22:37] info: 	zh:zstack:znp: Writing CC2530/CC2531 skip bootloader payload
[2025-05-18 22:22:38] info: 	zh:zstack:znp: Skip bootloader for CC2652/CC1352
[2025-05-18 22:22:49] info: 	z2m: zigbee-herdsman started (resumed)
[2025-05-18 22:22:49] info: 	z2m: Coordinator firmware version: '{"meta":{"maintrel":1,"majorrel":2,"minorrel":7,"product":1,"revision":20220219,"transportrev":2},"type":"ZStack3x0"}'
[2025-05-18 22:22:49] info: 	z2m: Prise Xiaomi (0x00158d0001b8fe12): ZNCZ02LM - Xiaomi Mi smart plug (Router)
[2025-05-18 22:22:49] info: 	z2m: Bouton Xiaomi (0x00158d0001ae7bf7): WXKG01LM - Xiaomi Mi wireless switch (EndDevice)
[2025-05-18 22:22:49] info: 	z2m: Bouton Sonoff (0x00124b0023971d64): SNZB-01 - SONOFF Wireless button (EndDevice)
[2025-05-18 22:22:49] info: 	z2m: Commutateur porte SdB (0x00124b0024c239da): ZBMINI - SONOFF Zigbee two way smart switch (Router)
[2025-05-18 22:22:49] info: 	z2m: Overture Porte entrée Privé (0x00158d0001b1bf2b): MCCGQ01LM - Xiaomi Mi door and window sensor (EndDevice)
[2025-05-18 22:22:49] info: 	z2m: Détecteur mouvements Xiaomi (0x00158d0001abd7ba): RTCGQ01LM - Xiaomi Mi motion sensor (EndDevice)
[2025-05-18 22:22:49] info: 	z2m: Capteur Température Piscine (0x3c6a2cfffed15faa): THS317-ET - OWON Temperature sensor (EndDevice)
[2025-05-18 22:22:49] info: 	z2m: Prise Sonoff Z1 (0x00124b0024c05cf4): S26R2ZB - SONOFF Zigbee smart plug (Router)
[2025-05-18 22:22:49] info: 	z2m: Prise TV  (0x00124b00258a4aac): S26R2ZB - SONOFF Zigbee smart plug (Router)
[2025-05-18 22:22:49] info: 	z2m: Routeur Zigbee (0x00124b00216aca4a): CC2530.ROUTER - Custom devices (DiY) CC2530 router (Router)
[2025-05-18 22:22:49] info: 	z2m: Routeur Zigbee 2 (0x00124b0008b01e42): CC2530.ROUTER - Custom devices (DiY) CC2530 router (Router)
[2025-05-18 22:22:49] info: 	z2m: Routeur Zigbee 3 (0x00124b0005abe907): CC2530.ROUTER - Custom devices (DiY) CC2530 router (Router)
[2025-05-18 22:22:49] info: 	z2m: Frigo Blanc Cuisine (0x3c6a2cfffed1e0ad): THS317-ET - OWON Temperature sensor (EndDevice)
[2025-05-18 22:22:49] info: 	z2m: Frigo Gris Cuisine (0x3c6a2cfffed1e085): THS317-ET - OWON Temperature sensor (EndDevice)
[2025-05-18 22:22:49] info: 	z2m: Congel Cuisine (0x3c6a2cfffed1e015): THS317-ET - OWON Temperature sensor (EndDevice)
[2025-05-18 22:22:49] info: 	z2m: Congel Blanc Remise (0x3c6a2cfffed1e01b): THS317-ET - OWON Temperature sensor (EndDevice)
[2025-05-18 22:22:49] info: 	z2m: Frigo Livraison Remise (0x3c6a2cfffed1e05d): THS317-ET - OWON Temperature sensor (EndDevice)
[2025-05-18 22:22:49] info: 	z2m: Température chambe parent (0x00124b00251ef34a): SNZB-02 - SONOFF Temperature and humidity sensor (EndDevice)
[2025-05-18 22:22:49] info: 	z2m: Température chambe 5 (0x00124b00251cda3c): SNZB-02 - SONOFF Temperature and humidity sensor (EndDevice)
[2025-05-18 22:22:49] info: 	z2m: Température chambe 6 (0x00124b00251f1f8f): SNZB-02 - SONOFF Temperature and humidity sensor (EndDevice)
[2025-05-18 22:22:49] info: 	z2m: Détecteur Fumé couloir central 1er étage (0x0015bc0031011da7): SMSZB-120 - Develco Smoke detector with siren (EndDevice)
[2025-05-18 22:22:49] info: 	z2m: Prise Nous 1 (0xa4c138080d44a063): A1Z - Nous Smart plug (with power monitoring) (Router)
[2025-05-18 22:22:49] info: 	z2m: Prise Nous 2 (0xa4c13814a17a713d): A1Z - Nous Smart plug (with power monitoring) (Router)
[2025-05-18 22:22:49] info: 	z2m: Prise Nous 3 (0xa4c1389723178193): A1Z - Nous Smart plug (with power monitoring) (Router)
[2025-05-18 22:22:49] info: 	z2m: Prise Nous 4 (0xa4c1381a7f0cb02e): A1Z - Nous Smart plug (with power monitoring) (Router)
[2025-05-18 22:22:49] info: 	z2m: Détecteur Fumé Privé (0x0015bc0031012458): SMSZB-120 - Develco Smoke detector with siren (EndDevice)
[2025-05-18 22:22:49] info: 	z2m: Détecteur Fumé Petit Couloir (0x0015bc003101140b): SMSZB-120 - Develco Smoke detector with siren (EndDevice)
[2025-05-18 22:22:49] info: 	z2m: Détecteur Fumé Escalier 2 eme Étage (0x0015bc0031011737): SMSZB-120 - Develco Smoke detector with siren (EndDevice)
[2025-05-18 22:22:49] info: 	z2m: Détecteur Fumé Couloir Chambre RDC (0x0015bc0031012018): SMSZB-120 - Develco Smoke detector with siren (EndDevice)
[2025-05-18 22:22:49] info: 	z2m: Congel Grenier Privé (0x3c6a2cfffed1f913): THS317-ET - OWON Temperature sensor (EndDevice)
[2025-05-18 22:22:49] info: 	z2m: Température Orly (0x00124b00251f1fad): SNZB-02 - SONOFF Temperature and humidity sensor (EndDevice)
[2025-05-18 22:22:49] info: 	z2m: Température Entrée Marquise (0x00124b0025152334): SNZB-02 - SONOFF Temperature and humidity sensor (EndDevice)
[2025-05-18 22:22:49] info: 	z2m: Prise Nous 5 (0xa4c138b017add53f): A1Z - Nous Smart plug (with power monitoring) (Router)
[2025-05-18 22:22:49] info: 	z2m: Prise Nous 6 (0xa4c138915647025b): A1Z - Nous Smart plug (with power monitoring) (Router)
[2025-05-18 22:22:49] info: 	z2m: Prise Nous 7 (0xa4c138f02df29e3f): A1Z - Nous Smart plug (with power monitoring) (Router)
[2025-05-18 22:22:49] info: 	z2m: Prise Nous 8 (0xa4c1384bb3b567fb): A1Z - Nous Smart plug (with power monitoring) (Router)
[2025-05-18 22:22:49] info: 	z2m: Prise Nous 10 (0xa4c138e46e37e781): A1Z - Nous Smart plug (with power monitoring) (Router)
[2025-05-18 22:22:49] info: 	z2m: Prise Nous 9 (0xa4c138bc18b29c9f): A1Z - Nous Smart plug (with power monitoring) (Router)
[2025-05-18 22:22:49] info: 	z2m: Prise Nous 13 (0xa4c138025794843d): A1Z - Nous Smart plug (with power monitoring) (Router)
[2025-05-18 22:22:49] info: 	z2m: Prise Nous 12 (0xa4c1381bdcc4b436): A1Z - Nous Smart plug (with power monitoring) (Router)
[2025-05-18 22:22:49] info: 	z2m: Commutateur Cuisine Auberge (0x00124b0026b769de): ZBMINI-L - SONOFF Zigbee smart switch (no neutral) (EndDevice)
[2025-05-18 22:22:49] info: 	z2m: Détecteur humidité sol (0xa4c1384d17644837): TS0601_soil - Tuya Soil sensor (EndDevice)
[2025-05-18 22:22:49] info: 	z2m: Repetteur Salon 1er (0xe0798dfffee7e43c): WG001 - Aeotec Range extender Zi (Router)
[2025-05-18 22:22:49] info: 	z2m: Repetteur-fond-Grande-Salle (0xe0798dfffee43b95): WG001 - Aeotec Range extender Zi (Router)
[2025-05-18 22:22:49] info: 	z2m: Repetteur Zigbee-4 (0x8c65a3fffe5213f6): WG001 - Aeotec Range extender Zi (Router)
[2025-05-18 22:22:49] info: 	z2m: Repetteur Zigbee-5 (0x8c65a3fffe54c990): WG001 - Aeotec Range extender Zi (Router)
[2025-05-18 22:22:49] info: 	z2m: Prise Nous 11 (0xa4c138802e03adb8): A1Z - Nous Smart plug (with power monitoring) (Router)
[2025-05-18 22:22:49] info: 	z2m: spot-lumiere-piscine (0x9035eafffed8d698): SIN-4-1-20 - NodOn Multifunction relay switch (Router)
[2025-05-18 22:22:49] info: 	z2m: Arrosage (0xa4c138d3412e9403): Not supported (EndDevice)
[2025-05-18 22:22:49] info: 	z2m: Bouton Moes (0x7cc6b6fffe544035): Push_LE - Marmitek Smart switch (EndDevice)
[2025-05-18 22:22:49] info: 	z2m: Température Foyer Chaudière (0x3c6a2cfffed4a73a): THS317-ET - OWON Temperature sensor (EndDevice)
[2025-05-18 22:22:49] info: 	z2m: Prise Nous 14 (0xa4c1384dd8bad348): A1Z - Nous Smart plug (with power monitoring) (Router)
[2025-05-18 22:22:49] info: 	z2m: Prise Nous 15 (0xa4c138e2237bf96a): A1Z - Nous Smart plug (with power monitoring) (Router)
[2025-05-18 22:22:49] info: 	z2m: Repetteur Entrée Auberge (0xdc8e95fffe95710c): WG001 - Aeotec Range extender Zi (Router)
[2025-05-18 22:22:49] info: 	z2m: Lumière-central-kitchenette (0x9035eafffed8d3da): SIN-4-1-20 - NodOn Multifunction relay switch (Router)
[2025-05-18 22:22:49] info: 	z2m: multiprises-tableau (0x94b216fffee6639a): DZ - Nous DIN Switch (with power monitoring via polling) (Router)
[2025-05-18 22:22:49] info: 	z2m: détecteur-présence-entrée (0x286847fffe8b959e): ES1ZZ(TY) - Linptech mmWave Presence sensor (Router)
[2025-05-18 22:22:49] info: 	z2m: Ampoule-Entrée-Auberge (0xa4c138645242b755): P3Z - Nous Smart light bulb (Router)
[2025-05-18 22:22:49] info: 	z2m: Intérupteur-Lumière-Kitchenette (0x94b216fffe2699fb): Push_LO - Marmitek Smart switch (EndDevice)
[2025-05-18 22:22:49] info: 	z2m: Spot-kitchenette (0x44e2f8fffe174cae): ZBMINIL2 - SONOFF Zigbee smart switch (no neutral) (EndDevice)
[2025-05-18 22:22:49] info: 	z2m: Chauffe-eau (0x08ddebfffeaa6ad0): ZBMINIL2 - SONOFF Zigbee smart switch (no neutral) (EndDevice)
[2025-05-18 22:22:49] info: 	z2m: thermostat-radiateur-sb-chambre-6 (0x54ef441001263f08): TH-S04D - Aqara Climate Sensor W100 (EndDevice)
[2025-05-18 22:22:49] info: 	z2m: Currently 62 devices are joined.
[2025-05-18 22:22:49] info: 	z2m: Connecting to MQTT server at mqtt://localhost:1884
[2025-05-18 22:22:49] error: 	z2m: MQTT failed to connect, exiting... ()
[2025-05-18 22:22:49] info: 	z2m: Stopping zigbee-herdsman...
[2025-05-18 22:22:59] info: 	zh:controller: Wrote coordinator backup to '/app/data/coordinator_backup.json'
[2025-05-18 22:22:59] info: 	zh:zstack:znp: closing
[2025-05-18 22:22:59] info: 	zh:zstack:znp: Port closed
[2025-05-18 22:22:59] info: 	z2m: Stopped zigbee-herdsman

Il y a une erreur:
[2025-05-18 22:22:49] error: z2m: MQTT failed to connect, exiting... ()

Mon nouveau fichier configuration.yaml modifié par Zigbee2mqtt

homeassistant:
  enabled: false
mqtt:
  base_topic: zigbee2mqtt
  server: mqtt://localhost:1884
  user: gladys
  password: 6------------------o
serial:
  adapter: zstack
  port: /dev/serial/by-id/usb-1a86_TubesZB_971207DO-if00-port0
frontend:
  enabled: true
  port: 8080
map_options:
  graphviz:
    colors:
      fill:
        enddevice: '#fff8ce'
        coordinator: '#e04e5d'
        router: '#4ea3e0'
      font:
        coordinator: '#ffffff'
        router: '#ffffff'
        enddevice: '#000000'
      line:
        active: '#009900'
        inactive: '#994444'
device_options: {}
devices:
  '0x00158d0001ae7bf7':
    friendly_name: Bouton Xiaomi
    -----------------------------
    -----------------------------
    ----- Liste des devices -----
    -----------------------------
    -----------------------------
advanced:
  log_level: info
blocklist: []
version: 4
    

Dans advance les lignes concernant home assistant ont disparu.
et également external_converters:

Ce qui est normal voir ici

Donc redémarrage intempestif de zigbee2mqtt.
Certainement dû à la non connexion au serveur mqtt.

@bjm To allow the Zigbee2MQTT container to communicate with Mosquitto, you need to run it with the --network=host option and remove the manual port openings :slightly_smiling_face:

Currently, in your YAML configuration file, you indicate that Zigbee2MQTT should connect to Mosquitto via localhost. However, if Zigbee2MQTT is not on the same network as Mosquitto, localhost will not work, because they do not share the same network namespace.

As an example, here is how Gladys launches the Zigbee2MQTT container:

:backhand_index_pointing_right: Gladys/server/services/zigbee2mqtt/docker/gladys-z2m-zigbee2mqtt-container.json at master · GladysAssistant/Gladys · GitHub

Basically, with advice from @pierre-gilles, it would look like this :

sudo docker run \
   --name gladys-z2m-zigbee2mqtt \
   --restart=unless-stopped \
   --network=host \
   --device=/dev/serial/by-id/usb-1a86_TubesZB_971207DO-if00-port0 \
   -v /var/lib/gladysassistant/zigbee2mqtt/z2m:/app/data \
   -v /run/udev:/run/udev:ro \
   -e TZ=Europe/Paris \
   ghcr.io/koenkk/zigbee2mqtt:2.3.0
1 Like