#zigbee-archived
1 messages · Page 179 of 1
Thanks. I do have a long range 2.4 GHz WiFi antenna. I think that has the right plug on for the Sonoff dongle. If I just power a dongle, will it repeat with no computer connected?
"Bad stuff" (TM) will happen if I don't replace the factory ZC firmware with ZR, won't it?
(Please tell me if there's a better place to post this; there are so many channels here ...)
I'm seeing this weird behaviour when trying to change colour/brightness/temperature of a Lidl bulb. The rest of Zigbee/ZHA automations are working OK via ConBee II.
I just switched from ZHA to Zigbee2MQTT and running my stuff in docker. I'm trying to get my Ikea ON/OFF switch to work in my existing automations. But I don't understand why the sensor.NameOfEntity_action is like changing state 4 times on a press. I have a automation that is trigged on state change it it fires 4 but since i have set it to single it terminates 3 of them. Seems to be very stupid. Or is this home z2m works? Or is there some setting I don't know about. ?
@toxic herald Try with the 'click' entity of the button. I don't use entity but I use mqtt trigger. You can create the same on zigbee2mqtt/friendly_name/click and put condition for payload as on and off.
Or just use the click as indicated above
Have you reset and repaired that bulb?
Hello, a copuple days ago arrived my RF-BM-2652P2 , I paired devices and all looks good. Now are all unavailable with this in logs
new async_initialize: all attempts have failed: [DeliveryError('Request failed after 5 attempts: <Status.NWK_INVALID_REQUEST: 194>'), DeliveryError('Request failed after 5 attempts: <Status.NWK_INVALID_REQUEST: 194>'),
Yes. In case others have the same issue I've now tracked down a GitHub issue about this, and I'm trying out a quirk that someone has developed to try and work around the problem. https://github.com/zigpy/zha-device-handlers/issues/1303
Hello, I've added a double light switch (Legrand NetAtmo) to my ZHA setup, no problem to add and control switchs but i'm unable to handle indicator lights on the switchs (it's specifics attributes from manufactuer cluster). Zigbee2MQTT since to handle the leds https://github.com/Koenkk/zigbee-herdsman-converters/pull/3832. Is it possible to set manually attributes ? Thanks 🙂
Just wondering if anyone is using this USB stick to connect Aqara devices to HA. https://www.amazon.ca/SONOFF-CC2652P-CP2102N-Assistant-Zigbee2MQTT/dp/B09KZX4WSB
Hey Guys, i have a SonOff 3.0 zigbee usb thing, flashed it with the latest firmware and installed zigbee2mqtt. i set the channel to 25 and had it set up a security key . i ran it and the front panel loads, i hit permit join (i disabled auto join) and i pressed the join button for 10 seconds per the ikea manual
and the device does not show up
i have tried multiple devices and having no luck
there is a usb extension cord between the zigbee stick and the raspberry pi
any advice?
which door sensor is perfect for home assistant (zigbee)
Aqara @ashen scaffold
I have one of those, don't remember having issues pairing it though
and no one on youtube demoing it did
Can you clarify, I'm not sure I understand. Thanks.
@jolly narwhal so it should just work at this point? so i may have a defective stick or a bad config?
i dont see any output when its in pairing mode and its starting to become frustrating
the devices that are plugged in are supposed to act as routers to repeat the signal, the range is short and is shorter when walls and interference is involved
so having a light bulb or a router would allow you to have full further coverage
Hello hello! My new conbee II just arrived, and I'm trying to get it to work. I have 2 systems running Arch Linux, but no matter what I do I can't seem to get /dev/ttyUSB0 or /dev/ttyACM0 to show up... It seems to be working fine under my Windows laptop, so I don't think it's faulty hardware. I'm in the uucp and tty groups, dialout does not exist on my system, and even root can't find those ttys... Anyone got tips?
Have you typed lsusb into the terminal?
try "Pair the switch to Zigbee2MQTT by pressing the pair button (found under the back cover next to the battery) 4 times in a row."
as described here: https://www.zigbee2mqtt.io/devices/E1743.html
then it said left the network, but it showed up for the second
try again, i had problems pairing my e1744 at the first try
Zigbee2MQTT:info 2022-02-15 10:43:02: Device '0xb4e3f9fffebdedb6' joined
Zigbee2MQTT:info 2022-02-15 10:43:02: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0xb4e3f9fffebdedb6","ieee_address":"0xb4e3f9fffebdedb6"},"type":"device_joined"}'
Zigbee2MQTT:info 2022-02-15 10:43:02: Starting interview of '0xb4e3f9fffebdedb6'
Zigbee2MQTT:info 2022-02-15 10:43:02: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0xb4e3f9fffebdedb6","ieee_address":"0xb4e3f9fffebdedb6","status":"started"},"type":"device_interview"}'
Zigbee2MQTT:info 2022-02-15 10:43:09: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0xb4e3f9fffebdedb6","ieee_address":"0xb4e3f9fffebdedb6"},"type":"device_announce"}'
Zigbee2MQTT:info 2022-02-15 10:43:18: MQTT publish: topic 'zigbee2mqtt/0xb4e3f9fffebdedb6', payload ''
Zigbee2MQTT:info 2022-02-15 10:43:18: MQTT publish: topic 'zigbee2mqtt/bridge/response/device/rename', payload '{"data":{"from":"0xb4e3f9fffebdedb6","homeassistant_rename":false,"to":"Bed button"},"status":"ok","transaction":"cvcpc-7"}'
Zigbee2MQTT:warn 2022-02-15 10:43:19: Device 'Bed button' left the network
Zigbee2MQTT:info 2022-02-15 10:43:19: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"Bed button","ieee_address":"0xb4e3f9fffebdedb6"},"type":"device_leave"}'
man this is weird
so the device number i can use to add it to the config file?
How far is it away from the coordinator (zigbee stick)
does it work if you not rename it
Solved after a reboot... Go figure. Sorry for the false alarm!
Zigbee2MQTT:info 2022-02-15 10:53:10: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x50325ffffe046180","ieee_address":"0x50325ffffe046180","status":"started"},"type":"device_interview"}'
Zigbee2MQTT:info 2022-02-15 10:53:13: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x50325ffffe046180","ieee_address":"0x50325ffffe046180"},"type":"device_announce"}'
Zigbee2MQTT:warn 2022-02-15 10:53:21: Device '0x50325ffffe046180' left the network
Zigbee2MQTT:info 2022-02-15 10:53:21: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x50325ffffe046180","ieee_address":"0x50325ffffe046180"},"type":"device_leave"}'
tried a different device
the motion sensor
and its joining and leaving pretty frequently
Zigbee2MQTT:error 2022-02-15 10:56:00: Failed to interview '0x50325ffffe046180', device has not successfully been paired
Hey guys. I currently have a few Zigbee devices and am running Deconz with a Conbee II. Is there any pros or cons to migrating to zigbee2mqtt? I also bought a Sonoff Zigbee 3.0 Plus dongle that I haven’t decided what to do with so I could swap the Conbee II with it or use it as a repeater.
if aint broke dont fix it
Alright thanks. I wasn’t sure if there were any big features or customizations that Deconz doesn’t offer… or if the Sonoff coordinator offers a better signal with the +20dB antenna.
i have the sonoff, i have read that zigbee2mqtt isnt able to levage that "20db"
but once i get mine up i'll let you know on the range
hi. my zigbee "smart air box" recognized as a router (because it can be a router also), but I would need it to be recognized properly. please help - type of the device: yvx5lh6k
Does your system have the file /var/log/kern.log or /var/log/messages ?
He has already solved his problem
If I plug a ConBee II into my Raspberry Pi, which is in the basement, what could I put on the main floor to extend the coverage?
Any mains powered zigbee device?
Good to know, thanks. Is the Conbee 2 recommended compared to say Sonoffs Dongle Plus?
Buy something CC2652 based. This list is a good one, both Tube and Electrolama have been proven to have excellent customer service. The current generation of EZSP sticks (see here for some) are also a good choice for ZHA.
Anything CC2530 or CC2531 based should be avoided - they're old, slow, and only suitable for a dozen or so devices. The Sonoff ZBbridge isn't advised since it uses WiFi (built in interference causing stability/reliability issues), and the HUSBZB-1 uses an older chipset so should be avoided.
Finally, the ConBee range are fine with deCONZ, but experience with ZHA and Zigbee2MQTT appears to be mixed.
I was thinking of using deconz.
I did cc2531 - cc1352p2 - zzh - tube Poe coordinator
I've used Zigbee2mqtt throughout
With 120+ devices
Googling "Zig-a-zig-ah" gives Spice Girls lyrics as result. Spicy indeed

why did you go from cc1352p2 to zzh? Was cc1352p2 a launchpad devkit?
Yes, i just wanted a smaller footprint
And thought about repurposing the 1352 for sub GHz stuff
The Sonoff dongle is one of the cheapest.
The other once are made by hobbyists. Sonoff has economy of scale
Did you notice any LQI difference between the launchpad and zzh? From my understanding the pcb antenna on those should be pretty good
Yes, the antenna on the launchpad was amazing, but with 80+ routers that didn't matter much to me
I've gotten my CC2652R7 devkit today, I've got z-stack and z2m running fine on it. Now hunting for tables and things that can take advantage of the bigger memory :). Would be sweet the if the coordinator could directly connect to 100+ devices
less hops, less latency. At least in my mind 😅
I was hoping I could repurpose the launchpad for LoRA, but maybe I'll do thread at some point
you can never have too many border routers then thread becomes a thing I think
I have no discernible latency in my ZigBee network, even if people say the Ikea bulbs lockup
I've not noticed anything odd with my ikea lights either
maybe it was fixed in a fw update?
No idea, I've never had the issue at least, and I've had tradfri for over three years
If nothing else, keep it for the onboard programmer if you ever need it
new to zigbee here.. I don't 100% get this "hold the device being paired close to the coordinator" thing.. is this a real requirement due to some kind of RSSI / time of flight measured security thing or is it enough that the coordinator and device can just hear each other?
asking because some devices are hardwired into the wall
where did you read that? It's actually the opposite. Pair them in place, don't move them to the coordinator
in a lot of places actually.. zigbee2mqtt faq, deconz instructions etc
for example: "If no new node becomes visible in the deCONZ GUI, power down all you ZigBee routers (except the coordinator), and move the device close to coordinator. If you cannot move the device, use a USB extension cable to move the ConBee, or use a USB power bank to move the Raspberry Pi with the RaspBee. "
based on what you say, I am assuming it should work so that if the device can hear any router then it should pair ok in-place?
Anyone have any examples of an automation that would let me track if something has been long pressed via a zha_event? The device itself only sends a button press.
or like a double press
ok thanks. I have some of these https://www.zigbee2mqtt.io/devices/WDE002334.html which I am hoping will work as routers even though there is no Neutral connection
Does this work reliably for anyone? https://community.home-assistant.io/t/zha-double-and-triple-click-experiments/224535
Did you read the data sheet?
yes, but Schneider has their own "Wiser" hub etc for zigbee so they don't really say anything about generic zigbee features.
i mean about neutral
yes, no neutral needed
well I did find a guide which implies that all 230V devices are routers
Where do you see that in the zigbee2mqtt docs?
for example here https://www.zigbee2mqtt.io/guide/faq/#interview-fails
always saying "try closer to the coordinator"
nothing about routers
well this schneider dimmer is not causing any log messages on z2m when I try to join it next to a router
as it is zigbee 3.0 certified I have some expectation that it should be usable..
is there a way to force an entity to be available regardless of it's actual state? i can do this with Hue, but not with ZHA
I got my schneider dimmer to join whee.. so many different reset procedures and timings.
I've observed that my automations fail to call the light.turn_on service when I use device instead of entity sometimes... what's the reason/explanation for that? I'm re-do many automations now... lucky me I'm just starting! LOL
thanks guys, i got it to work, now i need more devices to act as routers.
New ikea OTA out, but it seems like some of the lights crashes after the update and is just flickering rapidly between warm and cold color. Rebooting the lights fixes it O.o. Out of 11 I've updated so far, 3 has done this.
40 more to update, let's see how that goes
Hello. Somehow I have an ghost device +light entity. It reappears when I delete it. It's not connected to any other device when I look it up in the network topology.
It's a device I don't own as well!
Is there some low level delete possible?
ZHA integration btw
Hey, if somehow my ethernet Connection Drops, zigbee devices will still function?
I Just want it to toggle a Plug to activate my siren even if the Connection drops
If the trigger happens outside of the network and the plug is ZigBee
And your coordinator is usb local
Sure, probably
I got a coordinator in the usb of my raspberry and im using aqara door sensors. I assume it would be possible to toggle a zigbee plug without Connection
Yes
How often does the connection drop though?
I don't think any of my servers have lost their connection unintended in the last 25 years
In the last month they where working on the cables in my village. Some days i wouldnt have any internet connection for 6 hours
Oh wow, don't think I've had internet service down for that long for at least two decades
The are working really hard here to get 500-1gb Ethernet
But sometimes they break everything
Other than setting mains powered unavailable to a very high integer, is there a way to allow a device to be 'controlled' while it's offline?
my use case is I have a bunch of zigbee bulbs behind a zigbee light switch. I have an event listener to turn the light swtich on if the light bulbs have their state changed.
Why not bypass the load on the switch?
I still want a working physical switch.
So why not dumb bulbs then?
so I can change temperature and brightness..?
I use adaptive lighting on my whole house.
Ugh switches
And how am I supposed to know that?
Hm but that’s not the intended use case for zigbee
Anyway, no, I don't know of a way to still "control" those bulbs when unavailable. I suppose you could create input_booleans for each of the lights and use those instead (and sync them to the state of the lights where anything other than the light being on is off for the boolean)
You can maybe create a slider for each state of the light thats controlled and if its changed it changes the state of the light and if the light gets available again it will be chabged arcording to the sliders
Would really recommend bypassing the load on the switch though
Yes alone because your mesh will be affected if you turn the routers off and some sensor like aqara are not changing parent and will be unavailable then
They could be sengled lights though which aren't routers
You also can turn off all non-permanent smart bulbs with an automation before pairing, so devices that statically use the strongest device as routers are not confused.
Exactly.
Anyway, I'll just bump up the unavailable timer.
I have about 29 mains powered routers that are permanently on.
I'm wondering if Leviton has a cluster command to ignore the button press to actually trigger power.
Doesn't prevent devices from eventually connecting to those routers when they're powered on though
Ideally I'd like to bind the bulbs to the leviton switch and have the leviton just issue a zigbee command on/off
That's what I was getting at with bypassing the load (if bypassing the relay isn't an option)
except there is zero docs for the leviton devices, and nobody has them in thew ild as far as I can tell except me lol
Leviton doesn't even manufacture their own zigbee hubs, and doesnt recommend any to use.
Leviton DG15S

