#zigbee-archived

1 messages Β· Page 39 of 1

loud bobcat
#

at least on the tin it seems to indicate it would do this

naive summit
#

I’d run 1 HA instance, one MQTT instance, and two Z2M instances.

loud bobcat
#

how can i run 2 z2m's ?

naive summit
#

Docker.

loud bobcat
#

the addons are singletons?

naive summit
#

Don’t use Addons.

loud bobcat
#

oh so manually set it up?

naive summit
#

Run one Z2M on a bare pi.

loud bobcat
#

well tbh in essence i have that now

#

the 2nd ha instance in effect manages that via the addon

naive summit
#

No, you have way more than I described.

loud bobcat
#

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

naive summit
#

Well, it’s sub ideal not because it should bother you, but because it’s complicated and unreliable.

loud bobcat
#

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)

naive summit
#

πŸ€·β€β™‚οΈ your stuff. I wouldn’t tradeoff long term maintance issues to avoid a single reinstall.

#

You could run Z2M in a chroot

loud bobcat
#

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...

naive summit
#

🀐

loud bobcat
#

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

naive summit
#

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.

loud bobcat
#

if it couldnt connect it'd be complaining bitterly with red err boxes πŸ™‚

#

i dont have the 2nd ha instance involced atm

naive summit
#

How many MQTT brokers?

loud bobcat
#

1

#

the mosquitto addon

#

how can i know that z2m is publishing to it properly?

naive summit
#

Use MQTT explorer to see the messages it publishes.

#

Make sure that Z2M and the HA MQTT integration agree on the prefix.

loud bobcat
#

forgive my ignorance... what is pqtt explorer?

#

err mqtt

naive summit
loud bobcat
#

run it on my pc and connect to mqtt broker on the pi?

naive summit
#

Correct.

loud bobcat
#

got it

naive summit
#

Might be a good time to read the MQTT docs on the HA side.

loud bobcat
#

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 πŸ™‚

naive summit
#

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.

loud bobcat
#

ok- z2m is publishing lots to the broker

#

so ... z2m -> broker seems fine

#

so its ha -> broker thats a problem

hushed tundra
#

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

loud bobcat
#

@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

hushed tundra
#

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

loud bobcat
#

@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?

austere patio
naive summit
#

Reinstall.

#

Not the addon. The integration.

hushed tundra
loud bobcat
#

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 ?

hushed tundra
iron flare
#

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.

loud bobcat
#

haaaaa well well.. i added discovery_topic: 'homeassistant' and status_topic: 'hass/status'
and now it works... how on earth did that get lost?

pseudo gazelle
#

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

loud bobcat
#

@hushed tundra i hope your neighbor doesn't believe that the solution to hackers is a baeball bat... as that is quite effective security πŸ™‚

hushed tundra
loud bobcat
#

@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 πŸ™‚

hushed tundra
#

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 πŸ˜›

naive summit
#

Aquara stuff is kinda notorious for spotty implementation quality. Their door sensors have been 100% for me, motion sensors not so much.

pseudo gazelle
#

but you managed to connect it at least and test that it worked?

naive summit
#

Yeah. They worked for a bit then fell off.

loud bobcat
#

hmmk where does remote_homeassistant store its yaml... it seems its gui is broken...

sour shadow
#

Any integration set up in the UI doesn't use YAML

lilac wharf
deep shuttle
#

ANy recommendations for a USB in wall controlled outlet, hoping to control the USB for a wall panel as to not overcharge it constantly

dusk python
#

You might need a standard switching outlet + usb power brick

deep shuttle
#

ok, was hoping to hide it behind the panel

dusk python
#

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

deep shuttle
#

My bsement is finished, and it's next to the elevator so a lot of extra structure

dusk python
#

How big of space do you have?

#

Like a standard recessed box with outlet?

deep shuttle
#

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?

dusk python
#

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

dusk python
deep shuttle
#

right, then connect that to the outlet, should work.

dusk python
#

That would make a dumb outlet smart yeah

naive summit
#

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

agile gorge
#

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?

loud bobcat
#

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:

loud bobcat
#

gee - after trying to restart it dozens of times... it finally started. why does this happen? what goes on here?

