#zigbee-archived
1 messages ยท Page 184 of 1
Assuming you mean Home Assistant OS, you'd need to create a custom component version of ZHA
Hass.io was the old name for the appliance like install option, that uses Docker. It was renamed in January 2020 and is now called Home Assistant OS.
oh ok... "Home Assistant OS"
You'd clone https://github.com/home-assistant/core/tree/master/homeassistant/components/zha into /config/custom_components/zha and modify that
better naming, because "hass" in german is "hate" ๐ .. but at the moment I hate the Home Assistant OS, due to broken ZHA since over 1 Week
That's why it was renamed all the way back then
The other, simpler, option is to roll back HA
I have tryed that, but it never worked for me
I should be something like "ha core update --version=2022.2.8"
is the supervisor dongrade too?
Almost
#installation-archived can help with downgrades as well as upgrades and installs
Ok
can I somehow figure out what are the two nulls marked with warning signs on the right when I pair a device through zha?
ah ok, I can click on them. what is basic_lqi and basic_rssi?
LQI is the Link Quality Indicator a score of 0 (no signal) to 254 (perfect), with 255 meaning either perfect or no idea. Different chipsets and manufacturers calculate it differently
RSSI is the signal strength
Downgrade the HA to core-2022.2.3 fix my zigbee ZHA trouble
I'm wanting to replace my old ESPHOME RGBW H801 controllers with some Zigbee controllers. My current strips are connected via those clip on solderless connectors that go to wires that I've connected to the H801. I really hate the look.
The zigbee controller has a female connector output. How can I connect this to the strip? Can I use those solderless connectors that join two RGB strips and just put some pin headers on it to connect to the female end?
@vestal atlas what
sorry, long day at work. Thought it was fitting ๐
your solution sounds fine, just make sure the pinout is correct
Just purchased and am trying to setup my conbee II stick running hassos on a pi4 have an extension cable and wanting to setup through z2m getting and error in the z2m logs after the node index.ha error while starting zigbee herdsman #failed to start any advice
Please use a code share site to share code or logs, for example:
- https://www.codepile.net/ (select YAML as the language)
- https://paste.debian.net/ (select YAML as the language)
- https://dpaste.org/ (you guessed it, select YAML)
Please don't use Pastebin, since it can randomly add spaces to the main view. Please also don't share text as images since it makes it harder for people to help you. Remember that others may have colour blindness, impaired vision, etc.
Please don't say I have an error or describe an error. Share the whole actual error message so we can help you.
I updated my container-based HA then rebooted and lost my Z-wave & Zigbee connection. Someone helped me in #zwave-archived so I got that back by changing the path on the ZwaveJS config but I can't get Zigbee to load/connect. Any ideas?
What Zigbee integration are you using?
What Zigbee stick are you using?
What's the error in the log?
ZHA, using Nortek Z-wave/Zigbee and it worked great before. Error: Retrying setup: [Errno 2] could not open port /dev/ttyUSB1: [Errno 2] No such file or directory: '/dev/ttyUSB1'
Ok, well, that's simple then ... same fix as in #zwave-archived - update the path
Great, how to do that?
First off, are you running HA in Docker?
Yes, I am
Then the simplest is to update the container config to map the /dev/serial/by-id/ path to /dev/ttyUSB1 in the container
Then stop and rebuild the container
the HA container? Sorry, I've been learning Docker but am still newb
If you're using the Docker command line, now is a really good time to embrace the goodness of Compose files
yes, you gave me that tip yesterday and that is my lesson planned for today
Well, you're using ZHA... so it's the Home Assistant container you need to pass the stick into
someone recommended i use STACKS in my Portainer
Portainer 
haha okay
Portainer is fine, if you don't mind having to work around the broken bits
Of course, you could just learn Docker and save yourself the pain
Okay, I will learn compose files today. Sounds like it would be more stable, predictable
And easier to update
Is there anyway to get a running HA to create a compose file for me?
HA doesn't care about Compose
You can however copy and paste the command line to https://www.composerize.com/
oooh!
It'll give you a rough Compose file
Of course, the HA docs have an example one for you
Composerize is what I was hoping for
Have you sorted out backups yet?
Well, if you keep putting it off, you're going to find out the hard way that it's too late
I know!!
Apparently you don't ๐
My issue is I don't know how to mount a USB stick to write backups to. Got stuck trying that

Maybe I should try the cloud backups?
sudo mount /path/to/device /path/to/location
Cloud is probably easier then
Also... man fstab
what does fstab do?
man fstab
okay, reading
Have a read... you said you wanted to know how to mount a stick...
Which app did you say does cloud backups easy?
On it, thanks
Do you know why I can't access HA from homeassistant.local but I can if I use IP address?
mDNS isn't working on your LAN
What's the top one, that looks ... funky
Thought you do not use buttons/switches
What are those?
Does this look right to map the serial ports in my (new) compose file?
devices:
- "/dev/ttyUSB0:/dev/ttyUSB0"
That looks like you didn't read what I said
What'd I miss?
What message did you reply to? Did you read what it said?
Then the simplest is to update the container config to map the
/dev/serial/by-id/path to/dev/ttyUSB1in the container
I did but I'm dumb and new at this
Right
And ... the paths matter
Your USB stick appears as a path under /dev/serial/by-id
right, oh so that should be the path I add...
oh right, lemme try.
Or, map it to ttyUSB0 and wonder why it's still broken
or is it /dev/serial/by-id/USB1

total 0
drwxr-xr-x 2 root root 80 Mar 17 06:18 .
drwxr-xr-x 4 root root 80 Mar 17 06:18 ..
lrwxrwxrwx 1 root root 13 Mar 17 06:18 usb-Silicon_Labs_HubZ_Smart_Home_Controller_B15001B1-if00-port0 -> ../../ttyUSB0
lrwxrwxrwx 1 root root 13 Mar 17 06:18 usb-Silicon_Labs_HubZ_Smart_Home_Controller_B15001B1-if01-port0 -> ../../ttyUSB1

yay!
See those bits on the left...?
usb-Silicon_Labs_HubZ_Smart_Home_Controller_B15001B1-if01-port0
That is the path you want
devices: /dev/serial/by-id/usb-Silicon_Labs_HubZ_Smart_Home_Controller_B15001B1-if01-port0:/dev/ttyUSB1
Ahhhhh
You also want to track down some Linux for Dummies type guide and learn about Linux
Definitely
Your life is going to be a lot easier once you understand the basics of what's going on
yeah, I'm just googling and trying things, somehow I got this far
but I'm learning each day
What to do is spin up Debian in a VM. Then you can snapshot it and mess about knowing that you can recover anything by reverting to the snapshot.
That said, modern Linux is pretty good at protecting you from the common errors, so it's pretty hard to really mess things up, even with sudo
That's good. Seems like I know just enough to get myself in trouble
So here's that added to the composerizer output:
\\ version: '3.3'
services:
home-assistant:
volumes:
- '/clark/.config/hass/config:/config'
- '/clark/.config/hass/media:/media'
devices:
- โ/dev/serial/by-id/usb-Silicon_Labs_HubZ_Smart_Home_Controller_B15001B1-if01-port0:/dev/ttyUSB1โ
image: 'ghcr.io/home-assistant/home-assistant:stable'\\
@autumn eagle To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks. Here's an example
Don't forget you can edit your post rather than repeatedly posting the same thing.
For over 15 lines you must use a code share site such as https://www.codepile.net/ (pick YAML for the language) or https://paste.debian.net/ (pick YAML for the language).
Your indenting looks suspect - same YAML rules apply here as for in HA - but without the correct markup we can't be sure
'''
version: '3.3'
services:
home-assistant:
volumes:
- '/clark/.config/hass/config:/config'
- '/clark/.config/hass/media:/media'
devices:
- โ/dev/serial/by-id/usb-Silicon_Labs_HubZ_Smart_Home_Controller_B15001B1-if01-port0:/dev/ttyUSB1โ
- โ/dev/serial/by-id/usb-Silicon_Labs_HubZ_Smart_Home_Controller_B15001B1-if01-port0:/dev/ttyUSB1โ
image: 'ghcr.io/home-assistant/home-assistant:stable'
'''
damn, I tried the backticks but it didn't work.
Then use a code share site
You can test in #botspam to find the actual backticks key
Okay, my compose would be:
version: '3.3'
services:
home-assistant:
volumes:
- '/clark/.config/hass/config:/config'
- '/clark/.config/hass/media:/media'
devices:
- โ/dev/serial/by-id/usb-Silicon_Labs_HubZ_Smart_Home_Controller_B15001B1-if00-port0:/dev/ttyUSB0โ
- โ/dev/serial/by-id/usb-Silicon_Labs_HubZ_Smart_Home_Controller_B15001B1-if01-port0:/dev/ttyUSB1โ
image: 'ghcr.io/home-assistant/home-assistant:stable'
I fixed it in #botspam
Thanks, do I need to map both USB0 & USB1?
No
You've mapped the Z-Wave half to your Z-Wave JS container already
Don't map it to HA too
Zm-rm02 and esw-0zaa-eu
Only for fun stuff, not for lights
I'm trying to bind a hue dimmer to a hue bulb in ZHA, going into manage clusters on the dimmer, selecting the bulb as a bindable device, then hitting bind, but nothing is happening. Am I missing something? (RWL021 dimmer to a LWB006 bulb)
You probably need to wake the dimmer
Don't think its that. I've been messing with the dimmer quite a bit.
I'm pressing the button on the switch both before and after hitting the bind button, but just getting nothing.
Also tried creating a group, putting the light in that (no option to add the switch) then trying to bind the switch to the group. Same thing. Press the button to bind and nothing happens. Even if I have the switch button pressed, pressed just before, or pressed just after.
Also tried deleting the switch, factory resetting it, and adding it back in.
There is zero feedback when pressing the bind or bind group buttons in zha.
Don't know if I'm meant to actually see anything there?
Ok, so more info....
Going into Manage Clusters -> Device Binding, and binding to the bulb and I see:
2022-03-17 18:43:06 INFO (MainThread) [homeassistant.components.zha.api] Devices bound: source_ieee: [00:17:88:01:10:3e:22:48] target_ieee: [00:17:88:01:10:3a:d2:03]
In home-assistant.log. However, the buttons don't do anything.
Setting up a group, and going to Manage Clusters -> Group Binding, selecting the group with the bulb in, then selecting LevelControl and OnOff (also tried various other combinations, but I think those are the two I mainly need) and pressing Bind Group, I see nothing at all in the logs.
Does anyone know of a Zigbee RFID Reader? I just need raw RFID reads, no keypad
I am currently experimenting with Zigbee2MQTT. I control my HA devices via Homekit on my iPhone. When I control my Zigbee2MQTT lamps via Homekit I have a good 10 second delay. Directly from HA is switched immediately. Do you have any experience with this phenomenon?
hi guys, I have connected a zigbee thermostat. For some reason, it is reporting the incorrect temperature.
if it is 22deg in the room, it shows as 2.2 in Z2M
is there any way I can change the values?
I do not have that experience at all.
checked the logs... I am seeing this as well, which seems related ...
Zigbee2MQTT:warn 2022-03-17 21:35:31: zigbee-herdsman-converters:Moes BHT-002: Unrecognized DP #45 with data {"dp":45,"datatype":5,"data":{"type":"Buffer","data":[2]}}
You need to unbind the RWL021 from the Zigbee coordinator first. Then bind it to the bulb (or Zigbee group)
(For "Device Binding", you select the coordinator, then click unbind. (Then bind to bulb/group))
Perfect. Looks like that did the trick! Thanks.
anybody have issues with random shutdown of tuya power plugs this week? TS011F - the last 3 days i've been getting random shut offs out of nowhere without changing anything
No issues here so far
Testing two
And @jolly python has one
We use zigbee2mqtt though

