#zigbee-archived

1 messages · Page 1 of 1 (latest)

uneven ruin
#

why do you think the button is binding to a removed coordinator?

formal pasture
#

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

austere patio
#

What version of HA are you running?

formal pasture
#

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?

molten linden
#

z2m will overright the settings on the coordinator

formal pasture
#

I'll do a full backup first but if it's something involving the zigbee stick that might not do it.

molten linden
#

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

austere patio
#

There are a few bugs with how Z2M parses/stores network settings so there's a 50/50 chance that Z2M will erase them

molten linden
#

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

austere patio
#

What's prompting the switch? Some Tuya device?

formal pasture
#

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?

austere patio
#

HA backups don't include the network info on the stick

#

What coordinator are you using?

formal pasture
formal pasture
#

If it matters, I'm not using the z-wave half that device.

austere patio
#

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

formal pasture
#

Sounds like z2m is a little grittier to deal with, more configurability/transparency, and more bleeding edge devices.

austere patio
formal pasture
#

So at the very least I should be able to get back to a good state if everything goes south.

uneven ruin
formal pasture
austere patio
#

What's the exact command you're running?

formal pasture
#

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?

austere patio
#

I only linked to the ZNP documentation for step-by-step instructions to set up a Python environment

formal pasture
#

Yeah, I see now.

austere patio
#

The backup/restore tool is the one installed in that linked PR

formal pasture
#

Is bellows the ezsp one? (Sorry, just muddling through this—there seem to be multiple linked there.)

austere patio
#

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)

formal pasture
#

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.

austere patio
#

If ZHA isn't running then it doesn't matter

#

The backup would fail if there was any problem

formal pasture
#

ZHA should still be running if ha is up. (I'm surprised it worked honestly.)

austere patio
#

You never disabled ZHA?

formal pasture
#

But probably makes more sense to disable it fully before backing up, yeah. 🙂

#

Point taken.

austere patio
#

Strange. It should have failed to connect if ZHA was still running but I guess I've never tried it with an EZSP radio 😆

formal pasture
#

Yeah, I thought I'd get a device locked or something like that.

lofty hamlet
#

Zigbee2mqtt
Do I need to back up the addon separately? Or do all the devices get backed up with the full HA backup?

sour shadow
#

It's backed up as part of the HA backup - every add-on is included

glossy pebble
glossy pebble
fast lion
austere patio
formal pasture
# austere patio Strange. It should have failed to connect if ZHA was still running but I guess I...

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?

austere patio
#

Without debug logs it's hard to tell what's wrong. Did you specify a baudrate of 57600?

formal pasture
#

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.

formal pasture
#

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

mellow geode
formal pasture
#

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.

formal pasture
#

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?

austere patio
austere patio
#

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.

formal pasture
#

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.

austere patio
formal pasture
#

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.

austere patio
#

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.

formal pasture
#

I do see 2 devices now!

#

Though both are battery powered, nothing mains showing up yet.

tacit salmon
#

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.

cobalt dew
mellow geode
formal pasture
# formal pasture Though both are battery powered, nothing mains showing up yet.

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.

uneven ruin
formal pasture
uneven ruin
#

this falls squarely in between zigbee and diy - anyone use the XIAO BLE nRF522840 to make a zigbee device?

bleak fern
#

Having to re add all my Zigbee devices. Any major benefits to staying on Zigbee2mqtt or regular Zigbee integration fine?

uneven ruin
#

personal choice

tacit salmon
# cobalt dew Xiaomi devices as in aqara? or mi stuff?

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.

tacit salmon
austere patio
bleak fern
# austere patio 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. 🤷‍♂️

light tapir
#

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?

bleak fern
#

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

uneven ruin
#

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

austere patio
light tapir
formal pasture
#

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

austere patio
formal pasture
#

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.

austere patio
#

You can try cutting power to your whole house to reboot all the routers

formal pasture
#

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.

austere patio
#

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.

formal pasture
austere patio
#

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

formal pasture
#

Yeah, I see that one too (the alternating evens/odds one).

austere patio
#

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

formal pasture
#

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

austere patio
#

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.

formal pasture
#

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

uneven ruin
#

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

tacit salmon
#

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?

uneven ruin
#

router is a dumb relay

#

coordinator is the center of the network

austere patio
tacit salmon
#

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.

austere patio
#

Only Hue bulbs? Do other devices work?

light tapir
#

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.

true girder
#

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?

cobalt dew
mellow geode
mellow geode
light tapir
pearl hawk
#

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?

tacit salmon
#

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

cobalt dew
austere patio
formal pasture
#

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

formal pasture
#

Already permitted. 😦

mystic bloom
#

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.

vale surge
#

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

austere patio
mystic bloom
#

Zha via the web ui

austere patio
# mystic bloom 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

mystic bloom
#

Would that lead to entities/devices lost/duplicating?

tacit salmon
#

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

mellow geode
#

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)

