# Zigbee2mqtt - services started but link shows a red cross

**URL:** <https://community.gladysassistant.com/t/zigbee2mqtt-services-demarres-mais-croix-rouge-pour-le-lien/7955>\
**Category:** Configuration\
**Created:** [February 10, 2023, 5:13pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-services-demarres-mais-croix-rouge-pour-le-lien/7955 "2023-02-10T17:13:57Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![Romuald\_Pochet](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/romuald_pochet/32/6441_2.png) [@Romuald\_Pochet](https://community.gladysassistant.com/u/Romuald_Pochet)\
**Post date:** [April 15, 2023, 7:02pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-services-demarres-mais-croix-rouge-pour-le-lien/7955/21 "2023-04-15T19:02:48Z")

</div>

Good evening,

Same problem with the ConBee II dongle: you need to set «&nbsp;adapter: deconz&nbsp;»

---

<div class="post-metadata">

**Author:** ![AlexTrovato](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/alextrovato/32/10705_2.png) [@AlexTrovato](https://community.gladysassistant.com/u/AlexTrovato)\
**Post date:** [May 3, 2023, 5:36pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-services-demarres-mais-croix-rouge-pour-le-lien/7955/22 "2023-05-03T17:36:39Z")

</div>

Hello,  
I finished the dev on the feature that allows setting the `adapter` configuration specific to certain dongles.  
Thus, depending on the selected dongle, the correct configuration is added to the zigbee2mqtt container.

A new line therefore appears on the USB port configuration page, where you will need to specify the dongle used (this step remains optional, and the list of dongles is not dynamic, and comes from [Supported Adapters | Zigbee2MQTT](https://www.zigbee2mqtt.io/guide/adapters/)).

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/1/182ebafd15a26ca29e69477b5ab14b32d984605c.png)

There is a Docker image available that includes this integration:

```auto
atrovato/gladys:zigbee2mqtt

```

With the same precautions as usual, prefer testing on an environment different from your production Gladys, make a database backup… Everything is explained here → [Tutorial: Run a test Docker image](https://community.gladysassistant.com/t/tutoriel-lancer-une-image-docker-de-test/8042)

* * *

@pierre-gilles the PR is ready here 😉 → [Z2m dongle configuration by atrovato · Pull Request #1769 · GladysAssistant/Gladys · GitHub](https://github.com/GladysAssistant/Gladys/pull/1769)

It includes a few changes that helped simplify the development of the enhancement:

- removal of actions.js for this part
- removal of the shell script that sets up the z2m configuration file (I think it’s the last one)

* * *

Thanks everyone.

---

<div class="post-metadata">

**Author:** ![guim31](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/guim31/32/4840_2.png) [@guim31](https://community.gladysassistant.com/u/guim31)\
**Post date:** [May 3, 2023, 5:48pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-services-demarres-mais-croix-rouge-pour-le-lien/7955/23 "2023-05-03T17:48:52Z")

</div>

Great job @AlexTrovato!!

I think this could unblock A LOT of people who’ve run into this problem and weren’t able to go any further

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [May 4, 2023, 4:13am UTC](https://community.gladysassistant.com/t/zigbee2mqtt-services-demarres-mais-croix-rouge-pour-le-lien/7955/24 "2023-05-04T04:13:49Z")

</div>

A big thank you for the development @AlexTrovato 🙏🙏

Indeed, since Domadoo now only sells the Sonoff-E, 100% of new users are faced with the problem and it’s a real barrier to adoption 😃

I’ll test it in real life and I’ll give you some feedback

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [May 5, 2023, 3:17am UTC](https://community.gladysassistant.com/t/zigbee2mqtt-services-demarres-mais-croix-rouge-pour-le-lien/7955/25 "2023-05-05T03:17:55Z")

</div>

@AlexTrovato I tested your PR live, it does the job 🙂 I have a few comments about the UI and found a small bug: [Z2m dongle configuration by atrovato · Pull Request #1769 · GladysAssistant/Gladys · GitHub](https://github.com/GladysAssistant/Gladys/pull/1769#pullrequestreview-1414131745)

---

<div class="post-metadata">

**Author:** ![AlexTrovato](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/alextrovato/32/10705_2.png) [@AlexTrovato](https://community.gladysassistant.com/u/AlexTrovato)\
**Post date:** [May 5, 2023, 4:32am UTC](https://community.gladysassistant.com/t/zigbee2mqtt-services-demarres-mais-croix-rouge-pour-le-lien/7955/26 "2023-05-05T04:32:27Z")

</div>

I’ve taken your comments into account @pierre-gilles:

- refresh button fixed
- placeholders added
- 2 new commits

I’ve rebased the branch onto master.  
Ready for re-review 😉

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [May 5, 2023, 4:45am UTC](https://community.gladysassistant.com/t/zigbee2mqtt-services-demarres-mais-croix-rouge-pour-le-lien/7955/27 "2023-05-05T04:45:35Z")

</div>

Quick! Did you rebuild the Docker image? I was testing on a real Pi.

---

<div class="post-metadata">

**Author:** ![AlexTrovato](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/alextrovato/32/10705_2.png) [@AlexTrovato](https://community.gladysassistant.com/u/AlexTrovato)\
**Post date:** [May 5, 2023, 5:04am UTC](https://community.gladysassistant.com/t/zigbee2mqtt-services-demarres-mais-croix-rouge-pour-le-lien/7955/28 "2023-05-05T05:04:38Z")

</div>

The image is being built… roughly speaking, expect it to take about an hour…

---

<div class="post-metadata">

**Author:** ![AlexTrovato](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/alextrovato/32/10705_2.png) [@AlexTrovato](https://community.gladysassistant.com/u/AlexTrovato)\
**Post date:** [May 5, 2023, 5:35am UTC](https://community.gladysassistant.com/t/zigbee2mqtt-services-demarres-mais-croix-rouge-pour-le-lien/7955/29 "2023-05-05T05:35:53Z")

</div>

@pierre-gilles the new image is ready!

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [May 5, 2023, 10:56am UTC](https://community.gladysassistant.com/t/zigbee2mqtt-services-demarres-mais-croix-rouge-pour-le-lien/7955/30 "2023-05-05T10:56:01Z")

</div>

@AlexTrovato I tested it, it’s much better! I just have one question and a bit of UX feedback that can be fixed in 5 seconds: [Z2m dongle configuration by atrovato · Pull Request #1769 · GladysAssistant/Gladys · GitHub](https://github.com/GladysAssistant/Gladys/pull/1769#pullrequestreview-1414573165)

---

<div class="post-metadata">

**Author:** ![AlexTrovato](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/alextrovato/32/10705_2.png) [@AlexTrovato](https://community.gladysassistant.com/u/AlexTrovato)\
**Post date:** [May 5, 2023, 1:14pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-services-demarres-mais-croix-rouge-pour-le-lien/7955/31 "2023-05-05T13:14:21Z")

</div>

I’ve answered your questions and fixed that UX issue (which we too often forget).

A new image (up to date with master) is available 😉

---

<div class="post-metadata">

**Author:** ![pascal\_sapin](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pascal_sapin/32/8958_2.png) [@pascal\_sapin](https://community.gladysassistant.com/u/pascal_sapin)\
**Post date:** [May 5, 2023, 4:36pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-services-demarres-mais-croix-rouge-pour-le-lien/7955/32 "2023-05-05T16:36:08Z")

</div>

Hello, quick question: my z2Mqttt services are started and are working, at least for the temperature and leak sensors, but I have a plug that no longer responds. Also, I can no longer access port 8080 — connection refused? Do you have any idea?

---

<div class="post-metadata">

**Author:** ![Kevin](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/kevin/32/6521_2.png) [@Kevin](https://community.gladysassistant.com/u/Kevin)\
**Post date:** [May 5, 2023, 6:22pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-services-demarres-mais-croix-rouge-pour-le-lien/7955/33 "2023-05-05T18:22:08Z")

</div>

Is the plug maybe too far from a «&nbsp;router&nbsp;»?

For the access issue, are you on the same local network? Have you tried, via SSH, restarting the service? →

```auto
docker restart gladys-z2m-zigbee2mqtt

```

---

<div class="post-metadata">

**Author:** ![pascal\_sapin](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pascal_sapin/32/8958_2.png) [@pascal\_sapin](https://community.gladysassistant.com/u/pascal_sapin)\
**Post date:** [May 5, 2023, 8:02pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-services-demarres-mais-croix-rouge-pour-le-lien/7955/34 "2023-05-05T20:02:19Z")

</div>

No, 3 months, and it had been working for quite a while.

---

<div class="post-metadata">

**Author:** ![pascal\_sapin](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pascal_sapin/32/8958_2.png) [@pascal\_sapin](https://community.gladysassistant.com/u/pascal_sapin)\
**Post date:** [May 6, 2023, 6:33pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-services-demarres-mais-croix-rouge-pour-le-lien/7955/35 "2023-05-06T18:33:59Z")

</div>

Two Zigbee plugs have stopped responding, and I can no longer access the Zigbee interface via port 8080. I don’t understand—everything seems OK on the Gladys side, but I get a message saying it doesn’t allow connections.

---

<div class="post-metadata">

**Author:** ![guim31](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/guim31/32/4840_2.png) [@guim31](https://community.gladysassistant.com/u/guim31)\
**Post date:** [May 6, 2023, 7:12pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-services-demarres-mais-croix-rouge-pour-le-lien/7955/36 "2023-05-06T19:12:52Z")

</div>

Could you provide more precise information if possible: where do you see this “connection refused” message? Can you send us a screenshot?

Do you know how to check the Gladys / Zigbee2mqtt logs? If so, please show them to us.

---

<div class="post-metadata">

**Author:** ![pascal\_sapin](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pascal_sapin/32/8958_2.png) [@pascal\_sapin](https://community.gladysassistant.com/u/pascal_sapin)\
**Post date:** [May 7, 2023, 6:03am UTC](https://community.gladysassistant.com/t/zigbee2mqtt-services-demarres-mais-croix-rouge-pour-le-lien/7955/37 "2023-05-07T06:03:54Z")

</div>

No, I don’t know how to view the logs, I know how to connect with PuTTY, but I don’t know the command for the logs ^^

---

<div class="post-metadata">

**Author:** ![pascal\_sapin](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pascal_sapin/32/8958_2.png) [@pascal\_sapin](https://community.gladysassistant.com/u/pascal_sapin)\
**Post date:** [May 7, 2023, 6:52am UTC](https://community.gladysassistant.com/t/zigbee2mqtt-services-demarres-mais-croix-rouge-pour-le-lien/7955/38 "2023-05-07T06:52:14Z")

</div>

Well, I’ve just tried everything — restarting Gladys, the dockers, etc., but nothing works; I still can’t access the Z2Mqtt interface: connection refused.

 ![Capture](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/0/0bc7cfc90b0531fc2870441a25ffe70c4ce7dae6.jpeg)

---

<div class="post-metadata">

**Author:** ![guim31](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/guim31/32/4840_2.png) [@guim31](https://community.gladysassistant.com/u/guim31)\
**Post date:** [May 7, 2023, 7:43am UTC](https://community.gladysassistant.com/t/zigbee2mqtt-services-demarres-mais-croix-rouge-pour-le-lien/7955/39 "2023-05-07T07:43:20Z")

</div>

We need to see the output of the command `docker logs gladys-z2m-zigbee2mqtt`

---

<div class="post-metadata">

**Author:** ![pascal\_sapin](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pascal_sapin/32/8958_2.png) [@pascal\_sapin](https://community.gladysassistant.com/u/pascal_sapin)\
**Post date:** [May 7, 2023, 10:26am UTC](https://community.gladysassistant.com/t/zigbee2mqtt-services-demarres-mais-croix-rouge-pour-le-lien/7955/40 "2023-05-07T10:26:03Z")

</div>

```auto
 _definition: {
      zigbeeModel: [Array],
      model: 'WSDCGQ11LM',
      vendor: 'Xiaomi',
      description: 'Aqara temperature, humidity and pressure sensor',
      meta: [Object],
      fromZigbee: [Array],
      toZigbee: [Array],
      exposes: [Array],
      configure: [AsyncFunction: configure],
      options: [Array]
    },
    _definitionModelID: 'lumi.weather'
  },
  from: {
    temperature: 20.33,
    humidity: 53.24,
    pressure: 964.5,
    voltage: 2985,
    battery: 90,
    power_outage_count: 6,
    linkquality: 7
  },
  to: {
    temperature: 20.33,
    humidity: 53.24,
    pressure: 964.5,
    voltage: 2985,
    battery: 90,
    power_outage_count: 6,
    linkquality: 7
  },
  reason: 'publishCached',
  update: {
    temperature: 20.33,
    humidity: 53.24,
    pressure: 964.5,
    voltage: 2985,
    battery: 90,
    power_outage_count: 6,
    linkquality: 7
  }
}
Zigbee2MQTT:info 2023-05-07 10:24:46: MQTT publish: topic 'zigbee2mqtt/Thermometre salon', payload '{"battery":90,"humidity":53.24,"linkquality":7,"power_outage_count":6,"pressure":964.5,"temperature":20.33,"voltage":2985}'
State changed {
  entity: Device {
    zh: Device {
      _events: [Object: null prototype] {},
      _eventsCount: 0,
      _maxListeners: undefined,
      ID: 8,
      _type: 'Router',
      _ieeeAddr: '0x50325ffffe4a2a97',
      _networkAddress: 23205,
      _manufacturerID: 4098,
      _endpoints: [Array],
      _manufacturerName: '_TZ3000_wamqdr3f',
      _powerSource: 'Mains (single phase)',
      _modelID: 'TS011F',
      _applicationVersion: 66,
      _stackVersion: 0,
      _zclVersion: 3,
      _hardwareVersion: 1,
      _dateCode: '',
      _softwareBuildID: undefined,
      _interviewCompleted: true,
      _interviewing: false,
      _skipDefaultResponse: false,
      _skipTimeResponse: false,
      meta: [Object],
      _lastSeen: 1683233428749,
      _defaultSendRequestWhen: 'immediate',
      _checkinInterval: undefined,
      _pendingRequestTimeout: 0,
      [Symbol(kCapture)]: true
    },
    _definition: {
      exposes: [Array],
      fromZigbee: [Array],
      toZigbee: [Array],
      fingerprint: [Array],
      model: 'HG06337',
      vendor: 'Lidl',
      description: 'Silvercrest smart plug (EU, CH, FR, BS, DK)',
      configure: [AsyncFunction: configure],
      meta: undefined,
      options: [Array]
    },
    _definitionModelID: 'TS011F'
  },
  from: { state: 'OFF', linkquality: 163 },
  to: { state: 'OFF', linkquality: 163 },
  reason: 'publishCached',
  update: { state: 'OFF', linkquality: 163 }
}
Zigbee2MQTT:info 2023-05-07 10:24:46: MQTT publish: topic 'zigbee2mqtt/Prise salon', payload '{"linkquality":163,"state":"OFF"}'
State changed {
  entity: Device {
    zh: Device {
      _events: [Object: null prototype] {},
      _eventsCount: 0,
      _maxListeners: undefined,
      ID: 9,
      _type: 'EndDevice',
      _ieeeAddr: '0x94deb8fffe0f39e4',
      _networkAddress: 45853,
      _manufacturerID: 4476,
      _endpoints: [Array],
      _manufacturerName: 'IKEA of Sweden',
      _powerSource: 'Battery',
      _modelID: 'TRADFRI on/off switch',
      _applicationVersion: 33,
      _stackVersion: 98,
      _zclVersion: 3,
      _hardwareVersion: 1,
      _dateCode: '20190723',
      _softwareBuildID: '2.2.010',
      _interviewCompleted: true,
      _interviewing: false,
      _skipDefaultResponse: false,
      _skipTimeResponse: false,
      meta: [Object],
      _lastSeen: 1683213611363,
      _defaultSendRequestWhen: 'active',
      _checkinInterval: 43200,
      _pendingRequestTimeout: 43200000,
      [Symbol(kCapture)]: true
    },
    _definition: {
      zigbeeModel: [Array],
      model: 'E1743',
      vendor: 'IKEA',
      description: 'TRADFRI ON/OFF switch',
      fromZigbee: [Array],
      exposes: [Array],
      toZigbee: [Array],
      ota: [Object],
      meta: [Object],
      configure: [AsyncFunction: configureRemote],
      options: [Array]
    },
    _definitionModelID: 'TRADFRI on/off switch'
  },
  from: {
    battery: 47,
    update: {
      state: 'available',
      installed_version: 570492465,
      latest_version: 587699761
    },
    update_available: true,
    linkquality: 65
  },
  to: {
    battery: 47,
    update: {
      state: 'available',
      installed_version: 570492465,
      latest_version: 587699761
    },
    update_available: true,
    linkquality: 65
  },
  reason: 'publishCached',
  update: {
    battery: 47,
    update: {
      state: 'available',
      installed_version: 570492465,
      latest_version: 587699761
    },
    update_available: true,
    linkquality: 65
  }
}
Zigbee2MQTT:info 2023-05-07 10:24:46: MQTT publish: topic 'zigbee2mqtt/bonton on off', payload '{"battery":47,"linkquality":65,"update":{"installed_version":570492465,"latest_version":587699761,"state":"available"},"update_available":true}'
Zigbee2MQTT:info 2023-05-07 10:24:46: Zigbee2MQTT started!
Error: connect ECONNREFUSED XX.000.000.000:9007
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1494:16)
Using '/app/data' as data directory

```

[Previous page](https://community.gladysassistant.com/t/zigbee2mqtt-services-demarres-mais-croix-rouge-pour-le-lien/7955.md?page=1)

[Next page](https://community.gladysassistant.com/t/zigbee2mqtt-services-demarres-mais-croix-rouge-pour-le-lien/7955.md?page=3)
