#zigbee-archived
1 messages · Page 62 of 1
im just trying really hard here to take a pragmatic approach that doesnt blow up my network. as IT people, we generally try to make sure we have contingency plans but a lot of this sounds pretty cavalier to me
I don't know of any problems that would be solved by migrating from a ZNP to an EZSP dongle
Record a ZHA debug log for a few hours. After you ZIP it up, PM it to me and I can try to take a look
Updated SkyConnect firmware and tried re-pairing. It usually pairs successfully, only showing the cover entity. The open/close will work, but the stop will give an error. After a few seconds it goes unavailable permanently
I just get:
[0x1C7F:1:0x0300]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
Older OSRAM devices are known to cause routing issues sometimes.
Can you briefly explain what issue you're currently having and what you're trying to solve it?
When you re-pair the device and not send any commands, does it react to a command after 10 minutes or so?
So does it only go unavailable when you send a command? (Do "open/close" work all the time?)
The cover entity starts in an Unknown state. After about ~10 seconds it goes Unavailable even without any commands. For those ~10 seconds the open/close will work
It seems to go back to Unknown sometimes, but commands don't work after this initial period
Maybe a polling event is still causing it to go unavailable? In the logbook it goes unavailable immediately after
LUMI lumi.curtain.agl001 Zha Event was fired
You should be able to subscribe to zha_event in the developer tools during the time that event is fired to see more details
Regardintg the quirk PR, do the open/close commands only work with the quirk (or also without)?
Thanks, I'll try and subscribe to see what happens. The open/close commands work without the updated quirk (immediately after pairing) but I do not recall if the direction is correct.
So open/close commands work without any quirks at all?
Yes, I didn't have a custom quirk before and it still received the open/close commands and went unavailable after a few seconds
weird, everybody on GitHub mentioned that "open/close doesn't work, only percentage does"
Yup, I had that with my previous controller the HUSBZB or whatever it's called!
My aqara leaking sensor which is connected to my home Assistant via z2m, keeps getting stuck on leaking state even when it’s not leaking at all. And every time I press the sensor to force it to update its exposes to HA, I keep receiving
Exception while calling fromZigbee converter: 'device_temperature_calibration' is not a number, got string ()}
Any help?
Hi All, when adding devices you get to the "Initialization complete, The device is ready to use" form. You have the ability to change the name of the device and also the Area. I find that somes it changes the entity IDs for the device and sometimes not. Any idea why that is?
joining new device - static ones, mains powered (curtain motors).... they just jump around in and out of the network...
Hey guys,
I got some ZBMINI-L2 installed via z2m as a wall switch to turn on / off lights, it shows up as a switch and I would like to see if it's possible to change it to be shown as a light ?
@wide ember I converted your message into a file since it's above 15 lines :+1:
Or can I just stop at the light: part
Probably
Okay, I'll give it a go! Thanks
or use the switch as x helper https://my.home-assistant.io/redirect/helpers/
Hey Im using ZHA and would like to use quirks. But my ZHA initialisation breaks when I add the directory path to my HA configuration file. "zha:
custom_quirks_path: /config/custom_zha_quirks/" I created the directory but always get the following error:
"Invalid config for [zha]: not a directory for dictionary value @ data['zha']['custom_quirks_path']. Got '/config/custom_zha_quirks/'. (See /config/configuration.yaml, line 12)."
I hope Im in the right channel for that issue!?
Does the directory already exists? looks like it says is not a directory
And remove the trailing /
yes, dir is created and I uploaded my custom py file
that shouldn't be an issue I think
btw: im running HA in a docker on unraid
could it be a permissions thing? It seems everyone on the internet just adds this line and calls it a day, but for me it doenst work myseriously 😦
EDIT: Somebody at the Unraid forums just gave me the solution: The container hoem dir is already /config. So without the /config it works!! 🙂
What quirk are you trying to use?
Hey, has someone successfully add a sonoff zbminil2 to zha?
The device never shows off while trying to add a new device
yes
seems that I have a defect one. The second worked.
It seems too, that I have totally misunderstood the function😩
the zbmini cut the power to my ZigBee light, so I can't control it anymore.
I thought I would have always have power on the lamp an can use my old switch too.
ACH mist
hi all i am lookint to get some smart stuff for the house , morespecifically reducing energy costs
i want a smart radiator thermostat that 1) does not need the internet ! 2) works with HA
theres a sale on amazon UK at the moment and im wondering what are some great deals to get , ive found these two on sale and was wondering if anyone with experience could guide me on these ? thank you (btw i dont have any experience with HA but im looking to get it onto my server , mainly worried about reducing energy costs so if there is some eco system with temp sensors etc im quite interested)
You can strip everything from /ref= onwards
also to add : itll be about 6 radiators in 4 rooms, if theres other better options please feel free to let me know ! and any additional accessories i need like thermostats for rooms etc. budget needs to be resonable as i need to think will it ever pay back itself after the investment im doing
More a question for #hardware-archived
yeah i realized that as soon as i hit enter, my bad
i ordered another identical ZBDongle-P sonoff
im going to do what i said, upgrade the firmware on the new one, install it to another HOAS, load my backup
im too nervous messing with firmware on my production zigbee antenna
at the same time, im going to get away from the APU4 as the hardware and move to the NUC-style box above
any idea how to limit the active power on a tuya neo smart plug? 🤔
Limit what?
The outgoing wattage of the outlet
You can't, you can create an automation to turn off the outlet if the wattage exceeds a value
that is unfortunate, thanks anyway! 😉
Any idea 'bout that issue?
I've connected multiple zigbee devices using my Sonoff ZBDongle-P on HAOS.
Most of the day, everything is working well. But since some days, seems like the connections to the devices stops. For example switching a plug. Sometimes it works on the second or third try, sometimes it works with a delay of a few seconds.
This Error is in the logs:
https://pastebin.realhunters.de/ucezuhikoq.vhdl
Any ideas?
You forgot the error, and re-posted the rest of your question 😉
That means that you have a bunch of interference
Did you already put your coordinator on a USB extension?
Is it near any USB 3 ports, SSDs, WiFi APs, Bluetooth sticks, metal, ...?
USB 3.0 cables connected to USB 3.0 devices and ports can also be a problem
Nope, 2 Meters away from the rpi itself via extension
Can you download the diagnostic information from the ZHA integration and upload that as a paste and send the link here?
It'll contain interference information at the bottom
And was on usb2 port
Alright, will check, but will upload it tomorrow as it's late night here.
Edit: Brain woking too much because of that, cannot sleep lol.
Here's the diagnostic: https://pastebin.realhunters.de/xicutokoru.xml
which part of the json is the interference?
The radio saying MAC_CHANNEL_ACCESS_FAILURE means that it is too noisy and you can't transmit. Your network is on channel 15, which according to the above log has a utilization percentage of about 65%. Move your coordinator away from interference sources. If you can't do that, go to the ZHA integration's configuration page and click the pencil icon near your current channel. Let ZHA pick a new channel, it will probably pick 25.
Alright, thanks! As all of the 2.4GHz transmitters are from neighbours (My wifi is running on 5GHz only), I cannot really change anything but moving the rpi and the dongle a few meters to the side, but I assume that will not change anything.
If changing the channel, do I have to update anything on the zha devies itself?
Support for changing Zigbee channels isn't universal with all Zigbee devices, nor is it instant. It can take an hour for sensors to re-join and you may have to manually re-join them if they don't on their own. Usually, however, most devices migrate to the new channel.
Hi there, I'm trying to replace my Zigbee USB stick, but Zigbee2MQTT is giving an error, complaining that it's still looking for the old device.
I've changed the serial port in /config/zigbee2mqtt/configuration.yaml and restarted.
The configuration.yaml makes no mention of that USB device anymore at all so I don't even know where it's looking to find that string at this point. Am I replacing the serial port in the right place? Thanks
old device: usb-1a86_USB_Serial-if00-port0
new device: usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B001949BF82-if00
error: https://pastebin.com/0Eh0jJNp
configuration.yaml: https://pastebin.com/CHqi5Zrd
it's a backup
Not even sure you can migrate that way...
Well, you're trying to downgrade
And quite a massive downgrade at that
https://www.zigbee2mqtt.io/guide/faq/#how-do-i-migrate-from-one-adapter-to-another doesn't suggest you can do what you're trying, but maybe it'll work 
Have you checked the adapter settings in Z2M's own UI?
Also check the addon config
z2m appears to crash because of this error I think? I get 502 bad gateway
Maybe you can solder it?
HA has been up for a while. I get several logs similar to the OP as if it's boot looping
➜ log pwd
/config/zigbee2mqtt/log
➜ log ls
2023-10-10.13-34-25 2023-10-10.13-34-31 2023-10-10.13-34-38 2023-10-10.13-34-44 2023-10-10.13-34-50 2023-10-10.13-35-01
2023-10-10.13-34-28 2023-10-10.13-34-35 2023-10-10.13-34-41 2023-10-10.13-34-47 2023-10-10.13-34-57
I meant that I've given HA lots of time to allow z2m to boot
HA is irrelevant
ok well look at the logs
Check the add-on logs, check the add-on settings
are those the right logs?
Yes
info 2023-10-10 13:38:49: Logging to console and directory: '/config/zigbee2mqtt/log/2023-10-10.13-38-48' filename: log.txt
info 2023-10-10 13:38:49: Starting Zigbee2MQTT version 1.25.1 (commit #unknown)
info 2023-10-10 13:38:49: Starting zigbee-herdsman (0.14.27)
error 2023-10-10 13:38:49: Error while starting zigbee-herdsman
error 2023-10-10 13:38:49: Failed to start zigbee
error 2023-10-10 13:38:49: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
error 2023-10-10 13:38:49: Exiting...
error 2023-10-10 13:38:49: Error: Error while opening serialport 'Error: Error: No such file or directory, cannot open /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0'
at SerialPort.<anonymous> (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/znp/znp.ts:146:28)
at SerialPort._error (/app/node_modules/@serialport/stream/lib/index.js:198:14)
at /app/node_modules/@serialport/stream/lib/index.js:242:12
Check the add-on settings
ah gotcha
yeah it was still the wrong device in the addon settings. thanks. you probably also saved me a lot of time letting me know that it's not so easy to migrate haha
So I have an Aqara sensor that is paired to the absolute farthest away device and I'd like to change that
Do I need to delete the sensor in HA first?
I tried pressing the on-device button 6 times to do a pairing like first time, not working
Make sure to permit joins before doing so
I'm new to Zigbee as of last week so don't know what that means. Is this a setting for the Zigbee network or the router device?
Using SkyConnect and ZHA
so amazon deal day, I am looking at maybe getting some presense detectors and room temp sensors, any recomendations?
Just click the same button you usually do to allow devices to join the network
I want one of those zigbee knobs but I can't find a seller that seems very reputable.
I switched from 15 to 25 and had no problems at all. I'm on a Yellow using ZHA
Sonoff Dongle-P vs Dongle-E
https://haade.fr/en/blog/zb-dongle-p-vs-zb-dongle-e-zigbee-sonoff
Both the Yellow and the SkyConnect use Si-Labs EFR32MG21 chip used in the Dongle-E
The EFR32MG24 is Multithread compatible, which simply means: Zigbee and Matter at the same time. I don't plan on using Matter any time soon The EFR32MG24 Soc is more powerful than the CC2652
Anyone had any luck getting these to work with ZHA? I've got it to add but there are no entities
https://www.aliexpress.com/item/1005002954586484.html?spm=a2g0o.order_list.order_list_main.5.529e1802C56G4M
Anybody know anything about this USB Zigbee Device
https://www.cnx-software.com/2023/10/11/smlight-slzb-07-low-cost-compact-zigbee-3-0-usb-adapter/
Looks like a Zigbee adapter. Same radio and serial chipset as the Skyconnect.
They make an Ethernet model with that chipset too: https://smlight.tech/product/slzb-06m/ (and also the same but with a CC2652P)
i bought an active usb extender to replace my passive one that wigs out occasionally at 30m length
that arrives tomorrow.. then someone here tells me about the poe powered one after that.. but whatever.. if this doesn't work, i'll buy one of those
if the active extender works, thats kind of nerdy anyway
I try to ask here:
Do you guys, by chance, would know any good TRV i can buy which works with ZHA?
I've got a bunch of https://www.aliexpress.com/item/1005004861758253.html. They are pretty cheap and they do the job
probably not the best you can have but maybe the least expensive one
I still have 2 PRs in progress to fully support them correctly
even with scheduling support
@austere patio if you could please spare some time to approve these btw : https://github.com/home-assistant/core/pull/87546 🙂
Sure, will do in a bit
Winter is coming 🙂
Dumb question, but i cant find an answer - how do i view what zigbee channel my sky connect is currently on?
The ZHA diagnostics include that
Thank you, where do i find this in the diags? I have searched for "channel" but nothing there...
under the key ... channel
You have to download the diagnostics xml file. In it it can be found under "channel"
https://pastebin.realhunters.de/xicutokoru.xml for example
Oh... too late again 😆
Yep - have this file "zha-fb36f0c4910feb2344e608a86bc99b4f-Zigbee Coordinator-0105e7684e2757dad7c52b5be18f6c95.json.txt"
Ok got it. Thank you, i downloaded the wrong file. "channel": 15 so default.
thank yu!
Go to Settings -> Integrations -> ZHA -> Configure and it’ll say in the UI there.
You can also change it there
Or yeah, download diagnostics
Why is the Zigbee visualization hidden inside the add device menu, very odd placement
It had to go somewhere. 
Ya I get that but like out of these 3 screens
Shoot, photo upload won't work
Seems like it would make most sense to add to top level of ZHA
Do you need it so often?
It's not only there. It's also there if you go to Settings -> Integrations -> click on ZHA logo -> Configure -> top bar
So basically at the top level where ZHA can put it
Anyone know what this means? Pops up occasionally in the log. Everything seems to be working fine.
Logger: homeassistant.components.zha.core.cluster_handlers
Source: components/zha/core/cluster_handlers/init.py:537
Integration: Zigbee Home Automation (documentation, issues)
First occurred: 3:12:18 PM (2 occurrences)
Last logged: 3:12:18 PM
[0xF9C9:2:0x0300]: [Min mireds is 0, setting to 153] Please open an issue on the quirks repo to have this device corrected
Quirks?
You can report that device to the ZHA device handler repo as an issue:
https://github.com/zigpy/zha-device-handlers
ok
A quirk is kind of a translation of a vendor specific functionality to ZHA
Is that to sonoff-e router fw? I think they based that fw on the 💡 example from the silabs sdk even though there is no light…
yes ... it is
I do t think it matters for the devices functionality
But if you want the warning to go, it will need a quirk
I noticed that the GUI shows some switches for lights. I toggled those controls and the leds on the PCB changed. Don't understand the purpose
If it's not an indication of problem, then I'm OK. It seems to be working fine as router. I forced several end nodes to connect to it so I could make sure it was working
I guess its an easy way to confirm connectivity
I'm still outside the school of Zigbee making my way up to the door 🤣
Noice. That is better.
Can you check if the "light entity" in HA controls the light on the ZBDongle-E?
There's an LED on the board IIRC
I think it's only dimmable though(?)
(also mention that in your quirks issue)
After I first flashed it to router I added it to HA and I could change the values of LEDs using switches in the GUI
Well, I bought a bunch of Aqara devices (20) and didn't realize they were incapable of connecting to the nearest router when they move location. so that has been quite the chore.
Very annoying
You generally shouldn't move devices. Most won't re-connect unless the original connection is completely broken.
I've forced connection to a new router by powering off the router that the end node is connected to and using the Manage Zigbee device GUI to read attributes from the end node
It may take a few cycles but it worked for my devices. YMMV.
Yeah, that's just bc I was pairing sensors at my desk as they came in, not realizing they would do that. Lesson learned!
What do these numbers on the visualization map mean
128/128
125/103
Link Quality Indictor each way
not particularly interesting if the device is working properly
those numbers are fine, nothing to worry about
I was taking red = bad, is it not?
no
ah, well then, maybe all is well then
Only reason I brought up the Aqara endpoint mapping is bc I put one in my mailbox and I had paired it at my PC upstairs. It still trying to connect to a bulb in my daughers room, furthest place away, vs something much closer.
(and its not working)
In general, the higher the number the better the link but not all devices are of equal quality
The colors are just to make it easier to follow links when you have a lot of devices , especially routers that link to other routers. End nodes don't form as many links
I automatically associated colors with link quality fwiw, this is common usage of the colors green, yellow, red.
Stop/Slow/Go, Bad/OK/Good
Remove it and and readd it while you have it close to the router that you want it to associate with. Or yo can try my forced reassociation technique above but you still need to have it near the preferred router
Ill give it a whirl, thanks for the tip
Does Read Attribute on the Manage Zigbee Device menu force it to find a new connection?
if it's original router is down?
There may be something to the color I just looked and I have some white links that are 0 🤣
hmmmm. I just added these two leak sensors and they have no connection at all.
just floating circles
It seems like it did for me after I powered off the router that the device was associated with and placed it near the prefered router
Looks like it can take a while to find the best router
Disregard this comment, maybe I just needed to wait for everything to sync up
Too excited by new sensors 🙂
thanks for help everyone. I'm pretty sure this is all bordering on sickness, but at least you're all as sick as I am.
Yeah .. I get it ... I'm only two months into HA and am completely hooked . I doubt there will be very many days where in don't tinker with it trying new things and finding more things to integrate or fooling around with dashboard and cards and hacs and ... If you haven't done so already be sure to add the Google drive backup. It will save you a lot of grief if you hose your system. I restored a couple times to undo something I screwed up. I take backup before I add any addon or make significant changes
yep, that's normal. You can trigger a refresh of the map in the UI. Come back to the visualization later (refresh page) and it should update there eventually. Depending on the network size, it can take quite a while though
@keen merlin yep! I've actually already used it when my VM on unraid ate itself
Ive had HA installed for a year but only used it to manage a handful of Lifx lights, then started going nuts in last 3 weeks
I went nuts right from the getgo. I'd been using a SmartThings hub a Hue Hub and Google for years. I had looked for and at other systems but for some reason had never come across HA.
Back in July I stumbled onto HA and loaded it up on a VM to check it out. After about a week, I knew it was what I wanted. I ordered Yellow, NVme, a Zooz 800 Z-Wave module and migrated every thing to HA. Then went crazy integrating. everything in sight that I couldn't with SmartThings. My wife asked for something to tell her when the pet gravity Water bowl was low so is setup a sensor using ESPHome.
Now my fridge, washer, dryer, weather station, Airthings air quality & radon monitor, grass moisture sensors, weather map, people and places map, weather alerts, AQI, weather forecasts, sun and moon phases, oven temperature probes, printer status and ink levels, ecobee thermostats and occupancy/temp sensors, UPS monitor, all our phones, my smartwatch, Smoke and CO detectors, leak sensors and Zooz Titan water shutoff valve, lights, are all integrated and I'm not done yet. Even the status of my Daughters Minecraft server is integrated.... Yeah I'm hooked
do they support external sensors? also it doesn't seem to support % of open but just temp
Hi people, I am currently using an IKEA Tradfri Gateway to communicate with my bulbs, but I am considering getting Home Assistant SkyConnect. But will my IKEA phone-app be able to talk to the bulbs after the update? Or will I also need to setup a view in homeassistant?
No, the phone app talks to their hub
Yeah I figured... Which reduces the WAF-factor because the wife actually understands the app 😛 But the hub is already added to homeassistant also. So maybe I could just leave the lights on the hub, but add the new heaters to the stick and control it from HA. Would that work? Or is there an issue running both the sky-connect and ikea hub near eachother?
As long as you ensure that you're using a different Zigbee channel you'll be fine
Our company has newly developed a zigbee infrared remote control. The remote control comes with an air conditioner code library, which can control various types of air conditioners, TVs, etc. However, it has not yet been connected to Z2M and ZHA. Are you interested? ? We can provide control protocol documents and access methods
Well, you can submit a PR for Z2M to provide the required converter
ZHA has a similar process
active usb extender from china seems to work extremely well.. not bad for $34 aud shipped.. (21.77 usd).. thats with a power adaptor too
you can select your power adaptor too, eg, AU, US, UK, EUR etc
or without one
instructions say it supports usb 2.0, and it seems to be working just fine with 30m of cat5e
i still think poe is more convenient, but that is a more costly solution it seems
Hi, today Home-Assistant didn't receive entities from Zigbee2Mqtt docker only for next device: https://www.zigbee2mqtt.io/devices/TS0504B.html#tuya-ts0504b
Has someone the same problem?
Has anyone bought one of these zigbee buttons:
"https://www.aliexpress.com/item/1005005941325665.html?"
Have ordered one, but Cannot get it into pairing modus.
Does anyone else have the same issue?
pairing mode instructions are provided with the device
I did some more checking and there is a hidden button. which is very hard to press. even with a Sim remover
some more checking = reading instructions?
The instructions do not mention that hidden button. or show where it is. dissasembled it and noticed a 2nd button
It did not include a sim remover as well, as would be normal with other switches. I think I might have received a "Return" order as the double sided tape was already applied beforehand
For external sensor, I use cheap temperature module and I sync the temperature offset with them. They don't report how the valve is open if that's what you mean by %open
I have a Sonoff Zigbee 3.0 USB dongle and an as-yet-unused Home Assistant Skyconnect dongle.
Is there any reason to not replace the Sonoff device outright so I can get Matter support?
Is there any way to transfer Zigbee devices between hubs that doesn't involve me resetting and pairing them all again?
TL/DR: Don't do it
The people in #thread-archived will tell you not to use multi-protocol, because that way lies madness and frustration
Use one for Zigbee and other for Thread
Gotcha, thanks
Ok! I'll look into that.
It's just worse than the standalone Zigbee hub?
Or I guess having one Zigbee and eventually one Matter hub, whether that's the SkyConnect or something else?
Does the other one work for Thread yet? The main documentation they have doesn't really mention that setup. https://skyconnect.home-assistant.io/
It advises setting it up for Zigbee first.
Well, dongles I mean - ways to add that functionality. I'm not highly fluent with the terminology yet.
Yes, as has been said, you want separate dongles (coordinators) for Thread and for Zigbee
The chip used in it has thread OBR firmware, obr stands for open border router
Matter doesn't need hubs if you have HA since HA is the "hub"
Install the OpenThread Border Router addon and point it to the SkyConnect. It'll flash the appropriate firmware.
That sounds easy
Hello! I have a raspberry pi3 + raspbee II for controlling some ligths. In the past 6 months it has been getting less and less responsive, I suspect a hardware problem. I am looking for recomendations for changing it, as winter is coming and I will need to control the lighting for the greenhouse again...
Hey folks, would anyone be willing to offer some troubleshooting tips for getting an aqara (zigbee) motion sensor working with home assistant? I am able to pair successfully but the motion sensors don't detect motion after that initial pairing.
- Sonoff Zigbee 3.0 USB Dongle Plus–ZBDongle-E (flashed with latest firmware)
- RPI 3 w/ latest HA
- Tried first with zigbee2mqtt and now getting same result on ZHA
- brand new battery
- no other zigbee devices, fresh install inches away from dongle
- wifi is channel 6, zigbee channel 25
- i have tried 3 identical motion sensors all with same result
now having such issues with rasbbee II I am mot sure I want to go for the same solution. On the other hand, I got used to working with deconz and I am not sure I want to go for another system... unless you tell me raspbee is crap and there are other much better and more robust solutions
It's unlikely you have a hardware problem, your issue is most likely environmental noise. What channel is your 2.4GHz WiFi network on? Are you near any SSDs or USB 3.0 devices?
are you moving them after pairing?
any routers?
go to settings -> integrations -> zha ->
and click download diagnostics then share it here
no moving after pairing and no routers... i am brand new to HA so I have just configured everything for the first time
how far away are the devices from the usb dongle
also
are you using a usb extender?
any sensitive data in that diagnostic that i need to redact?
https://youtu.be/tHqZhNcFEvA 30 second clip that shows why you need a usb extender
yes, i have a usb extender ~5ft
no
it redacts things for you
are you running on a pi or server or?
if server are you escaping the rack with the usb extender?
rpi 3, i moved it from my rack to the floor in my office for the purposes of troubleshooting this
@grim igloo I converted your message into a file since it's above 15 lines :+1:
definitely channel 25 is the right one too
No SSD in the vicinity. one Argon bluetooth reciever
I don't know on which channel my wifi is, I'll try to figure out
the weird thing is that i can see motion/occupancy triggers immediately in the log when it is paired and then dead silence... i have waited several days to see if it triggers later. A quick tap on the sensors reset button doesn't make any event in HA but the sensor gives a quick blink
@grim igloo , i am also trying to figure out why I am power alerts from the RPI, I wonder if that could be related if maybe the dongle is not getting enough juice
i know my power source is 5V/3.4A so maybe i need to find a new microusb cable
i'd just buy a mini pc and use the pi for other things
you can get a used m910q or similar on ebay for like $80
on average they use like 10w of power for haos
I have an unraid server and started with a docker but quickly ran into issues with it being "unsupervised" or something along those lines
ya
you need haos if you want addons
you can run it on your unraid server in a vm tho
i did that on my unraid box for a while
i prefer it separate... if server dies i dont want smart home going down too
im not so sure mine can handle vms but i can look into that. Any thoughts on standalones like the yellow?
ty for all the help, i will see if i can dig up an old desktop to migrate to and try it again
i looked through the debug log and nothing jumped out but idk
power issues with the pi can fuck up all the things
https://www.ebay.com/itm/256252516715 $99 for a 7th gen intel mini pc with an SSD and power supply
you can run haos on it or proxmox and haos virtualized w/e you want
nice, i just switched the microusb cable and pulled out an anker525 charging hub. if I still get power alerts it may be time to retire ol peneloPi
It seems I am on channel 1, but it might change as the setting is "automatic" (choice of channel)
does it change anything ?
What channel is your Zigbee network on?
how do I figure this out ??
go to settings -> integrations -> zha ->
and click download diagnostics then share it here. you can use dpaste.org to copy/paste it with
It's also shown in the UI: Settings -> Integrations -> click ZHA icon -> Configure
(there, it'll show the channel and will let you change it)
Diagnostics are useful, because they also include interference levels
Mh. I am not using ZHA I believe
If you're using the built in Zigbee integration, thats ZHA
I am using deconZ
Hm, regardless shouldn't that still show up under Zigbee under Devices > Integrations?
I am on the UI, I go to settings->devices &services-> integrations
and apart from deconz, I have nothing related to zigbee
Ok do you see deConz on that Integrations list
OK, found the channel it is 15
It is visible from deconz/phoscon/settings / advanced (actualy I was there before, but for whatever reason the language was set to french and the translation is wired, so I didn't identify the field "channel")
So channe is 1 for the wifi and 15 for zigbee
Hi. I am new to Zigbee but not HA. I have a Conbee 2 dongle and several smoke alarms that are at the limit of its range (approx 30m through several walls). There is wired network access nearby though. Is there a way to place (eg) a RPi out near the zigbee devices with a Conbee (or similar) as a 'range extender' to improve connectivity?
Can you plug in a zigbee plug roughly half way?
Not easily. The zigbees are in a nearby building. I have one of the smoke alarms as close as possible and the other is 10m further on. They don't seem to be 'meshing' though
I am using the Zigbee integration. Would the Deconz one be better here?
I just picked up an inovelli Blue 2-1 Zigbee switch. (very nicely made piece of equipment, btw. I'm very impressed so far.)
It supports both ZHA and Z2M. I'm currently using ZHA for my other Zigbee devices. Is there any advantage to adding Z2M for these switches?
Found this video https://www.youtube.com/watch?v=4GG4cAMdtQI Is that a pretty good assessment? Is it out of date yet (it's a year old...)?
If the smoke alarms are battery powered, they're not going to "mesh", they're going to be end devices.
Ok. Thanks
So is there such a thing as a device that 'meshes' in order to extend the range?
Yes. Zigbee light switches and some bulbs will mesh to extend range. These are powered at all times.
Notably, Sengled bulbs do not extend the mesh. 😦
Most bulbs, switches that use neutral wire, and plugs are router devices and will create a mesh.
Thank you. I’ll look into getting a bulb or two 🙂
OK, so it looks, my Wlan is on channel 1 and zigbee on channel 15. Is this OK ? The raspberry pi is close to a lot of electronic stuff tough, as I have the radio, cd player, amplifier etc would you think this might be the origin of my problems ?
The pinned image covers channel choices rather well
All the other stuff may be a problem - how far away is the coordinator?
I just bought a TRV (Unitec 30946) put in pairing mode but ZHA seems to not even find it...
I attach a pairing log, maybe it helps. There should be a quirk for it to work with zha on GH..
Just got my Conbee 2 working with the deCONZ add-on and got my first light attached, took me some time to get it working but I got there, the issue I'm having now is I can't see the light in HA, is there anything I may have forgotten ? how is the light suppose to show up in HA ? any help appreciated thanks
You set up the deCONZ integration?
Have you tried running: Service deconz.device_refresh
You could also try restarting your homeassistant and see if it shows up afterwards.
"Refresh with devices added to deCONZ after Home Assistants latest restart.
Note: deCONZ automatically signals Home Assistant when new sensors are added, but other devices must at this point in time (deCONZ v2.05.35) be added manually using this service or a restart of Home Assistant." From the deconz integration page.
How do you guys configure the hue dimmer seitch v2 with ZHA? so you get all the features
Hi, bought IKEA STYRBAR paired with HA but cannot find that device anywhere on the list? Found some information online about wrong firmware? But looks like i cannot update mine.
Zigbee2MQTT
STYRBAR remote control (E2001/E2002)
by IKEA
Firmware: 1.0.024
Does the device show in the Z2M UI?
Yes
@lusty trench When using Discord's Reply feature it defaults to pinging the person you reply to, which can get frustrating for the target. Use Shift + click on the Reply option, or click @ ON to @ OFF to stop this - on the right side of the compose bar.
You have to change this every time (thank the Discord devs for that).
But doesn't expose any entities
Well, look at the Device in HA, and if you're using add-ons there's known issues with the Mosquttito add-on
I am using Mosquttito add on so i bet i can't have this remote runnig in my setup?
That must be the British spelling 🙂
I think i found solution to manually update firmware, but that look like way over my HA skills 😦
does anyone else having troubles with z2m after 10.2 update?
my z2m wont start on boot, the UI will glitch out and display big pictures of the devices, some devices will need to be repaired after restarting
Check the Z2M logs
Same, having the issues with UI
Spun up a new Z2M instance last night, paired a few ikea products, and it seems like somehow a remote and a light are interacting without me setting anything up in automations. How can I check if this is the case? Ikea tradfri on/off and ikea bulb
If you search you'll see that's a known behaviour with the Tradfri buttons
The solution should be there too, though I don't remember what it is
I've been searching, but I'll keep looking. Watching the logs it's not publishing on button press
From memory it's a default binding they have
Worked for years on my old install no issue, but of course redoing everything from scratch you forget all the tweaks and changes you make over time
deleted the device from z2m, it could still interface with the bulb on its own. So I reset the remote, it dropped the direct connection, readded to Z2M, everything seems to be working fine now.
I have a Tuya Siren (TS0601) and the batteries last only 5-6 days. Anyone experiences the same issue?
TS0601 can be a lot of devices, which one exactly exactly
okay, sorry- i didn't know that 🤦♂️
i got that devices from a china dealer without package, manual etc.
But the details in how it's powered is on the link you sent
which zigbee device got the best signal after usb dongle/repeater?
There is no signal ranking for devices
The one with the largest antenna appropriate for the wavelength theoretically wins
i got 4 ZBMini switches and their signa is kinda weak
Question: I have a hue dimmer and hue bulb, I've bound OnOff and LevelCtrl to both the bulb and coordinator, buttons on the dimmer control the bulb fine!
However, if I turn the bulb on/off using HA, the next time I press the dimmer on button it does nothing until I press it a second time
Can anyone explain the mechanism that's causing the switch to lose track, and is there any way around it?
Realise I could drop the binding and just do it all through HA but would like some fallback incase HA is down
Thanks! 🙂
(Using Z2M)
getting an error while connecting ikea blinds remote to z2m
anybody have any idea on why?
What kind of error?
My battery backed Zigbee Router:
Sonoff Dongle E flashed w/ Router firmware
Adafruit Power Boost 500 charger/500 mA 5V USB supply
12OO mAh battery
USB wall wart and cable
All it needs is a small enclosure
https://imgur.com/a/2snIo3X
Sorta true. Your mileage may vary with interference, radio quality, actual radio output power, as used antenna tunning and multipath fade.
i have a radiator thermostat which was on a device list for workin with ZHA. im just starting out with homeassistant. I can see the thormostat and its state but when i try to change it, it resets. There are messages popping up in the bottom left, i think errors. but they go away too fast to read.
And most importantly where you put the device
i've recently set up zigbee2mqtt and i'm currently stuck with a ikea bulb i've stuck to a ceiling light
it works fine but for some reason the state in home assistant stays "on" even if i manually turn off the light via wall switch (not smart)
any idea why? availability feature is enabled and works as the device is offline in zigbee2mqtt
And most importantly where you put the
Thanks mate, it looks like the deconz had not registered with HA as of yet, with the update to HA os this morning it showed up and I was able to authenticate with HA and now have my light on my dashboard 😁
now time to move my Philips stuff off their hub 😌
Well... this can't be good. 😦
Error setting up entry ConBee II, s/n: DE2411473 - dresden elektronik ingenieurtechnik GmbH for zha
File "/usr/local/lib/python3.11/site-packages/zigpy_deconz/zigbee/application.py", line 464, in send_packet raise zigpy.exceptions.DeliveryError( zigpy.exceptions.DeliveryError: Failed to deliver packet: <TXStatus.NWK_INVALID_REQUEST: 194>
I've restarted HA a couple of times and even restarted the docker. Any other suggestions on what to do?
Is this a sign that my ConBee has just died?
unplpug re-plug the stick?
Is your Conbee any near new interference sources, like SSDs?
After upgrading my HA from SD to an SSD via full backup, my zigbee2mqtt is no longer communicating with my lights. Anyone know what might cause this or how to troubleshoot? I'm in the dark (literally) 😅
(Using Conbee 2, checked the config, and serial, all seems fine)
SSDs can cause a lot of interference, make sure your conbee is on an extension cable far from the ssd
Extension cables are a good idea in general for dongles
Winner, winner, chicken dinner!
re-plugged & restarted HA and I have lights again! TYVM
My stick is 8' up in the air on top of a cabinet.
They said not to have it near a computer and I had a 10' USB extension cable laying around, so I figured I'd put it to good use. 😉
I assume zigbee light usually offer better coverage compared to light relay behind a switch, since then are in a box inside a wall. Am I correct or that doesn't effect much?
Depends
I think since light bulb is in the open(usually in the middle of the room) it has better coverage
Hey there! Wondering if there is a simple way to migrate from zigbee2mqtt to ZHA with the same zigbee stick and WITHOUT re-pairing everything?
Since I have zigbee lights that act as routers all around the house, is there a way of using something like an Ikea button to do room-context based actions based on which router picks up the signal or RSSI?
I'm just curious which zigbee lights you have?
I use Philips hue, I have just one Ikea light that is a remnant of initial zigbee testing
Btw I think it's not really possible, is up to understand how the zigbee protocol selects a router, which might not be always the closest one
end-devices prefer coordinator over any other routers according to what I saw so far, even if the router is like literally next to them and coordinator like 5 meters behind a wall in another room...
end-device doesn't always act like wifi mesh where it connects to the closest one
No.
That's gonna depend on a bunch of things, like whether the electrical box and plate is plastic or metal, what the wall is made of, interference, the manufacturer of the switch or bulb, and so on.
True, that's my experience. We got on plastic boxes/plates and concrete walls in the house
If you have concrete walls you are going to have problems with RF transmission
Doh, my walls are made of interference
here is just for reference in my mesh https://prnt.sc/56kRwpeb2W4N
i can get kind of far with ZBMini switches but I feel they have "weak-ish" signal based on USB_repeater signal (plugged in a phone charger adapter), which is further than any other ZBMini switches
When you set up ZHA, pick the "Use existing network settings" option. ZHA will slowly find devices on your network as they check in.
An extension cable solved the issue!
That's expected, as the Hue dimmers send alternating "on"/"off" commands instead of "toggle". (It's like this because it was only be meant to be bound in standalone mode -- so with no "Zigbee coordinator" on the network)
**Hi, is it OK to connect zigbee devices? **
https://it.aliexpress.com/item/1005005271016330.html?spm=a2g0o.productlist.main.7.64cfRivTRivT7L&algo_pvid=f7c7d442-7444-45bb-b814-2e904e7f8243&algo_exp_id=f7c7d442-7444-45bb-b814-2e904e7f8243-3&pdp_npi=4%40dis!EUR!8.49!8.49!!!8.74!!%40211b5e2216973083707198854eafc4!12000032433818442!sea!IT!4236137478!&curPageLogUid=bBNdiNJJ1iHg
Assuming you'll use ZHA, should be ok
Hello I am moving away from the hue app and bridge and I have two questions in the hopes of rebuilding the functionality. I am using zigbee2mqtt. :
-
I have a hue tap (a very old one) and I used it with the hue bridge and app as a sort of visual doorbell when one of the buttons was pressed. The lights would blink on and off. In HA I have added the tap device and added actions for the 4 buttons, but I can only have them set a scene. I don't know how to make the bulbs blink. When I try to set up a scene there's an "effects" button on the bulb set up and it has blink, and breathe which would be perfect but when I save the scene and trigger it, the bulb just goes a solid colour. Should I be trying to figure out how these effects work, or should I be trying to figure out how to script some kind of blinking?
-
I had a second button that would toggle all the lights in a zone off, and then toggle them back on if you pressed the button a second time. The lights would be in their previous state. In HA it's easy enough to set up a toggle using two actions to set scenes for lights off, and then lights on, with a condition that checks if the lights are on or off. But it doesn't turn the lights on to their previous state, it just turns them on to a specific scene. Can you get the lights to just turn on to their previous state?
I have searched both the web and the discord for answers and found hints but HA is both awesomely promising, and overwhelming at the same time. I appreciate any guidance 🙂
- Would be done with automations
- You can use
scenefor this, snapshotting the state of entities and then restoring them
Hi, i am using home assistant on my raspberry pi 4 would there be any way that i can connect zigbee devices dirrectly to the pi 4 to home assistant without using 3rd party apps that might send information to chinese servers. I know nothing about zigbee yet so this is why i am asking.
Yes
There are three Zigbee options with Home Assistant (regardless of how you install it). These are:
zha is actively developed as part of Home Assistant Core, using the zigpy stack, the UI also being part of Home Assistant. The EmberZNet based sticks are recommended (though the HUSBZB-1 uses an older chipset), but there are other options including the CC2652 based sticks. There is no list of supported devices, as any standards compliant device should work. Devices that require extra support are listed, and adding unsupported devices is documented.
Zigbee2MQTT is very actively developed and can run in an add-on, in a Docker container, and natively. As of 1.15 has a native UI, and it also uses MQTT for control and configuration. It supports mostly TI based sticks, with the recommended option being the [CC2652 based sticks](#zigbee-archived message). If you want to use an EmberZNet stick see this issue. The known working devices are well documented (which usually includes how to pair them so you don't have to find the manual), and adding unsupported devices is also documented.
deCONZ is relatively stable and mature with its own UI (and Discord server). It can run in an add-on, in a Docker container, or natively. Only the ConBee range of sticks and RaspBee GPIO boards are supported. Known working devices are documented, and how to request support for a new device is documented too (you can't add unsupported devices yourself).
Basically:
- Pick ZHA or Zigbee2MQTT
- Buy a supported coordinator (Tube and SMLight are the current best), and if USB connected put it on a USB extension cable
- Buy some Zigbee routers and end devices
- Profit!
https://blog.ceard.tech/2019/11/zigbee-and-home-assistant and https://blog.ceard.tech/2022/12/zigbee-tips explain about Zigbee and what some of those terms mean
I am currently using tuya devices and concerned with the fact that it talk to chinese servers, i would rather everything be local and faster.
Zigbee is always 100% local
Sounds good, i just want to be sure.
doe zha work with power-on state
Depends on the device. For Hue and IKEA lamps, it's supported for example
What about TRADFRI led bulb do you know?
The hardware in the bulb has to support it
Tradfri has power on state in the hardware
https://www.zigbee2mqtt.io/supported-devices/ can give you hints, but ZHA is different to Zigbee2MQTT and support will vary
According to that website the one i am planning to buy has power_on_behavior support in zigbee2mqtt
Then ZHA may support it (or may not)
if it does not would it be that hard to simply use z2m instead :/
Hello! My Aqara E1 radiator thermostat just doesn't want to connect to my Zigbee network and z2m... I pressed the ring several times and the pairing light blinked accordingly. I don't think it is a connection issue because I have a windows sensor not far away and many mesh-capable things a few meters away and the coordinator close too. Any ideas?
As long as you buy a CC2652(P) based coordinator not hard at all
Sounds good i will look at those ones
ZHA also supports that, as Tradfri and Hue implement it using the "Zigbee 3.0" way
Now i am confused on if i should go with ZHA or Z2B
"Yes"
Seems like Z2B has a website with guides and specs sheet of what works.
My TL/DR is that ZHA is easier, and standards compliant Zigbee devices will just work. There aren't that many devices that are standards compliant though, and it's easy to know what works with Zigbee2MQTT since they document it all
I run Zigbee2MQTT
I will go with z2m since i am a technical user and it looks to have allot of documentation seems like the right choice for me. lets just hope they don't decide to end it all in the future
Given how actively developed it is, if they stop a lot of us will be sad 😛
(it has a big user base outside of HA too)
I'm using a Sonoff stick btw and I have 2 other thermostats running which work perfectly
@sour shadow you said you use z2M do you use it extensively or just for a few devices, also if you don't mind which adapter are you using?
About 90 to 100 devices, on a Zig-a-Zig-Ah! stick
I don't recommend the Sonof P stick, it's got ... problems
I've also got a Slaesh stick that I'm very happy with (I've run two meshes at times, for testing and stuff)
Did you have to flash those
Well, yes but no, but ... yes
They'll come pre-flashed, but you probably want to flash current firmware - easy to do though, and well documented
I see, but they seem to all be out of stock sadly
so any in the recommended section except the sonof stick
Tube also comes highly recomended
Yeah they are all out of stock lol
except for the CircuitSetup's CC2652P2 USB Coordinator
I will go with this one i guess
stock should be updated. on poe and usb/ethernet cc2652 and poe efr32
That would plug in to my raspberry pi4?
hold on.
USB ones will, on a USB extension cable, PoE/ethernet are network connected
So, ones has usb and ethernet.
On a Pi you'll be fine with USB connected as long as you're not using any other USB connected devices. With other devices also USB connected you'll want a powered USB hub to avoid power problems.
just added last one of the usb only (can be updated later to ethernet if ever desired https://tubeszb.com/product/cc2652p2-based-zigbee-to-ethernet-usb-serial-coordinator-2022/
yes comes with usb cable to plug directly into computer
Sounds good
if i am lucky i might be able to order it
Thank you for adding more stock!
thank you
So basically i plug the adaptor in the wall, and i plug the usb cable to the computer and im good?
i might just be stupid sorry
I understand now it does both ethernet if i have a powered usb hub and plug in a ethernet cable, and then i can also just plug in straight in the pc without a ethernet cable
Any ideas? Every other unit worked so far
@sour shadow you said the other day that https://github.com/Koenkk/Z-Stack-firmware/tree/master/coordinator/Z-Stack_3.x.0/bin had the firmware for the sonoff, but that the latest was buggy
20230507 isnt stable
what version was that, and where do i find that on the github
just usb into the pi
20221226 seems to be the last "stable" (for most people)
the model you got does not come with the ethernet module. (can be added later) but it just plugs straight into usb works like a stick, just on a cable, but you should put sticks on cables anyway so win win
at the risk of getting raked over the coals: whats the different between router and coordinator in the zigbee world?
1 coordinator per mesh network, routers are mains powered devices that also repeat/route traffic, also there are endpoints which are typically battery powered sensors, these can connect directly to the coordinator or routers
Coordinator is the brains, routers just pass traffic around
i got it
but im still gonna read that
and i would want the launchpad coordinator? for the firmware?
https://blog.ceard.tech/2022/12/zigbee-tips also has other stuff to help
You want the firmware for the stick/board you buy
Different boards/sticks need slightly different firmware
20230922 and 23 are testing fws
oh i dont want testing so im going back to 202212-seomthing
would stick with 20221226 until next release hopefully irons out issues
CC1352P2_CC2652P_launchpad_*.zip
ok i think i understand thanks to u both
the 478 thread doesnt have 20221229
my god, thanks
i dont know why i couldnt find it
I see thats exactly what i wanted can't wait to start using zigbee
u know what they say, ask once and look like a fool for 5 minutes
I guess the easiest way is to go through the releases https://github.com/Koenkk/Z-Stack-firmware/releases
lol that dont work for shit using the Flash Programmer 2
crashes as soon as i hit flash
if you use HASOS with addons you can use my addon: https://github.com/tube0013/tubeszb_addons/blob/main/tzb-cc2652-flasher/DOCS.md
that will work with the Sonoff ZBDongle-P?
i do use HAOS but was trying to not use my production machine 😦
but i guess i could use this when i setup the new HAOS box
yes, you just have to manually trigger the Bootloader
weird how sonoff directions dont say to do that
but some videos on youtube say to use bootloader mode
So, meanwhile I have separated the 2.4 and 5 GHz WIFI, and I am making sure all device capable of using the 5GHz use it. You mean how far the WIFI coordinator is ? 10 meters and 10 cm of concrete wall away.
there is a way to trigger it through software but my addon doesn't do that as it's sonoff specific, I may add it at some point
hmmmm
the sonoff zigbee device shows in device manager but wants drivers
should that be some kind of serial driver?
end up trying CP210x_Universal_Windows_Driver
holy crip its a crapple
i got it, amazing how u have to piece together docs, github, videos, etc
so i could take an extra sonoff antenna and flash it with router software and it just exists in my house to be a router (repeater)?
and it just needs power?
@sour shadow thank you for the reading material, appreciate it
with regards to zigbee2mqtt vs zha. can you run both at the same time using the same coordinator? or is it one or the other?
for example, i bought a presense sensor and as soon as i realized it needs zigbee2mqtt i returned it. i also have outlets (in wall mains) that the only way to update the firmware is over zigbee2mqtt.
not for the enlighten outlets though, let me look it up
i guess i could maintain a test environment that uses z2m
no wait, those are zwave, never mind
Every device that Z2M can do OTA updates for, ZHA can as well. Most images are linked here: https://github.com/Koenkk/zigbee-OTA/blob/master/index.json
You can drop them in your configured zha_ota folder and start the update: https://github.com/zigpy/zigpy/wiki/OTA-Device-Firmware-Updates
At some point in the future, updates via HA update entities should be availalbe. But likely not in the near-future
Hello. What is a recommended zigbee radiator thermostat for using with home assistant? the one i bought did show the current temperature but couldnt get set in ZHA, and with zigbee2mqtt it is able to be controlled but it doesnt show the current temperature. i just picked one off of the compatibility list when ordering one for testing.
although the compatibility page for that hama thermostat says it should expose local temperature.
So meanwhile I have separated the 2 4
I have issues with the radar motion sensor TS0601
Almost 2 years ago I've upgraded my Zigbee coordinator. Wasn't easy, so I made a tutorial: https://community.home-assistant.io/t/tutorial-to-upgrade-slaeshs-cc2652rb-zigbee-usb-stick/374306/3 Today I want to upgrade again. Follewed my own tuto 😉 In step 4 I get an error
git clone https://github.com/JelmerT/cc2538-bsl.git xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
Any clever Python experienced guy wants to help me? How should I proceed?
Mac?
Yes
Google missing xcrun and you get many answers
Thanks, this software requires 15,6 Gb!
Is it possible to remove the software once the upgrade is done? I only need it to upgrade my coordinator
Almost certainly
Hey, I just bought a light switch zigbee from tuya but I don't have a tuya zigbee HUB, only an Echo Alexa. I managed to connect the interruptor to the alexa, but it shows as a lamp and I can't select which button to turn on/off, only the entire 3gang on or off... Anyone knows how I can add on the alexa as an interruptor or any other way?
Zigbee coördinator and Thread updated. Thanks
Assuming you're using Home Assistant, you can use ZHA or Zigbee2MQTT and your choice of coordinator
There are three Zigbee options with Home Assistant (regardless of how you install it). These are:
zha is actively developed as part of Home Assistant Core, using the zigpy stack, the UI also being part of Home Assistant. The EmberZNet based sticks are recommended (though the HUSBZB-1 uses an older chipset), but there are other options including the CC2652 based sticks. There is no list of supported devices, as any standards compliant device should work. Devices that require extra support are listed, and adding unsupported devices is documented.
Zigbee2MQTT is very actively developed and can run in an add-on, in a Docker container, and natively. As of 1.15 has a native UI, and it also uses MQTT for control and configuration. It supports mostly TI based sticks, with the recommended option being the [CC2652 based sticks](#zigbee-archived message). If you want to use an EmberZNet stick see this issue. The known working devices are well documented (which usually includes how to pair them so you don't have to find the manual), and adding unsupported devices is also documented.
deCONZ is relatively stable and mature with its own UI (and Discord server). It can run in an add-on, in a Docker container, or natively. Only the ConBee range of sticks and RaspBee GPIO boards are supported. Known working devices are documented, and how to request support for a new device is documented too (you can't add unsupported devices yourself).
There's one starter
And the top pin explains more about Zigbee
Hi all! I think this question may have been asked multiple times. Does anyone know if it is possible to use a Ikea Trafdri repeater as a "range extender" for an already existing Zigbee gateway connected to Tuya? Because I've bought two of those, but my Tuya app does not pair with them
If you can pair it to the gateway, yes
Did you put the tradfri repeaters into pairing mode?
I'm treating them as sockets, so with a small needle I'm pressing the button in the small hole until it starts blinking. It quickly blinks for a couple of times ,then it stops blinking
It's possible the gateway only supports whitelisted devices
I don't think so, maybe it's not really going in pairing mode as it doesn't blink
Side question, I've never looked into zigbee2mqtt, is it an alternative to pariring zigbee devices to tuya?
Yes, and so much better
Do I need extra hardware?
and / or a good guide to follow so i can spend all the night? 😄
You need a coordinator, and they have awesome docs
https://www.zigbee2mqtt.io/ and click Get Started
Got it, so I should throw away my zigbee gateway
You may be able to flash it if you're lucky
https://github.com/Koenkk/zigbee-herdsman/issues/319#issuecomment-789757269 has details of some hackable hubs
Hey guys,
I moved my HA to a new pi. I did a backup and restore and everything seems to work nicely, except zigbee2mqtt. My few test devices can't connect or I'm not receiving any messages.
I'd like to start over with zigbee, but can't delete the devices either.
If I remove the addon and the mqtt broker, will they properly remove all previous configuration?
is it common for the sonoff p dongle to have usb dropouts?
its triggering the absolute shit out of me
i have a spare one.. it does the same thing.. maybe its usb controller related?
Have you tried re-flashing it? I heard it can have NVRAM issues
have not.. im keen to give it a shot though
does it require soldering iron?
it wont do it for like 12 hours.. and i think.. ahh.. its fixed.. then it will do it 3 times quick succession
No. Search for from: tinkerer nvram here to see what I mean. I haven't had issues with my own though.
The ZigStarGW-MT can clear the NVRAM and flash but you can probably also use another tool. I use cc2538-bsl but only to flash.
and then just for lulsy.. call itself ttyACM1 the last time.. which i've worked around by using /dev/serial/by-id .. but that has issues with docker
it seems you need to run it in privileged mode and pass /dev/ through as a mount for that to work reliably
/dev/serial/by-id is indeed recommended and should have no issues with docker. If you run privileged you don't have to pass anything
it passes through just the device id though
ie.. it doesn't update if the device changes its device number
unless you restart the container
That's kinda the point of using /dev/serial/by-id. It should stay the same
it just creates a symlink to the device
but it only checks that the once when you start the container
It's possible your USB ports are going into power saver mode or something. Check dmesg -T. Might have something useful in there
maybe.. or they're just crud
total 0
lrwxrwxrwx 1 root root 13 Oct 16 09:59 usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220817085207-if00 -> ../../ttyACM1
root@superbin:~# ls -l /dev/ttyACM1
crw-rw---- 1 root dialout 166, 1 Oct 16 09:59 /dev/ttyACM1
snadge@superbin:~$ docker exec -it home-assistant bash
89c9a6f2c585:/config# ls -l /dev/ttyACM0
crw-rw---- 1 root dialout 166, 0 Oct 16 09:59 /dev/ttyACM0```
so the serial by-id name doesn't change
but you can see inside the container ttyACM0 (which is linked to that on creation time) is still 166, 0
instead of 166, 1
if i restart the container.. then it works
if you just pass through the device name as is.. it is static it seems.. so people work around that by passing /dev through
which is pretty hacky
i have a different host i can swap out to see if its the usb port / controller
Yeah seems like this is still an issue for docker
thats okay though, i think i want to focus on the usb dropping out issue rather than the docker issue
which you can work around by passing through dev and using privileged mode, which is obviously hacky
because presumably even if the device drops out, gets a new device number.. the zha integration probably needs to reload
which my understanding is, it does that automatically
Hey, i am in canada i am looking for a zigbee light switch that would work well with smart bulb any suggestions?
Hi there.
I'm having troubles with getting connected the outdoor sensor via ZigBee. I have a ZigBee coordinator TI CC2531. Only end device I have is a temperature/humidity sensor Tuya (TS0201).
The problem is that when the sensor is outside (10 meters and 3 walls from the coordinator) I don't get any data from it. In logs I see that the sensor is pingable:
2023-10-16 15:48:25.945 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xF41D](TS0201): Device seen - marking the device available and resetting counter
2023-10-16 15:48:25.945 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xF41D](TS0201): Update device availability - device available: True - new availability: True - changed: False
At the same place outside I have no issues with wi-fi having the accesspoint close to coordinator as well.
If I though bring the sensor close to the coordinator it gets data ok. But even then the LQI is just 115 when the devices are 5cm apart.
What might be the issue? Is it coordinator? I read this chip is quite old...
It's an older chip but the problem is probably the "10 meters and 3 walls" situation. If you can get a router device like a Zigbee smart plug or bulb into the room before that exterior wall, it would probably help.
Thank you for the tip. Smart plug or bulb might be a solution.
What is the effective distance for the end device? Is it really that short? And what about LQI? I read its range 0-255, so I expected to see over 250 when ED and coordinator are 5cm apart.
Hello, I have an issue with Zigbee2MQTT
Specifically, there seems to be nothing I can use in an automation, to tell me that a zigbee device is online or not.
Am I missing something, or is there genuinely no way to tell, short of trying to use it?
From Microchip:Received Signal Strength (RSSI) is a measure of incoherent (raw) RF power in a channel. The RF power can come from any source: other IEEE802.15.4 transmitters, Bluetooth, WiFi, FSK, or background radiation. RSSI is also called Energy Detection (ED) Level and is used for Clear Channel Assessment (CCA). For a single-hop network, RSSI may be used for LQI.
Link Quality Indication (LQI) is a cumulative value used in multi-hop networks to assess the cost of a link. LQI values can be modified at each step as the massage propagates through the mesh matrix. Messages taking different paths through a mesh may have different LQI values, the path with the best LQI is chosen for subsequent messages. Outgoing LQI values can be calculated from coherent (demodulated) Packet Error Rates (PER), RSSI and incoming LQI values. The exact method depends on the network stack being used.
The last line is significant .. There is no standard
I just received my very first CC2652P adapter today! I've never run zigbee2mqtt. The https://www.zigbee2mqtt.io/ page talks about tools for flashing it. But do I need to flash anything and where can I find the image for it?
I haven't flashed mine, but I think I'm on a precious version.
The sonoff stick ist Pretty popular. Just watch 1-3 youtube Videos how to set them up
Or look for guides on the Internet. It boils down to installing mosquitto addon, zigbee2mqtt addon, configured both, finished
Yeah, going to run it in docker on a rpi. That part is straight forward and doesn't worry me. Its the flashing part before that I'm searching for. E.g. are the CC2656P coordinator image suitable for all makes of adapters?
no clue, mate. Maybe someone else?
i have a hama thermostat connected via z2m, what does the "auto-mode" option mean in HA? is there a way i can set what the auto-mode does?
Ah, yes, I have the CC2531 😉
Always good policy to update the firmware on anything you just bought
https://github.com/Koenkk/Z-Stack-firmware
And here's the other thing you'll need
https://github.com/JelmerT/cc2538-bsl
They work regardless of the adapter brand/make?
I.e. it is universal to the chip model, right?
My device is from Ali and I got it by following the link on zigbee2mqtt page under Vision CC2652 dongle and followed the VS202 link to Ali, yet there is nothing in the product page on Ali that suggests either Vision or VS202. And Vision is not listed among the above table. Hmm...
From Microchip Received Signal Strength
somehow can't register with TI, always tells me my account doesn't exist :/
Hi I’m rather new to zigbee and I’ve got an zigbee thermostat I’ve paired it and it shows up as an TS0601
by _TZE200_2ekuz3dz however I only got the RSSI and lqi parameter in zha it’s an TGR85-ZB-ep https://zigbee.blakadder.com/Beok_TGR85-ZB.html should I remove it from the fabric and add it again or is it just not that well supported?
It's not yet supported then. Check https://github.com/zigpy/zha-device-handlers/issues for device support.
Although these custom quirks aren't completely optimal (partly also the reason they're not merged in zha-quirks at the moment), check out the ts0601_thermostat_avatto.py from https://github.com/jacekk015/zha_quirks.
You can use that as a custom quirk for now. It can break at any time though and isn't officially supported.
... although the _TZE200_2ekuz3dz is added to one official quirk ( tuya/ts0601_electric_heating.py MoesBHT)
had the same problem with my thermostats (different brand tho), updating HA helped for me
So yeah, if you're not running HA 2023.10.x, maybe create a new issue on the repo (linked above) too and please provide the device signature and/or device diagnostic information, so we can properly track the issue and what exact device/firmware you have.
Thanks I’ll have look into it tomorrow!
Hello, is it possible to perform a raw attribute read using zha (without zha_tookit)? I am trying the following with no luck:
service: zha.issue_zigbee_cluster_command
data:
ieee: 00:1f:ee:00:00:00:9a:e3
endpoint_id: 1
cluster_id: 0
manufacturer: 0
command: 0
command_type: server # not sure
cluster_type: in # not sure
params:
attribute_ids: [4] # not sure
Or perhaps I misunderstood that "command" != "command"? I.e. one is cluster command (on/off) and second is low-level command (read attribute), with the later not being available to fire as ZHA service?
That is for ZCL commands, not reading attributes.
You can either use ZHA toolkit or read them using the "Manage Zigbee device" -> "Clusters" UI on the device page
Why do you want to read an attribute manually though?
Got the Aqara hub and confirmed my Curtain is on the latest firmware. After re-pairing to HA it immediately goes unavailable after the first open/close command and has the following event:
event_type: zha_event
data:
device_ieee: ****
unique_id: ****
device_id: ****
device_event_type: device_offline
origin: LOCAL
time_fired: "2023-10-16T22:21:56.342945+00:00"
context:
id: ****
parent_id: null
user_id: null```
Can you check debug logs? You can enable them on the integrations page, re-pair, cause the issue again, wait a few minutes, and then disable the debug logs again (which will cause them to be downloaded).
You can put parts on dpaste or DM me the entire file (or parts) if you want
Also, what if you issue a set position command instead of open/close?
Does it also go unavailable then?
I'll DM you parts, and then I'll test that next!
It seems to break even just by doing the set position. Definintely unavailable, but stuck on Is closing
Hi, I recently connected a bunch of IKEA Tradfri GU10 bulbs to HAOS through Z2MQTT. I noticed that it seems to discover the bulbs as "sensors", rather than "lights". As a result, I'm unable to setup automations and stuff which require interacting with the bulbs as a "light" device (eg. Brightness, color temp, etc).
Anyone has any idea/ suggestions please?
I moved and have an old CC25xx USB stick and 3 aqara leak sensors I want to work. I had zigbee2mqtt running before I moved but I haven't tried this in 2+ years. Can someone help me figure out how to get one of these sensors recognized?
the status page says "bridge state: offline" so start there?
root: dmesg
New USB device found, idVendor=0451, idProduct=16a8, bcdDevice= 0.09
[ 2.332138] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.332150] usb 1-1.3: Product: TI CC2531 USB CDC
[ 2.332160] usb 1-1.3: Manufacturer: Texas Instruments
[ 2.332170] usb 1-1.3: SerialNumber: __0X00124B00194A2455
though I don't see it actually mounted to anything
I'm sure this has been asked before, but is there any way to test z2m without all my zha devices being gone?
Background, I just have problems with my TS0601 Zigbee TRV's which do not show me all attributes in zha?
test on the same coordinator?
i had to remove my usb extenders.. and after testing for about a day (inconclusive) they were causing the dropouts on my sonoff-e dongle 😐
If you're on Home Assistant 2023.10.x, ZHA will notify you if your network settings have been overwritten by Z2M and offer a restore repair
So zha.issue_zigbee_cluster_command can only issue Cluster-specific commands, but not "2.5 General Command Frames" (as per ZCL rev 8)?
Neither zha_toolkit nor reading an attribute manually is an option. 😦 I am trying to write manufacturer-specific attribute (which is missing in UI) of Array type (currently unsupported in zha_tookit - PR underway: https://github.com/mdeweerd/zha-toolkit/pull/210) For debug purposes I wanted to get rid of middlewares and get as close to zigpy as possible.
I think so, yes
Is the manufacturer specific attribute added using a custom quirk?
Right i updated HA to .10 but still not supported, i'm now diving into quircks 🙂
right it's detecting that it needs an quirck but can't load the correct one
hello
i have zigbee device (garden water control valve) in SmartLive app i see device correct and can on/off controll the valve. But in HA via Tuya integration this device is not possible controll. Other devices working well. Is there some chance to make this device work? Some workaround via Tuya developer or something like this? Thanks for help.
You can try to connect it using ZHA or Z2M if you have a supported coordinator
Another way is via the Tuya-Local custom component
i have a philips hue bridge and a hue light connected to it. i recently got an ethernet zigbee controller. can i remove the bridge and add the hue light and remote to the controller instead of hue bridge?
Yes
I just added a whole bunch of new switches in my house, through ZHA... How do I get the entire network to remap itself so everything is connected properly to the best connected devices, instead of directly to the coordinator which may be on the other side of my house?
yeah i worked it out htanks
i just can't work out the automation for the remote to change colour temp
I've got an Aqara Temp & Humidity sensor. It's been working great for the best part of 2 years. All of a sudden, it's reporting unavailable.
I've got a graph charting battery level for most of my battery powered devices. When this last reported in about an hour ago, it was at 65% .
I've short-pressed the button. I've long-pressed the button. I've removed & reinstalled the battery. It still shows unavailable. All other devices are available and functioning, so it's not a general ZigBee failure.
What else can I try to revive this?
When I press the button, the blue light does flash, so I have every reason to believe the battery isn't dead. I did swap another battery into it (of unknown provenance) and a button press with that battery does not cause the light to blink, so I do believe the "other" battery is dead while the original one is good...
Change the battery
Even though it was reporting 65% battery level and the light does blink?
I'll see if I've got any spares...
Yes
Found a new battery in the package. No dice.
Weird things have been happening lately - I've had a few Shelly devices drop off WiFi, only to reappear a day or so later. I guess this is just the next in line. I'll give it a couple of days to see what happens.
I do updates on Monday of each week and since last Monday I've had a couple of zigbee devices go haywire. After I do my updates and the server restarts one of my Singled bulbs and a Third Reality Button (which is set up via automation to on/off the Singled bulb) don't work for about a day. For example, after the server restarts yesterday those devices didn't work. They show up in the UI but HA can't turn the bulb on/off (but Alexa can!). Then, as of this evening the combination works just fine. How can I go about troubleshooting this. Zigbee2MQTT
ZHA raw attribute read/write
Hi maybe an weird question, do i need to use the tuya app to activate their zigbee devices or should it just work?
it should just work if they're supported by your integration
Hello I hope your all doing well I just got my HA yellow and some aqara d1 switches that use zigbee and I want to connect them with the HA some ppl told me that I need another hub to connect the switch and then connect the hub with HA is that true??
no, HA yellow comes with a Zigbee coordinator
Dude, that's exactly the thing you asked in #yellow-archived yesterday and you got the exaxt same answer 
but this time i answered so its got that special sumtin' sumtin'
Yeah man I just got confused cuz I keep telling one of my friends and he keeps saying no it's impossiblee
In so sorry
I'm*
is your friend a smart home expert?
Nope but he installed aqara devices in his house
yes, i also drive a car but don't have a clue on how to fix the engine
That's why I'm asking the mechanic lol
but good news for your friend, you'll make the impossible into possible
Omg I'm about to achieve something no one has ever donee
Thanks alot for the help guys I appreciate it 🙏
I would place a bet on:
he saw the label "*Aqara hub is required" on the packaging
Nope it's all in Chinese so even if he did he wouldn't understand he told me he saw some YouTube tutorials and he assured that I need a hub lol now I'll surprise him nd make him get a HA yellow
I know someone, who has quite a good database, what is compatible with ZHA or other Zigbee integrations:
If your device is listed there and marked as ZHA compatible (the HA logo), it is almost a guarantee it works.
https://zigbee.blakadder.com/index.html
Thank you so much I appreciate it
The Aqara door sensors drive me absolutely insane. They refuse to stay paired to the router nearest them, attempt to switch to farthest away device in house and go unavailable
They're fun like that
Not sure if this is the right place to ask, but here goes:
I got a sonoff zigbee dongle connected to my raspberry pi running Zigbee2MQTT through docker.
That part is up and running.
Then on my NAS I got a docker container with Home Assistant and one with Mosquitto
That part is also up and running.
However I'm not sure if everything is connected or integrated. When trying to add the integration in Home assistant it asks for a host adress but does not say what or how to find that host adress.
I have 1 or 2 (of 7) aqara [temperature] sensors that do similar - I haven't worked out which routers they don't get on with yet. IKEA lightbulb maybe?
It's annoying that they need the long button push to reconnect to the network
I threw a liquid sensor under my fridge that's currently offline. I'm hoping I just pushed it under there too far and it's not also trying to pair to the farthest possible away device
It's funny you mention the IKEA lightblub....that's what my mailbox sensor attaches itself to
They pick the first one they hear. Make sure to re-join it to the network by only permitting joins through the closest router, so that it has only one choice.
Hey all, any insight into the Skyconnect issue I described here?
#hardware-archived message
You mentioned both Thread and Zigbee. Are you running multi-protocol firmware on it?
Yeah, I am.
When you say "and after some troubleshooting what seems to be happening is that the Skyconnect essentially disappears as far as HA is concerned.", what do you mean?
Actually, I guess that's a slightly inaccurate characterization. It still thinks it sees it, at least in the sense that "home assistant skyconnect" shows up on the hardware page. But when I try to reconfigure ZHA/OTBR, it doesn't work, and they both fail to initialize on system start. But unplugging and re-plugging works like a charm.
How reliably are you able to reproduce this issue? Do you have any Thread devices or just Zigbee?
I think you're running into https://github.com/home-assistant/addons/issues/3192, which I'm trying to reproduce (and get fixed)
So, I have Thread devices, but I have actually yet to get to successfully connect to HA. It is 100% reproducible, because the issue happens every time the VM and/or host machine restarts.
Looking at the issue you linked, it seems to be a different situation because it's describing intermittent failure during a given period of HA running. And restarting the host fixes it, rather than being an initiating event.
So for your specific problem, you can fix it by fully rebooting the host, without physically unplugging your adapter? Does a reboot power cycle USB devices on your setup?
This is the only thread I have found were someone describes what I am seeing:
https://community.home-assistant.io/t/skyconnect-zha-issues/533619
No, the opposite. Sorry, I was saying that a full reboot seems to be a fix in the issue that you linked to based on reading the first post. In my case, everything is stable as long as my HA install keeps running after I plug in the skyconnect. But once the host restarts, OR if the VM restarts independent of the host, ZHA and OTBR fail to initialize on HA startup. And the ONLY way to resolve is to physically disconnect and reconnect the adapter, then reload the integrations.
That sounds like the issue I linked to above, where the firmware on the stick crashes and no amount of rebooting or resetting will work unless you physically unplug it (or power cycle the system in a way to cut off power to the stick)
In the first post on that issue, the person says "usually requires a complete reboot of the host" and in my case that doesn't fix anything.
They later clarify "Simply turning the VM for HAOS off and on nor just rebooting the host without the replug was not enough.", which sounds like what you're describing
Yeah, that part is consistent. Although it's interesting that the issue is talking about, seemingly, spontaneous failures. Rather than failures that seem to only occur when the VM restarts.
There's possibly more than one bug involved here but if you're able to reproduce the issue somewhat consistently, I would love to know how. Does it still happen if your Zigbee and Thread devices are disconnected from power?
Don't know, haven't tried that. I can this weekend and report back.
Tag me if you have any updates. Or leave a comment in the above GitHub issue. Thank you!
What's the best way to set up ZHA on a remote system from my main HA instance?
I've got HA running on a full-sized server in my basement. Various Zigbee devices are upstairs, and it'll be a pain to run a cord from the server to the top floor. I have the ZBDongle-E.
I've got a spare RPI3 flashed to the newest debian headless. I learned last night that Z2MQTT doesn't like the ZBDongle-E, so I understand that I need to run ZHA. I can put HA onto the pi, but a) that seems like a lot just to run ZHA, and b) I don't even know if I can then connect that HA instance to my main one.
What do you folks recommend?
Is there Ethernet upstairs?
No
😢
Install ser2net on the Pi, set it up with the stick, and then have ZHA connect to socket://pi.ip.addr:port
Yea but over Wi-Fi…
That’s a worse end result than just leaving coordinator in the basement
Have I made a mistake by using the included battery in a smoke detector that's in a remote location 😖 the battery has been 100% for more than 2 months but in the beginning of the week it went down to 0% over 30ish hours
Theoretically it should've lasted at least 2 years
Are you concerned about ping times?
Thanks. I will take a look at that
yeah it's generally considered a bad idea to go from zigbee to wifi to home assistant
My zigbee's are a couple of suckers that I don't need to go fast, but I can definitely keep that in mind
usually in your situation people will buy a PoE zigbee coordinator and connect zha or z2m remotely like ser2net does
Put it this way: I'm nuking a Vera for this little frankenstein (who btw is going to act as a satellite microphone for voice assistant as well). Trust me - I'm already overjoyed with the stupid thing. It'll be hard to do worse than that horrid little box.
Yep, up and running, and it's working great. You guys nailed it as always. Thanks @austere patio and @grim igloo (that's gotta be worth a ping)
i am having issues where my zigbee devices randomly show as "on" when they are not actually on, or in rare cases, get turned off with no interaction whatsoever. the logs show the devices being turned on/off however there is no automation, script, or user that is doing so. could this possibly be a zigbee issue rather than a HA issue? i saw somewhere in the logs that channel 11 is 94% utilization. at first i didnt think that could be causing the devices to toggle by themselves, but, maybe??
Hi Guys, I just got some Zigbee Temp/Humidity sensors (_TZE200_locansqn, TS0601) which can kind of be integrated (RSSI unknown, and no sensors detected). What would next step be? (Using ZHA/HA)
Create a custom quirk for them
ok, will try...
search the quirks (zha_device_handlers) repo there are some issues that may have quirks that work within that have not been made official PRs to make it into a release.
hey folks, it was explained to me the other day by this channel that i could effectively migrate from my Sonoff ZBDongle-P to the SkyConnect without having to do scortched earth. questions are, what makes that possible and how do i know that (aside from someone telling me that)? like, what is the resource or what am i looking at? is it the chipset? im trying to learn here because i need to do a backup/restore/migration to a new box and i am doing this SLOWLY because there's no clear documentation (from what i can see) about how do this without screwing my 100 device PAN.
fwiw, it am buying three of everything in total (one set is my production environment which i will not touch or involve in any testing, because, well, who does that?) and the other two sets will be for repetitive testing scenarios to document how to do this. i hope to write a github or forum post for others
Hello there, I have a "simple ? " question about Zigbee devices under ZHA
I have a router, A power plug acting as relay and a thermometer as end device (yeah, it's simple)
I have often problem getting the refreshed values from the sensor, who's sending to me the same values for hours
I raised on HA the sensibility to 1/10 ° but it seems to not bother
Is there a way to send a service call or anything to force fetch the values ? I could use some automation to force refresh each 15/30mn (I know it will be power hungry, but I like my temperatur graphs refreshed often, and my BLE ones are doing it fine)
a zigbee coordinator no matter what chipset basically has all the settings for the network stored on it. when they are backed up, the settings are written to a universal backup format that can be restored to any other supported radio to migrate the network to a new coordinator.
ok
that is helpful, however, changing channels hypothetically, would require a forklift/rebuild
so as long as i stay on channel 25, the restoration and database restore, should work for most radios
Just set up your new box with the old stick and make sure it works, go to ZHA's config page, and then click "migrate radio". It'll guide you through the rest.
ok!
the migrate radio is ON THE NEW SYSTEM
i read somewhere that u do that on the old system
ah this makes sense, what if im using a new antenna, do i migrate on the old system first?
that would make sense
It doesn't matter where you do the migration
provided the restore is done on the new system FIRST?
ah ok, so i would plug in the old radio to the newly restored system THEN do a migration to a new radio
If you do a Home Assistant OS backup/restore, move over all of your USB sticks, everything should work on the new system
i was making a LEAP the first time, i was doing a backup of the old radio on the old system, restoring to new system and using a new radio
Then you can migrate from one Zigbee stick to another
i was skipping a step it seems
i was trying to just restore to a new radio from the getgo
You can skip the step too, it doesn't really matter. Just make sure to use the "migrate radio" button but click "re-configure current radio", since you have no "old" radio
right
i did that and all my devices lit up but didnt work
lit up like, i could toggle them in the dashboard
but they didnt actually work
whats that process look like? how long does it take for the devices to realize they got a new radio to report to/
Usually instantly
Devices don't notice a change, since there is no "new" radio from their perspective
argh ok, that didnt work for me like that, i waited like an hour
but like i said i went to a NEW radio (identical model with newer firmware)
Migrate to the new system with the old stick first. If that works, then migrate to the new stick. If that doesn't work, let me know and we can figure it out.
yeah ok, thats where im at in my head
i bailed, went back to old system, everything is working
i re-wrote the emmc on the nuc i have and am starting fresh
i gotta do zwave too, and that didnt work either
so what im going to do first is actually setup a NEW environment with a couple zigbee and couple zwave devices that i have extra
and practice the migration
next question, aside from backups, are there any HA/DR approaches? multiple boxes multiple radios, or a primary/secondary approach?
oo, that's a great question.
As long as your new radio has no formed network (the state it's in after you migrate away from it with ZHA, or reset it manually with zigpy-cli), your network will be automatically re-formed from /config/zigbee.db on startup
So if your new system has a radio plugged in (and is configured to point to it, as each radio's /dev/serial/by-id/ path is unique), and your /config/zigbee.db file is somewhat up-to-date, the new setup will take over
sick
Alternative is to set up a TCP coordinator with ser2net and have ZHA point to socket://ip.addr:port instead of a /dev/serial/by-id/... serial port
is there a guide on how to reset it with zigpy-cli? because i definitely have my second radio orphaned on a system that doesnt exist anymore
Truthfully, as long as you avoid the Sonoff USB Dongle Plus-P, you shouldn't ever experience a broken setup. That is the only stick that I'm aware of that can sometimes just "stop working".
Easy to fix by re-flashing firmware, which can be done remotely
You can only have a single active coordinator
right
i figured as much
but nothing in the way of active/passive, i guess the DR plan is to have an extra radio and just migrate really quick
no HA, manual DR
High Availability!
not Home Assistant
I've never heard of a stick failing unless you physically destroy it. Just have a way to re-flash its firmware and you will be fine with a single one.
and a good backup!
lol which i have setup to go to my NAS
ugh, no gifs in chat, so sad
now i gotta go figure out zwave from that channel
Anyone know of a zigbee switch (one I can build into a wall box) that works with momentary rocker switches?
Can anyone recommend me a zigbee switch relay that does power monitoring?
Or am I going to have to go Wi-Fi route?
Is anyone currently having issues with ZHA? All of my devices won't connect. My system has been running smoothly for months. Tried reverting HA update
Sonoff zbmini or zbmini-L2 depending on whether you have neutral wire. I have a couple of the L2 and they've been solid.
Can you post a link to diagnostics JSON for the integration?
How do I do this?
Go to Settings > Devices & Services > Zigbee Home Automation (cog wheel) > three dot menu > Download diagnostics
Is your Conbee on a USB extension cable and away from interference sources such as USB 3.0 ports, SSDs, power supplies, 2.4GHz WiFi, mesh systems, etc.?
Not on a usb extension cable, but it's been in the same location for over a year and the issue only started 2 days ago
Move it onto a USB extension cable. There haven't been any changes to any code communicating with the Conbee is many months.
I've tried to migrate the radio to a sonoff dongle but getting nothing but unknown errors.
I've started getting this error as well
Logger: homeassistant.components.zha.core.cluster_handlers
Source: components/zha/core/cluster_handlers/init.py:537
Integration: Zigbee Home Automation (documentation, issues)
First occurred: 8:18:02 PM (55 occurrences)
Can you enable debug logging for the ZHA integration (same page you downloaded diagnostics) and post the errors?
MAC_CHANNEL_ACCESS_FAILURE in the log means the stick is refusing to transmit because of interference, so you really need the USB extension cable and to move it away from interference sources
Regarding the migration failure, however: could you upload a log for that too? There shouldn't be any issues with migration, especially from/to that stick
Ok, I will try and move it away from everything now
I'll see what I can do
Greetings, I have a CLA60 RGBW OSRAM Bulb (ZHA) and want to set the level to a specific value with an automation. Via the zigbee-device management I can set the level but I wonder how I set it in my Automation. Its in the Cluster LevelControl the operation move_to_level (). How do I translate this to yaml? 😉 Thanks for any hint to documentation or snippets 🙂
So the light.turn_on service doesn't work for your use-case?
https://uploadnow.io/f/Dv5jbtY
Error I get when trying to mitigate the signal
zigpy.exceptions.FormationFailure: Network formation refused: there is likely too much RF interference. Make sure your coordinator is on a USB 2.0 extension cable and away from any sources of interference, like USB 3.0 ports, SSDs, 2.4GHz routers, motherboards, etc.
Yeh, I've just ordered an extension. Will be here tomorrow so hopefully that will help. I just can't understand why it would be working so well for such a long time and then decide it won't work anymore 😑 forgot how annoying turning lights on and off was 🤣
Thanks for taking the time to help. Fingers crossed for tomorrow
If you're anywhere with WiFi, it's very possible a new neighbor got a mesh system or your own router/mesh system decided to shuffle channels around
But get the USB cable for sure, especially with a Conbee. It working without one is unusual to begin with and likely introduced just enough noise to make anything extra break it.
I've purchased the sonoff dongle P as I thought my conbee had broke. So if the extension fixes the issues I will be moving dongle either way
So the light.turn_on service doesn't
i've got zigbee2mqtt working with a hues dimmer remote. one of these. https://www.zigbee2mqtt.io/devices/324131092621.html
i can subscribe to events and see the state change and watch teh counter hit 2 and 3 when i double tap and triple tap. but i can't seem to figure out how to create a trigger for that in an automation. any help?
and once i do figure out a trigger. it seems like it's always triggering the single tap when i double tap. how do i get around that?
Hi, I have a Conbee 2 currently set up with the Zigbee Home Automation integration. From reading here I believe that I may be better off using the deCONZ integration. Do any of you gurus have tips for the transfer? I assume I should delete the first before adding the second - anything else?
Before you do anything, take a backup
Why do you think deCONZ would be better for you?
It was an impression I got from a previous discussion on here. I’d rather not go through the process if it’s not necessary. The main reason I’m looking for answers is that my devices are about 80 feet away from the Conbee through several walls
Hi, I recently connected a bunch of IKEA Tradfri GU10 bulbs to HAOS through Z2MQTT. I noticed that it seems to discover the bulbs as "sensors", rather than "lights". As a result, I'm unable to setup automations and stuff which require interacting with the bulbs as a "light" device (eg. Brightness, color temp, etc).
Anyone has any idea/ suggestions please?
Update: Just needed to update HA version as the older version resulted in Z2M having some issues.
Hello guyz, is there a device or an app for testing zigbee signal strength
Hi there,
Just wondering if anyone knows whether the Home Assistant SkyConnect dongle works with container installations yet? based on the website its implied it does not
"We will be looking into making this available for Home Assistant Supervised and Home Assistant Container installations afterwards."
Sure it does, even works with things other than HA
Now... the multi-protocol stuff... that's different, and should be avoided anyway
Ahh good to know, thank you for confirming 🙂
I've set up Hama Thermostats with z2m and in HA there's an "automatic mode" available for these thermostats. Is there a way to change these values for the automatic mode in HA or z2m or do i need their software or is that "hardcoded" into the thermostats?
There's no difference between integrations when it comes to range, that's all determined by your devices alone
Hi. I'm new to Home Assistant, and I'm trying to integrate a Danfoss/Popp thermostat valve into my setup. I discovered I need to merge in this PR in zigpy/zha-device-handlers to get proper support: https://github.com/zigpy/zha-device-handlers/pull/2150.
When binding devices with ZHA, especially groups, should we choose all options? etc lightlevel, onoff, scene etc, or only "onoff" and "lightlevel" ?
Hi, i try undestand the xiaomi djt11lm axis, but i don't know how works, i try know when a canopy its open or close. I attached the sensor to structure of canopy and i can read the values, any tips?
it helps you identify the device, usually by flashing its LED @dire hedge
when the device is with battery down:
args:
rawValueX: 43
rawValueY: 9
rawValueZ: 1322
X: 2
"Y": 0
Z: 88
and when the device is with battery up:
args:
rawValueX: 62
rawValueY: 16
rawValueZ: 64862
X: 0
"Y": 0
Z: 90
i don't understand how it's work.
Edit: i use the raw values this i think its more precise
My garage has a 3gang switch (flood, coach and internal lights) but they're all 3way with another 3gang switch set for same lights inside the house. 1) what reco's do you have and 2) do I need 2x sets of swtiches or does one cover me?
would this work for me or not?
Ok. Thanks very much for your help 😁
i don't understand the US installations but i think it's works, see this manual https://enbrightenme.com/mwdownloads/download/link/id/3533
TY
I found the problem and i fix it https://github.com/zigpy/zha-device-handlers/pull/2670. 😋
I flashed my dongle-e from 7.3.1.0 to 7.3.2.0 with no loss of devices some of them got flaky afterwards so i just repaired all of them, can confirm these instructions still work (just had to jiggle my light bulb to get it to rejoin)
zigpy radio --baudrate 115200 ezsp /dev/ttyACM0 backup zigbee-backup.json
universal-silabs-flasher --verbose --device /dev/ttyACM0 flash --firmware ncp-uart-hw-v7.3.2.0-zbdonglee-115200.gbl
zigpy radio --baudrate 115200 ezsp /dev/ttyACM0 restore zigbee-backup.json
got those instructions here: https://github.com/darkxst/silabs-firmware-builder/issues/14#issuecomment-1676851313
Is it possible to (or how can I) extend a zigbee network over a distance so that lights in both areas can be part of the same zigbee group and bound to the same motion sensor? I have ethernet cable with poe between the two areas.
what is the preferable way nowadays to use a sonoff zigbee dongle in terms of integration? is it zigbee2mqtt? something else?
zha?
depends on the dongle, the E version works better with ZHA since its still not marked as stable under zigbee2mqtt
"SONOFF ZB Dongle-P Zigbee 3.0 USB Dongle Plus Wireless Zigbee Gateway Analyzer Zigbee2MQTT USB Interface Capture with Antenna"
that one works with both
from my understanding zigbee2mqtt is more flexible long run?!
define flexible
no clue. just read some comments.
i cant find an accurate comparison between the 2
what are you comparing
its like saying you cant find a vehicle comparison
i am a developer, i am not scared of code (by the way)
you need to know what your comparing for
i understand that but if i dont know either, i dont really know what to compare for
i dont understand where they differ
one requires mqtt the other doesn't
i think i will go with z2m. i am used to mqtt from my job and it seems it could be more flexible for my understanding / custom usage
i mean, you can try both and see, they're all free
I use Z2M, very happy with it. I started with ZHA about 18 months ago, but went with Z2M because at the time I was curious about how zigbee networks hang together, and the Z2M UI exposes more of the Zigbee API
(I love the Z2M network map, does ZHA have that yet?)
yes, its in the integration
Also ZHA was causing me frustration with some IKEA device that (at that time) seemed better behaved in the Z2M network. That's likely a non issue now too.
With Z2M your zigbee devices appear in Home Assistant via the MQTT integration; with ZHA they are presented through the ZHA integration, and I think generally the ZHA UI aims to abstract away the zigbee details that Z2M exposes
The Z2M web UI runs along-side the HA UI, easiest to access if you tick option to add it to the HA main menu
Hello! I am currently setting my Sonoff ZBDongle-E with Silicon Labs Multiprotocol (RCP Multi-PAN Firmware) and Zigbee2MQTT. Everything seems to be working, but I have some questions:
- LQI is always 255, even if devices are far from the Dongle, is that normal?
- I am not sure if I can change the ZigBee channel and Transmit power from Zigbee2MQTT, does this works or is this something I need to do in the Multiprotocol Add-on? I want to use channel 25 and set the transmit power to 20.
Thanks!
Is 6.10.3.0 build 297 still the preferred firmware version for the Yellow Zigbee?
I think the coordinators may always report an LQI of 255.
I'm using a Yellow and changed my channel to 25 and all the other nodes followed without any problems. YMMV.
I'm using ZHA
LQI is a scam anyway
It's a mystery for sure and apparently there is no standard method for determining it
as long as manufacturers can implement their own way of "calculating" it it'll be a scam
In given setup, does each device determine LQI or does the coordinator?
"LQI, or Link Quality Index is a value used to compute Link Cost for Zigbee and other stacks. Link Cost can be used for creating network routes, selecting network parents, determining neighbors and managing routing tables. In both the Zigbee and IEEE 802.15.4 standards, LQI is required, but unlike RSSI (Receive Signal Strength Indication -- a standardized value), it is left to the manufacturer to determine how to implement LQI. On-chip radios differ significantly, so the mechanisms to evaluate LQI must be specific to the radio."
yes you can change txpower and channel in z2m
I am looking for some guidance, I rebuilt my Rpi4 going from 32-bit Bullseye to 64-bit Bookworm. I have everything back and running except the Zigbee side of my Nortek HUSBZB-1. I wondered whether the zigbee.db file might have had issues going from 32-bit to 64-bit, but the other Homeassistant db files seems to function just fine. Any useful suggestions would be greatly appreciated.
No, there's no issue with any file in your config folder when you go between platforms like that
Is there any way at all to play a custom animation with quickly changing color and brightness on my zigbee-controlled lights?
with precision at least to 100ms
Where do you change the channel?
Integrations>ZHA>Configure
Is there a way to force connect an Aqara Zigbee motion sensor with a Philips Hue that's connected to the Z2M - Home assistant? I'm not sure if I'm asking it properly - apologies - im completely new to to Z2M
I installed a Zigbee smart switch from Moes today - already have several in the house - but ZHA can't find it, just searches forever. It's about 10 feet from a Zigbee light bulb. Tried flipping S1 until it beeps, still no luck. Left it outside the junction box, still no luck.HA 2023.10.1. Ideas?
Use the option to pair it via the Hue device
(look closely at the pairing button in the Z2M UI)
Have you tried pairing it directly via the bulb with the "add devices via this device" option?
Yes, no luck there either. I bought 2 switches, in the daylight I'll replace the one with the other.
Yeah you could have just ended up with a bad one I guess
What issue are you having?
So I was informed tonight that one of my zigbee bulbs in a living room lamp has started making a high pitched buzzing sound. Any idea on why?
The initialization of the coordinator times out. I was thinking it was a permission issue at first but then I noticed that a new release of of HA 2023.10.4 snuck out overnight which includes some ZHA updates. When I go back to 2023.10.3 everything works as expected.
coil whine, run it max brightness and let it warm up
@snow roost thank you
I installed zigbee2mqtt on a raspberry-pi 2b running ubuntu 22.04. I have two IKEA Vindstrykers paired via a Sonoff Zigbee 3.0 USB Dongle Plus. The IKEA sensors have the latest firmware. I have mosquito MQTT broker configured on my Home Assistant OS. I also have MQTT Explorer add-on installed. It is receiving device sensor payloads from both devices like:
{"humidity":44,"linkquality":188,"pm25":2,"temperature":27,"update":{"installed_version":16777233,"latest_version":16777233,"state":"idle"},"voc_index":198}
but the devices found by the MQTT broker are all marked as unknown. I believe they are all logged in as the same Home Assistant mqtt-user.
I have run out of ideas to fix this - These are the first devices I have tried to connect to my first installation. Thanks...
I meant the sensors within the devices are marked as unknown
The Sonoff dongle also has the latest firmware I believe
did 2023.10.4 broke ZHA?
I updated and my ZHA stop working
I downgraded to 2023.10.3 and its working again
@dreamy delta
Not sure if you'ree replying to me. I am using Mosquitto not ZHA. Not familiar with Discord...
No, just a general PSA for anyone use ZHA dont update to 2023.10.4 yet
Cheers
Can anyone in the UK recommend a cheap ZigBee power socket that's not going to burn down my house?
sent you a DM
Why not post it here?
I am trying to debug my Ikea tradfri lights that I connect to with Zigbee2MQTT through Mosquitto
They show up in Home Assistant, and I can control them.
One time the change in color&dimming was instant, but after that it has just been incredibly slow, taking between 1-5 minutes to change, if it even does. Most of the time it just resets back to the original setting when i press anything.
I got no idea how to really start debugging what is wrong, any ideas?
Does lutron use zigbee? I want to give their pico remote a try just don’t want to buy whatever hub they want me to buy
Can anyone in the UK recommend a cheap
What is better zha or z2m
Yes
Neither are "best", they're just different with different advantages and disadvantages
no
Hi guys, I have a 4 gang switch for outside lights. I am wondering if there is anything like the sonoff zbminiL for a 4 gang switch? I’m trying to avoid 1 module for each switch
Yes no luck there either I bought 2
I am running zha and my new inovelli fan switches have an issue with the quirk. I am trying to fix it, but I am having an issue getting the zha config to use the new quirk.
database_path: /config/zigbee.db
enable_quirks: true
custom_quirks_path: /config/zhaquirks/inovelli
for some reason the new quirk is not loading.
is it more ideal for me to add zigbee devices directly to the main controller, or through other mains powered zigbee devices? i.e. a cluster of 4 bulbs.. i could add one bulb to the main controller, and add the other 3 through the bulb. idk if this would help with potential signal congestion in my home?
2023.10.5 rolled back the ZHA bellows change. I can confirm that fixed the issue on my HUSBZB-1.
I would expect this entry to work for you assuming that inovelli is a directory containing your quirks
zha:
custom_quirks_path: /config/zhaquirks/inovelli/
It is not necessarily about signal congestion, it is more about quality and strength of signal. I always pair my devices to the nearest mains powered device that is closer to the coordinator than my device and let the mesh sort itself out from there.
what do you mean, "let the mesh sort itself out from there"?
thanks for info, I updated to 2023.10.5 and ZHA is working for me as well
I'm using the SONOFF Bridge Pro with Tasmota firmware
I've never selected where/how a zigbee device joins. I allow Join All when adding a device
Which Zigbee addon are you using? Zigbee2MQTT or something else?
addon?
I have my USB coordinator plugged into the proxmox server, usb passthrough to the VM
hang on lemme see if I can remember
devices shows it: SONOFF Zigbee 3.0 USB Dongle Plus V2
everything is just connected through that.
in Home Assistant, Settings -> Addons, what Zigbee addon do you see listed?
am I supposed to have an addon for some reason?