uneven ruin
#

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?

tacit salmon
#

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

uneven ruin
#

have you done a power test?

#

find a better channel

tacit salmon
#

no - I did not know about this - thanks!

uneven ruin
#

scanned wifi in the area?

tacit salmon
#

Wifi is on a different channel - 6, I believe

uneven ruin
#

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

tacit salmon
#

not too saturated here either, suburb area

uneven ruin
#

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

tacit salmon
#

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

uneven ruin
#

I changed channels 70 devices in, so you are ahead of me

storm crown
#

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

merry dome
golden fern
#

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

sand wedge
#

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.

uneven ruin
sour shadow
#

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

storm crown
#

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.

sour shadow
#

The ESP uses MQTT simply because that's easy and pretty universal. Or more accurately, the firmware on it (Tasmota) uses MQTT

storm crown
#

yep. silly me conflated zigbee and mqtt there.... 😬

tacit salmon
#

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

uneven ruin
#

what error?

#

someone might be able to help with enough information 😉

tacit salmon
#

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

sour shadow
#

Yeah, you're going to have to not be using it before you can use it for the scan

tacit salmon
#

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?

uneven ruin
#

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

quaint schooner
#

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)

tacit salmon
#

@uneven ruinI verified that only TTY0 is listed as "dialout"

sour shadow
#

If you have it enabled and trying to use the same stick you're going to have problems, lots of them

tacit salmon
#

@sour shadow - check!

sour shadow
#

I wasn't responding to you

tacit salmon
#

@sour shadowah - got it ...

uneven ruin
sour shadow
#

I was responding to the person I used the Reply link for

obsidian sandalBOT
#

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

tacit salmon
#

i've been around the Hass community since Gitter, but admittedly don't use Discord as often - thanks

sour shadow
#

Those were the days

quaint schooner
uneven ruin
#

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

quaint schooner
#

And how do I rolle this back? I didn't expect it to change things bevor I do something in the Z2MQTT fronted.

austere patio
quaint schooner
austere patio
#

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?

quaint schooner
austere patio
#

Z2M makes its own backup, but that's after it overwrites your settings. How are you running Z2M? The addon?

quaint schooner
austere patio
sand wedge
#

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.

austere patio
quaint schooner
pearl hawk
#

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?

mystic bloom
cobalt dew
pearl hawk
#

Indeed, several times, same result every time...

slate kestrel
#

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 😭

slate kestrel
sand wedge
uneven ruin
#

are you using dev snapshots or stable?

tacit salmon
#

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!

tidal rune
#

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!

tacit salmon
#

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

remote sorrel
#

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.

tidal rune
#

Ok thanks power surge, I'll order a USB extension cord to see if that helps any!

slate kestrel
#

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

delicate beacon
#

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

slate kestrel
delicate beacon
#

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

delicate beacon
#

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

delicate beacon
#

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

delicate beacon
#

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

lucid nymph
#

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

lucid nymph
austere patio
#

There are three four that look just like it. Can you upload the device diagnostic info to https://dpaste.org/ ?

lucid nymph
#

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

austere patio
#

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)

lucid nymph
#

I read somewhere in the HA forums that some people had issues including new aqara motion sensors sometimes due to batteries, maybe that

austere patio
#

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

lucid nymph
#

Sadly I haven't a replacement battery for now

austere patio
#

Do you have another working Aqara motion sensor that you can swap its battery with?

lucid nymph
#

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

austere patio
#

It will stay in the "detected" state for about two minutes

lucid nymph
#

Okay now it is on No motion state even if I dance in front of it, giving suicide ideas to my cat

austere patio
#

How bright is its blue LED? If you click the button, it should blink.

tulip zephyr
#

Does anyone have any experience with the Zigbee Smartwings blinds and ZHA? I see they work with zigbee2mqtt but I much prefer ZHA.

lucid nymph
#

Never flash, except 2 then 3 times when I push the button

#

Also, it switches frequently between No motion and Unavailable state

austere patio
#

Do you have any other devices on your network?