@lilac wharf : the devices clever enough to find new routes are hopefully clever enough to find new ones when these go offline.
exactly. ive had zero problems so far with this setup.
@fair mountain great minds (or sick minds?) think alike ;)
I also dont see any way to decouple the relay from the on/off cluster command
Leviton doesn't seem to have any public docs.
And if you ask them directly
No response
I also don't th ink device binding works on the leviton switch
ah, group bindings dont work, but device bindings do
@lilac wharf
You can unbind the wall switch from itself, and then bind the lights to the switch. Now curious what happens if AC power is killed ...
And the answer is the Leviton turns itself off and you cant' turn it back on with the unbound switch 😄
Error Publish 'set' 'state' to 'Lightstrip TV Woonkamer' failed: 'Error: Command 0x0017880103ce03f5/11 genOnOff.off({}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (no response received)'
im getting those errors messages alot in zigbee2mqtt.. Does anyone know what this problem is? I also experience some weird issues with light buttons which doesnt change the state while the light turns on/off..
Also everything seems to be alot slower before i moved over everything from HUE bridge & deconz to zigbee2mqtt with conbee ii
Indeed--my point is simply that it's generally not best practice to regularly take routers offline, but everyone is free to do what they want of course 😄
im trying to do otherwise lol
I dont think I can save the previous state of the switch, i.e. force it back on when AC is cut
StartupOnOff is a cluster attribute, but I can't write it. And it's set to None.
If I unbind the switch, it works exactly how I want it to .. i.e. only controls the bulbs. but, if power is cut, the lights are permanently off because the relay is off :x
2022-02-16 12:04:03 DEBUG (MainThread) [homeassistant.components.zha.api] Set attribute for: cluster_id: [6] cluster_type: [in] endpoint_id: [1] attribute: [16387] value: [0xFF] manufacturer: [None] response: [[[WriteAttributesStatusRecord(status=<Status.UNSUPPORTED_ATTRIBUTE: 134>, attrid=16387)]]]
```
😢
Does this prompt in z2mqtt log (Data request failed with error: 'No network route' (205))' mean I have to pair the device again? I've integrated in in another branch that already has been removed.. Weird, because I can preview status, but cannot push anything to module
Well, the router it worked through might be dead too
Weird, everything else is working. I'll try to put it into pairing mode tomorrow morning, maybe this will help.
I've been messing a lot lately, mainly due to preparing dev/prod tenants. Lots of changes have been made to Prod, lots of changes have been reset. I need to to workout some routine in maintaining dev/staging/prod tenants at home, but it's hard hah
Hi guys, I paired the Philips Hue Play to zigbee2mqtt but when I use the MQTT integration of Home Assistant, I can only change the brightness. The devices supports many features like changing colors and other effects. How can I fix that issue? I've used the auto-discovery feature of the MQTT integration. Thanks
Hello guys, I have stupid question. What is the benefit control zigbee devices through zigbee2mqtt over ZHA.
They communicate over mqtt protocol or how its works. Becouse what I understand, when I have zigbee devices I can control them with ZHA addon, when reflash firmware on devices to tasmota, I can control them over MQTT addon in HA. Thanks.
Nobody know how to help me ? 😦
maybe good to know is that i got conbee ii with usb extension cable
13 hue light
1 ikea light
3 aqara xiaomi motion sensors
2 aqara temp sensors
1 Hue motion sensor
2 aqara door sensors
This all used to work great while i used deconz & hue bridge ( for hue stuff )
Have you tried deleting and re-pairing the LED strip?
Does anyone knows where I can find one of this 20A with energy meterging Zigbee? I can only find WIFI :S
https://s.click.aliexpress.com/e/_Ab0xvN
From a safety point of view, I'd steer clear of that one.
Shuko (EU) plug/outlets are rated for a load of MAX 16A.
Above that and the heat development is liable to cause some nasty burn risks
Not to mention whatever the fuse and cables are dimensioned for
@simple sentinel I have one that supports 20A for a year now, but its wifi, and I use it for charge my car with 3,4kw/h
wifi sucks
What you do in your own home is between you, your electrician and your national electrical safety authorities
3.4kw only works out to 15Amps, so you are fine though
and the plugs 16amps shuts downs when it goes 16.1
just if anybody gets one and magically thinks they should be able to draw 20A on an EU outlet, it might not be a good time
im not, ive try several zigbee plugs with 16ams
but what I see is, if the voltage drops, the W start to get hight and the amps get maximium 16.1a
then it shuts downs completly
thats why I did get a 20amp wifi plug.
i really dont want to use 20amps, i just want to use it for my car
at 16ams, 16.1
Well, for that manufacturer, the only thing they have on the zigbee2mqtt supported device website is not a smart plug.
Doesn't mean it doesn't exist, but no one has put it threw the process of getting it supported out of the box
Would it be drawing 16.1 constantly or is it during surges?
you are on 230v?
yes
but sometimes drops to 190v
and get 3400w
16.1amps
it the car demanding
the car charger is rated to have 16amp and 3.6kw/h
for a normal plug
sort of feels like the voltage drop is what is the biggest issue, to be honest
if it draws 3400w even at 190v, thats 18 amps, roughly
Do you have monitoring anywhere else in the house, so you could check whether the drop happens elsewhere?
You'd think the charger couldn't increase amp usage when the voltage falls bellow 215v though, sounds scary
Hey guys, I'm looking for a home assistant compatible/zigbee compatible led controller for single color analog 24v leds and I'd like to be able to connect and control at least 2 led strips per controller if possible, otherwise I'd have to buy 3 controllers for my 3 strips.
I was looking at Gledopto, but from what I've seen I'd need 3 controllers from them, which makes them a bit pricey.
Following up on this, it turned out that I have to restart module every time I restart z2m service. I just simply switch fuses for few seconds and I can control it again using z2m
then a bit more straight up question, can I use this https://www.gledopto.eu/dimmer-controller-zigbee-pro-series-eng single color option
to dim/control this
https://www.se.lighting/products/Max-40mt-120LEDs-Constant-Current-2835-Bright-LED-Strip-Lights.html
about 5 meters
given correct power supply
5 * 10W, should be fine with a 50W+ psu
does it matter that it's constant current?
I wanted constant current so I don't have to power inject on both sides
Didn't notice that, no idea what implications that has 🤷♂️
this message is from EVERY light iv got ..
Standard but I also tried zha and got same issue
I tried couple devices on 20 on zigbee2mqtt
But same aswell.. and changed back after 6 lights or so
Or do the old ones interfere?
i'm looking for a "mesh" network for that will basically be a string.. i want to set up something that can "propagate" through a row of street lights
i see that z-wave only supports routing messages across 4 "hops", does zigbee have this limitation?
(and i realize the reasoning for having this limitation)
is there another way of hooking up light posts like this? there's probably roughly 100 posts
I remember some time ago that there were some issues with the Sonoff ZB3 Dongle Plus stick with ZHA... Is it still troublesome or newer firmware is good?
Are you running zigbee2mqtt and zha at the same time?
Do you have the newest firmware?
Don’t think so..
But it worked good before I moved over to zigbee2mqtt
I’ll try clean install tomorrow..
If you want to keep zigbee2mqtt, maybe a change of the coordinator isn‘t a bad idea.
seems pretty great to me. I am using it with ZHA. I have 50 devices, planning for ~150.
But I flashed the latest firmware
glad to hear! do you have xiaomi sensors? those are usually picky
@golden vessel I've got the Sonoff plus with latest koenkk fw, and it works very well. Better than Conbee II with deconz.
Just moving them now.. I have them on a Conbee II with deconz, which is a steaming pile of 💩
I have probably 30 Aqara sensors, mayb emore
oh. I have my Aqara switches on ZHA + ZB 3.0 sonoff already
I've got lots of Xiaomi on mine, only one location has problems: a door sensor on a remote steel door.
Sounds like a magnet problem 😛
I tried putting a door sensor on my mail box, no go.
It is also a metal box.
Something like it. That it is cold probably also dos not help (battery)
This is so, so, so much better than my 2x Hue bridges, 2x Phoscon bridges ...
That reminds me of my experiment of putting a Xiamoi BLE door sensor on my back gate. it survived to -10C and then died.
and we never get -10C..
It survived our torrential rains
it might be working again but I got tired of ESPhome saying it was unavailable.
i very much want reliable outdoor zigbee door sensors. Right now I have HA setup to yell at me if my alarm is armed and its night time if it detects a person in my backyard or side of my house, but I would also like to do the same for my gates.
With all the cats roaming around nex to my house, I probably mwould goncrazy with a setup like this
That's why it's only for people
My Z2M integration stops working every couple days, I'm using the Zig-a-zig-ah stick from electrolama and get the following error log:
Zigbee2MQTT:error 2022-02-17 20:31:41: Error while starting zigbee-herdsman Zigbee2MQTT:error 2022-02-17 20:31:41: Failed to start zigbee Zigbee2MQTT:error 2022-02-17 20:31:41: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions Zigbee2MQTT:error 2022-02-17 20:31:41: Exiting... Zigbee2MQTT:error 2022-02-17 20:31:41: Error: Error while opening serialport 'Error: Error: No such file or directory, cannot open /dev/ttyUSB0' at SerialPort.<anonymous> (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/znp/znp.ts:146:28) at SerialPort._error (/app/node_modules/zigbee-herdsman/node_modules/@serialport/stream/lib/index.js:198:14) at /app/node_modules/zigbee-herdsman/node_modules/@serialport/stream/lib/index.js:242:12
Help appreciated!
Only solution is unplugging the usb stick from the 'server' it's plugged into, inserting it and completly restarting the host
@hazy kayak that's not an issue with Z2M, that's the USB stick dropping from your system.
also they recommend you use /dev/serial/by-id/... and not the /dev/tty... entries.
An other stick than conbee, see the sticky notes
I have one bulb out of 54 Hue bulbs that will not for the life of me add to ZHA. I can even re-pair it with my Hue hub, via serial #. No problem.
The good ol' Hue dimmer remote reset trick did it.. wtf
definitly use the by-id if you have more than one device. Had issues with zwavejs conflicting with zigbee2mqtt after a reboot due to tty ports swaping
dimmer for outdoor usage? doesn't need to be anything IP-fancy, as it will be put in a box, but it needs to be able to handle temperature variations.. i want to build up an outdoor mesh network with around 170 nodes.. all nodes will be mains powered..
@shadow valley Your message has been deleted as it contains a link or a domain name 'pasteboard_dot_co' that is on the blocked list because of: 'Virus detected!'.
Please re-post by removing/changing the domain name/link. Your original message has been DM'ed to you.
Have you done any POC to make sure 50m works? Very interesting project!
no, i need some devices to test with first .)
but this is outdoor.. 2.4 GHz outdoor should be quite doable.. and the mesh technology should help as well, no?
25 what?
Meters
ah.. of course 🙂
which devices?
and what do you think about doing this in a "string" topology?
Tradfri bulb on the outside of my house in a metal housing to a aqara door sensor on my metal mailbox, plus up to my neighbours house and inside her kitchen to a hue strip
So I have 25ish meters two different ways
are there any outdoor floodlights that has zigbee built-in?
oh, interesting
"The Pro version has a higher wireless range (up to 30m instead of the usual 20m), improved ZigBee Mesh function."
hm, that won't do
so i need a very good radio built-in
Hello, i'm trying to setup another zigbee network with Zigbee2MQTT, however i already have a homeassistant running that.
What should i look out for pan_id? anything more.
its also on the same lan network.
Do you have two coordinators?
I have 2 zigbee usb that controll the zigbee network yes.
The device is a raspberry pi the one i want to make another zigbee network
wickedly expensive for this use case
especially since we need 170 🙂
we need something that's less than 100 USD/EUR
i guess it's possible to get some discount based on quantity, but still 🙂
yeah, i found the gledopto earlier.. but the range of just 30 meters won't cut it
i just deleted and re-added my MQTT integration, devices show up but the entities do not, i.e. a light bulb is there but no light entity, any idea what causes that? It’s only affecting Zigbee2mqtt devices
anyone know of a zigbee dimmer for LED lights that also has an external antenna for better range?
i see this: https://www.isoled.shop/en/led-technik/zigbee-mesh-1-channel-switch-800va--1-10v-dimming-output-external-antenna-113700.html but that specifies 20 meter radius
i was more hoping for 100 meter outdoors
So you are looking for LoRA
what kind of devices are available for that?
i need a dimmer of some kind
and how can i integrate that with anything ?
and can i build a mesh lora network?
No, LoRA is p2p or gateway + child devices
But in theory 10km range
Without LoRAWAN
Hey all, been a while...!
I'm having a problem with Z2M that i was hoping someone could help with.. I run a Tubeszb ethernet coordinator.. and in z2m i'm trying to set the pulse_configuration on my energy monitor (via the gui).. but i keep getting the below error
Publish 'set' 'pulse_configuration' to 'Frient Energy Monitor' failed: 'Error: Write 0x0015bc001b022574/2 seMetering({"develcoPulseConfiguration":2000}, {"sendWhen":"immediate","timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":4117,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Data request failed with error: 'MAC channel access failure' (225))'
what is a gateway in lora?
Googling seems to indicate to move the zigbee stick away from the pi.. but i'm actually using neither so i'm a bit stuck
While it would be a super cool project and it hurts me to say this. But have you checked if there are any ready made commercial options?
No idea what options there are, but there are lots of street lights around the word that are controlled somehow. There must be solutions out there
😅
of course, using some kind of cellular-based technology.. and then get 170+ subscriptions.. but.. no 🙂
what is NAN communication?
looking for a good zigbee ledcontroller if possible 12 or/and 24V, germany , read that some make highpitchnoices when dimming want to avoid that and dont wanna change the elko inside it
hm, what about power line communication?
since all this is mains-powered and on the same circuit
just to be sure. updating firmware on a conbee 2 in a different pc does not remove the devices its connected to right? im running z2m on a rpi4 and i just to unplug it and update it in my windows pc
Maybe zwave can help
Lower frequency = higher range
You need to use an extension cable for ur zigbee stick
i had all sorts of weird problems until i did that
z-wave is limited to 4 hops
Yeah, that's what i also found
I don't use a pi or a stick.. as i said i run an ethernet coordinator
Also more expensive
oh yeah i can totally see i misread that
lol no worries
sorry
i've resolved it now i think
rebooted it and it seems to of kicked in.. it might be the route it was taking
Anyone used power line with several devices? Or is that p2p?
yeah make sure u dont have any routers inbetween that can be powered off
i had problems with a bunch of bulbs that were mains powered and close to my coordinator... if they were off nothing worked
So basically KNX?
Yeah but 100metres range outdoor
So if every device is connected directly to coordinator it would work
Directional zigbee antenna could also be an idea
what are you trying to do? connect a different building to ur zigbee network?
https://i.postimg.cc/fTx1zXPF/poles.png connecting 170+ nodes like that
This is in a forest, but with paths cut out under the lines made out by the points on the map. The dream is to be able to adjust each light individually. So this is like light posts/street lights, only in a forest.
Probably too many trees obstructing. See my link as well
someone also suggested LoRa
all are mains-powered, so power is not a problem
that's why i was also thinking about powerline
and stuff like KNX?
so if LoRa has the range.. then i could maybe set up some kind of star-based topology and set up one gateway that all 170+ nodes connect to? kind of like wifi?
If you thought z-wave is expensive, wait untill you see KNX pricing 😅
someone can recommend any of these ? https://www.zigbee2mqtt.io/supported-devices/#s=led controller
want to dimm it alot without noises
I've got the Gledopto ones, can't say I've heard any noise from them
i just looked at these earlier today: https://www.gledopto.eu/rgb-change-color-temperature-zigbee-spotlight-floodlight
@sour shadow you know alot about everything.. what's your immediate suggestion on how to connect all these nodes: https://i.postimg.cc/fTx1zXPF/poles.png ?
Wet string
The real answer depends on your budget and physical limitations. Zigbee is likely to struggle to build a (single) reliable mesh, and other mesh networks are likely right out. If you can deploy remote coordinators then maybe you could build multiple meshes. Wired is likely to be better here.
No idea, we're back to budget
cheap as possible 😉
Then you are, to use the technical term, fucked
Even PoE is going to be a challenge here
PoE is limited to around 100 meters, well?
the longest stretch would be several kilometers if you want to run poe centrally
Yup, 100 meters
Which will have major issues with the trees
LoRa was a bit intriguing
ty alot guys
LoRa is likely one of the few wireless technologies that'll handle the environment well enough
At least until you get into the professional stuff
The kinds of things folks who do smart lighting for, say, stadiums would use
but you said "until"?
Yes, because consumer stuff isn't designed for noisy/high loss environments
So, if you go up to the expensive stuff, it'll cope better
Your budget won't allow that
ok, so you mean cheap/consumer stuff won't be able to handle this environment particularly well?
but LoRa isn't mesh at all? it's star topology?
hi. sometimes my zigbee thermometers stop reporting new temperatures for hours on end. in which order should I restart the following, to restore functionality? I have a coordinator (z-bee duo, on LAN), zigbee2mqtt, and mosquitto
This is likely well into #hardware-archived territory
ah!
I have added a crontab entry to restart mosquitto everyday and that had fixed my issues, but today nothing works 😐
it had been working fine for weeks
Restarting is a bad choice
Try troubleshooting the problem instead
One thing to do is replace the batteries
they're reporting 100%, the devices are only a few weeks old
Doesn't necessarily mean much
my zigbee contact detector is reporting its state fine
Looks like I had to pair the thermometers again
Hi,
I just paired an IKEA on/off button with a ConBee II over ZHA and all seemed ok. But now whenever I press the two buttons some of the lights turn on and off even though I didn't create any automation.e emparelhado directamente com elas. It's as if they were grouped automatically. I found that some strange groups called no_name_group_0xFF0 were showing up in the logs. So I went to ZHA integration and deleted all those groups. But it's still happening. I don't know what to do.
I already tried several times to delete the device and pair it again, to no avail.
And idea on why this is happening? Please help. Thanks!
what is the remote?
some zigbee 3 ones will use a global broadcast if they aren't bound correctly
Hey! So if I want to add more sensors etc to my HA and want to use Zigbee.. I just buy a ConBee II USB Zigbee-controller and then start to add the sensors? Do it have good range?
There was a Zigbee Hub M1S - Aqara as well.. do it also have the ability add sensors to?
yes
You have to use routers to have a good range
zigbeemqtt works great with it.
Ah ok so my router decides the range?
Routers are mains powered devices like bulbs and smart plugs
I'd consider other coordinators too though
To have only sensors is not a good idea and if you haven’t bought the conbee already and you do not want to use deconz see the sticky notes for a good coordinator
Buy something CC2652 based. This list is a good one, both Tube and Electrolama have been proven to have excellent customer service. The current generation of EZSP sticks (see here for some) are also a good choice for ZHA.
Anything CC2530 or CC2531 based should be avoided - they're old, slow, and only suitable for a dozen or so devices. The Sonoff ZBbridge isn't advised since it uses WiFi (built in interference causing stability/reliability issues), and the HUSBZB-1 uses an older chipset so should be avoided.
Finally, the ConBee range are fine with deCONZ, but experience with ZHA and Zigbee2MQTT appears to be mixed.
Hm okok thanks! Will look into this
Hey I have and Aqara motion sensor connected to HA via zigbee2mqtt using a zzh usb dongle. This has worked great to turn a night light off, but now it suddenly just stopped working. I haven't changed the automation at all and either way the entity does not register and movement. Any ideas?
Most likely the battery died or it dropped off the network
hi! i restored home assistant from a backup (on a separate server, but with the same zigbee usb/hub) and all but ~3 of my zigbee devices are unable to connect. am i missing something obvious, and can i fix this without re-pairing everything? i'm using ZHA
anyone tried that tuya zigbee USB router/range extender? i'd be curious if people have had a positive experience with it as i have an always-on powerboard with USB ports already right where i'd want to put it to help some of my low-LQI devices
Why not use a normal zigbee stick as router?
Is the coordinator properly recognized?
yeah
I have moved some Lidl/Livarno 💡s over to HA, mostly without problems. The repairing, though, means I can't use them in the Lidl Home app any more. Q1: is that normal?
Because of this, I have another 💡 that I haven't moved over yet, as its controlled by the little 4-button remote control (also Zigbee). I need that to continue working for other people in the house. Will that need to be re-programmed through HA instead, if I move the bulb to HA?
(If it matters, I'm using a mains Lidl hub and a ConBee II stick with RPi4.)
Yes and yes
@thorn bison things can only be paired to one controller (your hub or HA). But once both the buttons and the lights are paired in HA you should be able to connect the light directly to the button again
hi all, is there a way to force zigbee devices to reconnect to the coordinator/HA (using ZHA) I find that if there are any network issues in my network , i lose all/most of my zigbee lights. sometimes turning them off/on at the switch works, but sometimes not (and what would happen if you change all the light switches to zigbee switches instead?)
Is your coordinator if is usb on a2.0 extension?
And have you watched out for interference with wifi
And I have 80 lights or so
What coordinator is this, and what lights is probably a better question
Thanks to you and @jolly python. (I wanted to check, as I have a couple of older LIFX lights, and they manage to be paired in HA and their own app still ... but then they're not using Zigbee ...)
Anyone actually get motion events out of the Sonoff SNZB-03?
lol omfg. they send 'clear' events even when motion is detected.
bah i have 5 of these
Do not buy Sonoff
And preferably not tuya
their new stuff uses cc2652p, it's not proven but I would assume that fixes any issues there was. Not sure if they already sell those or if they have old stock tho
I have some Lidl Zigbee bulbs connected via the ZHA integration. There was a power cut here, and when the power came back on all the bulbs turned on (they were off before the power cut).
Is there any way to control this - either have them be off when power is resstored or to restore the previous state?
I'm not sure if the bulbs support it, but is there any documentation on how to set the default power state using ZHA? Everything I find appears to be for Zigbee2MQTT.
If the zigbee2mqtt docs say it can be done it can probably be done with ZHA too
But i dont know zha
Depends on if they decided to include the OTA cluster for the possibility of fw updates, unlike all their current stuff where based on no ota cluster they considered them “perfect”
https://paste.pfak.org/c7apkWfR
I wrote this to set the power value when I add the bulb, but you can read it and use it to set it for existing bulbs. I think you could also use a for devices loop to loop over all your existing bulbs and set it..
Thanks for that. I've tried calling the service for one of the bulbs and it doesn't appear to have worked. Under Manage Clusters in the ZHA config, when I click Get Zigbee Attribute for the start_up_on_off (id: 0x4003) attribute it displays None as the value, so I assume this means that the bulb doesn't support it and I'm just stuck with this behaviour?
Does not support.
If your server also restarts at power failure you could use that as trigger to turn off all lights that not support power on behavior
I am trying to connect a new Zigbee thermostat to HA using ZHA but it does not expose any entities, such as temperate set point and current temperature. Any reecomendations on how to debug this? Will I need to create a ZHA qwuirk?
up, please help
ZHA? Zigbee2MQTT? deCONZ?
Aqara
I think ZHA means zigbee usb, if so, then yes
It does not
ZHA is the home assistant core ZigBee integration, zigbee2mqtt is another one, and deconz is yet another one
If you don't know you are probably running ZHA
the last 2 sound no familiar, so I think the 1st one
sidenote: HA can extract 3 metrics from the 5 it can monitor via tuya (maybe important, I do 't know). Via ZHA it shows up only as a router, without metrics (entities)
any idea or procedure how could it be corrected ? maybe I shall dump something and upload that to help HA development for this ?
How long can we expect ZHA to take to populate all entries as being available after a restart of HASS? I have 105 devices paired and it's taking ~2 minutes.
Not Sonoff, Hue .. Aqara aren't bad.
What's "from cache"?
ZHA serially initializes Zigbee devices?! https://paste.pfak.org/QGlh9R4x
Yeah, I also have like ~ 80 Zigbee devices and I think it takes up to 5 minutes for me.
It's also possible that a couple of devices are offline (and it's possible that that's increasing the startup time dramatically).
This has to be a bug ..
It loads zigpy application state for the devices
and then proceeds to serially initialize them 😐
2022-02-20 16:03:05 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x9EA4](LST002): started initialization
..
2022-02-20 16:03:10 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x9EA4](LST002): completed initialization
async_initialize_devices_and_entities specifically skips using the cache (use_cache=False) for mains powered devices, which is what I assume the "restored" is .. would be nice if you could specify a delta, or.. if you could specify how many devices were initialised in parallel ..
https://github.com/home-assistant/core/blob/dev/homeassistant/components/zha/core/gateway.py#L212
I wonder if there is a reason this is hardcoded at 2?
Increasing it to 4 cut the initialization time in half
anything over has no affect as its waiting for devices to timeout before proceeding.. sigh
It’s not serial
The calls are throttled in gather calls
the reason being the network can’t handle the traffic. You’ll see that by increasing the count in the semaphores
and the init time will not improve much
For your coordinator… which is brand new. There are lots of folks using much older coordinators
Has to be offline devices… I have 151 devices and init time is 15-16 seconds
Do you have bulbs or other mains devices that are physically powered off?
Why are there timeouts… that’s the real question
I am working on something that will make things “better” but it will most likely require a migration of sorts
Oh wow, I should probably replace the batteries in some IKEA remotes then.
Also, since I mostly have bulbs in my network, do they need to get polled first when ZHA initializes?
I remember that some time ago (possibly still the case), my network got totally spammed on startup, since every bulb was polled (thus possibly delaying the initialization of all other devices)(?)
and it’s still a ways off
We don’t query battery devices on startup. Just mains
ah yeah, makes sense
huh, I don't think I have any offline mains devices though, but I'll go through the logs later
Any trace logs you can provide would be helpful
make sure the radio lib is on debug
so we can see what’s happening with the network traffic… 5 mins is rough
yeah, I haven't had much time lately. I also still want to check the hue "failed to unpack" LightLink thinh
Also, the init order is irrelevant
nothing special there
they’re only grouped by type (mains / battery) to reuse code w/ inverted flags
so the init code is shared and we just change the flag that goes to cached state or live device reads
I have offline mains devices.
@tropic depot Why does then read the cached status for mains, then not use it? (And why does it need to wait for all mains devices to respond before them being available? Or is it just blocking on timed out devices before iterating through the online ones?)
(And is there any danger in increasing the semaphore there? )
When changing channels in Z2M do you need to do anything extra apart from changing it in the addon's config?
can't tell if the error is because I should be doing something more or unrelated

"the error" ... you know better than that 
But yes, you do, you have to delete the coordinator backup and re-pair everything
I'm on 3h of sleep apologies
As much as that?
Do omnipotent/omniscient beings sleep even?
Sleep is a myth
It's like hassio it doesn't exist but it does
how does hue manage to change channels without re-pair? is it coming to othe z* implementations anytime?
guessing they use a sidechannel
that sends a message about the new channel before it is changed
so this is a thing in the spec? or is it cheating?
I'm guessing it is propritary
but @vestal atlasprobably knows, he always knows what I don't know 😢
But all hue compatible devices seem to also could do that
Except green energy harvest modules
Ok the tuya gateway can‘t do it as it seems
Nope, and I gave away my hue hub :(. It would be interesting to try to sniff using 2 sniffers for the 2 channels and see whats going on
Is it possible to get acces to a tuya firmware update if you have the hub and update a device with it
i have a hub and a spare conbee, if sniffing is possible I can get you the output? never did that
I should repurpose my cc1352 and zzh soon as routers, they are just in my drawer currently
I'm probably not the most quialified to figure it out. I've only used nrf52840 for sniffing, and only enought to figure out what the network is doing and to add feature to a device.
It's also a bit involved to sniff from a network if you don't know the network key as you first need to sniff out the key while pairing a deivce to the network
If I pick channel 25 and have one of the APs in the house on CH11 would it still have potential issues? (assuming of course only 20Mhz on the wifi)
Those channels are as far apart as they can be so you'll be fine. Just don't have your zigbee coordinator cuddling with the AP 😅
80/40mhz seems to be interferring according this though? I always see this when I look up that matter 😛
https://img.community.ui.com/5f743aa0-9c43-44fb-8889-afd9eccba833/comments/d1ae2c9e-9162-47e2-abcc-12e54862b200/82ccb020-c270-45fc-995c-f837ada4f9c3
I have that bookmarked haha
Channel 25 would be interfering if I had 40Mhz enabled on channel 11 on the wifi yes
but since it's only 20Mhz I was hoping this should be fine
But was wondering maybe it's still close enough
oh, sorry! I read channel 1 🙈
You are only in the sideband lobe so should work
See sticky notes
Cant you change your aps to a channel 1 and 6 configuration
There are 3 in the house 1/6/11
was at least considering changing the one closest to the coordinator to not be the 11 one (don't remember which is which)
Z2M was been having some issues with devices so wanted to see if it's because of interreference or not
and this is a new coordinator / house so no mesh yet. Literally just 2-3 temp sensors
No mesh is bad, how far are the sensors away
2-5 meters give or take
someone built a router firmware for the zbbridge to just join the mesh and repeat
amazing
can't say that without giving a link
more importantly it's signed by itead/sonoff so it can be flashed over serial and doesn't need jtag/swd and a new bootloader. still wary of the possible interference from the onboard wifi.
I honestly think 2.4ghz 802.11x coexistence issues are overblown by the community, but thats just my garbage opinion 🙂
have troubleshooted countless issues with customers.
I think the bigger issue with zbridge is that people try to use it over wifi with the serial integration with ZHA 🙂
I think a lot of developers live in SFH in the middle of nowhere with zero other 2.4ghz traffic, but like .. if you're in the City, my last building there were 80 2.4ghz networks in range, and zigbee just .. worked. mostly.
I think the coordinator's antenna is faulty in this one at this point
50LQI next to the coordinator and failing to pair further away doesn't sound good
Wich coordinator do you have
Okay, have you already checked which channel the next ap has and do they have sufficient distance
Coordinator to ap i mean
Maybe you can temporarily deactivate the aps to be sure it isnt interference
distance wise I think it's OK since the AP is up in the ceiling
whereas currently coordinator is down here
I've yet to look if the closest AP is the one on channel 11
don't base your judgement of the network quality on a single sonoff end device. Have you tried with some other device?
the one I tried further away was an aqara temp sensor that wasn't pairing at all
After re-pairing like ten of these:
Hold the button in for five seconds, then release, then press the button again and it will pair. They're really buggy.
I have a Nortek zwave/zigbee combo coordinator at the moment and about 50 total devices with a split between zwave and zigbee. Looking long term for when I inevitably have to upgrade, is there not a straight forward way to back everything up and just drop it on the new coordinator or would it require a full re-pairing of each device and full setup again? In this case I'm using ZHA.
Does ZHA allow to pair with wifi devices? I got a sonoff bridge, which originally says it supports both wifi and zigbee protocols. Flashed it with Tasmota, connected via ZHA. Is it supposed to be able to pair with a sonoff wifi plug? Or does it only support Zigbee devices now?
The bridge itself doesn't pair/control WiFi devices. You can just use the ewelink app with both WiFi and Zigbee devices if you have the zbbridge with stock firmware
ah, I guess I misunderstood what it does, thanks
You can flash ESPhome on the S31 plugs 🙂
|| Or Tasmota ||
Hi All, quick question before i start doing more research/debuggng.
in the last 24 hours my ZHA switches (LUMI Connected via Zigbee Coordinator, tasmota) have been missing someevents (been installed about 6 month with no issue)
both my wife and i have noticed that we walk into a room, hit the button to turn on a light and nothing happens, we press it again and it works no poblem, pres it a few more times and still no issue. then (probably the amount of time elaped) it misses it again and we repeat the same results as above.
Home Assistant 2022.2.9, battery is at 80% on battery powered switch. i have also just noticed that its saying its a temperature device now and has a temp of 24oC (not correct as room is 19.6oC. i have tried to reconfig device but it instantly says "Device reconfiguration complete". any advise on here to go next with debug. thanks in advance. (happy to be told what room to move to if this is wrong room)
Home Assistant 2022.2.9, battery is at 80% on battery powered switch. i have also just noticed that its saying its a temperature device now and has a temp of 24oC (not correct as room is 19.6oC.
Red herring. Those battery powered switches don't really report valid metrics.
Mine report 26C in the house,a nd it's like 20C 🙂
My aqara door sensor is solid
Sitting outside on my mailbox
Reporting down to -15c so far this winter
its not a temp sensor thought lol its a 1 button switch lol
Yeah, the devices with internal temperature sensors are only reporting their internal temperature, which is going to be hotter than the room
mine has been perfect also and onyl in last 2 days is it sometimes missing first press, then working fine if i pres again
or 2 seperate devices we noticed it on so far
both my wife and i have noticed that we walk into a room, hit the button to turn on a light and nothing happens, we press it again and it works no poblem, pres it a few more times and still no issue. then (probably the amount of time elaped) it misses it again and we repeat the same results as above.
I also have this problem.
at least im not the only one
I've never had problems with any aqara buttons
I had zero button press drops with deconz + phoscon, but I am just migrating to ZHA w/ a Sonoff Zigbee 3.0 and now I am having problems.
Running zigbee2mqtt and a proper mesh in place
My button has worked first time every time. The "wall switch" is more hit and miss
Xiaomi WXKG06LM
to be clear, im talking about 2 wall switches sorry
I have 9 aqara and tradfri switches around the house, 11 if you count the symfonisk rotary ones
yes those are the ones I am using @sour shadow , it was fine with phoscon not so great with ZHA
https://mail.pfak.org/upload/U0uQiKH1WrtarR4y/fdf562f1-5ec5-475d-b26a-77efe2343833.png Is this a "proper mesh"? 😉
mine are the aqua d1
You'd be surprised at how many people come in here with a Conbee and 3 end devices on either side of the House
lol
I am at ~113 devices, and will be adding another 9 when my Leviton zigbee switches show up (=
I have around 120 these days, still a few in boxes
my switch has RSSI: -63 to the controller and my controller -30 to router so not out of range
-63 is pretty low
I have devices with an LQI down around 10 that work reliably
from what i read its not
-50 dBm Excellent, -60 dBm Very good, -70 dBm Good
and i would imagin if this new issue was anything to do with signal it would be more of an issue than the odd time on first event
will have to see how it goes and if others who can do much better debugging than myself get and see the issue
Anything below 65 we would call useless and employ more access points for wifi at least
what referance are you using for this evaluation as this data does not agree with you. (i do not have an opinion other that the link as i do not have rssi experience)
https://www.netspotapp.com/wifi-signal-strength/what-is-rssi-level.html#MRSSI_level_and_a_signal_strength
rf has a bit more science to it, it's not always reporting correctly and does not always reflect reality
I can only go from personal experience working with wifi deployments for 20+ years
On small and large scale sites
i fully accept your experience and dont want to sound like i am questioning it, but i wonder why are you thinking the issue may be signal when for the last 6 month its been fine, and still fine 99% of the time and only issue on first press every now and then.
to me seems very funny the issue started the same day the system upgraded to 2022.2.8 (could well be a coincidence, also node red upgraded the day before to 11.0.2)
just fyi the controller and the switch are on the other side of the hall from each other with a hollow wooden door in between (about 2.5 meters apart) in checking this detail I note that the switch is in fact connected to another controller (SA-003-Zigbee) directly below but this is via floor to garage (is there a way to test by forcing it onto the ZigBee hub
do you have lots of snow now? far fetched but water also resonates with 2.4ghz
none at all, and why would it work every other time, to me its more like deep sleep wake up if i didnt know better, but the software on switch has not been updated nore the hub
thanks for your thoguhts anyway guys, at least im not the only one started getting this issue, if i have it and pfak also said he has it im sure others will 🙏
Hi! Thinking of migrating from deConz. Using Conbee 2 stick. What is recommended now?
Poor Norway, we have snow 9 months a year 
@tardy tapir Buy something CC2652 based. This list is a good one, both Tube and Electrolama have been proven to have excellent customer service. The current generation of EZSP sticks (see here for some) are also a good choice for ZHA.
Anything CC2530 or CC2531 based should be avoided - they're old, slow, and only suitable for a dozen or so devices. The Sonoff ZBbridge isn't advised since it uses WiFi (built in interference causing stability/reliability issues), and the HUSBZB-1 uses an older chipset so should be avoided.
Finally, the ConBee range are fine with deCONZ, but experience with ZHA and Zigbee2MQTT appears to be mixed.
Thank you 🙂
so, if I already have the stick I want - what software should I use? ZHA?
Whatever you want
so, no reason to switch from deCONZ to ZHA? I have two conbee 2 sticks so I can migrate slowly
I don't have any experience with deconz so I can't speak to that
I've read development with deconz moves at a glacial pace though
typical recommendation around here is ZHA or zigbee2mqtt
they seem the best supported and support the most devices
Seems there are some things zha isnt able too, that deconz and zigbee2mqtt is
there are some edge cases yes
thank you very much!
Green energy module, power on behavior, properly treatmeng of power plugs with energy measurement
it is a bit weird. i popped in my second conbee2 stick and it discovered a lot of devices connected to the old conbee2 stick on deConz. is this expected? can the devices report to more than one stick?
Does anyone know how to stop an Ikea Switch outlet from being a repeater/router? I have a few that get moved around the house randomly (every week or so) and there are sensors that attach themselves to the switches, when the switches get moved the sensors lose connectivity. Alternately, is there a way I can force a route for the sensors? Im using Z2M
no
a device reports to only one coordinator... unless you used the same network key/pan id (then you're on for some wierd behaviors)
thank you
if a router is disconnected/moved the end devices should find an alternate route by themselves. That's how Zigbee is supposed to work. It's known that some Xiaomi devices won't switch routers on their own though as they don't respect the zigbee standards but for others that should be seemless. Have you tried to wait a few hours to see if the devices rejoin the network on an alternate route?
Thank you!
Hey everyone,
I am building a new house in australia and want as many smart home automation options as possible.
Would Zigbee provide a large portion of products that I can control directly through a Home-Assistant attached to my wall in the kitchen living room? The main dashboard type thing.
Hey guys - Recently started my migration from the Xiaomi gateway to a CC2531 using zigbee2mqtt. So far, I like it and it has been quite stable.
I'm having a hard time removing the devices from the Xiaomi gateway integration after migrating them to z2mqtt. I tried calling the Xiaomi remove device service from home assistant - call the service, hear the chinese prompt, but the device fails to delete. I've tried pressing/holding the button on the device after calling the service too, but it doesn't seem to work in removing it. I searched for quite some time and can't find a straightforward method to remove these entities from the Xiaomi integration individually, so I have just been disabling them for now. Any help is appreciated!
Wont help with your problem but the CC2531 is a bad choice as coordinator
Probably the worst currently
what is the best way of swapping zigbee sticks when running zigbee2mqtt? Will it be possible to run two instances of zigbee2mqtt (one for each stick) and slowly migrating nodes from one to the another?
I have an Aqara/ Opple 4 button switch. However some of the buttons trigger other Zigbee devices. Like switches and lights. How can I trace what is happening?
That sounds like a binding - which Zigbee integration do you use?
Deconz
Can I reset it somehow. Or check in Deconz what is wrong?
I know nothing about deCONZ - their Discord should know more
i just found this visualization map of the zigbee network in ZHA, any idea what to colours and numbers represent?
and, for some reason, the devices are mostly connected to my E27 light bulb instead of my zigbee coordinator, which i thought would make a stronger signal.
Granted, I did the pairing when my dongle was in the storeroom, before I moved it out with a 3m USB extension wire.
Do I have to delete and repair them or something
or is it actually okat?
yeah they do. just wondering if it affects latency or anything
I mean, it will, but a single hop is unlikely to be a thing you can measure
i see. if things work and I do have a spare dongle to use as a repeater/router, does the zigbee network automatically adjust itself?
i mean, i do have one more of this https://sonoff.tech/product/diy-smart-switch/sonoff-dongle-plus/ as spare, haven't taken it out to use as stuff worked..until i saw the zigbee network map
The answer is complicated, since it's up to the manufacturer of each device
Generally speaking devices that are routers will be likely to re-route as they need, and most Zigbee 3.0 stuff seems to. Xiaomi are one brand known for their end devices being sticky (won't change parent).
interesting. i read about that sticky thing but haven't faced it then. guess there's no real need. wish there's a documentation to read what the numbers represent though, tried googling but couldn't find any info
For the LQI?
0 is really bad, 255 is usually really good (or may mean that the system has no idea)
not sure what LQI means. but the mesh network inside ZHA, under visualization
it doesn't say LQI or anything. would be nice if they labelled, haha
No idea, don't have ZHA, but the numbers are generally either LQI (a positive value between 0 and 255) or RSSI (a negative value)
those refers to zigbee signal strength?
there's also something like, 60/98, whatever that means
Those are likely LQI values then
https://imgur.com/a/ZsQ0eHn putting here if anyone else does use ZHA haha
ahh okay
higher better? oo
0 is really bad, 255 is usually really good (or may mean that the system has no idea)
was assuming the coordinator being the strongest antenna, i thought lower is better. haha. thanks. probably have a misconception somewhere
hey guys, I've got a lot of ikea tradfri buttons, switches, etc. Like E1743. Is it worth updating them OTA? Any benefits?
stability, battery consumption, features, zigbee 3.0
updates aren't released just for fun
I get that, but like my batteries are good for a year, I won't waste 20% for an OTA to get 3% better battery life for example
i mean can i do it through HASS? ive been trying to find a way of spinning up another Zigbee2MQTT instance but cant find it.
Ive got quite a lot of Zigbee devices, so if possible i would like to avoid "switch off zigbee, change the dongle, re-pair all the devices, switch back on" approach
If you're using the Z2M add-on you'd need both standard and dev
I've migrated from CC2531 to CC2652 simply by shutting down Z2M, swapping sticks, updating the path, and then starting Z2M
Copying the IEEE address is good to do, but depending on your devices you may not have to
https://ibb.co/6nXdB90 How do i make the ID in Home Assistant change? This is zigbee2mqtt assistant
I think it wasnt available when i set this up like 2 years ago
Ill have a look at that
That has a nice little option when you rename an entity in the native UI
@jolly python appreciated, but it was sitting in a drawer and seems to be working just fine for me right now. I see the new ones in the bot suggestion, so will definitely start looking for a new one if this one takes a dump.
still can't figure out a "clean" way to remove the devices from a xiaomi gateway after migrating them to z2mqtt. The mi home app doesn't work anymore, presumably because I have had it firewalled off for so long lol
Except broken implementations like Aqara, yes.
So, I've been looking more into the ZHA startup timing issue. I think the real kicker is the init of the devices takes place in the startup phase of the integration, so ZHA doesn't report itself as finished startup (and thus can't use the cache) while it iterates over all mains powered devices.
ZHA startup timing issue..what's this about?
I've only recently noticed a latency with Alexa on the first command after some idle time with my zigbee devices, and thereafter a lot faster.
Not sure if it's on the zigbee side, alexa side, or both.
is z2m broken with latest HA core and OS ?
I have 113 Zigbee devices. The devices are initialised in series (there's a sempahore of 2 but it doesn't seem particularly effective). Some of the mains devices are offline (because nothing is perfect, people flip light switches, the cat unplugs things, yada yada..) so 5~10 offline mains devices causes startup to take up to 5 minutes.
and ZHA integration isnt available until every device is initialised or times out
The OS version won't matter, just starting up my test HA instance to see if 2022.2.9 is happy with MQTT
Yup, working fine
i had to restart z2m manually 3 times ....trying a restart of HAagain
I just started HA and everything was working
maybe it takes a while for everything to settle after the update
Once MQTT has fully started it should just work
Does z2m stop working until all devices are initialized at startup? I am loking at alternatives to ZHA.
Because, while I can fix ZHA by forking it, I doubt the changes will be upstreamed (based on previous conversations with someone who seems like one of the maintainers.)
Not as far as I can tell, but startup is fast
Also, being separate from HA means that HA restarts don't impact it at all
Nice.
The only issue being that nobody has written a migration tool from ZHA to z2m, so I'd have to re-pair everything.. or write a migration tool?
guess it was isolated to the startup after updating HA. sorry for stirring things up
create an issue - you never know. plus more things in zha are being worked on for taking it out of HA.
icic. i don't have that many devices didn't know this is an issue
Hi Trying to flash a Sonoff Zigbee 3.0 USB Dongle Plus. Using the Texas SmartRF Flash Programmer 2, pressing the bootloader button (closest to the USB ) before pluging in and relaeasing a while after) I get the error ">Connecting over serial bootloader failed: No response from device. Device may not be in bootloader mode. Reset device and try again.
If problem persists, check connection and baud rate.
Failed to create device object." When using Python method with cc2538-bsl.py I get an error "ERROR: Timeout waiting for ACK/NACK after 'Synch (0x55 0x55)'" Have I bricked the Sonoff dongle? I can't get back into bootloader
Issue #62494 exists.
(But the issue isn't limited to Conbee II)
WiFi Smart LED
?
Oh sorry i was looking at the same product in zigbee version a moment ago, didnt realize this one is wifi
Hence why I quoted from the description...
Hue (=
I bought some Hue Calla over the weekend.
my original Hue bulbs from 2013 are still going strong
Anyone that can help with setting hue_power_on_behavior with z2m? im just getting a "Invalid message 'null', skipping..." so i guess my syntax is incorrect?
Is it not supported in Z2M's UI?
on this page it seems that i must send a publish command to it no? https://www.zigbee2mqtt.io/devices/8719514279131.html#philips-8719514279131
You can, but generally it's supported in the UI
where in the UI would i find this? Under Exposes on the device?
enable debug logging for the radio library and collect logs from your next restart
we'll definitely take a look
my previous comments were around the fact that this isn't consistent as I have never experienced it myself
if the issue is due to mains devices being physically powered off I am not too sure what we can do other than adding a setting to skip getting state at startup (which could result in the UI not matching the physical state of the devices)
For hue its not
I cant find it anywhere in the Z2M addon
You have to send a payload through mosquito
yeah thats what im trying but failing at
can you post the topic and payload?
topic: zigbee2mqtt/Hue white E27 LED bulb filament giant globe 1/set + payload: hue_power_on_behavior=on
You have to use the ieee adress
This device allows you to set the power-on behavior. Note that this requires at least November/December '18 firmware update of the device. Send a MQTT command to zigbee2mqtt/FRIENDLY_NAME/set with the following payload.
Payload: {
"hue_power_on_behavior": "on",
}
Im using the Developer Tools
You have to go to devices -> mosquito -> configure
debug Received MQTT message on 'zigbee2mqtt/Hue white E27 LED bulb filament giant globe 1/set' with data 'Payload: { "hue_power_on_behavior": "on", }'
error Invalid message 'null', skipping...
You have to use the ieee adress as the friendly name as far as i know
how do i find that?
thats no bueno, do you press the button when doing the python method?
In zigbee2mqtt ui
ah nvm
its not under the device itself its only in the devices overview
maybe that should be a feature request
oh it is
fucks sake im blind
but still it gives me the same error
debug Received MQTT message on 'zigbee2mqtt/0x001788010b08fe87/set' with data 'Payload: { "hue_power_on_behavior": "on", }'
error Invalid message 'null', skipping...
do you guys have recommendations on zigbee lightbulbs in the states? multi coloured preferred
You do not have written ‚payload‘ into the payload field, right?
Payload: {
"hue_power_on_behavior": "on",
}
Drop the ,Payload:‘
debug Received MQTT message on 'zigbee2mqtt/0x001788010b08fe87/set' with data '"hue_power_on_behavior": "on",'
error Invalid message 'null', skipping...
You can use friendly name in the topic, but the payload sure has to be valid json. We are getting close now 😅
Drop the „,“ at the end
Sorry didnt know that
debug Received MQTT message on 'zigbee2mqtt/0x001788010b08fe87/set' with data '"hue_power_on_behavior": "on"'
error Invalid message 'null', skipping...
sorry kids are screaming and im afraid my wife might kill them so i have to go attend that situation
You have dropped the {} they have to stay
service: mqtt.publish
data:
topic: 'zigbee2mqtt/0x001788010b08fe87/set'
payload: '{"hue_power_on_behavior":"on"}'
io is tired of our shit 😅
I was going to create a separate queue for failed devices, and let those continue in the background after setup completes ..
trial and error is fun and games, but fun time is over 😅
DM me and we can discuss
sure I'll do that, just let me get a better understanding of the code base first.
alright homocide averted
yay that worked
fucks sake just setting power on behavior and then publishing the brightness wont work
is the payload template option from the developer tools broken? im trying to send
{
"hue_power_on_behavior": "on", // default, on, off, recover
"hue_power_on_brightness": 125, // same values as brightness
"hue_power_on_color_temperature": 280, // same values as color_temp
"hue_power_on_color": "#0000FF" // color in hex notation, e.g. #0000FF = blue
}
but it says
debug Received MQTT message on 'zigbee2mqtt/0x001788010b08fe87/set' with data ''
error Invalid message 'null', skipping...
like there is no topic sent
Greetings ll
how do i decide what to use between ZHA Zigbee2mqtt or deconz?
Easy ... don't use deCONZ
and I a couple of devices showing as eWelink DS01s that show they have no entities but I cannot figure out where to remove them from
any assistance you can provide?
also avoid ZHA
After that, it's a question of ... do you want it integrated in HA, or separate from HA.
way too much stuff that isnt supported
Both ZHA and Z2M are solid choices, some people just have issues with either
Z2M is imo more difficult but has better device support
i had too many devices that wasnt supported in ZHA
like the Aqara temperature sensors
ok great so im a noob, i think i might have more luck with ZHA
You can always switch
if u havnt bought any devices yet just go with ZHA and buy devices that are supported
I am just not sure what the devices are as I changed all my sensors to Aqara door and window sensors.
months ago
device support is key imo
and everything that should be seen is seen
check if they are supported by ZHA
those are spec compliant and will work with zha I've tested them before.
did you already buy them?
https://imgur.com/tYkSUNh There are 2 DS01 devices showing, is there a way to remove them?
yeah a while back was using a wink hub. just got my sonoff dongle in mail and trying to set it up now.
ah okay
@opaque pike All my Aqara Temp sensors are supported by ZHA. All mainstream devices are.
i started out in zha where some devices didnt work. then moved to deconz where other devices didnt work and ended up in z2m where everything works but i dont know how to make them work
They aren't supported? I have like eight ..
(in ZHA)
they work in deconz, @opaque pike. I just finished migrating them from my two Raspbee II sticks.
maybe it was zha back then? its been a few months
I have Hue Lights (about 50) Aqara Temp sensors (8) and EnOcean switches (4) and Danfoss thermostats (6) and only in Z2M are they all working
https://github.com/zigpy/zha-device-handlers/commits/e47fccfb821a77f9ccfe46e3f2c0c46ba92ea55e/zhaquirks/xiaomi/aqara/weather.py
It's been supported since 2019 ..
I worked it out, I removed them from a configuration file and restarted
So i have homeassistant up and running again on Unraid in docker. i plugged my sonoff zigbee dongle plus into the server. i read that i should automatically appear in HA, but i dont see anything... now what? is there a guide i can use to help me?
I have Hue Lights (about 50) Aqara Temp sensors (8) and EnOcean switches (4) and Danfoss thermostats (6) and only in Z2M are they all working
What is not working?
Pass through the USB device to the container?
in ZHA something was working, in deconz something else wasnt working
i honestly dont remember anymore
I don't think aqara works very well with hue (in my very limited aqara experience), so it could just be that they tried to pair via the hue lights previously and failed
they all work flawless after i switched to z2m
yeah i believe i did that in the container config when installing it.
/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_be5a7b8d6c29ec1198c16f7840c9ce8d-if00-port0
For passing through USB, serial or gpio devices.```
they work just fine?
This is more a #449717345808547842 question, I think
The only thing not supported by ZHA so far I've encountered are green power devices (i.e. Hue tap.)
idk.. Have you seen the sensors ever connect via a hue light? I spent a lot of time trying to pair aqara water leak sensors, the when I enabled pairing via a ikea outlet they seem ti pair immediately 🤷♂️
mine connects via hue lights
Yes sir. I have a sensor in my greenhouse that si directly connected to my Hue outdoor lgiht next o it.
can't argue with that 😅 . But at least some other brands has problems https://www.zigbee2mqtt.io/devices/WSDCGQ11LM.html
they're garbage. they stick to a particular device. i have tons of them. they're so damn cheap, though.
Not sure if this was already answered, but ZHA supports the old and new types of Aqara temperature sensors just fine.
Z2M needs to explicitly support all devices, while ZHA only needs to add "quirks" for devices that don't behave according to spec. (Both are great and have their pros and cons)
But that's the reason why sites like https://zigbee.blakadder.com/ sometimes say many things aren't supported by ZHA. It's possibly that devices are already supported without any kind of special handling.
what are the most cost effective zigbee repeater devices?
You linked Home Depot earlier so assume you are in the US I like the Sengled plugs. Or my own dedicated routers/repeaters 😂
what are your own repeaters?
I have hue, tradfri, and sonoff motion sensors running zha on a raspberry pi with conbee dongle. I'm brand new to HA. The sensors seem to be going unavailable at various times through the day and my automations to toggle light switches arent' working. Anyone have any ideas to get started troubleshooting? I'm not even sure how to setup logger to see what's happening.
My aqara d1 is connected to homeassistant and cannot automatically recognize the button state
我的aqara d1 接入到homeassistant 无法自动化识别到按钮状态
is there a way to diagnose if i need more repeaters, my server is on another floor and some of my lights arent working as expected. Is it a range issue or something else?
I'm sure tube is biased, but quick opinion on the recommended Z2M controller sticks - which one do you like best?
Excuse me, how to use zigbee2mqtt aqara D1 can't recognize the automatic button?
Unbiased Opinion - any of the ones based on cc2652 are first class with z2m. Wouldn’t recommend anything else
Sounds like range.
is there somewhere i can see signal strength for each device?
On a recent ha version you can enable the lqi and rssi entities they are diagnostic and not enabled by default
@ripe hazel that would be a limit of your coordinator
i have a CC2652 and i have 5 lights
it fails
to join 2 of the 5 lights in the same room and coordination is in same area
try doing them 1 after the other not all at once.
I've done up to about 8 devices within the 60 seconds joins are open
you can also user the service zha.permit or something to specify a longer joining time. the max is like 250 or 300 I can't remember.
(seconds)
gah
I bought a Hue outdoor kit. The bulb is a different brightness at the highest kelvin vs. the other 4 extensions that I purchased.
I hope Amazon takes this return. Ridiculous.
thanks i'll try that
Tried all variations of button pressing 🙂 Using the uartLog.py I get confirmation that the port is open but when I try to run any type of bootloader I get the errors. Do I need to fix the bootloader "space" with a XDS110 etc?
For someone starting from scratch, is there a particular cc2652 based zigbee adapter you'd recommend going with? I.e. is there anything in the below list that has discriminators raising it above the others?
https://www.zigbee2mqtt.io/guide/adapters/#recommended
@molten linden Thanks! - I meant biased in a good way, of course!😀
@molten linden what kinda if ping time do you get to your poe coordinator? Thinking of repurposing old pi1's as socat coordinators and wondering what's ok latency for a znp..
Is it enough to just pop in a USB2 ZigBee transmitter?
And what's more reliable? I presume the one with lower frequency? My smart doorbell that has both wifi and some 440MHz radio loses connection to wifi all the time but has good range on the lower frequency radio.
@hidden pebble Ikea Tradfri dedicated router devices (look like phone chargers), Ikea Tradfri power sockets, Sonoff 3 plus USB dongles with Koenkk firmware, if younwant external antennas
lower frequencies have longer ranges
Hi, any ideas how to unpair a set of Hue lights from a conventional zigbee network to add them to a real Hue bridge please?
hold on and off button of a hue dimmer switch for over ten seconds in close vicinity to the hue bulb to reset
Don't have a hue dimmer switch unfortunately. Only two lights
Can i send some reset command over zigbee or something?
hi
Hi
Aqara Smart Wireless D1 not working in homeassistant
well you have to be a bit more precise to get help
Hi everyone,
does anyone of you have experience with the Phoscon FLS-CT lp via ZHA in Homeassistant? I am planning to install a LED band in the kitchen and use in my smart home so far only ZHA and do not necessarily want to switch to another protocol. According to the Zigbee Device Compatibility Repository, the Phoscon FLS-CT is not strictly compatible with ZHA. If one also has good experience with another LED strip controller please also contact me.
gledopto maybe?
I'm using the ZHA integration. If I have a problem with a specific device (power metering always showing 0.0 for a specific Tuya plug), do I report this as a Home Assistant issue or a zigpy issue?
Actually, energy metering. Power metering shows some realistic values, but energy stays at 0.0 all the time.
i think it's a known issue
Huh. I've just looked again, and now it has jumped from 0.0 to 2.5 kWh. That's the consumption of the last ~3 days.
May be related to the fact that I rebooted my HA machine an hour ago. So maybe it's only updated on reboot?
The problem with those Tuya plugs is that there's a gazillion of them. I don't think I found an issue with my exact model (or rather: manufacturer) ID
which one do you have
"Yes, if that’s the case. We currently only support 1 sensor per cluster. This is currently a limitation in ZHA." dunno if this limitation is still in place
@jolly python Model "TS011F", manufacturer "_TZ3000_w0qqde0g"
would assume that it works in zigbee2mqtt, so probably a home assistant problem
Thanks. I'll try to reproduce whatever has caused it to update once and then file a bug.
Does ZHA receive an event when a device is powered back on and available on the network?
(I think not ..)
I have a use case where I want to unbind a zigbee switch from itself, so that the load attached to it stays on (Detached relay), but if the zigbee switch loses power, it defaults to off, so I need to attach the switch to itself, and power on the load again.
Or, is there a way to see if a Zigbee device can be communicated with?
Zigbee devices can be dormant for long periods of time, specially end devices. So the protocol is not suited for keep-alive. You can use availability feature in Z2M on mains-powered devices but I don’t know if it’s reliable enough to automate upon.
That being said if what you want is that switch to always be on detached relay and on, you can automate every x minutes a check of its status and an update if needed.
That's what I think I am going to do, or .. Im wondering if I can try to read a cluster off of a device attached to it that wouldnt have mains power if the relay is off, and then make a determination from that?
yep. I can use read_attr. Fail after 1 try. If success is false, then I can force the relay on and retry
Any Zigbee device should send "device announcement" when it power up and rejoin your Zigbee network. This is a ZDO message. Its reliability may not be perfect. I am not sure ZHA framework will pass this message to the specific device handler for HA to consume.
some devices will perform a ZDO announce when they are powered back up but not all of them do this
if this is for battery powered devices you may eat the batteries by doing this
the ZDO device announcement is typically single broadcast message for any zigbee device. This is not a message that is sent on regular interval. The power usage is negligible compared to power consumption needed for the re-joining process. If you use stacks from nordic, z-stack and other major zigbee provider, the stack will automatically send the announcement for you upon joining a network.
they also get sent when devices rejoin the network
so in a power cut scenario as mentioned above... I would expect a ZDO announcement when the device is powered on and joins the network again
they also get sent for address conflicts
and for several other scenarios
as an example
note the "or rejoins" parts of the bulleted items in that answer from SI
Now in practice this isn't consistent. The amount of time the device was "away" plays into this... Also, these can be sent without power being cut at all too
yes. it is correct. In the case of re-joining, prior to sending the device announcement, "re-joining process" is already significantly much more expensive compared to a single device announcement message. If you buy devices that built upon stacks like syslab, ti and nordic, most likely, you will get the device announcement when a device is power up and rejoin its network.
This is for mains powered.
