#zigbee-archived
1 messages · Page 1 of 1 (latest)
Is it possible to move from zha to zigbee2mqtt without re-pairing all the devices? I don't mind fixing entity names, etc. if the new integration maps them differently, but if I have to put every device in pairing mode again I think that will be enough to stop me...
(39 devices, many behind plates, inside light fixtures, etc.)
What version of HA are you running?
And maybe more specifically, if I disable the zha integration, boot up zigbee2mqtt and point it to the same device (broker is all set), what will happen?
z2m will overright the settings on the coordinator
I'll do a full backup first but if it's something involving the zigbee stick that might not do it.
you can turn on debug logging for zha
and determine the settings
and then use those to define the z2m settings in it's config
There are a few bugs with how Z2M parses/stores network settings so there's a 50/50 chance that Z2M will erase them
and then maybe things will work, but I'm not sure how z2m will deal with knowing what devices there without doing new joins.
puddly knows better
What's prompting the switch? Some Tuya device?
Thanks, super helpful. Any idea if I do a full backup w/zha beforehand and it all goes badly and I restore, will it restore the network too?
HA backups don't include the network info on the stick
What coordinator are you using?
Basically. New device already added to z2m but no quirk yet.
I think I thought zigbee didn't store the network state on the device, but maybe that's wrong. (I know zwave does, for some reason I thought zigbee was different.) I'm using the HUSBZB-1 (ezsp I think).
If it matters, I'm not using the z-wave half that device.
Z2M support for EZSP is experimental last I checked so you'll have to upgrade the HUSBZB-1 to the latest available firmware for it to even work
The device is what got me thinking about it, but then reading a bunch of "zha vs. z2m" threads made me think z2m is more my speed.
Sounds like z2m is a little grittier to deal with, more configurability/transparency, and more bleeding edge devices.
https://github.com/zigpy/zigpy-cli/pull/2 will back up/restore the EZSP radio
Awesome, ty, checking it out now.
So at the very least I should be able to get back to a good state if everything goes south.
I've found who gets support for new devices is 50/50 for non standard. ZHA will always allow standards compliant devices by default. Z2m needs something a little more explicit defined in software
Just to confirm, does this support ezsp? I don't see it mentioned in the docs either way but might be looking in the wrong place. Right now it's timing out trying to talk to the coordinator. (I did shut down HA to free up the device, at least in theory.)
What's the exact command you're running?
Tried a few, but the basic one is python -m zigpy_znp.tools.network_backup /dev/serial/by-id/...
Ah, is this the znp version?
I see a list with deconz and a couple others but maybe not ezsp?
I only linked to the ZNP documentation for step-by-step instructions to set up a Python environment
Yeah, I see now.
The backup/restore tool is the one installed in that linked PR
Is bellows the ezsp one? (Sorry, just muddling through this—there seem to be multiple linked there.)
Yep
It'll install all dependencies, zigpy -vv radio ezsp /dev/serial/by-id/... backup ezsp.json is enough (i.e. just run the big script in the PR, line-by-line)
Awesome, thanks! Backed up successfully.
I just realized HA is still up, but it appeared to work. Any danger in doing the backup while ha is live?
I'll just do it without in case.
If ZHA isn't running then it doesn't matter
The backup would fail if there was any problem
ZHA should still be running if ha is up. (I'm surprised it worked honestly.)
You never disabled ZHA?
But probably makes more sense to disable it fully before backing up, yeah. 🙂
Point taken.
Strange. It should have failed to connect if ZHA was still running but I guess I've never tried it with an EZSP radio 😆
Yeah, I thought I'd get a device locked or something like that.
Zigbee2mqtt
Do I need to back up the addon separately? Or do all the devices get backed up with the full HA backup?
It's backed up as part of the HA backup - every add-on is included
Home Assistant 2022.7.6
Supervisor 2022.07.0
Operating System 8.2
Frontend 20220707.1 - latest
It shows in the details of the removed as a child and also in the visualization: https://ibb.co/9y8cRp6
Would something like this work with HA’s ZigBee integration?
What happens when you try to remove it?
So I got stuck at a surprising spot: I can't seem to get the Zigbee2MQTT addon to talk to the coordinator. I get stuck every time at Zigbee2MQTT:info 2022-07-22 19:55:24: Starting zigbee-herdsman (0.14.40). It's a little hard to tell because HA's UI freaks out a little, but if I don't specify adapter: it times out after 6 seconds and keeps doing that forever. Oddly, if I specify adapter: ezsp it appears to immediately crash at that point.
Any ideas?
Without debug logs it's hard to tell what's wrong. Did you specify a baudrate of 57600?
I did not! I was just messing with baudrate but the docs said 115.2 was the right one for ezsp.
But didn't check for my specific adapter.
Will try.
Simple as that. Thanks! (Did need to specify adapter.)
BTW, the UI state was very weird—it would get in a position where it would tell me the addon was stopped (and could be started) but the log would still be updating with a clearly-running addon.
Sorry, hopefully the last one: unsurprisingly, it doesn't see any zigbee devices. How would you recommend reconnecting the adapter to the system? Are there settings in z2m I should copy over from my backup? I see a few keys, addresses, id's.
(And is there a way to convert the hex key in the ezsp backup to the json array z2m wants?! This feels like it should be easier than writing perl code. ;))
I have a bad feeling about this. I think the backup may have actually failed. :/
I've also experienced this bug when reloading the page. Try to not do that and always navigate to "Addons"->"Z2M" from HA settings and it should load correctly
What makes you say that?
I don't actually know what's supposed to be in it. But if it's supposed to list devices on the network, it doesn't.
If it's just the keys, pan id, etc., then it seems okay.
So far no luck on convincing the addon to use the values I copy over, but I'm flying a little blind.
It's not really interfering, but I was unable to get it to give me the state correctly, even reloading the main addons page and going from there.
Here's a more specific question that might be more answerable: I attempted to put the network key, pan id, and extended pan id in the configuration.yaml file and restart z2m, but in the logs it doesn't look like any of those options actually had an effect. But 1) is this the right approach even remotely; and 2) any idea why that might be?
It won't contain any devices with the radio you're using, that's normal.
Oh phew. 🙂
To be honest I don't even think Z2M cares about the network settings for your radio, it only really does that for TI radios.
Hm. So back to basics for me: I backed up my ezsp, got z2m talking to it, and it sees no nodes; what's my next step?
(And thanks again for all the help! This would have been endless without it.)
I actually think I have those three values in the configuration now, but no effect.
I think you can permit joins to let Z2M think new devices are joining and just let it run for a while. It should pick up routers in an hour. Sensors will be more difficult, since many stop easily responding to commands after they join.
Hm. I have few enough sensors that I can probably power cycle them all to get them to check in.
If I can get things joining.
Okay, permitting joining. Will see if anything shows up.
For future reference, which settings matter in terms of getting the new integration recognizing the existing network?
Hm... no visible activity in logs or device list.
More or less all of the ones Z2M allows you to set. I've never tried a SiLabs radio with Z2M so I really don't know what it's doing settings wise if there's a conflict between what's in its config and what's on the radio.
I do see 2 devices now!
Though both are battery powered, nothing mains showing up yet.
Running Zigbee2MQTT using SONOFF Zigbee 3.0 CC2652P with latest firmware - I had major problems trying to add Philips Hue devices if running the latest (dev). Rolling back to the latest stable version at least let me add devices and my Hue Remote finally started working again too. Light bulb is still slow or unresponsive and throws "no route" errors frequently. Xiaomi devices were able to be added on the dev platform without issue. I rolled back further to 1.25.2 and it still doesn't like the Hue 9290011370 bulb.
Xiaomi devices as in aqara? or mi stuff?
If you're talking about the Z-Stack firmware on the develop branch, I've had no issues with it and Hue bulbs (on any CC2652 coordinator I have -- including the TI Sonoff one) (neither with ZHA nor Z2M)
As of now, 3 sensors and 1 (unsupported, kind of weird) router. One of the sensors connected through that router; maybe connected to why it has shown up? But none of the many nearby standard mains-powered routers I have have appeared. And a few buttons I've triggered also have not appeared. (I have 39 zigbee devices total.) Will see how it is in the morning.
that is so weird, there has to be some old data cluttering something up
As of this morning, still just 4 devices seen. Any thoughts on what I might have done wrong or should test? Thanks!
this falls squarely in between zigbee and diy - anyone use the XIAO BLE nRF522840 to make a zigbee device?
Having to re add all my Zigbee devices. Any major benefits to staying on Zigbee2mqtt or regular Zigbee integration fine?
personal choice
Aqara so far. That’s all working. Hue has been a nightmare. The ZStack firmware works fine. The dev branch for z2mqtt is what I had issues with. Better luck on the stable branch but this hue bulb refuses to behave still.
Good to know. On the dev branch of z2mqtt I couldn’t even get a hue device to pair. Rolling back to latest stable z2mqtt got my hue remote functioning once again but the hue white bulb throws “no route (205)” errors when I send commands to it.
Why do you have to re-add them all?
Not sure what happened on a recent update but restoring my back ups and everything else I tried the Zigbee 2 mqtt interface just isn’t getting my devices back. Ok using one of the Texas Instruments and not sure if firmware updates needed or what.
The new Zwave stick I got has Zigbee on it so didn’t know if I should just swap them to that now. 🤷♂️
Serial Device Path for HUSBZB in VM? I'm migrating from a RPi to VM hosted on Win11. This looks like my final hurdle. I have windows drivers installed and it appears in the VM settings and filter appears set. However when trying to install the Zigbee integration and select the ESZSP radio type the next step requires a serial device path. I'm clueless. Suggestions?
I got stuck there for a bit. Someone probably has the command you can run in a terminal to check it if I remember right @light tapir or I think you can even see it somewhere in the super visor page
TI stick is way better than the dual stick
I started on one of those dual, just wasn't great for range/stability
z2m support is beta
If it's asking you for the serial device path and radio type, it means that the radio wasn't detected
I got it thanks. I remembered the Windows device driver bridged to UART com ports (one for Zigbee and another for ZWave). Once I enabled the serial ports in VirtualBox the integration found it. Currently reinstalling my entities which is something I wanted to do since things had changed so much since I first did them many years ago.
@austere patio I'm now in a place where I can disable the z2m addon (which I think is set to the right keys, join permitted, etc.) and reenable zha, and zha works perfectly, but if I swap back, z2m still doesn't see any devices. (I reinstalled z2m at some point, so a few may repopulate, but it seems like the vast majority are not appearing.) Any thoughts?
If ZHA still works then Z2M didn't overwrite the network settings so there's not much else you can do
Got it. I was considering trying to copy over the tc link key for the coordinator, but I couldn't figure out a way. And my last ditch effort was going to try to force devices: entries for all the devices and see if that wakes them some way.
But otherwise I guess zha it is.
You can try cutting power to your whole house to reboot all the routers
I definitely cut power to a few of them individually with no luck. (Unplugged plug in ones and air gapped the wall switches.)
I am beginning to suspect the TC link key even more. Still learning, but sounds like that's a fixed, known key in z2m (and many other systems) but is configurable and ZHA used a non-standard one.
No, it's always the same key for every system
It's ZigBeeAlliance09. May be represented differently (i.e. as hex, decimal, ASCII) but it's the same key everywhere.
I believe it's configurable in the zigbee standard. (e.g., https://www.silabs.com/documents/public/application-notes/an1233-zigbee-security.pdf). And I found another person who did the reverse (z2m to zha) and zha complained it was using the standard key.
That's the network key
Z2M has a default network key that a lot of people never change. The radio library logs a warning because it's not very secure (since it should be randomly generated).
Yeah, I see that one too (the alternating evens/odds one).
ZHA doesn't change any network settings if a network already exists on the stick. If ZHA starts up and you can control devices, that means Z2M didn't touch the network settings and is just receiving packets, same as ZHA
Yeah, I do also see the default link key in the zha config, so probably it's the same. (Still confused why the standard says the link key can be changed from ZA09 but doesn't look like it matters here.)
Manufacturers can change it to make their devices not interoperable with other systems. It doesn't really happen any more. Some radios have the option to change it so it's backed up in the ZHA network settings.
Just tried the -dev version, same thing. Those few sensors are starting to show up again, but that's it. I tried adding one known good device to the devices: portion then started and it still didn't register it. I think I'm officially out of ideas for now. Thanks again for all the help—got close...
(I wonder what's different about those devices. They're all old/cheap; I wonder if they could all be an older zigbee version?)
same channel?
not all devices will channel hop
not 100% sure if z2m channel is saved to the stick or pushed from the config
it works a little different
dumb question - For flashing the CC2652P SONOFF Zigbee 3.0 USB Dongle Plus, both the coordinator firmware AND the router firmware must be flashed, correct?
no - one or the other
router is a dumb relay
coordinator is the center of the network
Only for CC2652 devices. Z2M doesn't seem to care if it's a Conbee or a EZSP coordinator.
Ah - ok that is what i did (coordinator only) but i keep getting "no router 205" errors on any hue device that I try to add, with the exception of the hue remote, which FINALLY did connect and work.
still having one hell of a time trying to get any hue lightbulbs to pair. Always unsuccessful, and when I repeatedly factory reset the bulbs using the hue remote technique, I can get them to pair, I am able to rename them in Z2MQTT and see the change reflected in Home Assistant too, but I cannot send commads to the bulbs, always fails...very unstable.
Only Hue bulbs? Do other devices work?
How to rename Zigbee entities in ZHA? I'm finding no way to rename entities to something simple that matches my automatons. ie. "light.laundry" instead of "light.laundry_b27cf502_level_on_off" as given on discovery. Is there a way to rename or assign an alias? I certainly can not write automatons with such a stupid long mnemonic.
hey, I can't get my XHS2-UE door sensor to pair with ZHA. (edit: it doesn't even show up, not even in the logs)
Stick: sonoff USB 3.0 somethingoranother
Ideas?
TY, hue was suggested to me for routeing, I'll avoid for now I think.
just click on the entity and then, in the popup that opens, click on the settings icon
they're fine. I don't think the "no route" problem is caused by the Hue bulbs
I found out I needed to do settings icon then also the settings tab.
I'm having trouble with showing the map in the Zigbee2MQTT addon. It is "thinking" for a long time befor I get an error saying "Coannot read property 'stack' of undefined. Does anybody know what could casue this?
@austere patioYes - so far I only have 7 devices total, but all of the Xiaomi devices work great. Binary door sensors, smart buttons, and motion/temp PIRs
correction - I do have one Hue Remote that works. It worked fine a few versions back, then after upgrading to the latest-dev and using that same remote to try and configure my first hue light, it took a dump and would not work at all. After rolling back to the latest stable train, I was able to rejoin it and get it working again. It is fine now, but I did notice that my mqtt trigger commands changed from up_press to up-press which required me to reprogram my automation.
updated Zigbee2MQTT from 1.25.2 to 1.26.0 with no luck. Hue color/white bulb reports as:
Info 2022-07-23 18:29:38MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"interview_started","meta":{"friendly_name":"0x00178801103b3c4c"},"type":"pairing"}'
Error 2022-07-23 18:29:59Failed to interview '0x00178801103b3c4c', device has not successfully been paired
Maybe I'll try switching channels ...didn't want to change too many variables at once, lol - but grasping at straws here.
As a newbie think it pays to pick hardware that plays with HA really well. Aqara is one such and its what I am now buying. Athom esphome seems another that's really easy to setup and get going as a starter. I'll move to "pigs" later...maybe
Is your coordinator plugged into a USB 3.0 port or otherwise next to a source of interference? Where are these bulbs in relation to the sensors that are functional?
@austere patio Slight progress; I noticed in the dumps of my device after z2m, the extended pan id was in reverse byte order from the original. So I flipped that, and now they match. I also turned on herdman debugging (meant to do that before), and I'm getting lots of these: 2022-07-24T04:03:29.838Z zigbee-herdsman:controller:log 'zcl' data is from unknown device with address '59476', skipping... So it's seeing messages from the devices but doesn't recognize them. Any thoughts on how to proceed? I'll leave it running in case it's a time-based thing.
Try permitting joins
Already permitted. 😦
I'm looking for help changing the serial port path of my zigbee coordinator. I set it up under a /dev/cua2 path and now want to move it to a /dev/cuaU1 path. Any idea on how to do this? I really should plan to move to Linux so I can avoid that.
is there something weird going on with the updates???? I have Z2M 1.25.1-1 installed but the current version is 1.26 and HA isnt flagging it for an update.....
What integration are you using?
Zha via the web ui
There's no simple way to do it at the moment. You can either remove and re-add the ZHA integration, or edit the path in /config/.storage/core.config_entries and then restart HA
Would that lead to entities/devices lost/duplicating?
@austere patioI am using a 2ft extension cable for the USB port. It is near the Philips Hue hub too, as I'm migrating - but I've unplugged the Hue bridge and still had issues.
I'm happy to report that I think the distance is the issue tho. It seems that my Hue devices (so far) need to be physically moved very close to the zigbee dongle, or they fail the interview process. This is puzzling, since the Xiaomi devices show up like "BANG!" and they are there. At any rate, I am running the latest-dev again and am able to control my first Hue light using MQTT now. To do this, I had to move the bulb close, reset it, let it finish the interview, test it, then move it back to it's original location and test once more. It's going to be one hell of a long process, but hopefully I won't have to do it again/often.
Not sure how Z2M handles it but the Xiaomi devices show up instantly because there‘s much less to do during the interview (compared to setting up a spec-compliant bulb)
sounds to me like he has interference issues
I have a couple hue devices, no bulbs though
xiaomi will often pair fine and then drop off 3 weeks later if theres interference problems
other devices with longer interviews will have issues showing up
What channel are you using and what 2.4gzh wifi channels are in use around you?
@uneven ruinYou are correct - getting interference, but once a device completes the interview process, all is good. I haven't tried adding any of the upstairs Hue bulbs yet, but will probably look at doing at least one today to test it out.
I'm in a chicken/egg scenario where I am having interference, likely from the Xiaomi Hub and the Hue Hub that I am trying to migrate off of and retire 🙂
no - I did not know about this - thanks!
scanned wifi in the area?
Wifi is on a different channel - 6, I believe
2.4ghz wifi interfers and if you have a bunch of neighbors their stuff can cause havoc if your on the wrong channel
wifi channels and zigbee channels use different numbers for the same frequencies
not too saturated here either, suburb area
wifi channel 6 would sit squarely over the default zha channel i think
depends on your mhz settings too for how wide the frequency band is
I would also personally make sure your xiaomi and hue aren't on the same channels
@uneven ruin this is helpful, thanks! - I've read on signals coexisting and didn't have any issues until now - but given that it is a complete PAIN to change the channel in Z2MQTT, I will do a more comprehensive analysis to ensure I'm using the best one to start with.
I changed channels 70 devices in, so you are ahead of me
I just hacked my first ikea Vindriktning with an ESP8266 and Tasmota. I got it all set up. It is transmitting the data. But only lvia wifi. z2m isn't finding it. I am pretty sure I configured Tasmota for my mqtt. Or at least I checked two tutorials. Maybe I have to turn off the wifi first or it'll just stick with that out of convenience?
I enabled MQTT on Tasmota. I configured the Z2M IP, user and password....But looking at Tasmota logs it doesn't even seem to attempt to connect...
edit: ok, it seems to be connecting to Mosquitto. I can see it in MQTT Explorer. But Z2M isn't finding it....
hi there guys
guys how are you?
https://www.zigbee2mqtt.io/devices/IH012-RT01.html
anyone was able to add this sensor to conbee
Hey guys, can somebody help me? I'm having trouble pairing zigbee devices to my Sonoff Zigbee 3.0 dongle. I've updated the firmware, using an extension chord about 50cm/24" long and using ZHA. Hassio is updated, but ZHA can't seem to find any devices. I'm trying to pair a Sonoff motion sensor and also a zemismart switch
Hi all, hoping I can get some ideas on how to troubleshoot this.
I am new to HASS and ZigBee as a whole and have recently been going all in on this and loving it.
I have installed several of these switches (https://www.newegg.com/p/2YK-03GC-00510?Item=9SIARUCHUR2615) to existing light switches around my house and have had great success getting them working.
The most recent one I tried was in our upstairs bathroom. I installed the switch and paired it in HASS, and then lo and behold, it stopped working. In HASS, the menu that pops up letting you add a name/area switches back to configuring, and the light on the device flashes again to indicate its trying to pair.
Reconfigure Device never works and I have to remove it and re-add it again, only to get the same results each time.
After reconnecting wires, restarting my ZB Bridge, HASS, etc. and still getting the same results, I decided maybe the device was faulty. So, I tried another (I have a few left to install still) and this one is giving the same results: pairs, works for a second, then stops working altogether.
Any ideas what it can be? This switch is only about 8-10ft from my ZB hub, and I have devices working fine several hundred feet away - I don't think it's a signal strength issue.
Using a Sonoff ZBBridge (set up following these steps https://www.digiblur.com/2020/07/how-to-use-sonoff-zigbee-bridge-with.html) and Home Assistant 2022.2.9.
I don't understand z2m uses mqtt as the gateway for zigbee. Your device is connecting to mqtt already
Well, Z2M is for connecting Zigbee devices to your MQTT broker. The ESP isn't a Zigbee device, Z2M doesn't care about it
Z2M will never "find" any non Zigbee device, because it's not supposed to, and isn't able to
oohhhhhh....doh. ok. I was wrongly under the impression that ESP was both. Now I got it. the MQTT configuration is just to have the data neat, in the topics.
The ESP uses MQTT simply because that's easy and pretty universal. Or more accurately, the firmware on it (Tasmota) uses MQTT
yep. silly me conflated zigbee and mqtt there.... 😬
@uneven ruin Bah! - bellows keeps throwing an error when I try to scan...but doesn't actually crash ...how long do I wait before force killing it and starting over?
actually, I wonder if it can't scan because the device is in use...the docs don't say anything about closing everything out - but let me do that once and see - I'll post the error if it happens this run
Yeah, you're going to have to not be using it before you can use it for the scan
I stopped Z2M container and tried running it again - the error is: https://www.toptal.com/developers/hastebin/oqesubuvad.sql
I did not try rebooting and all that - is there a fast/better way to ensure the device is available to use for the scan?
timeout is weird, you'll need to double check that ttyUSB0 is correct
may be USB1
so it may be --device=/dev/ttyUSB1:/dev/ttyUSB0
its been some time since I used this
Hi,
Today I wanted to install Zigbee2MQTT to configure it on a later date.
Now all my ZHA devices stoped working and i get this error:
DeliveryError('Request failed after 5 attempts: <Status.NWK_INVALID_REQUEST: 194>')]
How can I get this working again fast? (I'm sitting in the dark, literally)
@uneven ruinI verified that only TTY0 is listed as "dialout"
Make sure Z2M is stopped
If you have it enabled and trying to use the same stick you're going to have problems, lots of them
@sour shadow - check!
I wasn't responding to you
@sour shadowah - got it ...
did you configure z2m at all? It may be tying up the zigbee coordinator
I was responding to the person I used the Reply link for
@tacit salmon Discord isn't like IRC, you don't have to tag people on every response. Keep in mind that every time you tag somebody, they get a notification ping. That can very quickly become annoying and people may block you.
When using Discord's new Reply feature it defaults to pinging the person you reply to, click @ ON to @ OFF to stop this - on the right side of the compose bar.
You have to change this every time (thank the Discord devs for that).
i've been around the Hass community since Gitter, but admittedly don't use Discord as often - thanks
Those were the days
I have set the usb port. But I already uninstaled it again.
if I had to guess it talked to the stick and setup a new network
if you're going to transistion its not plug an play easy peasy
network ID, channels, stick settings vs software settings
And how do I rolle this back? I didn't expect it to change things bevor I do something in the Z2MQTT fronted.
No way to roll back, unfortunately. Z2M overwrote the randomly generated network settings used by ZHA. Do you happen to have any ZHA debug logs from when the network was working?
Only if there is a way to access them in Homeasistant
If you didn't explicitly enable them then you don't
Maybe Z2M logged the settings before overwriting them? Does it have any log files?
I don't know, were would i need to look for it?
The Z2M documentation sais it backups the configuration.yaml. Is the information saved there?
Z2M makes its own backup, but that's after it overwrites your settings. How are you running Z2M? The addon?
Yes
Would it help rolling back homeassistant to a previous backup?
No, ZHA network settings aren't a part of HA backups. They're just on the stick. I'll see if Z2M may have logged anything.
Update: I installed another switch about 10 feet away from the one giving me issues, and I'm seeing the same problems here. I don't think I would have received 3 bad switches in a row but I had no issues installing others so I am out of ideas.
No luck, Z2M logs nothing 😦
Ok, than I will reconnect everything tomorrow and go to sleep for now.
Thanks for looking into it!
I'm having trouble with showing the map in the Zigbee2MQTT addon. It is "thinking" for a long time befor I get an error saying "Cannot read property 'stack' of undefined.", and no map is showing, only the "Load map" button. Does anybody know what could cause this?
Answer to that one is yes you loose all entities mapping, time to roll to a backup.
did you click on the 'load map
button?
Indeed, several times, same result every time...
Henlo friends, hope you are doing well.
I made some very bad experiences today with zigbee.
It's very strange.. Devices offline in under 1 meter of connection from one router to another.. Very strange... The client got some very strong mesh netwok router in the middle of the house.. I know there can be some issues with the connection.. But I checked the channels everything seams good. Help 😭
Got the same issues here, some wifi in proximity? 🤔
I updated the firmware on the ZB Bridge and everything started working. It was only a one day difference in the firmware build, not sure what the issue was.
are you using dev snapshots or stable?
after one hell of an education in wireless tech channels, completely reconfiguring my Wifi network, and moving to zigbee channel 25, I'm happy to report that my first problem-child, Hue color/white bulb connected/paired/interviewed in like less than 3 seconds after performing a factory reset - i didn't even need to power cycle the bulb!
Hello all, if I'm posting this in the wrong area please let me know! I'm running into issues adding devices in Zigbee2MQTT. I'm putting the IKEA blinds(FYRTUR) in pairing mode and put the device right next to the zigbee stick and nothing shows up in the logs. I've enabled pairing on the Zigbee2MQTT dashboard. In case it matters:
- I'm using a SONOFF Zigbee 3.0 USB Dongle Plus (flashed with CC1352P2_CC2652P_launchpad_coordinator_20220219)
- I don't have a USB extension cord set up yet (is it necessary?)
- My Zigbee stick is near my zwave stick and about 4 feet from my wifi access point.
- Running Supervisor
Any help would be much appreciated!
You will want to dig up that extension cord and get your coordinator away from the wifi - definitely make sure the channels don't overlap if you can't move. I just went thru this. Pairing works best the closer you can get the device to the stick too. Once paired and interview is completed successfully, the device can be moved away
Hello all.
I Have 4 Sengled E21-N1EA and 4 E11-N1EA zigbee bulbs connectde through a raspbee II.
The transition field works smooth and perfect on the E21s but it does not work at all on the E11s, immediately switching color.
The transition still works for both when in color_temp mode however.
This stays the same in zigbee2mqtt and ZHA. I'm not using deconz/phoscon as it does not seem to expose the color_temp to HA.
Does anyone have any insight, or a anywhere for me to pick up more E21s? I can only find more E11s.
Ok thanks power surge, I'll order a USB extension cord to see if that helps any!
I tested this and it was not working, the client got in one spot a HUE bridge and 2 mesh routers, the channels are not overlapping at all. Changed the hue channel also away from the conbee2 channel and still have a lot of interferences. Need too test more things. That's the first time that happens to me.
Made a few test with a end device (door contact) and it's just a difrernece of 1 meter in house.. Is there some tools too check the problem? Like zshark from Dresden? 🤔
hey. so i bought a moes tuya ir universal remote control. through zha, i added it and it detects two entities "identify" and "on_off". i have no idea on how to move forward now though...
I don't think you can use the other functions, can you send more information? Like the clusters etc?
clusters?
this should have like... a learn ability? then after learn i could kind of assign?!
theoretically of course
i am also installing zigbee2mqtt, might have more luck there
changed for zigbee2mqtt and found out the specific device so i am moving there
no idea on how to use zigbee2mqtt but i will get there
need to convert the power outlets for this so i can monitor usage and so on
ok so i can read an IR code but no idea on what to do with it now. zigbee2mqtt has specifically the one ir blaster i have so that is good. just need to figure on how to send stuff from it.
i guess i need to send a mqtt to the specific device with the learnt ir code?!
i am able to send a mqtt message and activate the ir code but how can i set it on a button now? i mean a panel with a button that sends an ir code
Hi! Does anyone uses Aqara Motion sensor via the ZHA integration ?
I tried two sensors, with two different Zigbee sticks on two HA installations, in both cases the sensor is "ready to be used" and show a temperature and lux value but never update ias motion / occupancy info
What sensor?
This one, the mytic https://www.aqara.com/en/human_motion_sensor.html
There are three four that look just like it. Can you upload the device diagnostic info to https://dpaste.org/ ?
they all follow each other and look the same! I thought there were only two of them, mine (RTCGQ11LM) and its little brother, the P1 MS-S02 (and I couldn't find any difference between them)
I'm uploading it right now
I'll remove it, include it again and paste the updated logs
lumi.sensor_motion.aq2 should be plug and play
It doesn't require any configuration from the Zigbee integration (you can't configure it at all)
I read somewhere in the HA forums that some people had issues including new aqara motion sensors sometimes due to batteries, maybe that
Their battery reporting is effectively worthless so I would start with swapping out the battery if it's not behaving properly
The quirk for it is the right one so it should work
Sadly I haven't a replacement battery for now
Do you have another working Aqara motion sensor that you can swap its battery with?
Now the ias info is "Detected" but I don't shout victory too quickly because I deleted and rejoined about 5 times and it has 1/2 chance to stuck on Detected, and half chances to stay on No motion
Nope :/
It will stay in the "detected" state for about two minutes
Okay now it is on No motion state even if I dance in front of it, giving suicide ideas to my cat
How bright is its blue LED? If you click the button, it should blink.
Does anyone have any experience with the Zigbee Smartwings blinds and ZHA? I see they work with zigbee2mqtt but I much prefer ZHA.
Never flash, except 2 then 3 times when I push the button
Also, it switches frequently between No motion and Unavailable state
Do you have any other devices on your network?
I'd try the new battery then. You may have gotten old stock with the original battery from more than a few years ago.
Detection motion inconsistently is what mine do as their batteries run out.
You're possibly right, it's weird, with voltmeter I find 3.15v on the 3v battery
Hello guys, I don't know If you could get me some tips:
I have installed my first zigbee device ever (Sonoff BASICZBR3) as close as my coordinator (SONOFF USB 3.0 Dongle Plus + new firmware installed)
The module is connected to the ceiling light in the bathroom next to the coordinator, the light turns ON normally (Although the status on HA shows it as "off"), when I turn off the module the light starts to flash (sometimes leaving the light ON, sometimes OFF) In any case the status on the dashboard shows thi light as "OFF"
Adding the light to the frontend won't turn the light off, just powers it on
Any ideas?
What integration are you using?
Create a service and a script
Sorry I'm using ZHA
Can you capture a debug log of this happening? https://www.home-assistant.io/integrations/zha/#debug-logging
Sure, I'll do that, thanks
Can I past the logs in here?
paste*
I'd upload it somewhere, like https://dpaste.org/
Can you post way more of the log? Three seconds isn't very much context.
Upload or PM the whole thing if you want
maybe there's not enough signal? (I have pure concrete walls but there are less than 8 meters between the devices)
sure
Decided to go straight to node red using the mqtt out
I get <5m
@austere patio is the king!!, Thanks for helping me out!, My devices are working like charm now!
what was the fix?
Well, I still have to add more zigbee routers (this week) but certainly changing the channel on zha improved the response a lot!
Also I'll get a new usb extension cable (I'm using an old one that I think it's from 2002)
Great news
Can I ask you guys a noob question?, how many zigbee routers can I add into my network (if there's a limit)
For example, I'm going to add like 30 lights and 6 switches, will all communicate directly if they are close? or there's a limit on how many routers can communicate with the coordinator? (let's say 5 will add directly and the rest will mesh up with the routers?)
I don't have reached the limit, I know that some hubs are limited like HUE with 50 objects... Actually I have more than 80 ZHA devices on one Coordinator
Thx 👌
Holy!, and are they all communicating directly with the coordinator?
Many devices re-route to whatever makes the most sense (theoretically)
Some, like the Aqara sensors do not
No. The are routed between objects that's part of the zigbee Standart.. Only a few doesn't
But they all could connect directly if possible right?, I mean, there's no limit of router connections to the coordinator?
Direct connections I mean
It is part of the protocol to not do that as far I understand it, correct me if I am wrong.
So as a best practice I should add the sensor within the same place I'll place it in order to get the best routing possible right?
Definitely
If you don't have routers you're going to be in for a lot of pain
Basically you should pair the end device you want directly in the place you will let it be, that the next router in proximity will bind it
You can always turn on pairing again and re-pair the device (no need to remove it first with Z2M, not sure about the others) to help the Aqara sensors re-route
There's a limit to the number of devices the coordinator can directly communicate with
Great!, and if i add a new router close to my existing ones the network will improve automatically?
50 direct children, 100/200 routes
If you’re starting a new network, do start by pairing the devices which will live closest to the co-ordinator first, especially if you have battery powered sensors in the mix
Maybe, maybe not, see above
Devices should automatically sort themselves out, but not always
Xiaomi probably won't, at least the pre-Zigbee 3.0 stuff
That's definitely a lot more than i need
Power cycling them all of them at once do something?
No
I did say turn on pairing and pair it again 😉
Or, leave them 24 hours and see if they re-route anyway
That's what the architecs want
too archive... But the difrent manufacturers made a lot of changes. In my case I have found great devices until now 👌
Got it
When using Discord's Reply feature it defaults to pinging the person you reply to, which can get frustrating for the target. Use Shift + click on the Reply option, or click @ ON to @ OFF to stop this - on the right side of the compose bar.
You have to change this every time (thank the Discord devs for that).
Thank you all, new here..
I've added my first zigbee device ever today and this week more are comming (some of them closest to the one I have installed already) that's why I was asking this
Should not be a problem
Thank you guys!! this community rocks! you're solving a lot of doubts!
No problem 👍
if its aqara they are really nice to live with. Sonoff are cheaper but a bit more cranky and the battery life seems worse.
Personally ... take the simple approach. If things work don't worry about it
New apartment, so I'm focusing on switches and lights (routers) first, my switches are the snoff DIY and my lights I'm thinking on zemismart (need the GU10 ones)
Definitely sonoff are more broken, made very good expirences with frient and aeotec
Kinda insisting on zemismart because in my country the voltage is 220v
didnt' get any bulbs yet thoug
I see, same here 220v. Got some sonoff also until now 👌
I dont know where you live but I am testing various technologies athom esphome stuff seems good and easy ditto zigbee. localtuya a pain in the ass.
Phoscon Kobold are definitely the best ones
NZ is 240v
I'll have a look, I need those GU10 lightbulbs on almos all my areas
The philips one are great they work on my Coordinator like a charm
Without the hue hub
i am going to order a few GU10 come pay day. I have flashable lights so I have a wled and a esphome athom. I'll see which I prefer and flash them all the same
That's great also athom are great
Philips are very costly here in NZ and ppl have had issues so YMMV as they say
I have an IKEA GU10 in the lamp next to me, it’s pretty nice
no ikea in nz
Tuya is ... universally a pain in the ass, whether Zigbee or WiFi
IKEA great also
It does shades of white, which are all I need
RGB?
Hell yeah philips are not cheap
Imagine in Bolivia! (you know this country exist right?) lol
Yes haha
oh you have electrcity now???? 🤪
I get stuff off aliexpress as NZ is terrible retail
nah... We got a solar panel on my neighborhood recently lol
What about these WLED GU10 RGBCW ? are they "plug n play"? (I mean, no need to flash the firmware?)
Last week I bought some zigbee devices in lidl they are not bad
athom
might depend on the manufacturer, esphome were really easy.
Athom got some tasmota or ESPhome all very simple to integrate
i have a athom esphome running and their wled just arrived 27w ES, not set it up yet doing other stuff. Athom is flashable
https://www.aliexpress.com/item/1005003232376712.html I have not got a tasmota version yet but i will for my test bed.
i got a pile (7) of their plugs and they work really well. https://www.aliexpress.com/item/1005003103815410.html
All good 😏
@austere patio Taking out the battery did the trick, now the sensor is reporting correctly the moves (not the temperature but for sure I will not touch anything for a while)
Thanks for your help!
It will report the chip temperature about once per hour. It's not very useful as a temperature sensor, but you can usually tell when the sun is shining on it or if it's freezing.
Thanks I made a good expirence talking to you about my issues 😋 👍
Guys any idea on why my device LQI is "unknown"?
It kinda works but doesn't change states, and when I toggle the device it flashes several times (Switch connected to a light) until it stays on the correct state
sounds like bad connection
Nevermind... My extension cable is bad, also... I have thick concrete walls :/
when plugging the coordinator closest with another cable everything went fine
great
leave it 24hours, it sems to pick up sometime later
Hi guys, I've been playing around with HomeAssistant for a few weeks and I've run into some problems I'd appreciate some community support with, if I may.
Don't ask to ask, just ask your question. Then people can answer when they're around.
When you do ask a question, try to provide as much background detail as possible. Ask yourself these questions first so that others don't have to:
- What version of the Home Assistant are you running? (remember, last isn't a version)
- What exactly are you trying to do that won't work?
- Is the problem uniform or erratic?
- What's the exact error message?
- When did it arise?
- What exactly don't you "get"?
- Can you share sample code, ideally with line errors where the error occurs?
I am running HAOS on a dedicated x64 machine (elitedesk) and a few months ago I hastily bought 20+ RGB bulbs and outlets at what I thought was a great price. They are Deltaco brand devices I later learned were Tuya Wi-Fi based.
I did the convoluted Tuya developer method to get the keys and installed tuya.local to control them, and to be fair, from a wired connection they work pretty well. No perceptible delay in commands, full RGB control (after manually inputting parameters). But my Wi-Fi network has been unstable and I've gotten permission to return them for a refund.
Assuming that my Merlin-flashed Asus router isn't to blame and I just can't have this many Wi-Fi devices in a space this small, I'm trying to replace them with devices that don't interfere with Wi-Fi (or need to call home constantly, whatever is killing my Wi-Fi).
How do I make sure ZigBee replacements will operate at channel 0 / outside the Wi-Fi spectrum? Is there are good source for budget devices available to the Northern European region? I don't mind shipping from China if e.g. Aliexpress has something compatible to my needs and compatible to my wallet.
Thanks a bunch in advance.
There's no Zigbee channel zero
See the pins for how Zigbee channels and WiFi channels relate to each other
In my research, I am seeing channel 0 is used in the European region at 868Mhz. Multiple online sources verify this claim, or I'm reading it wrong. Are you positive?
Almost no Zigbee devices support the sub-GHz (ISM) bands
Oh 😦
So yes, I'm "positive" 
If you want stuff in the sub-GHz bands you want #zwave-archived
I think z-wave availability, pricing, and lack of RGB prohibit me from the switch. I've only spent a day looking into it as an option, but I spent 10-15 USD per device for this Wi-Fi setup, and I don't think I can swing more than double that. Plus, I'd really like RGB in some rooms.
I understand Zigbee uses hubs, rather than each device connecting to the router, is that correct? I believe this could already solve my problem, but if I can set the hub and my router to different channels it should be enough if there isn't sub-second polling from each device.
Well, yes, but no
It uses a Zigbee coordinator, and Zigbee routers
It doesn't use WiFi at all - it's just the frequencies that overlap

Zigbee channels and wifi Channels normally don't overlap.. If I remember correctly the wifi channel 11 is the zigbee channel 15 🤔 correct me if I am wrong
Well, they overlap - but the numbering is different
Exactly
So, they do overlap 😉
Just because one says chocolate and the other banana doesn't mean they're not talking about the same thing
What I mean if the coordinator is 11 and wifi 11 they don't overlap.. Thats what I mean
😅
Thankfully there's a pinned message with a diagram that explains it
Exactly
(Zigbee channel 11 would be a bad idea though)
Sorry, the first time you suggested the pins I thought you were referring to a pin-out, I mistook that for Zigbee-Wi-Fi channel conversion.
I encounter a lot of people that makes confusion on that topic that's why I just mention it
Once I return these Tuya devices, I'll have very few which rely on 2.4GHz left. I assume properly setting the hub and router transmission bands will resolve any potential conflict, based on the second to last pinned message.
Can I find Zigbee devices in that same price range which offer RGB?
If you have a local Ikea, easy enough
Really!?
Ikea Tradfri range is Zigbee
Then there's a massive range of stuff on AliExpress, just avoid anything that mentions Tuya or Smart Life
I like IKEA's stuff, their plugs are a little large, but I can live with that for the cost
As someone with no dependencies on existing hardware (the only thing I plan to continue to use is the Elitedesk for the HAOS) is this (ZigBee) the recommended way forward for me to get into the smart home?
Ikea is a very good choice in the price range
Zigbee, if you're a little sensible and don't rush to buy stuff without researching, is a great option
It's 100% local, no cloud crap
It's also pretty affordable ( #zwave-archived is also great, but tends to be pricier), and in my experience, stuff just works
I've definitely been exceptionally lucky with the things I bought without doing much research though.
Keeping my home data off the grid is indeed one of my requirements, hence my ordeal setting up tuya.local before manifesting my Wi-Fi problems.
If you stay away from Tuya, and a lot of Sonoff, then you should be fine
Xiaomi is cheap and solid, but has (well known and easy to deal with) quirks
Should I be asking suggestions on which hub to buy before going off half-cocked?
There are three Zigbee options with Home Assistant (regardless of how you install it). These are:
zha is actively developed as part of Home Assistant Core, using the zigpy stack, the UI also being part of Home Assistant. The EmberZNet based sticks are recommended (though the HUSBZB-1 uses an older chipset), but there are other options including the CC2652 based sticks. There is no list of supported devices, as any standards compliant device should work. Devices that require extra support are listed, and adding unsupported devices is documented.
Zigbee2MQTT is very actively developed and can run in an add-on, in a Docker container, and natively. As of 1.15 has a native UI, and it also uses MQTT for control and configuration. It supports mostly TI based sticks, with the recommended option being the [CC2652 based sticks](#zigbee-archived message). If you want to use an EmberZNet stick see this issue. The known working devices are well documented (which usually includes how to pair them so you don't have to find the manual), and adding unsupported devices is also documented.
deCONZ is relatively stable and mature with its own UI (and Discord server). It can run in an add-on, in a Docker container, or natively. Only the ConBee range of sticks and RaspBee GPIO boards are supported. Known working devices are documented, and how to request support for a new device is documented too (you can't add unsupported devices yourself).
So the stick is not a hub
HA is your "hub"
ah
The stick is "just" the radio
I can select the channel the stick, and therefore its children, will operate at though?
Yes, through the software you pick - ZHA or Z2M
Excellent
The sane choices are usually 15, 20, or 25 (and maybe 26)
That's preferable to using my router as the radio, then
Well, you can't really use the router anyway, so ...
The conbee2 is actually my favorite choice, very good zigbee (stick)

Assuming you ignore the fact that it's the most sensitive to RF interference
And firmware updating it can be harder than other options
woah, that's pricy. There isn't an ikea alternative to that, too, right?
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.
You can get CC2652 based sticks for peanuts
Never had problems with the update or firmware of the conbee
But yes very sensitive to rf interferences
I was planning on putting the elitedesk right next to the router once configuration was done. So interference will be as high as it can be, I suspect
(both centrally located in my small home)
And that's (partly) why the pinned messages tell you to put it on a USB extension cable
Since I have no experience with these sticks, how far is far enough away? I've got a 5M USB3.0 active cable around here somewhere, and some 2M 2.0 extensions
2M is enough
Cool, that won't ruin the aesthetics of my entryway then. Thanks for all the advice folks, I'll take some time to digest all this and the pinned messages, and take a stab at finding some good deals on mood lighting.
@sour shadow thanks for helping out
To clarify, if it says Zigbee AND Tuya, I can't use them? Everything Zigbee I'm seeing says Tuya as well (on Aliexpress)
Well, if it says both you can, maybe
Tuya however is an over-arching name used by many companies, and that Tuya MGE-01 could be a switch according to one vendor, and another could make a flood sensor with that model number, and so on
Oh, and they tend to play very loose with the Zigbee specs, so getting things to work can be hard
Ah I see
If you're happy to throw money away, buy Tuya
Xiaomi is almost certainly a better choice
I'll maintain a discerning eye and continue looking then, thanks
What experience do folks have with replacing the Hue hub with Zigbee2MQTT? Thus far, I've migrated Aqara and IKEA over, plus all the new devices I've purchased (so many! 😂 ), but I've yet to migrate over the Hue stuff because it has always just worked—which could be a good sign to leave it alone, or I could save myself an ethernet and USB port and ditch my last remaining hub
I ditched my Hue hub for Z2M, but that's partly because when I did the firmware update on it it bricked itself
That is fair. I don't think there's a good reason to keep my Hue hub, but I don't yet have a reason to ditch it. Aside from one remote which I discovered last night is no longer paired with the lights in the room
I'm torn, it works so I should leave it alone, but I also love to optimise, and adding more routers seems smart.
Is there a generally recommended/optimal length for USB extension cables when connecting Zigbee sticks to host chassis? I saw somewhere even 50 mm was sufficient, but can't find that again. I've got some 3 ft extensions on order and hoping those are sufficient for my new install.
"Enough"
Half the purpose is to move it away from the RF noise of the computer
The other half is to move it away from all the metal in the case, which is a great signal blocker
Personally I recommend long enough to put the stick above head height
Totally fair. My equipment hub is in a bit of an RF dead zone to begin with so I am prepared for challenges.
Hint ||RF waves are blocked by water, and people are mostly bags of water||
"Ugly bags of mostly water." 🚀
I saw a meaningful increase in LQI simply by moving the stick up half a meter, and the signals were generally more stable too
Nice. I've got more 3 ft extensions coming than I strictly need, so I can try daisy chaining different lengths to see if that makes a difference. Thanks for the advice!
I have a cable running from under a desk top (there's a large space there where a network switch and some devices live), around another set of drawers, and up the wall. My Zigbee dongle happens to fit perfectly on my doorframe, so that's where it lives.
Sadly it's black, but the extension cable (I think it's 2m? Maybe 3m?) is white though which makes it stand out a bit less. I should look for a longer one and run it neatly.
On my way to get a new extension cable after my doctors apointment, any Usb extender is ok?
2.0?
When it comes to the Zigbee devices, does it matter their orientation? I have a Conbee II attached to a USB extension lead, it's currently on it's side, it gives strong signal to upstairs, the length of the house is questionable though
I mean, yes, but if it works, it works
I've been on this journey for a few months now - not that it's really complicated, just same boat as you, it's always worked and so I don't want to downgrade by trying to be clever. I am moving it room by room, testing for a bit and clearing up the Hue groups etc. as I find things work. I've been doing a bit of testing with the hue hub off and with some new Zigbee extenders I got this week so I can bring across the last few things.
Initially some rooms couldn't get a good enough signal and they were a bit unreliable so I'd flip them back to the Hue Hub, I think with the extenders it's all good, though I have limited testing time so it's slow progress. I've been happy with Hue + HA and my main motivation is really just reducing the number of networks here because with neighbors, it seems it's a bit busy.
I don't think I'm committed to Z2Mqtt for lights just yet. Mainly because there are lots of things that have to work together, and the nice thing about Hue is it's dependable right from the factory, where as HA obviously needs lots of updates etc. etc. and the last thing anyone needs is to have trouble turning the lights off at night
I have plenty of extenders, I just started by migrating over the things that were dodgy/not working, and/or I needed better control of them through HA first
Henlo friends, got a question, does anyone have any issues changing cluster values? Like I want to calibrate the curtin Modul but the 10 sec factory value Stil the same.. I can change it on deconz but not in HA
I think I will do it, just maybe not tonight or I won't have time to finish editing my book and my editor might kill me 😂
Hi everybody
it's about replacing my coordinators. From USB ZIGATE V1 to PIZIGATE v2
ZIgate ask , after have say to add ENABLE_UART=1 and to have deleted onsole=serial0,115200, to type some commands lines
cd /tmp
wget https://project-downloads.drogon.net/wiringpi-latest.deb
sudo dpkg -i wiringpi-latest.deb
these
but, when i try in the TERMINAL in HAOS, the last line is not accepted
https://gyazo.com/933fabc3ddb28b7081d4e0f82e0e37a8 in this terminal.
and i cant use PUTTY for SSH. https://gyazo.com/f8389b31f038705c0b4ad9b11332e07b i meet a problem.
Use the Community SSH add-on. The official one is not going to drop you into a normal shell. You can then run docker exec -it homeassistant /bin/bash to get into the HA container.
Why stay with the ZiGate?
Hey, my two smart plugs from BlitzWolf stopped working a few days ago (no longer reporting energy, it stays static no matter what) I read on zigbee2mqtt.io that:
"In 2022, BlitzWolf started to sell BW-SHP13 that identify as _TZ3000_amdymr7l. Those devices report power, current and voltage unreliably: Changes in any of those metrics sometimes take a few minutes before being reported and constant loads are reported as 0 for a few minutes just to return to their expected values a few minutes later. There is no know workaround for that behaviour.
Is there nothing I can do to make them work again? They worked just fine for like 2-3 weeks but now they just dont
Hi all, I'm using a couple Aqara mini switches throughout my house. Running ZHA with a HUSBZB-1 stick, running 6 sensors/buttons alongside a Hue setup (4 Hue devices on their own hub)
Pretty often, my buttons are unresponsive. It seems to "wake up" and work after another press 30s later. Does anyone know if these Aqara buttons have a sleep mode of some sort, or perhaps it's an issue with the services that are being triggered by a press?
Do you have any (Zigbee) routers in that mesh?
I don't. I've got a Tradfri outlet/repeater on order. My devices are within 40 ft/2 walls of the HUSBZB stick, but ZHA shows they're each connected directly to the stick (not to each other)
It's quite possibly because of the lack of routers, with the coordinator "forgetting" that they're directly connected
Ah, just found your message from a few weeks back: #zigbee-archived message
So a router that's properly integrated in the mesh will keep everyone "aware"?
I can consider a couple of zigbee bulbs too to help build out the network
Basically, if everything is following the standards there's no problem, but almost nothing does. That leads to things like https://www.zigbee2mqtt.io/guide/faq/#why-are-some-links-missing-from-my-networkmap, and if there's no routers it can mean that the device is trying to talk to the coordinator, which "forgot" that the device was directly connected and assumes that it must be connecting via a router now. Then of course the device has to re-negotiate the connection.
That said, it's also possible that the device is in deep sleep and isn't reporting the button press... I have one Xiaomi wall "switch" (remote) that's like that, if it's been too long since you last used it then there's a good chance the first press isn't reported.
Yeah, is there a definitive way to tell if a device is in a deep sleep? I know that might be a dumb question. If I notice an issue, then that means I've pressed the button (which will wake it up) and I can't do any investigation 😄
Once the tradfri outlet comes I might get some better results
I could also switch all my Hue stuff over to pure Zigbee and remove that hub, to help with the mesh
Try updating the firmware on your HUSBZB-1 (https://github.com/walthowd/husbzb-firmware)
I saw that in the pins, I could try it. The stick is pretty old at this point (4 years?)
Hey people, I want to move over from deconz to zha. What would be the absolute best option for me to use as zigbee router? Right now i use the deconz 2 stick but i gathered that wasn't ideal for zha.
Ideally I just buy another plug and play stick if that's around. I started out with cc2531 which i flashed myself but after being through multiple diy sticks i found that most of them turn out to be unreliable after some time
the deconz stick has been far to superior to any i've tried
You can continue using the Conbee if it works, it just requires special treatment (i.e. a USB 2.0 extension cable and placement as far away as possible from 2.4GHz interference sources such as routers and SSDs)
If you want to upgrade to something else, get a CC2652 coordinator
Yeah i've got the extension cable
Well the thing is, i kind of want to migrate it to another coordinator whilst keeping the old network alive
If i migrate now straight up i need to delete my entire network as far as i can see
You can migrate in one step without having to re-join any devices
Either follow the instructions here to do it command line (https://github.com/zigpy/zigpy-cli/pull/2#Instructions) or wait for a HA beta in a few days and you can do it by clicking buttons
Oh shoot i forgot to add one disclaimer
I will also be moving it from my HA host to a synology NAS
I guess that'll complicate things
But regarding you link, i'm gonna take a look
Doesn't really make a difference as long as you map the serial port across correctly
Dear god
Oh wait
That's for a radio transfer right
Nvm. I guess it also works for Deconz -> ZHA with the same radio
Ah, I misread your question
This is for swapping the network information from one radio to another
Migrating to ZHA without having to re-join devices isn't going to work, ZHA needs to talk to all the devices on your network to figure out what to do with them
Ahh i was hoping you'd have a secret way
Do you have mostly bulbs?
You may have to rejoin the sensors to get them to be picked up. The bulbs you can "re-join" by shutting off power for a couple of seconds and turning them back on.
I've been putting the project off because if i mess it up i'll piss off the missus so i just thought why not migrate from one live coordinator to another
In that case you may have better luck moving one device at a time or something
Yeah, it's not that the repairing process is hard, it's just... tedious
Are there any upsides to a CC2652 in comparison to a conbee?
Better supported by ZHA. Fewer inexplicable "my network doesn't work" issues.
I'll go with a CC2652. if it doesn't work out, i can use your nice link to transfer back to my conbee 😉
Is the CC2652 considered top of the list at this moment?
The Conbee works fine for some people but for some it doesn't. If you're buying a new device and have a choice, the CC2652 is cheaper and better supported so IMO a superior option.
Yeah conbee was nice for me 2 years ago coming from cc2531 or something on z2m. The UI was clean, polished and easy to use
Now it's a limiting factor and actually very annoying lol
Oh snap they actually have poe sticks
Anyway cheers puddly!
@molten linden In your experience, how long would it take for a CC2652 with POE to arrive to the Netherlands?
let me take a look at some past orders.
Also damn you. The CC2652 is hailed everywhere because of it's compatibility and price. The PoE one you produce has so many advantages for me I can't not buy it.
Most recent delivered one (not UPS $$) was shipped July 5, and arrived July 21. (per tracking).
July 1 -> July 14... so looking 2- 3 weeks
^ another recent one.
I'm just gonna go for it. Just to confirm: I can power it via PoE and access it per IP?
yes - IEEE 802.3-Compliant PoE Switch or Injector only (at least 37v DC Required)
(Passive won't work)
Serial over IP. in ZHA it's accessed via socket://ip:6638
Great! Now I just gotta check my UniFi Switch lol
I think Unifi is okay, (I should know I have one but it's powering APs and Cameras)
one customer had issues with an edge switch
I've got the rather basic 8 port with 4x PoE at 802.3af
yeah should be good.
Thanks for your time, I just ordered one! I appreciate your work, it looks amazing.
No worries. I gotta figure out how to expose the serial over IP thing anyway hehe
If you're going that route, it should be plug and play with HA's autodetection. No need to set anything up.
I just realized my plan is flawed. It had 2 goals: Move away from Deconz, and keep Zigbee network working even when HA goes offline for some reason. Unless i wanna bind all my devices, ZHA does not work in that case
So the plan now is to use Tubes coordinator, run z2m on my synology in docker
I didn't realize Z2M made so much improvements since i last used it
The GUI is something i didn't know that existed
I'm having trouble flashing updated firmware on my HUSBZB-1. Using the docker image provided at the Github (https://github.com/walthowd/husbzb-firmware) ./ncp.py scan works, but ./ncp.py flash -p /dev/ttyUSB1 -f ncp-uart-sw-6.7.8.ebl results in
Restarting NCP into Bootloader mode...
CEL stick
EM3581 Serial Bootloader v5.4.1.0 b962
Successfully restarted into bootloader mode! Starting upload of NCP image...
ERROR:xmodem.XMODEM:send error: expected ACK; got b'\x15' for block 1
Anyone know what's up?
Are you running the Docker container on your HA machine or somewhere else?
The docker container is running on my HA machine (ubuntu box)
Did you disable ZHA?
I've stopped home assistant/the rest of my docker-compose stack entirely
And this happens every time you try it? Have you tried unplugging the stick?
I have unplugged the stick 2x now to restart the stick. Let me try an Ubuntu reboot real quick
I don't think that would make a difference. Let me try my HUSBZB-1 with this, I believe the instructions are accurate.
Worked for me. Are you 100% sure /dev/ttyUSB1 is your Zigbee radio? The HUSBZB-1 exposes two serial ports.
frankly no I'm not 100%, but ncp.py scan outputs
Connecting to.. /dev/ttyUSB1 57600 True False
{"ports": [{"port": "/dev/ttyUSB1", "vid": "10C4", "pid": "8A2A", "deviceType": "zigbee", "stackVersion": "5.4.1-194"}]}```
That looks right. I would try it on another system, the script is cross-platform and just requires the xmodem and pyserial Python packages
Cool, after some haggling (and your python3 PR) this worked (macOS monterey 12.4) python3 ncp.py flash -p /dev/cu.GoControl_zigbee? -f ncp-uart-sw-6.7.8.ebl
I was then able to reboot Home Assistant and my mesh was happy. 🤞 that I have some improved performance on these switches. Adding some mains-powered devices probably will help build the mesh as well.
Guys quick question, how to interpret LQI ? for example a device reads LQI=3 is there an acceptable range?
It varies depending on the device.
So the IKEA Vind... something sensor measures pmi 2.5 (I think?), and that outputs some very different numbers to something measuring pmi 5. But, it has a document telling you what levels are good/ok/bad.
And how accurate that device is.
I'm running HA inside a VM with no easy way to passthrough USB device. Are there good Ethernet based device that I can use, or something that I can build by myself?
have a look at this: https://www.tubeszb.com/shop/2
or search the channel for ser2net or socat (the messages you want are likely older at this point) (and/or see this: https://www.zigbee2mqtt.io/advanced/remote-adapter/connect_to_a_remote_adapter.html#_1-install-ser2net)
Ohh nice.
Thanks. I got tons of old RPis lying around.
Maybe that will be a good usage.
An LQI of nearly zero between the only two devices on your network is pretty bad. There's no objective scale, it's just 0-255 with it being "better" to have a higher LQI.
I completely misread LQI earlier, my brain substituted PMI 🤦
Damm concrete walls, hopefully frost will be better with new devices
It happens 🤭 no problem
You can tell I've been having fun with ESPHome at least 😛
i have a zigbee power monitor outlet. before, i had it through zha and i could monitor it on the energy panel, data was coming but now that i changed to zigbee2mqtt it seems data isnt coming and i cant really setup the wattage and whatever on the panels for example. on the dashboard, on the outlet monitoring, the data is there. how can i pass it to the sensor or something?
also availability on the devices is "Disabled"...
"exposes" panel for the power outlet states everything but i dont have a sensor for it on the home assistant side
changed the configuration to the mqtt, username, password, server ip... it seems to have worked
Hi all! I have a strange issue with two identical Parkside Irrigation Zigbee Smart Valves, which come up in HA as zhaquirks.tuya.ts0601_valve.ParksidePSBZS
One comes with the attribute timer_duration (and the related Entity) and it can be used as intended, whereas the other one misses that attribute/Entity.
Any idea how to fix this?
Zigbee device signature is the same for both, but - naturally - diffs can be found in the respective areas of the diagnostic information
A device with a quirk utilized will show a "quirked" signature. looking at the diagnostic info may be better. maybe they are different firmware versions. I'd recommend opening an issue on the zha quirks repo - that will get the folks who really understand the tuya stuff to see it as they are not on here as far as I know
had a look at that github repo. do you have a deep link for it?
great. thank you!
Hello there people, I'm having an issue here, you see I have Zigbee2MQTT running on a Raspberry Pi, but it is connecting to the MQTT broken in my main server where Hass is hosted and connected to this same broker using the MQTT Integration (not ZHA).
It works well overall, I did this because I needed to have my Zigbee Dongle to be better positioned to get better signal.
But there is a caveat, if I need to restart HASS for whatever reason, all my zigbee devices becomes unavailable until I restart Zigbee2mqtt.
It seems that Zigbee2mqtt publishes something upon its startup that makes hass happy. Anyone knows how to get around this?
Guys, on the Network visualization there are some numbers on the lines that connects the devices.
For example between my coordinator and a device there'se a line that reads 1/12 what does that mean?
Two options:
- Make sure HA is configured to publish the birth/will messages, and that both HA and Z2M's birth/will messages are retained
- Just retain everything from Z2M

That's the LQI, link quality indicator, a scale of 0 (dead) to 255 (perfect, or possibly dead)
being 1/12 LQI=0.08333 ?
Well, no, that's two values
1, and 12
One is the link to the device, the other the link from the device
Both numbers are pretty damn low
again... "Damm concrete walls"
So from de coordinator to the device is 1 and from the device to the coordinator is 12 ?
Well, this is my first zigbee... hopefully I'm adding more tomorrow
definitely one in between those
it's working pretty good though
TBH I'm not sure which way around it is
You know what they say "If it's working don't try to fix it" 😛
Neither number is zero, just, and both are low enough that it's probably not important which is which 😄
I started as WIFI then added zwave device using zwaze2mqtt and now I'm thinking to start add zigbee device, is this an error ? too many wireless tech and will run into problem ?
It'll be fine as long as you keep your Zigbee and WiFi apart, and otherwise follow the guidance in the pinned messages
Is the ZHA visualization screen always up-to-date? I'm switching Hue bulbs over to ZHA and they're responding correctly, appearing on the visualization, but not showing linked in the mesh at all
Good choice, but buy from AliExpress and it'll be cheaper
Old message, but found via search. Did you ever get resolution to this? Having the same issues and also configuring the sensitivity causes errors
You have to press the button on the sensor and then change the sensitivity
It scans at an interval. I don’t recall the timing off the top of my head
Henlo friends asking again: 🙏, got a question, does anyone have any issues changing cluster values? Like I want to calibrate the curtin Modul but the 10 sec factory value Stil the same.. I can change it on deconz but not in HA
I want to change the atribute value, in deconz it's just a click but in HA it seams that the value Still the same.. Does anyone made the same experience?
If it's a sensor, make sure it's awake
If I wake up the device and ask the atribute value I got a answer. And in the case of curtain Moduls they are routers.. So in my case non of them save the values in HA
But in deconz it works like a Cham, I don't want to change the value in deconz. I like HA and I think this should work in HA to. Its just a question of user experience
Enable https://www.home-assistant.io/integrations/zha/#debug-logging and upload the log from that time period
I’m guessing it’s an end device?
When you click the write attribute button make sure to press a button on the device to wake it up
I see, so another question why does it work on deconz? 🤔
And in the case of a router? 🤔
If it’s a mains powered device it should always be listening
For a sleepy device it needs to be woken up
deconz may cache messages until devices check in but that’s a guess
So I will test it, but in the case of a router it doesn't work for me on HA
I will debug and report back
Got another question is it possible that the value is read only? 🤔 And if yes is there a possibility to counter that
Yes and no
Okay i see, very interesting
Is Zigbee mesh network self administering? I just picked up my first Zigbee devices (1 sonoff and 3 Aqara temp monitors) with the thought that the furthest away devices could piggyback on the devices closer to the hub. I'm not sure how to confirm that the mesh is forming and if the low LQI reading I'm getting are taking advantage of the mesh or not. Running Zigbee2MQTT here.
Only devices that don't run off of batteries can relay signals. If you have just sensors, the only device they can communicate with is your coordinator stick.
Ooooh. Well, I feel silly now.
If I want/need a relay, one option would be a powered ESPhome style device then, right?
Well, not if that's a WiFi device
You need a powered Zigbee device, that's joined to the mesh
I was thinking of something with another Zigbee stick attached to it, but maybe a Hue or some other bulb is a simpler approach.
Any CC2652 stick with router firmware plugged into a USB charger, or any Zigbee plug, etc etc
A plug may be a good compromise for utility and router.
I'd probably look for a Sonoff or something along those lines, unless people have particular favorite recommendations?
thanks! will check that
I'm having woes pairing a Aqara Mini Switch to my husbzb-1 running ZHA. Anyone have a trick that I don't? it's blinking continuously, I'm pressing the reset button every 1-2 seconds, still not found (I'm right next to a router)
Turn off pairing, pop out the battery on the device for 10 seconds. Then turn on pairing, pop the battery back in, and press and hold the button until the blue light flashes.
No dice there really
How old is the battery?
Brand new. I just swapped them out on my Aqara temp sensors but this is a new switch/replaced battery
sylvania plugs are awesome routers (minus links for aquara)
has that router been good with other aquara in the past?
aquara can be a little finicky in the router department
there added that to my recomendation for sylvania
almost 100% of my aquara products route through my Jasco zigbee outlets
There is another aqara mini switch connected to it, yeah. It's a hue color bulb
though my mesh is looking a little bad atm https://i.imgur.com/tz3YDJR.png
I assume it's a bad thing if my links are yellow or red, haha. I've been trying to use a wifi channel analyzer but I'm not having much luck (or with the bellows scanner, for some reason I can never get my zigbee stick to play well with it)
Hello, I need some help with a new zigbee TRV, through ZHA. I've paired it and it seems to be working correctly, except for the fact that the reported temperature is really off from the actual one. Is there any way to either find out why it's giving out a bad reading, or to at least add an offset to it?
Order placed for a Sylvania plug. Thanks! 🙂
not the best looking mesh. whats up with the wifi analyzer?
Try out https://github.com/zigpy/zigpy-cli. zigpy radio ezsp /dev/... energy-scan
Thanks! For some reason one of the P1's was successfully able to update. I'll try the other 2. Been comparing the P1 to the last gen
Just started messing with zigbee today and I'm a little disappointed with the range. Hue bulb needs to be within a few feet to be green in the topology graph. Would wifi be the most likely culprit here?
Don't worry about the graph, the colors don't mean much
Not getting good connections in other rooms either, I guess I need to start placing some repeaters around the place until I have more devices.
My old zwave network didn't really become reliable until I did the same.
So you’re using hue bulbs as routers and it’s slow to respond after a couple hops?
I’m planning to move off hue hub and hoped to not need dedicated routers but instead use bulbs
I was using the pinned scan commands, and getting python exceptions. tomorrow I can post the trace
I have 4 mains-powered outlets/routers so my mesh is the best it can be for now 😄 previously it was only the coordinator and 4 aqara battery-powered devices, since switching my Hue lights to raw Zigbee, the devices have functioned better
No, I have some hue bulbs, but I am trying to use THIRDREALITY Zigbee plugs to extend the range, but I'm not getting very far.
My ZHA is acting up recently in all sorts of ways
The other day every device said unavailable. I reboot HA it works
Today it doesn't say unavailable, but no zigbee device works
What coordinator are you using?
ZHA
I see this in the log, I don't know if it is related
Logger: zigpy.application
Source: /usr/local/lib/python3.10/site-packages/zigpy/application.py:85
ZHA is the integration. What USB stick?
First occurred: 12:23:16 AM (1 occurrences)
Last logged: 12:23:16 AM
Couldn't start application
SONOFF ZBBridge Smart Zigbee Bridge
Over WiFi?
No
The Sonoff bridge when flashed with Tasmota communicates with ZHA over WiFi last I checked. It's extremely buggy and error-prone so it's not surprising you are having issues with that setup. Did its IP address change? Can you enable ZHA debug logging (https://www.home-assistant.io/integrations/zha/#debug-logging) and upload/PM me your /config/home-assistant.log file?
Sure but this was working quite a while reliably. Blaming the device sounds like a cop out for a poor implementation.
Do you really need homeassistant.core: debug that will make crazy messy hard to read log I think
All of it
Watch now I restart HA to apply that config change and it wprobably works
I want to say this started about 3 updates ago. Maybe it lost the connection and doesn't know it needs to re-connect, but I doubt even that
Now I just get Unable to connect to Home Assistant.
It's a very common complaint of Sonoff ZBBridge users. If your WiFi environment changes, the extremely timing-sensitive EZSP protocol ZHA uses to communicate with the bridge's Zigbee chip triggers nonstop resets. ZHA will try to reconnect, but your network will be unresponsive for 30s each time, over and over.
It's back and of course it works
Yea that's not the issue. It drops fully and I don't see anywhere anything that says there is a reset or reconnect
Can't tell without the log files. If it breaks again, post a link to them.
Ok sure, but the default log won't show such a major issue?
If you have one from the period when it was broken, it might
The only error was the one I posted above
HA should keep around the previous home-assistant.log.1 file after you restart it. Upload that, it may contain more info.
Yea maybe it lost connection and crashed, it says to report the issue
Look @ 2022-07-28 00:22:47
Yeah, your bridge is unresponsive
Watchdog heartbeat timeout means that when ZHA sent it a simple "ping", it never responded
There was also serial data corruption in a received packet, and Exception in callback SerialTransport._call_connection_lost(None). The connection to the bridge is unstable
If something breaks while ZHA tries to start up, it will retry a few times but will eventually give up. There's not much else you can do if you can't communicate reliably with the bridge.
Was that a recent change? If it drops the connection it should reconnect
Like I said, if you can capture a debug log if it crashing during runtime or failing to start up, I can take a look at the log. There's not a whole lot of context in a non-debug log.
If an integration fails to start I believe HA only retries a few times. If ZHA starts up but then communication with the coordinator fails, ZHA will keep retrying indefinitely.
Others are reporting similar problems BTW: https://github.com/home-assistant/core/issues/75292
Like I said "from about 3 updates ago"
That's about the time when ZHA started talking "more" to the coordinator when it started up. If any one of those commands takes too long, the firmware on the coordinator triggers a reset, causing the startup to fail. It's an inherent problem with the Sonoff ZBBridge.
It starts up and fails some time later
Hi there. I have a problem with my Conbee II on my Raspi running HA. Since relocating the Raspi some days, weeks ago, it is playing um somehow. First, sometimes it came up (no errors) but showing only some devices of the network being online, now mostly it comes up (no errors) showing none of the devices being online but only itself, if I use a shorter USB cable it does not come up with the all known error waiting forever and failing as it cannot build-up it´s network. The USB cables I have is 20cm and 2m. I tried relocating the stick multiple times to different angles into different directions suspecting it is radio overlap. Also reboots, complete shutdowns, restarts of HA in combination with it but nothing helps. Anybody any clue what I still could try or how to further debug?
by the way: after relocating I had this problem also and by chance this re-cabling and re-locating obviously helped, so I thought it was the radio problem simply, but now meanwhile, since some days ago I installed latest core, after reboot I have this problem permanently. And it really hurts, I have ~100 devices. I tried also restore suspecting any update broke anything but also with the old version then I had this behaviour, so I re-did the update again. Could it be the stick broke somehow?
Has anyone done the aqara motion sensor 5 second hack/mod? I don't know how to take it apart to try it out?
Are you using a usb2 or usb3 port?
USB3 has known issues that cause general wacky behavior with zigbee
I tried both, USB2 and 3. Same behaviour
The ConBee really needs to be on an extension cable
I have. 2m
Then that should rule out interference, at least assuming you didn't also stick it next to a WiFi AP for instance
and I tried to exclude that by pulling the cable into 3 different directions, so I assume it should not hurt that the router is placed within this radius
best case, the dongle was 2,3m away from router and 2m away from the raspi
I mean: it was running for 2+years now - may it be simply broken somehow? Is there a way how to debug such?
It could be a power issue with the Pi
would be disappointing though still but better know confirmed than replacing it simply by suspect and then replacement also doesn´t work you forever you suspect having spent money for nothing
and how to mitigate that? I have no USB cable with power injector. And why should that happen from now suddenly?
Powered USB hub would help, if that's the problem
Changing the power supply of the Pi could help too, depending on the issue
I use the Argon1 case with the supplied PS. I don´t remember the watts but I assume it is designed to give enough power
and as said: never had problems on this since... wait a minute: does LAN pull more power than Wifi?
Probably less, but I don't know
Hello Guys, do you know If these are any good? I need 30 of them 😛
Tuya 🤮
At least this time it wasn't WiFi ...
Not compatible with the zha?
Tuya is a shit show
Zigbee is a spec that companies can play loose with, and boy do Tuya
It may work, it may not, it may turn up as a leak sensor despite being a bulb, because it has the same model ID as a leak sensor
got it, so, I have to avoid tuya devices?
People buy them because Tuya prices them aggressively. I'd even recommend them if it wasn't for the fact that every single Tuya device and every firmware variant needs a quirk to work. They waste a lot of time.
I'm busting my head trying to find an affordable zigbee GU10 RGB light
I was looking for these but now that I check it's a tuya too
Cheap, good, pick at most one
and I need them to be 220v
Ikea (tradfri) are decent
Innr are supposed to be good
(I have exactly zero RGB only lights, all mine are either CCT or RGB+CCT)
This one seems to be the best candidate
20$ each
zigbee, 220v, RGB
But dind't find any reviews
You can buy Tuya, a lot of people do. Device support for Tuya in ZHA is just flaky at the moment so there is a chance that Tuya loaded these bulbs with a new randomly-generated device model ID, requiring you to modify a quirk to get it to work.
Well, if you mean by best the cheapest and I don't care if I have to buy stuff to replace them, then sure, "best"
Buy Tuya, buy twice
I meant, "for now"
didn't knew that "Tuya" problem
Honestly, spent a tiny bit more and save yourself pain
All I see on aliexpress are tuya lol
Do you not have an Ikea near you?
Bolivia man, Luckyly I have Internet 😛
I have to import everything
I guess I'll have to try
there is a chance a bulb will be okay. at least early tuya bulbs didn't have the 2nd mcu and all the dp crap
I have a handful of tuya temp/humd and contact sensors that are all spec compliant.
but the vast majority of stuff and likely more recent stuff is a mess.
mine is on an extension cord but there's a unifi long range ap 30cm away from it, blasting 2.4ghz at max power
i've got around 60 devices no issue
YMMV of course
that being said i am awaiting tubes poe zigbee coordinator either way
So yesterday I returned all of my Tuya devices and bought 4 Ikea Trådfri bulbs and switches. Now I'm looking at this cheapo Zigbee2mqtt stick on aliexpress to tie them into HAOS. <€16 with a flashing adapter. Any thoughts from the professionals here?
https://www.aliexpress.com/item/1005004443820263.html
technically any cc2652 based stick is bound to work properly. i deliberately made the choice to stick to brand sticks that are properly tested and have good recommendations. zigbee controls most of my home, and i have used cheap cc2531 sticks in the past and it brought me nothing but trouble. when i started scaling my network it just ran very poorly
the last thing you want is having to tinker with your stuff every other week because something broke
it might be fun for certain projects, but not basic home controls
that is great advice, I think I'll buy it now to get started and replace it with a recommended one once availability improves.
It comes with a cable but not a programmer. You'll probably need to buy an XDS100 or an XDS110 to flash it with firmware.
If it comes pre-flashed you can re-flash it over serial. But if it doesn't...
oh darn, I was under the impression I could at least use the old arduino I have laying around
I think those Arduino/ESP/Raspberry Pi flashing programs exist only for the CC2531
The Sonoff 3.0 https://www.aliexpress.com/item/1005003685442972.html
How do I know why my Woox R7060 sometimes just doesn’t do what I want it to do ?
Zigbee2mqtt Logs: https://www.toptal.com/developers/hastebin/dulabirero
Just one next room back to the router to have it connected by LAN cable instead of Wifi only
My guess would be WiFi interference - can you change the 2.4ghz channel on your router?
Is this working well? Meanwhile think about replacing my conbee
that means the device isn't on the mesh, or at least they think its not
Just tested channel 1 and then 13 with some restarts in between - no change
Has your stick been able to contact/receive data from any devices at all?
Still researching if power could be the issue... I can disable IPv4 and IPv6 but can I also disable completely the adapter from GUI to save power?
It was working for years now...
I know, I mean since it stopped working
Just watched the adding logs and obviously no. Now tried with one plug the pairing and BAM it got found. So I really have to re-add ALL devices? It seems it has lost complete network
What can cause auch?
Such
Can you restart with ZHA debug logging (https://www.home-assistant.io/integrations/zha/#debug-logging) and post the startup log?
If you happen to have any old HA backups that happened to contain HA logs with ZHA debug logging those would be very useful too
old ones I fear I cannot serve... as said: it was running for years now
how post it? (sorry not so familiar with Discord) Simply copy&paste from System/Logs or any file?
Upload it somewhere and post a link or DM it to me
The file itself is /config/home-assistant.log
Looks like the Conbee is running old firmware
Can you update its firmware to the latest release with deCONZ or with https://github.com/dresden-elektronik/gcfflasher ?
if anybody here is interested about the outcome of debugging, puddly kindly did for me: "The problem is that there is also a 16 byte network key, and a PAN ID, and an extended PAN ID
If for some reason the Conbee decided one day to say that it had no formed network, ZHA would form a new one with all three of those settings completely, securely random
Unfortunately. I'm not sure how it happens in my months of testing the Conbee but it somehow does in very rare cases"
Is this exempt from all the warnings I've read about Sonoff devices? Is this different than a "Sonoff bridge"?
Hello I am brand new to HA, im waiting for my HA to complete its 20m setup currently.
While I wait, I need to figure out how to connect my ConBee II to HA, as I have HA setup as a VM In proxmox.
How do I go about usb pass-through for the ConBee II, does anyone have a guide?
The bridge is a different device
rad, thanks
I wish for a Sonoff like dongle (i.e. decent case, SMA connector, etc.), but with the Silabs EFR32MG chip. Doesn't look like Z-Stack is going to support Thread anytime soon.
Dont worry I figured it out.
I have a smartthing zigbee motion sensor that shows the wrong battery reading. It shows 8 % on a new (tested) battery. Is there anywhere that I can adjust the value?
Update,it just changed to 84%. Strange.
Has anyone experienced unexpected results with Zigbee groups through ZHA? I have 2 lights connected to a group, you can see that I try to turn them off and it immediately indicates that they're back on. They do turn off, though. And after the 2nd time it reverts, the group properly indicates off and I can turn them back on successfully.
I tried to use an HA helper group instead but I'm not seeing perfect results there either.
Is it a new device to your network? Sometimes I've seen them take time before they reflect accurately
Working for almost a year. Changed battery this morning so maybe it took a while to update. Not sure why it is reading 84% but better than 8
rechargeable batteries operate at a lower voltage than alkaline.
What bulbs are you using?
2 Hue color bulbs, connected in zigbee not through Hue hub
Can you upload the diagnostic info for one of the bulbs somewhere? Some bulbs don't immediately report their new state when they're turned on or off so ZHA has to manually poll them.
That's for the coordinator I think. You can generate similar diagnostic info for one of the bulbs.
https://pastebin.com/99xJDVnT
Yep, here's one of them. They are 2 of the same bulb
You're also on 2022.6.0. HA Core 2022.7.7 was released not too long ago and 2022.8.0 will be out in a bit so I suggest you try upgrading and then record a ZHA debug log (https://www.home-assistant.io/integrations/zha/#debug-logging) if the problem if it's still there.
Oh sorry, I thought I had upgraded successfully. I have now, I'm still seeing the same behavior, and I have a 2-minute debug log if it would be helpful to share: https://pastebin.com/SSUtU5Ud
I trimmed some of the startup/personal identifiable information but I think I left plenty
Does your Office Lights group contain two bulbs?
After the group is turned off, ZHA polls the bulbs in the group to see if they actually did. One bulb responds instantly. The other takes 10 seconds and multiple attempts.
Can you individually turn both bulbs in the group on and off? What is the RSSI and LQI like to each bulb?
Yes, that's the zigbee group that I'm interacting with, which has the two bulbs. Interesting, they're right next to each other and (according to the visualizer) are both meshed to a couple of devices
Both are showing LQI of 255, one RSSI is -82 and the other -57
I haven't done any tuning of wifi/zigbee channels or anything like that.
That's a pretty big difference in LQI. Have you tried rebooting the bulbs?
Can you individually control them without any problems?
Yep, no problem. Sometimes spamming off/on on one will cause a hiccup, but otherwise it's immediate and responsive. The zigbee group is also extremely responsive, other than the state being incorrect sometimes
What warnings? the sonoff usb stick seems to have good reviews, is easy to setup, a good range and works well. I have tube's ethernet to zigbee dongle installed now so Ive now converted it to a router which wasnt hard & I have 2 more coming to do the same to give me the range I need.
I just started out with a sonoff usb stick and I see folks talking about the firmware… is it worth trying to flash it up to latest?
I got it working under zha with 2 tradfri bulbs but I’m about to throw my tradfri shortcut button out the window 😂
(figuratively)
Its not hard to flash it, I did it before I used it. Getting the router firmware on was a bit more tricky but that was my in-experience I think I wasnt holding the boot button down long enough.
I will give it a try then, it might help with the button.
There is a method not to dismantle it which is what I used but you have to install python etc, its on youtube. I can find the link maybe? Otherwise hold the button down and plug into USB and hold for 10 seconds.
this is the one with the texas instruments chipset
he posted a video today about the new smaller stick they released
Make sure to back up your network settings before flashing and restore them after: https://github.com/zigpy/zigpy-znp/blob/dev/TOOLS.md#network-backup
It'll be in the coordinator device page in ZHA, it's a date code
aha! "model": "CC1352/CC2652, Z-Stack 3.30+ (build 20210708)",
so the coordinator is a few versions behind, looks like the latest is https://github.com/Koenkk/Z-Stack-firmware/releases/tag/Z-Stack_Home_3.x.0_coordinator_20220219
firmware update was a success and i was able to pair the tradfri button and it works now. No idea if that's correlation or causality
Any idea what reason my network have many red link and some delay in triggering(specially light bulbs) although I seems to have many router devices ? ( I have total of 79 device, 9 of them is bulbs and 8 switchs and the other are end nodes battery devices) all the router spread across 3 story home? Am using nortek zigbee zwave dongle
I Wana start with ZigBee using ha on docker on a pi4 which USB dongle do you recommend for around €10
so 2.4ghz wifi can cause noise that effects zigbee operations if the overlap
theres a few ways to look, if you look in the pin messages theres a docker container you can use.
most of the time when you have a good nework but keep having poor connections this is the issue
Will running this command will make me lose my current network setup? For the 2.4 GHz wifi I have Google wifi which unfortunately I can't set channel on it but supposedly it should choose the best one.
running the command will not change anything (though you do need to take zigbee down while you do it) but changing the network channel will cause you to need to start over
My solution was to flash all my routers with openwrt and bend them to my will
routers that auto 2.4ghz have the issue of moving around on you so it may end up stomping all over you later
but I also have somewhat complex wifi requirements so openwrt was on the list anyways
All 50 devices (hue and xiaomi) are working great on z2mqtt now. Unplugged the hue hub and disabled integration.
Did you recreate scenes like hue has with different color temps and such?
And do you just use bulbs as repeaters?
Yes. Still a little work to do there but nearly seamless
Yes. Hue bulbs are my only routers in a 2 story home
Sweet
Did you use the hue remote to reset each bulb to add to z2m?
Which coordinator did you go with?
Tip: make sure you do a full assessment of wireless interference. Once I solved this, as soon as I would delete a bulb from the hue app, z2mqtt would pick it up, I rename it, and Hass wouldn’t even skip a beat.
I’m using Sonoff coordinator
What do you mean?
I even got my hue remotes to work like the original hue one with multiple pressing
Like which zigbee channel to use based on 2.4ghz used on APs closest to coordinator?
Feel free to share that in a pastebin or something. I saw a YouTube video on that before
Yes. I had overlap between my hue hub, zigbee, and WiFi. This would cause interviews to always fail. Once I separated WiFi channels from zigbee (using 1 and 6 for WiFi and 25 for zigbee) this was resolved and it was smooth sailing.
I have three APs and use 1/6/11 on each due to interference from neighbors in those locations lol
So you scan on z2m for interference? I haven’t played with it yet
Waiting on my #yellow-archived
I thought zigbee/thread could live in the cracks between 1/6/11
I posted what I did here for the remotes. I never have good luck using blueprints.
I have 3 AP’s on one network and an “IOT” AP on a different network. one is on my patio with few clients and I don’t have a lot of neighbor congestion. I used channel 1 for my 2 downstairs WiFi APs but most clients favor 5GHz. I used 6 for my IOT AP.
Channel 11 overlaps. Try to keep this AP as far away from the zigbee controller. I think you’ll be ok if you do this and try starting on 25 with zigbee.
Just checked my current setup. Hue bridge on 15 and closest AP on 11 lol
You’ll know right away if the interview process fails. In my exp this was a red flag for interference. One strategy is to move as close to the controller as possible to complete the interview and then move it to its home. You might need to do that if you still have issues to get a router or 2 on your system. I found that after solving the WiFi problem, I no longer needed to be close.
That was exactly how mine was setup! Lol
You have to basically start over with z2mqtt if you need to change channels, so do this up front!
Yea I will
Good news is if you did add a bunch of shit and need to change channels, when you repair, at least the names will come back.
I’ll rescan on my APs and try to switch up which is on 11
Cool
My neighbors house burned down so his mesh stopped shitting on all the channels
Lol
I did notice that interference happens to mostly affect interviews. So if you can’t move off of 11 you could always try powering that AP down until you’re done adding. It is far better for stability to solve it tho.
Especially if you have a lot of devices or complex scenes with lots of transitions and such. More comms need better stability.
Most of my stuff is zwave too
i have the problem "failed to set up check for logs" for sonoff zigbee3, is this a common issue?
and error leads to some python script
Seems like there is a link on the UI called "known issues"
I should check what zigbee and wifi channels I’m using
I have a sonoff stick and hue hub in the same cabinet, best if they’re not screaming at each other I guess!
Definitely not
Why haven’t you moved off the hue hub if you already have a zigbee network setup in hass
@tacit salmon thx for all the info btw
Sure thing! It was a PITA and took me a week but glad to share my pains if it helps someone
I’ve had a zigbee network set up since yesterday 😂 I would have to go around and reset all my hue bulbs and they’re working fine so far…
Would be nice to say goodbye to the proprietary hub.
I’ve only had HomeAssistant set up for a few days, I’m still learning! It’s been going well tho. My OpenHab life is 95% moved over
I see
I’ve gone over the limit with devices on hue hub and it’s slowed down the network. Add to that the cloud based options and it’s a good reason for me to jump ship
Yeah I don’t have any of the cloud stuff set up on my hue hub. The only remote access i have to my automation ordeal is by homekit
i think i will try my sonoff with RPi instead of running hassos in virtual machine and usb redirector enabled
Ahh I need to do that too 😂
ok. because wifi might cause interference?
wifi and usb3
Usb3 stomps all over the 2.4ghz band I think
So it probably deafens the zigbee receiver
so the extender NEEDS to be USB2
really?
i thought just the ports themselves were the issue causing interference
not which you connect to / type of extender used
it's suggested for zwave too
Yeah, my wifi router has a button in its ui to enable usb3 on its USB port, with warnings that it will ruin your 2.4ghz wifi performance
my experience was the usb3 cable did not help but switching to a 2 did for me
other things may have been going on but the cable is basically a port
yea i dont believe that's accurate but best to let others chime in and confirm
Intel has a white paper with some testing! https://www.usb.org/sites/default/files/327216.pdf
tldr?
things are fiddly
they never explicitly call out how they moved the antenna (cabling certification) which doesn't help.
though I did learn a couple things that may help me on unrelated things
use a usb 2.0 cable on your wireless receiver and get it away from usb3 ports, cables and devices
also this HA discord is a really nice resource, glad to be here!
you say that now lol
certain channels are good, sometimes attitudes make it less enjoyable
so since the paper is on interference with 2.4ghz band i'd say it's safe to assume this only applies to zigbee and not also zwave sticks. still interesting
i wonder if the ports on the front of my nuc are even usb 3, i'll have to look at the spec
they are, just checked spec sheet for my old faithful D34010WYK 😄
i hate intel's model numbers
i hate intel 😛
i wish someone would make a nice quality nuc-style arm box, i love the pi but i wish it was less crap 😛