lucid nymph
#

Yup, other aqara devices but not motion

#

All works great

#

Sicne the first join

austere patio
#

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.

lucid nymph
#

You're possibly right, it's weird, with voltmeter I find 3.15v on the 3v battery

clever cedar
#

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?

austere patio
#

What integration are you using?

clever cedar
austere patio
clever cedar
#

Can I past the logs in here?

#

paste*

austere patio
clever cedar
#

Ok

austere patio
#

Can you post way more of the log? Three seconds isn't very much context.

#

Upload or PM the whole thing if you want

clever cedar
#

maybe there's not enough signal? (I have pure concrete walls but there are less than 8 meters between the devices)

clever cedar
delicate beacon
#

Decided to go straight to node red using the mqtt out

clever cedar
#

@austere patio is the king!!, Thanks for helping me out!, My devices are working like charm now!

clever cedar
# grim igloo 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)

clever cedar
#

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

slate kestrel
clever cedar
raven jewel
#

Many devices re-route to whatever makes the most sense (theoretically)

#

Some, like the Aqara sensors do not

slate kestrel
clever cedar
#

Direct connections I mean

slate kestrel
#

It is part of the protocol to not do that as far I understand it, correct me if I am wrong.

clever cedar
raven jewel
#

Definitely

sour shadow
#

If you don't have routers you're going to be in for a lot of pain

slate kestrel
#

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

raven jewel
#

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

sour shadow
#

There's a limit to the number of devices the coordinator can directly communicate with

clever cedar
sour shadow
#

50 direct children, 100/200 routes

raven jewel
#

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

raven jewel
#

Devices should automatically sort themselves out, but not always

sour shadow
#

Xiaomi probably won't, at least the pre-Zigbee 3.0 stuff

clever cedar
clever cedar
sour shadow
#

No

raven jewel
#

I did say turn on pairing and pair it again 😉

sour shadow
#

Or, leave them 24 hours and see if they re-route anyway

slate kestrel
clever cedar
obsidian sandalBOT
#

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

slate kestrel
#

Thank you all, new here..

clever cedar
#

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

slate kestrel
#

Should not be a problem

clever cedar
#

Thank you guys!! this community rocks! you're solving a lot of doubts!

slate kestrel
#

No problem 👍

cobalt dew
sour shadow
#

Personally ... take the simple approach. If things work don't worry about it

clever cedar
slate kestrel
#

Definitely sonoff are more broken, made very good expirences with frient and aeotec

clever cedar
#

Kinda insisting on zemismart because in my country the voltage is 220v

#

didnt' get any bulbs yet thoug

slate kestrel
#

I see, same here 220v. Got some sonoff also until now 👌

cobalt dew
slate kestrel
#

Phoscon Kobold are definitely the best ones

cobalt dew
#

NZ is 240v

clever cedar
#

I'll have a look, I need those GU10 lightbulbs on almos all my areas

slate kestrel
#

The philips one are great they work on my Coordinator like a charm

#

Without the hue hub

cobalt dew
slate kestrel
#

That's great also athom are great

cobalt dew
raven jewel
#

I have an IKEA GU10 in the lamp next to me, it’s pretty nice

cobalt dew
#

no ikea in nz

sour shadow
slate kestrel
#

IKEA great also

raven jewel
#

It does shades of white, which are all I need

slate kestrel
#

Hell yeah philips are not cheap

clever cedar
slate kestrel
#

Yes haha

cobalt dew
clever cedar
#

What about these WLED GU10 RGBCW ? are they "plug n play"? (I mean, no need to flash the firmware?)

slate kestrel
#

Last week I bought some zigbee devices in lidl they are not bad

clever cedar
#

athom

cobalt dew
slate kestrel
#

Athom got some tasmota or ESPhome all very simple to integrate

cobalt dew
# clever cedar athom

i have a athom esphome running and their wled just arrived 27w ES, not set it up yet doing other stuff. Athom is flashable

cobalt dew
slate kestrel
#

All good 😏

lucid nymph
#

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

austere patio
#

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.

slate kestrel
#

Thanks I made a good expirence talking to you about my issues 😋 👍

clever cedar
#

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

uneven ruin
#

sounds like bad connection

clever cedar
#

Nevermind... My extension cable is bad, also... I have thick concrete walls :/

#

when plugging the coordinator closest with another cable everything went fine

uneven ruin
#

great

cobalt dew
crimson tinsel
#

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.