patent geode
#

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.```
loud bobcat
#

@patent geode i just flashed a sonoff dongle-p - but i used the python tool. it worked fine.

patent geode
#

which python tool? cc2538-bsl?

loud bobcat
#

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

patent geode
#

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

loud bobcat
#

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

patent geode
#

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.

loud bobcat
#

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

patent geode
#

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

loud bobcat
#

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

patent geode
#

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.```
patent geode
#

'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)```
loud bobcat
#

@patent geode looks like you did it πŸ™‚

patent geode
loud bobcat
#

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?

glad plume
#

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 !

carmine hamlet
#

Use the arrow to the right of the 'permit join' button to choose the router you want

glad plume
#

Thank you very much. Perfect solution for me. I'll test it! ❀️

sour shadow
#

It works πŸ˜‰

glad plume
#

Its really good. Its working now.

#

150 LQI. Much better πŸ™‚ I really appreciate your help.

proper kestrel
#

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?

austere patio
proper kestrel
# austere patio 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.

austere patio
#

Does it otherwise work?

proper kestrel
#

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.

rapid dawnBOT
#

@proper kestrel I converted your message into a file since it's above 15 lines :+1:

proper kestrel
#

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.

austere patio
#

"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

proper kestrel
#

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

proper kestrel
#

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.

ashen bluff
#

Sonoff makes/made at least 3 such sticks

loud bobcat
#

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... 😦

gray brook
#

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.

lilac wharf
glossy lintel
#

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

sour shadow
#

Are you running ZHA or Zigbee2MQTT?

glossy lintel
#

Z2M

#

I literally did backup my addon config, copied everything to the new docker

sour shadow
#

Did you pass the device through to the container?

glossy lintel
#

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
sour shadow
#

How are you passing it through?

glossy lintel
#

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

sour shadow
#

I assume that should work, though I don't use Unraid

ashen bluff
#

@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

glossy lintel
#
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

ashen bluff
#

Looks perfectly fine to me 🀷

glossy lintel
#

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 πŸ˜‚

serene light
#

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?

cerulean thorn
#

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

deep zinc
#

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 πŸ˜‚

sand wedge
#

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?

ashen bluff
#

Z2M's ezsp driver used for this adapter is experimental

unborn orbit
#

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

ashen bluff
#

Care to share the error message/logs?

unborn orbit
#

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

rustic citrus
#

ZHA seems to behave with 2023.3.4 update!

deep zinc
#

What was not behaving about it?

mellow geode
#

Did it not start up at all for you previously, because you had broken/outdated custom quirks installed?

mortal night
#

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?

glossy lintel
#

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

glossy lintel
#

hm well, I fixed it by totally removing zigbee2mqtt, made the install again from scratch, works...

loud bobcat
# lilac wharf Devices just won't join if there's no more room on the network. Regarding device...

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.

rapid geyser
#

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

near echo
#

Have ypu emabled the passthru of the device to the VM in proxmox?

lilac wharf
patent current
#

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 ?

patent current
rapid geyser
#

checked the passthrough, it's functional, the stick is recognized in HA

austere patio
near echo
#

Okay than. Change it back to old zb firmware πŸ˜ƒ there is nothing much as end user ij thread yet...just my opinion

final pivot
glossy narwhal
#

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.

crystal lava
#

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```
glossy narwhal
austere patio
#

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.

glossy narwhal
#

<looks> _TZE200_yvx5lh6k

#

<googles how to find/edit quirks>

austere patio
#

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.

glossy narwhal
#

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

austere patio
#

Hmm. If a quirk is matching, there isn't much else you need to do. Maybe try removing the device and re-joining it?

glossy narwhal
#

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.

elfin void
#

Hey anyone here managed to connect Wiser Smoke Alarm to home assistant? Am trying figure out how put it into zigbee pairing mode

mellow geode
#

Apparently it was included in two quirks

#

Just check that you're running the latest HA for now

glossy narwhal
#

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.

mellow geode
#

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)

abstract locust
#

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?

glossy narwhal
fair mountain
#

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.

fallow warren
#

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

fair mountain
echo canopy
#

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?

spring hatch
#

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?

austere patio
spring hatch
austere patio
#

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.

fair owl
#

Does ZHA support setting occupancy_timeout for motion sensor?

spring hatch
gleaming turtle
#

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```
sour shadow
#

