#zigbee-archived
1 messages ยท Page 6 of 1
Then the settings restore worked. I'd just wait an hour.
Yes, 2022.9.0 was released a few hours ago
๐ฅณ
so what is the best solution for moving a controller? rejoin all devices that arent able to choose new routes on the fly?
Routers should periodically check for better routes but end devices joined directly to the coordinator would have to find a new parent, if one exists
Okay so now I'm back to step 0 - my original problem. Me finding a solution to that one caused all the other so maybe I can ask you guys here:
I own this device https://zigbee.blakadder.com/OSRAM_AC0251x00NJ.html
When I click on buttons, it fires random events controlling all Zigbee devices in my house. How can I disable those events?
One solution was to get the developer version of Zigbee2mqtt but i'd rather stick with ZHA if possible.
Mmm the issue isn't really that after moving the coordinator, I can't see a few distant devices at all. I can connect to all devices at time X, but by X+1 some devices have dropped off.
@austere patio you should be given a medal for helping all of us btw
you have plenty of routers right?
what did the scan he linked end up showing?
Yep about 40+ routers out of about 100 devices.
whoa
I'll try the scan later. At work ATM. But I do hope it isn't due to network congestion from neighbours.
60 end devices sounds high for only 40 routers but what do i know lol
curious what he says
everyone with mesh networks are killing the 2.4ghz band
To add onto this: I'm not even able to re-add the device in ZHA
Hypothetically, if the issue is bandwidth congestion, what are my options? I'm already using a tubeszb coordinator so in terms of raw coordinator power, there is no further option?
placing one or more dedicated routers is probably your best bet in that case
you can use 1 coordinator then multiple routers (like a sonoff usb stick or a tube device) as just routers
Hi Puddly, Trying to add some sonoff door sensors. Its directly connected to raspberry pie usb port, I tried usb 3.0 port and usb 2 port. I ordered some USB extention cables to try to put distance , its near an ssd however this was working a few release back. Im not sure what changed.
but i would think your 40 routers would have you covered if they were spread out
if i wanna run ZHA and Zigbee2mqtt at the same time, do i need 2 dongles?
yea
Can you elaborate more on that?
ฤฑ can show my device and control it in zigbee2mqtt page
but i cant control it HA page
and sensor stop sending data on ha
so i'm trying out zha but can' figure out on what channel the coordinator is actually running, i did try to make it run on channel 25 in the config but i'de like to verify if it's on that channel. it might not be as i'm also running a conbee (1) on the same channel ๐
Well, you don't want to run two meshes on the same channel at the same time
no, but i'de still like to see where i can check the channel the coordinator is running at
i'm gonna change the channel now to avoid dumb sh*t (tm) anyhow..
this test cc2531 that i've flashed with z-stack fw seems to be beyond flimsy, maybe conbee will work better... might test that later
The CC2531 is a terrible choice
The ConBee isn't necessarily a great one - it's at least less bad
If you upgraded to 2022.9.0, ZHA now displays the channel the network is formed on.
That feature alone has been v illuminating for me this month.
Hi there! I recently added a Danfoss Ally TRV to ZHA, and it worked fine. Other circumstances forced me to do a complete reinstall (HAOS on RPi 3 with Sonoff 3 dongle), and now this TRV is behaving strangely. I've added other TRVs just like it, and they work just fine. But this one doesn't report battery, it doesn't have a Thermostathvacaction sensor, and while all the new ones show "Heating", this one shows "Heat"...?
oh that's nice, but i'll wait until .3 or .4 before i update my ha, i mean.. i'm not insane ๐
Yes, I feel you. I usually wait till the last version before the next x.0 release. But the improvements to zha this month are must have for me. And the upgrade today didn't brick my instance!
Quick question, I was looking for the "download backup" service for zha to automate away the backups. Does anyone know the name of this service? ๐
Since 2022.8 backups have been running automatically in the background. The backup is saved in a field in the zigbee.db 2022.9 added the download/upload and migration flow.
Make sure ZHA didn't turn on since you restarted. #zigbee-archived message
ฤฑ am just using zigbee2mqtt
Worth checking
Nice! Than I do not need to do anything ๐ I did not know
Just checked as well, it is there, thanks for the quick reply
Does anyone have a recommendation for a ZB device to automate a ceiling fan? Mainly looking to make the light kit smart.
z2m craps out if mqtt broker is not running. (Does not recover when broker gets back online) Is this just me?
I spent a full day looking into this, and if anybody knows of a kit that works on ~220V I'd love to know to.
Recovers for me, or at least when I fat fingered my config the other day and denied that user access to it, when I fixed that it reconnected/restarted (didn't check which)
I put an aqara sensor in my basement yesterday and it's gone ๐
I think a mouse stole it.
I'm so bitter. it said unavailable so I went to go check on it and it's not there or anywhere in the vicinity. my wife remembers seeing it there last night too.
Does it still report?
nope
Any kids playing with it? ๐
Is it possible to migrate from ZHA to zigbee2mqtt without having to repair every device? i.e. just filling in the pan id and network key and having everything be there right away?
I'm pretty sure there's no way of doing that, in theory it should be possible to write a converter to allow it (either way), but I doubt it's trivial
fixed itself I guess ๐
This is a pretty old message. but did you find anything on this? I just picked up one of these devices myself and while I see a C/F setting on Z2M, it doesn't seem to have any effect.
I did figure out how to do it, but what I know is from ZHA. One sec...
blech, looks like I can't put a screenshot in here
in ZHA, you go to the device, hit the three dots for advanced stuff, hit Manage Clusters -> Clusters drop down -> UserInterface -> Attributes drop down -> temperature_display_mode
display mode 0 is metric, 1 is imperial
and the thermostats persist that value internally so you only need to set it again if you do a full factory reset
I believe all the Zigbee messages are still celsius even if the display is Fahrenheit, but ZHA/Z2M probably already know that
That's ZHA, not Z2M, but hopefully the steps in Z2M are analogous?
Much appreciated! I do see a Celsius/Fahrenheit state exposed in Z2M, but it doesn't seem to have any effect. I'll have to dig through some of the dev console things to see if I can find that display_mode setting. Thanks again!
Is there a recommended guide for someone just starting and looking to integrate zigbee2mqtt with HA?
I have HA, zigbee2mqtt and Mqtt docker containers up and running. I'm just curious on what is the suggested method of configuring and setting them up and also any suggestions on common issues or how to avoid/troubleshoot them.
Is there a recommended guide for someone
Can someone recommend me a door/window sensor using Zigbee? I would like to replace my HMIP (optical) sensors. I would like to use recharable AA / AAA batteries.
Using CR1632 for a 2 to 5 year battery life, buy Xiaomi Aqara
The Terncy ones use the same battery and are slightly smaller, not sure what the battery life on those is, but years seems likely so far
I have both the original and E1 versions of the Aqara, been pretty happy with them and the Terncy. Not been happy with the Konke ones, they're all getting removed.
Thanks
My most trafficked door gave me 2.5 years of battery life
With aqara round sensor
And since those came without a battery blocking plastic, who knows how long it would have lasted
Still haven't come across anything but will let you know if I do.
@crimson tinsel The Shelly 1 does 220V but it's wifi https://shelly.cloud/documents/catalogues/catalogue_usa.pdf That's my fallback but I'd really like to use Zigbee, if possible. It just seems like there has to be options out there
They have a ton of options depending on your needs
General question: Is zigbee2mqtt so much slower than zha ?
Hello! I would like to get some help with Zigbee WiFI interfering.
I have WiFi on channel 1 and Zigbee on channel 15 by deafult. I tried to disable 40mhz on router, also tried to change to WiFi channel 2 or 6.
I tried to change Zigbee channel change from 15 to 20 but this is not working, I wrote in yaml as the documentation says, and I tried to reset a few times my Zigbee Coordinator what is a Xiaomi multimode gateway3 with AlexxIT firmware.
here im stucked and cannot find any other chance to solve it, the interference is so big, I cannot add new WiFI devices and connecting with phone takes a lifetime and the area of the WiFi became 10 times smaller.
anyone have tips on the ikea tradfri E1810 remote? i can reset it and get it to pair, but i cant get it to ota update, bind, or anything else. I've tried hitting a button before all of these to no success, tried close and far from my adapter. it was working for quite a while, the only change is i upgraded the firmware in my zzh for touchlink device bugfixes.
I was looking at the ZHA documentation for OTA updates, and it says that it does it automatically for enabled configurations, but I donโt see information on how often it checks / updates. Does anyone here know that information?
Or do you need to add an automation?
Hello. I have some issues with a zigbee plug (several devices) that has changed model number at some point. (old devices work fine new ones have some issues). Where can I repport this issue? Was thinking of creating one at https://github.com/home-assistant/core/issues
Devices ask for updates about once every 24 hours (or a minute after you reboot it)
Someone uses a kwikset convert lock, and experiences terrible battery drain? I've burned down 12 AA in 14 days
I'm trying out the new restore feature of ZHA to migrate from a cheap cc2531 stick to a sonoff with EFR32MG21 chip. I'm getting an unknown error when trying to restore. Is this a known problem or some undocumented limitation?
... self.async_step_maybe_confirm_ezsp_restore()
File "/usr/src/homeassistant/homeassistant/components/zha/config_flow.py", line 495, in async_step_maybe_confirm_ezsp_restore
await self._restore_backup(temp_backup, create_new=False)
File "/usr/src/homeassistant/homeassistant/components/zha/config_flow.py", line 173, in _restore_backup
await app.backups.restore_backup(backup, **kwargs)
TypeError: BackupManager.restore_backup() got an unexpected keyword argument 'create_new'
That's a bug... You can work around it by setting up the new radio once with "form a new network" then migrate again using your old backup once it has a formed network.
hello, I have issue re-pairing my aqara d1 wired with neutral wire switches with ZHA. everything was working well before a power outrage. Only 2 switches can't be re-paired, the rest were re-paired and functioning well. Whenever I tried to pair them, they will be stuck with Starting Interview forever. I noticed the switch will just turn off while pairing. I tried to pressing the switch repeatedly to keep it turn on but it did not seem to respond.
I have tried:
USB Extension Cable
Upgrade to the latest version
Downgrading HA
Clean HA installation
I m not sure if i am missing something. Someone with any ideas, please share it with me as i am out of idea how to resolve the issue
Hello all. I have an issue I cant seem to figure out in trying to install zigbee2mqtt on a synology nas using SSH. I am trying to install via SSH and I am getting a docker error "Bad mode specified: 6638"
The command for the setup I am using is as follows:
sudo docker run -itd --name="Zigbee2MQTT" --net=host -e TZ=America/new_york --device=tcp://10.0.0.101:6638 --restart=always -v /volume1/docker/zigbee2mqtt/data:/app/data koenkk/zigbee2mqtt:latest
Does anyone have experience with this and have a clue what that error could be? Googled it and could not get a clear description
What is --device=tcp://10.0.0.101:6638? Are you using a TCP coordinator? If so, you probably don't need to specify it in the docker command line.
Ahh maybe that is the issue
Yea, it is a device from Tube
It works with with ZHA but I am looking to try Z2M
So, just leave the device open and try it? I can do that a bit later. At a baseball game right now. Appreciate the advice puddly!
Yeah, just remove --device=...
Sounds good. I will try this when I get home. Truly appreciate the support.
yup, no need to pass a device through if not serial. just device the tcp:// in the z2m config.
Just a FYI... to all. Looks like that worked Puddly & Tube, thanks for the support! Its installing now.
does anyone knows if the switch inputs of the zbmini (https://www.zigbee2mqtt.io/devices/ZBMINI.html#sonoff-zbmini) with or without potential against the mains power (potentialfree)?
Hi,
I have troubles with Sonoff Motion Sensor SNZB-03. I can connect it to ZHA, but it does not detect any motion. I tried a second one but with same results. I have changed the battery but with no effect. 99% of the existing 47 Zigbee devices run normally.
Does anybody can give me a hint how to debug that.
I already have a Aqara motion sensor, it detect but only 2 cm's away
3 new sensors, non of them are working correct
My OG Aqara motion sensors are good for a few meters, and the P1 seems similar. For range though it's hard to beat the Linkind
I have 9 Aqara motion sensors since 1 year, never had a problem
Are sonoff devices known to make problems with ZHA?
Sonoff devices are known to be pretty jank regardless
@sour shadow What coordinator would you recommend. I have a conbee 2 and I heard that this stick also often cause issues.
Anything CC2652 based
Buy something CC2652 based. This list is a good one, both Tube and Electrolama have been proven to have excellent customer service. The current generation of EZSP sticks (see here for some) are also a good choice for ZHA.
Anything CC2530 or CC2531 based should be avoided - they're old, slow, and only suitable for a dozen or so devices. The Sonoff ZBbridge isn't advised since it uses WiFi (built in interference causing stability/reliability issues), and the HUSBZB-1 uses an older chipset so should be avoided.
Finally, the ConBee range are fine with deCONZ, but experience with ZHA and Zigbee2MQTT appears to be mixed.
@sour shadow Did you ever had a Aqara motion with only 2 cm detection range? Would you consider the device as broken or are there some settings for that in the cluster?
That sounds broken, like broken hardware
@dense pilot Discord isn't like IRC, you don't have to tag people on every response. Keep in mind that every time you tag somebody, they get a notification ping. That can very quickly become annoying and people may block you.
When using Discord's new Reply feature it defaults to pinging the person you reply to, 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).
All of mine have a working range of over 2m
Thanks for the info. I will send the sonoff devices back a get some new aqara sensors.
The FP1 is awesome, being mmWave it will keep detecting you after a standard PIR reports no motion, but they are a bit slower than a PIR to detect you entering its view
It also costs more
@oak bay posted a code wall, it is moved here --> https://hastebin.com/fonuxihaza
hey all! I'm running on a Raspbee, switched over from deconz to zha about two months ago. I just added my 34th device- mostly mains connected wall switches from Zemismart. I'm worried I hit some max device limit because it's not really managing to pair and stay working.
I tried setting source_routing: true and adding via device but I'm not sure if this is really supported with a deconz radio. Does anyone know? Do I need to switch to a better supported coordinator?
Some additional info- I say 34 devices b/c that's what HA is showing me in the integration for device count but it's probably the 33rd with the coordinator being counted as one so 32 working and the 33rd not. I've tried different hardware of the same chipset and of a different chipset. It doesn't seem to make a difference :/
I have a Tuya Zigbee 2 gang relay (QS-Zigbee-CP02). Its connected over ZHA. It reports 2 light entities. I have connected 1 light and 1 fan on it. The light operates fine. But once the fan is turned off, it becomes unresponsive. It can be turned back on using the physical switch.
reconfiguration fails: TuyaZBOnOffAttributeCluster with cross in "binding". Attribute on_off [x] and min/max/change: 0/900/1
@barren moat If you remove the device and repair it, the same behavior is repeatable? Does it only happen when you've turned off the fan, or does it become unresponsive if you just give it some time as well?
Hey there,
I am having a really hard time with zhh, zha, and tradfri switches.
I can pair them without a problem, but after pairing there is no event related to them in nodered (event node, filtered down to zha_event with debug node)
also switches don't respond to identify button.
How do I repair it?
I meant re-pair, ie. remove it from zha, and add it back from scratch
Anyway- if pairing again doesn't help and you are sure that the relay isn't having range or reception issues, you might need a custom quirk. https://github.com/zigpy/zha-device-handlers
Will give this a try. I did re-pair it. The issue remains. I seems to be a range issue. Some times there is delay in response and other times, no response at all.
But the nearest router (sonoff relay) is in the next room.
I would think that the next room (depending on the separating wall) would be fine for the closest router. Under the zigbee info section for the device you should see a value for LQI and RSSI. If those are good, LQI > 150 and RSSI > -67, you should be fine rangewise.
I have one switch working inside a literal bomb shelter and it gets 167 LQI and -70 RSSI.
LQI and RSSI are reported as unknown
There's no real upper limit unless you have no routers on your network at all
Anyone ever changed sucessfully zigbee channel with ZHA + Xiaomi Gateway3? Thanks!
Changing channels isn't really supported by ZHA but what you can do is download a network backup, edit the channel in there, then restore it. You'll need to rejoin all your devices most likely but if you reboot routers sometimes they join the new network. Make sure to increment the nwk_update_id by 1 as well.
Hmm interesting
Even before it stops responding?
hmm... I have tons of routers though I can't be sure they are well behaved. That said, I easily added a new switch in a different location.
Now I'm thinking I might be having trouble because I have two wall switches installed one on top of the other- maybe they are interfering with each other :/
anyone here running Z2m with zwave as well as zigbee?
anyone experienced issues where loading z2m causes HA to slow down an eventually crash and become unresponsive
By Z2M you mean Zigbee2MQTT, and not Zwave2MQTT?
There shouldn't be a problem, as long as you're not running on something like a Pi3 or below
weird, i can't get mine to run without HA crashing
What are you running on?
i have to uninstall the addon / sotp it so i can get back into my dashboard
ESXI host
8 cpus's 8Gb ram, 150Gb SSD
overkill
I'd not say overkill, but it shouldn't be a problem
you can run Zigbee2MQTT and Zwave2MQTT a the same time right?
Sure
is that a sure as in yess or a sure as in, i don't know lol
is there any considerations to be taken when utilizing them both?
The only problem is, as far as I know, on the #zwave-archived side - since you really want to avoid using MQTT for Z-Wave JS
wait what, i was told to ONLY use mqtt for z-wave JS when did we roll back?
or i should at least say the gui
ah gotcha i was paniced for a second there lol
yeah i'm using it for gui only and not actually mqtt
which is what i'd want to do the same with for zigbee2mqtt but idk if it has similar layouts
Well, Zigbee2MQTT only uses MQTT for communicating
Is that not overkill for HA?
What part was the most confusing for you?
The part where I said not overkill, or the part where I said not overkill?
Yes.
so if i'm just looking for a better gui it's not worth going to mqtt?
Well, #zwave-archived can tell you all about ZWave JS
Here we can tell you about Zigbee2MQTT
right, is there an advantage of going to zigbee2mqtt? like what's the main draw
Over?
That's like asking whether tea or coffee is the better drink... the answer is personal
Some people like putting all their eggs in one basket, some like separation
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).
That kind a summarises it โ๏ธ
What does something like this offer that say a Smart Plug doesnt?
https://www.tubeszb.com/product/cc_router/4?cp=true&sa=false&sbp=false&q=false&category_id=3
thanks
Besides being able to do more devices then one, does it amplify a signal drastically further?
Some smart plugs are shitty routers, with a weak signal
Some are great routers, with a great signal
It really depends on which plugs you're comparing against
And you have that secret list in your pocket to share? ๐
I only have two plugs, Sonoff and sengled
Sonoff 
Innr plugs are pretty solid routers, I don't know if they exist in your style, since you haven't said which country you're in
you can also do your own antenna, just find the wavelength, half it, cut it out of some copper wire, and then tape it to the side of the device, won't do A LOT but it will help some
for zigbee 2.4ghz it should be about 2.5cm
sorry 1/4 the wavelength
Innr SP234
actually closer to 3.12 cm considering light in air
Sure but I feel like any mains powered repeater whether it be a bulb, plug or repeater for a few bucks might be worth it to save the DIY and potential reliability issues down the road?
oh yeah do what you gotta do, that's how i justify buying more zigbee / zwave shit ๐ i'm "strengthening" my network"!
I seem to have broken Zigbee with a move from a Sonoff USB stick to a TubesZB CC2652 PoE coordinator. I did the migration but none of my devices have reconnected. (Wanted to do this to allow me to move HA to a docker container and relocate the coordinator to somewhere more central in the house). Looks like a channel change (11 to 15 I think). I've waited almost 24hrs, but any tips? I don't have many devices in my yet (4 as I'm just figuring out the reach/rf side).
(the TubesZB shows a serial connection as being "on" with its web page, it's currently similar place to the Sonoff so I could check most devices connect. I realise I need something as a router as well to solve some RF challenges).
Repair them
Router is needed if they're far away from the stick and the signal is borderline
yeah - I've got 3 that were fine with Sonoff and they're not connected and I've initially put the TubesZB device pretty much next to where that was to ensure its fine.
With Repair - specifically what do you mean? I've tried "Reconfigure" but that fails "The device reconfiguration failed. Additional information may be available in the logs."
The device I'm testing to make work is <3m from the coordinator and has no WIFI access point nearby.
if the channel changed, it didn't migrate the settings, and you will need to repair the devices. repair means permit joining/add a device and then put then reset the device and put it in pairing mode
ok, that's annoying. At least not too many devices.
What integration are you using?
ZHA - I did the manual config of it as per TubesZB github
if the devices are there, do I delete and start again or just get them to rejoin?
(don't really want to lose the data)
you may still have a valid backup in your zigbee.db that could be used to restore. Are you on 2022.9 of HA? puddly will know if this is possible as he made all that migration stuff ๐
When you say manual config, what exactly did you do? The usual flow is clicking the migration button, selecting manual port config, entering the port info, and then selecting "restore automatic backup". You usually will have only a single choice.
If not, can you PM me your /config/zigbee.db file?
I'm a little rusty here, what logging do I need to enable to see all incoming and outgoing traffic?
What integration are you using?
zha, Currently have logs: homeassistant.components.zha: debug zhaquirks.xbee: debug zigpy: debug zigpy_znp: debug
Copy/paste the config from https://www.home-assistant.io/integrations/zha/#debug-logging
No difference, still seems to be dropping unrecognized traffic silently
What radio are you using?
TI, it's a Tube POE model, using the znp library
Hmm. What gives you the impression traffic is being dropped silently? I'm not aware of any limitations unless possibly a device is sending data to unregistered endpoints.
I'm looking at moving away from a xbee coordinator, testing with the TI coordinator and an xbee3, it recognizes it, but states aren't updated nor do the switches update the pin state
get a no response error when attempting to set a pin state and the xbee is configured to send updates on pin states once a second
nothing in the logs though
That's an interesting combination. You're the first person I've encountered using an XBee either as an end device or as a coordinator ๐
According to the quirk, the XBee has a lot of endpoints (https://github.com/zigpy/zha-device-handlers/blob/dev/zhaquirks/xbee/xbee3_io.py). Do you happen to have debug logs of the XBee coordinator communicating with the device?
Yeah, I have ton of xbees that are built into custom devices, but the xbee coordinator is really starting to be an issue
I don't have them handy, but wouldn't be hard to put the production system into debug logging
I did join this specific xbee to the production system that uses an xbee coordinator and everything worked, so the firmware and settings are correct
yep - did smehting like that - just changed the coordinator details to the Socket://<host>:port thing instead of a /dev device (as per Tube's instructions). The coordinator appears connected. Will get db in a bit (Monday here so working)
The only difference is the endpoints, from what I can tell. ZNP does not receive traffic if it's not on a registered endpoint. Zigpy's current endpoint list is here: https://github.com/zigpy/zigpy/blob/6162503b5e642e1ffa1cbcacf51c3215ee4a22aa/zigpy/application.py#L503-L540. The debug logs from the XBee coordinator communicating with your device will contain the endpoint the device is sending traffic to. It should be 1 or 2 if the device is normal, but it could be the device is ignoring the source endpoint and erroneously sending traffic "elsewhere".
Did you restore a ZHA backup? Or just directly edit /config/.storage/core.config_entries?
nah, just used the GUI
TI -> TI migration is well tested, should work fine. But send the DB over, maybe there's a bug.
Yeah, Remote AT commands are always going to be 0xE6, so that would make sense
So even if the coordinator sends it from endpoint 1, the XBee sends its reply back to 0xE6?
I think so, digging through logs now, looking at zigpy_znp.uart, looks like they log the raw data as a NOTSET level
going to try that real quick and see if I can see it come in
There's nothing at DEBUG - 5 that won't show up at DEBUG
It just logs raw UART traffic and request/response matching. All UART traffic is parsed into Z-Stack requests/responses, which will always be in the debug log.
It's hidden in HA because there's no way to specify numeric or nonstandard debug levels: zigpy_znp.logger: DEBUG. But it won't contain anything new.
Depending on how you're running HA, try adding a new endpoint by editing the file I linked to above. It may be enough: https://dpaste.org/dFA3G
I'll give that a shot, good thought, haos doesn't make it super easy to make changes, but will work for testing
You should be able to get to an OS shell via the community SSH add-on, and then into the Docker container. I've written some instructions here: https://github.com/zigpy/zigpy-znp/blob/dev/TOOLS.md#in-home-assistant-os. Within the container, the zigpy package is installed in a typical place (python -c "print(__import__('zigpy')) will print out the exact path).
Thanks, I've got ssh access going now, so should be good
What do you know, that fixed reading the pin state
Commands still aren't working, but that's huge progress
Hey folks, I've bashed my head against this for over a week and I'm still no closer to solving this.
I have HAOS running virtualized on proxmox. I installed a Sonoff Zigbee 3.0 stick and passed it through as a USB 2.0 device (not 3). I bought an Aqara Temperature & Humidity Sensor.
I tried to setup Z2M and tried to pair it to the sensor. Absolutely no luck. At some point it detected a device and tried to interview it but interview failed. I have to constantly press the pair button for it to even get to that state.
So I switched to ZHA. It finally paired it but it detected it as a LUMI temp and pressure sensor. But after the initial sensor report, it never updates! Which is pretty useless for a temperature sensor.
What am I doing wrong? This was pretty highly reviewed sensor so I'm kind of stumped.
Ps: I switched to usb2 because with a usb3 passthrough even the init pairing with ZHA didn't work
Is your coordinator on a USB 2.0 extension cable?
No it's usb3. But proxmox passes it through as a usb2 device
It's weird that I would need to be usb2 when the Sonoff is advertised as a usb3 device though
We use 2 and extension cable to minimize interference from USB 3 ports
It can be decades-old USB 1.0 and still work fine, the amount of data passing through the coordinator is minuscule. Try it with a USB 2.0 extension cable.
Would that also be the cause of it not auto-updating?
Unfortunately it's pretty late here and I seem to not have any spare usb2 extensions. Anything else I can try until then? Or is it just this?
Nope, just the 2.0 extension cable. Sensors send updates to your coordinator so if you're not seeing them, your coordinator is likely experiencing interference from whatever else is around.
Or the Aqara device shipped with a very old battery
The battery shows as 84% and the interesting thing is that when I press the pair button (but not hold it down to pair), it actually gets an update
Almost feels like a push instead of poll model. Which is dumb for a temp sensor
The percentage for Aqara devices is inaccurate and will probably never change. All Zigbee sensors operate on a "push" model, it's what lets them run for years off of a single coin cell.
Wait! I take that back, it worked!
I put the sensor in the freezer for a couple of minutes and it updated
I think it never sends an update if the temp differential is really low
I dropped it from 83degF to 38F and it reported
Yeah, if the temperature doesn't change it will only send an update every ~40 minutes
Now if only I can figure out why it setup real easy with ZHA but not Z2Mqtt
I deleted the integration from ZHA before switching. So it shouldn't be a problem with interference right?
If you first tried Z2M and did not erase the Zigbee network on the stick when setting up ZHA, there will be no difference between the two, so it's probably interference
Definitely a possibility. How would I delete the network and just reset to 0 before trying Z2M again?
Z2M does that on its own
ZHA requires you to click things to erase the network settings and form a new network
So I I just delete the integration, start the Z2M add-on, it should be reset?
I believe so
Ok let me try that. Otherwise I'll have to wait until tomorrow to get a USB 2 hub
Btw is the same issue with a usb2 exist with zwave? Ie do I need to buy two extensions?
Z-Wave I believe operates on 900-something MHz, not 2.4GHz. But it won't hurt to put it on a USB extension cable, the worst that will happen is that your network range improves.
Gotcha. Thanks for all your help!
Ugh, ordered a ZBDongle-P but received an -E ๐ข
Gave it a run anyway, itโs mostly okay except one switch keeps needing to re-pair to do anything after an hour or so
Which switch is this?
My Nue and Gledopto devices seem to be behaving
Looks like it's not just me: https://www.reddit.com/r/homeassistant/comments/x5n21j/xiaomi_wxkg01lm_keep_disconnet_from_zigbee2mqtt/
That's pretty funny, I also changed from a CC2531 like that user
Yes get an extender for it too
I am checking the other relay (which is working) and even it reports them as unknown.
The network visualisation in ZHA says that this (Non-functional tuya relay) is connected to the functional sonoff relay. The line connecting them has 45 on it. The Sonoff is connected to the coordinator with 55 on the line.
The tuya relay is now completely unresponsive. But it registers state change when the physical switch is flicked.
Not sure TBH. 45 or 55 is not great but the numbers in the visualization have never looked good to me. In the device page, I think you should be able to find numbers here right after re-pairing: https://snipboard.io/YTvoe9.jpg
Regardless, you might need a quirk to make it work. Tuya puts out tons of different units with the same model names but slightly different internals.
Anyone in here using the single button from SilverCrest/Lidl with zigbee2mqtt?
Do you get any values other than on/off?
Here it says unknown
I am not sure how to Quirk๐ฌ! Will work it next weekend.
@crimson dust posted a code wall, it is moved here --> https://hastebin.com/iciwamikek
fyi, a lot of battery powered devices only send an message when there is something to report, e.g. a CHANGE in the temperature. Minimising the number of messages helps to increase battery life.
Hey guys, i'm trying to get my head around everything here
can ANY Zigbee device sync to any Zigbee hub/gateway
and ANY zigbee device can be Zigbee2MQTT?
Pretty much
As long as it's not Tuya
I'll buy a Zigbee gateway thingo for my NUC asap and i can pick up one of these from a local wholesaler and start having a play
Now i need somthign that can do a dry contactor input into HA
Also whats the issue with Tuya?
they trash?
Yes
Tuya is a brand name slapped on devices from a huge range of manufacturers, some are good, some are shitty, all tend to play pretty loose with the Zigbee spec. Oh, and you'll find the same model number re-used for 8 completely unrelated things.
As long as you do your research up front you should be ok
soo much research. got a few product lines ready to rokc which say 'zigbee' certified
from major australian companies
ill buy some and try em out
One thing i'm struggling with is a binary sensory, similiar to 'fibaro smart implant' but in the Zigbee world
Ok will try make a shorter message ๐
Anyway, is there any known bugs with Conbee2 and ZHA making the built in light group not working properly?
This happens each day when my lights goes off:
https://paste.debian.net/1253583/
One light (diffrent each day) turns of several minutes after the rest of the lights!
Hi guys..
recently add more zigbee in single room..
however during this pass 3 days.. my IKEA Bulb become unavailable with red link on ZHA
any ideas?
I add 1 additional zigbee plugs by tuya if I'm not mistaken
This sounds to me like an interference issue. Maybe the ZigBee signal to your lights is not strong. Are they external?
remove the plug for a bit and see if the issue goes away
some of the Tuya stuff has routing issues
How you mean external? I use Conbee2 with usb-cable to make it longer. And the lights are IKEA smart light.
I tried fire on/off via the dev>services and now one light actually still was off after I turned them all on. It was actually ON but HA said it was off.. so why do this happen?
Are these lights outside your house?
So the ZigBee signal may not be penetrating your walls well.
Or there could be something outside your house that is also transmitting radio waves at the ZigBee frequency.
Oh ok well that would explain it
I have a few smartplugs inside as well so the mesh network should be good?
Some say all problems they has was gone when they went over to SonOff 3.0 + zigbee2mqtt so maybe go try that setup? ๐
Interference is one possible reason. But it may not be the correct reason.
Do you control these lights only via HA and the conbee?
yepp
only ha
I guess I just make the automation to wait 5 sec and then fire LIGHT ON again? ๐
Ok. I'd suggest you try to target some interior lights with the same automation. That can give some indication of whether your automation logic is correct at least.
FYI - I purchased a number of Seedan smartplugs from Amazon. For the most part they are great... however out of 12 of them, one was dead out of the box, and 3 were returned due to them dropping of the network at odd times. None of the other Zigbee devices drop off so I cannot blame interference. Out of the 4 that drop off, three of them would not reconnect when "rebooted".
That is quite a clever workaround.
Good idea! Will do that! The thing is.. turning the light on has never failed. Only turning off.. thats wierd
It been working for almost 1 year without problem. So until the HA lastest upgrade and adding tuya plug zigbee in replacing the wifi version
I did and even restart the bulb... no luck.. it working several hour and it become unavailable again
Hmm...did you add a wifi ap or something near that bulb?
with the plug completely removed?
Is it just that specific bulb that keeps dropping off?
no other changes?
no... I just remove some of the wifi device and replace with zigbee
yeah try that too... no luck..
can it be that my bulb zigbee broken? or dying?
unlikely
unplug it
right the entire time right?
One way to troubleshoot to make sure it's not a hardware issue with the bulb, is to swap that bulb with another one that you know is working properly. See if the problematic bulb behaves properly in its new position, and if the ok bulb starts dropping off.
yeah.. I got a new one lying around.. should test it tommorow
btw just wondering how could I build a good mesh out of zigbee? I mean which device should connect or it will do it automatically?
I had similar issues before with very far bulbs in my mesh. In the end the issue was interference from wifi (from an AP I added and from neighbours). Changing the ZigBee channel has solved the issues so far.
how do you change the channel on ZHA?
But changing channels is a big move, so best to rule out less drastic options first.
I dont have many device running zigbee... so worst is to rebuilt it to zigbee2mqtt
Are you on 2022.9? What I did was download a backup of the coordinator in ZHA, then open up that JSON file, edit the channel listed there, then use the new Migrate Radio function to upload the modified JSON to the coordinator.
got it.. thanks for the tips
After that I had to re-pair all the devices.
Before you do that, do an energy scan to find a quiet channel.
Yup...like I said, it's drastic. Not worth it to fix one bulb.
It wont be that easy.. since I have like 6 low power router all around the house...
but again.. the interference is not from the wifi since nothing being changes for a long time.. accept replacing my wifi plug with zigbee plug which should be creating a better environment for it right?
replacing 4 wifi plugs with 4 zigbee plugs
Yup. But on the other hand...maybe a neighbour's wifi is interfering. If you live in an apartment.
one plug which is actually on the same room getting a strong signal so its very strange that the bulb is actually losing signal
Can I connect multiple ZigBee coordinators( I use sonoff ZigBee bridge tasmota) to zha or zigbee2mqtt?
ZHA, no. Z2M requires multiple independent instances.
Generally speaking multiple overlapping meshes is a bad idea, not so bad if one's in a remote building
Using ZHA on a supervised installation, adding a Hue Remote and can see the events in the logbook but the zha_event is not shown. What aim i missing?
Hey, I'm using ZHA with HAOS. I've recently got BlitzWolf SHP-15 Plugs. Those Plugs have a physical button which when pressed turns the plug on or off.
This switching action isn't shown in the corresponsing switch entity. Has anybody a idea why and how to fix this?
Try reconfiguring the device, it's possible reporting wasn't set up for it
HOw do I do that? Sorry, I'm not very advanced in Zigbee/ZHA things
In the device page, there is a dropdown that will have a "Reconfigure Device" option
sadly, this didn't fix the problem
What does the dialog show for the device's reporting configuration?
It's possible the plug just doesn't report changes
also, wattage measurement updates, which according to the should be coming in one second intervalls (according to the manufacturer and a good friend of mine who also has some of those) only show up every like 90 seconds
If it's a standards-compliant device, there is usually no fixed reporting interval, the integration sets up reporting with a minimum/maximum time between reports, and then a minimum change value.
is there a way to change this interval?
Not really but it's not a fixed interval. If watts changes by more than 1 watt, the device will report a change, but no more than once every 5 seconds (or at least once every 15 minutes).
I see
If I use the "virtual" switch from HomeAssistant, the changes are reflected correctly, which confuses me
ehh, some zigbee devices are no longer working (zigbee2mqtt). They're still shown as available in HA + z2m. What to do?
Anyone know of a good zigbee or zwave coordinator that can connect to HA via Ethernet? Found the Tubezb which looks great but has a 1-4 week shipping time and $50 shipping fee
The Z2M adapters page lists a few good Zigbee options
AFAIK there's no Z-Wave options like that
shipping is only $15 for 1-4 weeks the 50+ is for express
Well worth the wait for what itโs worth
if would be nice if we could make our own with open source firmware and an esp32, 3d printed case, and w/e else needed
You can make one easily with a Pi
is there a guide or some info i can read up on?
I think Z2M has instructions for setting up ser2net or socat.
You just plug in a USB stick and expose it over LAN
and assuming the network is fast then there's no noticeable latency increase vs a usb controller directly on the pi/vm/etc running hass?
Maybe a millisecond but you won't notice it
Only downside is that you have to make sure ser2net starts on startup and that your pi will always boot up properly. ESP32 is less stateful and boots up more quickly.
Yea that makes sense
It would work fine even on an older pi zero with a usb to eth dongle right?
I also have the source files for my stuff up on github, no real secrets.
I actually never checked. Like gerber files and everything to order the pcb?
yes
Nice
Thanks
I might be missing a BOM here or there, but the components are pretty much the same across all the boards so can be pieced together. hence no secrets ๐
Iโm not quite ready to start building my own boards yet. Iโve watched a few videos and it doesnโt seem too scary though. I suggest hardware to folks so itโs nice to know there is a couple diy options along with what I already knew ๐
Flashed a Sonoff 3 stick with the router firmware using cc2538-bsl.py. Flash seems to go OK, verification at the end of the process passes. However, I can't seem to pair it after that. Is there any way to determine which firmware is on the stick? The -v CRC verification method comes back with a different CRC each time I plug it in, so I'm guessing something is getting incremented or is otherwise changing with each insertion that makes those CRC useful for validation while it is inserted. Any ideas?
I just kept flashing until it worked.
so ZHA supoorts and zigbee 2 mqtt doesnt ?
ZHA does not support multiple adapters at all
Just out of curiosity, do you need separate mqtt services for each as well or could you point multiple z2m instances to a single mqtt?
Is it possible to change the manufacturer name in a quirk? I have a device which has " " as the manufacturer and it plays havoc with my OCD ๐
I tried changing the MODELS_INFO but it doesn't seem to have worked.
manufacturer name is supplied by the device firmware, no changing
Same broker is fine, see https://www.zigbee2mqtt.io/guide/faq/#how-do-i-run-multiple-instances-of-zigbee2mqtt
HI Guys apologies if i am in the wrong area but if so would appreciate if you could direct me to a better area. I have Zigbee ZHA on a Sonoff flashed with Tasmota.
Having an issue with the IKEA 5 button remote eating batteries i thought it was my unit but having researched i see endless forums with same issue but cannot see any definitive explanation or if it has been fixed. I have no doubt it has been mentioned on this server
Hi! Iโm trying to add a few zigbee groups in ZHA, and Iโm seeing something strange. If I only assign one member in a group, that group isnโt exposed as an entity. Adding at least two, exposes the entity of the group as expected. Is this behavior expected, or is it a bug?
Itโs currently expected/intentional, although Iโd also prefer it to create the entity when at least one member is in the group (and this "issue" has come up before here)
(Mostly due to testing lol)
My ZHA install seems to be developing a new behaviour now it's growing big. If I add a new device now, it interviews and configures then stops working shortly afterwards. The new end device shows up in the visualisation as not being connected to anything else in the mesh. If I leave it alone, it generally starts working a day or so later and then shows up in the visualisation as having a parent. Is this a common behaviour or am I doing something wrong?
there is no point in having an entity for a group w/ a single member
the advantage to groups is the multicast messaging.... artificially increasing the amt of this is not good
then we would have 2 entities that represent the same thing... a single device where 1 is using multicast messaging and one is using unicast
we do not want this
but they do ๐
sounds good, although the behavior is a bit unexpected from a user perspective. My personal reason for wanting this is that i essentially have two sets of lights per room, one that is alway on and one set that turns on when there is motion/occupancy. In some rooms, one of those sets only contain one light. Having one zigbee group for each of those per room would make things simpler.
Perhaps HA (light) groups could work for that use-case?
Or maybe even the area stuff
how would a group make it simpler
what is the difference between using the group entity or the regular entity from the user perspective?
If I am reading this part correctly: "In some rooms, one of those sets only contain one light. Having one zigbee group for each of those per room would make things simpler. " what you are saying is having 2 entities that represent the same light is simpler? I don't understand how that can be the case?
I came to the same conclusion you did
I guess being able to add more lights later on without modifying automations/scripts
you can already do that with lightgroups inside of home assistant
Yeah, that's why I suggested using those
However, I'd probably just use the single light entities in scripts/automations and modify those if necessary
Then I could have one automation to serve all rooms, and just use part of the name of the trigger to call the correct light group. It can of course be solved using HA light groups, but I would prefer using zigbee groups since that is usually more reliable when controlling a large set of lights.
above you said for some groups they would only have one light
i dont see how it would make a difference in that case
i use zigbee groups then create lightgroups in hass from those zigbee groups
Currently simplifying and moving automations to the UI, but this is would be an example of that, but the room name would be a variable field as well https://github.com/joch/home-assistant-config/blob/8ae6b50f7b215081563b37f7dc732667c660d2de/package/lights/lights_livingroom.yaml#L47
so for example in my kitchen: i have 7 cans, 3 chandelier candellabras, and a single bulb above the sink. so i have a zigbee group for the chandelier, a zigbee group for the cans, and then i take those and make lightgroups for what i need such as lightgroup for chand, for cans, and for all of the above including wifi led strips
Yes, I can use light groups, and thatโs probably the way I will go after this discussion. It would have bee nice to use zigbee groups since almost all lights are zigbee
you can declare variables inside automations
that might be an option for you
variables:
lights:
- light.upstairs_bathroom_lights_group
- light.upstairs_bathroom_led
led_strip: light.upstairs_bathroom_led
motion: binary_sensor.upstairs_bathroom_sensor_motion
door_sensor: sensor.upstairs_bathroom_door_sensor_access_control_door_state```
Iโll use light groups to solve the issue, no worries. ๐ I was just a bit surprised about the one light in group behavior in zha
And thanks for the help and input!
i mean you can still use the zigbee group (i wouldn't for this) there is a service to issue group commands that could be used
not as easy as the entity but it would work
just keep in mind that excessive multicast traffic can flood the network
Still having problems flashing a Sonoff stick to the router firmware using cc2538-bsl.py. I tried macOS and a Pi with Raspian. On both hosts the CRC verification passed after the flash. One additional note is that setting the IEEE address doesn't appear to work, though there are no errors. Is there any special magic sauce I'm missing aside from the Sonoff boot arg? ./cc2538-bsl.py --ieee-address 00:12:34:56:78:90:AB:CD --bootloader-sonoff-usb -evw -p /dev/ttyUSB0 ~/CC1352P2_CC2652P_launchpad_router_20220125.hex
With the addition of the new Bluetooth features, did Someone started adding more Bluetooth devices to HA and noticed link quality ascillating in their mesh?
Hey guys - I've unfortunately had to restore zigbee2mqtt from a backup, and it's set up now. However I cant get Homeassistant to discover the devices as the same entities as before? They are all discovered as new devices which obviously breaks my automations and scripts and such. Any suggestions?
The zigbee2mqtt installation has the same topic-names for MQTT and same settings for HA-integration
Hi, out of the blue, all my ZP stuff like plugs started working very unreliable. it rarely works in the first try, it often takes three tries in home assistant to change a plug. Has anyone an idea? Other devices like Wi-Fi bulbs didnโt changed, i think itโs only zigbee. Iโm using ZHA
Is your Zigbee dongle on an extension? Are Bluetooth devices/sticks nearby? Put a WiFi access point near your Zigbee dongle? Plugged in an SSD or other USB 3 devices near your dongle?
Enable debug logging (https://www.home-assistant.io/integrations/zha/#debug-logging), restart HA (or use the logger service call) and then check why the messages aren't sending correctly.
ConBee 2 stick, Bluetooth integrated from the NUC/next Bluetooth device is 1m away (since years), Wi-Fi AP is in the other side of the room, ssd is in sata, not other usb device near the stick
This is without debug
I'm using a raspbee and zha. I've also had devices that were working well flaking out lately. Haven't found a reason but curious if there is a pattern for zha+deconz users
I found this thread: https://github.com/home-assistant/core/issues/69877
Might be related?
Just means that the messages arenโt sent correctly, so the devices canโt be initialized on startup
Did you try rebooting the NUC and possibly also replugging the Conbee (in a different USB port and/or put it somewhere else using an USB extension)?
Reboot: Yes, I just updated to HassOS 8.5. I didn't replug the conbee, will try today. Do you think it's a problem with the USB port or more of the positioning in the room? It worked fine at exactly this place for about a year
I also activated debug logging, I'm a bit overwhelmed by the mass of logging. I think this might be some relevant lines:
2022-09-14 08:57:08 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=switch, service=turn_on, service_data=entity_id=switch.schreibtischlampe>
2022-09-14 08:57:08 DEBUG (MainThread) [zigpy.zcl] [0x3091:1:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=14, command_id=1, *is_reply=False)
2022-09-14 08:57:08 DEBUG (MainThread) [zigpy.zcl] [0x3091:1:0x0006] Sending request: on()
2022-09-14 08:57:08 DEBUG (MainThread) [zigpy_deconz.zigbee.application] Sending Zigbee request with tsn 14 under 15 request id, data: b'010e01'
2022-09-14 08:57:08 DEBUG (MainThread) [zigpy_deconz.api] Command Command.aps_data_request (18, 15, <DeconzSendDataFlags.NONE: 0>, <DeconzAddressEndpoint address_mode=2 address=0x3091 endpoint=1>, 260, 6, 1, b'\x01\x0e\x01', <DeconzTransmitOptions.USE_NWK_KEY_SECURITY: 2>, 0)
2022-09-14 08:57:08 DEBUG (MainThread) [zigpy_deconz.api] APS data request response: [2, <DeviceState.APSDE_DATA_REQUEST_SLOTS_AVAILABLE|2: 34>, 15]
Aqara recently released the zigbee based Aqara Smart Radiator Thermostat E1. Is it possible it is a generic Chinese smart Thermostat that is also being sold under different brandnames for a few less dollars/euros/shekels? A brand name that popped up is Nedis.
it's possible, it's also possible the shell used is a typical one while the internal hardware is better/worse
Hello everybody, i have problem with Roller "Aqura Roller Shade" "lumi.curtain.acn002", at now i have registered via ZHA working but showing incorect Temperature and no Battery status, i can change ZHA to Zigbee2MQTT and there is Battery status and correct Temperature, but i have other zigbee device and this is Incompatible....way is ZHA. my Roller has firmware 1419, there is newest but i cannot update FW via OTA from ZHA ๐ can somebody help me? probably OTA update will work or change some template to ZHA and Roller? Tom
Hello there,
My setup: zhh stick (firmware is uptodate), zha integration, and some ikea tradfi devices.
I am having really hard time with tradfi devices in general mostly with remotes, lags, nonresponses etc etc. Wired ikea zigbee is okay the blitzwolf zigbee plug works perfect.
Can you gave me a tip how can I improve?
Distence is not an issue I have one zigbee switch across the house, that works okay (80%) but what is next to the HA pi, is not. I live 36sqm so my place is not that big.
I had terrible trouble with the two Tradfri dimmer remotes I got (https://www.ikea.com/gb/en/p/tradfri-wireless-dimmer-white-00468432/) with ZHA and a Sonoff v3 stick. They are unreliable, one particularly so (can't guarantee it's not faulty). Had trouble with non-responsiveness and one dropping off the system. I gave up and changed to Aqara D1 wireless remotes in the end. They've been flawless https://www.aliexpress.com/item/4001084210410.html
Quick thing to check with the Ikea ones. Try changing the batteries. One of mine came with a flat battery in the pack
i did that too.
Has anyone else had trouble adding end-devices after their system got above 30-off devices? Mine keep dropping off the system after adding them. Sometimes they then come back
Do you have a coordinator that can support more devices?
I'm fairly new to Zigbee. I've got one of these https://itead.cc/product/sonoff-zigbee-3-0-usb-dongle-plus/ and it says the firmware is build 20210708 (so by no means new)
If I've understood correctly, it's the one they call the "P-dongle"
you can update the firmware to a more recent one
How do I check it's really a P dongle and I haven't mis-identified it please? I don't want to brick it by flashing it with the wrong firmware
Do I want to enable hardware flow control?
there is usually a label on those things, or look at your invoice
I've searched my email and the order isn't jumping out at me, which is odd
Is it possible to identify it in software from HA? Physically pulling the dongle will be a pain
how do you intend to flash it if you cannot pull it out?
20210708 is a known cc2652 fw build version.๐คท๐ผโโ๏ธ
Yeah. I'm almost positive it's a Dongle-P
It says if it's a P on the case
there is newer then that. there is a
CC2652R_coordinator_20220219
yes, I didn't say it was the latest
What's the difference between the R and RB firmware?
looks like i might have to finally add zigbee to my system as i really want to add some inexpensive door/window sensors to all my windows and thats a bunch lol
so im curious to know what is the preferred zigbee network to use as i see theres a couple like zigbee2mqtt, deconz, zigbee home automation
Not deCONZ
ZHA vs Zigbee2MQTT is much more a personal choice, both have advantages and there's a pinned message that summarises them. Neither is a bad choice.
i see that now!! maybe ill go zigbee2mqtt since they have that nice compatibilty list and the aqara door sensors are on there too so shouldnt have issues.
I just got some of these. They're tiny and look really well made https://www.aliexpress.com/item/4000606515029.html
thats what im planning to use as well. now i gotta figure out some other little zigbee devices to use as repeaters!
ive used all z wave forever so nothing zigbee lol
Sensors like this cannot be Zigbee Repeaters. No battery-powered device can. Only mains powered devices like dedicated repeaters, light switches, smart sockets and bulbs can be repeaters
yeah i knew that much thats why i need to figure out how to repeat lol
i dont think ill have very good house coverage. my server is upstairs in my office so worried downstairs sensors wont connect with out something to repeat off of
Fitting Zigbee bulbs should build you a nice mesh
problem is i have some wifi bulbs already lol. could possibly swap them out if needed
Ikea bulbs work well and there are a number of devices like these if the form factor works better https://www.ikea.com/gb/en/p/tradfri-signal-repeater-80424255/
i might just snag a couple door sensors and see how they work with out the repeater then decide
Only having one repeater is introducing a SPoF. The strength of a good mesh comes from having multiple paths for messages to make any trip so the failure of one device doesn't drop the whole setup
The first rule of redundancy, "Two is one. One is none"
Did you consider using Sonoff? I found them very inexpensive on Ali but ain't sure if they're good.
I have several of those. They're solid but "a bit big"
That sounds too cheap
Well on a Shop here in germany its 8.50โฌ vs 16.90โฌ
I just got a shipment from them. Delivery was 10 days
Yeah bute they ask 16.18โฌ to germany
amazon asks 16.90
and they come with prime next day
I think those are the old models tho. They should have released a zigbee 3.0 version too
Ok
Be careful with very cheap deals that you're not buying the "Company's old crap" they're clearing because of the new model or counterfeits without realising it
I mean, they work just fine. Maybe only issue would be if the router they are connected drop off the mesh, and the old ones are going to rarely rejoin the network under a different router
I'd like some clarification regarding device limits on a CC2652P. Is there really a 200 device limit (according to Z-Stack, I also see it says 400 routes.) Is "routes" referring to every path to a particular device? Reason I ask is I'm at ~135 devices and keep adding them. I know that "direct children" can route for other devices.
Or does it mean 600 devices in total?
I also see a comment in https://github.com/Koenkk/zigbee2mqtt/discussions/1568 that I shouldn't use more than 150 devices on a single coordinator. If that's the case, and I'm using ZHA, what is the best way to have a second coordinator? I can't run multiple instances oF ZHA ...
Are all 200 of your devices routers? I don't believe end devices joined to non-coordinator routers contribute at all.
I think about 35 battery powered devices, the rest, 100, are mains powered routers.
primarily Hue bulbs and Leviton zigbee switches
You could also migrate to EmberZNet + zigbeed in the future, which offloads everything to the host and treats the coordinator hardware as just a simple radio. Or compile your own firmware for a more powerful TI coordinator like the CC1352P7 (https://github.com/zigpy/zigpy-znp/issues/165#issuecomment-1236068003)
I also don't know what happens when you run out of space for routes. If it's not a hard crash, you may just end up with slower outgoing requests to devices with non-cached routes.
Any guides on EmberZNet + zigbeed + HA? Not seeing anything with Google. Unless that's just a subtle nudge to use Tube's ZB coordinator ..
It's experimental and uses the Silicon Labs Zigbee chip built into the Home Assistant Yellow and if I remember correctly, the SkyConnect stick (or anything else based on the same chip) (https://github.com/home-assistant/addons-development/tree/master/silabs-multiprotocol)
If I update the firmware on my Coordinator stick is it likely to be seemless or will I stand a chance of losing my mesh and having to do it over?
i updated firmware on my sonoff stick a few days ago, mesh stayed the same
What integration you using?
ZHA
You're fine then, it'll restore from a backup. Assuming you're running 2022.9.0 or newer.
I'm running the VM under VMWare ESXi : Home Assistant 2022.9.4
Supervisor 2022.08.6
Operating System 8.5
Frontend 20220907.2 - latest
I think I'll leave this until Saturday. It's a hard week at work and Murphy's Law says that if I do it after dark, I'll end up with none of the lights in my home working
Is this update likely to improve the situation with my end devices falling off the mesh now I got to 40?
Thanks for your help
Probably not. What coordinator are you using?
Zonoff Zigbee stick 3.0 (P-Dongle)
How many routers and end devices do you have?
1 ZC, 12 ZRs, 26 ZEDs
The ZED count is about to rise to 36 but I stopped because nothing I'm adding seems to stay connected for more than an afternoon any more
What end devices? What kinds of routers?
Routers are all Ikea Tradfri Bulbs. Some Tradfri STYRBAR remotes, 6 Sonoff motion detectors, 2 Sonoff door contacts, 2 Ikea dimmer remotes (things started to go bad after I added those), 1 Aqara door sensor, 2 Aqara D1 2-key wireless remotes, 2 Sonoff press buttons, 1 Aqara press button, 2 Yagusmart Tuya scene remotes and a Moes Wireless handheld scene remote
Which devices don't stay connected? Aqara + IKEA works just fine for me.
I missed the 2 Sonoff thermometers and 1 Aqara thermometer
Currently fallen off the network are: the Aqara temperature sensor, Whatever TZ3000_abci1hui TS0044 is (possibly the Moes remote), Aqara door sensor, Aqara button, 1 Styrbar. I deleted the 2 Ikea dimmer remotes. They were the first two devices I perceived as misbehaving. Everything had been good before I added them. There's also 2 Ikea bulbs I deleted a while ago because I changed them for ones with a different cap
Aqara needs to be joined to specific routers, otherwise they can pick a bad parent and then lose connectivity if network conditions change
What channel is your network on?
15
Is your coordinator on a USB 2.0 extension cable?
Straight in the back of the host
That'd likely be the problem
Definitely
Thanks. I'll steal the extension cable off the Bluetooth dongle
Should I delete and re-add all the fallen-off things via their nearest repeater?
They may re-join on their own if you click a button on them
You don't have to delete them, just permit joins again and reset the device
The "add device" button
Everything seems to have rejoined OK except one device
Hello there, I hope you are well.
So I have this exact problem https://bytemeta.vip/repo/Koenkk/zigbee2mqtt/issues/13322 except I am running ZHA, not zigbee2mqtt. The problem seems resolved in zigbee2mqtt using an "external converter"? I don't know how to interpret this.
I used to have zigbee2mqtt but switched to ZHA after my devices simply would not repair with zigbee2mqtt (repeatedly said corruption during interview) even after a Hass reinstall + Conbee II firware update. So essentially returning to zigbee2mqtt is a last resort.
What hope is there for a ZHA "external converter" equivalent?
The first link was a month ago. This review 4 months ago claimed it worked with ZHA https://smarthomescene.com/reviews/moes-zigbee-3-gang-wall-switch-zs-eub-review/ so something caused an issue in that timeframe I guess?
Can anyone recommend a zigbee stick? For the second time now with my sonoff stick every device has become unavailable and I donโt know of a way to fix it other than readding all devices
Why are you blaming the stick instead of the mesh?
Every device stops working at the exact same time. That doesnโt sound like a mesh issue to me?
If the sonoff sticks were sub par myself and tons of others would be having the same issues lol
Iโm not ruling out you having hardware failure with your stick tho
Yeah. I could have a dud. Iโm new to zigbee in ha any suggestions on how to debug?
I havenโt had to debug zigbee yet, just asking questions for others to jump in and help
Is it connected to a usb 2.0 extender?
Also does hass show any errors in the logs like saying it lost the stick?
Btw z2m or zha?
yes it's on a USB extender (and about 5ft away from my BT dongle), only thing I see in logs are delivery errors like sync_initialize: all attempts have failed: [DeliveryError('Request failed after 5 attempts: <Status.NWK_NO_ROUTE: 205>'), DeliveryError('Request failed after 5 attempts: <Status.NWK_NO_ROUTE: 205>'), DeliveryError('Request failed after 5 attempts: <Status.NWK_NO_ROUTE: 205>'), DeliveryError('Request failed after 5 attempts: <Status.NWK_NO_ROUTE: 205>')] and this is zha
@austere patio to the rescue maybe?
I'm definitely more of a zwave guy so I'd appreciate any zigbee help anyone can offer
Do you have another usb extender to swap with to rule that out?
How often does this happen?
I could swap it with another, this is the 2nd time it's happened in about 3 months so not super common but frustrating
also if it's a mesh issue, shouldn't it self heal over time? Apparently it went dead hours ago
I brought up mesh issue before you said the whole thing drops at once
for the record though I only have 2 mains powered zigbee devices, the rest are battery. So a couple device issues would kill my "mesh" since it's more of a line than a mesh ๐ that said all devices are within a 25ft radius of each other so not like I need a super strong mesh, everything should be able to talk directly to the stick
I lied 4 not 2 powered, 10 battery
Not ideal but I think at worst they should just have high latency with bad rssi
almost everything I have is zwave, I mainly use zigbee for leak sensors
Is it a USB 2.0 extender? Any nearby SSDs?
it's on a 6ft extender so it's at least 6ft away from my SSD
Is the extender 2.0 or 3.0 though? If it's 3.0 and plugged into a 3.0 port, that may cause problems
also I tried using the new zigbee backup/restore feature since I had a backup, no help.
2.0 on a 2.0 port, the SSD is on a 3.0 port
what's weird is the visualization says my 2 mains powered Innr plugs are Online, but they're not functional either
Have you tried unplugging those two plugs for a few seconds and plugging them back in?
yeah but I'll gladly do it again
Enable https://www.home-assistant.io/integrations/zha/#debug-logging first, then try it
When you open the ZHA radio migration tool and select the automatic backups, how many are shown?
I don't see this option?
What do you see?
keep radio, upload manual, erase network settings
Ah, right. That means that your network state is identical to what is in the backup so restoring it will do nothing
You can, however, manually download a backup and then restore by uploading the file
yeah I took a backup when 2022.9 came out so I tried restoring that
I yanked the power to all mains devices simultaneously. They seem to have come back online. I guess I'll wait and see if the battery devices spring to life when they next wake up
Which battery-operated devices are they?
Puddly is there a way to overload the stick or routers and make it just.. fall over?
Samsung and Centralite leak sensors
Hmm, those should be "normal" and should reconnect if their parent (possibly a plug) goes offline
I have 2 Innr plugs, 2 Heiman gas leak sensors, and 10 leak sensors
Btw off topic but just curious why you went with zigbee leak sensors instead of zwave since you already have a good mesh?
Specific features not available?
I got an awesome deal when Samsung was getting out of the sensor business. They were like $5 a piece which was hard to beat
the gas leak sensors are because I haven't found a zwave equivalent
Havenโt looked myself
2 sensors (both Samsungs) have reported in. The rest haven't come back, not sure how quickly they should
funnily enough, they're the two furthest ones from any mains device
also, at the time I was using Hubitat and was having MASSIVE zwave problems (a big reason why I switched to HA). So I was experimenting with zigbee. After switching to HA zwave has been nearly rock solid
the sensors didn't come back until I did a Reconfigure on each one twice. First reconfigure did not restore it, doing it again did
Still makes me think itโs signal related since nothing changed yet worked second time
kinda hard to prove you wrong. But the reconfigs were done back to back. First didn't resolve it, second did. For what it's worth though it said it failed both times ๐คทโโ๏ธ
Reconfiguration usually does nothing for sensors, since they're sleeping 99.9% of the time
But if it worked then it worked ๐
yeah reconfigure was a "what do I have to lose?" type thing\
but I guess to my original question, is a sonoff recommended? Are there better sticks out there? I know it's some what of an opinion question
The chipset is well-supported so if it works then it works
Do I dare ask if thereโs a benefit to switching to z2m vs ZHA? I havenโt found much good info online
Really depends on stick and devices from what I've gathered
Seems new devices are supported by z2m quicker and possibly additional functionality in the webui config
Got it. Z2m for zwave was kind of night and day difference
New devices nowadays are like 99% Tuya and white-label Tuya. Otherwise, device support is comparable for both.
z2m seems to unlock full functionality of lots of Tuya devices but for the ones I got, they were corrupted on interview
No itโs actually the opposite. Zwavejs2mqtt is literally zwave-js with an additional config panel and extra configuration options. Zigbee2mqtt and zha are not the same
When fp1 came out that didnโt seem to be the case
That's the remaining 1% ๐
Also wasnโt power on behavior with hue bulbs etc recently added to zha
And existed in z2m for a while?
I believe Hue has had it for a while but it was added to the Zigbee spec (or existed in the spec the whole time) so it was globally enabled for all newer bulbs.
Ah
It was there since two years(?) or so. It just recently got a nice simple config entity. Before that, you needed to use the "manage clusters" UI
I just had a Ikuu 2 port zigbee switch installed...it identified as https://www.zigbee2mqtt.io/devices/TS0012_switch_module.html#tuya-ts0012_switch_module
but even when the switch is off....it is still providing a little bit of power to the lights that are attached
just enough for them to flicker !?!?
That's normal for two-wire devices
You can buy a dimmer bypass (resistor) that can help with that
It's not a dimmer, but it's effectively one
right
good point
looks like I'll need to do some digging
so these have no ability to connect to neutral...as I have that avaialble
I saw people saying that Zigbee sticks should be kept away from SSDs yesterday. I'd not heard that before. What is it about SSDs that cause problems?
USB 3.0 is the problem
Thanks
Is there some magic trick to making Aqara mini buttons pair with ZHA? I've tried two of them and I'm vaving terrible trouble getting them to work. Tried free pairing and pairing via a device. They mostly get stuck at "Starting Interview" or come up as "unk_manufacturer unk_device". I've tried both long and short button presses
Just keep activating the pairing button every 5 seconds or so until the interview completes
Thank you
That approach works for every battery powered sensor I've encountered, it stops it going to sleep before the interview completes
Zigbee or Thread?
I am buying a large set of new blinds and I can choose between the Zigbee or Thread version; they do not have a definite date for Matter support.
I am leaning towards getting the Thread version, but the question in my mind:
- Is will the thread version work with HA?
- What is its potential for getting Matter support?
Matter support is being worked on. Zigbee support exists and is mature.
But what about Thread? (yes, I understand it is one of the protocols within Matter)
Falls under the Matter category
The house is still under construction, I need to order now but will not actually use them until Dec
If you want stuff that you know will work, buy Zigbee
Then embrace the unknown... and let us know how it works out for you ๐
haha
I guess my uncertainty revolved around; even if the manufacturer does not support Matter, but they are providing a Thread radio. Is that a structure that we expect to work in HA
See the announcement linked from #devs_matter-archived
Thread is coming, but it's still early days
Yes
actually searching does bring up this #devs_matter-archived message
hopefully!!!
thanks for the help
any zigbee like nanoleaf products out there ?
If you have access to a 3D printer, there are a number of similar products you can print and add Zigbee or Wi-Fi to
I actually do in fact ! ; mind just linking the zigbee product to add to the 3d printed object ?
Geoleaf on thingiverse running wled on an esp32 is a decent knock off
You could add zigbee instead
so when you say I could add zigbee instead ... its like a product ? receiver... and I'm in Canada ; if anything you can link or whatever you know of so I can search for equivalencies
I believe the ESP32-H2 supports Zigbee
perfect thank you man
Wled over Wi-Fi works pretty well for my diy strips tho
ya sorry I just needed a link ; because without wasting your guys time I have to do more research down the rabbit hole because I'm not familiar with terms like ESP32 etc.. but I have received good direction. thanks team
Morning all, I've got a huszusb that i want to replace with a sonoff 3.0 zigbee device, and was curious if there was a guide to migrate so I don't break automations/etc?
Here is a project with an ESP and a Zigbee radio https://www.cnx-software.com/2019/12/23/tasmota-open-source-firmware-now-supports-zigbee-connectivity/
An ESP8266 can easily drive a string of Neopixels
Then buy a quinled dig uno or dig quad and follow his guides and video tutorials including wiring diagrams. Very easy to follow for someone who is just getting started (this uses Wi-Fi not zigbee)
Thank you guys
any idea where I can source one of the CC1352P7 ? and, can I transfer my network to the new one? I can't imagine re-pairing 135 devices ..
seems pretty straight forward to compile a new Z-Stack? And looks like I need to fork zigpy?
think this is the only option right now. https://www.ti.com/tool/LP-CC1352P7
That guide is massively outdated. ZHA has a prominent button to help you migrate all from the web interface. Just unplug your old coordinator, plug in the new one, and click it.
Thanks! i'll give that a whirl, whats the button say?
negative. upgraded that a few months back to a zooz stick
Hmm, I didn't see the migrate option, but I also don't see the new stick being passed to my vm either
I'll play around a bit.
What version of HA are you running? It's available only in 2022.9
ahhhh ok
dang
I was having a zwave memory leak in my newer 2022.9 version (core 8.5?) so i've reverted to an old snapshot
@austere patio that appeared to do the trick. I've only upgraded the HA to 9.4 and hope that the mem leak doesn't exist there... but the migration seemed easy enough and appeared to do the trick.
A very quick question: I have been using ZigBee2MQTT for almost three years now and I have decided to give ZHA a try. I want to create the mesh by adding the devices step by step. However, once the coordinator is initialized some kind of autodiscovery process starts and the mesh gets populated (even some enddevices). Does this mean that pairing is autoenabled in ZHA (such that even potentially harmful devices get autoadded)?
Is anyone using an xfinity k9-85sma motion sensor with ZHA or Zigbee2Mqtt. I got an unsupported error in Zigbee2mqtt. It would try to add, then say it left the network. I know they are older, but wonder if there is a trick to make them work, or if they just aren't supported.
Xfinity?! Are these packaged with a cable and internet plan or something?
I think they have a smart home platform in some markets. I bought a box of these that has a few of these motion sensors and door/window sensors from someone switching to a different system at a yard sale. I saw that it was zigbee and took a chance with how cheap they are. The door sensors work great and even report temperature. There is a different style motion sensor that paired quickly. These k9-85 SMAs just won't pair. The motion sensor that worked is a mp-841 (came up as universal for the manufacturer) and
XHS2-UE for the door sensor that reports temp. I'm just checking them out now, haven't placed them permanently.
ZHA only allows joins for 60 seconds after you click the "Add Device" button. Other devices will then join if they're in pairing mode.
However, if you've used the same stick with Z2M without wiping it, ZHA will try to "move over" as many devices as it can. (They're still in the network, but ZHA doesn't really know what they are until they're re-interviewed. For mains powered devices, this can be done by power-cycling them)
So no, pairing is not auto-enabled in ZHA. I don't think that's even possible. You can use the zha.permit service if you want to permit "fresh joins" for a longer period though.
Anyone have any luck pairing one of the new Philips hue tap dial switches with HA and retaining use of the buttons/dial?
On Z2M specifically
Sorry if this is the wrong place to ask
Hello, how can I overwrite a value in a zigbee radiator thermostat. It is about the max_temp value. I want to change this from 300 to 30
max_temp: 300
@soft plover posted a code wall, it is moved here --> https://hastebin.com/adilaluwun
not sure on z2m, but paired one to ZHA, it did nothing it pulled in a FW update, and then it worked out of the box, with events for each button and the dial.
Hmm. I was able to add it to a hue hub and use it that way. However using any hue products through the hub -> HA adds a bit of delay. It also didnโt respond to the dial but the buttons worked. I saw they added it to z2m supported devices however when I add it, I have no actions exposed.
may not be in the current z2m release then
I probably should ask in the z2m discord
Hi Guys and Gals. Bought some additional TS011F zigbee smart plugs. added them into HA via ZHA and the Amp value is showing incorrectly. A laptop is plugged in apparently using 350A!!. How can i change this? Charger says output is 2.31A. Also the Polled smart energy summation is displaying a value in the trillions, can i reset this to 0?
Thank you very much. This might be the problem. I will perform a factory reset and reinstall ZHA.
Anyone have the Aqara P1 motion sensors? Am I missing something or are the batteries just borderline impossible to take out?
anyone else having an issue running z2m after updating to os9?
working for me on haos on pi4
looks lke its a mosquito broker issue "Zigbee2MQTT:error 2022-09-15 21:53:19: MQTT failed to connect: getaddrinfo ENOTFOUND core-mosquitto"
for some reason the start on boot was disabled
howdy all,
Trying to add some Zigbee blinds to my HA instance but i'm having issues with it picking it up.
I've already got about 5 devices on the unit that are zigbee and about 32 others that are z-wave
Trying to put the controller into discovery mode yields these logs
trying to put the controller into discovery mode and trying to add the blinds yields these logs
https://pastebin.com/SKyf3yy5
Looks like it literally doesn't even see the blinds (ironic)
anyways, i tried checking other devices that are zigbee and they're still reporting fine it just seems none of these blinds are being picked up
is it possible that the blinds are holding previous connections set at the factory? and if so is it similar to z-wave in which you can put the controller in un-pairing mode to "free it up" perse?
In zigbee when you permit joins, the coordinator listens for a device to announce itself. You can trigger this by resetting the device typically. Are any of your existing devices routers/repeaters?
I don't actually know or if there's a way to tell I have one other pair of blines on there that are a pair of yoolax, other than that I have a water shut-off valve and rgbw controller and a flood sensor
But I got them off AliExpress so I don't know if their repeaters or not
Hm, one of my Hue switch remots seems to have fallen off the Zigbee network (Z2M), pressing the buttons generates no messages in the logs.. but not sure how to force a rebind or.. figure out what happened..
Halp. I stupidly deleted all the groups under the ZHA integration in the UI, thinking I didn't need them. Each of them contained only the ezsp device and nothing else
Now none of my zigbee stuff responds to commands
SiLabs coordinators unfortunately need to be a part of a group to receive commands destined for that group
Try clicking the "reconfigure device" button once for each type of affected device, it should start working again after that
I'll try that, thanks!
Oh, interesting.. everything is working now after simply creating an empty group (I wasn't able to add the ezsp to it).
What kind of devices do you have? IKEA?
A mix of IKEA and Sengled bulbs as well as IKEA, ERIA, and Xiaomi buttons. I haven't tested every single thing to know if they really all work yet but so far so good
hmm yeah the IKEA remote I just tried doesn't work.. I'll try reconfiguring it
No dice
The reconfiguration doesn't need to succeed, even if it fails the button should start working after that
Sadly it's not
Should there be a new/recreated group after reconfig?
Perhaps it needs to actually go through the configuration to work. Can you keep a button awake (i.e. click it repeatedly) before/during the reconfiguration?
Is there a reason zigpy_znp is overriding any given endpoint to 1 if the firmware is newer than 20210708? https://github.com/zigpy/zigpy-znp/blob/824c2b2ade1e2ecfeb55087b9375a1df33eebb34/zigpy_znp/zigbee/application.py#L904
It overrides the source endpoint when sending a request
Zigpy was written with SiLabs EZSP coordinators in mind, which allow you to send commands from any endpoint and receive on any endpoint. Z-Stack doesn't (well, didn't), and requires the source endpoint to be chosen more intelligently.
Thanks, I managed to get the xbee to work with it, but the command has to come from the correct endpoint
So was trying to determine how to best implement that
Of course the zigpy issue is another problem, it seems like adding the endpoints has to happen at startup to be able to listen on them
It will likely have to be added as a custom config option for zigpy, right now we can't add more endpoints due to firmware limitations with Conbees
The correct endpoint is matched based on the cluster ID and profile. What do the XBee endpoints use?
endpoint=0xE6,
profile=0xC105,
Are there multiple?
Or is it just a single one? Do they all have the same profile? What about the destination cluster ID?
The quirk implements an endpoint for serial at 0xE8, but I haven't tested that, they all have the same profile id
There are several cluster ID, depending on the command
Looking at the quirk, I'm seeing the device has endpoints 0xD0 - 0xDE registered
Do you have to send from endpoint 0xD5, for example, for the device to accept it on 0xD5?
No, everything to 0xE6, we set the endpoint on the xbee in the payload
Can anyone confirm if the am25-1/30-es-e is in fact a ZigBee enabled roller blind motor
I think my blinds manufacturer might have sent me the wrong motor
I think this should work: https://dpaste.org/cKggG
OK, so that's pretty similar to what I have that's working
But something will have to be done to allow zigpy-znp to use the old endpoint matching logic
But if I PR that to zigpy, sounds like it could cause tons of issues
Making it extensible via the config file seems like it should work: https://dpaste.org/ErBDg
I'd be good with that, anyone crazy enough to use an xbee should be good with some yaml config
Add the new option to zigpy.config, use zdo_types.SimpleDescriptor as a vol validator, and then add some code at the end of ControllerApplication.register_endpoints to register them
Should be simple to do if you want to make a pull request
I'll try adding a remote again. First while it's already in HA, and then again after removing it if I need to
Okay adding the remote again without first removing it seems to have worked. And I see a Zigbee group called Default Lightlink Group now. The old groups that I deleted had less helpful names (just numbers I think)
my sonoff dongle straight up just stopped working with zha, when i try to readd it to ha i get an error when trying to erase, or use a backup. i tried reinstalling the firmware but still same stuff
initially i had an issue with some zigbee devices not working so i deleted and readded it at which point i started ruinning into this issue
I have Sinope Thermostat that I'm supposed to be able to publish the current time and also outside temperature. I was using z2m before I decided to redo all my setup and to do that I was publishing an mqtt message and the thermostat was always at the right time and the outside temp was showing on the screen. I really want to remove as much moving parts as possible, this is why I'm giving zha a try, but I can't find anywhere where I can replicate this. I tried to do in developer events and listen to zha_event and I not getting any. Please help!
I have a separate issue now where I try to add a new Sengled bulb but when I do, either the new one or another one seems to become unresponsive. Like I've reached a limit or like there's a duplicate ID somewhere or something.
Seller fucked up and sent me 4 of the wrong motors.
Which is why they wouldn't connect to my hub
Because they don't even have a ZigBee radio.
Fffffffffffffff
Can you enable ZHA debug logging and post a log? That's unusual.
Hello all , I am looking for a Zigbee led strip controler (ww) , I have tried some equipmentes but not fully satisfied . The one with best results is the miboxer but doesn't have power on behaver ... What are you using and what do you suggest ? ( I only need ww color). Thanks
Hi everyone. I've been searching through this discord and the forums but I can't quite find an answer. I paired a Danfoss Ally TRV through ZHA. The existence of a quirk for it tells me that it should be supported and indeed I can set the temperature. The climate entity has a state that exposes many more attributes but many options are missing (external temp reading, window open etc). Those things are visible in ZHA cluster UI though. But how do I use those attributes in automations to wire up a window sensor? How do I create a sensor for those that aren't already exposed through the state?
is that basically "build my own"?
Im currently using ZHA, when adding a smart plug device, the numbers pulled from the device are clearly wrong ( 300Amp reading from a laptop charger) i spun up another HA instance with Zigbee2MQTT and the readings were normal Any thoughts on why or how i can resolve it without having to migrate to zigbee2MQTT?
So, this is a long shot, but do we know if the ZHA migration will work from an xbee
Not unless you can capture the network key
I'm wrapping up the PR that will allow me to move to a TI coordinator, wondering if I'll be crawling under the house and through the attic
I've got mine set to unsecured, if it does have a key, it should be the default, have to look
ZigBee has quite a few overlapping security concepts. It could be that unsecured for the XBee just means that it will permit joins and send the network key in the clear, as opposed to requiring it to be encrypted with an out of band secret
The only fool-proof way to grab it would be to sniff it, which requires you to just join a device and make sure you have a sniffer in range to capture the key. I believe there is sniffing firmware for your coordinator, though I'm not sure if you can switch back from it easily
If you have the $12 budget for it, pick up an nRF52840. There's a Wireshark plugin and it has good range
If $12 will keep me out of the crawlspace, I'm in
Alright, got one on the way, thanks
What plug is it (Zigbee model + manufacturer)?
this might include some of a restart, im not sure
there's also this
https://hastebin.com/apavaracuz.less
Hi everyone! I bought a Sonoff ZBDongle-E in hopes of replacing my Conbee II, but I'm having trouble communicating with (mostly Aqara) devices after initial pairing; i.e. motions sensor pair (not necessarily as smooth as expected) and work for a moment, then they become unavailable. It's connected to USB 2.0 port (nothing on USB 3.0) with an extension cable far enough from wifi. I'm reading that some people are having the same problems and also that there could be some issues with the CTUNE parameter being set to the wrong value from the factory. Does anyone have an idea whether there's something to it or it's just my setup ...?
Hi! Decided to migrate my 2 Zigbee networks in to one today. Moving everything over that was in Hue to the deconz hub. Most of it seems to be working fine. But I have a big problem with my Hue Dimmer switches. I had one of them already in there that have been working fine for the most prat except for some long time ago.
Anyway, the dimmer switches are found, I can set them up with a Light group in Deconz etc. And it seems to be working, but once I leave the settings page in Deconz, after a short while. It just stops working. If I check the log I can see the "No button map for: RWL021" there, and I see that the dimmers are communicating, but they don't seem to issue any actions. HA doesn't recognize any buttons being pressed either. They are Gen1 switches.
Any advice?
Can I set minimum position of my IKEA blinds in zigbee2mqtt?
Can you PM me the full log?
Is your coordinator on a USB extension cable? I've seen Z-Stack ones take forever to start or freeze if their formation scan fails, which happens when there's too much noise.
Anyone know of a Zigbee LED monitor sensor like the HomeSeer HS-FS100-L ? I am down to one senor and one device consolidating my some setup on zigbee instead of zwave (why? cost).
You can probably DIY that with something like ESPHome/Tasmota
What appliance are you trying to make smart?
Currently monitoring if a Dryer is running as I do not want to re-wire the 240V outlet with an expensive power meter. However I have other devices where this LED monitor is a nice (non invasive) way to get clean status from a device. I have been considering it for some other things like my hot water heater that has an indicator LED.
It is a very universal option vs purchasing a smart device or when power monitoring isn't really the objective.
I've done similar things using my smart plugs. They have power monitoring. Like one watches my 3D printer and if the current draw goes below 20 Watts, it knows it's finished, waits 20 minutes for the hot end to cool then pulls the plug. Another one uses a smart plug and a humidity sensor to give my dehumidifier smarts. It even pings my phone with a notification if the dehumidifier is on but the power draw is under 10W as it knows the tank full sensor must have tripped
If I wanted to do that I would not post in the zigbee channel.. I did that before 1. Looks ugly poor wife approval factor. 2. not that reliable as it is based on network / WiFi. I like that zigbee and Zwave are independent of me rebooting the Wifi or DNS / DHCP issues and do not add to IOT security issues on my network.
I monitor my washer that way which is North American 120V, my dryer is 240 volt the only solutions I have seen are direct wire replacements for the 240 outlets and expensive.
European smart plugs will run at 240V with a couple of adaptors
I also have a working Zwave sensor for that, I was specifically ASKING for a zigbee solution.
Interesting, but really overly specific to the dryer.. I really want the LED monitor.. as it already works, is mostly affordable but I don't want to expand my Zwave use, I wanted to know if there was a Zigbee equivalent. To be clear I already have 1 of these on my dryer, works great I don't need to solve the dryer again.. In fact it works better than power monitoring does on my washer as it is very clear on and off.. power use bounces a fair bit on my HE washer and it has idle states.
It's not possible for HA to know whether you've plugged in a freshly bought coordinator or one that has been previously set up?
this seems to show up on a Sonoff Dongle that was auto discovered but since it was new I'd expect not to say the "Erase network" part
It could be just be me being too picky ๐ ๐
I guess the "erase" part could be hidden if there isn't a formed network
I'm considering picking up one of Tube's PoE zigbee coordinators
What's the deal with Matter when it comes in? Are all these pre-existing coordinators defunct?
Or do you just flash them with new 'Matter' firmware?
Cc2652 can be flashed with a RCP fw that works with openthread
Efr32 can get a silabs rcp and can do zigbee and thread concurrently
after days of troubleshooting when upgrading booting from sd card to ssd i bought an extension coord for my conbee ii, now everything is working again ๐
Just installed HA on a SSD and everything is working. Then i added a ConbeeII stick and installed deConz but when i try to add my Aqara smart plug or Hue smart plug in phoscon/lights it wont find anything. Any advise?
Its a TS011F__TZ3000_okaz9tjs
buy an usb extension cable for your conbee 2. https://community.home-assistant.io/t/usb3-0-radio-frequency-interference/288695
Yeah got that already, found it and i was doing wrong when i tried to set the plug in pairingmode ๐
Does someone know a 220v zigbee based motion sensor that I can use to replace existing old school oneโs?
I'm just updating my Sonoff v3 P-dongle for the first time. I've opened it, scraped the paint off the chip and it says:
CC2652
P1F
TI 138 E
AFH1 G4
How to I work out if I need the C2652R or C2652RB firmware please?
Sonoff p uses the launchpad variant
There is a chart in the fw repo that listed devices and the fw they should use
(I have no clue when I got the power to post images ๐๐ช Iโll use it wisely ๐)
Thanks. I followed this link from itead.cc, where I bought it. I'm not sure it is referring me to the same repo as you're using https://sonoff.tech/wp-content/uploads/2022/08/SONOFF-Zigbee-3.0-USB-dongle-plus-firmware-flashing-.pdf
It just told me to buy a $150 xmodem client
It is
That is for the dongle-e though
I think I've done it. Booting VMWare now
Dongle is working but I still seem to have my original problem. My Aqara temperature sensor joins the network when I pair it and reports in once but it shows in the visualization as having no connections then goes unavailable a short time later
Create an issue here: https://github.com/zigpy/zha-device-handlers/issues/new?assignees=&labels=&template=device-support-request.md&title=[Device+Support+Request]
Itโs likely that a multiplier/divisor needs to be changed
Thanks. I just tried pressing the button and it updates every time I do that but doesn't seem to poll
Will do, thank you.
does/did anyone have problems with the new Sonoff ZBDongle-E? after the devices are paired, they don't stay available for long. I've made sure there is as little interference as possible (usb 2.0, long cable, far from wifi ...)
Hi. I need some help, please. I have a RF zigbee connected to my HA via the Hacs Sonoff integration. All working fine with motion sensors etc. I recently purchased some RF remotes and paired them with the zigbee bridge in the EWeLink app. I restarted my HA and can see the new buttons but when I press the remote button, nothing shows in HA. The button just says unavailable. I canโt for the life of me get this to work.
Wht are the devices?
Ok wait, I can see last triggered activity in HA but the device doesnโt have a state (unknown)
All sorted
Hello everyone, I have a 4 socket power strip that ive added to ZHA, HA displays individual sliders but has called them all "switch" and if I toggle one of them, they all turn on/off rather than having individual control over the sockets. The zigbee sig/clusters show 5 separate endpoints each with an on/off attribute but settings these attributes manually doesnt seem to do anything... bit stuck
Hello. I have TS0013 switch. Every day it will become "unavailable" and I would have to delete the device and re-add it. Why does this happen? Is there a long-term solution to this?
It is not the specific unit as I have tried changing it with a new one
mostly aqara or ikea sensors and switches
I'm havung exactly the same problem with two Ikea dimmer remotes and a population of Aqara temperature sensors I just bought. I just filed a bug. Does this sound like your problem? https://github.com/zigpy/zha-device-handlers/issues/1765
@pine swan yes, sounds the same. Which coordinator do you have?
Update: If I turn off the power from the mains and turn it on again, it will re-connect normally
Sonoff P with latest firmware https://itead.cc/product/sonoff-zigbee-3-0-usb-dongle-plus/
Is it normal for a RGBW Fibaro puck to have a slight delay in the HA UI when i change states
my dimmer is near instant
Aqara temp sensors operate completely unidirectionally. They join your network and then send updates in their proprietary format. If you're not able to receive them, either their batteries are low, they chose a poor parent router and can't reach it after they join, or the parent router is incompatible with their long sleep durations and kicks them from the network in like an hour.
any recommendations for zigbee thermostats?
i'm loving zigbee so far, i'll never go back to wifi unless necessary
wish i had found it sooner before buying all of this wifi garbage
hey friends , just for information propose, found the interference problem in my zigbee network.
it was a simple LED driver that made noise between 10khz - 200ghz
it was a pain to find this piece of.... and i want to share my experiences with you all
Name and shame
Has anyone tried integrating devices from https://otohom.com/lighting-automation/ which uses zigbee protocol. Does it work well with home assistant?
@gloomy pawn and @tall prairieeRealPorfavor#5914 any suggestions?
I just noticed ZHA can create groups of devices. I've already configured some light bulbs in groups using Home Assistant's "helper" feature. It seems like these are 2 methods of doing the same thing. Are there any pros and cons?
Not the same
https://www.home-assistant.io/integrations/zha/ scroll down to binding
err binding is a way to bind like a switch to a bulb so it works even if hass is down
groups are a way to "group" multiple devices into one and then send one multicast instead of sending a command to each bulb
which in turn means less chatter on your zigbee network and benefit being you see your devices all turn on/off at the same time
i use zigbee2mqtt not zha and use groups there - i have groups for like kitchen chandelier 1,2,3 all in one, groups for kitchen cans 1,2,3, etc. Then I even have a group for all kitchen lights. then i use those groups in home assistant light groups (like you found in helpers)
Thank you for the explanation, this makes sense. I didn't know about binding but that's a cool feature. Reducing network chatter sounds like a good idea
ya
i pretty much exclusively use zigbee groups -> home assistant groups -> whatever (such as passing through to homekit)
it sucks to have to "group a group" but it works lol
i chose those naming conventions which are given to hass via mqtt with z2m
so each group ending in _Group is just the group for a specific device with multiple bulbs, and _All is for multiple groups combined for a single room
if that makes sense..
lol
Nice. I'm trying it out now. I see that even after grouping in Zigbee, I can still control each light individually if I want to
yeah
it's just a way to be able to tell home assistant via zha/z2m to send a multicast instead of per device for an automation or w/e
i might not be phrasing that correctly but i believe that's right
switching an automation over from targeting multiple devices or using multiple devices via a home assistant helper light group to using a zigbee group is very noticeable when you are in the room and watch the lights change
I do a lot of IP networking at work so I'm familiar with the efficiency benefits of multicast. Zigbee is tiny amounts of data but it all adds up
The default name of a Zigbee group is a mouhtfull! light.dresden_elektronik_conbee_ii_living_room_floor_lamp_zha_group_0x0002
I've used it for years with Homebridge and it's been great. Just now switching over to Home Assistant for more customization. What sort of issues?
you can search here or forums and see
might only be certain controllers, i've never used them myself
just seems when people have issues with zigbee (aside from interference / shit mesh) it's about conbee/deconz/etc
good to know
I've always disliked deconz software, it feels clumsy to configure and requires VNC. But once it's all set up I was happy with it
vnc lol
The 3 bulbs in my ZHA group are still not perfectly in sync. Sometimes it is, sometimes one is 0.5 second slower
does it have a similar LQI to the other two bulbs?
I can't see LQI, I guess I have to enable it
it shows up on zigbee2mqtt
should be in zha somewhere on each device's page or something..
maybe some hints to where to find it there?
I think ZHA disables it by default, but I got it ow. The 3 bulbs are 223, 215, 239.
I think 255 is the maximum. Not sure what is considered "good"
I found the visualization view in ZHA, very interesting! I have several red lines, and some connections that don't make sense geographically. I'll have to investigate and see if some devices need to be reconfigured
i'm not expert but i've read that most devices should update routes, at least powered ones, but expecting them all to is not a good idea
in z2m you can "reconfigure" and i'm sure there is a similar option in zha
i found this on the forums "Aqara sensors pick a route when paired then they never change. So if you add new routers to the network, you have to re-pair the aqara sensors in-situ to take advantage of a new better possible route. Just enable adding devices in zigbee2mqtt and hold the button on the sensor. "
so fully re-pair for some devices.. fun lol
That sucks. I'm hoping most devices can be reconfigured without re-adding. I have mostly Tradfri, Gledopto, Hue, and Ecosmart
I'm trying to bind a Tradfri switch with Gledopto bulb group and it's not working. From looking at the log, it seems like Tradfri is not capable of binding
Red lines in the visualization are normal: it's showing you every possible path between routers, so it's normal to see two far away routers "see" one another. They likely will never use that route.
But then it's weird that HA shows binding as an option
does reconfigure in z2m update routes @austere patio ?
I don't think that's possible from software
You can ask the device to re-join the network but routing for the most part is automatic
i see some of my bulbs have an lqi of like.. 50
yet they seem to respond pretty fast and they're very close to the usb stick
i never looked before cuz i just assumed they were good to go :x
usb on extender and away from rack etc
LQI doesn't mean much. It's just how strong the last-received signal is from a packet sent by that device, through its last-hop router.
and when i created my mesh a few months ago i started with closest to stick first and moved outwards
i see
that's my mesh
What is the second number? Some devices have only 1
Communication is usually in both directions, so it's the LQI from the perspective of each device making up a link
Ah ok, that's why my Tradfri switches only have 1 because they can't receive feedback
Switches and any battery-operated devices are usually asleep so they likely may not be awake when you try communicating with them. Make sure you're clicking buttons on the device to make sure it's awake to receive commands.
Hmm ok I think that helped. Now I see something in the debug log like [homeassistant.components.zha.api] Devices bound: source_ieee: [5c:02:72:ff:fe:ac:f1:9d] target_ieee: [00:12:4b:00:21:92:8c:58]. But the on/off control doesn't work.
