Z2MQTT + Sonoff Dongle E. Worst decision I could make?

TLDR: If I want to have a good working Zigbee network, do I say goodbye to Sonoff, Zigbee2MQTT, both, my setup or ditch Zigbee?

I started Home Automation with Domoticz and used Z-Wave. Moved house and included Deconz Zigbee. However, Z-Wave was not an out of the box protocol anymore so gave me too much headage. I therefore moved to Home Assistant, which I tried before, but at that time was worse then Domoticz. But with a Nuc and HA, it looked like a good combo.

Z-Wave has been running without issues, but Zigbee has been troublesome. I have all recessed zigbee lights and hardly any traditional lights (the ones I do have, are switch by Z-Wave plugs). The problem with Deconz was the Glefapto spots sometimes stopped communicating, and this means a full restart of the nuc, as only restarting deconz would lose all zigbee connections. After ordering some AliExpress zigbee devices, the problem was that some of these devices are not recognized.

As I read here, the best combination would ben Sonoff E with an Ember update, and Zigbee2MQTT. So I did, having to redo nearly all automations.

I agree, most devices are now recognised, but the availability of the devices have dropped dramatically. All devices are losing their connection at one stage and come back hours later. Sometimes a light does not gonoff, 5 minutes after no presence detection. But sometimes the toggle switch (Automation: if on or off, toggle light state) loses its connection too, and when it is detected again, the toggle is called as it changes it stat to off or on. (Found out that was a colpurate after months).

To make matters worse, if a device is offline, you can go to Z2MQTT and switch the state of the devices. Upon changing, it might show itself as online again and execute the task. This is not possible from the HA dashboard as the offline state, does not allow you to switch.

I have the zigbee and Z-Wave dongles between the floor boards of the first floor and the ceiling of the ground floor, slightly away from the wifi modem of the provider, which is in the same cupboard on the first floor. During testing I have even extendedbthe cable to go outside the cupboard laying it in the hallway, but even zigbee lights right above it lost connection, as did devices further away on the ground floor.

One can understand the WAF has dropped, asking me 'how can I even live here if you would go on a business trip, and how can you ever sell this place. You need to work on you system weekly. Even though I don’t like it, she has a point.

I am actually really sick of Zigbee, but there is no affordable alternative. But when I look an forums and videos, everybody seems happy with their Zigbee. So I must conclude the problem lies with me. But where?

Should I buy another Dongle which is up for the task, or should I switch to ZHA. Or am I not crazy, and Zigbee is a terrible protocol after all?

In currently have 62 Z-Wave devices and 68 Zigbee devices. 157 automations and 78 scripts. As you might guess, if I go with other dongles or system, I would love to have the impact as small as possible and not restart again.

Which Gledopto lights are you using and do you know the firmware versions?

Initially the Gledopto lights did not act as routers, so it is possible yours fall in this category. You could look at adding some Ikea plugs or other wired devices to get more router devices to help the Gledopto’s connect if this is the case. The newer Gledopto lights are listed as Zigbee 3.0 and do show up as router devices.

I appear to have several, even though some must have been identified incorrectly as the first 4 types were ordered in 1 batch. The 005Z has more power, but the other 3 are the same type of lamp, not all as displayed in Z2M.

Gledopto GL-D-003P - V_1_7_A1
Gledopto GL-D-003Z - 2.0.2
Gledopto GL-D-003ZS - 1.0.9
Gledopto GL-D-005Z - 2.0.2
Gledopto GL-D-013P - 20551203 (only these ordered more recently)

I can only say that I did have several GL-D-004ZS and whilst they do report as routers they did not act as routers. I had them connected via a Hue Hub as they never worked properly when trying with a different co-ordinator.

I would suggest you try adding a couple of Ikea plugs to see if they improve the mesh.

Thanks you for that heads up. I looked at the Ikea site, and found the Tradfri plugs do not exist anymore, but I expect the Dirigera Inspelning would do the same trick. However I asked for Saint Nicolas day (5th of December) some Sonoff S60ZB plugs. As I have a Sonoff dongle. i assume it will well together, but if I get near an Ikea in the next week or 2, I might get one of theirs too.

Having said that, it does not explain to me that A (other brand zigbee bulb) just 2 meters away from the dongle fails as well on a regular basis, and a tuya door sensor even nearer only was able to pair, and hasn’t been online since (according to Z2M)

I only suggested Ikea as they are cheap and normally easy to get. The Sonoff’s should work fine.

Firstly, battery devices don’t stay online as they only connect to send data - you should check the online timeout for those devices.

If you are having issues with other bulbs, then you may have interference. Ensure your dongle is on a USB extension cord (avoids interference from the device it is plugged into). Check the channel to ensure it doesn’t overlap with any WiFi channels in your area.

See here Zigbee network optimization: a how-to guide for avoiding radio frequency interference + adding Zigbee Router devices (repeaters/extenders) to get a stable Zigbee network mesh with best possible range and coverage by fully utilizing Zigbee mesh networking - Community Guides - Home Assistant Community

Yes, I already moved my channels months ago. Wifi to 1 and 6, and zigbee to 25. The zigbee dongle was lowered to the drywall ceiling of the ground flour. But as it is connected with metal stud, I now decided to move the dongle outside the Domoticz closest. However, it has decreased the LQI of all devices. But co-pilot advised me that it would still improve the connections, and hope to get my plugs.

Just FYI: I just bought 2 Ikea Inspelning, so I will see if that improves anything. I doubt it though.

I only just realised, that with DeConz there was by default a network map, that was layed out by me to have all devices lined up by area. And I remember that all the Gledopto spots were linked to eachother. I could see the dark and light green lines from the stick were going to most of them, and orange lines connecting them all aswell, as it did to the outdoor lights. So I assume that they did route very well.

I have just tried to see the network map on Z2M, but it just been saying “Loading” for the last 5 minutes or so.

It can take quite a long time for the Z2M network map to load (especially if it is getting the routes), just be patient.

Indeed, half an hour later it was there. Weird, as in Deconz it was instant. You would see all the registered devices, and a linkline would appear as soon as they got connected. It was fun to see that my SpotHB was an important hub, as was my bedside light. However, where all spots were hubs to others, within Z2M network map, I see that most spots are indeed only connected to other routers, and do not route themselves. I can not think of why this would be different.

Second thing that is not as expected, the dongle only connects to 3 other devices, one a switch within the automation-cupboard, and one with a switch in the next room (forgot the 3rd one). The lights only a few meters away, do get their route from other devices.

I feel I shouldn’t have bought the extra Ikea plugs, as the switches and powered mmwave devices are already routing most of the traffic, and these new Ikeas do pull their weight, but do not significantly improve the LQI nor does it prevent all those offlines I get during the day :frowning:

Which co-ordinator (dongle) are you using and what version of the firmware?

According to Z2M:
Coordinator
EmberZNet
0x1cc099fff…
Revision
7.4.5 [GA]

Its an Sonoff Dongle Plus - ZBDomgle-E