How are you running Ziggbee2MQTT?

gleaming turtle
#

Add on πŸ™‚

sour shadow
#

And what coordinator?

gleaming turtle
#

core-mosquito

sour shadow
#

That's... not the coordinator ablobjoy

gleaming turtle
#

Damn, ummm

sour shadow
#

The coordinator is the radio thingy

gleaming turtle
#

AH! So my phisical USB dongle?

sour shadow
#

If that's what you use, yes

gleaming turtle
#

SONOFF Universal Zigbee 3.0 USB Dongle Plus Gateway

#

Gotcha! Thanks for the explanation, still wrapping my head around most concepts here

sour shadow
#

P or E version?

gleaming turtle
#

P version

sour shadow
#

And it's on a USB extension cable?

gleaming turtle
#

No USB extension

#

Direct into the pi

sour shadow
#

That's not good

#

Pi3?

gleaming turtle
#

Pi 3, yep

sour shadow
#

Well, that's less bad, but still not good

gleaming turtle
#

It's not good? Do I need an extension cable?

sour shadow
#

Yes

#

Did you use the default channel 11, or did you pick a channel?

gleaming turtle
#

default channel

sour shadow
gleaming turtle
#

I have an extension cable at hand, how does that change things?

sour shadow
#

Did you at least check to ensure that WiFi channel 1 is clear?

gleaming turtle
#

Yep, my wifi channels don't clash

sour shadow
#

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

gleaming turtle
#

Aha! Let me check those pinned messages

#

Gotcha

#

Makes sense

#

Thanks for that, I'll try it right away

gleaming turtle
#

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

sour shadow
#

If you have nothing on overlapping WiFi then it's fine

austere patio
#

Definitely set a new key, the default isn't random

gleaming turtle
austere patio
#

That's all Tinkerer πŸ˜„

scarlet idol
#

ola

#

am i right here? how can i change the data ratio (reduce) of datapoints? My battery dies too fast in these devices

heavy mist
#

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.

gleaming turtle
scarlet idol
heavy mist
#

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.

scarlet idol
#

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

glacial kiln
#

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

mellow geode
#

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?)

heavy mist
#

Still looking for help setting up my Sonoff Zigbee Bridge Pro in ZHA.

#

Currently, it ZHA only sees my SkyConnect.

mellow geode
#

Huh?

molten linden
#

You can only have one coordinator

heavy mist
#

Ok. Apologies. Not familiar with the terminology. If my SkyConnect is a coordinator, then I suppose I need to replace it with the Sonoff.

mellow geode
#

Why would you want to replace it?

heavy mist
#

Because the SkyConnect can't connect to Zigbee devices.

mellow geode
#

What do you mean with "can't connect"? Of course it can. Does the interview fail?

heavy mist
#

I mean, it's supposed to.

molten linden
#

The. You likely have interference

heavy mist
#

But mine doesn't.

mellow geode
#

Used the (provided) USB extension?

heavy mist
#

4 devices in pairing mode, within 5 feet of the skyconnect. No connection possible.

heavy mist
mellow geode
heavy mist
#

One does consistently pair, but immediately drops the connection.

mellow geode
#

So it can connect to a device

#

What are you trying to pair? (likely still an interference issue you have)

heavy mist
#

3 small Sonoff devices, and a Kwikset Smartcode 914 with Zigbee.

#

The kwikset does pair, but as soon as it does, it goes unavailable.

mellow geode
#

Your SkyConnect is positioned away from anything metal, USB SSDs, access points/routers, and so on?

molten linden
#

Still sounds like interference

#

Also are they all end devices (battery)

heavy mist
#

I have a Bluetooth Dongle, and 3 WiFi APs nearby. Plus I'm using my dryer as a shelf.

molten linden
#

BT is 2.4 and can be an issue

heavy mist
#

Definitely interference...

#

And the 3 WiFi APs arent?#

molten linden
#

3 APs too

heavy mist
#

