#zigbee-archived
1 messages ยท Page 126 of 1
dont worry about it.. HA is a tinkerer's tool... stuff happens when you... tinker ๐
(as i sit here soldering my ESP8266 custom sensors)
Should be. Did you make an __init__.py file in the custom_zha_quirks folder?
Didn't get time to try it myself yet but another user (with no __init.py__in the custom_zha_quirks_folder) reported the config option being invalid: https://www.reddit.com/r/homeassistant/comments/mmj9rq/phillips_hue_remote_rwl020_no_triggers_available/gttq7rv?utm_source=share&utm_medium=web2x&context=3
Oh, you're right. It looks like the key wasn't added to ZHA's config schema.
Is it absolutely necessary to flash cc2531 to use with Hassio? Trying to setup zigbee2mqtt and encountered that I need to flash it.
Unless you bought it pre-flashed, it doesn't have any firmware
It won't do anything until you flash it with firmware
@austere patio Not even if I use another approach than zigbee2mqtt? Say, I only interface to it and the RPI has some form of software controller.
Z2M and ZHA both talk to the CC2531 over serial
If the CC2531 doesn't have firmware, it doesn't talk to anything
hmm.. Maybe my JLink programmer works with it.
Yea, but I figured maybe TI has put some factory firmware on it that at least gives raw data over UART or something.
Once you flash it it does have a bootloader but for some reason they all come completely blank
UART is how Z2M and ZHA control it. The CC2531 is its own USB-serial chip so without firmware it's pretty dead
Strange, they market it as a USB Zigbee sniffer. One would think that you could use it with wireshark or similar out of the box.
Well, not wireshark natively
The sniffer firmware for it has no bootloader so you won't be able to flash anything over it without a debugger cable
That part I understood ๐
https://www.zigbee2mqtt.io/information/flashing_the_cc2531.html links to other guides
I'm sure there would be some improvements in that area if the toolchain and IDE were not "contact us for pricing"...
Apparently it has a zStack12 firmware on it already. But very old.
If it already has firmware then you're all set
Yea, worst case, I can research if my JLink is compatible with TI chipsets.
The version number just says what Zigbee spec it's implementing. The 3.0 firmware is "newer" but breaks.
The CC2531 and CC2530 sticks are cheap for a reason. They're fine for testing, but do yourself a favour and buy something better.
TBH the chipset breaks ๐
But if you want to try the 3.0 firmware, you can flash it over serial
Since the Z-Stack firmware does have a bootloader
No tangible benefits though
I'm happy as long as it works, no matter the firmware version
Anyone else seeing this error after upgrading to 2021.4: "Error setting up entry HubZ for zha"
You can confirm if the stick has a bootloader by unplugging it and plugging it back in. if the LED turns off or turns red if you push any of the two buttons, you have a bootloader and can flash it over serial: https://github.com/zigpy/zigpy-znp/blob/dev/TOOLS.md#flash-operations
(Or use the TI Windows program)
Seems like a startup problem with your HUSBZB-1? Enable https://www.home-assistant.io/integrations/zha/#debug-logging and post what the full error message is. Full startup log (after redacting personal info, if you care) would be best.
@austere patio indeed it does. Just plugged it in to my mac, it shows up in /dev
Tried it now, turns red if I press one of the buttons
So it looks like the stick should work out of the box with Z2M or ZHA
tindie is the recommended shop to buy zig ah for EU?
It's the only place until he's selling it direct
This stick I bought is so cheap, they didn't even wash the flux off the board at the factory ๐
The CC253x boards are typically $5 or so
How should i post the log?
That is what's funny ๐
Lovingly hand-crafted
@austere patio https://paste.ubuntu.com/p/259SrkZYMf/
That is unexpected
Looks like something strange is up with your zigpy zigbee.db database
What version of HA did you upgrade from?
Nothing interesting changed with ZHA/zigpy between 2021.3.0 and the latest version
Hi Puddly just updated and also getting error on zha
restored full backup to previous version and still error persists.
What error?
The database contains no sensitive information, it's just info about the devices on the network. Everything else is on your stick.
Can either of you PM me your zigbee.db databases? You can see the contents with sqlite3 /path/to/zigbee.db .dump.
would you like the zigbee.db file or the dump?
The file would be best. You can send it with Discord via DM, uploads are disabled for this channel.
Thanks, I'll see what I can find
Thanks
@austere patio pm with copy of db sent
Have either of you removed devices recently?
Yeah, but your network will be...broken
or re-added a device
Since that file contains all of the discovered device information for every device on your network. Without it ZHA/zigpy doesn't know anything about your network and will treat every device on it as unknown, if anything sends something back to your server
okay
You seem to have some stray entries that are just breaking how the database is loaded
okay, is it possible to remove/fix the entries?
Yeah, it seems like just the one
If you run sqlite3 /path/to/zigbee.db and then DELETE FROM attributes WHERE ieee = '90:fd:9f:ff:fe:71:71:70';, and then .quit, it should load fine after that
can you explain what is stray about that entry?
It says that the device with IEEE address 90:fd:9f:ff:fe:71:71:70 has a cached attribute
But there is no device with that IEEE in the database
okay
Have you also recently removed a Zigbee device?
no
Well, before last restarting HA?
i just restored the full vm as wife going nuts over no lights @ 11.48pm lol
Running the same command but with the IEEE address should fix your problem as well
And you say you have not removed any devices since December?
i replaced some bulbs a month ago so need to reconfigure those and then make full image backup. then will try upgrade again and see what happens.
Do either of you mind if I attach your zigbee.db databases to a GitHub issue?
Thanks, should be fixed in the next HA release
I'm also seeing an update and using zha. So if I'm correct I should wait with the update?
Z2M uses a database as well ๐ค
i'd love to see the same thing happen to zigbee as happened to z-wave with the js ๐
We need a descent zigbee backup system for zha. Im no fan of deconz but the backup and restore function is working pretty well. Is some random ha update can break the whole zigbee config then I'm f@#-$. My girlfriend is going to kill me... Not one light will come on anymore
@stone echo it already did, zigbee2mqtt
No HA upgrade has ever broken my Z2M install