obsidian sandalBOT
#

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:

  1. What version of the Home Assistant are you running? (remember, last isn't a version)
  2. What exactly are you trying to do that won't work?
  3. Is the problem uniform or erratic?
  4. What's the exact error message?
  5. When did it arise?
  6. What exactly don't you "get"?
  7. Can you share sample code, ideally with line errors where the error occurs?
crimson tinsel
#

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.

sour shadow
#

There's no Zigbee channel zero

#

See the pins for how Zigbee channels and WiFi channels relate to each other

crimson tinsel
#

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?

sour shadow
#

Almost no Zigbee devices support the sub-GHz (ISM) bands

crimson tinsel
#

Oh 😦

sour shadow
#

So yes, I'm "positive" ablobwink

crimson tinsel
#

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.

sour shadow
#

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

slate kestrel
#

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

sour shadow
#

Well, they overlap - but the numbering is different

slate kestrel
#

Exactly

sour shadow
#

So, they do overlap 😉

#

Just because one says chocolate and the other banana doesn't mean they're not talking about the same thing

slate kestrel
#

What I mean if the coordinator is 11 and wifi 11 they don't overlap.. Thats what I mean

#

😅

sour shadow
#

Thankfully there's a pinned message with a diagram that explains it

slate kestrel
#

Exactly

sour shadow
#

(Zigbee channel 11 would be a bad idea though)

crimson tinsel
#

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.

slate kestrel
#

I encounter a lot of people that makes confusion on that topic that's why I just mention it

crimson tinsel
#

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?

sour shadow
#

If you have a local Ikea, easy enough

crimson tinsel
#

Really!?

sour shadow
#

Ikea Tradfri range is Zigbee

#

Then there's a massive range of stuff on AliExpress, just avoid anything that mentions Tuya or Smart Life

raven jewel
#

I like IKEA's stuff, their plugs are a little large, but I can live with that for the cost

crimson tinsel
#

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?

slate kestrel
#

Ikea is a very good choice in the price range

sour shadow
#

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

raven jewel
#

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.

crimson tinsel
#

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.

sour shadow
#

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

crimson tinsel
#

Should I be asking suggestions on which hub to buy before going off half-cocked?

obsidian sandalBOT
#

There are three Zigbee options with Home Assistant (regardless of how you install it). These are:

zha is actively developed as part of Home Assistant Core, using the zigpy stack, the UI also being part of Home Assistant. The EmberZNet based sticks are recommended (though the HUSBZB-1 uses an older chipset), but there are other options including the CC2652 based sticks. There is no list of supported devices, as any standards compliant device should work. Devices that require extra support are listed, and adding unsupported devices is documented.

Zigbee2MQTT is very actively developed and can run in an add-on, in a Docker container, and natively. As of 1.15 has a native UI, and it also uses MQTT for control and configuration. It supports mostly TI based sticks, with the recommended option being the [CC2652 based sticks](#zigbee-archived message). If you want to use an EmberZNet stick see this issue. The known working devices are well documented (which usually includes how to pair them so you don't have to find the manual), and adding unsupported devices is also documented.

deCONZ is relatively stable and mature with its own UI (and Discord server). It can run in an add-on, in a Docker container, or natively. Only the ConBee range of sticks and RaspBee GPIO boards are supported. Known working devices are documented, and how to request support for a new device is documented too (you can't add unsupported devices yourself).

sour shadow
#

No hubs

#

Pick either ZHA or Z2M, and from there pick your stick

crimson tinsel
#

So the stick is not a hub

sour shadow
#

HA is your "hub"

crimson tinsel
#

ah

sour shadow
#

The stick is "just" the radio

crimson tinsel
#

I can select the channel the stick, and therefore its children, will operate at though?

sour shadow
#

Yes, through the software you pick - ZHA or Z2M

crimson tinsel
#

Excellent

sour shadow
#

The sane choices are usually 15, 20, or 25 (and maybe 26)

crimson tinsel
#

That's preferable to using my router as the radio, then

sour shadow
#

Well, you can't really use the router anyway, so ...

slate kestrel
#

The conbee2 is actually my favorite choice, very good zigbee (stick)

sour shadow
#

Assuming you ignore the fact that it's the most sensitive to RF interference

#

And firmware updating it can be harder than other options

crimson tinsel
#

woah, that's pricy. There isn't an ikea alternative to that, too, right?

obsidian sandalBOT
#

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.

sour shadow
#

You can get CC2652 based sticks for peanuts

slate kestrel
#

Never had problems with the update or firmware of the conbee
But yes very sensitive to rf interferences

crimson tinsel
#

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)

sour shadow
#

And that's (partly) why the pinned messages tell you to put it on a USB extension cable

crimson tinsel
#

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

sour shadow
#

2M is enough

crimson tinsel
#

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.

slate kestrel
#

@sour shadow thanks for helping out

crimson tinsel
sour shadow
#

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

crimson tinsel
#

Ah I see

sour shadow
#

If you're happy to throw money away, buy Tuya

#

Xiaomi is almost certainly a better choice

crimson tinsel
#

I'll maintain a discerning eye and continue looking then, thanks

raven jewel
#

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

sour shadow
#

I ditched my Hue hub for Z2M, but that's partly because when I did the firmware update on it it bricked itself

raven jewel
#

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.

zenith fiber
#

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.

sour shadow
#

"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

zenith fiber
#

Totally fair. My equipment hub is in a bit of an RF dead zone to begin with so I am prepared for challenges.

sour shadow
#

Hint ||RF waves are blocked by water, and people are mostly bags of water||

zenith fiber
sour shadow
#

I saw a meaningful increase in LQI simply by moving the stick up half a meter, and the signals were generally more stable too

zenith fiber
#

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!

raven jewel
#

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.

clever cedar
#

On my way to get a new extension cable after my doctors apointment, any Usb extender is ok?

#

2.0?

frank marten
#

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

sour shadow
#

I mean, yes, but if it works, it works

frank marten
# raven jewel What experience do folks have with replacing the Hue hub with Zigbee2MQTT? Thus ...

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

raven jewel
#

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

slate kestrel
#

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

raven jewel
#

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 😂

little bronze
#

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

#

these

#

but, when i try in the TERMINAL in HAOS, the last line is not accepted

austere patio
#

Why stay with the ZiGate?

daring spear
#

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

pastel ice
#

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?

sour shadow
#

Do you have any (Zigbee) routers in that mesh?

pastel ice
#

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)

sour shadow
#

It's quite possibly because of the lack of routers, with the coordinator "forgetting" that they're directly connected

pastel ice
#

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

sour shadow
#

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.

pastel ice
#

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

austere patio
pastel ice
#

I saw that in the pins, I could try it. The stick is pretty old at this point (4 years?)

dry lichen
#

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

austere patio
#

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

dry lichen
#

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

austere patio
#

You can migrate in one step without having to re-join any devices

dry lichen
#

Wait what

#

Please enlighten me

austere patio
dry lichen
#

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

austere patio
#

Doesn't really make a difference as long as you map the serial port across correctly

dry lichen
#

Dear god

#

Oh wait

#

That's for a radio transfer right

#

Nvm. I guess it also works for Deconz -> ZHA with the same radio

austere patio
#

Ah, I misread your question

#

This is for swapping the network information from one radio to another

dry lichen
#

Ah

#

Still, that is absolutely amazing progress to see

austere patio
#

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

dry lichen
#

Ahh i was hoping you'd have a secret way

austere patio
#

Do you have mostly bulbs?

dry lichen
#

It's mostly bulbs yeah

#

Few door sensors, motion sensors, some sockets

austere patio
#

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.

dry lichen
#

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

austere patio
#

In that case you may have better luck moving one device at a time or something

dry lichen
#

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?

austere patio
#

Better supported by ZHA. Fewer inexplicable "my network doesn't work" issues.

dry lichen
#

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?

austere patio
#

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.

dry lichen
#

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!

dry lichen
#

@molten linden In your experience, how long would it take for a CC2652 with POE to arrive to the Netherlands?

molten linden
#

let me take a look at some past orders.

dry lichen
#

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.

molten linden
#

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.

dry lichen
#

I'm just gonna go for it. Just to confirm: I can power it via PoE and access it per IP?

molten linden
#

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

dry lichen
#

Great! Now I just gotta check my UniFi Switch lol

molten linden
#

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

dry lichen
#

I've got the rather basic 8 port with 4x PoE at 802.3af

molten linden
#

yeah should be good.

dry lichen
#

Thanks for your time, I just ordered one! I appreciate your work, it looks amazing.

molten linden
#

thank you!

#

Will try to get this out today 😉

dry lichen
#

No worries. I gotta figure out how to expose the serial over IP thing anyway hehe

austere patio
dry lichen
#

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

pastel ice
#

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?

austere patio
pastel ice
#

The docker container is running on my HA machine (ubuntu box)

austere patio
#

Did you disable ZHA?

pastel ice
#

I've stopped home assistant/the rest of my docker-compose stack entirely

austere patio
#

And this happens every time you try it? Have you tried unplugging the stick?

pastel ice
#

I have unplugged the stick 2x now to restart the stick. Let me try an Ubuntu reboot real quick

austere patio
#

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.

pastel ice
#

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"}]}```
austere patio
#

That looks right. I would try it on another system, the script is cross-platform and just requires the xmodem and pyserial Python packages

pastel ice
#

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.

clever cedar
#

Guys quick question, how to interpret LQI ? for example a device reads LQI=3 is there an acceptable range?

raven jewel
#

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.

clever cedar
#

oh, so it varies then

#

depending on which device

raven jewel
#

And how accurate that device is.

half cipher
#

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?

mellow geode
half cipher
#

Ohh nice.

#

Thanks. I got tons of old RPis lying around.

#

Maybe that will be a good usage.

austere patio
raven jewel
#

I completely misread LQI earlier, my brain substituted PMI 🤦

clever cedar
clever cedar
raven jewel
#

You can tell I've been having fun with ESPHome at least 😛

delicate beacon
#

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

delicate beacon
#

"exposes" panel for the power outlet states everything but i dont have a sensor for it on the home assistant side

delicate beacon
#

changed the configuration to the mqtt, username, password, server ip... it seems to have worked

serene shuttle
#

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?

serene shuttle
molten linden
#

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

serene shuttle
lilac rapids
#

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?

clever cedar
#

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?

sour shadow
sour shadow
clever cedar
#

being 1/12 LQI=0.08333 ?

sour shadow
#

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

clever cedar
clever cedar
#

Well, this is my first zigbee... hopefully I'm adding more tomorrow

#

definitely one in between those

#

it's working pretty good though

sour shadow
clever cedar
sour shadow
#

Neither number is zero, just, and both are low enough that it's probably not important which is which 😄

compact hill
#

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 ?

sour shadow
#

It'll be fine as long as you keep your Zigbee and WiFi apart, and otherwise follow the guidance in the pinned messages

compact hill
#

ok thanks

#

Pretty much what I`ll be getting :

pastel ice
#

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

sour shadow
#

Good choice, but buy from AliExpress and it'll be cheaper

mortal narwhal
#

Old message, but found via search. Did you ever get resolution to this? Having the same issues and also configuring the sensitivity causes errors

compact hill
#

ty

#

indeed more than 50% less

tiny swan
tropic depot
slate kestrel
#

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?

austere patio
slate kestrel
#

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

austere patio
slate kestrel
#

I Wil

#

will *

tropic depot
#

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

slate kestrel
#

I see, so another question why does it work on deconz? 🤔

#

And in the case of a router? 🤔

tropic depot
#

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

slate kestrel
#

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

austere patio
#

Yes and no

slate kestrel
#

Okay i see, very interesting

zenith fiber
#

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.

austere patio
#

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.

zenith fiber
#

Ooooh. Well, I feel silly now.

#

If I want/need a relay, one option would be a powered ESPhome style device then, right?

sour shadow
#

Well, not if that's a WiFi device

#

You need a powered Zigbee device, that's joined to the mesh

zenith fiber
#

I was thinking of something with another Zigbee stick attached to it, but maybe a Hue or some other bulb is a simpler approach.

sour shadow
#

Any CC2652 stick with router firmware plugged into a USB charger, or any Zigbee plug, etc etc

zenith fiber
#

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?

pastel ice
#

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)

raven jewel
#

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.

pastel ice
#

No dice there really

tiny swan
#

How old is the battery?

pastel ice
#

Brand new. I just swapped them out on my Aqara temp sensors but this is a new switch/replaced battery

uneven ruin
uneven ruin
#

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

pastel ice
#

There is another aqara mini switch connected to it, yeah. It's a hue color bulb

#

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)

jovial thunder
#

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?

zenith fiber
uneven ruin
mortal narwhal
remote reef
#

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?

austere patio
#

Don't worry about the graph, the colors don't mean much

remote reef
#

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.

grim igloo
#

I’m planning to move off hue hub and hoped to not need dedicated routers but instead use bulbs

pastel ice
#

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

remote reef
storm palm
#

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

austere patio
#

What coordinator are you using?

storm palm
#

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

austere patio
#

ZHA is the integration. What USB stick?

storm palm
#

First occurred: 12:23:16 AM (1 occurrences)
Last logged: 12:23:16 AM

#

Couldn't start application

#

SONOFF ZBBridge Smart Zigbee Bridge

austere patio
#

Over WiFi?

storm palm
#

No

austere patio
#

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?

storm palm
#

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

austere patio
#

All of it

storm palm
#

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.

austere patio
#

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.

storm palm
#

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

austere patio
#

Can't tell without the log files. If it breaks again, post a link to them.

storm palm
#

Ok sure, but the default log won't show such a major issue?

austere patio
#

If you have one from the period when it was broken, it might

storm palm
#

The only error was the one I posted above

austere patio
#

HA should keep around the previous home-assistant.log.1 file after you restart it. Upload that, it may contain more info.

storm palm
#

Yea maybe it lost connection and crashed, it says to report the issue

#

Look @ 2022-07-28 00:22:47

austere patio
#

Yeah, your bridge is unresponsive

storm palm
#

No, it would say something like socket timeout

#

The moment I restart HA it is back

austere patio
#

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.

storm palm
#

Was that a recent change? If it drops the connection it should reconnect

austere patio
#

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.

storm palm
#

Like I said "from about 3 updates ago"

austere patio
#

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.

storm palm
#

It starts up and fails some time later

supple folio
#

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?

bronze apex
#

Has anyone done the aqara motion sensor 5 second hack/mod? I don't know how to take it apart to try it out?

dry lichen
#

USB3 has known issues that cause general wacky behavior with zigbee

supple folio
sour shadow
#

The ConBee really needs to be on an extension cable

supple folio
#

I have. 2m

sour shadow
#

Then that should rule out interference, at least assuming you didn't also stick it next to a WiFi AP for instance

supple folio
#

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?

sour shadow
#

It could be a power issue with the Pi

supple folio
#

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

supple folio
sour shadow
#

Powered USB hub would help, if that's the problem

#

Changing the power supply of the Pi could help too, depending on the issue

supple folio
#

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?

sour shadow
#

Probably less, but I don't know

uneven ruin
#

should be significantly less

#

where did you relocate it to?

austere patio
#

Tuya 🤮

sour shadow
#

At least this time it wasn't WiFi ...

clever cedar
sour shadow
#

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

clever cedar
#

got it, so, I have to avoid tuya devices?

austere patio
#

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.

clever cedar
#

I'm busting my head trying to find an affordable zigbee GU10 RGB light

sour shadow
#

Cheap, good, pick at most one

clever cedar
#

and I need them to be 220v

sour shadow
#

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)

clever cedar
#

20$ each

#

zigbee, 220v, RGB

#

But dind't find any reviews

austere patio
#

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.

sour shadow
#

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

clever cedar
#

didn't knew that "Tuya" problem

sour shadow
#

Honestly, spent a tiny bit more and save yourself pain

clever cedar
#

All I see on aliexpress are tuya lol

sour shadow
#

Do you not have an Ikea near you?

clever cedar
#

Bolivia man, Luckyly I have Internet 😛

#

I have to import everything

#

I guess I'll have to try

molten linden
#

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.

dry lichen
#

i've got around 60 devices no issue

#

YMMV of course

#

that being said i am awaiting tubes poe zigbee coordinator either way

crimson tinsel
#

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

dry lichen
#

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

crimson tinsel
#

that is great advice, I think I'll buy it now to get started and replace it with a recommended one once availability improves.

austere patio
#

If it comes pre-flashed you can re-flash it over serial. But if it doesn't...

crimson tinsel
#

oh darn, I was under the impression I could at least use the old arduino I have laying around

austere patio
#

I think those Arduino/ESP/Raspberry Pi flashing programs exist only for the CC2531

normal wharf
supple folio
uneven ruin
#

My guess would be WiFi interference - can you change the 2.4ghz channel on your router?

supple folio
uneven ruin
supple folio
uneven ruin
#

well thats super odd

#

I'll admit to not knowing much about conbee specfically

austere patio
supple folio
#

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?

supple folio
austere patio
#

I know, I mean since it stopped working

supple folio
#

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

austere patio
#

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

supple folio
#

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?

austere patio
#

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

supple folio
#

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"

crimson tinsel
lime gazelle
#

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?

austere patio
crimson tinsel
#

rad, thanks

cosmic jacinth
#

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.

sterile pebble
#

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.

pastel ice
#

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.

https://imgur.com/a/GioJKX3

pastel ice
sterile pebble
#

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

crimson tinsel
#

rechargeable batteries operate at a lower voltage than alkaline.

pastel ice
austere patio
#

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.

pastel ice
#

Could you point me how to get that information?

#

Ah, one sec

austere patio
#

That's for the coordinator I think. You can generate similar diagnostic info for one of the bulbs.

pastel ice
austere patio
pastel ice
#

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

austere patio
#

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?

pastel ice
#

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.

austere patio
#

That's a pretty big difference in LQI. Have you tried rebooting the bulbs?

pastel ice
#

Nope, just pull the power? I will try

#

showing -77 and -52 still 🤔

austere patio
#

Can you individually control them without any problems?

pastel ice
#

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

cobalt dew
gusty patio
#

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)

cobalt dew
# gusty patio (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.

gusty patio
cobalt dew
#

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.

jade cargo
#

this is the one with the texas instruments chipset

#

he posted a video today about the new smaller stick they released

austere patio
gusty patio
#

Will try it later tonight!

#

Is there a way to see the current fw version?

austere patio
#

It'll be in the coordinator device page in ZHA, it's a date code

gusty patio
gusty patio
#

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

steep idol
#

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

sudden idol
#

I Wana start with ZigBee using ha on docker on a pi4 which USB dongle do you recommend for around €10

uneven ruin
#

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

steep idol
uneven ruin
#

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

tacit salmon
#

All 50 devices (hue and xiaomi) are working great on z2mqtt now. Unplugged the hue hub and disabled integration.

grim igloo
#

And do you just use bulbs as repeaters?

tacit salmon
#

Yes. Still a little work to do there but nearly seamless

#

Yes. Hue bulbs are my only routers in a 2 story home

grim igloo
#

Sweet

#

Did you use the hue remote to reset each bulb to add to z2m?

#

Which coordinator did you go with?

tacit salmon
#

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

tacit salmon
#

I even got my hue remotes to work like the original hue one with multiple pressing

grim igloo
#

Like which zigbee channel to use based on 2.4ghz used on APs closest to coordinator?

grim igloo
tacit salmon
#

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.

grim igloo
#

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

#

I thought zigbee/thread could live in the cracks between 1/6/11

tacit salmon
#

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.

grim igloo
#

Just checked my current setup. Hue bridge on 15 and closest AP on 11 lol

tacit salmon
#

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!

grim igloo
#

Yea I will

tacit salmon
#

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.

grim igloo
#

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

tacit salmon
#

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.

grim igloo
#

Yeah

#

I’ve already got my zwave network figured out and learned my lessons there

tacit salmon
#

Most of my stuff is zwave too

brave fossil
#

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"

gusty patio
#

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!

grim igloo
#

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

tacit salmon
#

Sure thing! It was a PITA and took me a week but glad to share my pains if it helps someone

gusty patio
#

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

grim igloo
#

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

gusty patio
#

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

brave fossil
#

i think i will try my sonoff with RPi instead of running hassos in virtual machine and usb redirector enabled

grim igloo
#

Don’t forget to use a usb extender

#

Get the stick away from the USB ports

gusty patio
#

Ahh I need to do that too 😂

brave fossil
#

ok. because wifi might cause interference?

uneven ruin
#

wifi and usb3

gusty patio
#

Usb3 stomps all over the 2.4ghz band I think

#

So it probably deafens the zigbee receiver

uneven ruin
#

so the extender NEEDS to be USB2

grim igloo
#

i thought just the ports themselves were the issue causing interference

#

not which you connect to / type of extender used

grim igloo
gusty patio
#

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

uneven ruin
#

other things may have been going on but the cable is basically a port

grim igloo
#

yea i dont believe that's accurate but best to let others chime in and confirm

gusty patio
uneven ruin
#

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

gusty patio
# grim igloo tldr?

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!

grim igloo
#

you say that now lol

#

certain channels are good, sometimes attitudes make it less enjoyable

grim igloo
gusty patio
#

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

grim igloo
#

i hate intel 😛

gusty patio
#

i wish someone would make a nice quality nuc-style arm box, i love the pi but i wish it was less crap 😛

grim igloo
#

people have been repurposing used thin clients online for hass boxes

#

way more power than a pi and still around $30 including some emmc storage, usb ports, m.2 etc

gusty patio
#

ahh yes that's a good idea

#

every single part of the pi is a horrible compromise, but cheapness is a fair excuse

#

rant fairly off-topic for this channel tho