And the skyConnect is laying down on a metal dryer.

molten linden
#

Recommend running an energy scan

#

zigpy-cli

#

Disable zha.

heavy mist
#

This is why I want to use a remote Sonoff Bridge instead...

molten linden
#

It’s Wi-Fi

#

It’s a terrible idea I started a whole business because of those bridges πŸ˜‚

heavy mist
molten linden
#

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

heavy mist
#

I realize it's still not ideal, but it's the lesser of 2 evils.

molten linden
#

Search GitHub for all the issues with Wi-Fi sonoff bridges

#

πŸ€·πŸΌβ€β™‚οΈ

heavy mist
#

The interference in the laundry room makes it impossible to get signal there.

mellow geode
heavy mist
#

That's where the Internet comes into the house.

molten linden
#

Or try the Wi-Fi bridge and count yourself lucky if it works

#

Reliably

#

To switch just delete zha

heavy mist
#

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.

molten linden
#

And reset it up with the socket://ip:port

#

Of the bridge

heavy mist
molten linden
#

Check my GitHub for examples

heavy mist
#

Bridge is running Tasmota, by the way.

#

If it makes any difference.

molten linden
#

Is tasmota set as serial gateway?

#

Or are you using tasmota zigbee

#

They have their own zigbee host

heavy mist
#

Tasmota firmware specifically for the bridge pro.

molten linden
#

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

heavy mist
#

*Their

molten linden
#

Thanks πŸ™

#

Fixed it

heavy mist
#

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.

molten linden
#

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

heavy mist
#

Hmmm. Ok. May need to hop on the Tasmota Discord.

molten linden
#

Otherwise you use the tasmota zigbee solution and I guess everything goes through mqtt. I really don’t know tasmota well

heavy mist
#

Yes, Tasmota uses MQTT to communicate with HA.

molten linden
#

Then you would not be using zha at all

#

Tasmota would be doing the work that zha does

heavy mist
#

Oh.
I'm Soooo confused.

molten linden
#

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

heavy mist
#

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.

molten linden
#

Or it can run its own zigbee stack in which case it’s doing the same function as zha or zigbee2mqtt

heavy mist
#

So, I'm not sure how to tell HA to get it to scan for devices.

molten linden
#

Tasmota has ha discovery for mqtt but that’s outside the scope of this channel

heavy mist
#

I'm talking about Zigbee discovery.

#

I can't figure out how to pair with devices.

molten linden
heavy mist
#

D'oh. I forgot! There is a pin-hole button for that!

molten linden
#

Their docs literally say way better than me what I’ve been trying to say

heavy mist
#

Thank you. I'll figure it out at some point.

molten linden
#

The blue box isn’t for this channel the orange is

heavy mist
#

Ok.

glacial kiln
#

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

alpine thorn
#

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.

brave nacelle
#

are there any high quality zigbee rgbic led strips out there?

#

they all seem to be wifi :/

placid zinc
sour shadow
#

Gledopto do great controllers to which you can connect any strip you want

brave nacelle
#

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

sour shadow
#

Chasing effects sounds like something for a digital strip, not an analogue one

#

You want WLED

brave nacelle
brave nacelle
#

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

sour shadow
#

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

brave nacelle
#

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

sour shadow
brave nacelle
#

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

sour shadow
#

No idea, I haven't bought them, but obviously the higher the density the smoother the effects will be

brave nacelle
#

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

brave nacelle
#

ah i'm so used to amazon for everything

#

it's like muscle memory lol

#

❀️

alpine thorn
#

The "Chasing Effect" is pretty much standard in any controller.. kinda one of those generic lighting effects

sour shadow
#

Depends on the controller, it's by no means a universal standard - and any purely analogue strip is one colour at a time only