isn't zigbee2mqtt more like zwave2mqtt?
Hell, even if HA is down, I can use Z2M's own UI to control lights and sockets
This specific issue isn't related to an HA update at all...
That doesn't fix the problem zha is having if it breaks when upgrading. If this is the case the update should be removed
Oh ok
What is causing this issue
Most of those issues are reported by Conbee users, where restarting the stick makes it get wacky, from what I understand
I hear pucks are good๐
Conbee sticks are wacky as hell when rebooted Indeed
That was mean, I just love to hate the name/logo
But puddly what was causing this issue with these 2 gentlemen? Is it save to update?
The only part of the update process that would cause this error to maybe show up is the HA restart
So if you've rebooted HA some time in the past and nothing broke, you won't have any issues
I think it's caused by zigpy updating its database schema in early 2020 but if you have a network from before then, some database constraints aren't migrated/created and removing devices can leave junk behind (in rare cases?), causing ZHA to fail to start up
I ran into similar thing a couple weeks ago with a user who was testing one of my coordinators with zha, and it would not start. Problem was an leftover zigbee.db from an old zha network was still in the config folder.
The database already existing shouldn't affect anything, I think? Maybe some devices not initializing/binding/configuring reporting because zigpy already thinks they're initialized, as indicated in the db?
Ok that's clear. I just setup the whole network a few days ago. On a clean install of ha on a raspi 4
If a want to restore the zigbee network on lets say a new install or another system which files do I need to backup and restore in order for it to work
This was the error https://paste.ubuntu.com/p/8GJw52VKQK/
Yea like 3 or 4 weekends ago
He wasnโt even actively using zha it was a remnant from the past.
Do I only need the zigbee.db to backup
I read there are things stored on the stick. So if the stick fails there is no way to restore the network?
Hello Friends, i hava a question.. ik use Raspbee with Hass.io but Deconz still says no FW available
Just jank the stick out of the config and flash it manually first shutdown home assistant ๐
Yes, the stick stores your network settings and the zigbee.db stores information about devices on the network
when i used it in Raspbian it will work
So with the stick and de db file I can restore it on another system
I think just copying the /config/ folder and moving the stick should be enough, as that contains your zigbee DB, the HA DB, and the rest of your config.
Ok thanks. Hope I don't need to do so but just good to know
@native quiver I never managed to flash the stick from within the software. There were 10 new versions but deconz /phoscon keep saying no newer version
i updated to the latest version
Eventually I flashed the stick manually
And a few days later when I got a warning on deconz discord I janken the damn thing out of my config and setup zha. Just like that. I think I'll burn the damn conbee 2 stick just for fun
is use now deCONZ_RaspBeeII_0x26690700.bin.GCF
I think that's the latest
yes and its stil work in raspbiab
raspbian
do i need to change my config.txt in hass.io?
Hope your not asking me... I have no idea what I'm talking about 99% of the time
haha ok thanx
But everything is working for you? Everything reacts fast and all the time? If not according to the people from deconz it can't be something else then interference
So when deconz or conbee2 isn't working, you need a longer usb cord thats what I learned on their discord ๐คฏ
yes everything works great, only the raspbee
i used raspbee nog the conbee ๐
and just i fucked op my config.txt so i restore hass.io and restoring a backup
didnt boot any more
Can't help with that though..
no problem thank you!
Been reading some stuff about thread. It sounds promising I guess
A zigbee alternative over wifi
FFS, i'm losing my biscuits xD I'm trying to get this doorbell sensor to work with ZHA, anyone here who has an idea? ๐
https://zigbee.blakadder.com/Lidl_HG06668.html
https://github.com/zigpy/zha-device-handlers/issues/759
I see that it's not officially supported, but it registers as binary_sensor in ZHA, furthermore, once the bell is pressed the binary sensor gets set to open, and it won't close unless its reset...
this is a few months old but just in case you or someone else comes across it later - there are different thicknesses of CR2450s out there. SmartThings-branded hardware requires a Panasonic or similar 'thicker' CR2450, and I imagine that your button isn't making proper contact with the battery until you press. I doubt that it's due to the Varta battery reading slightly above 3V, 3.2V should be just fine.
yeah its lidl/silvercrest/tuya whitelabel bs ๐
But it was cheap simple to install (physically)
Cheap to install, expensive to deal with since Tuya is even worse than Xiaomi in some ways...
what ways?
Not following the spec, since their device should not need a quirk to work
Someone just has to implement support for it
Hello community - I would like to ask for some advice / guidance. I am building a new house and have up to 58 downlights. I want to make use of Phillips Hue ambient lighting so I can make use of cicada rythum wherby the light temp changes based on sunrise / sunset. Warm at night and cool in the day. I have this working now on 6 lights but I am in a rental. I believe I am going to need at least 2 x Hue Hubs. I plan to do all automation via Home Assistant which I am also using now. Can anyone who may already have a similar setup provide some of pitfalls that have come across and or suggestions.
This was a good read for me - https://www.smarthomepoint.com/hue-bridge-50-bulb-limit/
Hi, I need zigbee 24V digital input module. Outputs no need. What you could offer?
I think the hard limit on a Hue hub is 63 lights (don't quote me on that though).
I threw my Hue Hub away and now just use the ZHA integration (with a "ZZH!" stick now) and all my Hue + IKEA lights.
Some alternatives are zigbee2mqtt (or deCONZ..) -> look through the pinned messages of this channel.
The Zigbee stick and Home Assistant (and whatever Zigbee integration (ZHA/zigbee2mqtt) you're using completely replace the Hue Bridge. If you get a proper Zigbee stick, they can work with much more than 60 lights.
Currently doesn't work with Hue Entertainment though but since I'm not using that, it wasn't a big deal for me
I have heard alot about the DECONZ USB stick I would prefer only one HUB to make things easier but my worry is the limit of endpoints. With switches I could end up close to 70
Yeah. Also, don't use the deCONZ / Conbee stick
Some people have reported issues with it
Ahh lucky then ๐
I have flashed a Sonof Zigbee and using the ZHA integration but that is limited to 32 endpoints
The Sonoff Zigbee bridge isn't stable when the WiFi drops out, but should work well otherwise.
Where have you read that it's limited to 32 endpoints?
Maybe that was referring to directly connected children to the bridge.
Will get the link - hang on
Any Hue/Zigbee bulb should accept another 16 - 32 children
Sonoff Zigbee Bridge Limit - https://www.itead.cc/sonoff-zbbridge.html
It maximizes efficiency for up to 32 connected sub-devices which are ZigBee-based switches, plugs and security sensors.
All Hue bulbs are (Zigbee) routers which connect to each other and relay ("repeat) messages. The Hue Bridge (or in this case, the Zigbee stick) never connects to all bulbs at once. Maybe to like 20 bulbs (if that many are even in reach) and the dimmers (end-devices/battery devices connect to one router (bulb) or the bridge/Zigbee stick (coordinator) directly)
I think that only means that 32 dimmers could be directly connected to the bridge.
If you add at least one bulb, this should accept another 8 to 32 end devices and more bulbs (not sure on the exact numbers)
It was my understanding that the Bridge / Hub is what manages the addressing to all bulbs. Which is why the HUE hub has a hard fixed limit of 64 devices. If you get to this number though they say you can quite frequently get issues where some lights don't respond to commands.
Yeah, the Hue Bridge (from 2015) is weak
I think that even the Sonoff Bridge should work better
Also, here's a nice writeup on how Zigbee works: https://linkdhome.com/articles/what-is-zigbee-guide (from: #zigbee-archived message)
This was a good read too - https://www.silabs.com/documents/public/user-guides/ug103-02-fundamentals-zigbee.pdf
Yeah here it is - The Coordinator type is the central coordination point of a given Zigbee network. Itโs typically the device the creates the network in the first place, and stores all the security keys. This will usually be a hub, bridge, or smart home controller of some kind.
This is why I am looking to find a device I can use a single unit for all of the Zigbee units
Yep, the "ZZH! Zigbee stick" can do that. The Elelabs adapter also works nice with Home Assistant's ZHA integration
Oh going to look at that one
There are also nice (ethernet) coordinators here: https://www.tubeszb.com/shop/coordinators/2
Starting with "CC" is always Texas Instruments and they work well with both Z2M (zigbee2mqtt) and ZHA.
Currently, all EZSP (EFR..) chips from SiliconLabs are a bit more stable with ZHA.
Yeah the EZSP is how the ZHA is working with the Sonoff Flashed Zigbee Wifi Bridge
Yep. The Sonoff bridge is sometimes unstable though (although I've never used one but that's what most people report)
Hard-wired is always better than WiFi
Yeah agreed - Do you know what the limit is on the ZZH?
There isn't really a hard limit
I have 89 devices on my network right now and it works fine. (Most of them are bulbs)
Only 25 bulbs/smart plugs are directly connected to the stick
Oh that's the info I wanted to know ๐ - You're awesome.
Everything else is connected through a router (bulb/smart plug)
Can you give me the link where you got yours from?
If you're in the US, this is a coordinator with a similar chip: https://www.tubeszb.com/product/usb_coord/11?cp=true&sa=false&sbp=false&q=false&category_id=2
Yes. I've got some of the RWL021 (the older, glossy plastic ones) and the much nicer, newer ones
Both work fine
That's fantastic to know.
They can be directly "bound" to a bulb (although there are currently issues with that) but I just use them with Home Assistant blueprints (or automations if I wanna control something else with them)
Yeah that's what I am using now too.
That does mean that Home Assistant needs to be up in order for the dimmers to work. For me, that hasn't been a problem though
(When using Hue dimmers with the Hue bridge, the Hue bridge also needs to be online (even if they control a light))
Yeah neither me - I have my Home Assistant running on a dedicated NUC
@mellow geode was that you?
Haha, yes
merci
cool. hopefully shipping isn't too long.
Yeah, never bought anything from the US I think
I swtiched over to a shipping program where I send stuff to a place in the US, they then retag it for international delivery, it cuts the cost by a decent bit. but adds at least a few days. luckily the place is In NY and I'm less than 2 hours away.
Nice! I don't really need it in the near future but when it arrives, I (finally) have a spare (ZZH/) Ti coordinator and can use yours for my main network.
I'm sitting here flashing cc2652 Ethernet bridges 2 at a time, and wondering why one fails to work following each time...
turns out I was flashing the router image ๐คฆโโ๏ธ
Haha nice
thanks again, appreciate it.
I'll have some of the MGM12 modules which have the 256k ram soon, to bring back my "PRO" efr32 boards.
Also thought about getting the current Silabs ones but I think migrating from TI to Silabs isn't really supported yet
Might think again when you get the better "Pro" boards maybe (and when the open-coordinator-backup is "done" and I'm ready to take down my Zigbee network lol)
I think all the data is in the backup, just takes some manual translating but you know who knows the answer to that.
Yeah, puddly already made the script which I used for the Silabs (Eleabs stick) -> TI migration
Yeah it's just renaming some JSON keys now with the new backup stuff, nothing crazy like before
Gotta make a PR so bellows uses the same format
Guess I'll just switch to a Conbee jk
(which also probably can't be backuped/restored)
gotta get support for the Nordic sticks going ๐คฃ
Someone new is maybe working on it
yea. I have responsibility for docs now and it's a struggle to stay on top
It's a lot easier when you don't start
I just take cut and paste from answering questions/issues and then add it my docs
Your docs are really nice though
thanks. need to add a video walk through of the cc2652 fw like I did for the efr32.
and do one for the router eventually.
(Minor thing: https://github.com/tube0013/tube_gateways/tree/main/tube_zb_gw_efr32/Frimware -> "Frimware")
trying to get up the nerve to do another FB post, but it's a different world over there.๐
fixed
After the 2021.4 update, my phillips dimmer switch doesn't show the buttons anymore and all my automations involving it are broken. It's connected with a zigbee usb and i've tried repairing it and restarting to no avail
https://github.com/zigpy/zha-device-handlers/pull/837 will fix this
Are you running on Home Assistant OS?
Yes, ill check that out
I have the exact same issue!
I'll update the instructions to be more clear
currentry trying the method julien recommended
Thanks! I'm on core, btw. Don't know if that is relevant to apply the patch
Yeah, one second
yeah this is way over my head
I updated the instructions, if you wanna try. (Starts at the bottom -- with the big headline)
I think that using a blueprint (which makes use of zha_event instead of the device automation triggers) should also work as a workaround.
I'm trying to copy the new quirk over but when I run the command it behaves like it worked, but doesn't actually copy the file. One sec I'll show you the command
cp -a /config/rwlfirstgen.py /usr/local/lib/python3.8/site-packages/zhaquirks/phillips
The quirk is in my config directory of course
If you do a ls /usr/local/lib/python3.8/site-packages/zhaquirks/philips, the rwlfirstgen.py file doesn't show up?
Oh, I think it's also phillips -> philips
Yup just a spelling error, that fixed it. Sorry v tired
Restarting right now, will let you know
Done, mine works great. Thanks!
Nice!
I added the quirk and deleted the cache, but now all of my zigbee devices aren't working and the integration gives me error messages
Upload the log output (error messages) to https://paste.ubuntu.com/ and send the link of the paste here.
Note: This "temporary fix" might get wiped when upgrading to a new Home Assistant version (until the fix makes it into one of the next releases). So either don't update for now (if any updates become available that do not mention a new "zha-device-handlers"/"zha quirks" release in the release notes) (although you're on Home Assistant Core anyways, so it might be different for you) or be ready to copy the file again.
Make sure that if you have a deps or .deps folder in your Home Assistant /config directory that it's empty (or doesn't exist at all).
And this issue didn't occur before only copying the single file?
The folder exists but it's empty. And yes this issue didn't happen until I installed the quirk
Before I went to Discord, I put in pip install zha-quirks==0.0.38
Was already wondering lol
Any idea how to uninstall it? lol
Try to do pip install zha-quirks==0.0.55 (in the homeassistant container where you also issued the other pip command) and then copy the file again
Or rebuild the container (ha core rebuild when on the HassOS machine: core rebuild (not in the docker container where you copied the file or did the pip install thing) and then copy the file again in the homeassistant docker container
Ok I'm rebuilding. I will try the quirk in the AM, thank you for your help!
Hopefully it works then
Trying to sort out my tradfri remote and tradfri bulb connected direct to HA. I can change color temp via HA interface, but I can't create an automation for the remote to change color temp...
Using zha
When i look at the device options in the automation I only have options to dim and brighten, on, off, and flash... should there be color temp adjustment options?
You'll need to use a service call: light.turn_on in the automations editor.
There, you should be able to change the color temperature
Ok, will try.
@mellow geode I got impatient and tried again without installing that thing like an idiot, and it works now!
Hopefully the fix makes it into Home Assistant soon. For now, just don't update I guess (if there are any new Home Assistant versions which are not mentioning an update of zha-quirks/zha-device-handlers) (or you might need to copy the file over again)
So I have an effect value, but there's nothing for me to select, and using a percentage offset does nothing.
I have lots of options for brightness but not color temp
Not sure what you mean by having an "effect value" but atm, only a fixed color temperature can be set using the light.turn_on service call. I'd think you need to check on what color temperature your light is using a template and then add/decrease accordingly.
Oh huh
When I go into the Home Assistant automations editor (under Actions), I can do the following:
(It's in German but I've basically selected "Action type": "Service call" and as a service: "Light: Turn on")
Below that, I can select the entity I want to change and even further down, the color temperature can be set.
I just bought a house and I want to replace all the lights in the house with color temp changing bulbs(rgb is a bonus, but I don't really care) I saw philips hue and sengled are both zigbee does anyone have any advice?
Looking at probably 40-60 bulbs
I also want to make sure there are no comparability issues down the road,
In my experience, the new Hue lights (the ones with Bluetooth feature a newer chipset) are ok (although maybe a bit expensive).
Currently, IKEA lights might crash after some time (and need a power cycle). IKEA devs have been silent about this but they could issue firmware upgrades to fix this (at some point).
I would also recommend going with Home Assistant's ZHA integration or zigbee2mqtt (Z2M) (rather than a Hue Bridge) -> see the pinned messages of this channel
Sengleds are end devices which is stupid if you have many lights. (Meaning they don't act as router/repeaters but similar to a battery powered device in regards to how they are connected to other Zigbee devices)
Also, all your Zigbee lights always need mains power. You should not cut their power by a standard switch.
This means that you'll need to put a battery powered switch or a normal switch connected to a Shelly for example that then send the press signal to Home Assistant to turn on/off the light.
This will also mean that if Home Assistant is down -> you can't control your lights. (Some battery powered switches can be directly bound to Zigbee bulbs but I can't think of any good looking ones right now)
Oh god, I didn't know that... That sounds like alot of work
Pitterplatter That's a lot. 40-60 bulbs at even $20 per is prohibitively expensive for most. Smart switches may be better
Smart switches are definitely way easier (but not as cool as Zigbee bulbs -- at least as long Home Assistant is up)
Yeah, that is alot ... Maybe Ill just do the most used room in the house cutting it down to 20ish
Does home assistant go down often?
Well, if you never update it, no
Updating is usual only a couple of minutes of downtime but it's still a few minutes where lights don't work
Luckily no Home Assistant update broke the control of my lights (yet)
I'd really really like to be able to adjust color temperature if possible... But if it gonna cost me 30$ a bulb then definitely not doing that
What other options should I consider with zigbee bulbs?
It really depends on the brand. Ikea is cheap, but as I'm finding its kinda buggy
Yeah, by the sounds of it I'd like to avoid them
Wifi is cheaper, but you better have a good or separate network
Yeah, that could be an issue
what do you do if this happens?
bulb is LEDVANCE AC25697 - zigbee2mqtt OTA available, when try to update:
Update failed (File checksum validation failed)
I have had amazing success with gledopto. They are brighter cheaper and fully support RGB-CCT. Have used well over 100 bulbs from them across 3 different installations. The 12 watt E27/26 has huge output for white 900-1100 lumens. It is physically bigger bulb but works beautifully in pendants. Also used the gu10s. Gu10s make sure to get the narrow beam versions and do lux calc. They are not the brightest but still way better than Ikea. Build quality is better than ikea.
@edgy minnow any link?
i bought direct from manufacturer. http://www.gledopto.com/ VERY IMPORTANT make sure you order from the PRO line. These products are all zigbee 3.0 certified. The only downside with these bulbs is lack of firmware updates. But then they seem to build exactly to zigbee standard and dont try to put proprietary crap in their firmware like hue/ikea etc.
http://www.gledopto.com/ works for me just checked on another device
Use them with ZHA, prior to ZHA tested them on hue hub and ikea hub. I replaced all my ikea bulbs with them and gifted ikea bulbs to a buddy. I hate that you cannot control white colour temperature in HA on ikea bulbs. Ikea bulbs are not true RGB-CCT bulbs. They only support RGBW. Word of warning if you put gledopto bulbs in mix with ikea you will really hate ikea very quickly if you want to do simple things like set white colour temperature for different times of day.
You can actually get firmware updates for the Pro series from GLEDOPTO. You might need to change zigpy code in order to apply them, as multiple different images have the same image_id and manufacture_code and device might "request" something totally different. There are also multiple hardware images with completely different version formatting. They also use EmberZNet 6.7.7 and thus arenโt affected by the crashing bug (but by the message corruption leading to Nwk changes bug)
The newer IKEA color bulbs (currently only the GU10 color is released) support proper control
It (Ikea gu10 CWS) has the annoying high pitching noise problem still?
You would think Ikea would have got their product better organised by now? Glad to see they are brining new product though. The more players in the space the better for us consumers!
@desert cloak none of my 16 or so have ever had that
Puddly If I may ask you one more question.. what if my zigbee stick fails. Is there a way to get the old network data in the new stick without having to set everything up again? With using zha that is
You just replace the stick
For z2m it would have to be the same chipset and firmware preferably
Guessing somewhat same rules on zha
You can also back up the stick
See https://github.com/zigpy/zigpy/wiki/Coordinator-Backup-and-Migration for how to back up, restore, migrate, and factory reset EZSP and TI (ZNP) based coordinators.
Tried that one when upgrading the firmware, worked without a problem. It gave errors, but still worked.. ๐
Z2M does that automatically regularly doesn't it ? @sour shadow
Well, sort of, but not fully
Yeah, somewhat ๐คฃ
That works for Z2M if you want to move from a CC253x to a newer stick
Or even the other way around 
hmm I'm getting a 502 bad gateway intermittently. Anyone knows what the reason is?
on what ?
Sorry, haha sitting in a meeting so forgot to mention what I'm talking about ๐
Zigbee2mqtt
Never seen that
can be a lot of reasons
ok, another thing then. When I actually do get access to zigbee2mqtt I press "allow all" and it doesn't work I just get a error response saying it expected 0x00.
never seen that either, I do "allow all" atleast once a week at this point
how are you running zigbee2mqtt ?
Then you have trafik or whatever HAOS uses in between, no idea what that does
to debug either #add-ons-archived or #330990055533576204 then
I think it broke when I updated yesterday actually.
I successfully bind a hue dimmer switch to a light group yesterday. So even when ha is down these lights will still go on and off
Can't seem to get the Aqara switches to work like that
Maybe I'm missing something though
And by the way it almost feels like the lights are going on before I press the button so lightning fast it is. This shows how much delay the network and ha has over a direct connection
Hello all
Does somebody know haw to change the config.txt file for the zigbee raspbee ?
@native quiver Yes, go to file editor (install if you haven't), click on zigbee2mqtt if that's what you are using, inside there you should have the .yaml file
Lucky you. Bought 8 of which 5 had this problem, returned and stayed with Gledoptos. Have you tried to change them coolest white with the highest brightness, that seems to trigger the loudest noise with defected bulbs.
I've tried on my bulbs but can't provoke it
12 of mine are outdoor
So I wouldn't care either way
Can i move the Zigbee-database etc to a new HA installation without having to repair everything? Running Conbee and ZHA.
yes
Great! So what else do i have to do besides just move the zigbee.db file?
The easiest way is to create a full snapshot and just load that snapshot in the new installation
Snapshots 
We do not
What's wrong with the snapshot system?
I cant use it on the docker?
It only exists in #330944238910963714 and #330990055533576204
Didn't know. Personally running the OS on a Pi. What's wrong with the OS? Read people meme it
then you should just backup the zigbee DB
I prefer my system not a locked down appliance that auto updates and tells me what versions of software I can run or not 
I think its fairly neat for a quick stress free installation on a Pi. In which well does it force you to run a certain version of a software. Are you talking about the software on a system level like the kernel?
Bought 2 Aqara lamps. appears they don't work without a HUB :/ snif
The supervisor, the os, the add-ons the scadoodle
Developers of add-ons dictate the versions of software
Seems like a good point. On what hardware are you running your system on?
Im getting this error/warning in the log
2021-04-09 08:35:59 WARNING (MainThread) [bellows.zigbee.application] Found 00:17:88:01:06:26:9f:e8 device for 0x2767 NWK conflict: Philips LTC001```
is this something to worry about?
@novel crown currently flipping back and forth between a mini itx (4c/12g/SSD) and a r510 (24c/128g/SSD) using docker, some external services on each of them plus zigbee2mqtt running on a raspberry pi ๐คข
The device should rejoin on its own. Itโs only a problem if the device doesnโt work after that
https://github.com/zigpy/zigpy-znp/blob/dev/TOOLS.md#backup-and-restore are the current backup instructions for TI radios. The stuff in the zigpy wiki isn't complete and only shows how to do an NVRAM backup, not the network backup for coordinator migrations.
@austere patio you said something about being able to flash the stick without a programmer if it has a bootloader? Can't find a method for this
I'm really having a rough time with Zigbee (via ZHA) since the updates this week. I re-added the devices, but they drop off a lot. A temperature sensor is not updating frequently at all, and the coordinator (a HUSBZB-1) shows "offline" in the ZHA visualization.
My Z-Wave stuff (on the same stick) is working fine. And it's not a range issue. The stick has a clear shot at the first device, and everything else is within range of that device or the stick itself.
I've been reloading/restarting/rebooting with no luck. I'm about to remove the ZHA integration and start over again. Any suggestions?
Just an update. Got a 6ft usb 2.0 extension cable and i am still having the CRC error in frame come in about every minute or so.
Struggling with that to. Don't know what's going on.
What integration are you using?
@molten linden I got your awesome router about 3 weeks ago and it works great. I had to revert back to an older snapshot in HA (wo router) and now I am trying to discover the device and been unable to for 3 hours. Suggestions ? Thank You
pop the top off and hit the BSL button a single time to reset it and put it into pairing mode. have ZHA or Z2M permitting joins when you do it.
๐ค
@austere patio Zigbee Home Automation with zigbee2mqtt
or rather, tried both is what I'm trying to say
I think I need to revert. Everything got worse after the update yesterday.
It worked .... thank you so much
I think HA OS is the piece of software that has created the most frustration for me ever
Not even following guides make sense. The guide tell me to do stuff on things that do not exist with zero explanation on why.
I can't even SSH and take control. Heck I can't even configure wifi without flashing a USB.
Long live #449717345808547842
I had container but apparently I can't use add-ons. HA is super confusing.
Damn zigbee usb works now and I have no idea why. This thing ruined my Friday.
Alright at this point I'm 2 USB extensions in with the zigbee stick 12ft away from the 3.0 port and i am still getting the CRC error in frame messages.
This HAS to be a hardware issue with the stick? I even tried a new HA instances in proxmox with 0 other integrations.
I'm a little green on all this stuff. How would I do that? I set up ZHA through the GUI not the config
baud rates? with usb? what sticks are you using?
HUSBZB-1
I have 4 USB 3.0 ports only. I've tried 2 with a 12ft extension lol. I'll try the other two. I think it might just be a bad stick. The weird thing is that it Z wave works perfectly and zigbee works okay and just randomly crashes when too many event triggers happen
use a usb2 hub
We have many reports of issues with promox
Cut that out to validate if it is promox or hardware
Will try that next. Thanks for all the suggestions! I'll install HA OS on a clean drive.
Quick question, do i need to remove the zigbee integration in my current HA before I test it in the new install or should it work okay if I just turn it off and move it over?
If you move all of the files it should work
Anyone knows how I can get the IEEE id of a device in a blueprint using ZHA?
FINALLY got HA up and running in virtual box and still the same issue. I'd say this is a hardware problem.
As a last resort, maybe try upgrading the firmware on it? https://github.com/walthowd/husbzb-firmware
Was just trying that but was having a hard time since the firmware files are in python 2.
Yeah, you'll need Python 2.7 to run the script. May be easier to use the Docker image.
Everything the supervisor does you can do yourself with containers, and you have full control
got a cc2531 stick has a max of 25 devices ? got 3 bulbs now and does this extend the number of devices.
and some wireless switches, they have binding setting , is this to operate something I bind independently from HA ?
Sure, but it still one of the worst possible coordinator you can have
You are guaranteed to have lockups
have it for 4 months now no troubles yet ๐
With three bulbs and a few sensors? Probably not yet
Cc2652, cc1352p2 etc
2652 more transmitting power
@jolly narwhal I will switch eventually. I'm just so tired of switching back and fourth all the time. Switched to HA OS out of frustration the other day but now I have a raspberry that is only usable for HA which sucks.
Yes, which is one of the reasons why I ran HAOS for roughly 3 days
The annoying this is that out of spite I just wiped my RPI with all my other homebridge settings
Btw which Zigbee gateway/USB is the most stable? Like virtually zero problems. No matter the price.
This is horrible, getting "502 bad gateway" from several add-ons. And I'm running HA OS to get rid of problems. Instead I've got new problems I've never seen before.
@jolly narwhal That's it! I'm taking your advice and changing back to container. This is horribly angering. Turning into a bitter man.
@fickle elbow posted a code wall, it is moved here --> https://paste.ubuntu.com/p/p4xTqzWmgF/
Hi guys, I am getting spammed with "[zigpy_deconz.api] No response to 'Command.aps_data_indication' command with seq id '0x77'" after adding all my hue bulbs directly to zha with a Conbee II. Can anyone point me in a direction on how to better identify the issue. I have enabled debug logging, but don't want to spam if its not valuable.
I am no expert on that matter but I believe that's a sign of a bad link quality between the bridge and your hue bulbs. You can see it as simple packet loss that occures and eats up a certain zigbee command
That is what I was assuming. I am just unsure how to identify the device that is dropping packets.
Can I identfy a device somehow from:
2021-04-10 11:24:46 DEBUG (MainThread) [zigpy_deconz.api] Request id: 0x77 'aps_data_confirm' for <DeconzAddressEndpoint address_mode=ADDRESS_MODE.NWK address=0x4120 endpoint=11>, status: 0x00
2021-04-10 11:24:46 DEBUG (MainThread) [zigpy_deconz.api] Device state changed response: [<DeviceState.128|APSDE_DATA_REQUEST_SLOTS_AVAILABLE|APSDE_DATA_INDICATION|2: 170>, 0]
Yeah. It seems to match the NWK on the Device / visualization. Not optimal with 75 devices, but doable.
Unfortunately it doesn't seem to be the same device for the various warnings
I am using ZHA, with the ConBee
You can see the link quality of the devices in the network virtualization map in the ZHA integration. That should give you a good indication which device could have a poor link quality
The two devices I have identified are literally the two devices closest to the ConBee.
I actually just moved it away before migrating the bulbs.
Hmm, I do get the same warning from time to time but for me the devices still work. Same for you?
But could be both an issue with wireless noise. The ConBee is in a closet with all sorts of equipment.
Ill try a usb extender for the Conbee to get it away from the other stuff and see what happens. Thank you so much for the help so far!
USB-Extender should help quite much.
and obviously if you can, set up the zigbee and wireless channels to not interfere
and I have quite a good results with the ikea tradfari extender.
Ironically it seems to be the devices right next to the ConBee having issues.
How do I see my current ZigBee channel if I didnt change it?
it should use the default ones descriped in the zha documentation
Thanks. Time to find some cables. ๐ Again, thanks for the help.
You're welcome! We are all sitting in the same boat of zigbee chaos ๐
Can I somehow expose a cluster attribute as an entity in zha?
Could someone try to make me understand 'groups' and 'clusters' or point me to an easy to follow disclaimer.
For example, I have two blinds (IKEA Trรฅdfri), I want to be able to control them as one, without calling them separate from HA. I also would like the button (included remote) to work directly without triggering an automation in HA (as I have now, since I have a habbit of breaking things). ZHA with ConBeeII btw.
I have a 'funny' issue, the battery status of my custom zigbee sensor is not shown in HA (ZHA)
but through manage clusters i can query the size, voltage and percentage etc
#zigbee-archived #330944238910963714
@quasi badger
I am using sonoff wifi zigbee bridge flashed with #Tasmota with ZHA in Homeassistant, i am having issue in the sonoff wireless switch is showing battery identity only
I am not sure if there is a way to make it work and use the actions
I need some help here
@jolly narwhal Your zigbee2mqtt does not show in the HA container UI after install right? You do everything from the CLI?
Unless you activate it of course
i got some odd zigbee phenomenon lol, I cant find my r2652RB using
ls -l /dev/serial/by-id but the laptop does see it show up in dmesg ```[ 1182.072863] usb 2-3: new full-speed USB device number 3 using xhci_hcd
[ 1182.223076] usb 2-3: New USB device found, idVendor=10c4, idProduct=ea60, bcdDevice= 1.00
[ 1182.223084] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1182.223089] usb 2-3: Product: slae.sh cc2652rb stick - slaesh's iot stuff
[ 1182.223092] usb 2-3: Manufacturer: Silicon Labs
[ 1182.223096] usb 2-3: SerialNumber: [ 1182.072863] usb 2-3: new full-speed USB device number 3 using xhci_hcd
[ 1182.223076] usb 2-3: New USB device found, idVendor=10c4, idProduct=ea60, bcdDevice= 1.00
[ 1182.223084] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1182.223089] usb 2-3: Product: slae.sh cc2652rb stick - slaesh's iot stuff
[ 1182.223092] usb 2-3: Manufacturer: Silicon Labs
[ 1182.223096] usb 2-3: SerialNumber: ```
when usingtest -w /dev/serial/by-id/usb-Silicon_Labs_slae.sh_cc2652rb_stick_-_slaesh_s_iot_stuff_00_12_4B_00_21_xx_xx_xx-if00-port0 && echo success || echo failure results in failure
thanks for the tips about docker and sshfs btw, those worked out nicely now
Updated to 6.7.8 and still the same issue. I got a headache from this lol. I'll see if amazon can partially refund me so i can put that into a better zigbee stick. HUSBZB is great for zwave so far.
I recently moved from a HUSBZB-1 to a Conbee2. I deleted the old ZHA integration and started with Deocnz, eventually deleted that and went back to ZHA. After re-pairing devices all of them show up and I can use them, but there are "ghost" devices under them and they all say "Disabled by config entry". Is this normal??
And under my ZHA config i still see Deconz and the old coordinator... Seems like I didn't go about changing from one controller to another the correct way but don't know what the correct way is...
@stone halo ls -lla /dev/serial/by-id/
"doesnt exist"
I have just moved from rpi3 to rpi4. Using a snapshot to bootstrap the setup. I have access to the buildroot system and have also made the changes to the boot config. Anyone know how to install the wiringpi and the pizigate test on the buildroot system?
Then ls -lla /dev/ | grep ttyA @stone halo
should that reply, no reply in there
how long does a device stay in Long Poll Interval mode?
windows sees the comport fine...
also flashed ```./cc2538-bsl.py -p COM3 -evw "D:\downloads\cc2538-bsl-master\CC2652RB_coordinator_20210120.hex"
Nothing changed
[ 4902.946247] usb 2-3: New USB device found, idVendor=10c4, idProduct=ea60, bcdDevice= 1.00
[ 4902.946257] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4902.946263] usb 2-3: Product: slae.sh cc2652rb stick - slaesh's iot stuff
[ 4902.946268] usb 2-3: Manufacturer: Silicon Labs
[ 4902.946280] usb 2-3: SerialNumber: 00_12_4B_00_21_4F_43_A9
[ 4902.948022] cp210x 2-3:1.0: cp210x converter detected
[ 4902.949950] usb 2-3: cp210x converter now attached to ttyUSB0
[ 4904.263227] usb 2-3: usbfs: interface 0 claimed by cp210x while 'brltty' sets config #1
[ 4904.264116] cp210x ttyUSB0: cp210x converter now disconnected from ttyUSB0
[ 4904.264204] cp210x 2-3:1.0: device disconnected
[ 4936.814809] br-58e29fa26ff6: port 2(veth654a569) entered blocking state
[ 4936.814818] br-58e29fa26ff6: port 2(veth654a569) entered disabled state
It is there now atleast
it has been..
ls -lla /dev/ttyUSB0
still doesnt exist

*
ls: kan geen toegang krijgen tot '/dev/ttyUSB*': Bestand of map bestaat niet
root@laptopserver:/home/diede# ```
lmao, my danfoss ally can read my mind if I want to open the windows. It has a status for it: "0x02: Hold ,Windows are maybe about to open"
My dutch is not that good
Can't access /dev/ttyUSB": File or Folder does not exist
What devices do you else have in /dev/tty*? I assume it will have a different name then ttyUSB
none
my bad
tty till tty63
Those are not interesting
this says the ttyusb0 disconnects tho
it worked on a previous debian attempt as ttyusb0
Having all kinds of issues with Zigbee2MQTT - set it all up, paired a socket, paired a switch - all looking good... now cant pair anything
what do the logs say^?
It all works and I can control devices but I enable pairing and just nothing happens when I reset the device
Logs dont say anything
no errors, just that its now allowing pairing...
checked mosquitto mqtt if its working?
This is in zigbee2mqtt so it shouldnt have gotten to mqtt yet right?
[32mZigbee2MQTT:info [39m 2021-04-10 09:51:35: Zigbee: allowing new devices to join.
[32mZigbee2MQTT:info [39m 2021-04-10 09:51:35: MQTT publish: topic 'zigbee2mqtt/bridge/response/permit_join', payload '{"data":{"time":254,"value":true},"status":"ok","transaction":"3s71z-2"}'
With what coordinator @trim ore ?
^ this is all I get from the logs, so it seems to be publishing fine ?
CC2531
Can still control the devices etc though
Yeah, that is going to be terrible over time
Maybe but ive run more than 2 devices on one before so this shouldnt be an issue
Its not like its crashed as its still responding to commands etc
how would one ota update a zigbee device. I have the .ota file of my danfoss here, but I was wondering how does it know which file to take? I assume the filename follows a specific format to identify that file, judging based on that cryptic file name. Do I just issue the cluster command for that device and update?
z2m has a menu for that afaik
using the peasant zha ๐
Moved socket closer to dongle and now it all works
hey guys,
I need some help with pairing my ikea tradfi socket with zha and zzh usb stick.
I push the pinhole 4 times, the white led start to fade in and out.
but doesn't show up at the searching screen
does the dongle work?
yes, currently using with other ikea devices.
well something is happeing now.
I manage to pair them.
I moved them closer to eachother.
These zigbee pairing has some try and fail...
4.151414] usb 1-3: usbfs: interface 0 claimed by cp210x while 'brltty' sets config #1
removing brltty fixed it
Comment out ikea_provider and ledvance_provider and uncomment otau_directory. Drop your file into the folder referenced by that last option and restart HA.
Then either physically reboot your device and wait a few minutes or issue the cluster command to the endpoint of the device that has an OTA cluster
You usually don't need to move things closer (otherwise they'll not work when you move them back). I find with the IKEA outlets you can just unplug it, wait for a few seconds, plug it back in. Permit joins via ZHA and then poke the reset button for like 4-5 seconds. When you stop poking it the relay should click and it will start trying to join a network within like 10-15 seconds.
I have Aqara smart plugs. Yesterday they showed me the energy consumption and voltage. Today I can only see power in the mqtt messages. Difference is, today I introduced an Ikea wall plug to improve my network signal. Anyone know what's going on with the system?
HMMM for some reason z2m only likes reading my advanced: tyyUSB0, adn not my serial by id address
wdym?
You are running zigbee2mqtt in a container?
thanks for th tip.
I have 2 Aqara Buttons right next to each other, that are within 12 inches of a router. I'm having an issue where one Aqara button has an LQI of zero. When I brought both of the buttons to my test bench, and real close to my coordinator, the LQI jumped up.
Z2M, the coordinator is a zzh, and I have 4 CC2531 routers
Here's something from the Map. The two buttons pasha_button and pete_button are both 10 inches from basement_router.
But according to this map, only pasha_button is talking to the basement_router
it looks like pete_button is trying to phone home to the coordinator!
LQI is last-hop, so you're seeing the LQI between the basement router and the coordinator
oh that's what it means, i gotcha
Does that image of the map provide any context that may be useful?
The Aqara button probably won't find a new parent until you re-join it to the network specifically through that router
That is interesting, and also easy enought to take care of! I actually didn't know i could do that, and just assumed that all new devices had to be paired to the coordinator.
Oh no, that is how you run into Aqara issues. You usually want to join new devices to the network where they will end up being
Any router on the network can act as a parent for end-devices, not just the coordinator
This is very good news.
Thanks so much for the tip puddly, and for the migration a couple weeks back - I hope some more folks have gotten away from their CC2531's and onto zzh's!
Z2M will eventually support this on its own so hopefully it'll be plug and play in the near future
Zigbee Anecdote: Currently rocking 2x IKEA Fyrtur blinds on Z2M.
Life is good
Okay last question, what if it's a router you're pairing?
Same thing
Understood. I have no idea why I came to believe they had to be paired right next to the coordinator. Lesson learned
They have to with a cc2531 since they have 2cm range
๐คฃ ๐คฃ ๐คฃ ๐คฃ ๐คฃ ๐คฃ
brb, doing a clean debian first haha

messed something else up
that is fixed now ```devices:
- /dev/serial/by-id/usb-Silicon_Labs_slae.sh_cc2652rb_stick_-_slaesh_s_iot_stuff_00_12_4B_00_21_4F_43_A9-if00-port0```
this is my compose
devices:
- '/dev/serial/by-id/usb-Texas_Instruments_XDS110__03.00.00.13__Embed_with_CMSIS-DAP_L430018T-if00:/dev/ttyACM0'
Orly
Yup
I've never seen that
tho z2m doesnt recognize it as is
It will, if you map it correctly
See what the container see
port:
/dev/serial/by-id/usb-Silicon_Labs_slae.sh_cc2652rb_stick_-_slaesh_s_iot_stuff_00_12_4B_00_21_4F_43_A9-if00-port0
the config
huh Error response from daemon: Container 3a35dbfb9057fdf102ee7e7073809b396a1fbe141cb661f582bc3aa08292cd9f is restarting, wait until the container is running
So it doesn't even start
bcuz of the dongle
docker logs <name>
And check Z2M's own logs
And share your entire compose file
@stone halo posted a code wall, it is moved here --> https://paste.ubuntu.com/p/wJFwZWYhYK/
@stone halo Rule #6: Spam will not be tolerated, including but not limited to: self-promotion, flooding, text walls (longer than 15 lines) and unapproved bots.
Please take the time now to review all of the rules and references in #rules.
For sharing code or logs use https://paste.ubuntu.com/.
You've been here long enough to know better
oops
been ehre long enough, never posted code my bad
@stone halo When using Discord's new Reply feature it defaults to pinging the person you reply to, which can get frustrating for the target. Click @ ON to @ OFF to stop this - on the right side of the compose bar.
Probably enclose your path in ' '
And now you get to re-read the rules to see what else you forgot
it keeps defaulding on here
you are right...
Did you simply restart or did you up Z2M after you changed the container config?
its was my first start
what path?
but i up it
Dont get me wrong it seems to work fine when using ttyusb0, but i was recommended not to do so
The path to the device
its not, that just the error message..
ooh
i misread that
nah that doesnt work
Did you recreate the container?
ill try it once more
what about yours configuration.yaml?
https://hatebin.com/psnstylgfu @stone halo
oddd, thanks though!
Does anyone know of a way to set up a new coordinator for ZHA? I just can't seem to find how to get ZHA to look at a new coordinator path.
As I'll be moving to a Proxmox environment soon, I want to move from my current RaspBee shield to a ConBee stick before I actually move over.
You can edit the path in .storage/core.config_entries. I'd back up the file first, in case you break it.
Awesome. I'll have a go at that one. Cheers mate!
Your network would also probably not survive
Unless there's a way to copy coordinator data with the *bee adapters
I think there may be with deCONZ?
If only I had been smart enough to use that from the start.
So, I'll probably be ending up repairing all devices, is what I take from it?
It looks like you may be able to use the Phoscon App to move the network data to the new stick
But deCONZ works differently and stores a lot more about the network in its internal database so I'm not too sure, I would ask either in their discord or see if someone else has done this
Worst case scenario I'm spending next weekend, probably, re-pairing all devices. ZHA does store a lot in a DB, but I'm not sure if that's the full network data or just some information on the devices.
It's only device info
Oh well, that should keep me busy.
The RPi served me well, until now. I'm starting to see that states aren't being properly updated. So I'm moving to something a bit quicker. The ZHA part is my only concern, as that's what makes up for most of my home right now ๐
It looks like you should be able to perform a network-level backup within deCONZ and restore it. Maybe try setting up deCONZ with the raspbee, do a backup, and restore it to the conbee before moving it over? Worst case scenario is having to re-join everything.
Hello, with the addon, I don't think it is possible. I success use deconz with alexa using portainer with the official deconz docker and put it on host network.
Is there any special args or other attributes that I have to issue with that command?
I tried this: https://paste.ubuntu.com/p/mSxdPZTcMY/ but afaik it didn't work on the device.
nvm it did actually work like that
Why are most values N/A all of a sudden on my Aqara smart plugs? Only power and lqi is showing. How can I troubleshoot this?
You could use phoscon to backup the current stick and restore information on the new one. But for zha, you may need to copy the ieee address of the old coordinator too. Try without it 1st. Make sure to copy zigbee.db too
hey, I'm still having a lot of trouble keeping Zigbee devices responsive on my setup. running ZHA with the HUSBZB-1 stick. at least once a day everything becomes unavailable. is there anything I should be looking for in the logs? I'm a fairly new user, and it hasn't always been this unreliable, only in the last week or so. I'd appreciate any tips.
Did you also check dmesg? And did you update the firmware on the stick?
I would start by enabling debug logging so you can see what's actually happening when everything becomes unavailable: https://www.home-assistant.io/integrations/zha/#debug-logging
Thank you for the suggestion, and especially for the link! I'll try this to get some more insight.
Hmm... I'm not really familiar yet with any command line stuff, so I haven't checked dmesg. I'm looking now at how to update the firmware, which also seems pretty command line heavy, so I'll have to find some really good instructions that a novice like me would understand. My Z-wave stuff is (mostly) working now - could updating the firmware jeopardize that?
No real reason to pop in here other than to say thanks @molten linden for making the Coordinator I am using and its amaaaazing. Well worth the monies. I have had zero downtime in the last 2 weeks. The. Best. Thanks again.
Can zigbee bulbs be configured such that when powered on they don't automatically turn on?
Yesterday I upgraded from 2021.3.4 to 2021.4.3 I am getting the following error. I am getting Component error: zha - cannot import name 'setup' from 'zhaquirks' (/config/deps/lib/python3.8/site-packages/zhaquirks/init.py)
I did some googling and did not find a straightforward answer
Any ideas? ๐
If that bulb supports it, yes
Where would I find that config if it supports it?
It's more of a hardware/manufacturer option
Okay so it's not "soft" configurable through HA then?
If the hardware exposes the option you may be able to set it.
I think that's my question, assuming it's exposed, I'd set it where in HA?
Lemme check my hue bulb...
tyvm
So, I couldn't find the option, but I suspect it may be under clusters...
Try Devices -> bulb, then manage clusters.
Okay thank you
Those will be device specific. For hue, I set it in the hue app via BT, before integraring
I'll need to read about clusters, never heard of them before.
Zigbee2MQTT exposes it in the device config, and it's in the mentioned in their docs if the device supports it
O.o
I'm new to clusters as well. It's how ZHA handles the config and values in the interface. It let me send a firmware update command
I've heard of mqtt2zwavejs but not mqtt2zigbee
Zigbee2mqtt is older AFAIK. It can be more configurable, but more finnicky
Did you mess with Python packages at all, specifically zha-device-handlers (zha-quirks)?
I have not
okay gotcha
It's related but not in the usual way. Somehow the Python dependencies are screwed up, since zhaquirks.setup exists and HA pulls in the correct version.
I have not
I saw the first one ๐
Sorry about that haven't masted discord yet and the replying ๐
Hmm. I don't use the OS so I'm not sure how the it managed to upgrade without pulling in the correct package version.
Well... I'm seeing now that the devices that are giving me trouble aren't fully supported. (OSRAM Lightify BR30 bulbs). So I might just have to turn on my old SmartThings hub and move those back. Does that sound right?
Where do you see that they're unsupported?
Most of the common non-Tuya products should work
Actually, where is /config/deps coming from? All of the ZHA dependencies are in /usr/local/lib/python3.8/site-packages/ for the OS I have installed in VirtualBox
They're not listed here: https://zigbee.blakadder.com/lights.html
The weird thing is I'm almost positive that they were branded as Sylvania, which according to that list would work with zigbee2mqtt but not ZHA? But there's no mention of OSRAM BR30s. ZHA says that the bulb is "LIGHTIFY BR Tunable White by OSRAM" which doesn't exist on the list.
The list isn't exhaustive and just lists what some people have reported working for them. Z2M has a whitelist, which is where most of these devices come from. ZHA assumes everything works and fixes ones that don't, so devices that it doesn't "know" about can still be added and work if they're relatively spec-complaint.
interesting. the reason I ask is that I saw this post while I was troubleshooting: https://community.home-assistant.io/t/osram-lightify-br-tunable-white-bulb-detected-incorrectly/164289
and figured that had something to do with it. it could just be a range thing? I might try to move a nearby Hue bulb to ZHA and see if that helps.
But your current issue is a bit lower-level, something is broken with your Python environment.
I am interested in that conversation as well (we lost power 3 times between 3am and 6am on Tuesday) and the lights kept going back on
But right now no zha is working
The check config is throwing the error
lol what we got here is a buncha...
wow, moving the Hue light was much easier than I thought it would be. (I didn't have to stand up!) I'm gonna power down the RPi for a while, and see if that makes everything happier.
It looks like at some point I installed the custom deps deployment
It has the following
pypi:
- 'git+https://github.com/zigpy/zha-device-handlers/'
apk: []
That'd do it
That may be what's in your /config/deps/ folder. If there is nothing in there but that package, try deleting it and restart HA.
Delete the line in the addon config or the addon?
If you're not using it I would do both
Whatever the addon installed into /config/deps/ is old so if that zhaquirks folder isn't removed by deleting the addon or its config, you'll likely have to manually delete this as well.
ok
ok so in my config/deps
I have a directory called lib
in that I have a dir called pyton3.8
then iste-packages
then two dirs zhaquirks
and zha_quirks-0.0.56.dist-info
I would remove that addon's config and delete the entire /config/deps/ folder
this might be a silly question, but while I'm at it: ZHA likes to add things to my entity names like "_level_on_off". I usually delete them. That's... okay, right?
That did it, thanks!
If you can rename the entity_id then it's perfectly fine
I usually rename all my entities to reflect their location and function, rather than some weird random gibberish
Hi communauty, i got the sinope th1124zb and i wonder how to write the time on it, i found the manufacturing code, but the cluster writc do not permit the attribute cluster write anything on the id 0xFF01
How would I debug a zigbee device if I'm using zigbee2mqtt or ZHA? Worked the other day, now only 2 our of 6 data points show anything
Well guys. Just an update with my CRC error in frame messages that I was getting...
New stick just arrived and 0 error messages.
I had tried a new fresh instance of HA in proxmox(current method of install), Tried new HA using VirtualBox, tried using usb 2.0 extenders, tried HA on my macbook using VirtualBox, updated the HUSBZB-1 firmware and still has issues on the old stick.
Now to move all my zwave devices to the new stick with the help of some beers.
Really? No one has anything to add to how to debug zigbee when it comes to Aqara? Been seeing this issue online since 2020.
I haven't had a single issue with aqara and zigbee2mqtt in over 2 years, with... 20ish devices
Fewer devices but also no problems once they're paired.
But I'm sure someone will be around at some point with debugging instructions. You don't need to leave follow-up posts for attention.
is it possible to use shellby pucks with zigbee controllers? or dont i even need them for home assistant?
Remove that folder
Thanks, yep got that!
No, since Shelly is WiFi not ZigBee
Hi all, any good zigbee controller that goes well with home assistant? Thanks
perhaps sonoff?
@coral condor There are three Zigbee options with Home Assistant (regardless of how you install it). These are:
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).
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, but there are other options. 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 (you can't add unsupported devices yourself).
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 options being the Zig-Ah-Zig-Ah!, Slaesh's stick (though be aware of the well documented communication problems with the seller), Tube's CC2652P2 based coordinators and the TI Launch-XL boards. 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.
I will recommend zigbee2mqtt with a cc2652 or cc1352p2
cool thanks!
I will look into the deCONZ and hte zigbee2MQTT. I was watching the vids on the zigB2MQTT was thinking if I should try this out.
It is in my opinion the most flexible
With a proper coordinator
The tube is good if you are in the states and the zzh if you are in Europe
Both are often out of stock, so keep an eye out
on Zigbee2MQTT on web interface we have logs, i am running it in docker container, the thing that I don't like is if i open z2m web interface and click logs there is no logs there basically if want to see logs I have to leave it open
how can i rectify that?
AFAIK there's no way to load historical logs in the UI
this is all log related stuff that i have in conf:
advanced:
log_level: info
log_file: zigbee2mqtt.log
log_rotation: true
log_output:
- console
- file
maybe because i did not set syslog?
HI, I have sonoff zibbee bridge and tasmotize it. But I change bridge location and cant connect to it. How to change ip?
It's worth a shot, but I suspect that it's simply that the UI doesn't load from any file (and if the UI is going to load from anywhere, it'd likely load from Z2M's own logfile)
@trim magnet depends how is set up, but usually ip is assigned by your router dhcp server
if you did not set manual ip on bridge itself this is where you should look, router
i'll give it a try today see what will happen ๐ i'll let you know @sour shadow
I use this instructions https://www.digiblur.com/2020/07/how-to-use-sonoff-zigbee-bridge-with.html
@trim magnet this has nothing to do with zigbee
but it is zigbee bridge ๐
Well, it's a Tasmota thing, strictly ๐
The right solution is a static DHCP lease. If you set a static IP on the device you'll need to change that on the device
@trim magnet look in your router, it will tell you what ip it has now and it will let you set a static ip for it (thing that you will absolutely have to do)
router cant see bridge, other place, other router
Ready to use custom firmware for ESP8266 devices (including Sonoff)
Docs:
https://tasmota.github.io/docs/
Discord:
https://discord.gg/Ks2Kzd4
โ๏ธ Try their Discord to help you fix this
I work with bridge at home, now I move bridge to my office and cant connect
thanks for links
yah your problem was leak of understanding how it works. what you should do is add second wifi network from the place you were going to
what you can do now is only 2 things
- reset it not advisable
- simplest solution make a wifi at your current location exactly how you have it at home
connect to it change / add second one from your work office
I try to tasmotize again but cant, get permission error
switch back router wifi settings to office wifi
ok I try to do second solution. Thanks
2nd one is most simple
login office router make note of all wifi settings you currently have
make a new wifi like you have at home
connect to sonoff
add your office wifi settings
switch back to original wifi in the office
I will try, thanks for help
i use as motion sensors in my home https://zigbee.blakadder.com/SmartThings_IM6001-MTP01.html
the thing is i need more and can't find any so as alternative i am looking into other sensors
what i like about them is the detection is instant
battery life is long
i was wondering how is this: https://zigbee.blakadder.com/Sonoff_SNZB-03.html
if anyone have some insight on it
Search for that and you'll see lots of less than positive feedback
The Hue sensors are apparently the gold standard, though I've found both the Konke and Xiaomi ones to be acceptable
tbh your word is enough ๐ this is why i am asking
xiaomi i have
they are not good
at least not for me
let me explain
xiaomi sensor is good but detects motion once in 1 minute and half
and it stays on for around 1 and half minute
for me thats not good
Then you want Hue
the problem with hue like any other hue product is very expensive
Good, cheap, pick one
Samsung GP-U999SJVLBEA ๐
@sour shadow I do appreciate your answer man. I am looking into that sensor you said
yah seem that smartthings samjin one and hue motion are about same price so i'll give it a try
i have one of the Lidl sensors, motion one is there any way to set stuff like how fast detects or stuff for it on zigbee2mqtt? because for me is slow, if i set that sensor to be used in a light turn on automation until it detects me 2 seconds passes and is very annoying
?
Don't even know if it's a thing but maybe you could bind the motion sensor to your light in z2m, skipping the hop between coordinator/HA entirely?
the hop is not the problem
the sensor detection time is
it has like a 2 seconds delay until it detects anything
I've found the Konke is a tiny bit faster - probably less than a second
Go looking for motion_sensitivity in the Z2M docs though to see if it can be tuned
(the answer appears to be that a whole three devices support it, two Hue, one Aqara)
@ivory hound so far I have only used the Aqara motion sensors, because they were reported to be fast. I have no complaints, I use them for lighting in hall and kitchen and study and all feel instant (usually)
i have many aqara ones, they are good on detection speed, the only issue i have with them is they report and stay on for like 1 and half minutes without any motion detected, during this time they are on and cant be used
i want to give a try to konke and hue
@ivory hound yes mine are the same, but I haven't found that to be a problem. What issues does it cause you?
I am intending to try the updated IKEA ones later this week so I'll find out how they are
when you start doing automation's for single mode in your home, multi mode etc you will see that those things matter a lot, for example if you use all aqara motion sensors all over your home for a automation single mode (single mode means you are single at home) then your home wont know in what room are you at all so automation won't work
with aqara your how would think you are in all the rooms traversed for at least 2 minutes
I guess that's not an issue for me as I only use it for specific rooms and I just want the lights to go off after 2 minutes rather than to go off immediately
but yeah for accurate presence detection with rooms they are junk
yes for that propose aqara ones are very reliable
I'd be interested to see what you discover with the others you try
I was considering looking at the more expensive alarm systems that have PIR sensors and finding one that i can integrate with HA to use for room occupancy when I get to that stage
why not do your own alarm system
within ha
i made one myself and never looked back
it can even tell me if someone knok's on my door ๐
due to the aforementioned motion sensors I guess. I would certainly consider it if I had a set of sensors that I was completely satisfied with
the thing is this is not a conversation for #zigbee-archived but i assure you for an alarm in ha your aqara motion sensors would do just fine
you should try it
thanks!
thanks!
do you connect your aqara motion sensors to the xiaomi gateway or use a generic zigbee device @ivory hound
So this just reared it's head again this morning, tried to turn off the lights via the switch it's not working. Checked Deconz and it's still showing the switch but doesn't fire any events in HA. The lights themselves are still controlable and my temp sensor is still reporting data.
However this time I've been able to pair the device again this time, it's light flashes after doing the reset but just never links. Two things that could be relevant.
- Our power went off for a little bit this morning, however the server never went off as it's on UPS and obviously the switch is battery powered.
- I plugged a USB HD back into the server last night
I only mention these as you just never know but the fact that the lights / sensor are still working suggests they are not the issue
hmm, looks like it could be the USB HD, just unplugged it and it paired first time after that, but is it a case of interference being plugged in the usb slot right next to the ConbeeII or an actual hardware conflict?
so despite it now pairing the switch is still not actually working and I've tried pairing it several times over, I've restarted HA and restarted the deconz container, it still shows all the devices but neither the switch nor the sensor are now actually working.
ok finally it's all working again, tried replugging the ConbeeII but that didn't help, finally to check the integration in HA and when I went to the page it was asking me to configure the Deconz integration as if it was new, did that and all started working again.
starting to get a little peeved at it stopping working randomly, though I guess this time at least there was a possibly reason
tomorrow I shall try plugging the USB HD into a rear port and see it still breaks anything.
stop using that deCONZ ๐ from my start here i never heard somebody come in here say "you know i like that deCONZ so much, it works very well" or other stuff like that ๐
in my opinion only ZHA and Zigbee2MQTT are ok at least from what i've tried
and no, none of them with deCONZ sticks
just trow away that conbee
I'd rather not it cost ยฃ30
well you can consider it the worst investigation you've made
You'll spend more than that on Zigbee hardware
The cost of the coordinator is meaningless compared to everything else
if you want i give you mine also ๐ you can trow them both
lol
ok, so are you saying I don't need any kind of separate piece of hardware? That the devices are all fine just talking to each other?
or do I need a whole new piece of hardware
No, you need to buy a decent coordinator
ok and recommendations on that? I thought when I first researched this Conbee II was considered the goto
I obviously didn't read enough
@drifting vortex i am gonna do for you what nobody usually do
if u want ZHA then buy https://elelabs.com/products/elelabs-usb-adapter.html
if you want zigbee2mqtt then buy https://www.zigbee2mqtt.io/information/supported_adapters.html
thanks, well it's going to be a while before I can justify splashing out another ยฃ30+ so I'll do some research on those options, will have to keep setup alive for a few more months at least
In the UK, buy a ZZH (Zig-A-Zig-Ah!) - it's a good choice for either ZHA or Z2M
that ZZH i also have
tbh i think elelabs one is more powerful
but doesn't work with both integrations
ZZH looks promising, like that it's UK and like that it has an external Ariel as well
Feedback I've seen from others suggests that the CC2652 based sticks perform much the same as the current generation of EZSP boards
https://github.com/Koenkk/zigbee-herdsman/issues/319#issuecomment-789757269 for instance documents some devices and the age of the chipset in them, pointing out that some popular choices are maybe not a good one...
u mean ezsp ones that i have work with zigbee2mqtt?
Btw is your conbee plugged in, without an extension cable to get it away from interference? If your USB HD is having an impact, I would say you REALLY ought to have an extension.
No it's plugged directly into the front USB port at the moment
An extension is best practice for all zigbee usb sticks. It might help with your troubles
thanks, will keep in mind if it misbehaves again
is there a guide on how to merge from say Philips Hue Hub to a zzh! CC2652R stick?
genrly
It took me about 45 minutes to move 80+ devices from the Philips hub to zigbee2mqtt though
to hijack that, my philips hue bulbs are actually still connected to my Philips hue hub, should I not be doing that?
No you want one mesh
Another job for my day off tomorrow then
just a matter off going around pairing the serial numbers or something?
btw, did you have two hue hubs?
No
has anyone used the sonoff bridge flashed with tasmoto? I bought one on a whim
I just reset my bulbs and sensors one by one
๐ฎ thankfully I only have three bulbs and they are all in the same physical light
Fairly straightforward. Just delete the bulbs from the hue app/hub and they'll be ready to pair.
Or deconz
In your case
I didn't even bother doing that
Just reset the bulbs
With pairing enabled in zigbee2mqtt
Disagree. Better to mothball the hue hub without phantom bulbs
I'm incorporated in Aruba, do your worst!
I install Aruba every week, I'll uninstall you
Nooooo
Do you have any of the hue switches?
also, i imagine resetting the bulb is a matter of deleting it from the hue app and then it goes back into pairing mode automatically?
Yes, I have hue switches
But we hardly use them
Except for bedrooms all lights are automatic in both power and brightness / colour
are you able to see more of their entities using z2m? as with the hue integration, you can only see the battery level
i will get there eventually
I only care about button presses tbh
So haven't looked at what else I can see
My mi light sensor arrived
This will be interesting
I have three, I will be buying more ๐
yah they are good
I find they're good enough to replace my Z-Wave ones... which is a damned high bar for most Zigbee devices
Not sure what I will use it for though
Ok so you can tell the lights what to do on certain button presses like in some of the hue apps? Would have been nice if you could tap into that through the HA integration


