#zigbee-archived
1 messages ยท Page 165 of 1
Yeah, changing it in the ZHA config has no effect after your network is formed
Not much effort to re pair all devices when you only have 2 ๐
Network was unusable, still kind of is. I'll fiddle around a bit more and maybe just get a new adapter.
Did you use the adapter with Zigbee2MQTT or was it always used with ZHA? It's likely on Zigbee channel 15, which is not affected by WiFi networks on channels 1, 6, and 11. Do you have any WiFi networks on non-standard channels 2-5?
Always ZHA, wifi is on channel 4
๐ค that's an odd choice of channel
That's like right on top of Zigbee 15 ๐
And it interferes with both WiFi 1 and 6. Stick to one of 1, 6, or 11, preferably 11 if you want to stay as far away from Zigbee as possible.
how many devices can a zigbee stick handle? i have just added my 50th ๐
~50 connected directly to the stick, many more if you use routers
I've seen people report a few hundred devices in the mesh
Rookie numbers
Zigbee has 65k network addresses. Gotta use them all
Come back to me when you have a 10k device network
And no money ๐คฃ
You're still using 16-bit addressing??? You're not really using Zigbee until you have to exclusively use 64-bit IEEE addresses for all commands.
lolool
puddly spitting facts over here
Nah, 2.4 at zigbee/wifi power levels doesn't go through water
hahahahahahaaha
For real, I should probably get a new microwave
One of my APs is 25 feet from the microwave and would show a shitload of interference when I had it set to channel 6
Seems like it's leaking more than expecte
But awesome for starting baked potatoes
Now that AP is on channel 1 and the ones in the basement are on 6 and 11
hello to all i am thinking in going to sonoff zigbee any1 has issues with the integration?
Which integration?
sonoff into home assistant
That doesn't answer the question, not really
Zigbee :bee: - please remember to mention whether you're using zha (https://www.home-assistant.io/integrations/zha), zigbee2mqtt (https://www.zigbee2mqtt.io), or deCONZ (https://www.home-assistant.io/integrations/deconz). If you're using some hub, we probably can't help you though - try the #integrations-archived channel instead.
Looking for devices? See https://zigbee.blakadder.com/ and https://www.zigbee2mqtt.io/information/supported_devices.html.
Wanting advice about what stick? Look in the pinned messages. Just don't buy anything CC2530 or CC2531 based.
This channel is about ZHA, Zigbee2MQTT, and deCONZ
ok sry
There is no native Sonoff integration either
If you want help, we need actual details
Are you talking about their sticks, their device, or ...?
device + temp humidity sensors
I have a remote that seems to turn on all lights and turn off all lights without an automation
could zigbee direct binding even work like this? I thought it could associate devices 1-1, but this is like 1-all
any way to check in z2m?
Zigbee2MQTT:debug 2021-12-13 23:17:08: Received Zigbee message from '0x04cf8cdf3c793ca0', type 'commandOff', cluster 'genOnOff', data '{}' from endpoint 1 with groupID 0
I.. guess that's what commandOff would do?
now, how can I remove this?
Is it IKEA?
Aqara Opple
Some devices by default send group commands (groupID 0), and some devices by default are members of groups
I just want to use it as a regular button, not to trigger the whole house
think a reset would do it?
I have 5 of them, only one does this
looks like a reset removed the group command
I'd unbind genOnOff from the coordinator first, for all devices.
Donโt do this
a lot of zigbee 3.0 devices will communicate with the special broadcast group if they arenโt configured / bound correctly
when they do this it should impact all devices on the network with reciprocal clusters
Chances are that when this one was paired it didnโt complete binding / configuration
this caught me by surprise when we first added support for them to ZHA tooโฆ I first added them with quick init support (skips config / binding) and everything on the test network shut off ๐๐
when not configured correctly all traffic is sent to nwk 0xFFFF
any zigbee dimmable bulbs with better dimming than the sylvania? those have noticeable bumps not very smooth I'd guess its about 10% ish
Zig ah zig ahhh
it's like they're crying out for help with the broadcast