mystic badge
#

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`````

sour shadow
#

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

brave nacelle
#

unless i'm overlooking something

#

i couldn't find any mention of it in the product description

sour shadow
#

Digital LED Zigbee controllers are rarer than rocking horse poo

brave nacelle
#

well that kinda puts it back at square 1:(

naive summit
#

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.

dire owl
#

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
rapid dawnBOT
dire owl
#

Thank you bot for converting

#

Error says some math problem in the code

tropic depot
#

open an issue on the quirks repo and make sure to fill in the template please

dire owl
#

Will do, thanks

dire owl
#

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

molten linden
dire owl
molten linden
#

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.

dire owl
molten linden
toxic ice
#

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

sour shadow
#

Are you trying to use deCONZ and ZHA at the same time, on the same stick?

toxic ice
#

that's what the devices thing popped up with

sour shadow
#

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

toxic ice
#

so deconz is not needed? i read it was required for the conbee stick to work

sour shadow
#

No, it's not needed

#

You do need a USB extension cable for the ConBee stick

toxic ice
#

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

sour shadow
#

If you want to use HA's native Zigbee support - ZHA - then you don't want deCONZ

toxic ice
#

alright, pretty confusing gotta say, thanks

sour shadow
#

Hell, if you want support for new devices you don't want deCONZ

#

ZHA is way more actively developed than the Phoscon stack

toxic ice
#

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

sour shadow
#

Yeah, remove the Phoscon stack, reboot, and then set up ZHA

#

If it fails again the log file has more information

rapid dawnBOT
#

If you're having problems with your updates to your configuration:

toxic ice
#

yeah this time it didn't, probably because of no rebooting

#

nice, seems to have copied over my lamps too!

toxic ice
#

hmm, seems like one of my ikea bulbs aren't compatible, just says null on the test buttons when adding devices

toxic ice
#

hue bulbs also seem incompatible, shame

sour shadow
#

Hue bulbs work fine with ZHA

#

As long as they're Zigbee, they work

toxic ice
#

they're randomly flashing and don't respond to commands

sour shadow
#

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

toxic ice
#

extension cable yes, haven't checked wifi though

sour shadow
#

There's many useful messages in the pins here

toxic ice
#

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

sour shadow
#

It should work fine, it does for most people, it may just require a little more effort than you're expecting

toxic ice
#

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

sour shadow
#

Unfortunately for you, the ConBee is also the one that's most sensitive to interference

toxic ice
#

that's a shame, the only one i've found used so far

sour shadow
toxic ice
#

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

sour shadow
#

A new Zigbee coordinator isn't going to be expensive

toxic ice
#

no but i refuse to buy new from a store

#

"Sonoff ZBDongle-P" is one i could order right now

sour shadow
#

That's a good one

mighty river
#

Has the new update broke zigbee2mqtt

sour shadow
#

The new update to what?

mighty river
#

As Bluetooth no longer works on my HA and neither does any zigbee decide

#

home assistant

sour shadow
#

Well, the HA Core update can't impact Z2M

mighty river
#

Ah okayz

#

I see

sour shadow
#

I'm running Z2M with the latest HA Core ... zero issues (unsurprisingly)

mighty river
#

What about Bluetooth

sour shadow
toxic ice
#

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

mighty river
#

I get failed to locate lqi

#

On every zigbee decide

#

Device

#

For some reason

sour shadow
mighty river
#

I got signed working

#

Hard reset did it

#

With power

#

Has to # as I couldn't find it aha

toxic ice
#

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

austere patio
#

There are no known incompatible IKEA devices

toxic ice
#

older generations of trΓ₯dfri were not i've read

austere patio
#

Proximity also may not help: if the coordinator is in a place with too much noise, it just won't transmit at all

toxic ice
#

well everything else works

austere patio
#

Is it one of the bulbs with the precise 6 x on/off reset sequence?

toxic ice
#

yes

#

it continues flashing after i pair it

mellow geode
toxic ice
#

very odd then, faulty unit

#

it doesn't show as disconnected either, just as if it's in a parallel universe

ember raven
#

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 πŸ™‚

toxic ice
#

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?

mellow geode
toxic ice
#

oh ok, yeah then something else is definitely wrong, very odd

mellow geode
#

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

toxic ice
#

alright

#

the others don't pulse when the pairing is done, but this one is

toxic ice
#
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'
toxic ice
#

completely reset the radio and i think it works now

hybrid cloud
#

ah nvm

normal steeple
#

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)?

sour shadow
#

No

normal steeple
#

Oh, ok. Guess I'll be getting some tradfi repeaters then. Thanks!

hard forge
#

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?

austere patio
glad plume
#

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?

sour shadow
#

Not the ConBee

#

It really depends though - ZHA or Zigbee2MQTT?

glad plume
#

Z2M im using.

sour shadow
#

Then CC2652 based

#

(not the SkyConnect)

placid zinc
#

It's CC2652P based

glad plume
sour shadow
#

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

glad plume
glad plume
sour shadow
#

Then that removes 99% of the problems people have had with them πŸ˜„

glad plume
#

Ordered it. Lets see how it will work πŸ™‚

sour shadow
#

Should be fine - I have one and it gave me no problems

glad plume
loud bobcat
#

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?

austere patio
loud bobcat
#

@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...

austere patio
loud bobcat
#

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

austere patio
#

What specifically breaks?

loud bobcat
#

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

austere patio
#

Times out where?

loud bobcat
#

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)

austere patio
loud bobcat
#

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

austere patio
#

I'd try an energy scan. WiFi scanners won't pick up non-WiFi noise sources.

loud bobcat
#

is there some way to energy scan from within haos?

austere patio
loud bobcat
#

tnx

#

gahr

#

missing gcc

austere patio
#

Make sure you follow the instructions exactly and get into the Docker container

loud bobcat
#

yeah

#

got up to virtualenv

austere patio
#

Oh, you don't need to do that

#

Deactivate the venv with deactivate and just run pip install zigpy-cli

loud bobcat
#

docker exec -it homeassistant bash already

#

hmm

#

it barfed pretty badly

#

(energy scan)

austere patio
#

Did you disable Z2M?

loud bobcat
#

stopped it

austere patio
#

What do you mean by "barfed"?

loud bobcat
austere patio
#

Oh, you're using your actual coordinator. Hmm.

loud bobcat
#

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

austere patio
#

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

loud bobcat
#

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?

austere patio
#

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.

loud bobcat
#

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?

austere patio
loud bobcat
#

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

austere patio
loud bobcat
#

oh wait sorry - i used channel 15 not 11 it seems

#

that matches what my unifi equipment says

austere patio
#

Well there's your problem. What channel was Z2M configured to use? The default of 11?

loud bobcat
#

ie lower channels are busy πŸ™‚

#

i think it was 15

#

energy scan says 15

austere patio
#

That's for the temporary network

loud bobcat
#

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

austere patio
#

You can save yourself a bit of trouble: restart Z2M so that the old network settings are rewritten

loud bobcat
#

the pain will be repairing all the lights... ugh.

austere patio
#

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

loud bobcat
#

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

austere patio
#

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

loud bobcat
#

hmmm actually i believe my dimmer zigbee moduels wont change channel without re-pairing

#

at least thats what the maker says...

austere patio
#

Many battery-powered devices won't

loud bobcat
#

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

austere patio
#

They wouldn't cause noise like that

loud bobcat
#

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)

austere patio
#

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

loud bobcat
#

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

austere patio
#

But at the same time, that can also be caused by noise, as routing can be affected if your environment is really noisy

loud bobcat
#

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?

austere patio
#

I would just revert back to the last-working config, probably the one that Z2M is currently using

loud bobcat
#

weird... it's complaining about a conflicting pan_id

#

i guess i can change that?

austere patio
#

Ah, Z2M

#

Can you copy the coordinator-backup.json file into Home Assistant's /config/ folder?

loud bobcat
#

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?

graceful venture
#

could anyone tell me if the Sonoff ZBMINI-L has a smart bulb detached mode?

loud bobcat
#

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

alpine thorn
alpine thorn
rapid dawnBOT
#

@plush bramble I converted your message into a file since it's above 15 lines :+1:

rustic kernel
#

Is the zigbee network information stored on the coordinator like how zwave behaves? Anybody know?

errant patio
#

it is not on the stick if you are asking that

brave jungle
#

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
naive summit
#

Zigbee the protocol, not ZHA handles mesh changes.

errant patio
#

"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.

naive summit
#

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.

brave jungle
#

hmm.. Means I should reset them and add them again, from the proper final location?

naive summit
#

Might help.

errant patio
#

Yeah. It is generally best to pair them near the location you want to use them.

naive summit
#

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.

brave jungle
#

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..

brave jungle
#

By the way, to the zigbee light bulbs act as repeater? Or only the zigbee plugs?

molten linden
#

Most bulbs do

#

Not Sengled though

brave jungle
#

great, thanks tube!

mighty river
stoic kettle
#

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).

sour shadow
#

Pretty sure there's nothing with a built in motion sensor

stoic kettle
#

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

forest arrow
#

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?

sour shadow
#

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)

lime goblet
#

How do you delay ZHA from starting up for a minute or 2 in yaml? I think it might be causing some issues.

raven chasm
#

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

#

.

unborn orbit
#

Anyone having issues iwth node red resetting and resulting in z2m being flooded iwth unknown attributes?

tired ermine
#

Havent checked logs yet but my zigbee devices are wonky at best today

kindred flame
#

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 :/

near echo
#

check if your mqtt server is running fine. restart Z2m add-on / container as the case may be

sour shadow
#

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

kindred flame
#

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
#
voluptuous.error.MultipleInvalid: invalid url for dictionary value @ data['device']['configuration_url']
#

Called it

kindred flame
#

just funny, havent changed anything

sour shadow
#
zigbee.home.lauer.dk/#/group/2
``` isn't a URL
kindred flame
#