definitely nothing in the regular Hassio log
I don't even run hassio so no idea 
i like the old name - less SEO terror
I'm having issues with devices disappearing - I had ~18 devices and now I have none. I got a ZigStarGW and reflashed it's FW (thought it'd fix some unrelated wifi issues). Now I can't get any devices to pair I tried going back to my TI CC2531 and I get the same result. I also tried nuking share/zigbee2mqtt.
hi quick question.. I'm currently running tubezb with zha which is working great. However planning to add aqara new camera which will have its own hub? How do I connect it to tubezb?
all my cameras are POE. Not a fan of battery powered cameras.
WiFi ones in general
2.4 GHz at least. 5 GHz ones are better, but I'd still take PoE ones over that any day
Maybe I need to said differently, I'm running tubezb coordinator on ZHA and how will I add aqara camera since its said include its own gateway?
Camera does not sound like zigbee
Had a similar issue also with my tuya plug. After repairing and relocation it was gone. Duno if it was because i put it next to my laptop (USB 3.0)
hi guys! ๐ @sour shadow forwarded me to this channel
i installed a conbeeII to the homeassistant rpi and try to reach it via my mobile through HueEssentials
but i do not find the installation as it seems to point to an internal Docker IP
is there maybe any documentation i missed or i have to take care of
?
Well, presumably you're trying to reach deCONZ with HueEssentials?
Still, I doubt the software is trying to talk directly to it
yeah this phoscon thing that is installed
thanks... manual was the key... -.-
i tried it automatically
-.-
As I said before, you can't
aqara does provide zigbee

The aqara camera hub is a WiFi camera that has a zigbee coordinator built in
Zigbee doesn't have enough bandwidth for something like a camera unless maybe it was only sending low res stills
alright.. thanks for the explanations..Since the website did not explain this in detail
I think the first version of the motion camera from Abode (security system) used Zigbee which is crazy. It was just 640x480 stills though
I have been using an Aqara "Magic Cube" for months and all of a sudden its been going offline. I also noticed a Smartthings button has been acting a bit unreliable.
I did just rewrite some of my Automations for both the cube and the button.
Could that be causing some problems?
Is there any way to nuke zigbee2mqtt and anything connected to it from high orbit and start fresh? I've flashed my coordinator (and erased nvram) and deleted share/zigbee2mqtt but still can't get devices to join
What stick? Sonoff?
ZigStar PoE Coordinator
I also have a generic CC1352 and if I try the scan from that I get "Could not start application, network is not formed"
Yeah, it doesn't work if the stick has no formed network
Run the .form_network tool
would that conflict with my main network though (to have 2 zigbee networks running in close proximity)?
Z2M uses channel 11, ZHA uses 15. Also if you don't use the CC1352 the network won't even be running if you unplug the CC1352.
@ancient bane posted a code wall, it is moved here --> https://hastebin.com/rimagigiwi
How does this compare to your POE gateway?
not sure, how would I run it on that? socat?
If you stop Z2M, you can use socket://1.2.3.4:5678 as the serial port
Do you have a 2.4GHz WiFi network on channel 1 nearby?
"Auto" 2.4 and 112 5, so possibly; I just instructed my AP to scan, so we'll see what channel I should move it to
If you don't have many devices joined, move the Zigbee network to channel 25, it seems a lot quieter
I don't have any devices joined, I used the USB stick for a few years, then decided to get the PoE adapter, switched to it, re-paired all my devices, then things worked for a few weeks, then randomly I have no devices joined; so I flashed the PoE adapter and couldn't get anything to join, I also reflashed my USB adapter and same thing
I have 2 powered devices blinking like they're trying to join, but they don't
I could move WiFi to 9 (14% utilization, -85dBm interference); The strongest is 3 (39% utilization, -82dBm interference)
Is WiFi ch1 == Zigbee ch11 interference wise?
My zigbee2mqtt config is currently set at 11
The big wide ones are WiFi 1, 6, and 11
so I should either do wifi 1, zigbee 25 or wifi 11, zigbee 11; or wifi 6, zigbee 11 or 26
WiFi handles channel changes transparently so try changing your 2.4GHz network to 11 and re-do the energy scan
Or leave it running, maybe you will see it in real time
I also have a z-wave dongle within 1ft of it, I know that's 900Mhz range, there's not any resonate issues, is there?
I doubt it but it won't hurt if you move the Zigbee radio
yea, I love the idea of PoE, I can put it anywhere now
yea, I'm guessing WiFi ended up on ch1 at some point, I watched zigbee ch11 drop to ~1/2 what it was while my AP provisioned to ch11
If you're going to be re-joining devices, I suggest moving away from 11 and to one of 15, 20, or 25
"Auto" for WiFi should be picking one of 1, 6, or 11, which will drown out the Zigbee network again. Zigbee 15, 20, and 25/26 avoid that problem somewhat.
OK, so I should be able to start Zigbee2mqtt, then Permit Join (All), hold the button on this outlet, wait for it to start blinking, then I should see it in Z2M shortly, right?
That should work
how long should I wait before I assume something is wrong?
What device are you trying to join? My IKEA outlets take like 5s to show up.
It takes only a few seconds for them to scan all of the Zigbee channels for open networks so overnight is definitely not necessary
I did just see zigbee2mqtt/bridge/event show up with a "type": "device_interview" but I don't see anything in the web interface
I have ~18 devices and they've all joined within seconds in the past
OK, ~2min later I see 2 "Unsupported" devices in the web interface - I presume the interview failed or didn't complete?
I know they're supported, I've used them before
seeing as the first 1/2 of the IEEE address is the same, I presume these 2 devices are the outlets (everything else is battery operated)
Sounds like the network works so it's a Z2M problem
Try to change the battery
That's what I was wondering, it's one of the few common denominators in all this; hence me deleting share/zigbee2mqtt/* in the hopes of resetting Z2M
I think it's in a loop of interviewing a device, then failing to interview, then trying to interview again
What does the Z2M debug log show?
I presume I need more logs above the first line
AF - dataConfirm - {"status":225,"endpoint":242,"transid":5}
225 is 0xE1: MAC_CHANNEL_ACCESS_FAILURE
Your radio is listening but is refusing to send out any requests because it sees too much noise
Since you already moved your WiFi network to channel 11, have you placed the coordinator in a relatively quiet spot?
If that doesn't work, you really have only one option left: change the Zigbee channel to 25 and move WiFi back to 1
In the scan tool, the lower (fewer #s), the better, right; so I want it on the channel with the least #s, right?
Yes. You generally want to stick to 15, 20, or 25, because some (rare) devices only join on those channels, and they will never overlap directly with the three common 2.4GHz WiFi channels
Interesting, 25 was the lowest, now it's medium (22 is the highest)
I disabled 2.4 on my AP for a bit to test, I restart Z2M and will see what happens (it takes ~3-5min to fail)
O.o I still get the same issue
That would make sense, the AP was on the far end of the 2.4GHz spectrum so turning it off won't do much
Did you try changing the channel to 25 or moving the Zigbee radio elsewhere?
yea, it's supposedly running on ch25; I should be able to use my USB dongle on a separate machine across the room, scan, and see my PoE adapter I presume?
Use the .network_scan tool, you'll see beacons from your second dongle on channel 25
well IDK what specifically I did, but it works and I was able to add everything just fine
Thanks for the help (the scan tool is really helpful)
The wind must have been blowing in the right direction
Every time i move my home assistant, loading a full snapshot onto another system everything seems to work except for z2mqtt. For some reason if the new system does not have the exact same ip as the old one i get this error in the z2m logs:
Zigbee2MQTT:error 2022-03-19 14:01:23: MQTT failed to connect: Connection refused: Not authorized
Zigbee2MQTT:error 2022-03-19 14:01:23: Exiting...
Does some one know how to fix this without changing the ip?
reinstalling the mosquito broker fixes it but im not planning on renaming 720 entities any time soon
Well... There are no access rules for IP by default
So that is something you have configured
@cloud heath @tropic depot @austere patio @inner bay @fair mountain I just wanted to check back in with you guys. Thanks for all of the help with the ikea switch troubleshooting! I performed the over the air update last night on one of the switches and it is now working and I can see the events in the event viewer and link them to automations! Works perfect!!!!!! Thanks for everyones help!
glad you got it functional....mine will remain in a drawer ๐
@inner bay LoL thanks! Yup I got that drawer too full of lots of zigbee crap that never seemed to work #ebay I do like sonoff and aquara as well they seem to always work a treat but the ikea switches were just much cheaper then importing the sonoff stuff so wanted to give them a try
I have not had much luck with the Sonoff motion sensors. Aqara is fine but I wish they followed the zigbee spec. Nothing like them getting stuck on a router that isn't responding.
@fair mountain good to know. I am looking at picking up some motion sensors next currently using ones that I built a long time ago with arduino boards but looking for something on zigbee that looks a bit more professional hahaha
The trick is to never have non responding routers
Hasn't happened here in close to four years 
i've had a great experience with my linkind zigbee stuff
and the xfinity stuff too actually
I don't think we get them here
linkind has a presence outside of the US, but yeah, I don't see Norwat on the list
i'm guessing Xfinity is US only
yeah the SNZB stuff doesnt detect me half of the time, i got one pointed at me in the shower and its constantly turning the ligh toff
my philips hue motion sensors are my absolute favourite, long battery life, great detection, etc. etc. but they're SO EXPENSIVE.
Leviton Canada shipped me a bunch of stuff with Xfinity on the boxes
orly
it is US only
its Comcast branding
but all the leviton DGS15S say Xfinity on the boxes
ZHA Help please - struggling with Sylvania Smart+ Zigbee bulbs this morning. One of them in particular. What does it mean when a device is hung on Starting Interview in ZHA add device screen?
have tried to remove, factory reset, and re-add multiple times. At best I get 4 out of 5 bulbs to join the network
I hate how the illuminance value by the hue motion sensor gets updated after the push of the movement detection and not with it
interference or weak mesh
my sylvania bulbs (can light br30 style) were real finicky until I added a couple more routers around them
They were really high up in a vaulted ceiling
thank you. I guess it could be one of those. it seems like there is one bulb in particular that is giving me trouble....
far corner
I've moved it to a couple different fixtures
yeah thinking that one needs to come out, swap some things around.
what information can I get from the network visualization? what is the meaning of the line color and value connecting devices
what is the max number of devices supported by this receiver? https://sonoff.tech/product/diy-smart-switch/sonoff-dongle-plus/
Depends on how many routers you have in your mesh and what types of devices but normally over 100
I mean directly connected devices, I read somewhere 40, but others said 100. So I am a little bit confused. do you mean 100 without flashing it with a custom firmware?
TIL ๐ฆ
You probably will not have a good time with 40 devices and no routers (e.g. bulbs, outlets, switches)
This is a surprisingly common scenario for some reason
TIL?
Today I Learned
Because of that, i have used illuminance treshhold crossing as trigger too with motion as condition
I have others device that act as repeater, some switches (connected to elettricity and not with batteries), so those should be considered as routers?
Most mains powered stuff is
is it possible to check on z2m if a device is doing routing and if a device is not a direct child?
Yes, through the map
And, more simply, look at the Device type
ah, thanks
But if a router has no child it does no routing ๐โโ๏ธ๐
I am wondering if there is a way to "force" a router device to route a given endDevice
It is possible to join a device through a certain router, but if it isnt an aqara device it will probably change its parent
I have a ZigBee thermostat that appears to have a Heat/Cool mode, but doesn't actually support it. Can I correct that in HA?
This is a Centralite touch thermostat.
HA reports quirk zhaquirks.centralite.cl_3157100.CentraLite3157100
This is starting to look like a misidentification issue.
{
//...
"model": "3157100",
//...
}
Actual thermostat model: 3000-wC
There's also other problems like the power source being Battery & Unknown, but this might be because the thermostat is unable to report exactly how it's being powered at the moment. Because the thermostat is powered off the 24V of the unit so it can operate without batteries.
Playing with the clusters, asking for mains information is all None
Well, maybe 3157100 is the Model. Hrm.
Oh, power source.
PowerSource.undefined_0x81
Issued filed #68400
@tropic depot So I don't clutter the GitHub issue (#68400): Contents of "ZigBee Device Signature" is what you want exactly?
there is a button on that screen
Under what you took a screenshot of
That pops open a dialog full of information
Making sure. Will post.
Didn't want to accidentally give the wrong information and clutter the issue.
No worries
So look at what you shared
That power source on the card comes from: is_mains_powered=False,
Which is reported by the device
Welcome to zigbee ๐
Oh, yeah now I'm seeing it.
{
// ...
"node_descriptor": "[...] *is_mains_powered=False [...]"
// ...
}
I'll update the issue title and mention what's going on.
Debating if I just want to close this issue and merge it into the first, but PowerSource.undefined_0x81 is perplexing.
from the basic cluster?
Yeah.
just means the value they used isnโt in the enum
Problem is that it's techincally valid.
https://github.com/zigpy/zigpy/blob/2f8f841a2444bac97e0aa38fa6c4859072096c44/zigpy/zcl/clusters/general.py#L34-L38
zigpy just got updated to flesh a lot of these out
So yeah look at what you linked
The whole 2nd table from the docs is missing
values 0x80 to 0x86 arenโt present
Ooo waitโฆ I wasnโt looking at deserialize right
Let me check the previous version
Here I was panic-searching and using GitHub's history like a poor-man's blame.
I'm taking a guess you have the source available and have a bit more information to work with.
whatโs the actual issue?
the only thing we use this for is to pick a timeout value to mark things unavailable and to determine if we actively read state on startup
It seems like HA's not sure how to deal with a mains powered device with a battery backup, or PowerSource: 0x81
From my very broad observation.
Oh! Unknown right. I forgot it doesn't just mean "We don't know" but rather "We don't know, but will know in the future."
But in this case why is it Unknown when...we should know the power source?
again, that screen shows what the node descriptor reports
not what the basic cluster shows
Ah so asking it via "Manage Clusters" != What we see in the UI here.
Alright. I guess this is a device issue, not some core ZHA issue.
Whatโs actually wrong with the device as far as functionality goes?
At the moment, that error and it having a Heat/Cool mode when it in fact doesn't: Supports only Heat, Cool, and of course Off.
Is there an issue for heat/cool open?
I reckon I should merge that issue with the separate Heat/Cool issue since this is device specific actually. And I think I did a search and it came up with a close model that had a...
Incorrect state reporting. https://github.com/home-assistant/core/issues/60524
we probably wonโt do anything with the power source one if it isnโt impacting any functionality. The value is more for us for troubleshooting
Is this for your model?
Not exactly, but close to it. Mine's reported as a 3157100, their's 3157100-E
1 min
I might need to step away a moment since I'm starting to become starved, and I do really stupid things while starved.
Lol no worries I get it
Dm me any details you have and Iโll look at this tomorrow
I think I gave all the details I can provide right now. The only other thing I can probably deliver is me investigating what the device sends on the controller and see if it ever reports some kind of, "I have mains power!" or something.
Oh sorry, Yeah I have a separate issue, or rather was separate given this is now device specific. https://github.com/home-assistant/core/issues/68400
Yeah I looked over it, will take some troubleshooting but Iโm not at the computer now. Iโll look at it tomorrow
When I get some food in me, I'll see if I can get anything interesting from the ZigBee network.
Puzzled by this error message```
ERROR (MainThread) [zigpy.zcl] [0x8811:1:0x0201] 'SystemType.Heat_Stage_1|Cool_Stage_1' is not a valid Thermostat.SystemType
Trying to remote-configure a thermostat with the correct modes but not sure what I should be providing.
'SystemType.Heat_Stage_1|Cool_Stage_1|Heat_Stage_2|Cool_Stage_1' is not a valid Thermostat.SystemType
'15' is not a valid Thermostat.SystemType
'f' is not a valid Thermostat.SystemType
'0x0f' is not a valid Thermostat.SystemType
'0x0F' is not a valid Thermostat.SystemType
'SystemType.Heat_Stage_1' is not a valid Thermostat.SystemType
Hmm.
I can change the fan operation, but it has to be hex/int. Weird.
Getting sleepy, but my best guess lies here: https://github.com/zigpy/zigpy/blob/2f8f841a2444bac97e0aa38fa6c4859072096c44/zigpy/types/basic.py#L258-L279
Other decorators and what not have a serialize/serialize function. This one does not.
Actually enum8, or enum_factory, doesn't have it either. Weird.
Is zigbee2mqtt website down for anyone else?
I've just added a new Hue bulb to ZHA, and created an automation to have it turn on up to 50% over 5 seconds. Instead it's going straight 100% brightness when it turns on, then back to 0% and up to 50% over 5 seconds.
It's really annoying
Has anyone else seen a bulb behave like this?
It's in our nursery, and the automation is set to turn the bulb on at night when we take the baby in for a change. Instead it dazzles us just as we walk into the room. It's pretty dangerous actually.
Get a trace of the network traffic (turn on debug logs for zha and itโs libs.) instructions are in the docs
on it
Also, can you DM me the configuration for the turn on call in the automation (screen shot is fine)
Can someone please help to setup MQTT sensor.
In Zigbee2MQTT I have below log when pressing button 1:
MQTT publish: topic 'zigbee2mqtt/alarm', payload '{"action":"button_1_single","battery":100,"linkquality":109,"switch_actions_button_1":null,"switch_actions_button_10":null,"switch_actions_button_11.... and so on
When I release the button I have:
MQTT publish: topic 'zigbee2mqtt/alarm', payload '{"action":"","battery":100,"linkquality":109,"switch_actions_button_1":null,"switch_actions_button_10":null,"switch_actions_button_11":null,"switch_actions_button_1
In my configuration.yaml I made:
- platform: mqtt
state_topic: "zigbee2mqtt/alarm"
name: "alarm_1"```
Above sensor code is the basic. I'm aware also the action: button_1_single should be 'implemented' but I don't know how. Your help is much appreciated!
Value_template: value_json.action to read the value
Are you using pm3 firmware ? I see that after a while the keypad repairs announces itself and doesn't register the keypress .
And then following keypress works
got one bulb after a power-cut isnt able to re-pair ? when factory resetting the device it starts flashing but no interview ?
ah just got it , pairing took a looong time :S
Hi, thanks for your answer. Where should I put his value_template?
My apologies but I'm not a programmer. And about pm3 firmware; no idea what you mean. I bought a chip and programmed it with a .hex file from https://github.com/diyruz/freepad
Other question and a bit related to my previous question. I own this button: https://www.zigbee2mqtt.io/devices/ED-10014.html. How is it possible to have entities in HA for each published state?
In ur sensor yaml .. just google mqtt json template ha ...
What are u trying to achieve ? We already have a action entity created by default
U may use it for ur automations
Yes which hex file ? _freepad.hex or freepad_pm3.hex ?
_freepad.hex. Where does pm3 stands for?
It's for low power mode ...
How is the battery life ? Does the device ever repair and miss registering a keypress event ?
So far I use the module on a 3V3 power supply. The device paired without any problem, otherwise I couldn't see the log right...
A google search with your keywords doesn't really helps...
Okay please test once u leave the keypad idle for 6hrs + and use does it register event without an issue ?
Thanks, will read about it
Hi Guys
for the last few days I've been going insane.
I've had a pi 4 free so I thought I'd finally make my build with a rpi4 on an ssd.
installed it, works like a charm.
I still have my old rpi3 running homeassistant with a z2mqtt sheppard stick. which works fine, but SSD and rpi 3, so ..
now I wanted to just mgrate to the new system all my zigbee devices are seen as unavailable. when I try to add a new one it will not pair, (interview failed)
could this be because of the other zigbee system still being up and running?
Did you check and ensure they're using different PANID values
even with a blank install?
If you have two networks with the same PANID it'll cause issues
Yes
Hi, does anyone know what the Identify entity for zigbee devices in zha does or how I can use it for a diagnostic?
If you click it, the device does something to identify itself (e.g blinks if it's a bulb)
Has anyone got the IKEA Trรฅdfri bulbs working with ZHA? I just got one and I cannot get it to pair using the 6x on/off power cycle. The videos show that when the bulb has power, it turns on, but mine has not once. Iโve verified my bulb socket is working as well. Is it possible that I have a dead bulb or is there something else to try?
Have you used the bulb at all? The power on behavior of IKEA bulbs is configurable but if it's new out of the packaging, it should turn on when you install it and power it.
I havenโt used it at all, just bought it new from IKEA and have yet to see it turn on when powered
And you're 100% sure the fixture works? If so, the bulb sounds defective.
Good thing you have 365 days to return it
I actually returned an entire dining set to Ikea (table and four chairs) after using it for 9 months
It looked brand new and I didn't want to take it when I moved
So I guess I rented a dining set for 9 months for the cost of the time it took me to assemble it and return it and dinner for my friend who helped me return it in his truck
I just found the issue and now I feel bad for asking about it here. Turns out either this bulb or socket requires you to really twist the bulb in tight for it to work ๐คฆโโ๏ธ
I was getting frustrated with it and screwed it in extra snug, past the point of fully tight, and then it worked
Ugh, thank you for the help ๐
hey guys! sorry im just starting to learn about Zigbee so my apologies if I sound dumb... does this require me to buy some extra hardware?
Yes
You need a Zigbee coordinator, and then Zigbee devices
It is however 100% local, no cloud rubbish
so id need to replace my current smart devices?
Yes
Some Tuya devices, older ones, can be flashed with Tasmota to give you local control, but they changed the chipsets
The older the better
mine arent very old so ill probably need to replace it all
its so annoying that my tuya devices just wont show at all
I have a few Tuya devices, the flashable ones are fine, the non flashable ones go straight in the bin
anyone have a good suggestion for a good zigbee coordinator?
Buy something CC2652 based. This list is a good one, both Tube and Electrolama have been proven to have excellent customer service. The current generation of EZSP sticks (see here for some) are also a good choice for ZHA.
Anything CC2530 or CC2531 based should be avoided - they're old, slow, and only suitable for a dozen or so devices. The Sonoff ZBbridge isn't advised since it uses WiFi (built in interference causing stability/reliability issues), and the HUSBZB-1 uses an older chipset so should be avoided.
Finally, the ConBee range are fine with deCONZ, but experience with ZHA and Zigbee2MQTT appears to be mixed.
The tube Poe coordinator is 
thank you!
Hey folks, I'm currently a pretty happy user of deconz with a conbee 2, but I'm waiting for my HA Yellow, at which point I'll switch (probably to ZHA with onboard)... Does anyone know of any documentation around this sort of migration? Perhaps there will be some simple scripts that will carry across the hardware to the new device? I assume ZHA to ZHA isn't too bad but I am afraid I might be out of luck with the Deconz to ZHA ๐
There isn't a completely seamless way to migrate but you can at least move the network settings, causing existing devices on the network to "join" automatically as they contact the coordinator. Battery operated devices won't migrate very easily this way though, if at all.
Of course more is possible if you want to dig into the deCONZ zll.db database, maybe it has enough info to be copied into ZHA's zigbee.db.
hey i am using zha and tring to connect my last lamp but it dosent show up as lamp how can i fix this ?
it only shows identify, basic lqi and rssi
oh there is no entity... well that's different
what is the manufacturer / model for the device?
philips hue / Ensis Pendelleuchte witch has 2 lights one light works the other one not
post the content of the zigbee device signature dialog somewhere and link it here please
i think i fixed it self i dont know how but now there is a Light switch thx for helping
Anyone have a lava lamp like script for Hue? I have a bunch of bollards in my backyard that I'd like to slowly change colours on.
is there a trick to get ikea styrbar to work?
with deCONZ? with ZHA? with Zigbee2MQTT?
With ZHA I'd expect events, rather than an entity
hello my beautiful zigbee enthusiasts
soo i need your help (:
i bought an ikea tradfri hub without knowing it needed a remote with it to function for some reason
i don't really use hubs much instead for the obligatory Hue hub which i'm too lazy to change to zigbee2mqtt ...
Anyhow i am giving this hub to my sister and she's just starting out with IoT and I don't have an extra zigbee dongle to setup the bulbs without a hub (:
any solution that doesn't require buying the remote or doing HA with a zigbee dongle ?
and the manual of these things seems to be wrong too
You need a coordinator, which is a radio that talks to the Zigbee devices. You can't do this with wishes I'm afraid... however, the Ikea bulbs should probably connect to the Hue hub.
what do you mean? and did you listen for events like tinkerer said?
meh seems like i need to use something like this https://epmatt.github.io/awesome-ha-blueprints/docs/blueprints/controllers/ikea_e2001_e2002/
but does not look like i get events either
guess should not have impulse bought them. Are there good working remotes?
i do not even get battery and they do not create events, so what should I do?
also weird i can not get them in pairing mode like the manual describes
last seen never updates from the pairing time... guess i will take a look later with a fresh mind again
i've gotta say i've learned my lesson. you end up getting what you pay for on end devices. switched some of my less expensive bulbs from home depot out for hue bulbs and the difference is night and day. no drop offs and range is way better
With the recent IKEA trรฅdfri app you can pair lightbulbs to the gateway without needing a remote
But then you need to get the phone out every time you want to interact with your light.
I had loads of issues with my trรฅdfri remotes and ZHA, including eating through the batteries in a day or two. No problem at all after switching to zigbee2mqtt. Didn't try the new styrbar remote yet, though
Hi. I recently started using ZHA for my home automation. I bought a few Aqara devices and paired them up with Home Assistant. At first everything worked. But after a several days I noticed the Aqara motion sensor was weirdly disconnected. It was still available in Home Assistant, but it didn't report any changes of its state. I fixed the issue by simply pairing the device again. But after a few more days the same thing happened. Now it's disconnecting even three times a day. And my contact sensor also started reporting unavailable. I lookd at the LQI and noticed that for all of my devices, it is somewhere around 1. I don't know what I'm doing wrong. The raspberry pi is literally in the next room. And even devices like the Aqara cube, which are pretty far away from the pi work normally and had no issues yet. I also have some Philips Hue bulbs paired to their original bridge, which is next to the pi and it works with no problems. Waht should I do? Pairing those devices again and again is really annoying...
CC2531, connected directly to the pi.
No

Does it interfere with the pi or something?
Well, you've got the least capable coordinator, with the weakest signal, getting interference from the Pi
Buy a better coordinator, put it on a USB 2.0 extension cable
Ok. Thanks for the help!
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.
Thanks a lot.
are there any radiator thermostats working with zigbee ? i'd prefer ones that you can adjust thru HA and not adjust manually by hand.

There's a pinned message with lists of known working hardware, both of which have a search feature
hi guys, i have a conbee 2 and it always says "device is offline" even tho connected, any ideas?
Did you connect it directly to the computer, or did you use a (USB 2.0) extension cable?
direct connect
That's ok, as long as you're using a 2.0 cable - USB 3.0 produces interference with Zigbee
okay thanks i hope that works.. it was working before so i dont know ๐
suddenly after a server restart it wasnt working anymore
If you used the /dev/tty* path, check that hasn't changed
The full error message will help us help you
i already tried removing the integration and reinstalled it, didnt help
it is detecting the serial connection but then shows offline
What's the log message?
[0x94DD:11:0x0006]: async_initialize: all attempts have failed: [DeliveryError('[0x94dd:11:0x0006]: Message send failure'), DeliveryError('[0x94dd:11:0x0006]: Message send failure'), DeliveryError('[0x94dd:11:0x0006]: Message send failure'), DeliveryError('[0x94dd:11:0x0006]: Message send failure')]
Logger: homeassistant.components.hassio
Source: components/hassio/init.py:569
Integration: Home Assistant Supervisor (documentation, issues)
First occurred: 11:51:18 (2 occurrences)
Last logged: 11:56:18
Can't read Supervisor data: Container addon_45df7312_zigbee2mqtt is not running
i dont have it installed

Can't read Supervisor data: Container addon_45df7312_zigbee2mqtt is not running
``` Then why?
i am wondering aswell ๐
What Zigbee integration do you think you're using?
ZHA? Zigbee2MQTT? deCONZ? Confused?
oh! i have zigbee2mqtt on the ADDONS
where can i see it?
In the add-on
i just uninstalled zigbee2mqtt, i want to use ZHA the standard integration
Well, remove the add-on completely, then set ZHA up
yup
If you're getting any message about Z2M in any log then you didn't remove it
what is the most common integration? i am very new in this topic and just want to use my zigbee devices (ikea, lidl) in HA
okay, now the conbee2 is online in ZHA ๐
I am using the Deconz add-on with ConbeeII. I can't for the life of me successfully install firmware updates in the Deconz (Hue/Tradfri). Is it possible to install zigbee2mqtt in parallel to just manage the updates without breaking the Deconz integration setup?
Only if you have a second Zigbee coordinator stick
I was thikning it might be possible to pause Deconz, load up z2m and do the magic there and then restart Deconz afterwards?
If you've got a working backup of your coordinator try it, but there's a chance it'll cause problems
never in my life got a IKEA update whatever server I've tried
No problem here, but the last update is several weeks ago
Never had issues tbh
Had to run the test server for a while
But other than that Ikea ota works flawlessly
just says failed to get update info
do i have to add something to configuration.yaml ?
z2m: Current version: 1.24.0-1
dongle: sonoff zigbee 3.0 usb dongle c2652
ikea devices in general
Oh, I think I see it
A previously functional OTA download URL is returning 403 ๐ข
Though new ones work
What does the Z2M debug log show?
You don't, there's only one. I was referring to a direct link I had to an old firmware file for some random bulb.
Yeah they all still work, must be a local problem or a bug in Z2M
Failed to check if update available for 'IkeaStyrbar' (Device didn't respond to OTA request)
Failed to check if update available for 'IkeaDimmerE1743' (Device didn't respond to OTA request)
That's on the Zigbee side of things then, if the device is unreachable then you can't do much
i have a phue motion sensor and the check works for that one
i turned an ikea light off and on again and check worked for that one
maybe it's poor signal
If the device is battery operated, it's normal for it to be unreachable for extended periods of time
Z2M seems to be reading FW version info straight from the device
Battery operated IKEA devices also check in about once a day and proactively ask for a new firmware image, maybe Z2M will initiate the upgrade automatically
these devices are not connected to an ikea bridge....the ones that are are administered by the bridge i think
All of the OTA stuff is standard Zigbee and IKEA implements it normally (for the most part)
So it not being connected to an IKEA gateway doesn't change anything in that respect
some of the devices can only be checked for update theu the app(added quite a while prior to zigbee dongle)
Which ones?
anyway i guess you hit the nail with them going in sleep mode
i have more devices connected to the gatway and they auto update
only the ones in z2m that gives some headache
just found out i can use z2m logs as an event checker
if i set the log-level to debug
I have a raspberry pi and ZigBee USB device that plus into the pi. I need to basically turn the raspberry pi into the zigbee hub and connect it to Tuya. How do I do that?
That sounds like a terrible idea
What are you trying to do? If you want to connect Tuya devices to your pi with a USB Zigbee coordinator, that's definitely possible and doable with either ZHA or Zigbee2MQTT (or deCONZ).
Ok now i'm confused. Maybe someone could help me.
It's about wiring a wall switch up.
There's a live wire. A neutral wire. And possibly/ optional a 'ground' wire.
(Brown, blue and green/yellow here in the Netherlands.)
But then, in some outlets there is also a black wire which goes towards the lightbulb or device.
If i order any (zigbee) wall switch, does it need to be with or without neutral?
It seems like different websites point me in different directions. Must have to do something with different countries and different standards i suppose
Most require a neutral. There are some that don't, and they will say that they don't require one
Doesn't it also depend on whatever my wall outlet has?
Well, your choice will be dependent on if there's a neutral at the intended switch location
Yeah i think there's neutral wires in every location of every outlet in these houses
Outlet meaning receptacle or switch?
both?
Every receptacle in the house has both a live and a neutral. (And a few have a ground wire).
And the switches have a black cable going up towards the lightbulbs
Yeah, every receptacle will have a neutral by default unless you don't want it to work ๐ (or if it's 240V split phase, for example)
The black wire just sounds like the load wire in this scenario
If you have a neutral at the switch location, then you can use any zigbee switch that requires a neutral
Ah, allright. I should order the ones with neutral then. I just got confused on different websites >.<
Thanx for the info ๐
#zigbee-archived Help with zigbee.
I recently purchased the SONOFF Zigbee USB dongle plus and flashed it to the latest firmware. When I plug it in, it is discovered but when I try to set it up, I get "unknown error". I'm running HA OS - 2022.3.5.
Enable https://www.home-assistant.io/integrations/zha/#debug-logging and look at the log. What does it show after you try adding the stick?
Not much:
Probing /dev/serial/by-id/usb-ITead_Sonoff_xxxxxx
Connecting to <same> at 115200 baud
Opened <same> at serial port
Connected to <same> at 115200 baud
Connected to <same> at 115200 baud
Connecting to <same> at 115200 baud
Opened <same> at serial port
Connected to <same> at 115200 baud
Connected to <same> at 115200 baud
[zigpy_znp.zigbee.application] ZNP is not configured, forming a new network
I have phillips hue already activated. Are there known conflicts or any other gotcha's?
Hi all. I have a zigbee thermostat (centralite pearl) and it's worked great for months. Yesterday I noticed it was a bit cool in the house despite saying it was 73.1. Looked at the history and found for the entire last day that thermostat said it was 73.1 as it was just a flat line on the graph for the day. On the actual thermostat it said it was 65.5 current, set point 65.0. On HA I changed the set point from 65 to 72 but a few seconds later it reverted back to 65.0 on its own without me touching it. The fix? Pulled the faceplate off, did nothing, and put it back. Everything began to work then. Prior to that I tried restarting HA, but that didn't change anything. Is there any way to identify in the logs what actually transpired when that thermostat hit 73.1 and ended up staying there?
Anything else? Errors?
No errors. Unless I'm missing something
Can you post a link to the whole thing?
Yes, I'll have to figure out how but I will. Thanks
Hi, does anyone knows how can i request a new device to be integrated with ZHA ?
its the new aqara FP1 sensor, it paired with ZHA but no entities
oh fancy. I haven't seen these FP1's.
I just bought two more aqara temp sensors tonight... and took delivery of an aqara door sensor a few hours ago. Majority of my HA setup is aqara come to think of it.
What coordinator are you using?
CC2652P
What build of Z-Stack?
sorry what do you mean ?
The coordinator device should show you a version like Z-Stack 20211234
Texas Instruments CC1352/CC2652, Z-Stack 3.30+ (build 20210319)
New Aqara sensors won't join properly with the CC2652 if you're running older firmware
Do a backup, upgrade to the latest firmware for your coordinator from https://github.com/Koenkk/Z-Stack-firmware/tree/master/coordinator/Z-Stack_3.x.0/bin, then restore it (otherwise you'll erase all the network settings and will have to re-join everything)
ZHA doesn't require things to be explicitly supported like Z2M
That database relies on user reports for ZHA. Even if there is no quirk for it it likely will work to some extent.
But if it's really hard to purchase, it likely won't be fully "supported" until enough people buy it and someone decides to try writing a quirk for it
it is, very new and goes in and out of stock frequently, thats why asking here if anyone already working on it, or perhaps i can help with that by providing some data from my unit
I don't see any mention of it in the quirks repo: https://github.com/zigpy/zha-device-handlers/search?q=aqara+FP1&type=issues
But if it's a newer Aqara device, you need to upgrade your coordinator firmware for it to even have a chance of working and for the data you collect to be useful
Yes il work on doing the backup , hope il manage
as for the firmware version, how do i know exactly which one ? its one of these 2 right ?
There's a table in the Z-Stack firmware page that shows you which file is appropriate for your device. Make sure to use the right one, there are multiple board configurations for CC2652P
cant paste photo here, its one of the first two "TI" yes ?
the 1st one matches mine ?
What stick are you using?
this
and in ZHA
it shows this
Texas Instruments CC1352/CC2652, Z-Stack 3.30+ (build 20210319)
There's no way to tell which adapter you're using from software, it's only something you can tell from the stick itself
The photo you shared of the stick indicates it's based on the CC2652P
It's one of the two variants. If you flash the wrong firmware, it'll sort of brick it ๐
lol il die
a lot of CC2652P on here
https://github.com/Koenkk/Z-Stack-firmware/tree/master/coordinator/Z-Stack_3.x.0/bin
how do i know which one to go for
~~Read the table: https://github.com/Koenkk/Z-Stack-firmware/blob/master/coordinator/README.md~~
Nvm, you found the stack version already and are asking for the specific one
Yours looks to be a rebrand of https://www.ebay.com/itm/164928826521
https://smartlight.me/index.php?route=information/uni_news_story&news_id=2 says CC1352P2_CC2652P_other_coordinator_
Since you'll have to do the backup/restore and will have a Python environment set up for it, it's easier to use cc2538-bsl.py to flash it (after the backup): pip install git+https://github.com/JelmerT/cc2538-bsl intelhex, then cc2538-bsl.py -evw -p /dev/... firmware.hex
got it, il get on this, thanks guys
Good luck!
Hey ho,
i recently moved to a new Appartement and my energy meter is now a little too far away in the cellar. Itโs a develco zhemi101. There is an SMA connector and I am wonder how much distance I can gain with an external antenna. Any experiences? BTW I canโt use any mains devices on the way down
have you ever done this process before ?
I have home assistant os running on a raspi, a conbee ii zigbee adapter configured with zha. I've tried to get it to find two devices: 1) dogain smart plug, 2) a reset hue bulb. My smart things hub sees both devices as addable, but zha finds nothing. Any help is appreciated. These are the first two devices I"m attempting to use.
which pi and how is the conbee connected?
Raspberry Pi 4 Model B/4GB, connected to USB (2 i believe? not the blue ones) with a 1' extender
Also, there is an SSD connected to a USB3 port, and I read one comment this morning saying "disconnect the conbee from USB3 and add it to USB2, b/c USB3s on Pi are noisy". So, not sure if that "noise" could be interfering with the zigbee, but there is nothing I can do about it as the SSD is where the OS is installed.
@sick condor posted a code wall, it is moved here --> https://hastebin.com/iperetidoz
You can remove the bellows, zigate, znp and xbee lines
Those are for different radio libs
I briefly had the deCONZ addon installed, but just looking at it, that was not the kind of thing I was hoping to be using.
Is there anything in the HA log?
Please use a code share site to share code or logs, for example:
- https://www.codepile.net/ (select YAML as the language)
- https://paste.debian.net/ (select YAML as the language)
- https://dpaste.org/ (you guessed it, select YAML)
Please don't use Pastebin, since it can randomly add spaces to the main view. Please also don't share text as images since it makes it harder for people to help you. Remember that others may have colour blindness, impaired vision, etc.
What are you stuck on?
Never mind got it to work finished the update
The restoring of the zha backup was tricky but its ok now
Any difference after removing and re joining the aqara sensor?
This sounds like my issue: https://community.home-assistant.io/t/conbee-2-not-working-while-ssd-connected-on-rpi-4-model-b/367045/2
Your Conbee's firmware is also from May of 2020, you may want to update it https://github.com/dresden-elektronik/gcfflasher https://deconz.dresden-elektronik.de/deconz-firmware/?C=M;O=D
As for your issue, try using a longer extension cable. Your 1' cable may not be long enough. Already mentioned above ๐
Updating the firmware has worked! At least I can find the smart plug. Still can't find the Hue bulb, but that's probably a different issue now.
I just did an experiment with the SSD connected to USB3 vs USB2. USB3 is supposed to be able to provide 09.A vs 0.5A for USB2. The SSD is labeled at 2.0A, so that could be bad either way. If I tightly wrap the Pi and SSD in foil, I can turn a zigbee bulb on and off with the SSD on USB3. I can turn it on and off with no foil when the SSD is on USB2.
That matches what other people have previously experienced, SSDs connected over USB 3.0 do not make good Zigbee neighbors
2 amps sound like a lot of power for an SSD...
In terms up backing up a Zigbee network, updating the coordinator and then restoring the network backup, is there a web GUI that can handle something like this or is the only way to do this is via the CLI?
Depends on the combination
I've always found it a process to update my ZZH coordinator, so I was wondering if a GUI add-on existed or something like that, or otherwise I'd be interested in working on making one
It'll be integrated into ZHA "soon" but the process isn't all that complicated with the upcoming zigpy radio abstractions if you want to build a GUI: https://github.com/puddly/zigpy-cli/blob/b7478f9b4b6473f376bd9ebe225fc571e33b26ca/zigpy_cli/radio.py#L85-L113
The problem is that all of those packages are still changing relatively frequently so the GUI would have to be updated frequently, at least until they're released as stable
On the other hand, it's about as automatic as you can get with the three command line tools (i.e. you just hit enter) so I'm not sure if a GUI would simplify it
the zigstar multitool gui is out there.
only really suggest it for folks who can't handle the command line.
It does an NVRAM backup, not a network backup, so it's only for moving between the same type of coordinator (assuming the NVRAM structure doesn't change in future Z-Stack releases)
Ah, since ZHA is working on it, maybe I'll just wait for that as I don't need to update the coordinator that frequently anyways. I can get around the CLI easily, but the way that I currently update it means moving the USB over to another VM and doing all the work there, just more of a pain in terms of that. It'd be nice to just have a few buttons to press to update it
good point.
back to unreliable zigbee comms, but only with ZHA. my lights bound to light switches work just fine. sigh. :/
35% channel business.
Are you using light groups or directly addressing lights?
light groups
ZHA light groups
Even worse than the commands not working, I get nice things like the light will turn off and then turn itself back on, and these lights aretn part of adaptive lighting, so I cant even blame that. or, the lights will turn on, but the colours will be wrong on half.. or wrong on all of them.
and the lights turning themselves back on happens with ZHA groups and individual bulbs.
Individual lights turning back on?
@austere patio for example I have light.den_desk_lamp (single lamp), and light.den (ZHA group). I turn both of them off using light.turn_off with a list. the desk lamp will turn back on, but the ZHA group will stay off, or vica-versa. sometimes both.
Hi, im really new to home automation so bare with me if this is a really common questen.
So I have 3 Ikea smart bulbs and a conbee 2 with zha integration.
The conbee is connected to an usb hub as recommended in their manual. The distance to the light bulbs is approximatly 2m. After spending about 20mins to connect the bulbs I could imediatly notice that some commands are lost. Ignoring this for now I set up a light group for the lights. However in 50% of cases when I switch off/on the group, at least one light just ignores the command. Any suggestions?
Can you record a debug log of this happening?
Are you using a USB hub or a USB extension cable?
Use a USB extension cable
I dont have a spare usb extension lying around but will try without the hub to see if it changes anything
buy an extension then
yes I read that already. Thats why I was using the hub in the first place
Plugging it straight into a hub seems like it would just move another USB controller right next to it again
The USB extension cable moves everything away
okay i just realized I could use the usb extension from my mouse, however it doesnt change a thing, neither does plugging it directly
If you just unplugged the Conbee then it will take a few minutes for it to start working again
I would leave it alone with the USB extension cable for a while
In the meantime, enable https://www.home-assistant.io/integrations/zha/#debug-logging and collect some logs of it being unreliable
it seems more reliable now. but still not good enough in my opinion. The state response still seams very unreliable.
Hmm, it looks like some requests just don't receive responses at all
Your network is also running on channel 25
Is there a way to reduce the number of retry attempts for ZHA?
Which radio are you using?
CC1352/CC2652, Z-Stack 3.30+ (build 20220219)
that is a bad thing?
Not really, it's just not the default. Since you have only three devices, you may want to check if there's a better channel available
If you follow the setup instructions in https://github.com/zigpy/zigpy-cli/pull/2, you can run zigpy radio deconz /dev/... energy-scan to do a scan
I did not change anything from default tho
If you previously changed in deCONZ then ZHA would continue using that same channel since a network already exists
never even opened deconz. All i did was install the homeassistant image, connect a philips hue bridge. THen decided to scrap the hue bridge and use a conbee. Finaly linked the bulbs to the conbee
never even opened deconz
You already said that
Strange. Well, there's not a whole lot else I can suggest beyond moving the Conbee around and potentially changing the channel to something quieter. There's not really any other configuration you can do.
Okay Ill look into that. However I get the feeling that the conbee is not what Im looking for. Thanks for the help anyways.
The Conbee is more sensitive than other coordinators to external conditions so you may want to try out a CC2652 stick, they're a quarter of the price of a Conbee and work well.
Or if you're interested in getting your hands dirty, there are a few low-level tweaks to try to enable ACKs
Sure
For the latter, just follow https://github.com/zigpy/zigpy/blob/dev/CONTRIBUTING.md#testing-new-releases but change the package from zigpy==... to git+https://github.com/zigpy/zigpy-deconz.git
There are dozens with the same chip, that one will work
But I suspect your problem is environmental, since many people are able to use the Conbee just fine (though many have issues too ๐)
okay then ill try the energy scan first. Do you know how I can leave the ha cli without it restarting immediately?
How are you running HA? Docker? The OS?
im running the os
https://github.com/zigpy/zigpy-znp/blob/dev/TOOLS.md has instructions for setting up a Python environment and disabling ZHA
humm.
so one of my ISP modems, despite me having it in bridge mode, and wifi disabled, was broadcasting 4 SSIDs on 2.4ghz
I got my friend to turn the radio off on it via SNMP, he works for said ISP, and it's no longer broadcasting .. and thats helped with my zigbee issues a tiny bit
and I moved my APs to Channel 1 and 6 instead of Auto, but I didnt see any reduction in interference from doing that.
could the 5 retries for each failed command contribute to things being sluggish?
The retries in ZNP try various methods to contact the device
So it's not just "try the same thing a few more times". You shouldn't normally be seeing failed requests though.
well its trying to hit offline devices
Your setup is pretty unique so there's no direct way to tweak any of this stuff. https://github.com/walthowd/ha-constant-modifier worked in the past but now that custom components are lazy loaded, there's no simple way to do this any more (unless you're running the OS)
running "the OS"?
also that seems pretty sweet. i always wanted to be able to overload functions and such in HA. for example I'm maintaining 4 custom components because the maintainers refuse to implement functionality to make the component useful. ๐ฆ
Home Assistant OS
i am using hASS
A similar method may work with Docker
maybe I dont quite understand how HASSIO or whatever it';s being called these days would help me use your nifty custom component
If you have a supervisor, and have add-ons you have #330990055533576204
It's all a giant hack to begin with, HA OS just runs in such a way to allow you to inject code. I'll make a new version of that script...eventually.
If you are doing docker commands you are running #449717345808547842
Most users who run #551864459891703809 know what they are running and users who run #330944238910963714 usually shouldn't

and then you have people like me who ๐ฉ all over supervisor :p
now it just yells at me about being unsupported
Oh, the custom component won't work at all, don't bother
Unsupported sounds like #330944238910963714
Which is the least desirable installation option
I have no idea how that can become unsupported, but then again I don't touch either of those installation methods with a ten foot poop knife
Just wanted to drop a message. I got a ConBee 2 to replace my Sonoff controller. The Sonoff just wouldn't keep anything connected. After removing my Zha DB, and doing all kinds of stuff to make sure the SonOff Controller was no longer there. I was not able to get anything to connect to my ConBee. Well doing a quick search on here I saw that some people were having issues until they plugged in a USB extension. Well why not give that a go. Grabbed on and plugged it in. Now I'm able to add devices. Crazy, but it's working now.
Just wanted to share.
Pretty well known issue
They really should start shipping the Conbee with a USB extension cable in the box
It just doesn't work without one
I've never used an extension cord with my cc2652s when i still was using that horrible pi
So appears very Conbee specific
i wonder why the Raspbee II works okay
Because it isn't usb based
I don't have it connected to a Pi. It's a small Ubuntu computer with an Intel chip. I had just not seen anything mentioned until I got on here to search.
Usb interference isn't limited to pis 
Right. I even set my sensor right next to it and it wouldn't connect. Nothing until I moved it away from the computer itself.
Well I was just trying to debug. See if "interference" was an issue.
Yeah, just a lot of people do pair like that by default
Which is a horrible idea
Mostly the same users who run only battery operated devices, no routers

Any idea if my SonOff can be used as a router? Is that the right term?
Yes, however the sonoff is the superior device of the two
So I would rather use that as coordinator
Unless it is actually broken, which is why you couldn't get it to work
i am going to repurpose some of my sonoff zb 3.0s as routers i think
I could get it to work. Everything connected. I setup automations. Was loving life. Turned out my sensor would only stay connected for a day or two. So I would have to pair them every couple of days.
i had some aqara esnsors like that
turns out they were bad
probably because they were in my greenhouse
And it was all my sensors. 3 motion, 3 door, temp, and button.
So I'm hoping the Conbee wont do that ๐ค
nah you'll have other issues with the conbee ๐
So it's going to be like everything else ๐
I have 80 routers and 40 end devices, never had a device disconnect here
Running zigbee2mqtt and cc1352/cc2652
lucky you @jolly narwhal
Without routers it makes no difference where you pair your devices modernSolutions.jpeg
I've started picking up a neighbor's bulb everytime I permit joins.
after it joins I toggle it a few times to say hi. still don't know whose it is lol one time I got 2 of them
I'm seeing problems where my battery powered devices will not pair properly unless I place them close to the coordinator. I'm beginning to wonder if there is a problem with pairing a battery operated device via another (router) device with EZSP coordinator. There seem to be some similar reports of the same thing by other people too. https://community.home-assistant.io/t/hacking-the-silvercrest-lidl-tuya-smart-home-gateway/270934/259 for example
Yeah, I've picked up my neighbours hue strip from 25m away
Always fun
What coordinator are you using?
@austere patio energy-scan resulted in 2%-5% on all common zigbee channels (15, 20 25)
will try out the new stick and zigpy library tomorrow and report back. Thanks again
Tuya wired EZSP gateway, the hacked Aldi/Lidl one
Hello, where i can correctly report with Certain device type ? which is reporting incorrect values ?
If you're talking about reporting a problem, it depends on whether you're using ZHA, Zigbee2MQTT, or deCONZ
I'm having some instability issues with my zigbee network. I think i found the culprit in some gledopto bulbs. They are (like most mains powered lights) configured as routers, but due to some software issues/bugs they can't act as routers and doesn't pass on any trafic.
The easy fix should be to change them to enddevices instead, is that possible?
Running ZHA and a conbee (version 1)
it is problem of ZHA and one device type
Then if there's an actual bug, you'd probably want to report it at https://github.com/zigpy/zigpy
<rant>
Sigh, my Zigbee LQI's are down significantly in just a few months and most of them are < 130 even on close distances :/
The 2.4ghz frequency is a disaster right now. Living in large soviet era building. And there are many new APs, most of them from local crappy cable TV's devices. All spamming 2.4ghz and operating bandwidth 40Mhz. I don't care much about wifi (since 5Ghz is hilariously free) but the Zigbee network performance took quite a hit.
</rant>
Wyd? The only thing I think of is adding more ZB repeaters to fight it.
@limpid tulip all works good?
Generally it works, but rarly some device misses a command. It doesn't feel as snappy as it used to be.
Occasionaly sensors (e.g. Hue motion) blink red indicating connection problems but still works.
lqi is not a very good measurement
in your situation you can do only
move to another channel less crowded
your devices will need repairing
speak with everybody to move all interferences
or
add more routers
Hey Guys any good Zigbee Clamp Meters ? or should i still sitck with Wifi ?
yeah there is no less crowded channel left. Maybe e.g. in US where WiFi goes up to ch.11 putting ZB on 25, 26 would be an option. And I only did scan using phone app not the proper measurment tool that would probably discover other interference. If there was one slightly better channel there no guarantee that one of the APs doesn't switch to it one day since most of those are left on auto selection.
Most of those folks around are likely technologically illiterate - considering they didn't even bother to change their SSID advertising their crappy ISP and are mostly old folks. I don't know most of them that well to propose that. And with the exception of those who actually doesn't need wifi (or could switch to 5Ghz exclusively) it would be against their own interest.
That leaves me with less the ideal more routers/repeaters solution.
Yeah, thanks for the tip thou I was expecting nothing serious can be done about it. Just wanted to rant I guess ๐
depending on what you use, you can actually scan the channels
I use android app (manly WiFi analyser com.vrem.wifianalyser since it's foss).
Are there any apps that could pick up other interference?
Most those scanning apps seem to differ with how theyrate each channel and what they recommend to switch to.
@limpid tulip what integration you are using? and what coordinator?
Conbee 2 on deCONZ. All latest sw/firmware.
ah i can't help you with that
i don't think that have anything to scan channels interference
there is something for bellows
and for zigpy-znp
those can scan channels to see what is free
or more free in your case
but deconz with conbee is the worst thing you could choose
can someone share little bit of light regarding this entities ? and what is their purpose ?
Diagnostic
63eb84fe identify
63eb84fe basic lqi
63eb84fe basic rssi
most of time they are all unavailable
identify button will issue the identify command to the device. most devices will blink in response to it
lqi (link quality indicator) and rssi (received signal strength indicator) are signal strength indicators. https://microchipsupport.force.com/s/article/RSSI-vs-LQI-What-is-the-difference
is the entire device unavailable?
its weird how sensitive OSS solutions for zigbee are vs. say, hue ..
OSS solutions are all based FW using SDK's released by SiLabs or TI. ๐คทโโ๏ธ which control the low level stuff.
hi, i'm quite new to home assistant and have a few questions about zigbee with the Aqara (WXKG11M) buttons. when i insert them via zha, i only get a strange display that i can't do anything with. the button can't be configured either and has a very strange name "unk_manufacturer unk_model", "unk_model by unk_manufacturer". does anyone have any tips? the home assistant docker version with a sonoff 3.0 coordinator is used.
it's not pairing correctly
are you following the pinned instructions?
remove the device from HA
wait about a minute
reset the device (hold the button down for like 5-10s... it will blink several times when reset)
click the add devices button in HA and keep pressing the button on the device every second or two until it finishes pairing
in ZHA: add device -> start pairing mode for 5s press reset button -> strange output
these are my steps
no need to apologize. try what I posted above.
pressing the button when pairing helped. thank you very much ๐
@ivory hound Thanks for the help I got, appreciate it.
In the end since everything still working despite network map looking terrible and stupid Ikea remotes draining battery I'll leave it at that for now. Don't fix what's not broken. I will play with channels one day when I decide to switch to z2m maybe... but with all the 2.4ghz congestion in here I don't see much light in the tunnel.
Moving coordinator to a better spot + dedicated router could improve situation a bit is my best guess.
You can use the Conbee itself: #zigbee-archived message
I installed it.
That is interesting... how reliable are those readings I wonder?
It does suggest switching to e.g. channel 18 would be a better option surprisingly, not something that wifi scanning app has recommended
I would stick to 15/20/25
I mean they're from the radio itself, it's about as accurate as you can get if you care about what the Conbee sees
Thx, a lot.
That's something I'll consider for the future change. IMust still scan different rooms ( I runned out of USB extension cord) and on different times of day. Unfortunately scan confirms over-saturation and only ch 17/18 ale more promising then my current 25.
If you're in a particularly hostile environment as far as 2.4 GHz, you might want to consider Z-Wave
I have 67 zigbee devs by now so a bit late for that ๐
What do the results look like?
https://i.imgur.com/NJOpKZb.png?noredirect
doesn't feel as bad as looks on android app scan (my wifi is on channel 1)
This fluctuates over day as intensive transfers causes wifi spikes and APs occasionally switch channels.
As far as enery-scan go sch17/18 looks most promising but I'll observed over some period.
Surprisingly ch26 is (usually) scored lower then 25.
(aside from the fact that it's not recommended bacause of some dev. compatybility)
hey,
anyone knows if there are zigbee door handles available on the market?
like this one ||https://www.reichelt.de/funk-fensterdrehgriffkontakt-hm-ffd-p104627.html?PROVID=2788&gclid=CjwKCAjwrfCRBhAXEiwAnkmKmVJELquazI3IS7Fl2ec0I8-lf28HkR9TqhGprx88UNLlSj-JYehbHhoChRcQAvD_BwE ||
i moved in to a new house and am having problems with zigbee devices falling off my network
most recently ive reset my whole mesh and started slowly adding back devices
i only have 8 devices currently enabled and 3 of them act as routers
but i still have these devices falling off , i have one that recently fell off thats in the same room as my coordinator even
thanks ill give that a try
i did change wifi setup when i moved as well so might be it
my experience is
the more light bulbs and plugs the better the experience
especially plugs do help allot
i got a really busy wifi neighborhood but with ~80 bulbs and plugs I got no problems
in old house i had 30 some odd zigbee devices and had a problem with one bulb falling off here and there
but i had same problem wifi was saturated , where i am now its not
I added bulbs recently and have more issues. Need to figure that out
Mar 24 18:42:12 random zigbee2mqtt[280617]: Zigbee2MQTT:error 2022-03-24 18:42:12: - PAN ID: configured=6754, adapter=6754
Mar 24 18:42:12 random zigbee2mqtt[280617]: Zigbee2MQTT:error 2022-03-24 18:42:12: - Extended PAN ID: configured=00124b00237dfdd6, adapter=139d1b373af7c5a9
Mar 24 18:42:12 random zigbee2mqtt[280617]: Zigbee2MQTT:error 2022-03-24 18:42:12: - Network Key: configured=01030507090b0d0f00020406080a0c0d, adapter=01030507090b0d0f00020406080a0c0d
Mar 24 18:42:12 random zigbee2mqtt[280617]: Zigbee2MQTT:error 2022-03-24 18:42:12: - Channel List: configured=25, adapter=11
Mar 24 18:42:12 random zigbee2mqtt[280617]: Zigbee2MQTT:error 2022-03-24 18:42:12: Please update configuration to prevent further issues.
ooh never mind i just read i need to remove /var/lib/zigbee2mqtt/coordinator_backup.json.
Did you switch from ZHA to Z2M?
it was because i didnt keep reading logs , i just had to dump the old coordinator_backup
how can I access energy_scan from zha?
I'm running HomeAssistant OS and don't seem to have access to python via the SSH addon
ok a little more google found a guide to install the tools needed
ok apparently I picked the second worst channel possible
I'm actually shocked how reliable its been then
If I migrate to a new channel is it possible to at least backup the device names so everything remaps to HA easily?
I don't mind doing the re-pair dance but writing down each name for each device will be a little annoying
(I have like 85 devices)
Is this potentially a sign that the Sonoff S31 lite repeaters are not compatible with Xiaomi sensors?
https://i.imgur.com/V807OeZ.png
aquara sensors pair to the first thing they hear
even it its a bad idea
and they never let go
unless you force them to repair
it can take a few tries to find a good pairing sometimes
is there a way to not allow the usb stick to be an option for it after a forced repair?
im using zigbee2mqtt
where you turn on "pair all" its actually a drop down and you can pick a device to activate
Permit Join (all)
drop down and pick permit join "my plug 2"
ah, so basically i would drop down and pick the closest plug to it? and let it pair to that?
yeah, it can still take a couple tries sometimes though
aquara devices while cheap and work well can be very picky

