#zigbee-archived
1 messages Β· Page 39 of 1
Iβd run 1 HA instance, one MQTT instance, and two Z2M instances.
how can i run 2 z2m's ?
Docker.
the addons are singletons?
Donβt use Addons.
oh so manually set it up?
Run one Z2M on a bare pi.
well tbh in essence i have that now
the 2nd ha instance in effect manages that via the addon
No, you have way more than I described.
so when remote_homeassistant wasn't pulling in all the entities... i tried to brridge the mqtt's
i know i have more... the more doesn't bother me π
if i can get the 2nd z2m to talk to the main mqtt broker instead if its local one.. i'd be happy
Well, itβs sub ideal not because it should bother you, but because itβs complicated and unreliable.
it's already installed
:0
the distance between that and staeting with a fresh install of a new os
figuring out docker (i dont iknow docker - i never use it normally... i've avoided it for years - happy with chroots)
π€·ββοΈ your stuff. I wouldnβt tradeoff long term maintance issues to avoid a single reinstall.
You could run Z2M in a chroot
and getting all of that working vs managing to get what i have now to glue in differently... the delta to me seems less work to work with what i have π
ok
a reboot now has no available entites...
or almost none...
but that aside...
my main ha instance is now broken...
π€
z2m sees the devices - go it its web ui and i can turn on/off some lights i see
problem is now z2m is seemingly not getting ha itslef to see them
z2m is showing me publish logs to mqtt
Sounds like itβs an issue with your architecture. Either you have issues in your MQTT broker, in the two HA instances talking to the broker, or in the link between the two HA instances.
if it couldnt connect it'd be complaining bitterly with red err boxes π
i dont have the 2nd ha instance involced atm
How many MQTT brokers?
Use MQTT explorer to see the messages it publishes.
Make sure that Z2M and the HA MQTT integration agree on the prefix.
MQTT Explorer | An all-round MQTT client that provides a structured topic overview
run it on my pc and connect to mqtt broker on the pi?
Correct.
got it
Might be a good time to read the MQTT docs on the HA side.
just checking - sometimes its another addon or something else
well i've been googling...
and landing on various mqtt pages on ha's www
but for now nothing useful π
Read the discovery section.
You can pair a device (unpair and repair) and you should be able to see the messages described in that section published. Thatβll confirm that Z2M is working or not, and let you focus on the HA side.
ok- z2m is publishing lots to the broker
so ... z2m -> broker seems fine
so its ha -> broker thats a problem
Sorry to interject, I just got a quick question: Is there a good way to figure out why some Zigbee devices just become unavailable? I've got a couple that just stop being available a few minutes after being discovered. As far as I can tell, it's because another device in-between acting as a router also became unavailable, but I have no idea why that happens. The routers are Sonoff S31 Lite's (in Zigbee flavour, obviously). I'm using the official HA Zigbee integration with a HA Yellow box, not Z2M
@hushed tundra it happesn to me too - and i've never figured it quite out... π
anyway so my problem seems to be ha-> mqtt... hmmm
π I was afraid that'd be the answer
I'm guessing part of the problem might also be that the device itself holds the key to why it decided it should drop off the face of the earth
@naive summit is there a way to start a config for ha's mqtt integration from scratch so i get defaults back and can maybe make it work?
When you say "becomes unavailable", do you mean that the state shows "unavailable" a few minutes after it newly joins?
Delete the integration.
Reinstall.
Not the addon. The integration.
Yep. And they never come back either, just stay unavailable for eternity until paired again. The router they are connected to also becomes unavailable at the same time, but that one tends to recover almost immediately. The end device just never comes back
and when i re-add ... which mqtt do i pick? it gives me 6 options...
mqtt, manual qtt alarm control panel, mqtt eventstream etc. ?
@naive summit btw - amazingly i'm seeing mqtt publishes for devic ed i dont have on my network... which is interesting
certainly z2m does not list them...
they are offline... but still beiing published
wait ... all my z2m is under topic zigbee2mqtt - shouldnt it be under homeassistant ?
Slight tangent, but I got an rtl-sdr sniffing for some old door sensors that came with the house. I have since found out that 433mhZ is also the frequency my neighbours smart home screams, so I can see him change lights, move his blinds and what not. I've been meaning to try and see if there is a possibility to replay attack those π
Hi! I think my Sonof USB dongle has died. I reflashed it after it stopped working after just a normal reboot of HAOS.. Im getting these errors now. https://pastebin.com/T2PgfKjs . Is there anyone with some revival methodes i could try? The reflashing i tried with the Texus software and the python script.
PS. i already ordered a new one.
haaaaa well well.. i added discovery_topic: 'homeassistant' and status_topic: 'hass/status'
and now it works... how on earth did that get lost?
Hello peoplers, my aquara motion sensor wont stay connected with my zigbee2mqtt setup even though my zigbee router supports it 100% and it should work according to google
@hushed tundra i hope your neighbor doesn't believe that the solution to hackers is a baeball bat... as that is quite effective security π
He's also a C++ programmer. Worst thing he can do to me is add more segfaults to my code
@hushed tundra he might be a c++ programmer also with baseball bat π
who knows.. maybe he already added the segfaults and is waiting to remote-trigger them π
Eh, I ain't afraid of a fellow scrawny dude who's afraid of the sun
Also unlike him, my garage door isn't smart and screaming into the ether, so he can't just come over anyways π
Thatβs configurable.
Never got those to be reliable personally.
Aquara stuff is kinda notorious for spotty implementation quality. Their door sensors have been 100% for me, motion sensors not so much.
but you managed to connect it at least and test that it worked?
Yeah. They worked for a bit then fell off.
hmmk where does remote_homeassistant store its yaml... it seems its gui is broken...
Any integration set up in the UI doesn't use YAML
#integrations-archived can help with that though, it's unrelated to Zigbee
No, only the discovery topics should go under homeassistant/# (or whatever you define the HA MQTT discovery topic to be in both the MQTT integration)
ANy recommendations for a USB in wall controlled outlet, hoping to control the USB for a wall panel as to not overcharge it constantly
You might need a standard switching outlet + usb power brick
ok, was hoping to hide it behind the panel
I saw one person do that with a zwave outlet + low profile usb brick
But I'm sure there are zigbee wall outlets
I ran a 5v line from the basement so I could put the outlet far away from the tablet
My bsement is finished, and it's next to the elevator so a lot of extra structure
Well no hole yet, but I think I could get a deep box in the wall, it's the main loadbearing wall
maybe a deep non-smart outlet then something like a hidden smart switch?
I mean just a smart outlet + any usb brick that'll fit would prob be the smallest
There's not much in the way of 'smart usb bricks' that I've seen
Unless you #diy-archived an esp + relay with a 2-port brick lol
https://www.amazon.com/Zigbee-Dual-Mode-Control-Automation-Compatible/dp/B09PRHHNX4/ they have the same in zigbee, your choice really
right, then connect that to the outlet, should work.
That would make a dumb outlet smart yeah
Make sure itβs UL rated if itβs in a wall.
My father, who does medical hardware stuff, said he only trusts UL given how much more stringent they are.
YMMV
Hello all,
having issues with skyconnect, everything worked perfect and this morning is like that:
Error setting up entry SkyConnect v1.0, s/n: acd85f589214ed11b7b6be8be054580b - Nabu Casa for zha
Traceback (most recent call last):
File "/usr/local/lib/python3.10/asyncio/tasks.py", line 456, in wait_for
return fut.result()
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
File "/usr/local/lib/python3.10/site-packages/bellows/uart.py", line 260, in reset
return await asyncio.wait_for(self._reset_future, timeout=RESET_TIMEOUT)
File "/usr/local/lib/python3.10/asyncio/tasks.py", line 458, in wait_for
raise exceptions.TimeoutError() from exc
asyncio.exceptions.TimeoutError
can anyone help me?
For whatever reason it just wasn't publishing there... does now (under homeassistant)
this happens now continually. new cc2652p (sonoff zb3 dongle). i tried flashing the latest fw (succeeded - used the python script: cc2538-bsl.py --bootloader-sonoff-usb -e -w -v --ieee-address 00:12:4B:00:2A:1A:A4:83 CC1352P2_CC2652P_launchpad_coordinator_20221226.hex ) and it wrote/verified and all good... but i just can't get the dongle to work... i see this all the time:
error 2023-03-14 10:12:00: Error while starting zigbee-herdsman
error 2023-03-14 10:12:00: Failed to start zigbee
error 2023-03-14 10:12:00: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
error 2023-03-14 10:12:00: Exiting...
error 2023-03-14 10:12:00: Error: SRSP - ZDO - startupFromApp after 40000ms
gee - after trying to restart it dozens of times... it finally started. why does this happen? what goes on here?
I've got a fairly large zigbee network, and I'm trying to flash a Sonoff ZBDongle-P with the router firmware. No joy. Can someone help me diagnose?
I've removed the case, hold the boot button and press the reset button, then execute the steps in the Flash Programmer 2 according to the Sonoff doc.
result:
>Reading file: C:/RPi/HomeAuto Files/bin files/CC1352P2_CC2652P_launchpad_router_20221102.hex.
>Unknown record type: 3.
>Reset target ...
>Reset of target successful.```
@patent geode i just flashed a sonoff dongle-p - but i used the python tool. it worked fine.
which python tool? cc2538-bsl?
yup
cc2538-bsl.py --bootloader-sonoff-usb -e -w -v CC1352P2_CC2652P_launchpad_coordinator_20221226.hex
i unzipped the latest firmware i could find
i did it on linux though - just had to also install python-pyserial and python-magic
and you run that from a command line from the location where the .hex is, right?
Yeah, I've also got the windows barrier to overcome
yup
well i ran it from the git clone dir
and just unzipped the fw zip file in that dir so it unpacks the hex file
but it worked - no ned to press a button to go into bootloader mode or open the case
so what dumb thing does windows require to make that work. I do have python installed, so I've at least got that going for me.
the days of "linux is so hard - windows just works" have kind of flipped a bit... some things are certainly more "it just works" on linux
but i understand that the python script can also work on windows... but it just may be harder to get python installed and working.
and i can't say what windows needs.... i never used windows. like ... i've managed to never use windows or macos for decades π
you could also try using WSL on windows to get a linux distro installed and use python in that too... it might be easy enough
OK, if all else fails I'll take it home and run it on my rPi or maybe spin up a linux VM outside of my HA Server
yeah those might work for you too
but the flashing was a breeze with the bsl tool - my issues came after when the thing just wont connect with timeouts all the time...
it got over those eventually after an hour or so of restarts of z2m... i'd dearly love to know what is going on
I'm getting somewhere...I hope this helps someone else.
I ran the same command as below and it told me to run "pip3 install pyserial" so I did and that worked.
This happened when I tried it again:
sonoff
Opening port COM21, baud 500000
Reading data from CC1352P2_CC2652P_launchpad_router_20221102.hex
Your firmware looks like an Intel Hex file
ERROR: Firmware is Intel Hex, but the IntelHex library could not be imported.
Install IntelHex in site-packages or program your device with a raw binary (.bin) file.
Please see the readme for more details.```
Yeah, when I was first getting my Z2M going it seemed to take forever.
'pip install intelhex' and then running the same command got me this:
sonoff
Opening port COM21, baud 500000
Reading data from CC1352P2_CC2652P_launchpad_router_20221102.hex
Your firmware looks like an Intel Hex file
Connecting to target...
CC1350 PG2.0 (7x7mm): 352KB Flash, 20KB SRAM, CCFG.BL_CONFIG at 0x00057FD8
Primary IEEE Address: 00:12:4B:00:24:C2:64:84
Performing mass erase
Erasing all main bank flash sectors
Erase done
Writing 360448 bytes starting at address 0x00000000
Write 104 bytes at 0x00057F988
Write done
Verifying by comparing CRC32 calculations.
Verified (match: 0x9877ee56)```
@patent geode looks like you did it π
Yep, thanks for the assist
np π
glad to actually be helping rather than just asking q's
tho damn... with an update fw i jyst cant pair these bulbes. my sonoff goes into 6000ms timeouts and falls apart when i triy
maybe they are trying to connect to the coordinator and its 32 slots are full?
Hello. Can I get some help how can I connect a Zigbee Sensor to the closest router? I have my coordinator really far away, so the LQI of my selected sensor is between 30-35. Lot of times does not send Door opening. I bought a NEO smart plug what is working as a router in Z2M, Connected the Smart plug halfway between the coordinator and the sensor. LQI of the router is 140. Now as I learned Aqara sensors cannot change router only when its re-added to Z2M, so I re-added it 2-3 times after trying a lot of times, but never connect to the close router, always to the coordinator. Any help from your experiences? Thanks !
Use the arrow to the right of the 'permit join' button to choose the router you want
Thank you very much. Perfect solution for me. I'll test it! β€οΈ
It works π
Its really good. Its working now.
150 LQI. Much better π I really appreciate your help.
Ok, so I'm 99% sure that my HUSBZB-1 Z-wave/Zigbee stick is broken. I need to replace it. Should I just buy a new one? Or, should I buy a Zooz S2 Series 700 stick (Z-Wave) and a Sonoff ZBDongle-P ZigBee USB stick? The Sonoff is $21 from eBay. Are better prices available elsewhere? Are other products recommended?
Why do you think it is broken?
With the HUSBZB-1 plugged in, all of my USB devices on my Intel NUC stop working (lights turn off) after X amount of time. System->Hardware no longer shows any USB devices connected when this happens. the X amount of time is variable and does not seem tied to any events in particular, but typically occurs in less than 24 hours from a system reboot. A system reboot resolves the issue until the next failure. I have tried the USB stick in different USB slots, I have tried different USB devices, and various permutations: The system always fails after X time when the HUSBZB-1 is plugged in.
Does it otherwise work?
With no HUSBZB-1 plugged in, I do not experience the issue, and the system will run presumably "forever". I've tested it for 72+ hours now without the HUSBZB-1 plugged in with no issues, and have done similar tests a few weeks ago.
@proper kestrel I converted your message into a file since it's above 15 lines :+1:
This is what I see in the Terminal with 'dmesg' when there is a failure. The usb 2-7 device is the HUSBZB-1. It seems to fail, and take down the rest of the USB devices with it. For example, a simple dell optical mouse plugged in has its light go off.
"xHCI host controller not responding, assume dead" seems worrying. I'd replace it with two separate sticks, you'd get a decent performance improvement with the CC2652P
Thats.. ya, thats the Sonoff I mentioned, ok cool
This has been a pain in my rear for weeks tracking these issues down, lol. If the USB keeps failing when I plug new devices in, I'm just gonna toss this NUC and install HA on a little desktop I have laying around lol
Just the one. I think that the intel NUC has two integrated hubs, each leading to two USB ports. I have tried moving things around and various permutations including which ports/"hubs" get used. Up to three devices total, down to just the HUSBZB-1. Any permutation involving the HUSBZB-1 fails within a day or two. Any permutation without has lasted long enough (24+ hours) that I moved on to another test.
I've ordered a sonoff zigbee stick, and a zooz 800 zwave stick.
Sonoff makes/made at least 3 such sticks
so it seems that the sonoff sticks.... really dont fail gracefully.
i think... if you have too many devices paired (accidentally - permit all join so i was assuming devices would just pair to another router if the coordinator was full) the whole stick falls over in a big stinking heap and starts timing out all over the place
you have to fastidiously set up explicit routers (extenders) and specifically pair only with those ... zigbee definitely doesnt smartly re-jig the mesh properly... π¦
I recently got the Home Assistant skyconnect Zigbee coordinator, and replacing my existing sonoff is proving extremely difficult. I did the migration as directed, but only about 5 of my 20 devices will pair with it, and it was extremely difficult to get those to pair.
Since some pair, that means it's working correctly, but I'm wondering if there's anything I could be missing...
I might just blow it up and start from scratch. It's not too many devices.
Devices just won't join if there's no more room on the network. Regarding devices rerouting: it's ultimately up to the end device to switch parents, and some devices are rather "sticky" in that regard (namely older Aqara stuff)
gents, I'm trying to move all my addons to standalone docker containers on my unraid server, but for some reason, I can't access my sonoff key from my docker container
Are you running ZHA or Zigbee2MQTT?
Did you pass the device through to the container?
problem is the passthrough of the usb stick
well this is where I have an issue
the device is there and I can see it
"lrwxrwxrwx 1 root root 13 Mar 14 19:00 usb-Silicon_Labs_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001-if00-port0 -> ../../ttyUSB0"
so /dev/serial/by-id/usb-Silicon_Labs_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001-if00-port0 it is
in the docker container I select device and I do paste the above path
start the container
and....
Zigbee2MQTT:error 2023-03-14 19:08:12: Exiting...
Zigbee2MQTT:error 2023-03-14 19:08:12: Error: Error while opening serialport 'Error: Error: No such file or directory, cannot open /dev/serial/by-id/usb-Silicon_Labs_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001-if00-port0'
at SerialPort.<anonymous> (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/znp/znp.ts:146:28)
at SerialPort._error (/app/node_modules/@serialport/stream/dist/index.js:76:22)
at /app/node_modules/@serialport/stream/dist/index.js:112:18
How are you passing it through?
well, to be honest it'zs the first time I need to pass a usb device to a docker container
this is how I try to pass it
I assume that should work, though I don't use Unraid
@glossy lintel Can you show the output of this?
docker inspect zigbee2mqtt -f '{{ json .HostConfig.Devices }}'
If you have jq you can also add | jq at the end for some prettification
root@Tower:/dev/serial/by-id# docker inspect zigbee2mqtt -f '{{ json .HostConfig.Devices }}' | jq
[
{
"PathOnHost": "/dev/serial/by-id/usb-Silicon_Labs_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001-if00-port0",
"PathInContainer": "/dev/serial/by-id/usb-Silicon_Labs_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001-if00-port0",
"CgroupPermissions": "rwm"
}
]
there you go
Looks perfectly fine to me π€·
Yeah thatβs so weird
Iβve ran z2m as an addon on my HAOS vm
Then on a dedicated raspbian
No issues
And I am struggling for such a stupid thing now π
Hello everyone, I'm starting now in automations, I wanted to know the difference between a zigbee doongle and a zigbee hub, I currently bought a zemismart TZ-01 but I think I regretted it, can I connect this hub to the homeassistant without depending on tuya?
If its a zigbee hub it could be the same for example tube zigbee devices. Would suggest going with something like a dongle or tube (I prefer tube) and flash the current firmware. If you want to use the native ha zigbee you can also look for a SI chip dongle. Hubs like tuya is too limiting
Got a MOES AM43. Seems pretty good so far. Set limits on the device itself, works well with HA. A bit of backlash on the rope (not beaded) cord, so it might lose proper limits over time, will have to see. https://moeshouse.com/products/zigbee-smart-diy-motorized-roller-blinds-shades-drive-motor-hub-required-tuya-smart-life-app-control?variant=32737853079633
seems to be pretty much the same product as the aqara shade driver E1
may try 3d printing a better adapter at some point
powered by DC not USB-C though
came in 10 days from official aliexpress store to US, too!
seems to be some Tuya branding so YMMW π
Hi, I recently made the switch ZHA->Z2M. I was able to get a lot of my devices working fine but I'm having trouble pairing almost half of them. I see nothing in the logs, and I have checked https://www.zigbee2mqtt.io/guide/faq/#no-logging-is-shown-at-all.
What's weird is the devices that fail, some others of the same device pair fine. What I mean is one Aqara door sensor works, yet another a few feet away do not.
These all worked fine in ZHA.
Am I doing something wrong?
Z2M's ezsp driver used for this adapter is experimental
Anyone else getting an unexpected token in JSON at position 48 when trying to update hue devices with z2M?
I'm on Z2M 1.30.2-dev
Care to share the error message/logs?
that is the error. "Failed to check if update available for '' (unexpected token) in JSON at position 48"
anytime i try to check for an OTA update
ZHA seems to behave with 2023.3.4 update!
What was not behaving about it?
Did it not start up at all for you previously, because you had broken/outdated custom quirks installed?
Hi Guys, i got a couple of Aqara E1 smart switches which i setup in HA in the same group and binded both to the group using z2mqtt. In the dashboard, if i switch on/off the group, it will switch the 2 switches on/off. But if i switch on one of the switches, it switches on the group but not the other switch. Any idea what is the issue?
ok today I really need to figure out what's going on with that damn docker on my unraid server
this is driving me nuts
as a reminder :
root@Tower:~# docker inspect zigbee2mqtt -f '{{ json .HostConfig.Devices }}' | jq
[
{
"PathOnHost": "/dev/serial/by-id/usb-Silicon_Labs_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001-if00-port0",
"PathInContainer": "/dev/serial/by-id/usb-Silicon_Labs_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001-if00-port0",
"CgroupPermissions": "rwm"
}
]
in my configuration.yaml file :
serial:
port: >-
/dev/serial/by-id/usb-Silicon_Labs_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001-if00-port0
I mean, what the hell
result :
info 2023-03-14 19:08:12: Starting Zigbee2MQTT version 1.30.2 (commit #cdf62ea)
info 2023-03-14 19:08:12: Starting zigbee-herdsman (0.14.96)
error 2023-03-14 19:08:12: Error while starting zigbee-herdsman
error 2023-03-14 19:08:12: Failed to start zigbee
error 2023-03-14 19:08:12: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
error 2023-03-14 19:08:12: Exiting...
error 2023-03-14 19:08:12: Error: Error while opening serialport 'Error: Error: No such file or directory, cannot open /dev/serial/by-id/usb-Silicon_Labs_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001-if00-port0'
at SerialPort.<anonymous> (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/znp/znp.ts:146:28)
at SerialPort._error (/app/node_modules/@serialport/stream/dist/index.js:76:22)
at /app/node_modules/@serialport/stream/dist/index.js:112:18
I will create a forum post about that
who knows, maybe did someone encounter the same issue
hm well, I fixed it by totally removing zigbee2mqtt, made the install again from scratch, works...
i've noticed a combination of them not joining and of the coordinator falling apart. but i'm hitting problems at like 70 devices... so not a very high number. now i put in some more explicit routers (the ikea ones - not bulbs but the ones you plug into the mains that are actually little usb powered things) and i explicitly pair to those routers only - not to anything, i can expand more stably. i am guessing the coordinator was trying to pair and nothing else that was a router (bulbs) would bother and so it would not work and somehow the coordinator would fall apart. so i'm surmising it has to do with the coordinator table getting full of children and devices somehow not spreading themselves out automatically to other parent routers in the network, but no way for me to really know as i have no detailed network debug info.
Does anyone has experience with the skyconnect dognle, the multipan firmware and HA in a proxmox container? After I upgraded the firmware everything zigbee-related broke :\ I googled it but found only 1-2 posts with people who have similar problems, but no solution
Have ypu emabled the passthru of the device to the VM in proxmox?
Yeah debug logs would be helpful here
Hey dose anybody knows if SonOff zbmini (the one without neural wire) can be configured as a button only? (for activating scenes using home assistant) while the device it is connected to stays on at all times ?
Similar to how Shelly Switch can be configured as Detached Switch (switch is separated from the relays.)
Yeah, the stick worked flawlessy until I changed to zigbee/matter firmware
checked the passthrough, it's functional, the stick is recognized in HA
How did you switch firmwares?
Okay than. Change it back to old zb firmware π there is nothing much as end user ij thread yet...just my opinion
It seems like Zigbee2MQTT is unable to start because the specified serial port could not be found or accessed. The error message points to the missing or inaccessible /dev/serial/by-id/usb-Silicon_Labs_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001-if00-port0.
Has anyone tried the Tuya TS0601 air quality monitor with Skyconnect/zha? Mine connects but it only shows VOC, none of the other sensors show. Eg CO or temperature.
I got a skyconnect to replace my conbee 2, and it keeps reverting my sensors to "Unavailable" >
I get this in the logbook:
3:13:05 PM - 19 hours ago```
Showing as compatible here https://zigbee.blakadder.com/Tuya_RSH-AirBox01.html but no worky. What can I check?
What is the manufacturer string for your device? Tuya randomly generates them so if you got a variant that hasn't been seen before, it won't work without the corresponding quirk being updated.
Does the device show as having a quirk applied? Click on the device page and look at "Zigbee info". If there's no listed quirk, then it's some new variant.
Yep it lists Quirk: zhaquirks.tuya.air.ts0601_air_quality.TuyaCO2SensorGPP
I'm running in a container I guess I have to try and find that quirk in there
Hmm. If a quirk is matching, there isn't much else you need to do. Maybe try removing the device and re-joining it?
ok will try that. I tried reconfiguring a few times but not removing
Hmm am I doing something wrong? I removed the device - re-added. Only one sensor shows. Did reconfigure, and looked at details - all the sensors are there with green check marks, but still only one sensor is showing in the sensor list.
Hey anyone here managed to connect Wiser Smoke Alarm to home assistant? Am trying figure out how put it into zigbee pairing mode
From what I can see, VOC should be exposed for that device. You're running the latest HA version (2023.3.4), right?
hmm, there were some changes for this sensor: https://github.com/zigpy/zha-device-handlers/pull/1346/files
Apparently it was included in two quirks
Just check that you're running the latest HA for now
If it's still an issue, just create a new issue here: https://github.com/zigpy/zha-device-handlers/issues/new/choose
Make sure to fill out the issue-template (device signature/diagnostics) and mention that only the VOC sensor isn't working
Aha, thanks. I'm not quite latest (2023.2.5), I noticed there were some dashboard issues in latest major release so I was waiting a little.
Also sorry for missing one other important detail, VOC works, just no other sensore show up.
That should have been fixed in any 2023.3.x release
(If it's not, then just create an issue on that GitHub repo I sent)
I migrated over to my home assistant yellow last week, and suddenly Z2M stopped working and I'm getting this error: Error: Reset error: Error: {"sequence":-1} after 2000ms
No clue what happened and can't find this error anywhere online. Any thoughts?
Boom. Upgrade fixed it. TYVM.
Anyone have a Leviton zigbee dimmer that just won't bind to a group? I press the "Bind group" button in ZHA and it just spins indefinitely and then doesn't actually bind hte group to the switch.
Is there a way to set a max brightness for a light in HA? I use zigbee2mqtt and sometimes when i control a entire room my led strip gets too much
I want it at 15% max at all times no matter what
I have multiples of this switch, and only one of them I can't bind stuff to. The device signature is identical.
hi everyone
sorry i'm noob
i'm trying to connect Aqara magic cube to my HA using ZHA and Conbee II stick
i was able to connect and configure but when trying to listen to ZHA events i get nothing from the cube
any ideas what did i wrong or what could be the Problem?
Can anyone here recommend a purchase for an extension cable? Should I use USB 2 or 3? Or is it all the same take? Are absorber ferrite cores useful?
I've not seen clip-on ferrite beads make any difference but 3.0 is usually better shielded. Most 2.0 cables will work though, unless you're somewhere with massive amounts of interference. Any choice will probably be better than plugging it straight into a Pi.
Iβm using a conbee II and I canβt find the used usb version like on the skyconnect pageβ¦ to the 3.0 version: the skyconnect page also tell me to keep it away from usb 3 devices. But being connected to one is ok?
The 3.0 connector is backwards-compatible and has 2.0 pins inside, in addition to extra pins for 3.0. If your device is 2.0/1.x like the Conbee, it doesn't really matter what it's plugged into, since it won't use the 3.0 pins. But if it's near a device that is (like an external SSD, a USB 3.0 flash drive, etc.), that will cause problems
3.0 is much thicker (and more expensive) so it's harder to position. If you already have one, it'll work fine. Otherwise, just pick up any USB extension cable: if you were able to use the Conbee in the past, your RF environment probably isn't bad enough to require deliberate cable choices.
Does ZHA support setting occupancy_timeout for motion sensor?
Thanks for the good explanation! I bought an Amazon Basics 1m usb 3.0 that said βshielded again interferencesβ in the description.
I was able to use but itβs also plugged in a NUC that is inside a server rack together with a switch, a nas and my router. I think I created a literal hell for the poor stick
Hi! I'm hitting the same wall over and over again so I was hoping you guys could help
I'm installing Zigbee2MQTT to use the Aquara cube T1 pro
Zigbee2MQTT:error 2023-03-15 22:16:58: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2023-03-15 22:16:58: Exiting...
Zigbee2MQTT:error 2023-03-15 22:16:59: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms```
And my terminal looks like this
success```
How are you running Ziggbee2MQTT?
Add on π
And what coordinator?
core-mosquito
Damn, ummm
The coordinator is the radio thingy
AH! So my phisical USB dongle?
If that's what you use, yes
SONOFF Universal Zigbee 3.0 USB Dongle Plus Gateway
Gotcha! Thanks for the explanation, still wrapping my head around most concepts here
P or E version?
P version
And it's on a USB extension cable?
Pi 3, yep
Well, that's less bad, but still not good
It's not good? Do I need an extension cable?
default channel

I have an extension cable at hand, how does that change things?
Did you at least check to ensure that WiFi channel 1 is clear?
Yep, my wifi channels don't clash
It's in the pinned messages, but your computer is full of RF noise
You want to move the sensitive little radio away from the noise
Aha! Let me check those pinned messages
Gotcha
Makes sense
Thanks for that, I'll try it right away
Read the pinned posts.
-Extension cable installed
-Channel 11 double checked, no noise
One restart later Zigbee2MQTT started!
Would you recommend I still set another channel, key, and panID/extendedPanID? I have no neighbours
If you have nothing on overlapping WiFi then it's fine
Definitely set a new key, the default isn't random
Good to know!
Thank you so much for your help and patience!
That's all Tinkerer π
ola
am i right here? how can i change the data ratio (reduce) of datapoints? My battery dies too fast in these devices
Hello! Got my ZigBee Bridge Pro from Sonoff and flashed with Tasmota. Having trouble adding it to HA. Can't figure out how?
It is connected to WiFi and MQTT already.
ZHA is installed and working, but is only showing my SkyConnect.
SkyConnect, however, isn't able to connect to Zigbee devices for whatever reason.
I feel endebted to this community, especially to @sour shadow
nah, not true - for me worked instantly
I understand it works for others. I, however, had 4 devices in pairing mode within a 4 foot radius of the skyconnect. It saw one, tried to connect, but failed.
What is your base? ha hosted on?
works the usb connection?
ah sry you saw devices
hmmm π€
check the github issues ^^ you are not alone
I have 2 devices, each with 3 endpoints. In ZHA, when I make a group containing ep1 of device 1 and ep1 of device 2, if I turn any other endpoint of device 1 or 2, the group state changes to on. Apparently the group state is bound to the device and not the specific endpoints. Is it possible to change that?
Fyi both devices are identical
You're talking about a ZHA group?
You might be able to issue manual commands using the clusters UI or YAML (or zha_toolkit) to remove the other endpoints from that group
Although hmm, that might still cause issues
What exact setup do you have? (what devices, ZHA groups?)
Still looking for help setting up my Sonoff Zigbee Bridge Pro in ZHA.
Currently, it ZHA only sees my SkyConnect.
Huh?
You can only have one coordinator
Ok. Apologies. Not familiar with the terminology. If my SkyConnect is a coordinator, then I suppose I need to replace it with the Sonoff.
Why would you want to replace it?
Because the SkyConnect can't connect to Zigbee devices.
What do you mean with "can't connect"? Of course it can. Does the interview fail?
I mean, it's supposed to.
The. You likely have interference
But mine doesn't.
Used the (provided) USB extension?
4 devices in pairing mode, within 5 feet of the skyconnect. No connection possible.
Yup.
Then you likely have some other kind of interference issue (see https://youtu.be/tHqZhNcFEvA as an example)
One does consistently pair, but immediately drops the connection.
So it can connect to a device
What are you trying to pair? (likely still an interference issue you have)
3 small Sonoff devices, and a Kwikset Smartcode 914 with Zigbee.
The kwikset does pair, but as soon as it does, it goes unavailable.
Your SkyConnect is positioned away from anything metal, USB SSDs, access points/routers, and so on?
I have a Bluetooth Dongle, and 3 WiFi APs nearby. Plus I'm using my dryer as a shelf.
BT is 2.4 and can be an issue
3 APs too
And the skyConnect is laying down on a metal dryer.
This is why I want to use a remote Sonoff Bridge instead...
Itβs Wi-Fi
Itβs a terrible idea I started a whole business because of those bridges π
but only 1 channel in use, instead of 3, and no metal in the vicinity.
You need a reliable connection to the host
Wi-Fi is far from ideal
Its 2 fold
Wi-Fi interference
And the Wi-Fi connection
For the serial link
I realize it's still not ideal, but it's the lesser of 2 evils.
The interference in the laundry room makes it impossible to get signal there.
Just don't place it directly on a metal surface or right next to an AP. You can use a longer USB extension if needed
That's where the Internet comes into the house.
Or try the Wi-Fi bridge and count yourself lucky if it works
Reliably
To switch just delete zha
The only place I CAN put it is on a metal surface, next to 3 WiFi APs. One for me, one for my RoomMate, and one for IoT devices.
Don't know how to do that.
Check my GitHub for examples
Is tasmota set as serial gateway?
Or are you using tasmota zigbee
They have their own zigbee host
Tasmota firmware specifically for the bridge pro.
Iβve never used it and have no clue how well it works
Their zigbee dev has bought one of each of my coordinators so I know it works on them π but thatβs all I know
*Their
It's getting late here. I had to reread your sentence 4 times to figure out what you meant...
Wasn't trying to be critical.
So the deal is if you want to replace the sky connect with the bridge
You need to put it in serial server mode
So it works as a remote serial connection
Hmmm. Ok. May need to hop on the Tasmota Discord.
Otherwise you use the tasmota zigbee solution and I guess everything goes through mqtt. I really donβt know tasmota well
Yes, Tasmota uses MQTT to communicate with HA.
Then you would not be using zha at all
Tasmota would be doing the work that zha does
Oh.
I'm Soooo confused.
zha connects to serial devices local usb or network
Same is true for zigbee2mqtt
Tasmota
Can be a remote serial server if you set it up that way
The thing is, there is a button on the WebIF to connect ZigBee devices (to pair with them). It is disabled when I set an MQTT server connection.
Or it can run its own zigbee stack in which case itβs doing the same function as zha or zigbee2mqtt
So, I'm not sure how to tell HA to get it to scan for devices.
Tasmota has ha discovery for mqtt but thatβs outside the scope of this channel
D'oh. I forgot! There is a pin-hole button for that!
Thank you. I'll figure it out at some point.
The blue box isnβt for this channel the orange is
Ok.
Running zha on hassos Sonoff dongle and I have two avatto 3 gang wall switches
Grouping one endpoint of device 1 to endpoint 1 of device 2 will result in unwanted group state behavior. Groups turns on even when endpoint 2 of any wall switch is turned on
Does "Binding" not work in HA?
I go to the device settings, select a device to bind to (controller), but when I click "Bind" nothing happens, just a spinning loading icon that's there for an eternity..
I have a few of the Sengled remotes, but the batteries die in like 3 weeks when paired to ZHA in HA.. Found a few articles that say binding it to something results in the batteries lasting longer, but I can't get it to bind in HA.
are there any high quality zigbee rgbic led strips out there?
they all seem to be wifi :/
you could buy separate strips and zigbee controller?
Gledopto do great controllers to which you can connect any strip you want
i'm not sure i'm ninja enough at all to get the whole effect or control over the effects of it though
for example the chasing effect
i have a controller here just not sure how to get it to chase like for example with the govee leds that just released
Chasing effects sounds like something for a digital strip, not an analogue one
You want WLED
https://www.youtube.com/watch?v=Y7MPgOZW8zg is what i'm trying to achieve
ah thank you i will change my notes now
this may be helpful so sharing in case anyone else was interested for themselves - https://thesmarthomejourney.com/2022/02/13/easy-zigbee-led-controller/
although the controller he mentions doesn't say it supports wled
only the esp wifi which can be flashed with wled firmware :/
if it wasn't for my kid who has some issues i wouldn't care as much and not be so picky
but i want it to be really nice
Athom do some pre-flashed WLED controllers
Hook up your chosen strip, including some really nice (and so high power) COB ones and away you go
basically going to be splicing these wires to run the perimeter of the room
just to extend the reach but not joining any more than the suggested max
i found 3-way splitters so i'll try that first and see how it does with clipping the pigtails and extending 'em
think these are quality?
they'll be in diffuser channels with silicon holding the channels in
trying to make sure they won't burn out/die fast so i have to undo a whole lot of elbow grease lol
No idea, I haven't bought them, but obviously the higher the density the smoother the effects will be
nod
very cool stuff i really appreciate the input
bluetooth though but still better than wifi
just need to get a bluetooth dongle
and not wled
damnit
The "Chasing Effect" is pretty much standard in any controller.. kinda one of those generic lighting effects
Depends on the controller, it's by no means a universal standard - and any purely analogue strip is one colour at a time only
using skycoonect, hassio on a nuc. any advice for this: ``` Error while starting zigbee-herdsman
Zigbee2MQTT:error 2023-03-14 11:54:13: Failed to start zigbee`````
It's no been called hassio in years π
That said, the Z2M log should have more
The SkyConnect is experimental in Z2M, you'll be better off using ZHA with that, or buying something CC2652 based
it seems https://www.athom.tech/blank-1/wled-high-power-led-strip-controller is not zigbee though
unless i'm overlooking something
i couldn't find any mention of it in the product description
Digital LED Zigbee controllers are rarer than rocking horse poo
well that kinda puts it back at square 1:(
You might need to either accept wifi (go with an ESP32 if youβre very privacy focused), or youβll need to create your own.
Hey here's one in the logs I haven't seen before
Source: /usr/local/lib/python3.10/site-packages/bellows/ezsp/__init__.py:354
First occurred: 3:45:03 AM (252 occurrences)
Last logged: 7:24:41 AM
@dire owl I converted your message into a file since it's above 15 lines :+1:
open an issue on the quirks repo and make sure to fill in the template please
Will do, thanks
submitted here:
https://github.com/zigpy/zha-device-handlers/issues/2277
By the way, just noticed i'm running an older FW on my SkyConnect 7.1.4.0.
Does the website FW update interface have the latest and greatest of 7.2.2.0?
and do I simply pull out out my SkyConnect and flash it, and place it back in while HAOS/ZHA is still running?
so the FW Web-Flasher website does not have the latest 7.2.2.0, so I guess I will stay on 7.1.40
they new version builds are in the beta folder in the fw repo - https://github.com/NabuCasa/silabs-firmware/tree/main/EmberZNet/beta given they were just built this week, I doubt much testing has been done. if you really wanted to try I think you can download from the repo, and flash via the upload fw option through the web flasher
thanks, Tube, interestingly, the web interface says that my 7.1.4.0 is the latest, but I see that there have been 4 releases since.
this should work, ZHA should restart when the device is reconnected.
the web flasher has to be updated per release. 7.2 is still rather new. I'm still shipping 6.10.3 on efr32 devices, as it's what I'm most comfortable with right now.
you're right, it did exactly that just tried it when I was trying to flash it
I did get the silabs-firmware-builder action working for my efr32 devices pretty cool, though tedious to get all the patches set up so hope its mostly a one time thing. https://github.com/tube0013/silabs-firmware-builder/actions/runs/4422094750 these are almost all untested currently
Is conbee 2 on a proxmox vm with passthrough not compatible? Just started all this and I'm getting the Couldn't start deCONZ = dresden elektronik deCONZ protocol: ConBee I/II, RaspBee I/II coordinator (attempt 1 of 3) error, but i can open deconz and set up lights and sensors and all that, it's just that the rest of home assistant doesn't see the devices
Are you trying to use deCONZ and ZHA at the same time, on the same stick?
that's what the devices thing popped up with
That's not an answer π
If you're trying to set up the integration named after the stick, that's ZHA
To do that you need to have stopped the deCONZ add-on and removed it
so deconz is not needed? i read it was required for the conbee stick to work
yes that's done, it all works inside that phoscon web interface
but phoscon seems kind of like a vm with no connection to the home assistant
If you want to use HA's native Zigbee support - ZHA - then you don't want deCONZ
alright, pretty confusing gotta say, thanks
Hell, if you want support for new devices you don't want deCONZ
ZHA is way more actively developed than the Phoscon stack
good to know, i thought deconz was needed as like a device server host
nooo it failed again, but only with a vague error. probably a good idea to restart
Yeah, remove the Phoscon stack, reboot, and then set up ZHA
If it fails again the log file has more information
If you're having problems with your updates to your configuration:
- Check the troubleshooting steps
- Check your log file - remembering you may need to set logger to
infoordebug - Explain what the problem you're having is - sharing configuration, errors, and logs
yeah this time it didn't, probably because of no rebooting
nice, seems to have copied over my lamps too!
hmm, seems like one of my ikea bulbs aren't compatible, just says null on the test buttons when adding devices
hue bulbs also seem incompatible, shame
they're randomly flashing and don't respond to commands
The ConBee is the most sensitive to interference though
Hopefully you have it on a USB extension cable, and you picked a quiet Zigbee channel, away from WiFi
extension cable yes, haven't checked wifi though
There's many useful messages in the pins here
oh having to deal with interference then would be quite annoying
i don't really have a good setup for that
yeah now my other hallway lamp doesn't work, ah well it was worth a try upgrading from hue
It should work fine, it does for most people, it may just require a little more effort than you're expecting
yup, and i can't exactly remodel
there are two servers next to the hypervisor and cables all around, and it's in a different room from everything else
Unfortunately for you, the ConBee is also the one that's most sensitive to interference
that's a shame, the only one i've found used so far
https://www.youtube.com/watch?v=tHqZhNcFEvA demonstrates the problem, with something that's less sensitive (which is the scary bit)
well that's not even what's going on right now, the hue bulbs are just randomly flashing and don't respond
but i could put up another usb thing on the watched auctions
A new Zigbee coordinator isn't going to be expensive
no but i refuse to buy new from a store
"Sonoff ZBDongle-P" is one i could order right now
That's a good one
Has the new update broke zigbee2mqtt
The new update to what?
As Bluetooth no longer works on my HA and neither does any zigbee decide
home assistant
Well, the HA Core update can't impact Z2M
I'm running Z2M with the latest HA Core ... zero issues (unsurprisingly)
What about Bluetooth
Don't use it, but there'd be a lot of complaints in #blueprints-archived if it had
the weird part is that everything except this one ikea bulb works (except for the hue lights but i can understand that), it just says null on buttons
Did you put the Zigbee stick on a USB extension cable?
I got signed working
Hard reset did it
With power
Now ocee to #bluetooth-archived
Has to # as I couldn't find it aha
hmm probably just gonna chalk it up to that this trΓ₯dfri light is not compatible, probably a firmware thing. moving it closer to the server does not fix it
There are no known incompatible IKEA devices
older generations of trΓ₯dfri were not i've read
Proximity also may not help: if the coordinator is in a place with too much noise, it just won't transmit at all
well everything else works
Is it one of the bulbs with the precise 6 x on/off reset sequence?
Pretty sure they're all compatible. Even if they're running with ancient ZLL firmware
very odd then, faulty unit
it doesn't show as disconnected either, just as if it's in a parallel universe
Anyone have a tip for a well-priced CO2 sensor? Preferably ZB I guess, but happy to go to Wifi if that will save me π
also, the other devices are meshing just fine, so i don't think interference should be a problem if the signal goes through the devices that work already?
Disconnected mains-powered devices only get marked as unavailable in the UI after 2 hours (by default) (if you're using ZHA)
oh ok, yeah then something else is definitely wrong, very odd
Can you upload a video of the flashing IKEA bulb to some platform and send the link here? Depending on how the light flashes, we might be able to see if it's "software" or a power supply failure for example
2023-03-16 21:11:41.844 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0xBCD9:1:0x1000]: Couldn't get list of groups: Failed to deliver packet: <TXStatus.NWK_ROUTE_DISCOVERY_FAILED: 208>
2023-03-16 21:13:27.144 WARNING (MainThread) [zigpy_deconz.zigbee.application] Unexpected transmit confirm for request id 43, Status: TXStatus.SUCCESS
2023-03-16 21:13:29.386 WARNING (MainThread) [zigpy_deconz.api] No response to 'Command.aps_data_indication' command with seq id '0xe6'
completely reset the radio and i think it works now
ah nvm
Hey guys, quick question: I've seen some devices, such has this camera from Aqara
https://www.aqara.com/eu/product/camera-hub-g2h-pro
That advertise an included zigbee hub. If I'm using a skyconnect as a hub, can these devices be used as a router (to extend the skyconnect zigbee network)?
No
Oh, ok. Guess I'll be getting some tradfi repeaters then. Thanks!
Running HA on a Synology DS1621+ in a VM, passed through the USB to the VM but no luck with it working. Got a error message saying there was too much interference and to try a usb 2.0 extension - with an extension the device doesnt show up or work at all though.. There are only usb3 ports on the NAS. Any ideas?
Try another cable, yours may be broken or just not have connected data lines. The error isn't something you can fix without a cable.
shall try, thanks
Hello Guys. Im looking to buy a new Zigbee Coordinator. What do you suggest, Of course I read already the pinned message about devices what is working for sure, but I want to know your experiences. Im thinking between ConbeeII - Slaesh's stick - Electrolama zig-a-zig-ah! (zzh!). Please give me some advice. Or should I consider Skyconnect too?
Z2M im using.
I don't have experiences with different ones, but I just got a Zigstar LAN coordinator, and I'm really happy with it.
It's CC2652P based
Thank you. Of course I dont want to make you decide instead of me, but as I understand than Slaesh's stick would be a good choice. ( SLAE.SH CC2652RB ).
It's on the recommended list, sure
The seller is no longer a black hole either, so you should even receive a shipping notification, and get responses if you have problems
Should
Thank you Tinkerer, as always. I appreciate your help π
i found a local official reseller π
Then that removes 99% of the problems people have had with them π
Ordered it. Lets see how it will work π
Should be fine - I have one and it gave me no problems
its good to know you have the same one. I used a Xiaomi multimode gateway with Alex's firmware to use it with Z2M, but died today after a power outage. Thanks again, have a wonderful weekend π
how much state do coordinators hold? do they actually contain a list of known devices locally in flash? or is all that state managed up in z2m or zha and uploaded to the coordinator on init? or... what?
They usually keep track of network settings and child devices. Some coordinators, like the Conbee, require the application to upload a list of children on startup.
@austere patio so only immediate children or all devices you connected? i'm trying to figure out why my sonoff's keep pooping themselves into a big stinking heap
i have found that given enough time and luck i can eventually have them init agian and i can gradually over hours remove devices from the network and eventually empty it out and kind of get it working again... but it's as if the coordinator has some state that it sees that makes it fall over.
i mean extra points now for pressing "disable joining" the timer freezes and nothing now happens anymore...
No, just child devices of the coordinator. This is all the information necessary to back up and restore a coordinator: https://github.com/zigpy/zigpy/blob/1f81b162f84328eb96db18add3104d889fa6c923/zigpy/state.py#L56-L117.
my conbee's fell over when i hit about 70-90 devices on the network. my sonoff was ok until about 110-120 then fell over. i dialled back and split into 2 zigbee networks on 2 rpi's
but right now my 2nd sonoff network just pooped itself today again...
unfortunately to force some of my devices to go into pairing mode i actually have to dismantle light fittings to get to the zigbee relay inside to press reset... so i'm loathe to go do that yet again for the umpteenth time
What specifically breaks?
pretty much everything
like z2m won't start - times out after 4000ms.
i wanted to try my usual "strace it to see what its doing - if anything" but yay... ha-os doesnt have strace on the host
Times out where?
when things fall over once it eventually can come up i get 6000mz timeouts - lots of devices off-line - unreachable. lots of "n o route to host"
i just saw a mac address error now too
for example - startup timeout error
error 2023-03-17 16:33:42: Error while starting zigbee-herdsman
error 2023-03-17 16:33:42: Failed to start zigbee
error 2023-03-17 16:33:42: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
error 2023-03-17 16:33:42: Exiting...
error 2023-03-17 16:33:42: Error: SRSP - ZDO - startupFromApp after 40000ms
at Timeout._onTimeout (/app/node_modules/zigbee-herdsman/src/utils/waitress.ts:64:35)
at listOnTimeout (node:internal/timers:559:17)
at processTimers (node:internal/timers:502:7)
Have you done an energy scan? https://github.com/zigpy/zigpy-cli#performing-an-energy-scan
hmm no
tho i have wifi scanned
my first zb net i put on high channel (25) to avoid most of the 2.4ghz wifi networks around
but this 2nd one is on ch 11 - so it's going to be more congested given my wifi scans
I'd try an energy scan. WiFi scanners won't pick up non-WiFi noise sources.
is there some way to energy scan from within haos?
Follow the instructions here (just to step 4): https://github.com/zigpy/zigpy-znp/blob/dev/TOOLS.md#in-home-assistant-os
Make sure you follow the instructions exactly and get into the Docker container
Oh, you don't need to do that
Deactivate the venv with deactivate and just run pip install zigpy-cli
docker exec -it homeassistant bash already
hmm
it barfed pretty badly
(energy scan)
Did you disable Z2M?
stopped it
What do you mean by "barfed"?
Oh, you're using your actual coordinator. Hmm.
yeah
but i giuess you can see the kind of nutty insanity i'm dealing with
i assume the relays from unknown devices are things on my zb network right now just sending stuff
and the coordinator is passing them back up the serial line
You're receiving more than a packet per second, wow. Yeah, zigpy is unaware of your network topology so it'll try to discover devices as they communicate. Usually it's not a problem because there are only a few devices talking but you have so many that it filled up the TX buffers before the coordinator even had a chance to start
well this network has about 60 or 70 devices on it - so not surprising
would all this noise be part of my startup timeout problems?
One thing you can do is to run reset (instead of energy-scan) to leave your current network, then form to form a temporary one that won't be affected. Once you're done scanning, run reset again and Z2M will restore a backup automatically when you start it back up again.
like i assume if state is being uploaded to the coordinator while it starts and a bunch of traffic is coming in something goes wrong in terms of buffers fulling and deadlocks?
There's no state being uploaded, the specific type of startup error you see will cause this error message in ZHA, which I think is a little clearer: https://github.com/zigpy/zigpy-znp/blob/9b959dcf021b665e02d36d38c9141d31d9824254/zigpy_znp/api.py#L289-L297
btw... it seems you know something of this zigbee madness - much appreciated. π
it's all new to me (i know about other things ... but not zigbee - and i've avoided containers/docker for years)...
ok
channel 11/2/3/ are full
ch 20-24 are pretty blank
and 25/26 get some again
i will assume 25/26 is my other zb network
Can you post the scan results somewhere (e.g. https://dpaste.org/ )?
oh wait sorry - i used channel 15 not 11 it seems
that matches what my unifi equipment says
Well there's your problem. What channel was Z2M configured to use? The default of 11?
That's for the temporary network
i kind of lost track at some point as i flipped around
i guess i can shuffly up to 20... and see if it iimproves
You can save yourself a bit of trouble: restart Z2M so that the old network settings are rewritten
the pain will be repairing all the lights... ugh.
And make sure the network settings are functional (i.e. you receive an update from a device or can control at least something). Then, go back to zigpy-cli and run the change-channel -c 20 command.
It'll migrate most, if not all, of your routing devices
hmm kproblem is a whole bunch of devices are ofline and staying that way
hmmm
dang. useful stuff down in zigpy...
why isnt this exposed in the www ui? π
i mean.. imagine the pain peolpe could avoid if they could just get a scan graph and choose a good channel day 1 π
(and there was a migrate channel button too :))
well it's in its timeout on startup mode again... yay
i'd dearly love to know why it's timing out - what is it doing while it waits? or what did it do just before it sat and waited...
oh wait- i tarred up my previous z2m cfg - i was on ch 11
It refuses to start up due to noise
Once you go back to the zigpy CLI and migrate the real network to channel 20, make sure to edit both your Z2M config file, and the coordinator-backup.json file by changing the channel config from 11 to 20
Give existing devices some time, many will migrate on their own in like half an hour
hmmm actually i believe my dimmer zigbee moduels wont change channel without re-pairing
at least thats what the maker says...
Many battery-powered devices won't
unless zigpy change-channel handles that?
lucky this 2nd network is all powered devices
i suspect my ikea gu10's are one of my sources of problems
but i just can't find an alternative that seems to be better
They wouldn't cause noise like that
but i think they cause other issues
like nodes dropping out or being unreachable?
i have a lot of them (all my downlights in the house are the ikea g10 tradfri's - like about 80 or 90 of them)
I don't think so. The only time they might do that is if their firmware crashes and they "freeze", when you can't control them directly but can through group commands
yeah - i've seen that
thats why i've gotten a habit of making groups
even groups of 1 device (zb groups)
just to be able to still control them
But at the same time, that can also be caused by noise, as routing can be affected if your environment is really noisy
hmmm interesting - i thought noise would only be temporary though
anyway - i've now untarred my z2m cfg before i started trying to revive my network and am starting up from that again...
let's see if i can get it working again?
I would just revert back to the last-working config, probably the one that Z2M is currently using
Ah, Z2M
Can you copy the coordinator-backup.json file into Home Assistant's /config/ folder?
hmm something weird is going on - either i have had 2 networks on different channels with the same pan id.... for a while and it worked
or... it somehow switched pan id?
could anyone tell me if the Sonoff ZBMINI-L has a smart bulb detached mode?
detached as in no physical switch attached and ONLY use it as a smart relay?
i can't say about the zbmini-l but i do have a few zbmini's (previous rev) and i use them all without any physical switch. purely sw controlled smart relays
No it doesn't. Its just a smart RELAY on/off/on
You would have to just wire the Live (L) In & Out together, basically ignoring the relay in the ZBMINI.
Then use an automation to check if the ZBMINI relay is On or Off to turn the "Smart Bulb" on or off..
the L just means no neutral is required.
@plush bramble I converted your message into a file since it's above 15 lines :+1:
Is the zigbee network information stored on the coordinator like how zwave behaves? Anybody know?
it is not on the stick if you are asking that
Hello!! I was rather happy to receive my Nabu Casa Skyconnect, and stated to install a few Zigbee devices with ZHA.. (door sensors and a remote control)..
Knowing that the distance seems to be too big to have a good connexion, I also purchased an Aeotec Wifi Extender..
However, After i succeeded to add it... None of the other devices connect to it... so it seems useless :
- Does ZHA remap the zigbee mesh automatically depending on the distance? Or one has to do it manually? how?
- Why do some devices do not appear as "connected" on the network in the ZHA graph when they still are connected to the network (I can see their state changing but there is no line appearing between the Skyconnect and themselves...)
thanks in advance
Zigbee the protocol, not ZHA handles mesh changes.
"Remashing" or reconnecting depens highly on the individual devices in my experience. E.g. my Aquara devices all stick to the device they initialy connected to when pairing.
Generally compliance is good with mains powered devices, but a lot of the low powered sensors, especially Aquara, get kinda weird about connection, remeshing, and reporting intervals.
hmm.. Means I should reset them and add them again, from the proper final location?
Might help.
Yeah. It is generally best to pair them near the location you want to use them.
Wonβt hurt, generally.
The only exception I know is the ikea Fyrtur blinds and remote. Theyβre really finicky about pairing order.
One thing youβll learn is that quality varies based on manufacturer. Some manufacturers have a reputation for issues.
in this case the door sensors are rather cheap ones from Aliexpress from brand Aubess... maybe I shouldn't have tried to look for the cheapest ones! π¦
I will try to connect from there then..
By the way, to the zigbee light bulbs act as repeater? Or only the zigbee plugs?
great, thanks tube!
Hi everyone π I was redirected here with the question about Ledvance Smart+ Indoor Zigbee EU plugs. Does anyone happen to know if they work fine with Home Assistant? Here's the original question: https://discordapp.com/channels/330944238910963714/672223433907765288/1086654365043011685
hey, I'm looking for some help finding an ideal light switch.... here's what I'm looking for: US switch, Zigbee (prefer router but not deal breaker), motion sensor, and 3 buttons (trying to control 2 lights and a fan).
Pretty sure there's nothing with a built in motion sensor
https://www.zigbee2mqtt.io/supported-devices/ has a good list, even if you're using ZHA
https://www.zigbee2mqtt.io/supported-devices/#s=3 gang finds a few options
I bought one that is wifi and has a motion sensor + 2 buttons, but again, its not the best option for my space....
checking those lists now
Greetings folks I am getting back in to home automation in my new house and was going to use the Aqara Door and Window sensors. Are they still a good option or is there something better out there?
If you can get the E1/T1/P1 versions then they're Zigbee 3.0 and better (though the Zigbee 1.2 stuff is still fine)
How do you delay ZHA from starting up for a minute or 2 in yaml? I think it might be causing some issues.
Hey guys , I have some zigbee zb3001 dimmers that each time I attempt to dim a light with it began to flicker horribly. I reached out to Jasco about the issue and the recommended that I change the dimming rates. That said I am using ZHA and I don't see any setting on the device page for such changes.
Can anyone point me in the right direction for where I can make the changes
.
Anyone having issues iwth node red resetting and resulting in z2m being flooded iwth unknown attributes?
Havent checked logs yet but my zigbee devices are wonky at best today
I have problems with my zigbee2mqtt which stopped working yesterday - Exception in async_discover when dispatching 'mqtt_discovery_new_update_mqtt': ({device json}
So all my zigbee devices are unavailable in HA :/
check if your mqtt server is running fine. restart Z2m add-on / container as the case may be
Also the full error would help us help you - a common error is for people to add something other than a URL to the Z2M's url field for the frontend
so the mqtt works fine - HA get updates from other devices
its only the zigbee2mqtt, and there is a lot of errros in validate-mqtt_light_discover
@sour shadow here a full log of one of the errors: https://pastebin.com/d9jS7LXM
voluptuous.error.MultipleInvalid: invalid url for dictionary value @ data['device']['configuration_url']
Called it
just funny, havent changed anything
zigbee.home.lauer.dk/#/group/2
``` isn't a URL
that isn't something I have definde?
ahh, but that has been like that for a year
I update HA often - but I rebooted it a lot yesterday to debug som zwave component, maybe that trigger something in an update
But it works now after I fixed the url - thanks @sour shadow
No love between zha and sonoff routers π¦
ZHA doesn't care about them either way
Do you have a hardware recommendation for an external Zigbee hub?
I have 3 Zigbee Contact Sensors in the Livingroom, that all of a sudden started acting funny...
The one on the door constantly registers as "Open" in Home Assistant. And the 2 on the Large Window on the same Wall as the door, are showing as "Unavailable.."
I had to swap out the Door Bell Transformer yesterday, for one that outputs a bit more power due to the Video Doorbell getting low voltage...
Do you think the extra bit of power running near these contact sensors could be causing this issue? If Not, any thoughts?
Home assistant sky connect and a pi zero with a usb adapter⦠you tcp that serial interface over to to your main server.
Or any other boardβ¦.
My sky connect is poking out of my enclosed rack with fantastic connection strength
@sour shadow @final kestrel Thanks
I can't seem to add sonoff cc26xx (TI chip) routers to zha (ezsp sonoff), where I read others add them to ***2mqtt no problemo. They are boring little antenna boxes, no lights, no reports, but just works after router flash?
Did you ever get your cube working? I tried like 2 months ago but it wasn't supported yet.
I see that the Aqara T1 Pro is supported (https://www.zigbee2mqtt.io/devices/CTP-R01.html) but when I attempt to pair it, I get an error saying that it is not supported.
Nevermind. After updating Zigbee2MQTT, it now shows at supported!
Hi am using zha in combinatie with skyconnect, and wall dimmers and hue motion sensors keep dropping out and being unavailable. Anyone knows if this is a known problem? I moved the dongle a few times, tried all the advices like extension cables, being far from interference sources. I doubt if ha or skyconnect is stable. Any thoughts or experiences?
What's the model number for your motion sensors?
SML001
That specific generation of Hue sensors seem to jump around from parent router to parent router every hour, and never to a good one. I'm waiting on a Hue hub to arrive so I can investigate further but I don't think there's anything different being done so it may just be a device bug π€·ββοΈ
Thank you for the quick response. I also had issues I guess with an SML003. But I would need to double check. I have been reinstalling motions sensors a lot.
Odd thing is SML001 worked great for years in hue hub.
Now I am trying ha zha and skyconnect and having problems. Doubting if ha, zha or skyconnect is the issue. And the placement of the coordinator. It is driving me (and the wife π
) nuts.
I also have an issue where an βecobright ECO-DIM.07 Zigbee Basicβ wall dimmer becomes unavailable. Also when I now remove it and add it again. π€·ββοΈ. It worked fine for a few days.
I have been having an issue with my automations not properly loading the device ID. Sometimes restarting HA will allow it to work but most times restarting brings up the error of unable to get ZHA devices. The devices are connected fine and can be seen working, it only the automations that are broken. Deleting the automation and creating a new one reproduces the same issue. Is this something that is because of the multi protocol and its startup time?
2023-03-19 22:34:39.638 ERROR (MainThread) [homeassistant.components.automation.kitchen_motion_detected] Got error 'Unable to get zha device b770fd5691d3b3163d58a3ce2e1a4e61' when setting up triggers for KITCHEN - Motion Detected
2023-03-19 22:34:39.643 ERROR (MainThread) [homeassistant.components.automation.bathroom_motion_detected] Got error 'Unable to get zha device edbb9723801d5d64202496722e8bdbbc' when setting up triggers for BATHROOM - Motion Detected
2023-03-19 22:34:39.646 ERROR (MainThread) [homeassistant.components.automation.bedroom_motion_detected] Got error 'Unable to get zha device b68bd644402dacb67dd5c1582750fcab' when setting up triggers for BEDROOM - Motion Detected
2023-03-19 22:34:39.648 ERROR (MainThread) [homeassistant.components.automation.entrance_lock_door] Got error 'Unable to get zha device a442b148487c4b00c861b00d33400748' when setting up triggers for ENTRANCE - Lock Door
2023-03-19 22:34:39.651 ERROR (MainThread) [homeassistant.components.automation.living_room_motion_detected] Got error 'Unable to get zha device 0295709daf6c9e459326e2b6fcbe04f1' when setting up triggers for LIVING ROOM - Motion Detected
2023-03-19 22:34:39.654 ERROR (MainThread) [homeassistant.components.automation.entrance_door_knocked] Got error 'Unable to get zha device a442b148487c4b00c861b00d33400748' when setting up triggers for ENTRANCE - Door Knocked
2023-03-19 22:34:43.181 ERROR (MainThread) [bellows.uart] Lost serial connection: OSError('Server closed connection')
2023-03-19 22:34:43.194 ERROR (MainThread) [zigpy.application] Couldn't start application
@lime goblet I converted your message into a file since it's above 15 lines :+1:
It's two separate issues from what I can tell. One is that ZHA can't connect to MultiProtocol after a HA Core restart. The other one is that if ZHA fails to connect initially, device automation triggers aren't working (even if ZHA connects later)
You might be able to reload all automations (if that's still possible?) as soon as ZHA loaded correctly
Those issues should probably be fixed though
(for reference, likely the same issue here: #zigbee-archived message)
Maybe report the issue in the HA Core issue tracker (if no one else did so already)
It still occurs even on Reboot and Reloading Automations does not fix the issue
I only get lucky sometimes when it allow it to be normal
Completely restarting the whole HA machine might "fix" the issue temporarily
It looks like there's an issue in the tracker, although it's not tagged: https://github.com/home-assistant/core/issues/89701
Maybe also mention that you're using Multi Protocol
Hi! I migrated to a Skyconnect yesterday using the Zigbee2mqtt backup file, but only parts of my devices joined the new network. The aqara temperature sensors and the sonoff contact sensors never came back and I can't seem to pair any. Is that a known issue?
I got a horman promatic garage door opener, has anyone gotten this connected to home assistant?
Is there a way (extend code/develop a new f/w ver) to make a device based on the tuya ZS3L module more HA friendly, i.e to expose features/entities so device can be also used by HA? Can we extend to expose more via the native Tuya dev tools or do we need to best consider to move away totally from tuya if possible when using the ZS3L? Managed to use localTuya but not enough so need to update f/w, but not sure of best approach. Feedback welcome. Pre-thanks.
Hey. Im looking for Zigbee Temp&Hum Sensors. I would like to buy 10-20 pieces. Can you tell me which one do you like the most and what is the battery lifetime? Thank you!
Hello everyone, I need help setting up issues on github. I bought a PIR presence sensor model TS0202, unfortunately the device is not supported. I was advised to assume the mentioned problem. But I really don't know how to go about it. I'm stuck on the data base entry field. Where to get it? This is the log from z2m? Sensor added in zigbee2mqtt, also tried by EDGE version.
link to device.
just buy aqara ones
its years
perfect. thats what I need. Thanks mate.
and most use easy to find CR2032 batteries
Hey folks, I just recently did an OTA update (via zigbee2mqtt) of an Ikea TRADFRI remote control and since then it will work for about a minute and then stop responding entirely (even ignoring 4x press on the link button). I have to remove and replace the battery to get it to respond again. Has anyone else experienced this? Is there a way to re-ota it?
Latest version should work fine. Put a fresh battery in it and check that it's really on the latest version
If you're still having issues (even with a fresh battery), try to see if you can re-pair it somehow
Iβve done both; fresh battery was the first thing I tried as I had assumed the ota had killed it or something. After it kept failing after a few times of removing / adding the battery, I removed it from z2m entirely and repaired it. It seemed to persist longer after that but was no longer sending any info (null for battery, version, etc.). I repaired it again and weβre back to it stopping working after a min or so.
While it works it returns nulls for all the info:
MQTT publish: topic 'zigbee2mqtt/0x680ae2fffe9339aa', payload '{"action":"toggle","battery":null,"linkquality":66,"update":{"installed_version":-1,"latest_version":-1,"state":null},"update_available":null}'
Then it will just stop responding entirely
Noob here.. wanted to ask so if I get sky connect, I can get rid of the hue hub, smartthings hub and aqara hub? Once I migrate to sky connect. I've watched videos but no video showcasing that they removed there old hubs
Yes, a Zigbee integration + a coordinator (like the SkyConnect) would replace a hub
If a device goes offline like a light switch in a wall, what's the best option for fixing it? Heal or re-interview?
Has anyone successfully and reliably been able to pair Aqara Window/Door sensors (MCCGQ11LM) with SkyConnect? Out of 4 I managed to pair 3 though I had to try several times (10+). The 4th just wont pair and of the 3 that did pair 2 has since lost connection again. I have separated SkyConnect from my HA server with a 3+ meter extension cable and I do have a smart plug repeater so signal to the Window Sensor should be OK.
FIY, I switched back from SkyConnect to my old Lidl Tuya Zigbee Gateway (rooted, with local control) and after re-pairing everything (mostly due to Aqara being Aqara and being overly attached to initial parents) the quality of my network SkyRocketed (TM) π. For me, the SkyConnect was nothing but trouble, random disconnects and flaky signal, I would not recommend switching over from a decent coordinator.
hopefully just teethering issues and sky coonect gets better as having same kinda issues, things that didnt happen with previous ones
my skyconnect has been bless with zigbee2mqtt
My issue was the flash. Getting the right link to flash from github was the key. Router added to network. Thanks tenacity!
ive just moved to zigbee2mqtt with sky connect. will see how it goes
Now I'm messing around with a LUMI lumi.remote.cagl02 Aqara Magic Cube T1 pro. It connects to my zha zigbee network, but only shows identity button and a broken battery (unknown).
Nice to see you got your sonoff to work as router. I have one as router too, it gets to route pretty much everything
I have Home Assistant running without problems. Yesterday I tried connecting an Aqara vibration sensor via zigbee2mqtt. First it looked good, gut when I checked it again today I found that **all **entities of this device are duplicated.
When I check in the "Settings / Devices & Services / Entities" screen I now have lots of entries with Entity ID having an "_2" appendix .
Is this a known issue?
Home Assistant Core: 2023.3.5
zigbee2mqtt: 1.30.2
Hi, could someone please assist me with MQTT Publish for a "dumb" siren I have?
This is the command; https://pastebin.com/y2nhCR8T
Which only makes the strobe go off, no sound at all..
The device: https://www.zigbee2mqtt.io/devices/SA100.html#cleverio-sa100
I have a new conbee key. I can't flash it. When I do .\GCFFlasher -l . Nothing is detected
With this; {"warning": {"mode": "fire", "level": "very_high", "strobe_level": "very_high", "strobe": true, "strobe_duty_cycle": 5, "duration": 10}}
I am able to set the siren on, but not even close to max volume
I have a ZigBee touch switch. It was all working fine with HA and then I had to change my wifi router. I was able to reset up the ZigBee hub and other devices. But can not seem to reconnect the touch switch. The connect to network light is on as if it is connected the hub but doesnβt show in HA. The previous connection was in ZigBee so I deleted that hoping it would refind it. No success. Any ideas please
This is the offending unit. NZ$ 21.64 40οΌ
Off | ZigBee Wall Touch Smart Light Switch with Neutral/No Neutral Smart Life/Tuya Works with Alexa,Google Home 110V/220V 1/2/3/4 Gang
https://a.aliexpress.com/_mN3tFEK
Is anyone using IKEA Occupancy Sensors and got another timeout than 90s working?
There is a setting but it seems to have no effect
Oh have to state it resets after the value set but it doesn't detect a new movement until the initial 90 seconds..
Just found an issue on github, hopefully it could get solved..
It's not something that can be solved without a firmware update from IKEA
Quick conceptual question, if I add more routers to my network, will the network itself rebalance and start using the router? Or do I have to manually re-add devices through the router?
Routers talk to other routers but many end devices usually don't waste battery scanning for new parent routers, so it's best to add all your routers first and then add end-devices
That's kinda what I figured but I just wanted to double check. Thanks!
Thankfully Home Assistant keeps track of the devices by their physical id (do they have MAC addresses?!), so re-adding a device is pretty painless
More or less, they have persistent 64-bit IEEE addresses and the device cache (which keeps track of basic device info) makes rejoins fast as long as you don't remove the device
i'm trying to configure an active device to power a MQTT binary sensor in HA
i'm reading this carefully but the behavior i am seeing isn't expected https://www.home-assistant.io/integrations/binary_sensor.mqtt/
If these messages are published with the retain flag set, the binary sensor will receive an instant update after subscription and Home Assistant will display the correct availability state of the binary sensor when Home Assistant starts up.
my z2m device config:
'0x8cf681fffee90c99':
friendly_name: Juke
homeassistant: {}
retain: true
availability:
timeout: 1
optimistic: false
qos: 0
i've set retain to true, but when HA restarts, the binary sensor becomes "unavailable"
i basically want "unavailable" to == "offline" to == "off" and "available" to == on
the device is just a router, it doesn't have any state besides LQI
Any way to get a zigbee device to update it's reported battery level?
Tuya TS0207 reporting 11% battery. changed the battery 2 weeks ago and it hasn't updated, still getting a notification to change the battery. I've put in another battery now and have deleted and repaired the deivce... still 11%...
Z2MQTT
Itβs my car. I need to know asap when itβs on or off
I stuck a usb Repeater in it
Hi friends, someone has anyone created a device with processor nxp jn5169 using mcuxpresso? 
i got it working btw. decided to cheat and use a different device (always on light bulb) for availability, and for state use the online/offline payload of my desired device
Where could i set a bounty for an integration of a zigbee device? Not sure if this community accepts something like this, but it's been 4++ months and generally looking to set a small bounty
Hello. My coordinator arrived, can I get some help to find the right path to the device in linux?
the official guide looks old on slae.sh site
coordinator connected to Rpi4B with USB extender. Green light comes from coordinator.
Sorry I forgot to write. Im using HAOS on RPI4GBB
Then there's a hardware menu that lists the paths
Though if you're using ZHA it should just auto-detect
Im using Z2M, but hardware menu does not show, if you mean Settings - System - 3dot - All hardware
hmmm
interesting because it gets power, because the green light comes up on the board of zigbee coordinator.
Doesn't mean it's getting enough power 
It'll also be worth checking that it's been flashed with working firmware, by flashing the current firmware yourself
That'll also allow you to test that the stick is good, in case you've got a faulty one
I ordered with pre-flashed firmware and there is a chance to break the device with the flashing.
I started a conversation with the support... it will be long as I see.
I tried already 3 extension cable and tried also instantly to all 4 USB port of RPI.
Tried also to restart device after every USB connection.
I does not even have /dev/serial folder.
Okey its working in my media server. So the problem is with the Raspberry Pi. Maybe you will be right Tinkerer
I'll need a power supplied USB hub.
Has someone an Idea, what I'm doing wrong? I'm using Zigbee2MQTT without ZHA. Back then it worked.
[14:36:00] INFO: Preparing to start... [14:36:00] INFO: Socat not enabled [14:36:00] INFO: Starting Zigbee2MQTT... Zigbee2MQTT:info 2023-03-22 14:36:01: Logging to console and directory: '/config/zigbee2mqtt/log/2023-03-22.14-36-01' filename: log.txt Zigbee2MQTT:info 2023-03-22 14:36:01: Starting Zigbee2MQTT version 1.30.2 (commit #unknown) Zigbee2MQTT:info 2023-03-22 14:36:01: Starting zigbee-herdsman (0.14.96) Error: Reset error: Error: {"sequence":-1} after 2000ms at /app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:298:23 at Queue.executeNext (/app/node_modules/zigbee-herdsman/src/utils/queue.ts:32:32)
under "serial" i got that config here:
port: >- /dev/serial/by-id/usb-Nabu_Casa_SkyConnect_v1.0_2020d0168718ec11997be99a47486eb0-if00-port0 adapter: ezsp
I have the same issue right now.
I have the same settings
I cannot solve this.
Maybe I got it.
Copy your yaml config of Z2M to a notepad. Delete Zigbee2Mqtt folder in your config, delete Z2M addon. Install Z2M, put back your Yaml to config and start it. it will work.
my config ist near empty
homeassistant: true
that's all
In Z2M config I mean.
what you copied the port and adapter...
just do what I said bro, I got you. it will work.
ok, new Problem
Zigbee2MQTT:info 2023-03-22 15:28:04: Starting zigbee-herdsman (0.14.96) Zigbee2MQTT:error 2023-03-22 15:28:24: Error while starting zigbee-herdsman Zigbee2MQTT:error 2023-03-22 15:28:24: Failed to start zigbee Zigbee2MQTT:error 2023-03-22 15:28:24: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions Zigbee2MQTT:error 2023-03-22 15:28:24: Exiting... Zigbee2MQTT:error 2023-03-22 15:28:24: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms) at ZStackAdapter.start (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:103:27) at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:132:29) at Zigbee.start (/app/lib/zigbee.ts:58:27) at Controller.start (/app/lib/controller.ts:101:27) at start (/app/index.js:107:5)
because it doesn't work after the reinstall
i delted this here adapter: ezsp
its writing this when your coordinator not connected.
Go Settings - Systems - Hardware - 3 point - All Hardware
and check for the USB port
i can see it
here is the ID
/dev/serial/by-id/usb-Nabu_Casa_SkyConnect_v1.0_2020d0168718ec11997be99a47486eb0-if00-port0
i can see it in the settings of HA in the Hardware section
@glad plume I converted your message into a file since it's above 15 lines :+1:
I have a zigbee Tradfri open/close remote that I have a blueprint for that opens and closes my blinds. I noticed in the middle of the night the blueprint was getting triggered, however the blinds don't open. One time the blueprint triggered right at the same time (I think) as the morning routine automation triggered, which i think caused the blinds to start opening and then stop
From looking into it, the logbook for the remote says every hour or so a "checkin event was fired". What is this? There's posts on the web about it but nobody has any answers. It's causing me a bit of troubles and maybe draining the battery of my remote
Its working for me now, but i'll try to get a power supplied USB HUB, because LQI is really small.
with old wireless Alexx Firmware Xiaomi Multimode gateway I had 240 LQI and lowest was 200, now I have 20-30 and 80 next to the coordinator, and I ordered with big antenna.
Does big antenna WiFI routers still makes Zigbee range smaller even if they totally separated with channels?
It would be good to know, because then I have to think over where to place the Server itself.
What coordinator are you using? LQI is not a universal calculation and each coordinator type does it completely differently
If things work, don't worry about LQI
Im using Slaesh Coordinator. Arrived today.
Yeah, completely different calculation method. What you see is normal.
LQI looks bad, but im using routers and everything works until the first checks.
Ok, you saved me from a really long headache π
Which dongle should I get Sonoff E or P? Also what's the advantages of ZHA over Z2M?
I currently have Hue lights, meross and wyze and planning to purchase Sonoff and Aqara products. I have a smartthings hub but planning to get rid of that since the support for that is low with HA.
There are three Zigbee options with Home Assistant (regardless of how you install it). These are:
zha is actively developed as part of Home Assistant Core, using the zigpy stack, the UI also being part of Home Assistant. The EmberZNet based sticks are recommended (though the HUSBZB-1 uses an older chipset), but there are other options including the CC2652 based sticks. There is no list of supported devices, as any standards compliant device should work. Devices that require extra support are listed, and adding unsupported devices is documented.
Zigbee2MQTT is very actively developed and can run in an add-on, in a Docker container, and natively. As of 1.15 has a native UI, and it also uses MQTT for control and configuration. It supports mostly TI based sticks, with the recommended option being the [CC2652 based sticks](#zigbee-archived message). If you want to use an EmberZNet stick see this issue. The known working devices are well documented (which usually includes how to pair them so you don't have to find the manual), and adding unsupported devices is also documented.
deCONZ is relatively stable and mature with its own UI (and Discord server). It can run in an add-on, in a Docker container, or natively. Only the ConBee range of sticks and RaspBee GPIO boards are supported. Known working devices are documented, and how to request support for a new device is documented too (you can't add unsupported devices yourself).
Potted summary in there βοΈ
i got new informations and errors:
Zigbee2MQTT:error 2023-03-22 17:41:08: Error: Error while opening serialport 'Error: Error Resource temporarily unavailable Cannot lock port' at SerialPort.<anonymous> (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/znp/znp.ts:146:28) at SerialPort._error (/app/node_modules/@serialport/stream/dist/index.js:76:22) at /app/node_modules/@serialport/stream/dist/index.js:112:18
but in the ssh terminal, the comand ls -l /proc/[0-9]/fd/ |grep /dev/ttyUSB0 doesn't print any aditional information
the terminal is blank
could it be that the problem is the addon "Silicon Labs Multiprotocol" ? can i deactivate this Addon?
If you have it active, your stick is running different firmware. You can't use it with Z2M without reflashing: https://skyconnect.home-assistant.io/firmware-update/
I don't quite understand what you mean by that? Is the addon active to update the firmware, or do I have to update that now via my LAptop? I really don't get it...
If you're using a SkyConnect and used that addon, the addon installs special firmware to the SkyConnect. After that, the addon takes control of the SkyConnect and you can no longer use the SkyConnect directly with any Zigbee integration: you must communicate with it through the addon. If you don't need multi-PAN (i.e. for Thread), uninstall the addon and use the website above to reinstall Zigbee firmware to your SkyConnect.
Hello, in device managers, I see my conbee2 key in "other devices" (WIN11). I can't flash it. In properties, manufacturer: unknown; Location: Port_#0004.Hub_#0001 . Where do you think the error comes from? Do you absolutely have to buy a usb extension cable? ;/
For the Conbee? Yes
Hi here !
I've got some rolling shutters, each with a remote device to control them. I also got a raspberry, and I'm wondering if I can use it with Home Assistant to control them. The documentation suggest that a RPI isn't enough, and I need to attach some radio device on it.. Am I understanding this correctly ? If so, what is this radio device ? Thanks a lot !
Can someone help me out quickly with a config question for the Zigbee2MQTT addon.
In the addon>config it specifies a port to expose - in my case its 8485
In the HA>Config>Zigbee2mqtt>config.yaml - does the above port need to match something in there?
My zigbee addon wont start as it wont connect - im just trying to troubleshoot
What's the error causing it not to start?
@mighty river I converted your message into a file since it's above 15 lines :+1:
it has worked - but sometimes it just "goes off on one"
i think ive sorted it ....
I seem to have to keep putting this in the console ....
backlog rule1 on system#boot do TCPStart 8888 endon ; rule1 1 ; template {"NAME":"Sonoff ZHABridge","GPIO":[56,208,0,209,59,58,0,0,0,0,0,0,17],"FLAG":0,"BASE":18} ; module 0
then when it comes back - its forgotten all of my devices
hey, im getting the following in my zha logs, and its red. is this something i should be concerned with? not sure what its trying to tell me
2023-03-22 18:31:07.599 DEBUG (MainThread) [bellows.zigbee.application] ezsp_counters: [MAC_RX_BROADCAST = 13, MAC_TX_BROADCAST = 47, MAC_RX_UNICAST = 78, MAC_TX_UNICAST_SUCCESS = 82, MAC_TX_UNICAST_RETRY = 12, MAC_TX_UNICAST_FAILED = 58, APS_DATA_RX_BROADCAST = 3, APS_DATA_TX_BROADCAST = 3, APS_DATA_RX_UNICAST = 55, APS_DATA_TX_UNICAST_SUCCESS = 42, APS_DATA_TX_UNICAST_RETRY = 0, APS_DATA_TX_UNICAST_FAILED = 13, ROUTE_DISCOVERY_INITIATED = 5, NEIGHBOR_ADDED = 1, NEIGHBOR_REMOVED = 0, NEIGHBOR_STALE = 0, JOIN_INDICATION = 0, CHILD_REMOVED = 0, ASH_OVERFLOW_ERROR = 0, ASH_FRAMING_ERROR = 0, ASH_OVERRUN_ERROR = 0, NWK_FRAME_COUNTER_FAILURE = 0, APS_FRAME_COUNTER_FAILURE = 0, UTILITY = 0, APS_LINK_KEY_NOT_AUTHORIZED = 0, NWK_DECRYPTION_FAILURE = 0, APS_DECRYPTION_FAILURE = 0, ALLOCATE_PACKET_BUFFER_FAILURE = 0, RELAYED_UNICAST = 0, PHY_TO_MAC_QUEUE_LIMIT_REACHED = 0, PACKET_VALIDATE_LIBRARY_DROPPED_COUNT = 0, TYPE_NWK_RETRY_OVERFLOW = 0, PHY_CCA_FAIL_COUNT = 74, BROADCAST_TABLE_FULL = 0, PTA_LO_PRI_REQUESTED = 0, PTA_HI_PRI_REQUESTED = 0, PTA_LO_PRI_DENIED = 0, PTA_HI_PRI_DENIED = 0, PTA_LO_PRI_TX_ABORTED = 0, PTA_HI_PRI_TX_ABORTED = 0, ADDRESS_CONFLICT_SENT = 0, EZSP_FREE_BUFFERS = 251]
Those are normal part of debug logging
Not errors they are the ezsp counters and they can help diagnose issues.
ok, they just showed up as red, so not sure if they were trying to tell me something was wrong
If you donβt have any current issues advise turning off debug logs as they can grow quickly
good point. used to have lots of issues with my old stick but no so much anymore
well speak of the devil, i just enabled multiprotocol support on my skyconnect and now im getting this error galore
[0xE06D:1:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
well from w hat i can tell this issue only occurs when otbr_enable: true, when its false, zigbee works fine
not sure if someone else can help maybe
In ZHA, is there a way to tell if you are using the tty device port or the "by-id" port name in the config (like you can for zwavejs-ui)? I've been told I should make sure I'm using "by-id" to prevent possible reassignment by HAOS upon restarts and failure to recognize. I know my ZW config is using /dev/ttyACM0, and have been also told, that I could retrieve the proper "by-id" name from All Hardware and just change it in ZW. Can anybody confirm this for ZHA (and perhaps for ZW as well)?
What does this mean?
[zigpy.device] Failed to parse message (b'183a0700000000') on cluster 8, because Invalid ZDO cluster ID: 0x0008
you can go through the migrate radio and select reconfigure current radio, Select enter manually, pick the radio type, and then you will see how the current radio is configured, you could also change it to the by-id device at this point too.
note this process does stop zha, closing out of it at any point without making changes will restart it as is.
to just see what it is, you can download the diagnostics file and look in there.
Can someone recommend me some good Zigbee routers of some kind? I'm trying to figure out why my mesh network isn't super meshy and I think it's because the Sonoff smart plugs I have as routers just aren't that good? The link quality that HASS shows in the topology view isn't very good, despite the routers being quite close to each other. Also nothing wants to stay connected to them, so, ya know, fun times in general.
I have 2 floors with about 1000 square feet each, nothing insane. It's your typical North American wood frame + dry wall house, so it's not like I have a ton of lead in the walls eating signals. I just want a functioning mesh network lol
This is great! Thank you. Does changing to the by-id device reset anything, or will everything (all my entities, etc.) still be OK? Appreciate your insight.
hrm. first hue outdoor failure. showing purple instead of blue, and one white instead of any colour. get to see how Hue warranty is ..
Hue Calla?
Does anyone have any recommendations for good motion sensors with adjustable timeouts. All the motion sensors I've tried have issues, sadly