that isn't something I have definde?

sour shadow
#

Yes, it is

#

You set it in Z2M

#

The example there is a URL, what you have isn't

kindred flame
#

ahh, but that has been like that for a year

sour shadow
#

Then you haven't updated HA in a year shrug

#

That's thrown errors for a long long time

kindred flame
#

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

little wave
#

No love between zha and sonoff routers 😦

sour shadow
#

ZHA doesn't care about them either way

delicate current
#

Do you have a hardware recommendation for an external Zigbee hub?

sour shadow
#

Hubs suck

#

If you want a network connected coordinator then those exist

alpine thorn
#

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?

final kestrel
#

Or any other board….

#

My sky connect is poking out of my enclosed rack with fantastic connection strength

delicate current
#

@sour shadow @final kestrel Thanks

little wave
# sour shadow ZHA doesn't care about them either way

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?

pulsar vault
#

Did you ever get your cube working? I tried like 2 months ago but it wasn't supported yet.

#

Nevermind. After updating Zigbee2MQTT, it now shows at supported!

mighty river
#

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?

austere patio
austere patio
#

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 πŸ€·β€β™‚οΈ

mighty river
# austere patio What's the model number for your motion sensors?

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.

mighty river
#

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.

lime goblet
#

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

rapid dawnBOT
#

