hey, just starting with Zigbee sensors. I bought a bunch of official Sonoff and a SMLIGHT SLZB-07p dongle, set up with ZHA. the experience has been pretty poor tbf, the setup took several hours total, very flaky UI and sensors. now it's set up but I already lost sensors 3 times, having to press the button to wake them up (very annoying with IP65 ones, because you have to unscrew a lid) or even re-pair others.
the range is not amazingly far, i'm talking about a few meters at most. the dongle is on a ~1m USB extension cord, close to a wifi router though (20-30cm).
the most distant sensor is 10m through two windows.
is this normal?
#Starting with Zigbee sensors, pretty poor experience
1 messages · Page 1 of 1 (latest)
Make sure your Zigbee and Wi-Fi channels aren't overlapping
I checked that and it's not the case
I'm trying to understand what is the weak link here - HA / ZHA / Sonoff
what are correct values for RSSI & LQI for Zigbee sensors?
how many routers (repeaters) do you have on the network, and how are they placed?
absolutely none 😄 do I need them with such small range?
sensors are within 10m, with more or less obstacles
the ones that became unavailable are not the most distant ones
Yes, routers are recommended since Zigbee is designed to be a mesh network
also what TX power do you have set on the adapter?
It's possible to have a situation where the coordinator is "yelling" at the devices, but the coordinator can't "hear" the devices talk back since they generally have much less transmit power
I don't know, didn't set it up explicitely
I can't find it in the ZHA tabs
yeah the 20 dB part is just the max transmit power that it supports. I don't use ZHA, so I'm not sure what it defaults to or how to check what it's set to
from the manufacturer specs
RSSI: anything higher than -80 dBm should be okay, ideally -75 dBm or higher. LQI isn't a very reliable metric since it varies by manufacturer
also plug the extension cable into a USB 2.0 port if possible
yes it's the case
what are you using if you mind?
zigbee2mqtt
what are the pros/cons compared to ZHA?
I mean, it lives outside HA I guess, and communicates with HA through MQTT right?
yeah, it's decoupled from HA but still talks to HA
I doubt ZHA is the issue here though
okay, in your opinion it's a hardware issue?
any feedback on the Sonoff products that might explain my issues?
I've seen a few similar threads but doesn't seem like Sonoff was considered unreliable
I'd recommend adding at least one router to your network between the devices you're having connectivity issues with
well they're already so close that I might go another route if Zigbee covers such a small range
I wouldn't want to clog my place
what sensors are you having trouble with?
Sonoff SNZB-02P / Sonoff SNZB-02 / Sonoff SNZB-02LD
i think it's pretty much the same boards, but different cases (indoor / outdoor / outdoor+probe)
would you recommend another brand?
Not necessarily. Any other sources of 2.4 GHz interference around?
not that I can think of. I ran a wifi scanner on my phone, nothing is emitting much more than my own 2.4Ghz
I'll check again and compare the channels but nothing obvious
I'd also recommend moving it away from the Wi-Fi access point too even though you said they're not on overlapping channels
okay
that's weird because it worked for multiple days without issues
anything interesting I should look for in the logs?
Also make sure your AP isn't set to automatically "optimize" the 2.4 GHz channel
like, changing the channel dynamically?
yeah
okay
thanks for the help man
so in your opinion it's a radio thing, not ZHA nor sonoff
Yeah I'd say it's unlikely an issue with ZHA. I did have a bad experience with Sonoff's first generation of Zigbee products, but it wasn't related to disconnections
I have a 50+ device Zigbee network, very reliable, using a PoE SLZB-06 coordinator and zigbee2mqtt, and one of the few issues I have had were specifically with SONOFF motion sensors constantly dropping
So much so they’re in a bin in my closet now 👎
Temperature sonoff zigbee work perfectly well. Placing lights or plugs or many devices (most) ac powered will extend the range. Is it used in poe or usb?
With z2m you have a clear map. Also remember zigbee adapts routes but it is not an immediate process. If you place a router and want immediate results, unbind and remind the problematic device.
One thing to mention here, is that if you use ZHA and reboot your HA server then the Zigbee Mesh is taken offline whilst the server restarts. Obviously the same happens on Zigbee2Mqtt but those who run a Zigbee2Mqtt as a separate container (ie. proxmox lxc) would need to restart that container.
USB dongle
but honestly the dongle & the dropped sensor have a line of sight so I'd be bummed if this is an issue
(through a window tho)
i run z2m with a nabu casa dongle. mostly ikea and osram bulbs as routers. no problems with the network.
i bought a set of sonoff sensors from their company store on aliexpress. all of them have problems with the battery contacts. i have to bend the small metal bits to increase tension multiple times a year. i finally gave up and replaced them with other sensors.
oh okay i'll look into that too, thanks for the feedback. what brand did you switch for?
some aqara door and temp/humidity sensors. the motion detector got replaced with a mmwave radar from apollo automation.
try getting one of your problem sensors working by increasing pressure against the battery and see if that is the problem with yours as well
No help to you but my setup: 100 devices on ZHA. A roughly 50/50 mix of lights (mostly Ikea) and battery powered stuff: sonoff temp sensors and PIRs, Ikea water sensors, and some Aqara stuff. Not done anything particularly clever with my setup. It grew over the last 2 years. Got a combee2 on a half meter extension. I’d guess at 1 or 2 issues a month which are split between battery replacement (I don’t generally pay much notice of reported %ages as I’ve had stuff last a year on 10% etc) and genuine oddness where a sensor or very occasionally a light falls off the network and needs re-pairing. Happened to me this morning infact with a sonoff temp sensor SNZB-02P. I don’t believe any vendor is better than the other. For instance I have 4 Aqara blind motors which are fantastic, but I had nothing but trouble from their temp sensors though the motion sensor I have has been 100%.
I’d start by moving the box running HA and the sensor to another room and see if it’s any different. And make sure you have at least one light or other router on the network in that room.
thanks for the feedback
Thanks for your support! Please let us know if there are any questions and if you need any help!
I also use a SMLIGHT SLZB-06 ZigBee router and I use Zigbee2MQTT in a network of around 30 devices, with a lot of Ikea plugs, Ikea buttons, Chinese door sensors, etc, and works flawlessly. Changing mm Wave presence detector to an Apollo when I can 🙂
believe it or not, I changed and made permanent the channel 6 on my 2.4Ghz network and the lost devices recovered on their own
(zigbee channel is 13)
so I guess it was a radio conflict with the wifi
thanks!
You should be using 11, 15, 20, or 25
Some flaky devices don’t work otherwise I think
But if it’s working now…