Philips hue, no doubt
After adding MariaDB to my HA Blue my ZHA lights did not work. After restoring to a previous backup without MariaDB it worked. I verified MariaDB did work (eg logging) so not sure why this error occurred. Was I just unlucky and should try again, or will ZHA integration not work with MariaDB?
ZHA shouldn't interact with it at all. Can you enable https://www.home-assistant.io/integrations/zha/#debug-logging and restart HA to see what the actual error is?
Hey @austere patio! Yes, I will re-enable MariaDB and check for the error.
Server now restarting... so I'll check for longs once its up.
I am not using DeCONZ btw, I use ZHA
@austere patio What logs would you like? Core?
SOME of my lights are working, not all now.
And now everything is working. Weird!
I do have some issues though, which I've had for quite a while. It might not be related to my initial MariaDB question, although I hoped perhaps MariaDB / HA Blue would solve it. Sometimes, if enabling/disabling a Scene or turning on/off a group of lights, some of the lights will still be on, despite HA saying it's off. If I toggle the scene/light it usually then turns off, but it's quite strange that it reports the wrong state and also doesn't turn off, even though HA says it's off. Anybody experienced something similar?
Seems perhaps related to this, albeit no answers: https://community.home-assistant.io/t/zha-zigbeegroup-wrong-light-status-in-ha/257146/2
Hey friends, hope this is the right place...
I got some aliexpress zigbee light controller and it's driving me bonkers.
Got this one exactly: https://www.aliexpress.com/item/1005002283677546.html?spm=a2g0s.9042311.0.0.18144c4deyLMdZ
YSR-MINI-Z01
It just flashes smoothly like it's in pairing, then two abrupt flashes and starts again. The phyisical switch has a slight hum. I'm using ZHA and got it to pair once, but it quickly depaired and I haven't been able to pair since. Any suggested next steps? Thanks!
It's likely the Conbee that you're using taking a while to start up after a restart. Do you frequently restart HA?
@austere patio Hopefully not. I switched to HA Blue to avoid this issue, as my old Raspberry PI with SD card was unstable. So just installed HA Blue yesterday
In that case it's probably just the Conbee being weird. It might take a minute or two for it to start working properly after a restart.
I see. Thanks a lot for your help.
Would you happen to know anything about the light groups / scenes not always reporting the correct state?
Are you using ZHA groups or just normal light groups?
Can I run both zha and mqtt on my raspberry HA-os?
There are some Blueprints only available for mqtt and I'm not good at the yaml coding yet...
If you have two coordinators, sure
Yes. Two integrations can't use the same stick.
Okay, thank you very much, probably saved me a lot of time ๐
I don't get mqtt broker set up in the right way.
If I do it like described in the documentation, I got an error for "missing password".
Seems the YAML-Syntax is wrong
ok, works now. Seems to be an missing whitespace
Hi all!
I'm using ZHA and Tuya thermostat. It works not perfect but normal)
I want add some additional thermostats, but they can be placed only on collector, not in rooms.
Is there are any way to control thermostat via external sensors (zigbee or other sensor in HA) ?
Anything can control anything else in HA
This is what automations are
If two things exist in ha, it can play in tandem
As I understand - thermostat will with its local local sensor and I can only set target temp (which doesn't have any correlation with external sensor value)
May be it is incorrect topic for my question.. )
You can use HA to change that target though
Thermostats are a thing of the 80s here, so I have no experience with them, I would expect you to be able to do automations of a ZigBee sensor when temp goes below xyz or above zyx you set target
Temp in room -24C, temp near collector - 30C. If i'll set target 26C - thermostat will close radiator, but I need to open.
But i think I must go other topic
I found possible solution with modifying calibration setting of thermostat, but in ZHA device I don't see it (z2m has as i see), but don't want to migrate from zha to z2m..
You should just be able to use a generic climate device tbh
Can I read somewhere how configure ZHA device as generic climate?
I read this, but I can't understand how to use this for thermo. Generic thermo control "heater switch", but ZHA thermo is not switch ) I don't see possibility to "close" or "open" thermo in ZHA.
Hi, any idea why i cant setup ZHA with my conbee2?
I just stopped deconz, rebooted and try to setup ZHA, but it loads endlessly and logs say there was a timeout error
Hallo Gents. Since the last update (yesterday) I have lost the control over 90% of my zigbee power plugs. I cannot even remove and re-add them. Even if I rename the zigbee.db and restart HA they are comeing back in this zombie state. Any idea ? I am running on VM and the below article is not helping (https://community.home-assistant.io/t/unable-to-delete-zigbee-device/224041). How can I attach picture here ? "+" is only providing new thread and slash commands...
(I have updated the core and the host to the latest)
Please use imgur or other image sharing web sites, and share the link here.
Image posting is blocked in most channels to discourage people from sharing text as images. Sharing text as images assumes that everybody sees the world as you do, which isn't the case. Some people are colour blind, or have visual impairment that means they can't make sense of an image of text.
screenshot of the zombie device https://imgur.com/a/AVlWxRE
and I have 7 of these right now
any idea please ?
Is it possible to use the zigbee hub in amazon echo in HA? I bought a motion sensor from zooz that I want to turn on lights. The lights are sengled zigbee bulbs that came with echo.
Hi my conbee cannot discover zigbee devices
Is it on an extension cable?
There shouldnโt have been anything in that update to cause this.
How did you set up ZHA? and are you sure nothing else is accessing the stick? My guess is deconz is still running
deconz runs inside of HA OS, so i stopped it, even stopped AND rebooted HASS OS and then tried to use it, no chance
ok, but it has. how to solve ? any idea ?
What version did you update from though? With what coordinator connected to what hardware?
is it an addon? if so maybe try disabling it and restarting?
I have updated my core to 2021.12.1 and operating system to 7.0 (running in a VM), that's all what happened. I noted that 90% of the zigbee powerplugs are not working, so I removed them - did not help. Then tried the article above - did not help
this vm is running on windows. I do not know wthat was the previous version - despite it was enabled to let it update itself it did not do that. Maybe 2-5 minor versions earlier (core) and one version earlier for the OS
ah, no sorry. it is now running on a rpi4
(it was migrated 1 month ago from a vm)
zigbee controller is an usb Texas Instruments Z-Stack ZNP protocol: CC253x, CC26x2, CC13x2 adapter - worked until months (evan after the migration)
Eeeh those are three different products
Which one are you running?
If it is the former it is known to have issues
The two latter ones are fine
sorry I lost, please ask more precisely - which 3 are different ?
Yes, that is a horrible product
That is known to lockup
I'm not sure what the preferred way to reset it these days are, have you tried unplugging it and replugging it ?
Coincidence probably
cannot I cleanup all the zigbee configs from HA and restart it from scratch ?
You should just need to get the stick responding again
I already renamed the zigbee.db - did not help, it brought back the config from somewhere
it is...my log is full of errors
Unless you have removed power from the stick nothing you do in the OS will help
Update for sensor.tz3000_g5xawfcq_ts0121_******_electrical_measurement fails ----- 60+ events
Exception in async_set_state when dispatching '58:8e:81:ff:fe:d3:8e:5b:1:0x0702_attribute_updated': (0, 'current_summ_delivered', 3337) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/zha/sensor.py", line 201, in async_set_state self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 505, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 538, in _async_write_ha_state state = self._stringify_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 511, in _stringify_state if (state := self.state) is None: File "/usr/src/homeassistant/homeassistant/components/sensor/init.py", line 363, in state value = self.native_value File "/usr/src/homeassistant/homeassistant/components/zha/sensor.py", line 196, in native_value return self.formatter(raw_state) File "/usr/src/homeassistant/homeassistant/components/zha/sensor.py", line 485, in formatter return self._channel.summa_formatter(value) File "/usr/src/homeassistant/homeassistant/components/zha/core/channels/smartenergy.py", line 196, in _formatter_function return self._summa_format.format(value).lstrip() AttributeError: 'NoneType' object has no attribute 'format' ----- 1200+ events
but, there is no /usr/src/homeassistant/homeassistant/helpers/ folder in terminal session
I already tried to remove zigbee, but I do not have integration menu anymore in this latest HA
it moved
is that correct ? was it merged into the configuration ?
configuration -> devices and services
they redid the entire configuration navigation
ok, thanx. I already deleted the zigbee, but when reinstalled, the whole messy config came back
that's why I am looking for some way of zigbee config cleanup
delete the zigbee.db, delete zha.storage and remove any devices / entities that mention zha in the device and entity registries. This is all "dangerous" so back everything up
devices are not removable - please see screenshot above ๐
the registries are in .storage dir
where is zha.storage ?
Old but a goodie/cheapie - https://www.homecontrols.com/GoControl-Z-Wave-Zigbee-QuickStick-LNHUSBZB1_OB - Hi Dave ๐
I cannot find that - as I wrote above, I already found an articel which describes to remove this registry and storage but I cannot find them
wow where have you been???
Basically in the six month haze of starting a new job ๐
Welcome back to us! ๐
where are that zha.storage and those registry entries ?
hmm. removed the integration + renamed the db file. now something is happening - devices are cumulating and seems to be ok now
(after restarting HA and adding zigbee HA again)
not yet - I tried reinstallation, tried removing devices, tried renaming the db, but all in different steps to avoid too much harm as I do not know what I am doing ๐
Enable https://www.home-assistant.io/integrations/zha/#debug-logging and post the error in the home-assistant.log file
thanks, i'll try it tomorrow, as its in the evening now and i cannot kill all the lights for everybody ๐
I have a Sengeled RGBW zigbee bulb (through Deconz) but Home Assistant thinks it can only do color, not white temperature. If I try to use any of the white mode settings when calling the turn on service, it's always in color mode. The only way so far I've found to get it back to white is to make a call to the deconz rest API. Any ideas on how I can get Home Assistant to handle the white too?
I found this issue related that says switching to ZHA fixes the problem: https://github.com/dresden-elektronik/deconz-rest-plugin/issues/4833. Guess I'll be migrating.
Just to notify. Found solution with custom_zha_quirks to add temperature offset as HA object and now can equalize thermostat temperature value with external sensor. Works fine ๐

So I have an issue where my Zigbee devices just stop responding. I was over in the Automation channel and one of the admins pointed me over here after I found that my temp sensor and HA aren't talking to each other. Anyone have issues of devices just dropping out?
Hello! Do you know how many Zigbee devices (nodes) could be connected to Home Assistant Yellow in the same Zigbee network?
Hundreds
More than Conbee II could handle? I have the feeling my Deconz network is reaching his device limit ๐
the ConBee should also handle hundreds
Sounds like probably interference, poor radio channel choice or not enough routers @lavish iris
is there any way to make the humidity and temperature calibration of a TS0201 also affect the displayed values and not only the values sent via zigbee?
I purchased a bunch of Aqara sensors ; and nothing shows up "Quirk: zhaquirks.xiaomi.aqara.magnet_acn001.MagnetE1" ; Power unknown ; it seems like its not identified properly?
lumi.magnet.acn001
by LUMI
Connected via Zigbee Coordinator
MCCGQ14LM
which coordinator do you have?
E1 aqara stuff is a little locked down.... TI coords need the latest dev fw to work with them
I believe the 2021.12 release of ha has a workaround for the EZSP radios - not sure about conbee
I had a battery in a tradfri switch die a few months ago and finally got around to replacing it. Should it just like, show back up and work? Or do I have to do something? Still shows as unavailable under devices
Nevermind - I was able to get it to be available after pairing it again .. just took a few tries
Whatโs an alternative door sensor/ temperature sensor than those for zigbee?
I have some of these as well which work well... though they go through batteries faster than the aqara ... tuya but spec they actually follow the zigbee spec: https://www.aliexpress.com/item/4000475355327.html
the E1 aqara should be fine, I just pulled mine out of the drawer and tried them with ZHA and my ezsp radio and they worked great. for CC2652 you'll need the latest dev fw. the E1's require a specific manufacturer code response from the coordinator when joining to work fully so once this was found out a work around was created pretty quickly.
dev z-stack FW is here: https://github.com/Koenkk/Z-Stack-firmware/tree/develop/coordinator/Z-Stack_3.x.0
most recent changelog:
20211207
SimpleLink SDK 5.30.01.01 (changelog)
Increase memory heap
Turn on/off leds when joining is enabled/disabled
Fix Xiaomi E1 devices not (fully) working
Would that be on your latest tube coordinator that I purchased (and is currently halfway between the USA and Australia lol) or would I have to update it myself?
So almost all my zigbee devices got disabled during the latest upgrade of HA. Just me or did it happen for others?
What method are you using? ZHA, Z2Mqtt, or deconz
let me take a wild guess ZHA with deCONZ coordinator? how am I doing?
Do you think we could use some of the Amber/Yellow $ to pay to carve โdonโt buy a conbeeโ on the moon, so everyone can see it?
This
Im dumping it in the next weeks
It annoys the fuck out of me for months now
laughs in Texas instruments
Iโll switch to the new sonoff
I should repurpose my cc1352 for something soon
Iโm still waiting for my new Sonoff stick
Any recommendations @jolly narwhal ?
Zzh, tube, anything of decent build quality using a cc2652
y u gotta be that way @jolly narwhal
You mean like the new sonoff
Which is cc2652
Sonoff != Quality
such hate
The Sonoff Zigbee sensors have been a bit of a shit show
You mean life experiences
The previous Sonoff Zigbee stick was also a bit of a shit show
Sonoff is like a magic eight ball, it might be good, it usually isn't
The sensors arent that good, yes
so... only the sensors, stick and zbbridge
So far feedback on the CC2652 stick isn't negative
Weโre going to run out of room on the moon
initial feedback on the zbbridge was also great
anyone worth their salt should
so you're saying its not a very weird smiley face
itโs a logical operator
i know what it is "not equal"
but not everybody knows this
anyway right there with the title should say: avoid CONBEE at all costs
:))
conbee it's a con
๐
I don't have a dev background either
I've just worked in IT for 18 years 
I did create a lot of logic gates in the early 00s though
Would need to update.
Is it something easy to do?
Itโs not too bad.
Awesome
Anyone know if there's inherent incompatibility with wi-fi 6 and zigbee? I previously had my wi-fi mesh (google gen 1) and zigbee networks coexisting nicely with very little strategy to the layout/topology of things. Recently switched to a wi-fi 6 mesh network and all of a sudden I have nothing but problems with zigbee. Wondering if I need to keep fiddling with zigbee or if I'm better off going back to my previous mesh network...?
Thanks. My old mesh was also 2.4GHz and had no problems. Also read the linked article and put my WiFi on channel 1 which seemed to help for a little bit but certainly didn't solve anything...
I'll check this too. But to anyone's knowledge, there's nothing about wifi 6 in particular that takes down zigbee?
I mean, it could be my neighbors, but all of my problems started when I switched. It would be highly coincidental if my neighbors switched simultaneously.
No, there's not
Sounds like I need to keep working on settings then...
This has been the perfect example of the saying "if it aint broke, don't fix it"...
I have 2 Amplifi aliens and 0 issues w/ wifi 6 with zigbee
Thank you for this, very reassuring
if it. makes you feel any better my coordinator (one of tube's) is actually on a floating shelf right next to one of the Aliens and there are no issues
Can anybody recommend some Smartplugs with power usage? I use ZHA. Seems difficult to find good ones. Preferably EU.
I found https://www.banggood.com/4-Pcs-BlitzWolf-BW-SHP15-Zigbee-3_0-16A-3680W-Smart-Plug-Wireless-Power-Socket-Outlet-EU-Plug-APP-Remote-Control-or-Voice-Control-or-Multiple-Timer-Modes-Compatible-With-Amazon-Alexa-or-Google-Assistant-p-1859043.html?cur_warehouse=CN and they seem to be confirmed working with ZHA
can't help w/ EU but if US ones are an option the new Sengled ones are really nice and not expensive
I'm using ZHA, and sometimes some of my zigbee devices loose connection (right now an Aqare temperatur/humidity sensor) in a weird way and don't reconnect even after battery swap. Is there something I can do other than repairing them (which is annoying).
By "weird way I mean, that the graph is showing the same value for a Day, display "not available", but the timestamp below indicates that the value is 14 minutes old
we can't control the devices falling off the network... some router devices don't hold aqara devices well
YMMV
some folks have no issues
some have lots
I'm using a conbee II, and it works better for the other 4 aqaras
and it's falling off the network in kinda a weird way, with it being unavailable but seemingly getting some data
I had another instance where tradfri on/off switches were falling off one by one over a day or so, it's weird/spooky but that only happened once. If I only had to re-pair the devices it'd be fine, but there's now way to re-pair them without first deleteing them and then reassigning the names and everything?
just reset the device and join it again
no need to remove it from HA
you wont lose any customization this way
oh okay that'd help already
read the pins for more info on the Xiaomi issues
specifically this one: https://community.hubitat.com/t/xiaomi-aqara-devices-pairing-keeping-them-connected/623
it's a long thread and still active
okay thanks will look into it
oh wow re-pairing indeed works, that's neat
Another thing I noticed is that the round Tradfri remote works kinda wonky with ZHA. I paired the bulb with HA and the remote with HA and then bound it the bulb in the interface, so it'd also work when the HA was off. Initially everything was working fine, but after some time the change color temperature buttons stopped working, with on/off and the dim buttons still working. Is there a way to fix that?
not sure what is wrong... do you have OTA enabled?
yes
so
chances are firmware updated and the device behaves differently
I have one... i'll update it soon and test it out
I know their stuff has been a bit iffy lately w/ ZHA
specifically the remotes because the messages and the device signature changes
the way we currently handle things like this doesn't allow for a lot of flexibility. We need to account for firmware version or datecode somehow
so it might be a good idea to turn off OTA and only sporadically turn it on
nah this is on us
just isn't high up on the list of interesting things to fix
yet
okay I see. But if I turn off HA, I can still change brightness and turn it off/on, due to the Lightlink stuff or something. Why can't I change the color temperature even then?
are you sure the color cluster is bound to what you are controlling?
direct control is via cluster binds
on/off is a cluster, level control (brightness) is one, color control is one etc...
you may only have 2 of the 3 bound
I might have been using cluster stuff wrong
I guess it's clear if you know the details of zigbee, and confusing if not
exactly
not good when you don't want people to have to understand technical details of zigbee
to use their stuff
I created a group for in each room, is that a good idea?
Then when I select the remote, do I have to select something in the clusters, and devices category or selecting the group sufficient? Sometimes stuff changes in the the bottom categories and sometimes not if I select something at the top
groups are for traffic management really
when HA talks to devices individually it sends unicast messages
if you have several bulbs that you always want to control together... group them
then HA will send a multicast message instead of n many unicast messages
it's about efficiency in communication across the mesh
I have started to notice folks using them similar to how areas are used in HA and that isn't necessary and can lead to poor zigbee performance if all traffic follows the multicast path
I think I did that because the tradfri remotes wouldn't properly work if all of them were in the same group
like I couldn't switch only a subset of bulbs
So, group lightbulbs in the same chandelier, but not all devices in the entire room?
unless you want to control them all together
if you want all of them to function the same way at the same time... group them
otherwise don't
okay good to know
Does ZHA support creating these zigbee groups or just Z2M?
in that menue, is it sufficient to select only the group or do I have to also select someting in the categories above?
I honestly don't remember how it works... I need to look
(I should... I made it)
so are you starting from the remote?
go to the remote -> manage clusters
pick a group under "group binding"
and check the boxes for the functions you want to bind
then hit bind group
make sure the remote is awake
okay good that's how I was doing it
just tried again, binding all the stuff to the group doesn't make the color temperature work again
interesting... you are sure the bulbs in the group are color bulbs right?
sorry have to ask
that's all done direct device to device so I have no idea what's wrong there
they are color temeprature bulbs, and came with the remote I'm using. And I can change their color temperature via HA itself
weird
friend of mine has the same issue with the only difference that he couldn't even briefly get it to work again
It worked for me for a few weeks or so after resetting everything and binding to the device and the groups a couple of times
There seems to have been a similar issue for zigbee2mqtt in 2019 https://github.com/Koenkk/zigbee2mqtt/issues/1232
Is it possible to get rid of these messages in the log? They are appearing very often... WARNING (MainThread) [zigpy.zcl] [0x0647:1:0xfeed] Unknown cluster-specific command 42. I use ZHA and a ConBee II, if that matters.
What device is 0x0647?
I'll try to find out... Not sure how, but...
I guess it's a smart plug, it has the Nwk: 0x0647 in device info... (If we could paste images, I could have shown you all, but...)
Can you copy its device signature and upload it to https://dpaste.org/ ?
It doesn't have a quirk, nor does Z2M have any special code for it that would necessitate one
I don't use Z2M
I know, I'm just saying that it doesn't have a ZHA quirk and since Z2M's converter for it is completely standard, it doesn't need one
So it's just periodically sending manufacturer-specific commands to a manufacturer-specific cluster
OK, so the plug is sending this command to HA, but HA don't know what to do with it?
Yes
If the logging is bothering you, you can either enable the logging component and raise the log level: zigpy.zcl: ERROR, or figure out what the command means and write a quirk for the device
OK, thanks. The quirk sounds interesting... Where do I look if I want to try to learn that? A good link would be nice, or I could just google it...
If you want to go the quirk route, enable debug logging (https://www.home-assistant.io/integrations/zha/#debug-logging) to see what other data is sent with the command
Can someone help.. https://imgur.com/a/b9oKa1s what its the problem?
Are you using a CC2531?
CC2652RB
Have you tried unplugging it?
You may have to restart the Docker container, I don't think hotplugging works with it
i fully restarted my raspberry
having issues getting my HA container to connect to my zigbee controller when trying to add ZHA integration. When I click add ZHA, it pops up with my serial device path /dev/ttyACM0. I then select the radio type (ZNP) but on final submit it says failed to connect anyone happen to have any suggestions ? not getting any error logs or anything
have the path added to the docker volume
Enable https://www.home-assistant.io/integrations/zha/#debug-logging to see what the error is
If you're using a container, you may not have permission to access the serial device or it isn't passed through properly
any easy way to test that? I think it's passed through right, because as soon as I click the add ZHA integration it already has the path pre-filled in with the device name
The error message with debug logging enabled would tell you what didn't work
What coordinator is it?
Did you flash it with firmware?
i've been using it for about 2 years with zigbee2mqtt
just decided to move over to ZHA
Hmm. Did you disable Z2M before switching?
yeah
adding logging now
hm yeah serial.serialutil.SerialException: [Errno 1] could not open port /dev/ttyACM0: [Errno 1] Operation not permitted: '/dev/ttyACM0'
hmm internets are recommending reflashing the firmware since I have like Jan 2020 firmware or maybe even 2019 firmware
Reflashing the firmware will wipe all of your network info so either do a network backup beforehand (https://github.com/zigpy/zigpy-znp/blob/dev/TOOLS.md#network-backup) and restore it, or reflash it and restart Z2M so that it auto restores its backup
hadn't restarted that computer in ages so did that just in case and now Z2m is even giving me errors after it updated ```Zigbee2MQTT:error 2021-12-15 20:53:39: TypeError: Cannot read property 'length' of null
at AdapterNvMemory.init (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/adapter-nv-memory.ts:28:42)
at ZnpAdapterManager.start (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/manager.ts:60:9)
at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:123:29)
at Zigbee.start (/app/lib/zigbee.ts:58:27)
at Controller.start (/app/lib/controller.ts:100:27)
at start (/app/index.js:97:5)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! zigbee2mqtt@1.22.1 start: node index.js
npm ERR! Exit status 1
the ELIFECYCLE makes me think firmware or something is end of lifecycle but can test by reflashing
ELIFECYCLE isn't related to the firmware, it's just an internal node.js error code
What version were you using previously?
If it's really old, you may not even have a complete coordinator backup so the upgrade may lose some info
Hmm would have to check but probably from jan/Feb 2020ish as well
That is very old
Haha well, everything has been working perfectly, so I never got around to updating, life got in the way
I'm slacking on zwave too. Still using openzwave container ๐
In that case, I suggest using the zigpy-znp command line tools to do a backup/restore. Those should work independently.
Though if everything has been working, you probably won't benefit from the upgrade unless you've run into the coordinator lockup issue or plan on joining the brand new Aqara E1 (?) devices
If it doesn't work until you unplug it and plug it back in, it's locked up
Haha well doesn't seem to be able to start z2m after plug / unplug or restart. I'll try the zigpy backup. Suppose that'll tell me if it's at least functioning and able to be accessed
What is this tube's magical coordinator you speak of?
Thatโs gonna stop working soon
Yeah I figured
I made the cutover myself to zwavejs a couple weeks back
Wasnโt painlessโฆ I think they have since patched a migration bug but once youโre thereโฆ itโs WAY better
Much faster
I have a few (literally 4) 2-bulb lamps in the house. I currently have them grouped in HA, rather than in ZHA, because I want them to appear and function in HA as a single lamp. But what I'm hearing is that I can economize my ZHA traffic by grouping them in ZHA instead? Can I do this and still have them appear/behave as a single lamp in HA?
Ordered, thanks!
Ok, next question; is zigbee2mqtt better than ZHA?
Yes
2 or more and you will get an entity for them
^this == zigbee vudu
nah, it's best practice for addressing multiple devices
lol
the entities are for user convenience
But you also get a device for each, correct? I use bulbs which report sensors for power, which is kinda cool. Kinda
all the original stuff stays
the addition of the group creates an additional entity to make it easier to interact w/ the group
Whether it's better or not is up to you
thank you!
Welp. Reflashed with new firmware and that got it a little further. But it would still not boot z2m. Changing ip from local ip to 127.0.0.1 then fixed it all. 85% of devices seem to be working ok with the rest non responsive so will just re-pair them
im having trouble with my black magic zigbee again
have there been any major changes to ZHA in 2021.12?
i have a zigbee remote control button thing, and can confirm its firing events (zha_event)
and i have a zigbee blind, and it is reporting its state etc just fine.. but its not responding to commands over zigbee
i really dont get it.. if it can report its state, why isnt it reacting to service calls?
Hello, I need some help. Have device RTCGQ11LM. It's connected via zigbee. Now it reports only on movement or after couple minutes. How can I set reporting time for 1 minute?
@coarse ironyou cannot
it always reported like that
the only thing that you can do is a hardware hack
that works only with zigbee2mqtt if I am not mistaken
that device has a hw limitation just to preserve battery, i would not use this for presence detection that needs reports accurately
there are way better sensors to report presence
also note that this device reports attributes only when movement is detected
same reason, preserve battery at all costs
Hey guys, is anyone able to help me? I cannot for the life of me get an IKEA Styrbar 4 way switch paired properly with ZHA. It pairs, but no sensors at all, and everything fails. No events firing in developer tools either.
Hello, I need some help. In Zigbee2MQTT Devices, I found my device (AqaraTempSensor- > renamed and also update home assistand entity ID). But the problem I can't found the device in the Mosquitto broker integration. May someone help me please. Thanks
Hi team! I keep getting errors on my logs but not sure where to look. Anyone know how i can see whats going wrong?
Logger: zigpy_deconz.api
No response to 'Command.aps_data_indication' command with seq id '0xf3'
Logger: homeassistant.helpers.template
Template variable warning: 'dict object' has no attribute 'cluster_id' when rendering '{{ trigger.event.data.cluster_id }}'
Template variable warning: 'dict object' has no attribute 'endpoint_id' when rendering '{{ trigger.event.data.endpoint_id }}'
Template variable warning: 'dict object' has no attribute 'args' when rendering '{{ trigger.event.data.args }}'```
there are way better sensors to report presence - for instance?
Hue remain the gold standard
https://www.zigbee2mqtt.io/devices/MOSZB-140.html is actually pretty good IMO
this is gold standard
https://www.amazon.com/Samsung-SmartThings-GP-U999SJVLBAA-Optional-Automated/dp/B07F8ZHBLS is is very good at reporting very fast 20 sec
basically Aqara and Sonoff motion sensors are no go
Eh, Aqara are ok, just not awesome - though the new T1/E1 ones are a game changer
Thank you, They are too expensive. Looking for something cheaper with illuminance
If you want good you don't get cheap
The Xiaomi ones are junk for illuminance anyway
Buy a Hue or Develco, or buy a separate light sensor (the Xiaomi Mijia one is good)
Can I request to device in order to get an answer?
instead of waiting for an answer 15 min?
Not end devices (battery powered ones)
"retention" option?
going wired gets you both ๐
cheeper is hardware hack ๐
Whatโs the best zigbee blinds to get? Are the ikea ones worth it or should I be looking at one of the retrofit controllers?
Ive got IKEA blinds and they (usually) work well
except today.
today they suck.
they are reporting position, state, battery etc
but they dont seem to want to respond to a service call
hmm, noticed one of my IKEA Signal Repeaters was offline
so i powercycle it, and now its doing OTA
@vivid ember posted a code wall, it is moved here --> https://hastebin.com/ahefilebiq
Hi all, Fired up an event, is there away to convert this into a Binary switch
i get Request failed (Unsuccessful request status code: <Status.NWK_NO_ROUTE: 205>), retry attempt 5 of 5 in my logs when trying to close/open my blind
yet the blind is reporting battery level etc just fine
also, its current position is updated, if i manually press the buttons on the unit
@vivid ember Rule #6: Please do not post codewalls (text longer than 15 lines) - use sites such as https://www.codepile.net/ (pick YAML for the language) or https://paste.debian.net/ (pick YAML for the language).
Please take the time now to review all of the rules and references in #rules.
If hue motion sensors are the gold standard, will they work directly with ZHA? Or is there other hue wizardry that needs to happen? - I have no other hue products...
Were they easy to mount to your roof/ wall and were they easy to install?
Yes, they work
@sour shadow been there, could not see an example of my case scenario,
It's a trigger based sensor, that'e exactly your use case
You have an event trigger for that
Probably using the device_id, and args
Ill give it a go
Something like https://www.codepile.net/pile/ROAy8lOz probably, but #templates-archived can help on that
Also is there an easy to follow tutorial for zigbee groups using Z2MQTT? Their docs use code so wondering if there was a guide to the GUI (or whether the yaml is still better for that)
I do it all in the UI
I didn't bother with any tutorial, it's all point and click easy
yes and yes
Time to measure my window and see if thereโs a size that works
I canโt find how to add something to the group. I can only find how to create a group
Thatโs decent. How often does it go up/ down?
there is an automation for sunrise/sunset, plus whenever the wife presses the button (3-4x a day at a guess)
Huh so pretty frequently then (more than I would use). Thatโs pretty decent then
There's an Add to group button
Iโll try with my eyes open and find it 
Usually I canโt do xyz because I just am blind. Sounds like itโs the case here then
Okay Iโm embarrassed and really blind ๐๐๐
For Aqara devices, should I just get an Aqara hub and connect it via homekit to Home Assistant?
I ask, because my Aqara devices seem quite unstable. They are fine for days or weeks, and then just drop off the network for no reason.
I assume they are more stable with their own hub.
What do y'all do with Aqara?
(FWIW: I have an HUSBZB-1 with ZHA)
No issues with aqara with zigbee2mqtt and cc2652/1352 for years
With a proper mesh
The coordinator has little impact on how Aqara sensors work, you have to make sure they have a compatible parent router. Otherwise, they're extremely stable.
Hopefully you paired them in place, and you have a strong mesh
How would I find out what is a compatible parent router?
Some are connected through Ikea bulbs, some through Sengled plugs, and some directly to my coordinator. Most have had issues so far. (Then again, it seems a lot of my mesh has regular issues :/ )
I paired them in place (within a foot or 2), but my mesh.... ๐คทโโ๏ธ Aqara are the worst, but some of my Sengled devices just give up at times too, and I have to re-pair them. Same with my Ikea switches.
Good evening, I tried to add the aqara vibration sensor to my interface via zigbee2mqtt but I can't get the vibration sensor status in exposes. Can you tell me if there is something I did wrong?
No idea what's going on....
When you say "in place", are you joining them next to the coordinator, or where they will end up sitting?
Within a foot of where they will end up sitting, usually.
Never next to the coordinator.
IKEA + Aqara is what I use and I've never had them leave the network except when the batteries die
Same for me
Hmmm. Alrighty. ๐คทโโ๏ธ There may be a ton of interference then (though it should be on a channel not used by Wifi, as the default channel is one not used by Wifi for ZHA). ๐คทโโ๏ธ
Ikea are rock solid routers
Yeah, starting to think my Ikea routers are too rock solid, considering I have devices that keep re-routing back through my ikea bulbs, despite being on the opposite side of the house ๐
ZHA default is 15 but the channel numbers of Zigbee and WiFi are not compatible: https://www.metageek.com/training/resources/zigbee-wifi-coexistence/
So if you have a WiFi network on channels 2-5, it may interfere
I know that they aren't compatible, but iirc, 15 is just between the ranges of 2 wifi channels (actually, yeah, right in that link it shows that).
Well, I'm in an apartment building, so there is tons of wifi around. So yeah, definitely probably interference causing all my instability.
I'll have to grab an Ikea signal repeater to use on my less-stable side of my apartment, the side where devices keep trying to connect to Ikea bulbs on the other side of my apartment.
Thanks for trying to help.
Aqara devices may not initially choose a good parent router so you may want to re-join them to the network but only permit joins through the physically closest router
Yeah, as they drop off the network, I'm re-pairing them with the closest router, though in at least a couple of their cases, they were connected through the nearest router (my coordinator) already and still dropped.... ๐คทโโ๏ธ
can anyone help with assisting me making a binary switch, im completely lost
https://www.toptal.com/developers/hastebin/ahefilebiq
Can a bulb on ZHA only be part of 1 group at a time
@silk sphinx posted a code wall, it is moved here --> https://hastebin.com/nocukegepi
...
i have a few issues with my new smart home home assistant + zigbee2mqtt setup:
-
i have 12 lights I want to toggle simultaneously
-
i added them to different "device regions"? in HA
-
i wrote automations using
service.light -
when i run the automations, only about 70% of the devices respond
-
when i toggle the lights individually, it works all the time
is my approach incorrect to list individual lights?
should I make use of the zigbee2mqtt groups, would that work differently?
Always use ZigBee groups
Yeah group them
Not ha light groups
so it's possible that if i try to switch many individual lights in HA, the zigbee mesh gets overloaded?
Yes
was there code in the link https://www.codepile.net/pile/ROAy8lOz it does not display on my web browser
okay thanks, that helps.
one more question: i can add devices to multiple groups it seems
should i create an exclusive zigbee group for the 12 light automation or is it enough to create 3 groups and toggle those simultaneously in an automation?
I create one group per room, then call said groups on a need basis
yeah i'm also grouping by room, but in this specific case I wanted to turn on all outside lights and the (smart) christmas lights ๐
so more than 1 group at once
Then send on to multiple groups
I do that for my wake-up the house automation
That one calls two ZigBee groups
That are created and presented in zigbee2mqtt
entity_id: group.adaptive
i can't seem to find my zigbee2mqtt groups under entities in HA
doesn't that propagate to HA?
nevermind
it just took a minute and a refresh
thanks a lot, i'm going to rewrite my automations now ๐
Is it possible to put a single device (bulb) into multiple Zigbee groups?
Yes
What does it mean to Manage Clusters?
Is it possible to create zigbee groups in ZHA? The zha docs page doesnt really describe how to do it
Yes, go to the configuration page for the integration
Then the groups tab and you can create / manage groups
Oh thanks, never noticed that bit on the UI
Hey guys, I got a conbee 2 zigbee usb but when I removed my old stick, plugged the new one in and booted HA, it wouldnt load
Well, the UI loaded but after like 30s it would crash and I cant access the UI
BTW Im using Zigbee2MQTT
And now it wont load the UI at all, no matter what
Logs pls
How do I get those?
I dont have access to the UI
Although I do have access to the cmd line
How did you install z2m?
Through the UI
But now it doesnt boot after I added the new zigbee USB
Even after I unplugged it it still doesnt work
I assume you mean the add-on?
Yeah
Not sure then. I suppose the add-on page
The add-on configuration page in HA I mean, unless you mean you can't access that either
No, I cant access any UI, the IP address wont load anything
Oh, the entire HA frontend is down?
Oof. Did you install the SSH add-on?
Yep im sshd into it rn
Im in the core logs but I dont understand much
2021-12-16 22:35:20 ERROR (MainThread) [homeassistant.components.pi_hole] Unexpected exception from <bound method DataUpdateCoordinator.async_refresh of <homeassistant.helpers.update_coordinator.DataUpdateCoordinator object at 0x7f3472846f40>>
I'd ask for help in #330990055533576204
Alright thanks
Hi can any one help me i have a smart+ plug and i want do integreate this as a switch.
the funktion is good => i can turn in and off the plug but in my lovage the switch always went to off wen i switch it on but only the displayed state.
pls help
what can i do
switch:
- platform: "mqtt"
state_topic: "zigbee2mqtt/plug_062a"
availability_topic: "zigbee2mqtt/bridge/state"
command_topic: "zigbee2mqtt/plug_062a/set"
name: "AquariumLicht"
state_on: "ON"
state_off: "OFF"
payload_on: "ON"
payload_off: "OFF"
hi there
Ive receive 3 new devices without z2m integration, and I need some help to complete the integration via converters.
I've receive a Wall dim with a energy meeter
https://s.click.aliexpress.com/e/_9fxBkW
String of 4 plugs with energy meeter
https://s.click.aliexpress.com/e/_9Ahq8E
And a touch switch with Energy meteter
https://s.click.aliexpress.com/e/_9vCaqe
The touch switch was easy to do, but now the string of 4 plugs give me some trouble. Found the endpoint 1 have the energy meeter but only give me the kwh (total), the V, W arent working. But in the app it shows everything. than the endpoint 1 have the first switch for turn on off the 1 plug. Than I found the endpoint 2 and 3 that have on off of plug 2 and 3, but I cannot do the converter to get it all
on startup I always get this error what can that be?:
Logger: zigpy.zcl
Source: /usr/local/lib/python3.9/site-packages/zigpy/zcl/init.py:95
First occurred: 03:05:36 (1 occurrences)
Last logged: 03:05:36
Unknown cluster 61184
Do you know how to create an entity with the temperature field that appears at the end of this line?
QTT publish: topic 'zigbee2mqtt/Device', payload '{"....,"state":"OFF","temperature":21}'
After last upgrade to core-2021.12.2, my HUE motion sensors are acting really weird. They get stuck in detected state, ie on all the time. Has this been noted before?
Will upgrade to latest 12.3, but didn't see any mention of this issue in the release note?
I think I have the same problem as you on a motion sensor of aqara
Oh. Sorry to hear that, but perhaps there is something going on then... First thought it could be the sensor, but then more of them did the same thing
Just finished upgrade to 12.3, and the issue seems to be gone! ๐
@mighty river is there not an existing entity with that information?
There should be, and if not, the converter for the device needs to be updated
no, is a swith. I only have a entity with the switch and battery
Ah gotcha. Looks like the converter needs to be updated. Which device is this?
You could set up an MQTT sensor in the meantime though
I have a zigstar V4 22652P2 with unknown firmware version. Do I want to flash it to the lastest version? Or are the benefits neglectable?
I have a lot of thinks in the payload and I don't know the method to add this information to a new entity
Subscribed topics: QoS: 0
Payload:
action: null
linkquality: 141
operation_mode: null
power_outage_memory: null
state: 'OFF'
temperature: 21
I can see this went I'm checking the device
Solved with this information, thanks BOT!
You're welcome lol
jeje thank @lilac wharf ๐
Can someone help mit with tubes zigbee coordinator?
i see a "[D][serial_server:042]: Not accepting new connection from 192.168.23.101, only one client allowed" when i try to connect
how can i factory reset the coordinator?
I have a sonoff device, how do i get started with it?
3.0 usb dongle plus. What method is recommended?
Either ZHA or zigbee2mqtt, but that's up to you
ZHA is built in to HA as an integration. Zigbee2mqtt is separate and uses MQTT to communicate with whatever home automation system you use. It supports MQTT discovery for HA
Again, it's up to you
I prefer z2m; you may or may not
There's a separate docker image for z2m?
Yep. Check out the z2m link in the channel topic for more info
I've installed Zigbee2mqtt, but got an error:
https://hastebin.skyra.pw/viyoteyaji.ts
if I enter the serial-path in the config of zigbee2mqtt, it will be replaced by > - ....
serial:
port: >-
/dev/serial/by-id/usb-Silicon_Labs_slae.sh_cc2652rb_stick_-_slaesh_s_iot_stuff_00_12_4B_00_23_93_35_53-if00-port0
I've entered it straight behind the port: , but it looks like above after saving ... might this be the issue?
That's valid YAML
@sour shadow thanks. the stick made some trouble before.. here is the issue-thread on github... so I did this: https://github.com/home-assistant/core/issues/61829#issuecomment-995105158
was this ok, or is something missing here from my side
as you see, the "network backup" made trouble at my side... https://github.com/home-assistant/core/issues/61829#issuecomment-996801818
might this be the issue now?
now I have this issue: https://hastebin.skyra.pw/uzuyumiviy.css
If puddly recommended it then it was ok to do - he knows far more about the inner workings of that than I do
Ok, I've rebooted the system now, and this seems to be the trick. Now the blue led of the Stick is on again, and I could connect my first device.
๐ฅณ
Do you have it on a USB extension cable or is it plugged straight into a USB 3.0 port (or near other sources of interference)? Usually that happens when the stick tries an energy scan and fails due to noise. If it did manage to start up, you may run into more issues down the line unless you fix the underlying problem.
no, it's directy plugged into the rasbpi
That's probably the problem then
They like to show the stick plugged into a Pi in the marketing photos but it's not something you should actually do without an intermediate USB 2.0 extension cable to get it away from the board
ok, good to know. What is the cause of this. Are there interferences from the pi which do confusing the stick?
Yes. Zigbee is pretty very low power so it doesn't take much to drown it out with noisy electronics.
Gotta say, I've had my zzh connected directly to my pi for a year, no issues so far, the old cc1352 had an extension cord
anyway, good to know this hint. It's made in 2 seconds and be able to save hours of bugfixing ๐
I'm so glad that I can now finally make my first steps with zigbee, HA and my few devices (light bulbs, radiator valves)
As for your backup problem, I think you flashed the firmware before doing the backups. The NVRAM backup will always run, but the network backup will only run if your stick actually stores settings for a network. Yours was completely empty.
No, I'm definitely did it in the order you described.
Never flashed the stick before, got it "pre-flashed" by the manufacturer
I wonder why the stick firmware or NVRAM was broken out of the blue.
Might this happen, if the OS not gracefully shut down or if the stick is disconnected while the pi still running?
Nope, I've unplugged my CC2652R hundreds of times while it's running
But from the small snippet of the log that you posted, NVRAM entries for your network key and another were completely blank:
zigpy_znp.nvram DEBUG Read NVRAM["LEGACY"][0x0082] = b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
zigpy_znp.nvram DEBUG Read NVRAM[NvSysIds.ZSTACK][ExNvIds.TCLK_TABLE][0x0000] = b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xFF\x00\x00\x00'
Maybe it's a glitch with their default firmware, or a bug with zigpy-znp. You're the first to report this issue so I'm not sure.
Although no, you said it's a Slaesh stick. He flashes it with Z2M's build of Z-Stack.
He flashes it with Z2M's build of Z-Stack.
I'm to new with HA and Zigbee & coo to know if this is good or bad or what exactly this means ๐
But I'm willing to learn this stuff.
Z-Stack is the Zigbee firmware that Texas Instruments makes for the CC2652RB. The Zigbee2MQTT project provides builds of it with their patches and that's what everybody uses with their CC2652/CC2531/etc. sticks.
ok, I see. Thanks for clearification
evening all - I am drowning in web search results so thought i'd ask here. I have an IKEA on/off switch which seems to become unavailable quite a lot and the battery doesn't last long in it. Is there a reason / fix for this yet? I'm using a Sonoff Zigbee Bridge flashed with Tasmota
but the switch is connected via a bulb (router) rather than being attached directly to the coordinator
Do you have a strong mesh? And did you pair the device in its final location?
yes and yes
I have 2 switches - one is solid one is not
they are on each side of a bed and control a lamp on each side
I just cannot figure out why one is draining and one is fine
ok, so i've started zigbee2mqtt.. but the web gui just says loading please wait
Sounds like #add-ons-archived probably?
this is when looking at the zigbee2mqtt web gui
i'm running in containers
i have one docker compose for h-a and nodered
and i have another for zigbee2mqtt and mqtt
Please use a code share site to share code or logs, for example:
- https://www.codepile.net/ (select YAML as the language)
- https://paste.debian.net/ (select YAML as the language)
- https://hastebin.com/ (sometimes may not allow you to save)
Please don't use Pastebin, since it can randomly add spaces to the main view. Please also don't share text as images since it makes it harder for people to help you. Remember that others may have colour blindness, impaired vision, etc.
is there any downsides to changing the timeout values for zha for devices to be classed as unavailable?
What is the purpose?
2 hours seems rather excessive
i want to have a notification that someone in the house has turned off a light by the switch (which they shouldn't but invariably do)
i'm guessing its set to 2 hours for a reason. so there is likely some kind of downside to having it a lot lower
I've run it with 10 second in zigbee2mqtt
For an automation
There I can specify the timeout for selected devices
ah ok, so you can't do it per device in zha?
No idea
not that i'd want to...
Don't use zha
my usecase is for everything
Hello, Im using zigbee2Mqtt and I have weird issue, I have two door sensors, and in my z2m logs I can see that mqtt is successfully sent to my HA
however when I wirte some test script, I do not get persistent notification trigger:
- platform: state
entity_id: binary_sensor.bedroom_wardrobe_left_door, binary_sensor.bedroom_wardrobe_right_door
action:
- service: persistent_notification.create
data:
title: 'This is a test'
message: "Test indeed."```
I've checked in my mqtt integration, I have those both entities with correct names..also I tried to restart HA and Z2M (Im using dockers) and nothing..
Nevermind, I figured it out..this automation has been turned off by another automation ๐
Hey, I've the same configuration as you had before using zigbee2mqtt. With ZHA some similar errors while trying to fully controll the Lidl thermostats. Also with the hacked controller.
What is your configuration right now? How do you've integrated zigbee2mqtt? Via add-on in HA?
Hi guys, I have a simple question, is it possible Somewhere in zigbee2mqtt, to prevent devices to connect to another device which also a router ? I have 2 switches that I can't control anymore as soon as they connect to my alarm siren instead of directly to the coordinator...their state is still correctly reported to HA if I switch them manually, but trying to control them from HA results in a timeout. I have to "delete" them from z2m and add them again so they are connected directly to the coordinator, and then they work perfectly...
Hi guys. I use zigbee2mqtt and need to set power-on-behavior for a Philips HUE bulb. I have read https://www.zigbee2mqtt.io/devices/8718696548738.html#power-on-behavior, but don't see how to actually send that payload? Should this be saved to file, or is it done though z2m? Thanks
You do it via mqtt @solid inlet
Unless it is now done in the ui
Let me check, I haven't changed it in a long time
Nothing in the UI I can see
So you would do mosquitto_pub -h 1.2.3.4 -u user -P pass -t "zigbee2mqtt/bulbname/set" -m "'hue_power_on_behavior': 'on'" if I remember the syntax
Can probably do it via mqtt explorer, but I've never done it
Thanks! I will give it a go. So each command has to be sent separately? Oh. Checked mosquitto_pub --help Will probably figure it out now. Thanks for the help!
im in the process of setting up a new ha os on a nuc. its running and im trying to configure conbee II usb stick, mosquitto and zigbee2mqtt. ive been reading all the docs but its not entirely clear to me.
- do need to configure conbee integrations first (i did)?
- mosquitto seems to start fine and uses the default username homeassistant
- zigbee2mqtt fails with the error SRSP sys ping after 6000ms.
im reading the link and faq but it asks for the user running the bridge. where do i find that? the udevadm command doesnt work (command not found) via ssh / console?
Stop any other container using the Conbee, setup zigbee2mqtt to use the correct serial port, and preferably based on recent user posts in here consider using something else than the Conbee with zigbee2mqtt
from integrations, i need to disable ConBee II?
and disable the add-on deCONZ as well?
cool, and the conbee II item under integrations, do i leave that or disable?
No idea, never used Conbee or home assistant OS
Or I lie , i ran haos for three days
Even if you unplug / replug the stick after removing deconz?
hang on ...
And hopefully you have pointed the add-on to the serial port, no idea how that works in haos
Sys ping usually is related to not being able to talk to the stick
Is it running the latest firmware?
what is? the stick?
Yes
i wouldnt know
but im pretty sure its the user/group permissions its just that i dont understand the help page
Shouldn't be a problem with haos
the logs point to the page with the solutions
the first step says to test using 'test -w [PORT] ...' etc, but where do I execute that? inside the container?
and which one?
That is a question for #add-ons-archived or #330990055533576204 i guess
Finally! The fix was to stop zigbee2mqtt, and add the adapter line to the serial config asl follows, then start it again:
serial:
port: /dev/ttyACM0
adapter: deconz
I am updating a Tradfri remote firmware via OTA on Zigbee2mqtt and it is taking forever. Estimated time 4 hrs. Is that usual? Is there any way of speeding up the firmware updates?
Would recommend updating the firmware, Z2Mqtt likes the updated sticks better
Can update it on your personal PC/Mac with the software they provide (links available online)
yeh i did that too
Yeah nice. Worth it just to ensure bugs are reduced
Hey. Yeah, I'm using zigbee2mqtt now, and connect to that with HA through mosquitto
But you don't have the silvercrest gateway in use, right? Just figuring out, how the config could work for me. Could you explain your connection config?
I do use the silvercrest for zigbee2mqtt
It's a bit tricky to get it to start, but with the right config it'll work.
@ionic star you'll want to put this in your zigbee2mqtt configuration.yaml:
adapter: ezsp
port: tcp://192.168.0.50:8888```
@zasx I'll try this tonight, thx for the hint.
can anyone help me to sniff some devices and add to converters?
Hello all,
Iโm trying to connect my zigbee GU10 spot from Ikea. Got another one but itโs a different model than the other IKEA GU10 spot.
While connecting I get this error:
Warning Device '0x50325ffffe271dcc' with Zigbee model 'TRADFRIbulbGU10WS345lm' and manufacturer name 'IKEA of Sweden' is NOT supported, please follow https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
This device should work if I read the Zigbee2mqtt website. What am I doing wrong?
nothing, need to bee add to the converters
give me that detail in pm, I will add for yu
@warm totem
now you need to wait
Any hint on this ?
Pretty sure that isn't an option, you can choose what device it should pair to initially
But after that devices are free to move
And that has never been an issue I've seen before
Thx for the answer
is there an zigbee repeater via lan?
i want to connect 2 buildings to the same ha server
Again, the solution is separate zigbee2mqtt instances
there could be more than one solution ๐
Indeed, but what you're asking for doesn't exist
i would be willing to solder ๐
and a repeating device, connectable via lan, would be useful for more than me, i suppose
Sorry, to clarify: there's no way for z2m or ZHA to interface with something like that if it existed
um, well, with zha there is an solution with an lan serial emulation
why would it be impossible for a router?
Because no functionality exists for a router to work over LAN
yet
And I doubt it would ever tbh
The software would have to be updated to
- Know that a router is not actually going to route zigbee messages via other routers or the coordinator
- Accept messages from a router via a serial over Ethernet connection
- Route messages intended for the end devices connected to said router via LAN and not the zigbee network
i do not see a big difference between that and 2 routers, that dont see each other
itโs not like WiFi
The coordinators that have lan are using esphome devices or something similar internally to translate from lan to serialโฆ tube can explain better than that
But the point is zigbee routers are on the mesh
They arenโt ip addressable
sure
there would be the need for an special firmware to ip route between 2 zb tranceivers
what would be the alternative?
Whatโs the physical distance
i have 2 buildings and one ha server
about 500m
worst case
but one has a shelter too.
For context dmulcahey, I suggested running a second instance of Zigbee2mqtt with a second coordinator since they're already running z2m
the 2 coordinators is how it is build atm
with the difference of one z2m and one zha
Whatโs the issue?
I don't think a "Zigbee tunnel" could handle the latency either
i wanted to know the reason, why there is no "lan repeater", and how i can connect 2 coordinators to one hassio instance
I think because retrying and ACKs happen in less than a millisecond
but i can have 2 z2m instances?
could you tell me, how i configure that with the asssio z2m addon?
someone else?
is there a problem with the current setup?
I think someone is using that setup, but only on the coordinator (probably won't help though)
I mean what youโre trying to do is better suited for an entirely different protocol
the actual problem is, that the heating valves are in z2m, but not in zha
Like Xbee pro
LoRa even maybe
meant for industrial connectivity over longer distances
but not for residential/ consumer devices
well, i could build an complete 2nd device
I assume theyโre all tuya then
and connect the mqtt.
fucking nightmare to support
Yep Lidl is rebranded Tuyaโฆ there are folks working on Tuya stuff for ZHA. I feel for themโฆ every device does something different
And theyโre cheap and easy to get so lots of folks have em
but i also have some with the original tuya firmware
sure
so i wait for zha at best.
Check the device handler repo and make sure someone is attempting to make it work
Does anyone know if there is a solution to the recently removed group bindings on Ikea remotes for the Ikea Blinds? Seems like the solution on firmware 2.3.079 is to bind the remote directly to devices, however, the Ikea blinds do not show up as a bindable device. I used to have them both in a group.
Since the latest update all my Zigbee devices disappeared from my HomeLit.... They all work fine in HA and HA iOS app... is this a known issue? has anyone experienced this? What can i do to resolve this issue and have the devices re-populate in HomeKit?
Have you tried unpairing and repairing HA to HomeKit?
(Also probably best to be in #integrations-archived tbh)
@cerulean abyss Have not done that yet... i have way too many devices, so was hoping there was an alternate option... All my wifi devices work and as expected. The issue is only with Zigbee devices.
hello
zigbee2mqtt 1.22.1-1 user here
things works well, but the log with level info is being flooded by one of my device
another devices with the same exact model etc doesn't do this
the flood came at random intervals, between 1 seconds to 31 seconds
All lines are exactly :
publish: topic 'zigbee2mqtt/Light - Bedroom - Bathroom - 2', payload '{"brightness":254,"color_mode":"color_temp","color_temp":214,"color_temp_startup":65535,"linkquality":21,"state":"OFF"}'
I added availability: false in the configuration.yaml for good measure but it still floods my log, albeit only on info level
it works like it should, i'm just wondering why this specific device does this but not the others
NB : It's a light acting as a router
Have you tried repairing it?
Hi all
I have a problem with my philips ceiling lamp not recognized, I saw that it was not supported (Model 5060930P7.).
So I try to add it by following the ZigBee2mqtt procedure but I have this error message
Error: Cannot find module 'zigbee-herdsman-converters/lib/extend'
I am in Zigbee2mqtt hassio addon in version 1.18.1-1
There is something to install in addition
Honestly not yet, it's pretty high in the ceiling lel
will try it soon
I have a zigbee light group that keeps turning itself on again a second after I turn it off. Both in manual mode and automations. What can I search for in the log to figure out why?
It consists of four IKEA bulbs.
Good morning, I didn't get it running. The zigbee-herdsmann keeps on returning errors. Somehow strange. I'll give it a further try tonight.
I've noticed hue lights sometimes get eager to report their states, but it stops after a while so it's nothing to worry about. If it keeps doing it you could have a look at the reporting tab and see if there is some funny business
will do, thanks for letting me know it might not be my fault lel
i'll give it 1-2 hours to settle, afterwards i'll try reconfiguring
Wouldnโt you be repairing a bulb by turning the lights on/ off? Rather than taking it down
There's 4 bulbs running through a single switch, i'd be resetting all 4 of them
Ahh yeah thatโs fair
Gotta take them out first I guess?
(Though Iโve found some bulbs automatically reset when unpaired whilst theyโre connected)
Yep, i'd need a ladder tho lel
Not this bulb unfortunately
Speaking of which i need to submit a pull request for this bulb
Resetting four at once isn't a problem thought
I have done that in multiple fixtures when pairing stuff
yeah now that i think about it, that's how i paired them first time
ok i'm convinced, doing it rn lel
well that was easy
still seeing the same log flood
out of 4 exact models, only one is doing the flooding
i'll let it settle for about 1-2 hour and go from there
Interesting, never seen that
Are they all the same firmware?
yep
I don't know what your environment is like. But if you want me to share my configs or something, just give me a shout.
hey yo ๐
Got the problem just now that HA is not able to "write" to some of my TRVs out of a sudden?
So HA tells me: "it's 20.5ยฐC and I'm set to have a temp of 8.0ยฐC".
When I turn up the wanted temp from 8 to like 22ยฐC it reverts to 8ยฐC after I reload the page. So it's somehow not "written" to the valve? I can change temp manually by hand on the valve itself.
weird thing also is, that I increased the wanted temp manually on my valve from 5.0ยฐC to 8.0ยฐC and the valve opened and is heating now. I already tried the "configure device anew" (or what ever it's called in english, I'm using german UI) but that didn't help :/
Please answer the question in the channel topic
FCK, I forget this every time, sooo sorry ๐ฆ
ZHA
I say we should get roles for OS/ Core/ Supervised/ Container and ZHA/ DCONZ/ Z2MQTT and any other common crossovers
Not a bad plan, at least if people remember to update them...
At least can help give some ideas
Supervised should have a role icon of โ ๏ธ
What about deconz then 
There will be a few minor cases where user forger to update it, but if they get wrong responses because of that, they will update it fast I guess. And I assume chances are higher for people to forget to mention thise infos than they are switching their core technique (?) ^^ยฐ
Anyways, any idea about my initial problem?^^ยฐ
If you're having problems with your updates to your configuration:
- Check the troubleshooting steps
- Check your log file - remembering you may need to set logger to
infoordebug - Explain what the problem you're having is - sharing configuration, errors, and logs
It may be that there's something in the log file about the problem
I've noticed that it takes 3-5 minutes for my ZHA-based network to function after a Home Assistant restart. I'm using a zzh CC2652R stick and have 55 devices. During that time, there will be errors like 2021-12-17 23:06:55 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0xE211:1:0x0300]: async_initialize: all attempts have failed: [DeliveryError('Request failed after 5 attempts: <Status.NWK_NO_ROUTE: 205>'), DeliveryError('Request failed after 5 attempts: <Status.NWK_NO_ROUTE: 205>'), DeliveryError('Request failed after 5 attempts: <Status.NWK_NO_ROUTE: 205>'), DeliveryError('Request failed after 5 attempts: <Status.NWK_NO_ROUTE: 205>')] until the network forms. Anyone know if this is expected, or if I should spend some time debugging to see if this can be improved?
One of the reasons I love zigbee2mqtt, i can restart / stop HA and I can still manipulate my ZigBee network
Unless you run z2mqtt on ha
Curious though, what do you run it on? Using another x86 box?
Unfortunately a raspberry pi
I do have 4 total production systems though
Plus a few lab systems
How would something like a motion light work though? If that automation is in HA? I didn't think there was any type of automation support in zigbee2mqtt. And, wouldn't a restart of zigbee2mqtt (which must happen every once in a while) still cause something like the above?
I restart zigbee2mqtt a lot less than HA
And it can still be manipulated via mqtt
And I can just spin up a restored HA on any other host in my house and not have to think about moving a stick around
Im doing zigbee2mqtt, was controlling my switches individually but it was very slow, hence I decided to use zigbee2mqtt groups.
But when I group all my lights together, they only turn on the first gang
How do I make it turn on all gangs
??
I've never seen something like that, but I don't use hard wired switches
What model is it?
Are you replying me or someone else?
You
Its Moes switches
3 gang switches
Just want to know if theres anyway I can group all the switches together and toggle all the gangs of individual switches
I'm running core-2021.12.3 and OS 7.0 . before upgrading my ZigBee network was relatable. Now I find that device drop off, are non responsive, or never complete the pairing process. I'm using ZHA. very other device , WIFI and Bluetooth are working Is there anything better that ZHA, I tried deCONZ and found it just as frustrating
How many ZigBee devices do you have? How many routers @versed rivet ?
just got a new zzh (Electrolama) zigbee stick to use with Z2M. I want to replace another stick and from instruction see that I have to flash the ieee adr. Only one I can find in flashing program is the secondary ieee ?
Not many only about 8, the system was responsive and reliable until I updated
Whatโs the device mix?
How large is the areaโฆ
if you have already used 2 of the integrations with similar results over time the constant is your environment and the devices in play
yes nothing physical has changed the devices are no more than 8 meters away from the conbee and have never dropped off this way before.
the only change is the environment all on a Rpi 4 all updates through the supervisor of HACS
my issues only began after doing updates last week
my zigbee2mqtt ui is stuck loading, the log shows no errors and i have no clue what is wrong
it worked seamlessly yesterday
ConBees are known to throw a feat after hassos updates, even if nothing else was changed in the software.
Make sure ConBee is running the latest firmware, there have been some improvement bin serial communication per release notes.
Physically power cycle the ConBee, by unplugging and plugging it back, then restart HA. And use an USB extension cord.
BTW, the dropping off device is not a xiaomi device, is it?
Failed to call 'Bridge' 'start' (TypeError: Cannot read property 'manufacturerID' of undefined
now it was kind enough to show an error
Yes I've had the ConBee throw a fir after an update, had to do a full power cycle. I have the latest firmware and am using a USB extension cable. On further investigation, none of my Zigbee devices are working despite them showing as being available.
flashing ieee adr on a zzh stick... should the "old stick" ieee adr 0x00...... be converted to something? or just write it directly as is?
seems like i'm not doing it right...
Zigbee2MQTT:error 2021-12-19 21:52:07: Error: network commissioning timed out - most likely network with the same panId or extendedPanId already exists nearby
at ZnpAdapterManager.beginCommissioning (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/manager.ts:347:23)
Is your stick on a USB extension cable?
Iโll ask againโฆ you said you only have 8 devices. What are they? manufacturers
Doh, all battery operated
So, no ZigBee routers and all these devices using ConBee as a parent
Hey guys, anyone that has Aqara roller shade e1 working with ZHA and a Conbee1 stick?
Also, is it possible to get the temperature vaules back in ZHA from aqara door and motion sensors?
garry, get a couple routing capable devices: smart plugs or something similar and your experience should improve
ive also got two smart light switches that act a routers
Which
Tried with and without but assume this error relates to ieee adr. and the flashing.
Flashing doesn't change the IEEE address, that's set at runtime
If that error is the same in Z2M as it is in ZHA, it means there's interference
Arrrgh. Is there a better option than the Aqara door and window sensor? They don't change their routes when better network paths become available, some of them drop off the network and have to be re-paired every few months, some of them drop off the network if they are left in the open state (magnet away from device) for longer than a few hours. I had one faulty unit that drained a battery in a week. I have Tube's coordinator and routers providing excellent coverage. My zigbee locks don't have these issues.
okay, I read that it had to be flashed but I might be moving between the "wrong coordinators". Possible to go from conbee II to zzh without repairing all devices?
Thanks I'll check them out.
If you're in the US, these are a really good deal: https://www.ebay.com/itm/Lot-of-10-XFINITY-Security-Visonic-XHS2-TY-MCT-350-SMA-ZigBee-Door-Window-Sensor-/203254885008
They're not as fast to send open/close messages as the linkind ones though. The linkind ones are instant; these Xfinity ones have about a 1 sec delay. Not a huge deal, but the lower latency of the linkinds is nice for certain things
In Oz mate.
Not automatically but https://github.com/zigpy/zigpy-cli/pull/2
Will require a slight change to work with Zigbee2MQTT though
Okat thanks! time to start pairing then...
To clarify: Z2M won't do it for you. If install the above tools, it'll be done automatically
Im on HAOS so assume that will not be possible. Seems like I screwed up the zigbee network as well since it is now stuck at "loading please wait" when opening the wbUI (even with old coordinator)
Simple question, but when you purchase a Zigbee stick and everything is working ; I've read that some of my Aqara sensors might need me to update firmware on my Zigbee stick ; is this possible through Home Assistant or do I need to do some like next level computer stuff ?
ah nvm ; to anyone who uses Search and comes across my request ; here is the answer: https://smartlight.me/index.php?route=information/uni_news_story&news_id=2
@sinful swift I've had good luck with these... https://www.aliexpress.com/item/4000475355327.html tuya but spec compliant. also the newer E1 aqara are zb 3.0 but require the dev fw to work with cc2652.
yes the newer E1 aqara sensors need the latest dev z-stack fw to work.
oh interesting this link goes to a different location from what the smartlight.me link goes to ;
if i follow the smartlight.me instructions but use the files to what you linked ; i am ok ?
Yep itโs just the development branch (not as well tested / ~beta)
Just be sure to grab the fw built for that radio which looks like the โCC1352P2_CC2652P_other_*โ
roger ; so I've spent a solid hour on this ; "Traceback (most recent call last):
File "cc2538-bsl.py", line 1247, in <module>
File "cc2538-bsl.py", line 409, in sendSynch
File "cc2538-bsl.py", line 302, in _wait_for_ack
main.CmdException: Timeout waiting for ACK/NACK after 'Synch (0x55 0x55)'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "cc2538-bsl.py", line 1362, in <module>
NameError: name 'exit' is not defined
[11112] Failed to execute script cc2538-bsl"
does this "code" tell you anything ? I get an output for pip -V and python -V in C:/ ; confused out of my element
What output?
like the stuff above traceback ... bla bla failed to execute script etc.
I meant for python -V
And what module are you trying to flash?
pip 21.3.1 from C:\Users\zartarr88\AppData\Local\Programs\Python\Python310\lib\site-packages\pip (python 3.10)
zigbee cc2652p adapter www.smartlight.me
followed these instructions; https://smartlight.me/index.php?route=information/uni_news_story&news_id=2
Are you holding down the flash button before you insert the USB, continuing to hold it, and then releasing it like a second after it's in the computer?
holy jesus ; sorry man . I must have some mental issue of following instructions. it literally says that... and I looked at this usb thing and mindblown... there is a button
im sorry man, swear im not this simple
๐
ok so while i have you, you guys just use like a guitar pick to open it up ? its this translucent case. looks like I'm about to do open heart surgery on it
Can the sonoff 3.0 zigbee stick be configured to as a standalone device and have zigbee2mqtt running on a separate computer? From here it seems like it can, if flashed as a router I am not sure if that means that there is another zigbee device somewhere else plugged in or not and I am new to zigbee so ๐ตโ๐ซ https://community.home-assistant.io/t/sonoff-zigbee-3-0-usb-dongle-plus-by-itead-is-based-on-texas-instruments-cc2652p-can-be-pre-ordered-for-10-99/340705/10
What does the zigbee2mqtt "reconfigure" button next to the devices in the device list do?
you think i should just yank it ?
I don't have this device but you probably won't damage it, just wiggle the case open, alternating sides