@lime goblet I converted your message into a file since it's above 15 lines :+1:

mellow geode
#

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

#

Maybe report the issue in the HA Core issue tracker (if no one else did so already)

lime goblet
#

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

mellow geode
#

Completely restarting the whole HA machine might "fix" the issue temporarily

lime goblet
mellow geode
#

Maybe also mention that you're using Multi Protocol

bright nebula
#

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?

late imp
#

I got a horman promatic garage door opener, has anyone gotten this connected to home assistant?

lucid coyote
#

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.

glad plume
#

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!

mighty river
#

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.

https://www.zigbee2mqtt.io/devices/TS0202.html

glad plume
#

Yeah im thinking about the same.

#

I'll check the average battery time.

violet dagger
#

its years

glad plume
#

perfect. thats what I need. Thanks mate.

bright nebula
#

and most use easy to find CR2032 batteries

jovial blaze
#

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?

mellow geode
#

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

jovial blaze
# mellow geode If you're still having issues (even with a fresh battery), try to see if you can...

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.

jovial blaze
#

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

open mica
#

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

austere patio
steep anchor
#

If a device goes offline like a light switch in a wall, what's the best option for fixing it? Heal or re-interview?

woven horizon
#

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.

inland agate
#

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.

mighty river
#

hopefully just teethering issues and sky coonect gets better as having same kinda issues, things that didnt happen with previous ones

final kestrel
#

my skyconnect has been bless with zigbee2mqtt

little wave
mighty river
little wave
#

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).

