#zigbee-archived
1 messages · Page 171 of 1
Is it normal for the ZHA integration to take a long time to start up? I am using a conbee 2 stick.
Email sent to anyone who ordered Dec 15 forward.
Anyone have experience with this ZHA warning: 2022-01-06 16:03:44 WARNING (MainThread) [zigpy.application] Device is partially initialized: <DeconzDevice model='ConBee II' manuf='dresden elektronik' nwk=0x0000 ieee=------- is_initialized=False>
What version of ZHA/HA Core are you running?
It's nothing to worry about, should probably be downgraded from a warning to just info or debug
I am having start up problems with ZHA, i thought it might be that.
taking 172.51 s to start.
Enable https://www.home-assistant.io/integrations/zha/#debug-logging to gather more info
anyone here using zigbee with socat or ser2net?
https://paste.debian.net/1226208/
Still looking through the logs but this is what I pulled out so far
hello people .. since a few day i face a huge delay in my zigbee.. especially for one button 😛
do i have to repair all of my devices if i switch migrate from Conbee 2 to Sonoff Zigbee 3.0 Dongle Plus?
Update the Conbee to the latest firmware. This will migrate your network settings to the Sonoff stick.
Replacing my Wyze sense v1 contact sensors as I lost a few due to known low battery issue. Would you guys prefer RF 433MHz or Zigbee? I have both sonoff RF and Zigbee bridge, I just feel RF would give more range but I also want to think about future proofing my setup. Found a RF sensor which sends both open and close codes but doesn’t report battery status. Any suggestion or thoughts?
zigbee is better. pick up some of the aqara motion sensors
https://paste.debian.net/1226208/
Could someone take a look at these zha debug logs and see if theres anything that's out of the ordinary?
Is this the whole log, until HA thinks ZHA is initialized?
Sorry for the delay - had to find a way to condense this. This is everything until HA thinks its initialized.
You're getting a lot of TXStatus.NWK_ROUTE_DISCOVERY_FAILED statuses when the Conbee first starts up
But it receives packets fine
@sleek cipher I think this is just a Conbee "issue", it doesn't seem to persist routes so it may take a bit for it to "start up"
That is too bad. :\ I should also mention I have a bulb that I dont always keep powered so could the route discovery issue be due to that? Starting Hass with the bulb on does not speed up startup time
For me it came down to cost. I have zigbee switches and vibration sensors, but RF door sensors.
I'm running Zigbee2MQTT on a Conbee II. Everything is working just fine, is it at all future proofing if I move to an Electrorama ZZH? Like would it be faster, or better handle more devices? (currently about 30)
OK, so just reviewing some of the previous conversations, it looks like the Conbee is not a favored device. I'll spend some time trying to back up and migrate while all of this is still fresh in my mind.
Does you RF sensor report battery status? Or you just religiously change it at a fixed interval?
They lasted about about a year on 2032s, but it wasn’t a fixed interval - if I open a door or window and it no longer changes in HA, it needs a new battery
@chilly storm posted a code wall, it is moved here --> https://hastebin.com/rurunajobu
@chilly storm 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 you want to extract the attribute and use it as an entity, try https://www.home-assistant.io/integrations/template#state-based-template-sensors
@sour shadow , thanks I'll have a look 👍
did anyone try this one?
https://s.click.aliexpress.com/e/_9wfPYe
any probleme?
for that price, seems a good deal
Tuya Wifi != Zigbee
but it's a good deal 😉
Hoi!
Quick question, im a node red user, and have earlier before Z2M used Deconz, and later on ZHA for Zigbee integration, and was able to use deconz_event, and zha_event to scan all messages posted from the devices.
How do i do that now that im using Z2M, as there seem to be no dedicated z2m_event or mqtt_event bus?
There's no events, no, but typically you'd subscribe to a topic
Or # and get the firehose
I assume you're using something like https://flows.nodered.org/node/node-red-contrib-zigbee2mqtt?
Please check it again. It have wifi and Zigbee, both in a good price
I havent gotten that far yet, i have just migrated my 40 devices to Z2M and noticed that none of my NodeRed automations work any longer. I figured i would just change the bus, but got a bit stumped as there was no documentation mentioning a bus 😛
But that would mean that i no longer can use the "Event: all" node in NodeRed right?
No idea, I don't use it, #node-red-archived may know
And no, im not using a direct link from NodeRed to Z2M, as i have all the devices in Home assistant though z2m, i can simply access the devices and gets the states directly in NodeRed.
But for devices that dont have states, such as Ikea buttons, Aqara buttons, Osram buttons etc, one would have to read the messages and match for commands/ids/or other parameters in the json object, this is the part im having trouble with right now, as i simply dont understand how i should access the data flow.
@sour shadow you mentioned subscribing to a topic, this would most likely be the topic name in Z2m right? I named mine "ZigBee"
Ah right, ill check out the channel, thx 🙂
@everyone Hi,
I have a brand new aqara door/window sensor. The open/close state works normally, but I can't get any battery state. Anybody know how to get it?
Thankfully you didn't actually ping 84 thousand people there @dense pilot
ups
The blind use of @everyone is incredibly rude, on any server beyond just you and your friends
A little more thought will go a long way 😉
sorry, had no bad intensions
I didn't think there were, you just didn't think first 
However, to answer the question we also need to know which Zigbee integration you're using
ZHA
strange. I've removed the device from ZHA again. Then I press the button on the device for 10 seconds. After that I repaired it again and now it works.
Infos from: https://github.com/zigpy/zha-device-handlers/pull/1151
Hello, is there a way how to force ZHA not to use a quirk for a device?
hey! 🙂 Migrated from SD-Card to an external SSD today. Everything works fine except for the Conbee II + deCONZ. I saw, after it was too late, that I shouldve taken a backup inside of Phoscon.
I dont have a big setup though, so no harm done there. However I am unable to find any devices now. I've removed deCONZ + the integration, reinstalled it and reset the dongle through Phoscon (Reset to de-couple from devices etc).
Still I am unable to find anything through Phoscon. Searches for 3 minutes and then I just get "Failed to connect". Any pointers on where I should start looking?
I think you would have to repair them, right? Did you put them in pairing mode?
Yeah. For instance I have the Aqara Temperatur/Humidity sensors. I've put them into pairing mode after I've started the search in Phoscon. 3 minutes later I get "Failed to connect" in Phoscon.
do you point on correct device in your configuration? I don't know how is it in conbee, but raspbee definetely need uart active in config and then also pickup correct device (/dev/ttyAMA0).
Yeah, device is set to:
/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2430387-if00
Oh.. I've missed a step maybe? How do I pair routers?
If you have them. But basically any bulb is router
Not all
Ah yeah no routers. I've got temp/humidity sensors + door/window sensors. But I dont have the Aqara Hub
Yeah, basically
So basically: Sensor -> Conbee II -> RPi/Home Assistant.
You should really get some
Whats the upside? I thought the entire point of having a Conbee was to be able to pair directly with devices. Most hubs you buy (Like the Aqara one) lets you connect to the devices etc through the hub/wifi.
Yes in case that you have lotta devices or end devices too far from the coordinator, but it will definetely work even without them
I was under the impression that "mo boxes, mo problems".
Routers create a mesh
That communicate through multiple paths
The number of direct children of a coordinator is also limited
And your range and reliability will increase with a mesh
Currently you only have point to point communication
Also if the range is borderline without routers you will have battery drain from hell
Yes atxbyea is right and it is definitely good to know, once you will expand the number of devices, but if you have just few, like 5 sensors and as I said not so far from coordinator, you will be still able to control them. So just let's stick with this. Take one of that devices bring it closer to your coordinator and try to repair it
Oh, ok 🙂 Did not know. Thanks! Will, in other words, have to be more careful as I add more devices not to add from too many platforms. Having 10 different boxes/hubs seems silly.
However, not the problem now - this worked fine before the migration. And the one I'm trying to pair first is literally 3 metres away from the Conbee.
Never bring a device closer
Three meters of open air? With no WiFi interference? And the ConBee is on a USB extension cable, not on a USB 3.0 port?
Pair in its actual location
You don't need any more boxes, you just need bulbs and outlets that use ZigBee and work as routers
Routers good
Hubs bad
His question was how to get them back to hass. So yes bring them closer. If you succeed to repair them than you should follow the suggestions of atxbyea, which mean, buy some router
Conbee is directly in a "normal" USB port (not usb3.0). More or less open air yes, just on the other side of a thin plaster wall. No WiFi routers or other types of electrical interference in between.,
But you will find out the problem
WiFi isn't about "between" it's about RF - check the pins
Same for putting it on an extension cable
Fair enough. But feels like we're looking at the wrong place, no? The dongle, the RPi and all the sensors havent moved. Only thing thats changed is -SDCard +External SSD (backup from SDCard installation, import on the External SSD).
The external SSD could be causing a drop in power, or more RF interference, or both
Conbee’s own site says use extension cable https://phoscon.de/en/conbee2/install
Drop in power is interesting. However I do have the original power supply meant for RPi 4.0, so should be more then enough to cover both.
RF interference however might be an issue.
Cheers, will invest in that then (but again, worked without pre-migration)!
Yeah, but you've changed the RF environment
I had similar issue week back while having another device plugged in to USB. Once a time I have lost all devices. After unplugging it, no Issue
Damn, allright! Cant really unplug the external harddrive though... but with a USB-extension cable I could possibly provide enough distance between the dongle and harddrive. Which could help then I guess?
Sorry for my lack of knowledge regarding RF, never really had any issues with that with other types of tech. But Zigbee/Z-Wave is completely new to me. Is it fair to say that they are more "fragile" in terms of RF?
Not if done properly
But requires a few steps
In the end it will be more reliable and flexible
Allright. Thank you so much for all your help @jolly narwhal @slate leaf @sour shadow @molten linden 🙂 Awesome community.
Multiple leads for me to follow up on and make improvements upon.
Hello all - I'm looking to use ZHA so I can ditch my SmartThings and Hue hubs. I'm just wondering how well the network is at self repairing if a router goes offline? Most of my routers will be bulbs, and while we just leave them on all the time and let HA turn them on and off, guests sometimes turn them off. I don't have an issue with them on Hue, but I don't know if that is due to ZigBee or something propriatory on the Hue hub.
i just got a new router to extend my mesh, but none of my existing end devices are routing through it after a couple days. is the best course of action to re-pair devices to have them pick a new router? I'm on Z2M
Aqara will usually not choose a new router
Just ensure that either you pair with routers that are always on or lock / get rid of physical buttons
driving to ikea. is there anything fancy new in the zigbee area I should get?
Very little new
roger. so re-pairing is the best course of action?
Hi all, am wondering if I can setup in Zigbee2MQTT on my TRV local_temperature_calibration and local_temperature then shows as calibrated, then turn off the ADDON and turn on ZHA Integration the temperature is not calibrated, does it mean Zigbee2MQTT is computing the value out of the device?
Hey just got my Sonoff Zigbee 3.0 Usb dongle, i wanna use zigbee to mqqt.
- Created a new user for mqqt and added it to the config
mqtt:
base_topic: zigbee2mqtt
user: mqqt_User
password: xxxxxxx
- Looked up my USBport where the dongle is:
/dev/ttyACM0
and added it to the config
(device got found by HA)
3) installed mosquitto broker
I get this error when starting:
at SerialPort.<anonymous> (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/znp/znp.ts:146:28)
at SerialPort._error (/app/node_modules/zigbee-herdsman/node_modules/@serialport/stream/lib/index.js:198:14)
at /app/node_modules/zigbee-herdsman/node_modules/@serialport/stream/lib/index.js:242:12```
trippel checked the port
Use the serial ID instead of the port, it'll be much more reliable.
I know this is for ZHA, but the way to get the serial instead is here: https://www.home-assistant.io/integrations/zha/#configuration---gui
• I have two Aqara motion sensors.
• I'm using a Hass.io VM and passing through my USB dongle (Nortek Gocontrol HUSBZB 1)
• I am using ZHA. When I hold the button on the Aqara motion sensor, it successfully adds the device and shows status at that time.
The issue is that the device never updates again. The "Last Seen" doesn't change from the original pairing time.
Battery is over 70%
using core-2021.12.8
Anyone have any idea what could be the issue?
The battery percentage indicator is not reliable on those Aqara devices. Try changing its battery.
ls -lla /dev/serial/by-id will show you the symlink easily from a proper host os at least
welp.. after going through the process of updating the firmware of my usb stick, swapping batteries, rolling back and forward home assistant.. I realized that..
Holding for 3 seconds doesn't enter pairing mode.. it resets the device.

Well, that would be a problem
@jolly narwhal ls -lla /dev/serial/by-id: no such file or directory

will check the link from reosemary
Then you have no serial devices
Plug in and out and do a dmesg
Did anything get registered?
new usb device found, idvendor=10c4, idproduct=ea50, bcdevice = 1.00
product: sonoff zigbee 3.0 usb dongle plus
now i just take the serial number ?
fcbaf5dda9c9eb199bfc914f1d69213e ?
So no serial device detected
with dmesg
Is it flashed?
i find the usb device
with the serial number
i guess i missunderstood "pre-programmed"
from the recommended zigbee2mqtt website
will work myself through the flashing instructions
yickes xD
lrwxrwxrwx 1 root root 13 jan 7 18:50 usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_plus_fcbaf5dda9c9eb199bfc914f1d69213e-if00-port0 -> ../../ttyUSB0
That'll be the path to use
so i should use ttyUSB0 instead of ttyACM0 ?
No
/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_plus_fcbaf5dda9c9eb199bfc914f1d69213e-if00-port0

Felt pity on you using your phone. 🙂
Now if the monkey had 10 thumbs that would be me...

I'm trying to understand how to use Binding with ZHA. I've got a Wall Switch and two RGB Bulbs, and I wanted to set up the switch to bind on/off, but I want to make sure the binding is a "one way" control where the switch controls the state of the lights, but the state of the lights doesn't control the switch.
Is that the normal behavior of binding?
I'm trying to make sense of what to select in the "Manage Clusters" menu to set up binding of the switch to the light bulbs, but I'm not understanding it
hey is it possible to force my zigbee device to only connect to the controller via another zigbee device, and vice versa? Right now I installed a new zigbee device and a few of my existing ones want to route through it, but the connection isnt that stable on that route so I'd like to have them NOT take that route, and instead go straight to the controller as it used to.
in the bindable devices dropdown select the light
click bind
and make sure you wake up the remote so it accepts the command
or any article on zigbee clusters and binding would help in my understanding as well. (I assume)
no
zigbee self manages nwk routing
hmm, ok.
I guess I just need to determine why the new device connection is so bad (it's outside and in the cold, but it worked fairly well when I first installed it)
Maybe that's the step I am missing? I click BIND but I don't see any UI changes or any info about what bindings have been made
doesn't exist
i never finished it
:S
that entire dialog needs a makeover
but it isn't high up on the list of things to work on atm
can it be queried somehow?
there is a way to query the device I think... but also not implemented yet
heh, ok. And, can I bind the switch to multiple devices this way? Just pick the device, click BIND. pick the other device, click BIND again?
use a group if you are gonna do that
create a zigbee group w/ the devices you want to control together
I'm used to Z-Wave Association Groups where you have to add all the deice ID's to the group on the device at once
then bind the remote to that
steps are a bit different
go to the ZHA config page
then the group tab
I do have a Zigbee group for the two lights
perfect
Group Id: 0x0002
go to the device page for the remote
manage clusters
select a bindable group
then tick the boxes for the functions you want to bind
then bind group and wake the remote
I have the switch and the lights all turned on right now, is "wake" something different?
wait is this a hard powered switch?
they each use Mains power so not a battery device or anything
cool GL
@tropic depot thanks for everything you do sir
So, I picked the group, a checked the options to bind "OnOff" and click BIND GROUP. Then I went over to the wall switch and toggled the switch off, and on but the lights are not changing. 🤔
The OnOff ID is 0x0006 with the Endpoint value of 2, if that means anything? heh
anything in the logs?
put debug logging on (you can see how in ZHA docs)
do it again
and post the log somewhere I can get to it
Is it normal for the controller to show "offline" in the Visualization for some reason? heh, maybe I should restart HA or something. I just added this switch last night and I can control them from HA so I am not sure why the controller would be offline.
alright, cool
How to send photo? I have a problem with pairing zigbee module
One is like not being supported and other is ok
One zigbee model is TS110F when other is TS110E
QS-Zigbee-D02-TRIAC-2C-LN
Do you just need the parts after this line?
2022-01-07 13:26:59 DEBUG (MainThread) [zigpy.zdo] [0x0098:zdo] processing 0x0098: Bind_req 5c:02:72:ff:fe:cc:bc:92, ep: 2, cluster: 6 to group: 0x0002
I see this too
2022-01-07 13:26:59 DEBUG (MainThread) [zigpy.zdo] [0x0098:zdo] 0x0098: Bind_req 5c:02:72:ff:fe:cc:bc:92, ep: 2, cluster: 6 to group: 0x0002 completed: [<Status.SUCCESS: 0>]
so it says it works...
Looks like the command to turn off the switch here maybe?
2022-01-07 13:27:20 DEBUG (MainThread) [zigpy_deconz.api] Device state changed response: [<DeviceState.128|APSDE_DATA_REQUEST_SLOTS_AVAILABLE|APSDE_DATA_INDICATION|2: 170>, 0]
And is this saying it doesn't know what to do with an Off?
2022-01-07 13:27:20 DEBUG (MainThread) [zigpy.zcl] [0x0098:2:0x0006] No handler for cluster command 0
Probably better to share the whole log since I've never seen this before, heh
what coordinator do you have?
Hi guys,
I updated my zigbee2mqtt from 1.18 tot 1.22. and I cant add my ikea tradfri lights.
they show up in my logs but wont be added to my entity list.
dresden elektronik ConBee II
I have an aqara vibration sensor that Ive paired with ZHA. I am looking to access the tilt degree value. Currently I have a template that reads the zha_event. However this resets with HAss resetting. Is there any way to set these values as attributes within the sensor?
not at the moment
With what coordinator ? And what does the logs actually say? And what entity list? Z2m or ha?
ha
I'm using a sheppard stick
hmm when I go to the zigbee2mqtt frontend they show up
99% of zigbee problems could honestly be solved by using a 1352 or 2652
it always worked great
but I think it has to do with that I upgraded my Z2mqtt (from old branch to new)
(cc2531 that I'm using btw)
Yeah that is horrible
Yes
but in my case it's hassio that's being the problem
I had to poke at it a little more, but it turns out if I just do the Device Binding for both of the lights, it actually works... ?! So, I'm not using the Group Binding. I did try to "unbind" the group too, but all I did was...
configuration / integrations / configure zha / devices / select my wall switch / manage clusters
device binding / select lamp #1 / BIND
go fiddle with the wall switch, and the lamp turns off and on with the switch
device binding / select lamp #2 / BIND
go fiddle with the wall switch, and BOTH lamps turn off and on with the switch
¯_(ツ)_/¯
Hey guys, i received my Sonof 3.0 Zigbee Stick today and connected my first Xiaomi Lumi (Humidity Sensor) Is there a way to change the update interval as in how often i get the device status?
Unlikely - they'll report as the values change "enough"
Hello everyone, previously when I updated my Z2M firmware, I was advised to unpair and pair all of my routers. I'm now planning to move from 20210708 to 20220103 both zStack3x0. Do I need to foresee the same ?
Ahh ok
You shouldn't need to, that will have been for a known bug
thanks !
Anyone else using these sensors by chance? On the Device List its flashing red % and it reports battery lvl NA% Does this mean its not exposing thins? I also tried changing the batteries as they came with batteries already installed and active
Enbrighten 43076 Zigbee in-wall switch doesn't support multi-tap gestures. Is that something you only get with a dimmer switch?
I have an Enbrighten Z-Wave wall switch that does double taps, so I figured the Zigbee would too. Maybe I'm holding it wrong?
is there a min. LQI thats adviced
If the device isn't working the LQI is too low
You can't compare the numbers since they're calculated differently by different chipsets, and different manufacturers
20 might be bad, or just not great, or just fine
Less Quality Indication
any thoughts on how to fix?
Did you enable Home Assistant support in Z2M?
yes
I decided to get an Aqara Cube to control the brightness/color selection. Figured my daughters will think it's cooler than trying to multi-tap a wall switch anyway. Just need to make sure the wall switch turns the light on and to a "warm white" setting.
Hi, I'm having trouble setting up my slaesh usb coordinator (https://slae.sh/projects/cc2652/) with homeassistant OS, hoping someone can help me take a look
I have mosquito broker and zigbee2mqtt installed
seeing this in HA logs: https://pastecode.io/s/u0ux318a
presumably, due to the coordinator being unavailable, zigbee2mqtt also fails to run: debug lvl log with zigbee_herdsman_debug: true - https://pastecode.io/s/8kf7qz3x
Zigbee2mqtt UI shows empty device list (iirc, the coordinator should be a device in here)
Hej, I'm using the slaeh's CC2652RB zigbee stick on a RPI4 with a 50cm cord with ZHA as the integration of choice. I'm wondering why I get so bad LQI values. I have just two green devices being two radiators connected to a switch device. They are further away from the coordinator then the switch and in the same room having a much lower LQI and everything else is either red or grey. How can I find the reason for the network quality being so low?
Unless you experience actual performance issues or devices "disconnect", I wouldn't worry about LQI or the colors in the visualization
But there really isn't much you can do to increase LQI between devices aside from adding more routers or re-joining end devices through specific routers and hope they don't switch parents in the future
I have some devices that won't join. They are quite far away, but I have other devices in the same room being connected already and reacting fast to commands.
Do you have any routers?
Most of my devices are.
When you say "LQI", do you mean the numbers on the links between nodes in the visualization, or do you mean the LQI value displayed in the device page?
I would say from 25 devices about 15-20 are routers.
The numbers on the lines in the ZHA visualization.
Do you have a WiFi network on a nonstandard 2.4GHz channel (i.e. not 1/6/11) or using more than 20MHz channel width?
I have two WiFi routers. Both running on channel 1 and ZigBee on 25. I didn't explicitely set the channel width, but I will try that.
If you didn't it's probably going to use 20MHz, but WiFi 1 and Zigbee 25 are on opposite ends of the spectrum so it shouldn't matter
That's why I chose those.
That being said, unless you explicitly re-formed your network on 25 or set the ZHA channel config before ever using your adapter, it will be on channel 15
I set it to 25 before setting it up I think. Can I see the actual used channel somewhere?
It's logged on startup when you enable https://www.home-assistant.io/integrations/zha/#debug-logging. Set zigpy_znp to INFO or DEBUG.
Okay then I restart. Logging is activated but probably already gone as it's logging that much 😂
channelList=<Channels.CHANNEL_15: 32768>
Looks like I didn't manage to set it to 25 ^^
But that would explain some problems I had before. I just recently switched from WiFi channel 6 to WiFi channel 1.
Guess as I don't have that many devices, I'll just do a re-setup of everything.
Hello. Can anyone help me with this problem I’m having. I had a sonoff cc2531 zigbee dongle with zigbee2mqtt. It worked fine. I upgraded to 2 of the new sonoff 3.0 dongle and flashed them with the firmware on the zigbee2mqtt tutorial (one as coordinator and the other as router). I started having problems saying the same pan_id was being used, and eventually I uninstalled zigbee2mqtt and I was able to make it connect. But I can’t find any devide. Neither the ones that previously worked with the old dongle, neither the newly flashed router.
I tried installing back the old dongle and I can pair the devices again, but not the new dongle as router. I have re-flashed them with the stable and the latest firmware without any changes to this problem
What could it be?
Re-installing the integration won't be enough, since ZHA uses whatever settings will be on the stick instead of forming a new network. It'd be best to just re-flash the firmware, which will then cause ZHA to form a new network with what's in your config.
Okay, I'll do that.
And then configuring this is right, is it?
channel: 25 # What channel the radio should try to use.
channels: [25]
Yeah
Even though I don't know what the second argument is for...
Unrelated, but unless those APs can't hear each other, you'd probably be better off setting one of them to channel 6
You can remove it and just leave channel: 25
I know. They are far away from each other. I had one of them on 6 before and just changed it to analyze possible causes for my Zigbee Network Problems.
But thank you. It's a good note and I will change the one in the office to 6 again.
What problem is that?
This one
Have you tried flashing the two Sonoff CC2652Ps as the opposite type?
Yes
And reflashed as the same type as well
I just reinstalled the old dongle and after erasing the coordinator_backup.json and the database (and changing the port in the conf), my device showed up instantly in pairing mode.
But the router didn’t, again
It's not unheard of for the Sonoff dongle to have issues like this
I don't think it's a software or firmware problem
I opened the case and there is a switch and 2 buttons. The switch position could have something to do with this?
Switch is only for toggling flow control for the serial port, if you can connect to the dongle it makes no difference
Not sure, you're not the first to report the Sonoff just not working despite devices joining fine with other coordinators
I think I do. I think applied that much force on them, but they are in.
What connector?
I'm just wildly guessing, I doubt they'd send the wrong antenna type
Oh, yeah, its the right type. I just reflashed them. All to coordinator. Will try again last time
The other problem I always have is that when I switch from the old to the new, after I start zigbee2mqtt, I keep getting 502 bad gateway
Just happened now
And then I get that most likely network with the same panID or extendedPanId already exists nearby
Well.. look at that.. it worked
It found my device..
I will try turning the other one into a router
Just changing the firmware and plugging it should make it show up? Or should I do something else?
There should be a procedure to get it to enter joining mode but maybe not
Let me try
It showed up
Just like that
I THINK I know what could happened. I use a nuc with proxmox for HA. And I have a smb server with a external hd connected to it. I left the dongle over the hdd… the magnets must have interfered with the signal. Even tho the old one was in the same spot with no problem
Well.. good to know. I could have spent 20 minutes in this, but lost 6 hours because of a misplaced hdd.. the more you know
Thanks for the help!
i'm seeing some really weird behaviour in all my zigbee kit today
lights flicking on/off/on/off/on/off when i try to turn them on or off
sensors reporting being connected, but not updating (on movement detection for example)
contact sensors taking multiple seconds to update when a door opens or closes
some of my motion sensors that do trigger, get locked in 'motion detected'
some zha_events, like a single button press on an aqara button aren't being detected, but a double press on the same button works fine!
this has all just started happening in the last hour or two
i've reloaded ZHA, restarted HA core and rebooted my HAOS box
Sounds like a zigbee network signal issue to me....How many devices in your network?
60
Any primary routers between coordinator and rest of devices gone offline?
nope
Anything showing in your logs?
I suggest you turn on the ZHA debug logging
that gives way more detailed information and you will see every command issued and received etc.
What device are you running HA on?
rpi4
up-to-date everything, haos, core, supervisor
i haven't changed anything since this morning either!
logger:
default: info
logs:
bellows: debug
zigpy: debug
zhaquirks: debug
asyncio: debug
homeassistant.components.zha: debug
homeassistant.core: debug
add the above to your config file
then reboot
thats the first step towards learning what the issue is and then hopefully solving it.
ok done, restarting now
any new sources of interference in your home? E.g. is your wifi on auto-scan for 2.4ghz? This could cause random interference if your router started to broadcast on channells that overlap zigbee
this is because i said "zigbee was generally reliable" yesterday
the ZHA logs will give us more info
give the network some time to reform. Then go press a few aqara buttons and see if issue persists. The log will then capture what is going on.
send me a copy of your log and I will take a look for you
so the light that was flickering, i turned it off at the switch and back on again, now my button is working again
so one dodgy router and the whole zigbee network goes to shit
think of it this way. A zigbee network is like a room full of people. But instead of trying to all talk together. Each person passes a message to the next quietly.
thats called unicast communication
Zigbee then supports multicast which is where a person shouts out a command for EVERYONE to listen.
example would be you have 30 lamps and you want them all to turn on together you send a multicast which is 1 message instead of sending 30 unicast messages.
Now every router in your network supports both. If a router crashes or gets in a funny state. It can start broadcasting rubbish or delay commands reaching from your switch to your hub.
Zigbee is great but you really need to watch out for when devices fall off the network.
getting them reset quickly is important
everything seems to be working again now
That router was the cause of your issue then
🤞
BTW make sure to turn off the ZHA logging. Otherwise you will fill up your space very quickly
I am sure if you looked at the logs you will see the mac address for that bulb will have all kinds of errors listed
ha yeah i'm doing that now
Do you use ZHA groups?
no
they are handy if you have a room like my kitchen where i have 6 gu10 RGBCCT bulbs in ceiling. Creating a ZHA group those 6 bulbs shows as a single entity
and they work much faster
Plus you dont have to add each bulb when making an automation
i probably only have two rooms where a handful of bulbs would need to be grouped
but thats a good tip
I have an ikea stand lamp that takes 3 bulbs. Again its a life saver in this situation
for 1 lamp i have 4 entities. Group Entity and entity for each bulb
Just so you know if you start to play with ZHA groups. Sometimes if a device falls off the network and its part of a ZHA group. When you reset the device you should check that it hasn't left the group.
Anyway have a nice weekend. Glad you got sorted!
cheers!
I do groups per room
Actually, in multicast the coordinator 'shouts' to everyone, yes. But also every router that hears it also shouts the same thing, 3 times! And same for every router that hears that and so on. No wonder it is more robust, but its also a lot more traffic on the network than unicast. Im sure @austere patio will correct me if im wrong 🙂
So I have 9 ZigBee groups
hello everyone
i just did an update of my z2m firmware on my zzh stick and now i'm getting Error: SRSP - SYS - ping after 6000ms
i've checked if i have the right port
by using the following command : ls -l /dev/serial/by-id
Have you tried unplugging it?
yes
reboot the rpi
put it in a different USB port on the RPI
I don't know what to do next
debugging is put on
Have you tried reflashing it?
doing that now
that did the trick
other question
i have a reserve ZZH stick for if something goes wrong
would it pair with my devices ?
No, you would replace your current stick if it fails
You can flash it with router firmware
And use it as a router in the meantime
Hello all
I search people to be help me to start with ZibGee
ZigBee
I have start a docker container with an Home Assistant, add my Sonoff usb to this, and connect a plug
I can switch it on/off, but normaly this plug can display the power
but I can't see it in home assistant, I would be confirm that is not possible due to this plug or my fault
What installation method? #449717345808547842 ? Can you share your docker compose?
docker run -d --name homeassistant_V8 --privileged --restart=unless-stopped -e TZ="Europe/Oslo" -v /PATH_TO_YOUR_CONFIG:/config --network=host --device /dev/ttyUSB0 ghcr.io/home-assistant/home-assistant:stable
With privileged you don't need to specify the usb port
The container sees all
Afaik, i don't use it
If you exec into the container, can you see anything under dev ?
Also, what is the output of docker ps -a
I suspect you have created multiple containers
yes many container
You should move to docker compose
but I don't know how remove it
I'm use home assistant core in normal time, this docker is juste for test on my desktop
And you need to map an actual folder for your config, not what you pasted above
docker run -d --name homeassistant --privileged --restart=unless-stopped -e TZ="Europe/Oslo" -v "/home/basilic/Container/config" --network=host --device /dev/ttyUSB0 ghcr.io/home-assistant/home-assistant:stable
Hi, I have this device and I want to change its power on behaviour. https://zigbee.blakadder.com/Tuya_TS011F.html
Currently, after a power loss, it defaults to on, and i want to default to the last state.
I have another one like this which I previously configured via the official app to do that, and I see that in that one, there is a cluster named:
TuyaZBOnOffAttributeCluster (Endpoint id: 1, Id: 0x0006, Type: in)
In that cluster, there is an entity power_on_state (id: 0x8002). In it, the value is PowerOnState.LastState.
In the new smart plug, the same entity's value is PowerOnState.Off.
If I try to change that and set it to PowerOnState.LastState via "set zigbee attribute", if I press Get zigbee attribute after using Set, it still returns the old Off value.
What am I doing wrong?
Now you setup the ZHA integration if that is what you intend to use
It's the same device @willow bronze
sorry, I have the same device, and I would like see power 🙂
?
I'm newbee on ZigBee
wdym you want to see power
In HA I see : "manufacturer": "_TZ3000_bfn1w0mm",
"model": "TS011F",
the seller say we can see power consomption on this
but I don't see it on HA
yes
which HA version
Zigbee Home Automation
Home Assistant version
2021.12.8
Which zigbee stick
a Sonoff key
ZNP = Texas Instruments Z-Stack ZNP protocol: CC253x, CC26x2, CC13x2
par ZHA
Sonoff Zigbee 3.0 USB Dongle Plus
well, try to remove the device from the list and repair too
I waiting the end of the scan
Did you already open it (to see electronic circuit inside)?
I have open it to see how it's design, but I'm realy septic on my device can see power
from what i can see, opening it up would be destructive
I'm electronic designer, I want to see
might be more practical to search for other people opening it up
on youtube maybe
then look at the circuit board yourself
I don't find the same exactly, on my: https://drive.google.com/file/d/1agSQhTcy7hDuKNQnB50xVXzFjVFJfvVF/view?usp=sharing
I thing the missing some composnant to measure power
can you make a screen shot of your device screen?
what's your reference on product? mine is BSD33
where would I find this model
on the package?
on that i see a label with WHD09W-EU-ZIGBEE
on my is write under the plug
can you send me a link where you bye it?
aliexpress
in fact my only interest for this device is the power monitoring
thank I will order another one from this seller
maybe more chance that have monitoring power
thank for you picture
waiting 10 more days 🙂
can you link the seller you bought yours from
- Electricity statistics
View energy reports to properly track energy usage around your home. Know which devices consume the most energy, and make plans to save energy and electricity bills.
do you have a Tuya hub
no
might be a good idea to get one, maybe the issue is in firmware
it's need to use it?
no but
it's needed to update the firmware
and change options like power state default
when my first one arrived the tuya hub updated the firmware via OTA
I can ask to a friend that use tuya
also check whether power monitoring shows up there
if it doesn't work even there, you should contact the seller for a refund
I already contact the seller
they tend to sell the device with the same shell with and without power monitoring
yes but the product page only has the power monitoring variant
yeah... product page does
product doesn't
the seller is not an electornics expert, they just sell the stuff and you probably bought from a reseller selling all kinds of goods
yes, in the worst case, I would give it to a friend
ask for a refund since the device isn't as promised
yeah but make sure you make screenshots showing it has no power monitoring
in the smart life app
not going to buy it if you show zha ui
you need a hub to pair it since it's zigbee
he has a tuya/wifi bridge
a device like this: https://www.amazon.fr/ZigBee-filaire-Gateway-télécommande-produits/dp/B08HWRD1NM
bumping this problem - can someone please help? @mighty river and I have been stuck for days
I have noob question. anyone has a yaml code (or link) to add a 'permit join' card to lovelace? I would like a button to turn on/off permit in the frontend. Can't find a code online
For zigbee2mqtt?
I guess the same as atxbyea. If so have a look at this https://www.zigbee2mqtt.io/guide/usage/mqtt_topics_and_messages.html#zigbee2mqtt-bridge-request-permit-join.
And via state zigbee2mqtt/bridge/info topic's permit_join attribute you can check the current state.

Is it possible to view full default device configuration?(Zigbee2mqtt) I cant find anything in files
Hi, i searching where to put external converter for Zigbee2Mqtt
i have some xxxx.js file but I'm not familiar with supervised HA file system, i put SSH support and i can connect with WinSCP to inject .js file....but where ?
as i figured out, is some containerized system with virtual environments for each container, but how to find where is zigbee2mqtt plugin (installed with HACS) placed, and how to reach it to "add support for unsupported zigbee device"
today i made hacked lidl gateway, and it work, but i still don't have lidl remotes other function than battery level
https://paulbanks.org/projects/lidl-zigbee/#pcb-side-b i did that, i expected it will see his own remotes as is same brand, but obviously it is about how h.assistant handle protocol in zha or z2mqtt i have 3 zb handlers, TI stick, hacked lidl gw and original lidl gw (only that i could obtain these days
zigbee2mqtt has a directory under config
put the js file there
config/zigbee2mqtt/devicewhatever.js
thats what I did
probably an issue with your file then
my configuration.yaml has {} around all my options and all option names are doublequotes ""
and aything referencing a file is similar to the example I posted
do you have supervised Home Assistant with zigbee2mqtt as HACS installed plugin ?
or manually installed ?
i tried your way but it give me lot yaml errors
ok, it seams that lidl.js was too complicated file, i tried with some LITE sample, and it not stuck, but now need to study how to make something what work
conclusion, yaml config was ok, and placement folder is ok, but content is not working from zigbee2mqtt github, probably too complex
Not through HACS through supervisor
What coordinator?
slaesh
Enable ZHA debug logging and take a look at the log. It should be channel 15.
Unless you previously used the coordinator with Z2M, in which case it'll be 11
nope
just shifting the last of my 2.4ghz wifi devices off onto an IoT wlan today, so i can shift its frequency away from my zigbee freq
Use channel 26, interference problems solved 😉
@violet dagger and @willow bronze , Sellers proposition refund half price on paypal account without any discution (I think he know that the product isn't conform), I have open a dispute to ask full refound.
whats this now
yeah good idea
i never agree to paypal it's almost always a scam
I read some topic that explain some complex step with a tuya dev account to see power, did you do this or it's native on your zigbee device?
maybe because it's wifi and use tuya integration
yes it doesn't apply to ZigBee at all
I guess your friend didn't get a power measurement menu either?
via the hub
I don't see my friend yesterday, I will give it tomorow. Aliexpress accept the refund, I will offer to my friend.
I found the topic request: https://www.zigbee2mqtt.io/guide/usage/mqtt_topics_and_messages.html#zigbee2mqtt-bridge-requestzigbee2mqtt/bridge/request/permit_join
I want to create a button in HA to open the Joining for pairing.
Sadly I cant find an example in the doc and I dont know how to use the right syntax
I need zigbee2mqtt/bridge/request/permit_join
with the wanted payload {"value": true, "time": 120}
button:
- platform: mqtt
name: "mqtt_permit_join"
icon: mdi:signal
command_topic:
"zigbee2mqtt/bridge/request/permit_join"
payload_press: {"value": true, "time": 120}
Sorry for noob question
so how would I add the payload ?
command_topic: "zigbee2mqtt/bridge/request/permit_join"
``` for a start
yeah i did that
switch:
- platform: mqtt
name: "Zigbee2MQTT enable join"
state_topic: "zigbee2mqtt/bridge/config/permit_join"
command_topic: "zigbee2mqtt/bridge/config/permit_join"
payload_on: "true"
payload_off: "false"
Sure, publish the required JSON
is it just payload: "true" then ?
payload_press: '{"value": true, "time": 20}'
command_topic:
"zigbee2mqtt/bridge/request/permit_join"
``` ❌
Look at what I wrote, vs what you wrote
button:
- platform: mqtt
name: "Zigbee2MQTT enable join"
command_topic: "zigbee2mqtt/bridge/config/permit_join"
payload_press: '{"value": true, "time": 20}'
@eternal pawn To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks. Here's an example
Don't forget you can edit your post rather than repeatedly posting the same thing.
For over 15 lines you must use a code share site such as https://www.codepile.net/ (pick YAML for the language) or https://paste.debian.net/ (pick YAML for the language).
yeah
i dont wanna google and copy it 24/7
thought i can do it without once
cant do it on german keyboard

We can't tell if you fucked up the formatting again if you don't
A button has no state_topic though
so even for a button i need a turn_off Service?
button/turn_off. Service not found
why is it not in the doc
You had a state_topic entry, which isn't supported
now you have a broken duplicate command_topic entry
no
- platform: mqtt
name: "Zigbee2MQTT enable join"
command_topic: "zigbee2mqtt/bridge/config/permit_join"
payload_press: '{"value": true, "time": 20}'```
that what i got atm
confic says its fine
if i click on it
Fehler beim Aufrufen des Diensts button/turn_off. Service not found.
Then check the configuration of how you're using it in the #frontend-archived
I doubt buttons have states
If the button works should i see in the zigbee2mqtt app on the top right the time remaining ?
ok when pressing the button its state gets set to the time the button got pressed: 2022-01-09T13:45:17.331553+00:00
I migrated from HUSBZB-1/ZHA on channel 15 where devices reported ~255 LQI though the map was a mixture of green yellow and some red to the new Sonoff Dongle/Z2M. At first i was on channel 11, default transmit power. LQI values ranged from ~200 to ~20. I changed the channel to 25, and set the transmit power to 20 (I've flashed the new firmware). I'm still getting similar LQI values with some being as low as 10.
My questions are:
- Does ZHA report the LQI value the same way Z2M does?
- Should I try Z2M with channel 15 as that was what was successful with HUSBZB-1/ZHA? (I used the energy report directly from the adapter and channel 25 had the least amount of activity)
- Should I try the Sonoff adapter with ZHA?
I live in a one floor apartment (~1250 sqft) with 26 devices (19 routers).
I'm trying to figure out if this is an adapter, configuration, or ZHA/Z2M issue.
The sticks report LQI differently
Ah, OK. Is the best way to test stability through just real-world application (lights turn on/off)?
Yes
I have LQIs ranging from low single digits up to the low 200s, and I've found that LQI has no bearing on anything
Is there a way to have HA notify me if a Z2M message times out?
I don't think so
I'm fairly new to Z2M, how would I know a command failed (other than using my eyeballs :))? I have a couple of roommates who are very patient 🙂
The log should have ERROR lines if that happens
Those will log to config/zigbee2mqtt/log?
Possibly, not sure, I only look at the log file
Oh, you meant disk path, not MQTT topic
Yes, there 😄
Awesome, thanks! Stopped me from re-pairing all of my devices two more times to diagnose the issue 🙂
I dont get an error in ha or zigbee2mqtt with the button
still it doesnt work
any ideas ?
Well, if you've confirmed the message is published to the topic correctly, then ... no idea
ok i didnt have to look it up
ty
cant see anything published that looks like my button
hm
###button to turn permit joining for mqtt on
- platform: mqtt
name: "Zigbee2MQTT enable join"
command_topic: "zigbee2mqtt/bridge/config/permit_join"
payload_press: '{"value": true, "time": 120}'```
https://www.zigbee2mqtt.io/guide/usage/mqtt_topics_and_messages.html#zigbee2mqtt-bridge-request
anyone got an idea why this is not working
ok got it @sour shadow somehow while chatting with you the topic got changed from zigbee2mqtt/bridge/request/permit_join to zigbee2mqtt/bridge/config/permit_join, after like 3-5 msg
ty for the work
Hi All,
using a ConBee II with the DeConz-Integration however I now have ordered a Zigstar Stick V4 so I‘ll have to ditch DeConz.
Question is:
Should I go for ZHA or Z2M?
Looks like more people are recommending ZHA nowadays however Z2M has double/almost triple the amount of supported devices?!
Which one to prefer and why?
Do you want to run everything from the same host ha is running on? Either will work
Do you want to run a separate system / location for the coordinator
Z2M
I do Z2M because I believe ha should be HA, everything else comes from outside / other containers / other servers
Also Z2M lets you have multiple systems access the coordinator since it happens via mqtt
You can have production plus development system
Hi guys,
Can someone point me in the direction of who can help setting up a new device in ZHA?
@edgy minnow posted a code wall, it is moved here --> https://hastebin.com/wahevotuwu
It is a zigbee thermostat. It works on MQTT, However I use ZHA.
@jolly narwhal I‘m planning of having the coordinator running on the HA-Host. I was tending towards Z2M from my research but find many recent comments that ZHA is the way to go as it gets a lot of love from the HA-team while Z2M is not even a „official“ add-on to HA…
Sure thing if you have it running separately…
That isn't an add-on 🤢
Switching integrations is pretty painless so try them both. They both are actively developed.
I have switched to Sonoff Zigbee 3.0 USB Plus dongle to use with z2m. It worked briefly but after i tried adding devices back in but they fail to interview and are being displayed as unsupported in the UI. They are Hue bulbs so they should work. An suggestions on what to check? i have flashed the dongle with the firmware as per the z2m support. The z2m UI seems to be configured correctly but I'm at a loss to the point of considering going back to hubitat lol! Any help would be greatly appreciated.
@chilly storm Setup is easier in ZHA. I would try that first.
Ive heard ZHA doesn't support as many devices, i might have misread something though? I'll give it ago now though. Should i uninstall z2m and mosquito first or can they just be disabled?
pretty sure you can disable and install ZHA. Dont forget to factory reset your bulbs etc before joining.
Cheers, just doing it now 🤞🤞
If you have Z2M setup, ZHA will use its network settings so your bulbs should show up if you just reboot them
Device support between the two integrations works differently. Z2M has a whitelist and every device needs explicit support, so there is an exact number for how many devices Z2M supports. ZHA tries to work with every device and fixes broken ones, so it likely will work with new stuff with no changes. Unless it's Tuya.
Z2M support lots more functionalities than ZHA, because of its nature. For example Thermostat. In Z2M you have the webpage where you can set all parameters, but in ZHA for every parameter there has to be a HA entity. And because of that not all parameters from zigbee device are integrated into ZHA.
pairing is handled by the dongle, if your having pairing issues just changing the interface isn't going to do anything
"fail to interview" isn't being caused by z2m
hi, if that not work i give up, i spent too much time and money for that.... https://community.home-assistant.io/t/zha-lidl-livarnolux-zigbee-remote-control-can-it-work/365248/8
is there anyone that successfully can use https://www.zigbee2mqtt.io/devices/FB20-002.html that device on any platform
i have all 3 platform setup but this RC not perform triggers but only battery lvl when paired....
i can use them as hard-binded devices, but then i can't refresh status on HA and can't use automations etc...
buttons don't have devices they have events in zha
z2m has an action entity iirc
let me find my button
3 platform, meaning Z2M, ZHA (though lidl-hacked gateway (i thought it would be more compatible)https://paulbanks.org/projects/lidl-zigbee/#home-assistant-integration ) and stock another lidl gateway + tuya cloud intergration
what coordinater are you using for z2m
i know, my IKEA button have zha/z2m triggers, but those lidl only bat.lvl zhey have registred triggers, but not work
what do the logs show during interview?
texas instruments cc2531 usb dongle
for z2m and on lidl-hacked is some Silicon Labs ARM-M4 CPU with integrated RF stack. (EFR32MG1B232.)
z2m i looking on external mqtt explorer... and there is no action...
lidl_RC
availability = online nothing els
i tried to make external converter for this device
but as it is already "supported" device this converter give exceptions, but it somehow do something...
but nothing successfull
if you checked my first link, there is description that on wireshark this RC use some uncommon command, and supported is probably some older model of rc, with older fw
2021-12-10 18:54:39 WARNING (MainThread) [zigpy.zcl] [0xd988:1:0x0006] Unknown cluster-specific command 253
from other hand, if i use zha event listener in devel>events, nothing fire out
but ikea rc give triggers for each press or hold
I bothering myself for days to figure out where i mistaking, but probably it is blind road for that device unless there is some way to make custom quirk/external-converter for device, as delivered one not working
i could use tuya cloud integration, but it work "glitchy" sometime it turn on sometime not (light would be turned, but on HA not each time is shown true status)
i'm not so deep in code to make it work, so probably best let them go for something else, and buy another (iex ikea, as this obviously working)
can i make fingerprint for external converter based on mac addr , or something so z2m not interfere with internal device definition... ?
home assistant supervised, not let me poke&peek much in containers, or at least i don't know how to "mess" with internal libraries
I've just added my first Aqara Motion Sensor. Running ZHA. What's the difference between device_class: motion and device_class: occupancy and when would I want to use one or the other (or both)?
intuition tells me that I want occupancy to know when someone's in the room so the lights will be on. I just noticed that motion has turned Off, even though I'm sitting here. Is that the key difference?
If so, what's the advantage of motion and when would I want to use that?
A true occupancy sensor can detect when someone is in a room even if they're not moving. The aqara motion sensor is just a motion sensor, but it has a fake occupancy entity that simply has, IIRC, a 10 minute cooldown as opposed to 60 seconds with the motion entity
About as useful as a chocolate teapot then
Oh that’s how it works. Lame!
The motion cool-down is 180 seconds, unless you’ve done the soldering hack
Eh, 60 ISTR
Istr?
I swear mine are longer than 60
You can get temperature from these things?!
P.S. default occupancy timeout is 90 seconds
a chocolate teapot is handy if you've got a chocolate cook top...
Thanks, all.
Interesting since I saw the motion sensor turn off, but occupancy was still on. Not sure how long it was off, though, I didn't run a stop watch on it.
It's not perfect, but yes
My aqara motion sensors have been flawless for years
i'm currently working on returning the temp from aqara sensors back to ZHA, but PRs take time
https://github.com/zigpy/zha-device-handlers/pull/1248
If I have my HA installed in docker on rasp pi, do I need to somehow give access to usb port for my docker image in order to get my cc2652p stick working? I can't seem to be able to add any devices...
The good news is that you've learned something else about Docker today
I know nothing about Docker and at this point I feel it may be too late
Pffft, I didn't learn anything about Docker until about 14 months ago
Heck, i didn't learn docker until Feb 2020, now I'm apparently a country docker and kube expert
Don't ask me questions
zigbee is a mess on HA the latest months, had to do a full reinstall, and now after a few weeks it's not working properly. Again. I love HA, it's fantastic, but it is way too experimental imho.
I spent... 36 minutes trying to figure how to give that access and I found no single straightforward answer
So I guess I will just... leave
Haven't had a single issue with zigbee2mqtt in over two years
I use ZHA

What coordinator are you using and what do you mean by "not working properly"?
Latest Conbee firmware?
Nothing interesting changed with the code that deals with the Conbee in ZHA for many months
Can you add devices if you downgrade to the last version that supposedly worked?
Don't think so, tried to update that firmware in my previous install using deconz, but that also kept on failing
Enable https://www.home-assistant.io/integrations/zha/#debug-logging and post a log after letting it run for a while, including when you try to add a new device
Thanks, will try that update on win
That said, Conbee has a failing reputation lately
Didn't know that... maybe I should look for another coordinator
Buy something CC2652 based. This list is a good one, both Tube and Electrolama have been proven to have excellent customer service. The current generation of EZSP sticks (see here for some) are also a good choice for ZHA.
Anything CC2530 or CC2531 based should be avoided - they're old, slow, and only suitable for a dozen or so devices. The Sonoff ZBbridge isn't advised since it uses WiFi (built in interference causing stability/reliability issues), and the HUSBZB-1 uses an older chipset so should be avoided.
Finally, the ConBee range are fine with deCONZ, but experience with ZHA and Zigbee2MQTT appears to be mixed.
Will try the update firmware first, if that doesn't help I'll just get a new stick
Also try puddlys steps if you can
Yes, doing that now. (downgrading didn't help, using an extender cable also didn't help,)
If downgrading didn't help then it's an environment problem that probably "happened" after you restarted the Conbee
You definitely want the USB extension cable though
Not if it doesn't make a differece
after restart:
Logger: homeassistant.components.zha.core.channels.base
Source: components/zha/core/channels/base.py:428
Integration: Zigbee Home Automation (documentation, issues)
First occurred: 23:23:15 (1 occurrences)
Last logged: 23:23:15
[0x0000:1:0x0006]: async_initialize: all attempts have failed: [TimeoutError(), TimeoutError(), TimeoutError(), TimeoutError()]
Debug logs contain all the info. The error message alone doesn't explain much.
Big file...
2022-01-09 23:23:15 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x0000:1:0x0006]: failed to get attributes '['on_off']' on 'on_off' cluster:
2022-01-09 23:23:15 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x0000:1:0x0006]: async_initialize: all attempts have failed: [TimeoutError(), TimeoutError(), TimeoutError(), TimeoutError()]
2022-01-09 23:23:15 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x0000:1:0x0006]: 'async_initialize' stage succeeded
2022-01-09 23:23:15 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x0000:1:0x0000]: 'async_initialize' stage succeeded
2022-01-09 23:23:15 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x0000](ConBee II): power source: Mains
2022-01-09 23:23:15 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x0000](ConBee II): completed initialization
2022-01-09 23:23:15 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x0000:1:0x0006]: attempting to update onoff state - from cache: False
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.
If you can upload the whole file after redacting personal info, that'll be more helpful
@jolly narwhal i got two poe tubes 😉
Got the firmware updated on windows, that didn't help, neither did disabling several other integrations.... it's getting late here, will look further tomorrow
@molten linden hey I got an email for the Ethernet model back in stock but it says it’s still out of stock
Is this a bug?
I just ordered it, thanks man
Been drinking so I missed the password in the email
so how come the sonoff zigbee to wifi bridge is such a dud, but the aqara hubs (which are essentially the same thing - wifi and zigbee right next to each other) are not entirely terrible?
🤔
Because the sonoff hub is: <HA><UNPREDICATBLE WIFI LATENCY INDUCING COMMUNICATION MEDIUM--> ZIGBEE>
And the Aqara hub is: <HA> <WIFI> <ON BOARD PROCESOR SUB 1MS LATENCY -> ON BOARD ZIGBEE CHIP>
😬
if i were to backup my HAOS on my pi, spin up a virtualbox HAOS vm on my server, would my zigbee network transfer?
assuming i transfer my zigbee dongle to the vm host and filter it through to the VM
i got a sengled light strip (E1G-G8E) today. it paired easily in HAS using zha. it doesn't seem to change colors or turn off/on when i issue those commands, though. any idea why? https://i.imgur.com/LpKUSXt.png only shows these two entities.
Hey guys,
i have a quick question. I currently use in my Home a Sonoff Zigbee Bridge (Flashed with Tasmota) to connect all my Zigbee devices with HA via ZHA. Because of the construction of our house, I can’t get the Zigbee signal to our garage (I can’t extend the signal via repeater, because there are no sockets between). My consideration is to install a second Zigbee hub and use Zigbee2MQTT. I have a WIFI-Signal there and could so connect it to my HA. Is this the best way to do it? To the best of my knowledge, I can’t connect a second hub to ZHA. Have you any advice for me? I am open to help.
its a way to do it if extending your network to the garage is not feasible
Why am I getting an Availability: Disabled from my Xiaomi wireless switch? First I've seen of it...
I've added availability: true to my zigbee2mqtt config yaml file... doesn't seem to care about that...
damn Konke is doing Tuya now https://s.click.aliexpress.com/e/_99Omps

When zigbee 3.0 socket from tuya will be on default version on z2m?
Its on dev from may 2021

Nvm got it
Anyone have a recommendation for one of the Zigbee2MQTT coordinators that I can use with an unraid docker?
Where in the world?
US
Yep month delay at least
The other option is random luck on EBay/AliExpress, or Sonoff
Is sonoff generic zigbee?
Eh, just buy from Tube and save the pain
Fair enough
I don't need it right now
Luckily I can just hook up my lights to my google home in the meantime
If you're in a burning hurry a CC2531 will get you going
They're cheap, easy to upgrade from, and fine for a dozen or so devices
Sounds good
Sounds like you can use an old coordinator as a booster? Do you just power it for that?
Flash it with router firmware and give it power, like any USB plug
i ordered one from ebay.....expecting a month delivery
Going to set up the Zigbee2MQTT docker on my unraid server
was just going to tell you the RPi interferes with it so you would need an extension cord
then you're all good
I have a small house so I'm not sure if I need an extension cord
If I do use one, whats the max length I can go?
you misunderstand........if you were to use it with a raspberry Pi you would need a cord
but it doesn't apply in this case
Yes it does
I mean if I want to relocate the coordinator but keep my computer where it is
Regardless of your hardware, a USB extension cable is a Good Idea
Unless of course you've got one of Tube's Ethernet connected coordinators
Thats my plan in the future
Wire up POE somewhere in the middle of the house, cut a hole in the wall, and shove it in there
i had to use an extension cord as the rpi interfere so much with it
oh ok
And, as mentioned in the pinned messages, USB 3 is Bad
the 2.4ghz are too close to eachother ?
No, it's a general RF issue
I don't have any wireless near my server area, but I can still use an extender
Or just go and relocate my server to somewhere that makes more sense, like under the stairs
why is this even a thing? i mean, there is shielding, there are wifi usb adapters without trouble, heck does zwave have these issues?
Oh right, was going to put it in a utility closet with my water main
Zigbee uses 2.4GHz right? So it would have the same problem as standard wifi
yes
Need to allocate different channels to avoid interference
adjust your zigbee channels, not your wifi
my zuigbee runs on 11
Yeah either or
This looks like a good option, mountable
as zigbee can do more channels and higher ones than wifi, i‘d leave wifi where it is and up the zb channel
i was about but cba to pair everything over again
yep thats the downside
See the pin about USB 3.0 and Zigbee 
Z-Wave dodges the bullet by being on different frequencies
unfortunately the intel link isn‘t working anymore
I'm thinking of using one of these for under cabinet lights, thoughts? https://www.amazon.com/dp/B07FTD9H7T/
If you're using Zigbee2MQTT, the first check is is it on the supported list
I can check but I doubt it is. Need to add my lights manually too
i bought a sonoff zigbee 3.0 dongle
If you are having an unstable network, or if it fails to form a network at all, make sure that your Zigbee USB stick is not connected to a USB 3.0 port, and that you are also using an extension cable, to keep it far from any possible interference.
Using and extension and USB 2.0 port is also recommended by some vendors, like Dresden: https://phoscon.de/en/conbee2/install#connection
You can read about USB 3.0 interference on 2.4GHz devices here: https://web.archive.org/web/20210428073944/https://www.intel.com/content/www/us/en/products/docs/io/universal-serial-bus/usb3-frequency-interference-paper.html
I found that, which is essentially the same thing that I posted. Only issue I see is this is 007 and the new one is 008
Guessing its possible to port that config to the new device?
Which?
I was also looking at this since I was going to buy the lights on that website anyways: https://www.superlightingled.com/rgbcct-led-controller-zigbee-30fut039z-p-4175.html https://www.zigbee2mqtt.io/devices/FUT039Z.html
Cheers, gives me something to experiment with
I've still got a length of RGB-CCT strip, plus a spare 24V PSU, so ... project time 😄
So I guess the best use case for these is a hardwired power supply with a zigbee wall switch?
does cleverio lights work with zigbee ?
I'm guessing you either use zigbee or this controller? https://www.superlightingled.com/p3-led-smart-panel-controller-for-rgbrgbwrgbcct-led-strip-lights-p-911.html
Is there anything similar to that with zigbee?
I've seen stuff like that on the supported hardware list
I'll just do a standard zigbee switch and do the control in HA like I plan on doing for the overhead lights
Interesting, so it looks like this pairs with the matching rgbww controller
Hi all. I have 3 Aqara humidity sensors connected via a Conbee II stick. The humidity readings on the sensors vary by 2 or 3%, even when the devices are stacked right on top of each other. Is there a recommended way to tweak the device values to be more inline? I have other humidity sensors, so I can figure out which device should be the control.
you could make template sensors which represent your idea of „inline“
not sure about recommended but its possible
Yeah, that's generally what I was finding when searching around, but it felt a little clumsy to have the original devices with 'inaccurate' values still visible in the system. I suppose I could hide the originals once I had the template sensors dialed in to where I want them.
you can also utilize the mean statistics sensor to get a inline value of all and use this value
I wasn't aware of the mean statistics sensor and I don't think it'll solve this issue as I do intend to use these sensors in different places once I get them dialed in. However, the mean statistics sensor seems like a useful tool for averaging the temp/humidity values across my entire house.
Thanks for the suggestion. It sounds like a neat solution for a different problem I was having.
nope shipping stuff now and at most a few days delay.
Oh you exist here too, okay. Well I submitted the form for a POE model if you have one
thanks. you should hear from me in the next few days. truth is I have a limited number of cc2652 modules on hand, but more on their way to me now just a few days out. so should not be long.
No worries, was just going off what the website said. Still excited to get one and set up a nice network
🛁
Just got my shipping confirmation for my tube controller 😁
hi to all, i'm using HA from some years and from a month i started with zigbee. i'm using a zonoff dongle plus and zigbee2mqtt 1.22.1
i added 2 trv and 2 thermostats, but i have some issues:
for trvs, just one exposes battery status
for temperature sensors, recognized model i not exact: i saw TS0201 instead of real WSD500A
ans also for those thermostats, a can't see battery status
how can i handle it?
Can anyone recommend a good outdoor sensor for Canadian climates? Or a solution to monitor outdoor temp
is there a guide that explains how routes are back to the coordinator are determined? does it choose specific routes each time, is it sent to all available routers, etc?
Anyone have a solution like the switchbot that will work with zigbee without an additional hub? https://www.amazon.com/SwitchBot-switch-button-controlled-compatible/dp/B07B7NXV4R/ref=sr_1_54?crid=3LK51EP3NO3A8&keywords=zigbee%2Bphysical%2Bmotor&qid=1641863972&s=hi&sprefix=zigbee%2Bphysical%2Bmotor%2Ctools%2C92&sr=1-54&th=1
or even zwave, tbh
For some reason when I update zigbee2mqtt/configuration.yaml it always seems to revert on restart. What's the recommended way to update device_options?
@blazing tartan third reality has switches you can get that fully cover wall switches. They’re bulky but they work. I don’t know of anything similar to the switch bot ones
Hi guys, the Aqara door/window sensor, should I buy the MCCGQ11LM or MCCGQ14M? Not even sure the difference, what would you recommend?
does your coordinator support the firmware required for it?
If your integration and coordinator supports it
How would I know?
I've a CC2652B slaesh, so I just need to figure out what FW I have running on it then
That you can see in the webui of zigbee2mqtt
Thanks, I'm running 20210120 so looks like I need to read up on how to update, wish me luck haha
It's not hard, and it is well documented
Yeah I've found some documentation here on z2m.io with a link to the latest coordinator fw and flashing instructions so doesn't look too difficult
After December update or so I've had issues with two Ikea Trådfri Range Extenders dropping out. If I replug them they start working again immediately. Ideas? Conbee II and deCONZ.
