#zigbee-archived
1 messages · Page 155 of 1
seems to have now configured - but still no action
hmm - i'm using the new sonoff zigbee3 dongle plus so it may be something to do with that
nah, shouldn't matter
the battery is now showing N/A and the action but I have the link quality
EZSP? I tried to play with that and Z2M, but in order to get some buttons to work I had to edit the adapter code to subscribe to specific group and endpoint on startup. After wasting a few hours on that I just threw the coordinator in a drawer. It's experimental for a rason and I didn't have time to make it work better
(with ezsp i mean a Silicon Labs coordinator)
nah, the adapter they're using is CC2652-based
ok, it just sounded very familiar so had to chip in 🙂
HA recognizes it as this:
Silicon_Labs_CP2102N_USB_to_UART_Bridge_Controller
I moved from a conbee to the sonoff
The Conbee firmware changelog states: "ZCL Default Responses for ZCL profile wide commands, e.g. attribute reports, and IAS notification status change commands are now handled directly by the firmware. This prevents devices from becoming lost when no host application runs, e.g. after a restart."
Does the EZSP fw on zha-ng also does this? I ask because I've seen a few devices getting unavailable after power outages with ZHA+Elelabs stick
hey yo 🙂
Any recommendation of a zigbee bridge which I can use for philips hue and thermostates? 🙂
Oh, and I still haven't decided for which zigbee thermostates I should use, if you have any tips, I would really appreciate 🙂
anything based on the CC2652 would be a good choice: ZZH, slaesh's stick, sonoff zb 3.0 dongle (that word...sigh) plus, etc.
uhm, i need a bridge, not a stick, because of my setup^^
Ah, this one for example?
https://www.amazon.de/dp/B08BCL961G/ref=cm_sw_em_r_mt_dp_CMKBJFZWRQYP894CKENJ?_encoding=UTF8&psc=1
Just making sure: The amazon introduction mentions that this bridge can connect to devices that SONOFF produced. But this is not a "only those products", it can connect to all zigbee devices, right? 🙂
I make (and others) cc2652 Ethernet connected coordinators. Stay away from WiFi. I’m out of stock now but more supplies on the way. And have a waiting list.
Appreciate the offer 🙂 But for the zigbee bridge I'm looking for non-DIYish things, I just want a zigbee bridge that does what I want. I know the bridge from my link also supports wifi, but I don't have to use the wifi module. I want to use zigbee, not wifi, just to make that clear 🙂
It’s WiFi is used concurrently it’s how it connects to the cloud or if flashed to work directly with HA with HA
Also if used with sonoff’s cloud it is limited to what they support
oh....OH... it doesn ot have ethernet cqavle conenction? wow, didnt see that, will look for another one then
@molten linden any recommendation for me?
They have a Ethernet version now but it’s still limited by their cloud/app
Can be flashed but still limited I think
got it. then yeah, there is at least one Ethernet coordinator (like tube's)
I'm not using their cloud... or am i enforced to do so by them?
Forced unless you flash the esp using the pins on the pcb
wow, that's a big "no no no" for me then. fck them :/
That’s the Ethernet version still tied to their cloud unless flashed
Ewelink=sonoff
Other Ethernet ones on Amazon will be tuya
If you want local focused plug and play with HA (ZHA) or Zigbee2mqtt. Then you have to go with the niche sellers like me or others
do you have a link? can't find an ethernet versiopn of tuya o_o
I don’t they are likely not branded tuya
Zigbee 3.0 hub will find them I think
Again they only work with tuya cloud. again can be flashed I think.
uhm.... wait, i thought the enforced cloud would only be with sonof....
@molten linden can i PM you? don't want to spam this channel that much ^^°
Pretty much any zigbee hub/gateway on Amazon/ AliExpress will be tied to a cloud out of the box
Sure
I’m honestly not trying to market my stuff 😂
@molten linden you are located in the US right? Have you sent stuff to EU?
Yes have sent many orders to the EU.
Is there a preferred zigbee stick that the community typically uses? I bought a zwave one, but I'm finding out there's basically no zwave light bulbs 🤣
ty
i've bought a wireless zigbee cc2531 cc2540 sniffer bare board packet protocol analyzer module.. can this be used as a zigbee controller?
CC2531 and CC2540 aren't the same thing (the CC2540 is bluetooth). which one do you actually have?
the CC2531 can be used as a zigbee coordinator, but it's not a great choice
the CC2540 cannot
@lilac wharf hey 🙂 since you mentioned Slaesh's zigbee stick earlier... (i can't post images here it seems), which antenna should i go for if I don't care about it beeing longer? Does longer mean "better signal" here and the smaller ones are only if you can tradeoff a little bit less signal for less space usage?
Just a heads-up...in the past, slaesh was very bad at communication and it took forever for some people to get their sticks. Not sure if that's gotten better. To answer your question though, antenna gain is how directional the antenna is. The higher the gain, the more directional (flat) the signal is radiated. Second, the longer antennas in this case probably help with range a little bit. I wouldn't stress about range from the coordinator though: a properly-designed zigbee network has enough routers where the coordinator's range wouldn't be an issue
uhm... totally newbie question: Zigbee is... decentral? I mean, your last passage reads as the zigbee devices each forward the signal?
Zigbee is a mesh network
Most mains-powered zigbee devices act as routers (repeaters)
ah, was missing thast term, ok got it
ok, so the antenna should not be a problem then, but since it doesn't cost more I think, i could go for the longest one, right?
ah wait
no, i want the shorter ones then, so i got LESS gain which makes my signel LESS flat
Depends on your environment really
2 floors
I'd be more concerned with the number and placement of routers than the gain of the antenna
with "routers" you mean zigbee devices that can forward packages?
well, i mave many lights from philuips hue, which should act as repeater?
You don't need to quote me with every message; I can follow along just fine 😄
ah, sorry, got it 🙂 Just a habit^^
No prob. And yeah, in zigbee terminology a router is a device that carries messages to/from end devices
An end device is a zigbee device that's not a router (battery powered devices, for example)
ah, ok that makes sense
if Slaesh isn't the most reliable source, can you recommend some other stick/source?
I was talking a lot to "tube" here via DM and I want to try running HA on my synology server via docker and forward the zigbee stick, plugged into the synology, into the docker instance.
I've liked my ZZH, but I'm not sure about its availability currently. You'd want to make sure you can pass through USB devices with your NAS
Otherwise you'll want a serial-over-ethernet coordinator
i had a gut-feeling that those are maybe not the most stable ones... or are those pretty reliable? Because that would be a lot easier than to work with usb passtrough on my nas
Any recommendations/links regarding those serial-over-ethernet coordinators?
i don't have experience with that type of coordinator unfortunately. they're maybe less reliable than USB coordinators because of the network dependency, but i can't imagine they're unreliable
uhm... how do those coordinators work rouhgly? are they acting as a mini server for the usb zigbee stick? Do they get assigned an IP and i can then directly use them in HA?
Network would be reliable, all ethernet cables here
the pings... seriously... at least click the ON button to change it to OFF
but anyway, yes, they will get an IP address like any other network device and then you point your zigbee software to that coordinator instead of a USB device
I'm trying hard to not do it ._.
tbh part of the issue is the default is ON for some reason
just testing this now once, never even saw that button in the right corner^^°
🎉
you should not have gotten a ping for that last message
OMG, it really is ON by default for EVERY message
yup
there's really no reason to use that quote feature unless there are multiple conversations going on at once though
or when following up hours later
I want to make sure you immideately see my message and answer fast. I want you to stop everything else you might be doing or thinking, so the pinging should notify you of that :3
kidding xD
😂
saw some coordinators but they are all out of stock rn :/
Once a day (usually while I'm asleep), HA will lose connection to all of my Zigbee devices and show them as unavailable in the UI. Reloading the ZHA doesn't fix it, but restarting HA from settings does. What should I be on the lookout for?
Check the zha docs and turn on debug logging. That should at least show a clue
I'm trying to flash the cc2530+2591 z-002 model with an esp8266.
How long will it take to the firmware to be uploaded? Guide says "few minutes". How many minutes are few minutes😂
I'm worried because I see the upload stuck on 1
oh i did it 😄
@molten linden Now to wait until tomorrow
ZCL Default Responses on EZSP?
Has anyone had any success getting multiple switches working on a Moes Touch Switch 3 Gang EU (Zigbee ID: "TS0601"; "_TZE200_tz32mtza")? Using ZHA and have partial success by install an existing ZHA quirk (ts0601.py - class TuyaSingleSwitch) and adding in the specific model number but this only gives control of the first switch. I also have the 2 Gang variant and again only the first switch works. Before I start on a very steep learning curve just wanted to check if anyone else had solved this already.
Hi There, I am migrating from a zigbee2mqtt docker container to the zigbee2mqtt addon for the HASSOS supervisor. I was able to port over most of the config I have been using so far, but the z2m addon YAML editor does not seem to accept "devices:". How can I then port over my device friendly names?
actually, how to just keep all devices attached without needing to re-join them piece by piece (that would be a pain considering the number of devices I have)
so now I copy the database, the state over and put the devices friendly names in devices.yaml. That seems to work. any reasons not to do it like that?
Hello guys. could be this one https://sonoff.tech/product/diy-smart-switch/zbmini/ used as a garage opener?
I'm looking a garage door solution w/ zigbee due to the extension range zigbee has compared to WiFI which does not have coverage in my garage
Not sure on that one, this one definitely can as you can switch the relay to be a momentary mode <
https://a.aliexpress.com/_m0pMIOA>
@molten linden thanks tube.
Anyone use lidl lamps? I see they are certified so i guess they should work. 470lumen though :/ (E14)
And colour.. i just need white realy.
...certified?
oh zigbee 3.0?
unfortunately even zigbee 3.0 devices can deviate from the zigbee spec, but i wouldn't expect a lamp to do anything strange
Seems 470lumen is pretty default. I see Ikea and Lidl both are 12,99.
sounds about right for that form factor lamp
Yeah just apity they are not direcional coz they will all go horizontally into ceiling lamps
ok guys I don't know what to do. I flashed the router firmware on this cc2530+2591 (z-002) but i'm totally unable to add the device to zigbee2mqtt. No sign into the logs.
I tried the power cycle as well. Any suggestion?
lets clear the basics first, the co-ordinator Permit_Join is set to true?
yes
click on the network map and check the logs, does this device show up?
just to check this is the only zigbee network you have nearby right?
no. on logs i have no track of this device.
is the only zigbee network i have
well, then flashing may be incorrect, flash again
i flashed that twice. one time with ccdebugger, one time with esp8266. both upload successfull. no results
some in an italian home assistant chat suggested me to try the custom firmware from ptvo instead the one from koenkk. i'll try
just to double check if you have all the devices, use MQTT_Explorer or similar and publish this mesage zigbee2mqtt/bridge/devices considering you have not changed the defulat, it should return all your devices
you mean while trying to pairing?
No - this is just q query to Z2M, by using any MQYT client, you could execute this and check for the devices
However, if you do not see the device in the Z2M frontend, likely it would also not show up. But I have seen sometimes that interviweing still goes on when it does not show in frontend but the device query returns the data. So might be worth a try
BTW your co-ordinator is?
CC2538 + CC2592
however i do not have this topic on my mqtt zigbee2mqtt/bridge/devices
have you changed your base topic? Anyway, are you able to see all your existing devices via frontend?
i have no changed the default base topic. However i'm able to see the paired devices.
okay - either that 2530 stick is dead or there is some other error. You might want to enable the debug on herdsmen also to check https://www.zigbee2mqtt.io/information/debug.html#zigbee-herdsman-debug-logging to see if there is any entry
i'll definitely try. thanks for your help buddy
Hey, so i have installed HA as a docker container on my raspberry and connected a ConBee2 to one of the USB2 Ports. Installed/Added the Zigbee Integration and selected the Zigbee Controller in the Device list. Somehow tho the device can't find any Zigbee device around it (i even put it 10cm away from it). Since this is a raspberry pi swap, i know that the Zigbee Controller and the Zigbee devices work together. Is there a way to do a health check or something?
Are you using a USB extension cable?
no, connected directly to the raspberry
top left USB Port
Logs (while searching) don't show anything either
Would be good to use an extension cable
because of wave-interference?
i mean, it did work that way on the old raspberry pi 3
Potential EMF from the pi
but there's no command or anything to see if the conbee2 is healthy and not restricted in any way?
man whyzigbee smart lights so pricey, 12,99 for 1 and that's the cheapest i found.
not sure; i don't use ZHA
why you in here then 😉 (i know)
i think i will just get 4 lidl, and 4 ikea. same prices.
ty!
If you are experiencing interference due to the Conbee being too close to a SBC or a USB 3.0 port, it may just appear to "not work"
some of my bulbs are in consistently wrong state when calling scenes. If I edit the scene it shows correct state, but the transition fails so I have to manually turn them off and recall scene. Anyone got a clue why that happens? (Zigbee2MQTT using Conbee II on HA OS)
I had similar issues when the Conbee needed to send out too many commands (ZHA)
Maybe switch to a Texas Instruments (CC2652 based) stick(?)
when i 1st started with it i read sometimes it may even be necessary to uses little extention cord to get the conbee (or similar usbstick) further away from the device. I have not needed it. But i have one ready to go should the problem arise 😛
ok, i have some additional questions.. do i need to set anything when using a docker container HA to use it with a Conbee2? like i said, i have added the zigbee integration and added the conbee 2, i've seen a serial number and there is a IEEE. but when i check the visualization i get the info that the device is offline and the LQI and RSSI is unknown.
but since HA gets a SN, the infos should bridge through to the container, right?
it even shows me a new discovered device/integration when i delete the zigbee integration and restart
yes you do, you need to have in your docker compose file or in command line (depends how you created the docker container the device you want to use maped
devices:
- /dev/ttyUSB0:/dev/ttyUSB0
something like this
without that your docker container can not access your (usb coordinator conbee)
ofc you have to find out where your device resides
but why does it see the serial number etc then.. i'm wondering
kk, will try that 👍 thanks
i do not know that particulars of your install
do you see conbee 2 in your home assistant?
or how do you use it I imagine ZHA?
So when i delete the zigbee integration an restart i see that a new device is discovered with the zigbee integration.. saying this: ConBee II - /dev/ttyACM0, s/n: DE24033xx - dresden
ok
so then is how you set up ZHA
if you can see the conbee 2
but btw
did you update conbee 2 firmware to the latest firmware
?
yeah first time i've searched for the integration and chose that path once i was asked
as a note conbee 2 is shit usually, there are some ppl that use it successfully
i didn't.. haven't done anything yet .. but it worked fine on my last rpi3 (not docker)
i think maybe it has something to do with maping
i switched to a rpi4 a few days ago
what i can say for sure is docker is working geat because i wuse it without any issues
so should i still add the --device... ?
i think they did something to ha cotainer
and this is why you are able to see it
usually if you do not do device in a docker container, you can not access that device
and thats it
since you can see it
it might not be needed
yeah that's why i was wondering
my advice is update that firmware on stick
btw
your user
from where you created that container
for example pi
or whatever you use
has admin docker privileges?
sudo usermod -aG docker userhere
and restart'
jep, pi is in the docker group
2021-10-17 20:38:08 WARNING (MainThread) [zigpy_deconz.zigbee.application] No watchdog response
there's a lot of these
yep i think something isent working as it should
did you have deconz integration before zha
?
i had it for a short time, like 5 min max.. but didn't even connect to anything since i don't have the decons program installed
well at least the version seems to be pretty new
2.13.01 / 10/6/2021
mh ok checked the logs again after resetting everything etc.. no new entry that is associated to zigbee/conbee
from what i've read
the problem is from unstable connection of your pi with usb device
i think your raspberry pi4 might be shit
update the firmware on that too
also
change the usb port
already did that.. there are only two usb2.0 ports on that
rpi4 is up to date
but only 2 usb 2.0 ports
the other 2 are 3.0
and they are already occupied in my setup
also 3.0 seems to also have problems with the conbee
i'm tempted to try the device attribute ..
duno what to say
i believe more and more is something wrong with pi itself or with how is configured
i do not use a pi
they are weak sauce 🙂
at least for porpose of home assistant
because i do use them as my primary, secondary dns, nginx reverse proxy, etc
dunno, never had problems with the raspberry itself
mh ok so i setup a deconz container on the same machine and it's clearly able to see the conbee
Hey. I tried but no success. Herdsman log doesn't show anything. The board is dead to me
Too bad.
Hey so im trying to integrate my "smart meter" into homeassistant. My power supplier supports zigbee devices that have "Smart Energy Profile 1.1 Standard" Does anyone know any compatible Zibgee usb adapters?
That's just standard, any should work
What device is it exactly?
Seems Zigbee Smart Energy Profile 1.1 has been around since 2011, so you should be good with any zigbee hub
Oh okay, they made it seem like it needed some smart specialized support or something haha. Have any good zigbee hub recommendations?
Well, hubs probably won't support the smart meter
Now, if you were to use a Zigbee integration... they may
No, not that one
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), and the HUSBZB-1 uses an older chipset so should be avoided.
Yeah that was the list I was thinking of, thanks!
https://www.home-assistant.io/integrations/zha also a list here with some links
If you can't find anything except CC2531 like I did at first it will work just fine with up to 20 devices and it had no lag for me as far as I can remember, personally I now really like the conbee though so I'd recommend going for something in that area
Thanks, ill give the conbee a go since it looks pretty well built and used by many 🙂
If you can't find it you can pick any as an intermediate stick, and you can then use them as a second...I forgot the proper terminology, but as a second zigbee "router" to extend your network so it's not a waste 😄
Just be aware that the ConBee range seem to be very hit and miss for those not running deCONZ
Some folks have no issues, some have lots of them - YMMV
currently i'm using the CC2531 stick as well but since i have added the last 5/6 devices i'm noticing also some delays and strange behavior.
I'm now considering the CC2652 based stick, is that just plug and play or do i need to migrate all the devices to the new stick?
Depends on which Zigbee integration you use
Zigbee2MQTT will transfer the pairings, not sure about ZHA (but there's a pinned message about backing up the pairings and then restoring them to a new stick)
I'm uzing zha
Thanks, i will have a look at that message
Yep, can confirm. Had issues trying to run Conbee in VM with USB passthrough on ESXi. Had to revert to using an old NUC, range also wasn't stellar. Now using zzh and passthrough works like a champ
You can sacrifice a little stability with the CC2531 by increasing the request concurrency:
zha:
zigpy_config:
znp_config:
max_concurrent_requests: 10 # default is 2
To migrate between sticks, you can use https://github.com/zigpy/zigpy-znp/blob/dev/TOOLS.md#network-backup-beta
So I have been using z2m for a while now, and now I want to use a ia Cam like those of aquaria, but as expected, z2m can't support video, how could one use home assistant with ZigBees cams?
I don't think a zigbee camera even exists. Zigbee doesn't have enough bandwidth for that sort of thing
Not video, at least. maybe a very low res photo
I see, makes sense, in that case do you know a smart cam which can detect a person and use that information in a automation on home assistant?
I want to keep a light on as thheres people in the room
Mov sensor are not enough for if I stay still it won't detect me. It is for the living room where I fall sleep sometimes
Any ideias?
try #cameras-archived frigate for person detection is awesome.
Hi! I've got a HA Blue with ZHA and a Conbee II stick and about 85 Zigbee devices.
I've started to see a lot of these messages in the log. Where should i start troubleshooting?
Source: /usr/local/lib/python3.9/site-packages/zigpy/device.py:320
First occurred: 13 October 2021, 20:21:32 (**3219 occurrences**)
Last logged: 10:45:46
Failed to parse message (b'198100300000') on cluster 1280, because Data is too short to contain 1 bytes```
And unrelated to that i have
``` Logger: zigpy_deconz.api
Source: /usr/local/lib/python3.9/site-packages/zigpy_deconz/api.py:307
First occurred: 13 October 2021, 20:22:13 (**224 occurrences**)
Last logged: 10:38:02
No response to 'Command.aps_data_indication' command with seq id '0xc0'```
'Failed to parse message (b'198100300000') on cluster 1280, because Data is too short to contain 1 bytes' was exactly the reason I ditched ZHA
and it happens because of some aqara or osram bulbs (in my case)
it is nothing to worry about it just bug the hell out of me so i ditched ZHA
also if I would be you, I'd forget about that conbee and choose another coordinator for ZHA just my two cents
Huh really? What did you chose? I went from Deconz to ZHA and i've found ZHA to be much easier to work with.
that failed to phrase is because they don't fallow some standard and don't send the awk message
I runned ZHA successfully with Elelabs Zigbee USB Adapter
for me that worked very very nice
when i sw from conbee to Elelabs Zigbee USB Adapter it was like another integration
a lot of problems just vanish
but you do need to update firmware on Elelabs Zigbee USB Adapter
I actually do have some Zigbee issues on and off.
swich to v8
So you're running ZHA now? With the Elelabs Zigbee adapter?
you will have them as long as you use that conbee shit
not quite like i said
i dich it
i am on zigbee2mqtt
Ooh. Yeah i've heard of that.
but i promise ZHA works great with Elelabs Zigbee USB Adapter
if you dont tinker with stuff to much
I'd try if it i can find it in my country.
zha is more then enough
Mostly just trying to bind remotes to bulb groups and blinds.
Right. So i'll try to get elu-13 and then firmware flash it.
Guess i need to re-pair all bulbs etc but it could be worth it.
i'll give you two more resources
this is the firmware update utility
you will use this to flash the firmware file
those are the firmware files:
Thanks a lot man! Really appreciated.
you basically
need to first switch to v8 version
and then
flash this file efr32mg13p-v8-6910-115200.gbl
that is the last version
if you get that coordinator and need help
give me a shout i'll help you out
Sounds great, thanks for your input. I'll see if i can order one.
have fun
@ivory hound could i just swap the stick out without re-pairing all the devices? I should be able to right?
There's no "official" way to migrate off of the Conbee to another coordinator but if you take a backup with deCONZ you should be able to fill the required info in the backup format supported by the other two well-supported ZHA radios
Ah i see. Thanks! Problem is i don't use deCONZ but ZHA.
deCONZ can still talk to the radio
Aah. Alright, might be worth a shot.
i was having issues with a zwave device on my husbzb-1, so i upgraded to 10.6, since then i cannot successfully add my zigbee intregration back for it zigbee My log gets flooded with message below.
- [0x2A4F:1:0x0702]: async_initialize: all attempts have failed: [DeliveryError('[0x2a4f:1:0x0702]: Message send failure'), DeliveryError('[0x2a4f:1:0x0702]: Message send failure'), DeliveryError('[0x2a4f:1:0x0702]: Message send failure'), DeliveryError('[0x2a4f:1:0x0702]: Message send failure')]
- [0x2A4F:1:0x0006]: async_initialize: all attempts have failed: [DeliveryError('[0x2a4f:1:0x0006]: Message send failure'), DeliveryError('[0x2a4f:1:0x0006]: Message send failure'), DeliveryError('[0x2a4f:1:0x0006]: Message send failure'), DeliveryError('[0x2a4f:1:0x0006]: Message send failure')]
- [0x2A4F:1:0x0008]: async_initialize: all attempts have failed: [DeliveryError('[0x2a4f:1:0x0008]: Message send failure'), DeliveryError('[0x2a4f:1:0x0008]: Message send failure'), DeliveryError('[0x2a4f:1:0x0008]: Message send failure'), DeliveryError('[0x2a4f:1:0x0008]: Message send failure')]
Hello I have a supervised home assistant mounted on a raspberry and I would like to put zigbee I have lidl smart home and I am thinking of changing to intel nuc what zigbee do I need?
Well, one of ZHA or Zigbee2MQTT - see the pinned messages for a summary of the differences
Then a Zigbee stick - again see the pinned messages
If I'm using Z2M, should I then be controlling my lights by publishing messages, or is it okay to call the light service?
You can treat it like any other light
is there some recommended list for good zigbee devices for different categories? currently i'm looking for a eu in-wall switch with 2input2output
Hey do anyone knows if this https://pt.aliexpress.com/item/1005002802139278.html?spm=a2g0o.store_pc_home.productList_11899715.subject_5 works with z2m? The site doesnt includes, but maybe it works as others are white label...
Anyone experiencing trouble with Tradfri Remote (the round ones) and ZHA. The side (arrow) buttons are no longer being seen by zha_event :/
Hey all, is there any way to force update devices from Z2M that are (or are not) in HA?
I can see two devices that I've added (Aqara D1 2 gang wireless) and they are not visible in Home Assistant.
Hi everybody, I have a problem with adding my zigbee stick to home assistant (running on raspberry pi 4). The zigbee stick is a compatible CC2531 stick. After adding the integration ZHA and selecting the correct USB port the integration keeps loading and doesn't complete. I get the following error in the logs of HA: 2021-10-19 21:32:04 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [548239713760] Received invalid command: zha/configuration
2021-10-19 21:32:10 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [548239713760] Received invalid command: zha/configuration
2021-10-19 21:32:12 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [548239713760] Received invalid command: zha/configuration
2021-10-19 21:32:13 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [548239713760] Received invalid command: zha/groups
2021-10-19 21:32:14 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [548239713760] Received invalid command: zha/devices
2021-10-19 21:32:14 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [548239713760] Received invalid command: zha/groups
2021-10-19 21:32:15 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [548239713760] Received invalid command: zha/configuration Any one any idea on what's wrong?
@limpid ibex posted a code wall, it is moved here --> https://hastebin.com/pahecihuwu
It seems ZHA is resolving the wrong quirk for Tradfri remotes:
{
...
"class": "zigpy.device.Device" // should be 'zhaquirks.ikea.fivebtnremotezha.IkeaTradfriRemote'?
}
Anyone know of a workaround to manually resolve another quirk?
Quirks match based on device characteristics. See why it doesn't match and make a PR to fix it upstream. In the meantime, you can write a custom quirk that matches properly.
Cool thanks for the tip(s). I'm very new to this, could you point me in the right direction for adding a custom quirk?
@empty hedge hey grumpydave, raspbee is making me a grumpygav. did you get it to work in the end.....it's driving me to distraction! raspbee is on the end gpio port, config.txt edited with the pi3-disable-bt thing plus the urtthing=1 uncommented. downloaded deconz, set to AMA0 in config, configured the intergration to allow sensors.....got into phoscon, scanned for sensors..........big fat nothing (my device was in scan mode)......hoping you got somewhere????!!!!!
First, enable https://www.home-assistant.io/integrations/zha/#debug-logging so you can see what part of the device signature changed. It should print a ton of stuff at startup so you'll have to find the section where it's showing your remote.
I fixed it. Apparently there are 3 implementations for the 5 button tradfri remote but each one of them has a certain property that no longer matches.
Ah, nice
Thanks, but already found it 😋
Did you get a custom quirk working as well? Or did you end up editing the package directly?
I'll make a pull request this week to fix
Custom quirk, small fix in the clusters when matching as non-color-controller from the top of my head
I had OTA set to true in zha config, maybe a new firmware that slightly changed the signature?
That could be possible, they check for updates once a day
From the 3 implementations that currently exist I gather that this has happened before 😋
Tomorrow my lidl zigbee lights come in.
Tuya-disaster already unsubscribed andlights disabled. Bye bye cloud-hell. Welcome LAN-bliss.
Will gift them to someone i think.
people never mention that clouds have a tendency to disappear
I have a Xiaomi switch which of course only shows the battery life in the entity but I can create an automation where single, double and so on clicks are detected. Unfortunately the automation doesn't every trigger and no traces can be found. How can I see what's going on?
Never mind. It worked after restarting HomeAssistant.
What is a recommended zigbee coordinator that works (easily?) with HA?
What's the cheapest way to increase the range of my dongle? I'm going from floor to floor and Im getting inconsistent connectivity on the top floor
Hey, i am using ZHA and created some groups directly in ZHA integration. It works well until i add more devices (more than 6 or 7) to the group. Is there something i can do/change to make it more reliable? Or is that just the way ZHA works, because there is no QoS like in MQTT?
What i actually want to do: i created a script which turns light on/off every second (flashing) and only stops when a state changes (alarm_control_panel state). First i added all entities manually, then i created the ZHA group, but that did not change anything significantly.
Is there another more reliable way to create scripts and automations with more entities?
Got my LIDL zigbee lights. What a deLIGHT -harhar- after having the Tuya-wifi hell.
and 2 Aqara
that is super off since lidl lights are still tuya
There, fixed it.
that is indeed another world completely
After Tuya's recent error rendering all my lights disabled except trough the app. Yeah.. was time to say goodbye. I originally bought them thinking they would integrate with HA nicely. But they needed cloud wich i didnt realize at the time. I was not yet wise to the annoying practices of some companies to lock stuff down.
Anyway bliss bliss.. 😛 Will gift my Tuya to someone probably.
to your enemies? 🤣
ponders "Who do i hate enough to bestow upon them the gift of Tuya wifi cloud helll"
Hi all, I'm still have trouble with my zigbee stick. A CC2531 Texas Instrument zigbee dongle. When adding the ZHA integration it doesn't complete the setup, but no error is shown when setting up the integration. in de logfiles i see this: Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/connection.py:89
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 19 oktober 2021 21:58:19 (5 occurrences)
Last logged: 13:29:24
[548239713760] Received invalid command: zha/configuration
[548228963632] Received invalid command: zha/configuration
Hey, so i'm looking into this for a while but i just find incomplete information and mismatching, did anyone ever done some DIY Zigbee components?
Ignoring the part to integrate in HA, what would one need? Let's say i want to build a smart relay or switch something simple like a hello world of zigbee world, what one would need?
I didn't find the hardware, and some information of the steps needs. Could anyone give me some light on this ?
Looking into Texas Instruments, it seems i need their IDE to do it for their chips, for the other manuf, i would need their's, but i found some says about a extra hardware to write on those chips, also any github project with DIY zigbee components, it never share the source code of the firmware, why that? Is forbidden?
I have also find some says about just tells the IDE to why GPIO of the chip what it would be, more or less like we do with ESPhome inside homeassistant where we usually don't code it, just use the devices.
So, i'm reaaaaaly confused on how to do a simple zigbee component. Any helps? Pleaase
No one ever done a Zigbee diy?
quite the contrary
Could you share at least a first steps with me? I'm really confused with it, and, i have to buy any compoennts in china for it is the only one whict deliver zigbee controllers in my country
That's what i don't understand, why he is sharing a firmware and not how to write my own? Let's this firmware doesnt have something i need, how would one add it? Or write one from scracth?
As far as I know yes. most of the SDK's have examples in them
(SiLabs and TI are the 2 I've looked in)
you would need to start with those end extend them. SiLabs has a bootcamp series on developing with their SDK
Nice, that explains a lot.
But, do you need some extra hardware to write to the chips? Lets say i have a cc2530, what would one need to write to it?
In esp you only connect to USB, and that's it.
With a cc2530, would something like that too?
generally you need a J-Link debugger
I have a segger j-link mini-edu which works with the SiLabs stuff and should work with the Ti as well for the 2530 they have. debuggeer too but I don't think the 2530 is supported in the current z-stack sdks as it's pretty old. Once the chips have a bootloader they can be flashed over serial in most cases
you can flash CC253x with an ESP8266
SiLabs has a started Dev kit for $99 now which has everything you need to start developing.
what? I ahve several esp8266 and esp32 here!
I always forget about that as I haven't touched a 2530 for a few years.
and what cheap chip you recomend to diy projects? With battery in mind?
I make coordinators and routers with the CC2652P2 and the SiLabs MGM112/MGM212 modules I don't design/work with the bare chips. and not working with enddevices.
That make sense, you make coordinators to sell?
yes - tubeszb dot com
Nice, will take a look
no stock right now - waiting on an order of cc2652 modules that are held up in shipping. and the SiLabs modules are impossible to get right now.
I know, I usually get mine from aliexpress they have impossible to match prices. But one of the 6 i brought was defect, so i'm looking into better options.
if buying in quantity check with the manufacturers via alibaba.
Usually do not hjave a good value for me in brazil, because of delivery rates, most of aliexpress doesnt have prices for delivery, here. So from 50$ to 0 makes a huge dif for me. The dollar to brazillian is 6 to 1. So, expensive
if you want to start development with zigbee - in my opinion, get a dev kit from TI (CC2652 or CC1352p) and start with their examples from their CC platform.
Can you enable https://www.home-assistant.io/integrations/zha/#debug-logging and post a log of what happens when you try setting up ZHA?
The CC2530 / CC2531 are not supported on the latest stack of TI. In fact, TI does not give the IDE for the same. We need to use IAR IDE which is not free and super expensive. Moreover, this intel 8051 chip had its glory for more than 4 decades, the new CC chips CC2562 / CC1352 are the way to go which would be relevant even for thread
yes better said than what I said
What coordinator are you using? Sending a Zigbee group request every second seems like it would degrade network performance significantly. Group requests are broadcasts and don't have direct acknowledgements, unlike requests to individual devices.
@austere patio Ok, i've enabled debugging and got some results. It's a seriously long list. What's the best way to send it? don't want to contaminate the threat with a gigantic log file.
You can upload it to https://dpaste.org/ or PM it to me if you want
@mystic copper https://dpaste.org/khQ1 I think this is everything, I've tried to remove all other log info from other sensors.
@mystic copper It's directly connected to Raspberry pi 4 usb on which HA runs.
I've found that when the CC2531 doesn't like its RF environment, it refuses to form a network by just locking up
Do you have a USB extension cable?
@mystic copper USB to USB? No, but it's located in the 'meterkast' which is a small closet where the power of the house gets in, and also the wifi router is. could that be the problem for the connection? I can move it to check
i can move the whole HA RPI unit
It's likely it being plugged straight into a Raspberry Pi, not the WiFi router (unless your network is on a non-standard WiFi channel and you're transferring a ton of data)
@mystic copper ok, yes, the zigbee dongle is plugged directly into the Raspberry Pi
Try an extension cable. You can probably "trick" the dongle to form a network by temporarily wrapping it in foil (or maybe pinch the PCB antenna with your fingers??) but your network may experience problems until you fix the underlying problem
@mystic copper I've moved it to a different room. Let's wait till it's booted, unfortunatly i have to think of a different way to connect the utility meter now, if this is the solution
Your dongle ideally should be centrally placed anyways, especially with such an underpowered coordinator like the CC2531. If you have a second raspberry pi, you can make a DIY ethernet coordinator by exposing the CC2531's serial port with ser2net or socat.
@mystic copper I don't have any zigbee devices yet in the network, only the dongle, i'm waiting for the first devices to arrive.
@mystic copper but are setting up the dongle in the meantime
I would recommend you get a USB extension cable anyways, your Raspberry Pi produces 2.4GHz interference from its USB 3.0 ports and from the close proximity of the coordinator to the Pi itself. Plugging it straight in isn't recommended for any coordinator.
@mystic copper ha, ok. i'll definitely get an extension cable in that case. In the mean time I can't reach HA now 😛
@mystic copper thanks for the help so far anyway, I'll look into it a bit more, trying to get HA up again first. then getting the hardware setup in a better way and retry.
Good luck
Or zigbee2mqtt 😛
Anyone have experience with a hacked Lidl Gateway and how reliable/usable it is?
Found this guide for it
I have one, but outside from rooting it and flashing new firmware I've not used it. Just quickly played with it seemd to do the job, I did hit some roadblocks but that was in the ezsp implementation of z2m. It's been in a drawer since so cannot comment on reliability
I have a zigbee device an aqara vibration sensor bind to home assistant via the zha integration using a conbee II usb dongle.my device get into unavailable state. presumably I guess it gets into sleep mode and no automation associated to the sensor work. how can i prevent this?
guys, how to invert covers position? currently HA uses position_open: 100, but my cover have state open on position_open: 0, on z2m panel it works great, but on HA itself it doesn't.
z2m, covers were autodiscovered,
do I have to manually define cover in configuration.yaml ?
Does anyone know if the Frient Electricity Meter is working now in ZHA?
Anyone have any luck pairing hue bulbs with a zigbee controller? I thought all I had to do was delete the lights from the hue app and that would put them back into pairing mode but the controller can't see them still.
what lumens? and what socket type?
so you are looking for br30 lights?
Using Zigbee2Mqtt:
Device: IKEA ICPSHC24-10EU-IL-1
Problem: After turning on through z2m, lights are flashing and just stop when choosing the right effect. (The stop_effect doesn't work all the time though)
Switching them on by cutting power and turning it on again does nothing at all.
Does someone have experience with that kind of problem ?
I actually dont know what the socket is called, TBH
those are e26 sockets. but the shape is a br30
I have these currently https://www.amazon.com/gp/product/B072M5RT6L/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1
is this a flood light, can light, normal lamp etc
ok so yeah e26
its in an ikea cheapy lamp lol
which has the cord sticking out at the top :/
and you only care about 2700k right? you don't want white spectrum or rgb?
I cant post pics, dumb.
I just like soft white, long as it can be set to 2700k, I dont care if its RGB or otherwise
https://imgur.com/a/59RTZxW if it wasnt so inexpensive id like it more lol
man the colors in that photo are bad, it doesnt look like that irl,. its a better looking green lol!
hue has a 1600 lumen bulb. but since it's hue it's expensive. ikea has a 1000 lumen white spectrum that is nice. 90 cri.
Yeah i dont want to buy any hue stuff, its a lightbulb, not gold
agreed. i have quite a few of the ikea bulbs
Damn good hardware PWM on the hue lamps though
Hue can dim down to insanely dim values, and their white spectrum range is amazing too
Hue is worth their gold though 🙂
especially when you use it in a room where you spend a lot of time
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), and the HUSBZB-1 uses an older chipset so should be avoided.
I would rather something with a 90+ cri personally. the colors are fun, but if normal white isn't good then I would rather another bulb. especially for the price.
I've seen no reason to buy anything but tradfri CT bulbs
Of my 80+ bulbs the only one that has died is a hue, even the GU10 tradfri I use outside survive all environmentals from -30c to +30c ambient
Hue runs on .. zigbee or zwave? I forget
Zigbee
And Bluetooth
is there a way to add non-hue products to a hue hub?
only the specific ones hue supports like the lutron aurora for example. "friends of hue" or something like that
its too bad about lutron, menards where I live have tons of them, but ALL wifi. No thanks
Out of curiosity I tried adding a Linkind smart plug and it actually paired to the Hue hub as a switch
Anyone have the original husbzb fw (5.4.1)?
Interesting- so maybe they will work with plugs or other classes that follow the spec. I guess I also forgot they will pair other lights as well.
Pick any good none smart led light and install ZigBee wall switch
So I’m starting from scratch with a new slaesh coordinator and 3x CC2531 routers
I also have a bunch of hue bulbs, in addition to all of my xiaomi Aqara sensors
Is there a good guide that outlines best practices for connecting devices?
Like routers first, then repeaters (bulbs), then edge devices?
Or repeaters then routers, etc
Yeah, connect all routers first moving outward from the coordinator, then pair end devices in place
Btw repeater is just another term for router
Ah gotcha
I have an un-upgraded stick if that's what you mean
So as I’m connecting my end devices, do I just add them from the main screen in ZHA, or do I go to the nearest router device and go “connect device” from there?
Just looking to downgrade to the original firmware. The repo says 5.4.1 is original but the oldest on there is 5.7.3
either one is fine
hi, i just got the Zigbee USB coordinator v4 CC2652P and i cannot connect (without the Aqara hub) to any of my Aqara devices. Do i need the hub? or is something in my config wrong?
i have my permit_join set to true
i have my user and password correct
my port it /dev/ttyUSB0 per the instructions
No, Aqara devices work fine without the hub
Resetting them and getting them to join a new network can be tricky if you've not done it before, I'd look up instructions for your devices
What Aqara device are you trying to join?
just the button and the temp thingy
if there is a way to extract fimware I'd be willing to check but I was looking at upgrading to a better firmware is there any reason why I might not want to / why do you want to downgrade
switching to usb 3.0 worked
I was wondering. Is there an easy way to backup a Z2M coordinator without all the code typing? With the conbee2 stick it's as simple as pressing the backup button and downloading the bin file
I have tube's Ethernet coördinator and browsing to it's up gives me a simple webpage with options I'm not sure why an backup function wasn't added. That would have been allot more user friendly then the way it has to be done now
I just run rsnapshot on the pi running my z2m that does incremental backups every 4 hours to another server
I mean the coordinator it self if it crashes or dies
$ python -m zigpy_znp.tools.network_restore /dev/serial/by-id/new_radio -i network_backup.json
``` it should be done running these commands but where do I run them and how do I connect the coordinator? Do I have to disconnect it from the power and connect a USB cable to it to a PC and run this code in a terminal?
Do i need to install additional software from a repository to run it?
Like zigpy or something
These tutorials are always written with half the information... Assuming the reader knows everything that needs to be done before you can update
I only ever did that backup when changing radio model
Pretty sure it isn't needed when it is the same model / same stick used to migrate
But I might be wrong
Maybe tube knows this? I'm not sure either
it's oficially certified https://zigbeealliance.org/zigbee_products/esp32-h2/
Whoopwhoop 🍻. Can't wait for the chineese manufacturers to get them start pumping out boards
The h2 just need to hit the market now. Lets see if it steals the legacy of 8266 / 32
h2 does not have wifi so no, but it's a very welcome addition. Will be interesting if shelly will start making zigbee products
It is never meant as WiFi, it is specifically for zigbee + BLE. And hence finally we may run the esp on batteries hopfully
Z2M does a backup automatically you should see a backup file in your z2m config folder I believe.
I just added two SONOFF SNZB-02 Temp/Hum. Sensors to zb2mqtt. While they show up sucessfully they do not report any information other than link quality
{
"battery": null,
"humidity": null,
"linkquality": 63,
"temperature": null,
"voltage": null
}
Any ideas how i could troubleshoot this?
Is it normal for the lumi.remote.b1acn01 to not create an entity for the button press
Just the battery entity
For ZHA, yes
I’ve just started with homeassistant and have a new install in Docker on an RPi 4 with 8GB RAM. The first integration was deCONZ (on another host on the same LAN) which appeared OK, but the dashboard view of all the rooms is regularly “flashing” (I assume something to do with refresh interval) and one room that contains 5 lights shows the lights going alternately on and off. (There is no change in their actual state.) When I look in Phoscon, there’s no change in state, but 4/5 lights are showing as “on” and one as “off”. If I toggle power supply, and/or restart HA server there’s no change in this behaviour. Before I remove these lights from the Conbee II, does anyone have any idea what might be causing this please? Note: I previously used homebridge with this setup and had no issues.
is it possible to see in GUI whether the button is activated or not
without making an automation
i dont see an option for device things in developer tools
Haven’t confirmed yet but suspect the new firmware is the cause of ikea batteries draining. I would not update if you don’t have any issues. Not sure what if anything the new firmware solves
Did you reset and rejoin your Ikea remotes after upgrading the firmware?
I just received the new sonoff USB ZigBee device. Has anyone used it yet with HA? Any setup issues?
Should be plug and play
Yes every time the battery dies you have to do a rejoin
Well maybe not have to, but I didn’t want to wait for whatever the wake up period is so I always reset by holding setup and doing an add device scan
I just migrated from CC2531 to a CC2652P stick.
I'm running HA on VMware esxi with around 35+ ZigBee devices.
I have used the backup function but I think that did not went so smoothly as I thought, so I have removed the integration and added ZHA again this time with the new /dev/ location of the new stick. After importing all the devices where listed but not working. I have removed the devices one by one and added them again. Some of them needed repairing.
What do you mean by "did not went so smoothly as I thought"?
I have a problem with configuring SNZB-01 with z2m. I can pair the device, however on exposures tab the value is just n/a. I’ve tried putting out battery method, and tried so many times. Anyone have an idea to configure properly?
Does a two-gang wide zigbee switch not exist? Im not very versed in electrical wiring, so id prefer a full switch replacement style. I have a room in my house that has fluorescent tube bulbs, so i dont think swapping those is an option
It doesn't expose any entities. You've got to listen to mqtt events to see what it's publishing on the pushes
so, this is one of my single-press automation triggers
- platform: state
entity_id: sensor.steves_button_action
to: single```
- platform: state
entity_id: sensor.steves_button_action
to: double```
```trigger:
- platform: state
entity_id: sensor.steves_button_action
to: long```
hello, i got a zigbee usb hub, can it work connected from usb on router? or do i need to directly connect to HA usb on NUC? thanks
Unless your router can expose a serial port over TCP or your hub is WiFi and is only powered by USB, no, you'll need either a pi to plug it into remotely and tunnel serial over TCP or run it directly from your HA machine
For the second time a device disappears from my zigbee2mqtt. It's in devices.yml, but it doesn't show up in the web ui. Checking the logs, I check mqtt publish related to the device, but all payloads have a null value. Any idea? It is in a difficult position for me to re-pair frequently. TUYA Whd02 Switch.
Actually it seems it doesnt receive publishing
You went to Developer Tools > Events and listened?
I will see thank you
zigbee2mqtt does expose entities for buttons unless you have homeassistant_legacy_triggers: false set in the z2m config
Any ideas anyone please?
Hi all, I am dealing with a weird problem with my z2m + ha setup. I have managed to successfully pair Sonoff SNZB-02 (climate sensor) with z2m but it doesn't show as a device in HA. There are no errors anywhere. I have several other devices like SNZB-01, SNZB-03, TS0601 all working fine and auto-discovered in HA. I am lost, please advice.
I found the problem. Apparently my backup didn't save one of the devices. In an old log I managed to discover his hwAddress, edited the database.db copying another device equal, changing only the ieeeAddr and nwAddr according to my logs from the moment of the device join. Now I'm back to controlling the device normally!
What firmware
I have some LIDL Smart LED Light Bulbs that I've connected using the ZHA integration. But the color temperature seems inverted. Is that configurable in any way?
try to repair it, if it doesn't help, open an issue on ZHA's github
Will do. Is there a list of supported devices anywhere? Just so I'm not expecting something unsupported to work.
I expected that when I created the backups from the stick and nvram I could import them on the new stick without pairing them again since that is all listed in the backup. Eventually I ended up with removing the whole zha plugin and added the new one with the new stick. After that I paired all the devices again. It's working all now 🙂
yes z-stack 3.30+
i have no idea...
but yeah is suggest that you flash january firmware
july is a bit wonky
and no idea about yours honestly
in the Visualization it shows already Device is Offline...
i will see how stable it is for a week
I should check for some Lidl bulbs next time I'm in a country with Lidl
Here in NL they are not always in the stores mostly ordering online via the webshop.
They are relatively cheap and haven't noticed any issues with them yet.
I just hacked their Gateway to work as a generic Zigbee Coordinator
Until now I used their own app, but wanted to get things moved to a single place.
Zigbee2mqtt 4 lyfe, I ran the cc1352 for a long time and now the electrolama
I have yet to invest in one of those, but been thinking about it for a while.
I'm mostly into doing my own stuff though, so various ESP-Home stuff.
But obviously for bulbs and similar it makes little sense to make my own, so just going with ZigBee stuff at the moment.
Yeah, I have 120ish ZigBee devices
Very nice, reliable?
They are controlled by adaptive lighting throughout the day
I've noticed the IKEA ones are very cheap.
98% tradfri
Alright
That's what I've been considering getting in to as well.
Since you can kinda rely in IKEA to always be around.
Xiaomi for door, temp, motion sensors
Where the stuff I got from LIDL might be less "future proof".
Xiaomi you got online I guess?
AliExpress yes
Makes sense
I do esphome or tasmota for my DIY stuff
I'm not familiar with tasmota. I've done a bit of ESPHome, like written a custom driver for some HP power supplies.
But still renting, so not super dedicated yet.
Just trying to gather knowledge for when I finally buy a house.
Need to figure out how to make serial port bridges to WiFi, would be handy in my lab
Hmm, I can't imagine that being particularly tricky. I have a bunch of Ethernet Serial Ports.
There are a few more systems installed since I took that picture
Something like this seems like a simple solution.
Not something I have experience with, but definitely doesn't sound like a difficult thing to do 😄
Need to look into that when I have time
I'm taking all of December off for vacation
I like the idea though, always nice to have accessible serial ports without having to have cables all over.
I do a lot of development on ubuntu personally, been trying to see how much remote development I can set up through a raspberry pi, since that's a very simple option too.
You wouldn't need to take an NVRAM backup when migrating coordinators, just a network backup. Which one did you do?
Because if you restored an NVRAM backup of a CC2531 onto a CC2652, bad things may start happening. They're very incompatible.
Have you tried ptvo.info for creating your on zigbee devices?
I have not
Have just created a zigbee soil moisture sensor, and for sure it is not as flexible as esphome, but fun do to some zigbee diy.
I need to look into this
I used this device with same form factor as lolin/wemos d1 mini https://www.tindie.com/products/gio_dot/z1-mini/
But you need to flash it with CC-debugger or similar. Is not possible to flash that device over usb.
It's unfortunate that you can't actually write your own firmware for the CC2530 unless you buy an IAR Embedded Workbench license. The hardware is cheap and is capable enough to be a simple end-device even if makes a poor coordinator.
I took both backups only the network was able to restore. But eventually i ended up with removing the intergartion and added the zha again with the new stick and re-pair all the devices one by one
Do you mean that you did try to restore the NVRAM backup?
i have tried it but that did not work. I'm running a VM so i revert the snapshot that i took and start again.
In that case, your CC2652 may be in a bad state. The NVRAM backups are not compatible across chips.
They have completely different architectures
I suggest you take a network backup (not nvram), do an NVRAM erase, and then write back the network backup to ensure you don't have any CC2531 remnants in your CC2652 NVRAM
ok, does that mean that i need to pair my devices again?
No, that's not necessary
pwieeeeew
If I'm understanding correctly, you took both an NVRAM and a network backup of your CC2531, right? You then restored the NVRAM backup to the CC2652 and then tried to restore the network backup but that failed?
took both backups restore from network worked properly but nvram did not restore
Ah, I see. You only had to do the network backup. The NVRAM stuff isn't necessary.
Do you have access to your home-assistant.log file?
ah ok, i will see how the stick operates this week and otherwise i will do a nvram erase
yes i have access to my home-assistant.log file
Do you mind PMing it to me (or just the [zigpy_znp.zigbee.application] Network settings section if you don't want to send the whole thing)?
I have this generation 1 smartthings motion sensor I’m trying to repurpose now when they bricked their hubs. It pairs ok in ZHA but for some reason it only works as a repeater, no motion sensor attribute shows up. Anything I can do to fix that?
hello i hope here is the right place to ask my question. So i have a new Aqara Wondow/door Sensor with zigbee and i use zigbee2mqtt but the Sensor (lumi.magnet.acn001) is not supportet how can i use it now. i m still a newb so i don t know what i can do xD
It might be supported in the dev branch of z2m already
If not adding support for new devices is fairly trivial
@jolly narwhal is there a good guide for it you could recommend for that?
ESP-01 and espeasy does that IIRC.
If TTL serial is good enough. For actual RS-232 you'd need something beefier
For two way communication the Global Cache IP2SL bridges are very reliable but not exactly cheap. I've got an example of using ESPhome for one way control of my HT projector using custom Home Assistant services if that is any use.
Hi guys
I have a conbee II paired with ZHA. It's been working great for a number of months
I haven't touched my settings over this time.
recently I added an opening sensor and suddenly my whole zigbee network is experiencing a delay.. It's not terrible, mayble 200ms, but definetely something has changed
has anyone experienced this issue?
in fact I added the devicet and removed it a few hours later
would it be better to have a Conbee in horizontal or vertical position for the highest range?
Heyy guys i have a problem. i put my home assistant server on a vm, i loaded a backup and everything is Woking but deconz is braking after a few hours every time i start it and i found a solution for the Raspberry Pi to change die boot config.txt but i can't find anything for the vm
@surreal tartan posted a code wall, it is moved here --> https://hastebin.com/firufufade
thanks @austere patio for helping me out yesterday. Eventually i ended up by adding a usb 3.x controller to my vm on ESXi.
Hi guys,
I have homeassistant with a conbee 2 stick attached. Have worked without issues for 2 months. Then suddenly yesterday, out of nowhere, the conbee stick is shown as "Firmware not connected" in the phoscon app and no lights/sensors work. Anyone have any suggestion on what to do?
I am exactly in the same situation. Did you get somewhere ?
Hey, I went on a small journey where I encountered some massive egos and not nice people...but kinda....I sent the rasbee back as not working and used the refund to buy the usb equiv (conbee). Worked first time. So...no I didn't get it working, but yes I solved my problem.
Just come to the dark side, electrolama and zigbee2mqtt 
It is the bright side.
We have incredibly stable ZigBee networks 
From what I understood you need to test if your raspbee isn't actually dead. That entails installing it on a fresh Linux installation and installing manually... If you get life, flash with latest firmware and then reinstall to your haos and cross your fingers. I'm time poor, so was too much for me do if it did not work.
Will look it up :)
Hi guys, i'm using a Conbee 2 stick with ZHA. I have a Tuya TRV that is not supported, I got the most basic functionality working (setpoint and teperature value) with a custom quirk (https://github.com/zigpy/zha-device-handlers/blob/master/zhaquirks/tuya/valve.py), by trying other manufacturer that have the same clusters supported. How do I best continue from here to get more functionality working?
anyone tried using a hue motion sensor with zigbee2mqtt and a CC2531? I can get it to bind but and report occupancy & illuminance but temperature just reports as null
@empty topaz i have a CC2531 and temperatur is working for me. i did nothing special just pair it and it s fine 🙂
My condolances to you both
Hello, I am relatively new home automation. I am lost trying to pair IKEA tradfri remotes (5 button one as well as the switch). What confuses me is that the initial pairing worked great using zha and home assistant. But than I got a problem with my usb zigbee dongle (CC2652P) and ha to reset its NVRAM. Now, I can pair light bulbs and motion sensor like before. The ikea remotes are just dead. They do not react to any buttons at all. I can neither pair them with a light bulb directly nor get them into pairing mode. Red led stays off. I tried 10 sec and 4x pressing of the pairing button. I am really lost and wonder if the devices are really broken. Any help would be highly appreciated.
I have those devices working with electrolama and zigbee2mqtt, so they should work, do you have another hub you can try pairing them to? I don't touch zha, so no idea how those logs work
are the batteries dead in the remotes?
The 5 button one was a pita to pair with few repeaters
But other than that they have been good
No, they are all fresh from ikea a week old. I have 4 of them. I did measure of the batteries just to be sure.
I have no other hub. I am thinking of pairing them directly with the ikea light bulb. But even this did not work on the first try. I am trying this again now. It really seems like zha pairing "broke" the reset/pairing option, which seems very strange to me.
Yeah no idea, don't touch zha
Okay, i guess I will try to return them tomorrow than. What would you recommend? zigbee2mqtt looks good to me so far.
It is great
Okay, would have been good to know before. I was not aware you can break devices just by pairing them...
that seems highly unlikely
I agree, rechecking batteries, maybe they went to pairing and drained the energy. 2,2 V is quite drained from the 3V i guess.
That is quite low
yeah they're dead if they're at 2.2
2.7 is considered dead I would reckon
Yes found a new battery. that is it. Sometimes helps to meassure twice.
For traditional coin batteries
They probably died over night.
so @jolly narwhal you seem to know zigbee2mqtt i tryed to add a new device like in the guide but when i add the external converter file i get an error:
zigbee2mqtt@1.18.1 start /app
node index.js
(node:402) UnhandledPromiseRejectionWarning: internal/modules/cjs/loader.js:883
throw err;
^
Error: Cannot find module 'zigbee-herdsman-converters/lib/extend'
Thanks a lot! I feel a bit stupid now, i guess it is somehow not great if they loose connection to the main adapter:)
Just like a phone with bad reception it will drain battery
How are you running z2m? Docker or bare metal?
d||eez nuts||
i run it in home assistant as supervisor add on. is that bare metal? xD
so i guess i try to install it in a diffrent way than and get rid of the supervisor setup
the paths in the top of the converter file seem to be incorrect
not sure what the add-on version is expecting for that though
#449717345808547842 lifestyle here @stone monolith 
Managed to pair all remotes now with fresh batteries and zigbee2mqtt. I am trying binding now and while it seems to work, I get no reaction. Using home assistant works again like a charm now.
Zigbee2MQTT:info 2021-10-24 17:36:14: Successfully bound cluster 'genOnOff' from 'Remote Control Nord' to 'Lampe Küche Tisch 1'
``` It looks good but pressing on/off does not seem to work. Any tips?
Well, it probably does work
But you need to listen for the event
It doesn't change the state @mighty river
z2m exposes an action and/or click entity for remotes unless you have that feature disabled
i'm thinking they're saying the binding appears to do nothing though
I am not sure I follow. The way i got the docs it should work without z2m: https://www.zigbee2mqtt.io/information/binding.html
But apparently i miss a part.
I want the light bulb to listen to the event.
not all devices support binding, and i'm not sure if z2m would refuse to bind to a device that doesn't support binding
you could try creating a zigbee group in z2m, adding the light to that group, and binding to that group instead
Yeah, binding I have found... Not very stable or useful for me
I just use the button presses in HA to do stuff
Which is instantaneous
I will try, thanks and yes using HA is fine with me, but having it work with HA being down would be a nice bonus. Especially while still setting up, playing around and not all is stable:)
Your HA is down? Ever?

But seriously, in the three years I've had HA it's been down less than 60 minutes total, and all of those were my fault
Ah, it is always my fault. Still having it run on docker on my laptop so far 🙂
I thankfully have.... 5 or so hosts that can run HA in case the current host is down
Or if I need to do maintenance
@jolly narwhal im just wondering what hypervisor are you using?
Well... Currently I only use KVM for anything in production
But my labs are pure vsphere
Most of my stuff is docker these days
with a group in between it works great.
Does anyone know the exact way to get a hue bulb paired with a zigbee stick?
I've been trying seemingly random methods all morning but they don't seem to work from one bulb to the next.
Well....
The absolute best way is to use a dimmer remote
In my experience
Hold it close to the bulb, press on and off until it blinks, now it resets and connects to another coordinator
Did this... 2 months ago when I finally ditched my hue hub that only my wife's office lights were connected to
Yea, I've gotten that far.
It's the getting it connected to the new stick that's the issue
It will do that automatically when it is reset if another coordinator is in pairing mode
I can't seem to figure out how to get them to show up
and then it will just randomly pair like 10 minutes later and I'm not doing anything
I can only speak for zigbee2mqtt, and there if I just have pairing enabled it will automatically pair when I power on a new bulb / reset an old bulb
What coordinator do you have? And do you have a strong mesh?
It's a HUZB stick
I've gotten two so far
Then it should be fine
What is your ZigBee software?
Maybe I'll trying putting the stick into searching mode and then reset the bulb
I've been resetting the bulb then searching
where do I find zigbee software version?
Well.....
Zha, zigbee2mqtt, something else?
Searching makes me think zha, which I don't touch
No idea how to troubleshoot then
But I keep z2m in pairing mode while I reset the bulb
Sorry I was thinking you meant like a version number or something
Yea I'm going to try that this time just to see if it makes any difference
Don't release the buttons of the dimmer before it does the final flash
Hue are the bitchiest bulbs I've used, thankfully I only have like three
I can get the regular bulbs through my work for 5 bucks each
I don't use the color bulbs or anything
nice. well thanks for the help. at least i've got a few new ideas now to try lol
yea that didn't work either. I guess it just has to wait and then do it randomly for whatever reason
Are you permitting joins via the blue "add devices" button (or whatever it's called) in the bottom right corner of the screen, and then resetting a bulb within 60s?
OK, that will not work for me either. I have 2 homes, 2 home assistants with Rasbbee, one is working fine, the other not 😦 Have bought the thing some month ago, not sure I'll manage to send it back 😦
i've conbee II as zigbee controller and i'm having issues w/ Aqara vibrator sensor.
I had to set up as update value 2628000000s in order for my vibrator sensor to not into Unavailable state
however w/ such value the battery of my sensor went from 100% to 80% in less than 5 days.
how do you manage such case?
at the moment my exprience w/ ZHA is really poor
I haven't gotten around to play with my vibration sensor much yet
But it has no disconnect issues with z2m
Do you have a strong mesh?
And is the sensor in a fixed position?
@jolly narwhal what do you mean for strong mesh?
yeah the sensor is in a fixed position - inside my mailbox
Do you have a lot of mains powered ZigBee devices?
Also close to the mailbox
And is your mailbox made of metal?
yes mailbox made of metal
no just one zigbee device
conbee II and one zigbee - the vibrator that's it
For my mailbox setup I have a Zigbee bulb in an outdoor fixture nearby
You might want to look into lora instead, and place the sensory device on the outside of the mailbox
LQI is only a rough estimate of how "good" a connection is. It's also not standardized, so I'm not sure how the Conbee calculates it.
Rssi below -75 is just rubbish
Regardless, Aqara sensors really have no configuration in terms of updating. They send updates whenever they feel like it, at least once per hour. If your sensor becomes unavailable and you have no other router devices, somehow its periodic heartbeats are not being received by the Conbee, so either it's not sending them due to a bad battery, or you need a router to actually relay the packet reliably
One device, battery operated is not a good start for ZigBee
I believe the ZHA default for end-devices is a few hours at least, so your Aqara sensor going unavailable means that you've missed more than a couple in a row
Do you have any outdoor lights near the mailbox?
Just replace the bulb in that fixture with any Zigbee bulb, figure out a way to get people to not turn the switch off, and you're good to go
Move it onto the Conbee mesh and rejoin the Aqara sensor to specifically that bulb
it's automated via home assistant + hue bridge
but moving the bulb into the conbee mesh will move it outside of the control of philips hue bridge?
It will but you can control lights directly with ZHA
yeah I see. just asking to understand the fatigue to move everything and reconfigure to ZHA. i have an house with 45 hue devices
will require a certain work though
so i would like to start to solve this problem and then move ahead little by little and avoid disruption for the family
Well, a single light shouldn't be that much trouble as long as you don't have it bound directly to a switch on the Hue network. If you use HA for your automations it may be as simple as changing the entity name.
make sense
let me try then. thanks a lot guys for the gold recommendation
i will let you know
Where was that site that showed a bunch of different types of Zigbee compatible sensors/devices?
Is there a way to force a device to use a particular router? I've got Ikea Tradfri on/off switches that die in hours when they connect to the coordinator but work perfectly fine when bound to a router.
you can join it through a specific router, whether is stays with that router or not is up to the devices.
with ZHA you do this from the router's device page
Yes, that's what I do, but eventually it changes to the coordinator and then the batteries just die. Is there any setting to stop a router or coordinator from binding to more devicces?
This sounds like the old EZSP bug
where's mono? I kind of miss him around
Is this a bug that's supposed to be fixed or that still exists? Because I've got everything updated: latest version of Core, EZSP firmware 6.7.8.0 I've gone through 30 coin cells in the last 6 months. It's driving me crazy.
Damn
30 coin cells???
I'm not sure though...I use a CC2652-based coordinator
I've seen (and participated) in this thread: https://github.com/home-assistant/core/issues/43969 but I don't see a solution.
Ikea sells coin cell batteries...coincidence? I think not
😄 haha
You could disable children on the coordinator, forcing it to rely only on other routers:
zha:
zigpy_config:
ezsp_config:
CONFIG_MAX_END_DEVICE_CHILDREN: 0
I've never been able to replicate this with any of my IKEA devices with a HUSBZB-1 or any other coordinator
Thank you! I think I saw this somewhere but I couldn't find it.
This should have been fixed a while ago by https://github.com/home-assistant/core/pull/48667
When you replace the batteries, do you just put a new one in or do you hard reset the device and re-join it to your network?
Hard reset and re-join, followed by a reconfigure.
Which coordinator are you using?
HUSBZB-1
With this firmware? https://github.com/walthowd/husbzb-firmware/blob/master/ncp-uart-sw-6.7.8.ebl
Yes.
I'll give it another shot. Are your IKEA devices running the latest firmware as well?
I think so, at least OTA was set up for them. I'm changing the batteries and reconnecting now. Is the firmware version on the device info page?
If you have IKEA OTA enabled then they should be
The reported firmware is 0x22010631
Ok, I tried the childless setup. Let's see how long this lasts.
When I had only 60 bulbs it took me roughly 45 minutes to repair all of them
I'm running zb2mqtt with a CC2652RB stick in the basement of my house, hooked up to my home-server. since my home-server is in the basement and behind a steel-door, connectivity of my zigbee coordinator to everything else is very bad. there is no sensible place where i could add a router in between. I wonder which other options i have? currently i'm thinking on adding the stick to a PI and let the pi sit in a better place. Are there any other options for me? I really don't want to add another system to my home (the rpi) that i need to manage, as i already run a home-server that works fine and where i can easily add dockers. thankful for any hint!
Tube sells network connected CC2652 coordinators
Sure, but he has a waiting list
You can in the short term likely fake it with some USB over network software on a Pi centrally
one question: if i would switch to a pi with my stick, would i have to install tb2mqtt on the rpi itself? or could i run it on my home-server still and somehow connect zb2mqtt remotely?
The easiest approach is to run Z2M on the Pi (in Docker)
yeah, thats what i suspected. i would rather not want to do this (because of the devops overhead)
USB/IP is another option you can explore, but you'll still need to manage that host...
sure. ok, will take a look. regarding adding another router. is it bad to make every zigbee device make one extra hop? if it remains in the basement and i add another router, each device would need to travel through that router first to reach the coordinator
A single further hop is largely irrelevant
ok cool
ser2net might at least be fewer overhead than having to manage a second docker. https://www.zigbee2mqtt.io/how_tos/how_to_connect_to_a_remote_adapter.html
Eh, the overhead of managing my pi running z2m is so negligible that I don't even take it into account
Just do an update whenever I feel like it
I Even run dev branch of z2m and I never have hickups or issues
It can be running for months without me interacting
@jolly narwhal made the new configuration discussed yesterday and now the RSSI improved of my vibrator sensor and for the moment the last seen is updated regularly
@jolly narwhal sure. it's just more hardware/software that might fail. i want my home-net to be as stable as possible. my homeserver has everything: ups, backups + rollback, automatic updates. it would be convenient for me. anyway, my only options seem to be more hardware in form of a good positioned router or pi with my usb-coordinator.
To get started with z2m should I follow the instructions on https://github.com/zigbee2mqtt/hassio-zigbee2mqtt and add the add-on repository? Just want to be sure before I add non HASS repos.
Well, start at https://www.zigbee2mqtt.io/#getting-started, which links there if you use add-ons
Okay, then I am on the right track; I indeed use add-ons. thanks for confirming.
After installing the MQTT add on as well as z2m and configuring the TI stick through autodiscovery, I am getting the following (repeated) error while starting z2m: https://hastebin.com/rubiwenohi
Error: Error Resource temporarily unavailable Cannot lock port
Something else is using the port you specified
What did you tell it to use?
The ACM0 port, must be the zwave stick. Ssh into the device and list them?
If you have add-ons, you have a hardware menu in the supervisor
Use the /dev/serial/by-id/ path shown there
Using /dev/tty* means you get pot luck on startup as to what device is what
Where in the supervisor is the hardware menu?
No idea, don't use it
Click around, it'll be there somewhere, maybe hidden in a
menu
I was unable to find the hardware menu. But the terminal plugin shows me /dev/serial/by-id/[...]cc2652rb[...] etc. I'm feeling confident that is the new one 🙂
Makes sense, -85 is basically static
Yeah, my pi is running an industrial SD card and connected to my distribution switch UPS, so I expect it not to fail the next 5-10 years unless I do something stupid, and if I do I have spare SD cards and a backup every 4 hours
The add-on starts no problem now, but when trying to connect devices I start with clicking the "permit join (all)" button, which gives the following error Request 'zigbee2mqtt/bridge/request/permit_join' failed with error: 'SREQ '--> ZDO - mgmtPermitJoinReq - {"addrmode":15,"dstaddr":65532,"duration":254,"tcsignificance":0}' failed with status '(0xc2: NWK_INVALID_REQUEST)' (expected '(0x00: SUCCESS)')'
Oh, scratch that. I am getting start-up errors again.
Following the instructions in the linked FAQ now.
For some reason a >- is added to the yaml when the add-on starts is this a bug?
port: >-
/dev/serial/by-id/usb-Silicon_Labs_slae.sh_cc2652rb_stick_-_slaesh_s_iot_stuff_00_12_4B_00_23_93_3B_6C-if00-port0
No, it's not
That's a multi-line entry
So it was adjusted for being over-width?
And the - is the strip op which removes the whitepaces at the end. Okay. But I am still getting that error.
Do I need to somehow give the z2m instances access to the HW device anywhere else (aside from its config zigbee2mqtt.yaml)?
Found the hardware option btw, it was also in the x2m doc: Supervisor → System → Host system → ⋮ → Hardware
Okay, I'm pretty stuck. I tried the FAQ, from SSH I have permission to access the device (of course), but I do not know how to test if the add-on has permission so I am assuming that it is good.
I have an CC2652RB stick and I am trying to get it to work with z2m. It is pre-flashed with z2m as far as I am aware. However I am getting the following error:
Zigbee2MQTT:error 2021-10-25 13:17:09: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
The add-on is nice enough to report to check the FAQ, which I did; but the action in there did not resolve the issue.
I'll give it a shot
Now I am not getting an error in the logs. But I am getting 502: Bad gateway on the web interface.
And we're back to errors:
First: Error: network commissioning timed out - most likely network with the same panId or extendedPanId already exists nearby
Then: Error: SRSP - SYS - version after 6000ms
Finally: Error: SRSP - SYS - getExtAddr after 6000ms
And then it loops back around.
Rebooting the pi to make sure nothing from the old attempts stuck around.
Same error: Zigbee2MQTT:error 2021-10-25 13:50:16: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
I flashed slae's own fw which has an activity led and it is blinking when z2m tries to interact with it, so z2m has access to the device.
Try it on a non HAOS system
So install z2m on windows for example yeah?
Well, no
There is no windows version afaik
A random Linux machine will do, probably a Linux vm with usb passthrough too
I have a linux laptop (well dual boot) so I'll try on there
I'm on it, ill @mention you when it is installed and running (or not)
🦴 🇷
I did not set up an MQTT server, but I am seeing "coordinator firmware version" in the log output. Which has me believe it is working.
Sounds plausible yes
Yeah, the hass version is not getting to that point.
So it's either something in the config (which are default except for the port). Or in my homeassistant setup. Any ideas where to look from here?
It'd be add-on related - not HA
I'm not blaming HA, I meant it as in, the stuff I have installed or configured on HA.
No idea how to troubleshoot add-ons, i stay away from that crap, but #add-ons-archived might be able to get to the bottom of it
ahrg, ser2net just insists to not work
I figured it out. When I did the configuration through autodiscovery. I think that was the ZHA integration picking up on the stick and blocking it from use by z2m...
Okay! I see a device in the z2m UI. How do I get HA to see this device as well?
the stick itself? it won't show up in the z2m UI
No, a hue wall switch. It is in the z2m ui. but not in lovelace (or HA)
oh sorry, i misunderstood your question
do you have an MQTT broker set up, and is z2m and HA connected to it?
also make sure HA discovery is enabled in configuration > MQTT > configure
I'm using the mosquitto add-on. ButI think I ignored the config once, and while I un-ignored it the auto set-up is not popping up anymore.
you need both a broker (the addon in your case) and for HA to be connected to it
go to configuration > integrations, click the + in the lower right corner, and select MQTT
The auto config did not require a username/password, the automatic one does seem to need one. Shall I configure it or am I on the wrong track?
i'm not sure what you mean by that
So when I tried it earlier (before removing the integration) HA detected the MQTT broker and configured it automatically, without requiring me to enter a username and password. However, when I go configuration -> integrations -> Add integrations -> MQTT I need to supply a username and password.
Should I edit the Mosquitto add-on with a username and password, which I can fill in for the integration. Or should I not need a username and password. If so, what am I doing wrong?
username/password is optional, so it's up to you
Okay, so why is it not working without them?
then that means one is set with the MQTT broker
and allow_anonymous is false
i think the addon by default uses your HA creds
I'll manually set a pair for simplicity then.
or just try your HA creds
Still getting failed to connect.
then either the host/port is incorrect and/or the username/password is incorrect
Is the broker field the host? I thought it was the common name 😅
Facepalm.
That's it.
Okay, HA-Mosquitto is connected Mosquitto-Z2M is connected.
Now how to get the device to appear through this connection.
make sure HA discovery is enabled in the MQTT integration (configuration > integrations > MQTT > configure) and in z2m
if you're using the z2m addon i would imagine the default is true, but 
So that would involve subscribing to the "zigbee2mqtt" topic?
No