bright nebula
#

Nice to see you got your sonoff to work as router. I have one as router too, it gets to route pretty much everything

subtle bramble
#

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

junior viper
stuck brook
#

I have a new conbee key. I can't flash it. When I do .\GCFFlasher -l . Nothing is detected

junior viper
#

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

bronze sleet
#

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

bronze sleet
jolly geode
#

There is a setting but it seems to have no effect

austere patio
hushed tundra
#

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?

austere patio
#

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

hushed tundra
#

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

austere patio
#

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

woeful sentinel
#

i'm trying to configure an active device to power a MQTT binary sensor in HA

#

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

sour shadow
#

One minute availability timeout

#

That's ... excessive

coarse musk
#

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

woeful sentinel
#

I stuck a usb Repeater in it

onyx bison
#

Hi friends, someone has anyone created a device with processor nxp jn5169 using mcuxpresso? devtools

woeful sentinel
#

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

vivid heart
#

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

glad plume
#

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.

sour shadow
#

What's your install method for HA?

#

HAOS? Container? Core? Supervised ablobgrimace ?

glad plume
#

Sorry I forgot to write. Im using HAOS on RPI4GBB

sour shadow
#

Then there's a hardware menu that lists the paths

#

Though if you're using ZHA it should just auto-detect

glad plume
#

Im using Z2M, but hardware menu does not show, if you mean Settings - System - 3dot - All hardware

sour shadow
#

It should, if it's detected

#

Not being detected may mean you need a powered USB hub

glad plume
#

hmmm

#

interesting because it gets power, because the green light comes up on the board of zigbee coordinator.

sour shadow
#

Doesn't mean it's getting enough power shrug

#

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

glad plume
#

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.

glad plume
#

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.

idle iris
#

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

glad plume
#

I have the same settings

#

I cannot solve this.

glad plume
#

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.

idle iris
#

homeassistant: true

#

that's all

glad plume
#

In Z2M config I mean.

#

what you copied the port and adapter...

#

just do what I said bro, I got you. it will work.

idle iris
#

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

glad plume
#

its writing this when your coordinator not connected.

#

Go Settings - Systems - Hardware - 3 point - All Hardware

#

and check for the USB port

idle iris
#

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

rapid dawnBOT
gleaming jay
#

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

glad plume
#

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.

glad plume
#

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.

austere patio
#

If things work, don't worry about LQI

glad plume
austere patio
#

Yeah, completely different calculation method. What you see is normal.

glad plume
#

LQI looks bad, but im using routers and everything works until the first checks.

glad plume
open mica
#

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.

rapid dawnBOT
#

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).

sour shadow
#

Potted summary in there ☝️

idle iris
#

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?

austere patio
idle iris
austere patio
# idle iris I don't quite understand what you mean by that? Is the addon active to update th...

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.

stuck brook
#

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? ;/

austere patio
#

For the Conbee? Yes

fleet hamlet
#

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 !

mighty river
#

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

sour shadow
#

What's the error causing it not to start?

rapid dawnBOT
#

@mighty river I converted your message into a file since it's above 15 lines :+1:

mighty river
#

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

mighty river
#

then when it comes back - its forgotten all of my devices

hybrid cloud
#

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]

molten linden
#

Those are normal part of debug logging

#

Not errors they are the ezsp counters and they can help diagnose issues.

hybrid cloud
#

ok, they just showed up as red, so not sure if they were trying to tell me something was wrong

molten linden
#

If you don’t have any current issues advise turning off debug logs as they can grow quickly

hybrid cloud
#

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>')]

hybrid cloud
#

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

vivid sapphire
#

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)?

dawn sable
#

What does this mean?
[zigpy.device] Failed to parse message (b'183a0700000000') on cluster 8, because Invalid ZDO cluster ID: 0x0008

molten linden
#

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.

hushed tundra
#

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

vivid sapphire
fair mountain
#

hrm. first hue outdoor failure. showing purple instead of blue, and one white instead of any colour. get to see how Hue warranty is ..

hybrid cloud
#

Does anyone have any recommendations for good motion sensors with adjustable timeouts. All the motion sensors I've tried have issues, sadly