# Zigbee2mqtt power outlets ON/OFF not working

**URL:** <https://community.gladysassistant.com/t/zigbee2mqtt-prise-elec-on-off-ne-fonctionnent-plus/7718>\
**Category:** Configuration\
**Created:** [December 6, 2022, 8:30pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-prise-elec-on-off-ne-fonctionnent-plus/7718 "2022-12-06T20:30:53Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![clopance](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/clopance/32/765_2.png) [@clopance](https://community.gladysassistant.com/u/clopance)\
**Post date:** [December 6, 2022, 8:30pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-prise-elec-on-off-ne-fonctionnent-plus/7718/1 "2022-12-06T20:30:53Z")

</div>

Hello everyone,

for 2 days, I can no longer turn on/off my LIDL or NOUS connected smart plugs.  
However, the power consumption of the NOUS or the Lixee is being reported correctly.  
reboot, disabling/enabling zigbee2mqtt, nothing works.

here is a diagram of my setup, knowing that it’s a local Gladys on an RPI 3B, hosted on a USB SSD.  
v4.12.2

 ![Screenshot 2022-12-06 at 21.23.03](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/d/d1cb819d99ccf087173e40e5666d963fd3c685f5.png)

In the gladys Docker logs, I see a warning  
Zigbee2mqtt device 0xa4c138a4089efdc0, feature power\_outage\_memory not configured in Gladys.  
without knowing if it is related.  
Also, I have seen this setup working, the Lidl plug of the switch is 30cm from Gladys, but it no longer toggles either.

I don’t know how to debug.

---

<div class="post-metadata">

**Author:** ![Will\_71](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/will_71/32/9582_2.png) [@Will\_71](https://community.gladysassistant.com/u/Will_71)\
**Post date:** [December 6, 2022, 8:39pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-prise-elec-on-off-ne-fonctionnent-plus/7718/2 "2022-12-06T20:39:54Z")

</div>

And from the Zigbee2Mqtt interface (http://adresse\_ip\_du\_pi:8080/) does it work?

---

<div class="post-metadata">

**Author:** ![clopance](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/clopance/32/765_2.png) [@clopance](https://community.gladysassistant.com/u/clopance)\
**Post date:** [December 6, 2022, 8:41pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-prise-elec-on-off-ne-fonctionnent-plus/7718/3 "2022-12-06T20:41:45Z")

</div>

> [@\_Will\_71](#):
>
> http://adresse\_ip\_du\_pi:808

I didn’t know about this interface, cool, I’ll check it out

No, error when I try to turn on a plug

 ![erreur1](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/2/2aff6b133831934b7ad3b35f4f90c362f2f74375.jpeg)  
 ![erreur2](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/9/9560c21c2dba59776e668c63ea0e78874f6894fc.jpeg)

---

<div class="post-metadata">

**Author:** ![clopance](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/clopance/32/765_2.png) [@clopance](https://community.gladysassistant.com/u/clopance)\
**Post date:** [December 6, 2022, 8:53pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-prise-elec-on-off-ne-fonctionnent-plus/7718/4 "2022-12-06T20:53:35Z")

</div>

Errors detected on this interface in the last few minutes

info 2022-12-06 21:49:18`Starting network scan (includeRoutes 'false')`

error 2022-12-06 21:49:45`Failed to execute LQI for '0x60a423fffe093011'`

error 2022-12-06 21:50:11`Failed to execute LQI for '0xbc33acfffe7348d8'`

error 2022-12-06 21:50:37`Failed to execute LQI for '0xbc33acfffe043f05'`

error 2022-12-06 21:51:03`Failed to execute LQI for '0x60a423fffe0e1414'`

error 2022-12-06 21:51:30`Failed to execute LQI for '0xb4e3f9fffe781074'`

error 2022-12-06 21:51:56`Failed to execute LQI for '0x60a423fffe07b0ba'`

error 2022-12-06 21:52:05`Publish 'set' 'state' to '0xb4e3f9fffe781074' failed: 'Error: Command 0xb4e3f9fffe781074/1 genOnOff.on({}, {"sendWhen":"immediate","timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Data request failed with error: 'No network route' (205))'`

info 2022-12-06 21:52:05`MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"Publish 'set' 'state' to '0xb4e3f9fffe781074' failed: 'Error: Command 0xb4e3f9fffe781074/1 genOnOff.on({}, {\"sendWhen\":\"immediate\",\"timeout\":10000,\"disableResponse\":false,\"disableRecovery\":false,\"disableDefaultResponse\":false,\"direction\":0,\"srcEndpoint\":null,\"reservedBits\":0,\"manufacturerCode\":null,\"transactionSequenceNumber\":null,\"writeUndiv\":false}) failed (Data request failed with error: 'No network route' (205))'","meta":{"friendly_name":"0xb4e3f9fffe781074"},"type":"zigbee_publish_error"}'`

error 2022-12-06 21:52:22`Failed to execute LQI for '0x00158d0005ce777c'`

error 2022-12-06 21:52:26`Publish 'set' 'state' to '0xb4e3f9fffe781074' failed: 'Error: Command 0xb4e3f9fffe781074/1 genOnOff.on({}, {"sendWhen":"immediate","timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Data request failed with error: 'No network route' (205))'`

info 2022-12-06 21:52:26`MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"Publish 'set' 'state' to '0xb4e3f9fffe781074' failed: 'Error: Command 0xb4e3f9fffe781074/1 genOnOff.on({}, {\"sendWhen\":\"immediate\",\"timeout\":10000,\"disableResponse\":false,\"disableRecovery\":false,\"disableDefaultResponse\":false,\"direction\":0,\"srcEndpoint\":null,\"reservedBits\":0,\"manufacturerCode\":null,\"transactionSequenceNumber\":null,\"writeUndiv\":false}) failed (Data request failed with error: 'No network route' (205))'","meta":{"friendly_name":"0xb4e3f9fffe781074"},"type":"zigbee_publish_error"}'`

error 2022-12-06 21:52:48`Failed to execute LQI for '0xa4c138e51fd4c95b'`

error 2022-12-06 21:52:48`Publish 'set' 'state' to '0xb4e3f9fffe781074' failed: 'Error: Command 0xb4e3f9fffe781074/1 genOnOff.on({}, {"sendWhen":"immediate","timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Data request failed with error: 'No network route' (205))'`

info 2022-12-06 21:52:48`MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"Publish 'set' 'state' to '0xb4e3f9fffe781074' failed: 'Error: Command 0xb4e3f9fffe781074/1 genOnOff.on({}, {\"sendWhen\":\"immediate\",\"timeout\":10000,\"disableResponse\":false,\"disableRecovery\":false,\"disableDefaultResponse\":false,\"direction\":0,\"srcEndpoint\":null,\"reservedBits\":0,\"manufacturerCode\":null,\"transactionSequenceNumber\":null,\"writeUndiv\":false}) failed (Data request failed with error: 'No network route' (205))'","meta":{"friendly_name":"0xb4e3f9fffe781074"},"type":"zigbee_publish_error"}'`

---

<div class="post-metadata">

**Author:** ![Will\_71](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/will_71/32/9582_2.png) [@Will\_71](https://community.gladysassistant.com/u/Will_71)\
**Post date:** [December 6, 2022, 8:59pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-prise-elec-on-off-ne-fonctionnent-plus/7718/5 "2022-12-06T20:59:13Z")

</div>

You don’t have anything working on your Zigbee network anymore, do you?

Maybe a problem with your Zigbee dongle?

Have you already tried rebooting your Pi?

---

<div class="post-metadata">

**Author:** ![clopance](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/clopance/32/765_2.png) [@clopance](https://community.gladysassistant.com/u/clopance)\
**Post date:** [December 6, 2022, 9:12pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-prise-elec-on-off-ne-fonctionnent-plus/7718/6 "2022-12-06T21:12:53Z")

</div>

In this interface, there is a schematic creation that shows my equipment.  
I’ve restarted my Raspberry Pi (PI) several times, yes, but it’s no better.

Otherwise, indeed I no longer have the electrical consumption graph of our devices now

---

<div class="post-metadata">

**Author:** ![Will\_71](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/will_71/32/9582_2.png) [@Will\_71](https://community.gladysassistant.com/u/Will_71)\
**Post date:** [December 6, 2022, 9:17pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-prise-elec-on-off-ne-fonctionnent-plus/7718/7 "2022-12-06T21:17:20Z")

</div>

And is your dongle plugged directly into a USB port on the Raspberry Pi?

Because sometimes the Raspberry Pi’s power supply isn’t able to properly power a USB SSD and a Zigbee or Z-Wave dongle…  
In that case you need to add a USB hub with its own power supply

---

<div class="post-metadata">

**Author:** ![clopance](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/clopance/32/765_2.png) [@clopance](https://community.gladysassistant.com/u/clopance)\
**Post date:** [December 6, 2022, 9:21pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-prise-elec-on-off-ne-fonctionnent-plus/7718/8 "2022-12-06T21:21:39Z")

</div>

I changed the USB port but it’s the same.  
ok I’ll try changing the power supply

---

<div class="post-metadata">

**Author:** ![Will\_71](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/will_71/32/9582_2.png) [@Will\_71](https://community.gladysassistant.com/u/Will_71)\
**Post date:** [December 6, 2022, 9:26pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-prise-elec-on-off-ne-fonctionnent-plus/7718/9 "2022-12-06T21:26:02Z")

</div>

not just to change the power supply but to use a powered USB hub

---

<div class="post-metadata">

**Author:** ![Tlse-vins](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/tlse-vins/32/6054_2.png) [@Tlse-vins](https://community.gladysassistant.com/u/Tlse-vins)\
**Post date:** [December 7, 2022, 6:15am UTC](https://community.gladysassistant.com/t/zigbee2mqtt-prise-elec-on-off-ne-fonctionnent-plus/7718/10 "2022-12-07T06:15:53Z")

</div>

Done:

> sudo dmesg -1024

You may get a warning about the power supply.  
I’ve had that happen with a Pi 3B+ and a Pi 4. Hence my switch to a mini PC.

---

<div class="post-metadata">

**Author:** ![GBoulvin](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/gboulvin/32/10006_2.png) [@GBoulvin](https://community.gladysassistant.com/u/GBoulvin)\
**Post date:** [December 7, 2022, 6:22am UTC](https://community.gladysassistant.com/t/zigbee2mqtt-prise-elec-on-off-ne-fonctionnent-plus/7718/11 "2022-12-07T06:22:26Z")

</div>

And even simpler, put a USB extension cable at least 50 cm long between your Raspberry Pi and your ZigBee dongle.  
On the ZigBee configuration page in Gladys, is your dongle properly configured?

---

<div class="post-metadata">

**Author:** ![clopance](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/clopance/32/765_2.png) [@clopance](https://community.gladysassistant.com/u/clopance)\
**Post date:** [December 7, 2022, 12:24pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-prise-elec-on-off-ne-fonctionnent-plus/7718/12 "2022-12-07T12:24:01Z")

</div>

Thanks for your replies 🙂  
I changed the power supply and it’s back in order,  
another power supply problem, I’m used to it…  
I was on a 2A adapter, switched to 2.5A.  
hoping this helps others.

---

<div class="post-metadata">

**Author:** ![Will\_71](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/will_71/32/9582_2.png) [@Will\_71](https://community.gladysassistant.com/u/Will_71)\
**Post date:** [December 7, 2022, 12:27pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-prise-elec-on-off-ne-fonctionnent-plus/7718/13 "2022-12-07T12:27:05Z")

</div>

You’re not the only one — a Pi + SSD = a power supply problem in general

---

<div class="post-metadata">

**Author:** ![Tlse-vins](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/tlse-vins/32/6054_2.png) [@Tlse-vins](https://community.gladysassistant.com/u/Tlse-vins)\
**Post date:** [December 7, 2022, 12:31pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-prise-elec-on-off-ne-fonctionnent-plus/7718/14 "2022-12-07T12:31:15Z")

</div>

I had a Pi 4 with a 15W 3A power supply and I had the problem.  
I sold my Pi 4 with the original power supply for €140 and bought a mini PC for €100 and a keyboard for €30, I made €10 and gained stability in my setup.

Hopefully your power supply holds up because €10 each time adds up quickly.

---

<div class="post-metadata">

**Author:** ![clopance](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/clopance/32/765_2.png) [@clopance](https://community.gladysassistant.com/u/clopance)\
**Post date:** [December 8, 2022, 7:03pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-prise-elec-on-off-ne-fonctionnent-plus/7718/15 "2022-12-08T19:03:41Z")

</div>

Yes, I’m watching leboncoin in my area looking for a good mini PC 🙂  
And the power supply of your mini PC — what wattage is it?

---

<div class="post-metadata">

**Author:** ![Tlse-vins](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/tlse-vins/32/6054_2.png) [@Tlse-vins](https://community.gladysassistant.com/u/Tlse-vins)\
**Post date:** [December 8, 2022, 8:11pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-prise-elec-on-off-ne-fonctionnent-plus/7718/16 "2022-12-08T20:11:42Z")

</div>

It’s a 65W, 19V, 3.30A.  
And I put the OS in power-saving mode.
