#zigbee-archived

1 messages ยท Page 27 of 1

proven narwhal
#

had worked with the sonoff and my z-wave stick

austere patio
#

No, it should work fine with that. Can you confirm that the USB port is functional? Does the SkyConnect show up when plugged into another computer?

proven narwhal
#

that is the first thing I should have tried... one second

#

yep, I see SkyConnect v1.0 on my windows 11 machine

#

and I am using the usb extension as the documentation recommends

austere patio
#

For connecting it to both machines?

proven narwhal
#

correct

#

just tried both, it registers with and without on the w11 machine

#

and nothing with or without on the HASSIO machine

#

I see a ttyUSB for the sonoff

final kestrel
#

Just added my first Zigbee device (Phillips Hue bulb) to my Home Assistant Skyconnect with Zigbee2MQTT

#

man I love this

proven narwhal
#

and my zwave stick is there too, no ssieus

#

issues

#

๐Ÿ˜ฆ

austere patio
#

Exact same USB port?

proven narwhal
#

other side of the machine, assuming a different usb hub on the system board

#

aeotec gen 5 controller

#

tried 2 open usbs

#

one on one side, one on the other

austere patio
#

Try it in a known-good USB port used by an existing device, to rule out hardware failure. I think Z-Wave JS can reconnect without issues.

proven narwhal
#

testing now

#

no luck

#

I have the terminal add on, anything you can think of I can try there?

#

looking at assinged ports, I don't see anything for it

final kestrel
#

what files do you need to back up ZHA if I need to blow away HA and start anew.

austere patio
#

Everything in .storage

#

Otherwise all of your entity configuration will be gone

final kestrel
#

but thats where the mess is

#

as long as I can back up the network?

austere patio
#

The network backups and device cache is in zigbee.db

final kestrel
#

I have a lot of orphaned entities from ha os etc

austere patio
#

But it won't store HA-specific customization, only the fact that a device exists on your network with a given model/manufacturer name and some info about capabilities

#

Everything else is in .storage

final kestrel
#

might move to ZHA later once matter is up and running

still terrace
austere patio
still terrace
sharp berry
#

Good to know! If I'm migrating from a Conbee II coordinator stick to the SkyConnect coordinator, I imagine I'll need to repair all my devices as a new ZHA network since the chipset is different between the Conbee II and SkyConnect?

austere patio
#

Make sure to upgrade your Conbee to the latest firmware before migrating though. Otherwise a critical piece of info will not leave the Conbee and you may have issues controlling devices until they're rebooted.

still terrace
#

argh didn't notice the OTA update logs are set to debug level. I assume if it fails I'll get a log message at least?

austere patio
#

What device are you updating that requires all this effort?

prisma shell
#

Does anyone recall if zha can stop end devices from connecting directly and for them all to use a router? I thought I read it can but i can't find the webpage

still terrace
still terrace
austere patio
#

It should set everything related to ZHA to debug

still terrace
#

well then not seeing any logs. I'll give it some time. Thanks for the help

austere patio
#

You may have to either manually tail the home-assistant.log file, or disable it and look at the downloaded file

still terrace
#

that worked, thanks!

austere patio
#

Getting OTA better integrated into the frontend is a priority so in the future it'll be less involved ๐Ÿ˜…

still terrace
#

that's be great. I use zwave a lot more. A bit more seamless there ๐Ÿ™‚

austere patio
#

For sure, they do amazing work

final kestrel
#

Manโ€ฆ migrating my hue stuff to Skyconnect is soo fast

grim igloo
#

i wouldnt call zwave updates seamless lol

tiny timber
#

Anyone got any tips to prevent Hue sensors from dropping off SkyConnect? And is there any way to get them to re-join without needing to go and reset them every time?

#

Have a mix of Hue Bulbs and Ikea sockets as repeaters.

mellow geode
#

What model of Hue sensor are you using? (SML00x)

tiny timber
#

Look to all be SML001

sharp berry
final kestrel
#

Z2mโ€ฆ trying to figure out which zigbee channel to use

#

Before I add the rest

sharp berry
#

Oh, you're on Z2M w/ SkyConnect? Thought support was experimental.

final kestrel
#

So 15 is the best

#

Basically

austere patio
#

It depends on your specific environment but usually one of 15, 20, or 25

final kestrel
#

Now to see about migrating my hue bulbs

#

I have full control of my WiFi network :p

austere patio
sharp berry
#

@austere patio โ€“ Appreciate all of your help, but I'm gonna have to take a look at this tomorrow. It's very late here. Sadly I have made no progress by the end of the night. Haven't been able to connect a single Zigbee device ๐Ÿ˜ฆ Also tried restoring my entire HA install back to a full-backup, and none of my Zigbee network is working. So sad.

austere patio
#

If you're trying to migrate devices from another network and are having issues, feel free to ping me when you start again

sharp berry
#

Maybe I'll try approaching it fresh tomorrow. Not sure exactly where to begin, if I should start with my new SkyConnect adapter and set up Z2M or ZHA. Or start with my Conbee II stick and a fresh install of the Z2M addon. Whatever I did I bonked my entire Zigbee network.

#

I appreciate it!

#

At this point I'm just wondering if it'd be best to try and start fresh.

austere patio
#

If you're starting anew, I'd stay away from the Conbee. But it's unusual to have to do that, Z2M should have network backups, ZHA definitely does, so if you haven't rejoined many devices, your "old" network should still be there

sharp berry
#

Still would prefer to use ZHA just because it's a bit more integrated into HA, but based on Blakadder's device compatibility matrixes, it would seem I have a good handful of devices that are not compatible yet with ZHA.

#

So you'd recommend going with the SkyConnect?

#

SkyConnect + Z2M?

austere patio
#

Z2M has a whitelist (and how many devices automatically end up in the Blakadder database), ZHA does not, so devices that work with the former (that aren't Tuya) will likely work with the latter without issues

sharp berry
#

Hmm ok

#

I'll have to take another crack at it tomorrow then. Really appreciate the help puddly!

austere patio
#

No worries. I'm obviously biased in working on ZHA/its libraries so use what you prefer but if the SkyConnect specifically is not working (and it's not environmental issues like USB 3.0 ports, nearby SSDs, channel issues, etc.), that's something that should be looked into ๐Ÿ˜„

sharp berry
#

I think it's odd though that like I even tried removing Z2M add-on completely. Reset a single Philips Hue bulb via Hue dimmer remote, then configured ZHA with my SkyConnect coordinator and put it in pairing mode, then flipped the Hue bulb on and searched multiple times but it doesn't connect to the coordinator.

#

Tried a handful of other bulbs as well that should work and those don't connect either.

sharp berry
austere patio
#

Try the channel suggestion I made above. Other than the default channel choice (or Z2M's hard-coded defaults, which you say you aren't using), there should be zero difference between how the two integrations handle joining devices

sharp berry
#

What would be the process you'd suggest if I want to start from scratch, other than a fresh HA install. (I have a lot of other configurations set up in HA.)

sharp berry
#

I can send you my configs

austere patio
#

If you are already using Z2M and want to migrate to ZHA, move your existing coordinator and then use the migration feature to move to the new coordinator. If not, ZHA's channel config is only used when setting up a new network (https://www.home-assistant.io/integrations/zha/#defining-zigbee-channel-to-use) so make sure to set it to 25 and then click the "form a new network" option in the config flow

sharp berry
#

I can try this, only thing is none of my Zigbee devices are working since I've reverted back to my HA backup. Have tried restarting both HA and my RPi a few times. Can confirm that the Z2M add-on and Mosquitto add-ons are running. Also can see my switches as toggle-able in the Lovelace front-end. Controlling them does nothing. If I try and toggle a light for instance directly within Z2M, I get this message:

Publish 'set' 'color_temp' to 'Kitchen Hanging Pendant Light' failed: 'Error: Command 0x001788010320c27e/11 lightingColorCtrl.moveToColorTemp({"colortemp":500,"transtime":450}, {"sendWhen":"immediate","timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (no response received)'
#

Literally like no Zigbee devices is responding on my network.

#

(This is still using the Conbee adapter...was just trying to revert back everything to exactly the way it was tonight)

austere patio
#

The Conbee "not working" is not surprising so give it a few minutes after a reboot. I'm also not 100% sure that Z2M actually restores backups to the Conbee so make sure that its network settings match what's in your config file.

sharp berry
#

Ugh haha. I'll have to take a look tomorrow. Can hardly keep my eyes open. Guess I'm gonna be unscrewing some bulbs & flipping some switches to get everything off for at least the night. ๐Ÿ˜…

#

I'll give it another go tomorrow.

#

Thanks again puddly, seriously!

austere patio
#

No worries, especially since nothing is working ๐Ÿ™‚

sharp berry
#

I'll message ya tomorrow once I can look at things with fresh eyes and hopefully a clear mind.

tiny timber
#

One of my Hue motion sensors (SML001) keeps dropping off my network, but only one of them. How would I go about finding out the cause for it?

#

Is it trying to re-mesh and failing?

tulip patrol
#

@tiny timber you could check if the firmware versions match

tiny timber
#

They do match.

tulip patrol
#

you could put a fresh battery in it, to rule that out

#

are you using ZHA or Z2M?

tiny timber
#

Just did before moving them from Hue to ZHA on SkyConnect.

tulip patrol
#

do you have any router devices connected? if so, you could try connecting the motion sensor via that device

#

instead of pairing it with the coordinator directly

tiny timber
#

Yes, bulbs and sockets. I believe I did pair it with the closest socket originally.

tulip patrol
#

if you've got any bulbs that are never unpowered, try one of those

tiny timber
#

Why would a bulb be better than a socket?

tulip patrol
#

depends on a few factors I guess, manufacturer is one

tiny timber
#

Sockets are Ikea, bulbs are Hue - so might be better comms Hue -> Hue I guess.

#

Can't hurt to try ๐Ÿ™‚

tulip patrol
#

that's what I was thinking

tiny timber
#

Alright, so very interesting results. It will only interview directly with the coordinator which is downstairs which explains the dropping off the network.

#

But more importantly, why would it only interview directly with the coordinator?

tulip patrol
#

no idea sorry, wait until one of the devs see it, they might know

tiny timber
#

Thanks for debugging with me anyway. Got some interesting results!

odd mango
#

hey. are there any din-mounted raspberries with onboard zigbee?

torn marlin
#

short version (long version with details being typed into notepad):
using zigbee2mqtt as an HA add-on, I have a door sensor that I want to invert contact detection for. in HA /config/zigbee2mqtt/configuration.yaml I am setting payload_on/off; changes I make here appear in the zigbee2mqtt device but these two settings are being overridden by something (the device class?)
how do I invert the sensor using payload_on/payload_off?

odd mango
#

is there an easy way to migrate zha to z2m?

dense quest
#

MY zigbee switch is no longer working. it halts on starting interview when i want to reconnect it.

dire owl
#

Hey all I'm a little confused if the new Aqara Cube T1 Pro is an improvement over the older cube in terms of functionality. Anybody know ? Thanks

ember raven
#

I'm about to migrate everything from ZHA -> MQTT. So I disabled ZHA, and I'm now installing mosquito, etc. That should work right? I don't need to delete the ZHA integration?

sour shadow
#

You probably do want to remove it, but I don't think it's necessary

grim igloo
#

otherwise functionality is similar or the same i think. maybe newer chip or sensors?

ember raven
#

I'm wondering if it's related, but when I try to install the MQTT integration, it doesn't "automatically" see the mosquito service, and then I try to configure it, it asks for the broker name, etc.

sour shadow
#

That's not related

grim igloo
#

i have 3x of the non pro cube and like them a lot. i use the blueprint made by whatarewefixing today to add triggers

sour shadow
#

AFAIK the MQTT integration is only set up automatically if you're using the Mosquitto add-on

ember raven
#

All the tutorials show different screens than mine, might simply be older HASS version

#

Yup, using mosquito

sour shadow
#

Well, any video over a week old risks being outdated

ember raven
#

True, it's amazing how quickly HA develops

grim igloo
#

addon = container to run the mqtt broker. integration = wants details to integrate with said broker

ember raven
sour shadow
#

Some add-ons auto configure the related integration

ember raven
#

I tried adding the hostname manually, got an error with no explanation

raven jewel
#

What host name did you use? The docs for the add-on specify the host name

ember raven
#

It also doesn't auto discover the MQTT integration, only my ZHA integration with the conbee stick listed. Maybe I'm supposed to remove that first somehow?

#

core-mosquito (I can see it in the mosquito config listed there)

#

It just says "failed to connect"

raven jewel
#

Is the mosquitto add-on running? Try setting its log level to debug and seeing what its logs say

ember raven
#

Trying the debug, it is running.

#

Or it was, until HASS crashed... hard reset I guess...

raven jewel
#

What machine are you running on? Crashing sounds like a problem with running out of memory

ember raven
#

Rpi4 8GB. Never had a crash before, and I have like 20 devices max.

#

been monitoring memory closely and never even got close

raven jewel
#

8GB should be enough. Are you running on a micro SD or SSD?

ember raven
#

ssd

#

m2, in an argon case

raven jewel
#

Excellent, that's the best Pi setup you can get ๐Ÿ˜„

#

Hopefully it was just a fluke.

ember raven
#

Was hoping so ๐Ÿ™‚

#

One day might look at a NUC if I want to do something like frigate, but for the foreseeable future this should o

dire owl
grim igloo
ember raven
dire owl
ember raven
#

s6-rc: info: service legacy-services successfully started
[18:27:22] INFO: Successfully send discovery information to Home Assistant.
[18:27:23] INFO: Successfully send service information to the Supervisor.

grim igloo
raven jewel
ember raven
#

nope

raven jewel
#

Nothing in the HA core or supervisor logs either?

dire owl
#

Okay I'll do that thanks very much but I guess that means I'll have to redo all my triggers? And automations

ember raven
#

How do I get to those in an easy way. Until now I've been using the studio code thing, but that's of course not a simple way

#

If I go co config/logs then I see some logs there, for core I see nothing related to mQTT or ZHA. Only a bunch of automations that currently don't work because my zigbee devices are gone ::

grim igloo
dire owl
#

Thanks again will do

rapid dawnBOT
#

Open your Home Assistant instance and show your Home Assistant logs

raven jewel
#

It's under settings ๐Ÿ™‚

ember raven
#

Ahhh found something... Interesting...
23-01-15 18:37:34 ERROR (MainThread) [supervisor.services.modules.mqtt] There is already a MQTT service in use from core_mosquitto

raven jewel
#

Interesting, and not something I'm familiar with I'm afraid!

ember raven
#

In devices it keeps auto discovering the Conbee. Is that ok, is that coming from the conbee stick? I'm guessing that's HA trying to use ZHA?

raven jewel
#

Yes, you can use the dotsvertical to ignore it.

small citrus
#

@raven jewel should I ask the question here again or just continue? (ref: zigbee id: light vs fan)

raven jewel
sour shadow
#

Ask again, not everybody is in every channel ๐Ÿ˜‰

#

Also... provide the information I said you should provide ๐Ÿ˜‰

small citrus
sour shadow
#

Yes

#

Probably Rosemary was confused as to why you tagged them

raven jewel
#

Indeed I was

ember raven
raven jewel
#

Whoops, well at least you've had a PICNIC! ๐Ÿ˜„

#

(Problem in chair, not in computer)

small citrus
#

Sorry.

#

Hi, IFor a Zigbee switch HA automatically generated the entity id to: light.tz3000_46t1rvdu_ts0001_light.
Can I change the domain and automatically added suffix (both = light) to fan maybe to something like: fan.tz3000_46t1rvdu_ts0001_fan, or just: light.tz3000_46t1rvdu_ts0001_fan?

Using ZHA, I have a zigbee mini smart switch controlling a regular bathroom light switch that turns a bathroom fan on/off (no light).

I hope this is the right channel/thread since this seems to be more HA related than zigbee.

small citrus
#

Ok, I'll look into the link and the suggestions given to me in the 'General' channel by you both. Thanks again.

ember raven
#

Something I can't seem to easily find. DO I need to do something to "connect" my conbee stick, or can I just start adding devices and HA already gets that the stick is involved?

raven jewel
#

Well as you're using MQTT I presume you want to use Zigbee2MQTT, you just need to tell Z2M the path for the stick (use the serial ID one), and pair things with that

sour shadow
#

Yeah, if you're using Zigbee2MQTT HA doesn't have any involvement

ember raven
#

Indeed, want to use z2m, but I'm kindof lost on the next step to start configuring.

sour shadow
raven jewel
#

Once you add the devices to Z2M, assuming you configured MQTT in Z2M correctly the devices will just show up in HA

ember raven
#

Yeah, it's where to add the stick that I'm struggling with. Going through the docs again now.

raven jewel
#

Do you have the path for the stick already?

ember raven
#

through dmesg you mean?

raven jewel
#

I mean something like /dev/serial/by-id/usb-Silicon_Labs_HubZ_Smart_Home_Controller_C0F003D3-if01-port0

#

Settings > System > Hardware > dotsvertical > All Hardware is where you'll find that ๐Ÿ™‚

ember raven
#

Got it now ๐Ÿ˜„

#

Thanks

#

So yes, I have the path

#

Device path, and Device ID (one including the whole device name with serial number, etc) and one simply ttyACM1

raven jewel
#

You want the whole one with the serial. Otherwise when you reboot the host the other one might change ๐Ÿ™‚

ember raven
#

Ahhhh I was still missing the z2m addon

raven jewel
#

Well that's a bit of a hurdle, but at least you're on the right path now ๐Ÿ™‚

raven jewel
#

Congrats!

grim igloo
#

Hey just a heads up before pairing devices you might want to prep a little @ember raven

#

Choosing the correct zigbee channel, changing network keys, pan id, and extended pan id

#

All require re-pairing all devices after changing them so best to do it now

#

Btw is this something we could get added as a pin @carmine hamlet ?

#

Itโ€™s pretty useful for any z2m user

small citrus
ember raven
#

Is it correct that if I add a router later than an end-device, that end device will never connect through it? I assume not right>?

sour shadow
#

Well, maybe

#

It depends entirely on the end devices, some will, some won't

#

Zigbee 3.0 devices should, Zigbee 1.2 devices from Xiaomi almost certainly won't, others ... may

grim igloo
#

tinkerer thoughts on pinning information above?

ember raven
#

Ah thanks

sour shadow
grim igloo
#
[12:39 PM]Hmoney007: Choosing the correct zigbee channel, changing network keys, pan id, and extended pan id
[12:40 PM]Hmoney007: All require re-pairing all devices after changing them so best to do it now 
[12:41 PM]Hmoney007: Btw is this something we could get added as a pin @RobC ? 
[12:41 PM]Hmoney007: Itโ€™s pretty useful for any z2m user```
#

i can summarize it and condense into a single comment

sour shadow
#

Yeah, I'll steal some other content from another Discord too

grim igloo
#

ok thanks

#

digiblur has a video on it discussing why and how to change it if you want to link that in the pin (for people who want video guides)

sour shadow
#

If you're setting up Zigbee2MQTT then:

  1. Upgrade your CC2652 to the latest firmware
  2. Plug it into a USB extension cable (USB 2.0 cable or USB 2.0 port, not a USB 3.0 cable in a USB 3.0 port) - see this video for why. The manufacturers of the ConBee range recommend this too, and you can read more about it in this whitepaper
  3. Do not use the default network channel (as of 1.33.x the key, and panID/extendedPanID are auto-generated)
  4. Take the time now to find a good Zigbee channel (and where possible use a ZLL channel - one of 15, 20, or 25)

For those of you that love your videos, see DigiBlur's video

grim igloo
#

Thank you

rapid solstice
#

I have a quick zigbee2mqtt question. I have a Hue dimmer switch and a Hue lightstrip. How do I pair them together? Via automations in HA? How would I do a long-press for dim-up/down? Thx for suggestions ๐Ÿ™‚ Same question again afterwards with an IKEA dimmer-puck-thing and an IKEA bulb... but I guess the procedure will be the same then ๐Ÿ™‚
Deconz used to have a seperate menu for that... maybe zigbee2mqtt has it as well an I am just blind

grim igloo
#

Fwiw I created a GitHub issue on z2m repo asking for these defaults not to be static across all installs and it was closed by the owner

#

So I guess it isnโ€™t important to him

grim igloo
#

otherwise you can technically diy it all with automations and helpers but this is the simple way

rapid solstice
#

Cause in zigbee2mqtt i have seen it in the payload at least..

lilac wharf
grim igloo
lilac wharf
#

It works for panID too

grim igloo
#

Cool

lilac wharf
#

As for the add-on version,maybe it's a limitation of that platform

grim igloo
#

Leaving it up to the end user to change these and leaving them at defaults is the least secure option possible

#

Puddly doesnโ€™t have ZHA do this.

sour shadow
#

So submit a PR to Z2M ๐Ÿ˜‰

grim igloo
#

I did and it got closed I said it above

#

Well I opened an issue to get feedback from the dev first

carmine hamlet
#

Just to have the example use GENERATE?

sour shadow
#

I know I suggested a while back that the default config didn't use (channel) 11, but that went nowhere

ember raven
sour shadow
#

Zigbee 1.2 or 3.0?

sour shadow
#

Their Zigbee 1.2 stuff pairs to the first device it hears from... you probably don't want that

ember raven
grim igloo
#

ugh im special. i saw the email that it got closed and didnt confirm it.. it was the damn stale bot marking it closed not Koenkk.. ๐Ÿ˜ฆ

delicate gale
#

Hello !im wondering if anyone else have had problems with their IKEA on/off switches.? Connected via deconz mine two days ago and was working fine. Today they are living their own life, working when they want to. Ive changed the batteries a couple of days ago. Thanks.

ember raven
hollow chasm
#

Are you using Z2M or ZHA?

ember raven
#

z2m

#

as of today. Busy migrating

hollow chasm
#

Instead of clicking Permit Join (all), click the drop-down and pick the router you want it to join to

rapid solstice
grim igloo
delicate gale
rapid solstice
#

and check the rooms they are in... maybe there is something misconfigured there... just a wild guess... good luck ๐Ÿ™‚

delicate gale
pulsar vault
#

Any advice or tips would be appreciated.

ember raven
#

Tried pairing my motion sensor (IKEA) directly with the router, but in my map it still ends up connected to the coordinator

#

is this normal?

sour shadow
#

Devices get to pick how they connect, you can't lock them to a given router

tiny timber
#

Does anyone know why 1 of my Hue Motion Sensors (SML001) will only allow connection via coordinator (times out when connecting via much closer routers), while my 2 others can connect/mesh via routers fine? Using SkyConnect & ZHA.

ember raven
sour shadow
#

It's up to the device

#

You can say pair via this router and they have no choice right then but as soon as they've joined they get to pick what they do

#

Add a new router later, maybe they'll pick it, maybe they won't

tiny timber
#

OK, interesting. Looks like it has re-meshed to the closest router which is good. Just thought it was weird that every other device of the same type/firmware could connect direct to the specified router, but that one couldn't.

ember raven
tiny timber
#

Exact same issue for me @ember raven. Let it settle for a day or so by the looks. My problem sensor has re-meshed itself to a better router.

sour shadow
#

Add routers, re-pair via the router, let it work it out from there

ember raven
#

Ok cool thanks!

gentle aspen
#

Just did backup of HAOS on Pi4, and restored it on a CM4 IO board. Using same USB Zigbee stick w/ZHA fw but Zigbee lights are not responding.

Stick directly connected to USB before and after; is the IO board (also USB 2.0) more noisy needing an extension cable?

edit: yes, yes it needed the extension ... just had to go buy one.

hushed furnace
#

Hi!
I would love to add zigbee to my HA setup. What is the best website to preorder the new skyconnect stick in the netherlands?

sour shadow
#

Tagging balloob is unlikely to get you a meaningful answer

#

And is a little rude

#

The ZHA devs would be more likely to be able to answer that anyway

lime goblet
#

Oh I am sorry. I just dont know who to ask for ZHA stuff?

sour shadow
#

Well, mostly pinging devs is considered rude and counterproductive

lime goblet
#

Point taken

sour shadow
#

You can search to see if it's been discussed already

#

You can open feature requests on the forum

tiny timber
#

I have a YRD256 Yale Assure SL door lock connected via ZHA through my SkyConnect that doesn't seem to be reporting state correctly. It's responding to lock/unlock commands, but doesn't ever update its locked/unlocked status. Anything I can do to try debug that?

mellow geode
mellow geode
#

Ah, yeah. Regions are somewhat hard to support for the FP1

lime goblet
mellow geode
#

Itโ€™s not trivial to port it to ZHA though (and it likely requires changes to both zha-quirks and ZHA in HA core)

trail gorge
#

Does anyone know what this could be for? I actually have two on_off switches in HA as well as the actual switch for just one physical light switch

Toggling them does not seem to do anything at all

I'm using ZHA

molten linden
trail gorge
# molten linden The switch likely has 2 endpoints with each having a on_off cluster. Whatโ€™s the ...

Aqaraย Smart Wall Switch H1 EU (No Neutral, Single Rocker)

What is this on/off cluster for though? What does it activate/deactivate?

These switches that get made seem to be different from the actual physical switch that it controls

I can't send images here for some reason, but I have 3 total switches for a device that only has 1 actual switch. The first switch works fine, but the other two ones seem to do nothing

#

There's two onOff clusters indeed, and there's also the WallSwitchOnoff cluster which has the working switch.

What would the other two be for? I can't seem to find any info online about this

Edit1: They show as endpoint IDs 2 &3, id:0x0006 for both, type in for both

Edit2: I think this is the quirk? zhaquirks.xiaomi.aqara.ctrl_neutral.CtrlNeutral

molten linden
#

Iโ€™d recommend checking the zha device handlers repo for any existing issues and if none, create a new one

trail gorge
#

I mean it's not really an issue, just not sure what these are for

ocean hatch
#

I'm trying to figure out the best way to smarten a couple curtain motors controlled by 3 switches and 4 outlets. One switch powers two 3-way switches which control up and down for each curtain by flipping power between each outlet in a receptacle. I would like the switches to be Zigbee, though I could go with Z-Wave. I'll need the 3-ways to have an off position so I could control one curtain at a time, I currently hover (for lack of a better term) the standard switches in the middle to achieve that. I would also like the ability to control speed especially because of how loud the motors are. I was thinking the main switch could be a dimmer, but that won't work right with the 3-ways being smart. Any ideas or switch recommendations?

trail gorge
#

Do you necessarily need a single 3 way?

#

You could wire up 3 different smart relays, one wiwth a dimming capability, and still use your existing switches the same way. The energy usage is negligible. Or at least you should be able to

#

I m trying to figure out the best way to

tiny timber
#

Anyone got any idea why a device would be having trouble updating state/responding to service calls since moving to SkyConnect from Conbee II? Still using ZHA, so imagine the quirks are all the same. The device in question is the Yale Assure SL. Identifies as a YRD226/246 TSDB.

#

Was working totally fine before the move to SkyConnect, now either state won't update, controls won't work, or both.

#

Weird thing is that it doesn't go "Unavailable".

#

Am getting this error when trying to unlock it: lock.frontdoor: Error with unlock_door: Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>

#

And have these on startup which look to be related:

[0xA557:11:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
[0xA557:11:0x0008]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
glossy lintel
#

hey guys, I am STILL trying to stabilize my Z2M setup, and I activated availability in my settings, thing is, I can see EVERYTHING offline when I do this. Still I can trigger my switches, so they are there, but I have to trigger them so tat Z2M sees them as present.

#

i this normal ?

#

As I have devices which sometimes do not respond anymore, I'm wondering if it could be that they suddenly report being offline?

#

Note that this timeout is persisted between Zigbee2MQTT restarts. So if you e.g. stop Zigbee2MQTT for longer than 10 minutes, all yours active devices will be marked as offline initially.

#

ok, so it is normal actually, if they are not reporting anything they get pinged after 10 minutes (or 25 hours for the passive devices)

#

clear

glossy lintel
#

I noticed on very strange thing though

#

so, sometimes, I have to press my hue button several times, and nothing happens (the lights are not started)

#

after a few pressed, something happens, I don't know what, but the light suddenly start to work at each press of the button

#

could it be that the on/off switches enters some kind of an idle/sleep mode ? Or could it be that Z2M has to figure out the route to the devices again or something like that ?

sour shadow
#

Sounds like it's not connected to your mesh and is having to reconnect

#

Z2M has nothing to do with routes though

glossy lintel
#

can I force the switches to send keeplives ?

#

keepalives

#

hello Tinkerer by the way ๐Ÿ™‚

sour shadow
#

Battery devices, unlikely. Mains devices almost certainly

#

Look at the Reporting tab

glossy lintel
#

thanks ! my battery devices doesn't seem to have any issues

#

I can see the buttons actions reported in the logs

#

it's really these damn sonoff ZBMINIs who seem to loose their routes

sour shadow
#

For instance, I have a bulb that sometimes doesn't turn on/off when told, but Z2M thinks it has, so I have it set to report the on/off state periodically

glossy lintel
#

here its different

#

Z2M shows me a timeout message

#

then I eventually will see it start and stop super shortly

#

and after that, it just works

#

I4m heading to the reporting tab, there is an option in there to keep wired devices alive ?

#

hm and now that I say the countrary, I get a timeout on both devices....

#

Publish 'set' 'state' to 'Toilettes - interrupteur sonoff' failed: 'Error: Command 0x00124b0024bfee05/1 genOnOff.off({}, {"sendWhen":"immediate","timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Timeout - 59175 - 1 - 166 - 6 - 11 after 10000ms)'

#

I'm sorry but I cannot find any reporting tab, what do you exactly mean Tinkerer ?

glossy lintel
#

I found the reporting tab, but it's a little hard to understand at first sight

sour shadow
#

for example

glossy lintel
#

ok so for me, this one is the most problematic one

#

damn I'm not allowed to post screenshots in here, true...

#

first of all I need to get it back online, or it wont work at all ๐Ÿ˜„

#

ok Tinkerer, I stupidly did copy your settings

#

what will this do now ?

#

the device will shoot a keepalive signal after max 81 seconds ?

#

this is how it looks on my end

#

endpoint number is 1

#

it's the only choice I've got

#

if I get it, I tell the on/off switches to send the status of their on/off state every 81 seconds

#

which is actually the contrary of the availability feature ? (where the server tries to ping the on/off switches) ?

#

and hopefully, making the end devices send their states will keep them alive and connected ?

#

I'm just trying to understand what I'm doing instead of stupidly copying what you tell me, so sorry if the question sounds dumb ๐Ÿ™‚

sour shadow
#

It's as you said, getting the device to report in every (in that case) 81 seconds.

#

I don't have them all set to 81 seconds, and many end devices are set to only report in hourly (where they even support it)

#

I doubt this will help you though, but it probably won't hurt

glossy lintel
#

well it's worth trying

#

๐Ÿ™‚

elder shadow
sour shadow
#

No

#

And... it's experimental, it's not really expected to work well

elder shadow
#

damn, fail purchase

sour shadow
#

ZHA should be just fine with it

unreal sedge
#

i still think it's interesting sonoff just straight up gives instructions on their own site how to use it with HA.

#

unrelated, zigbee isn't a fan of european construction with all the brick walls and metal support structures ๐Ÿฅฒ

torn marlin
#

reposting: I've got zigbee2mqtt as an add-on in HA(OS), and a tuya contact sensor in the garage, the idea being I can set up a "garage door is left open" alert. the state in HA is inverted, so when the contact is open (no magnet) the device shows the door as closed.
in the HA web UI file editor, in /config/zigbee2mqtt/configuration.yaml I set payload_on: true and payload_off: false for the device (then delete device from HA and reload MQTT integration), but I THINK it's being overridden by whatever is responsible for applying a device class template, as its entry under Settings -> Devices & Services -> Devices -> MQTT Info -> Entities -> [devid]/contact/config payload shows the inverse for the payloads and it has gained a "value_template": "{{ value_json.contact }}"

what I am doing wrong and how can I debug this?

glossy lintel
#

๐Ÿ˜„

unreal sedge
#

i had a suspicion it would be crappy (as wifi in general is a pain in the house) but i didn't expect it to play this badly with it. TBF there's like 5 inverters fucking up the WIFI space with the accespoints i can't disable

#

it'll be a very close together mesh

raven jewel
ocean hatch
#

I have a few Sengled bulbs that keep becoming unresponsive until I power them off and on. Is there an easy way to find out what's causing that without removing other devices from the network and waiting for it to happen again?

unreal sedge
#

"found" (more like realised) the issue that causes poor signal. i use the sonoff zigbee stick as is. so the default 5db transmit power. haven't gotten arround yet to reflashing it and using Z2M instead of ZHA

past kraken
#

is there a problem with the default transmit power? I thought you wouldn't want it too high since end battery devices wouldn't be able to transmit back easily and you're better off relying on a strong mesh?

unreal sedge
#

it hadn't actually occured to me yet that whatever device you buy might just have a crappy radio. and there's probably very poor documentation of it

austere patio
#

If you have a weak mesh, increasing the transmit power won't help (since you can only do it for the coordinator or a router running custom firmware). The devices trying to respond will still not be heard.

grim igloo
median totem
#

I got the SkyConnect Zigbee dongle and bought this Zigbee compatible switch from amazon. HA wonโ€™t detect it https://a.co/d/fZFOyIz

mellow geode
#

So you're saying that the switch doesn't join your Zigbee network? (but the SkyConnect works fine?)

torn marlin
raven jewel
somber ridge
#

hello! kinda new here but looking for some help with aqara air quality monitor

  1. I was able to add it successfully to my HA; however, the device reads 0009 ppb (TVOC) and HA reads 264ppb, so wondering if there's something wrong there or some conversion I'm not aware of?
  2. The Zigbee USB seems to disconnect from the monitor at times
final kestrel
#

Thank god for touchlink

#

I accidentally nuked my z2m network while moving over my hue devices before I made a backup ๐Ÿ˜‚

#

I didnโ€™t have a hue dimmer to reset lol

vital ermine
#

another round of bughunting. Whenever my zigbee mesh becomes slow to respond i think i get this:

Source: components/zha/core/channels/base.py:486
Integration: Zigbee Home Automation (documentation, issues)
First occurred: 19:42:42 (3 occurrences)
Last logged: 19:42:42

[0x1E0F:1:0x0006]: async_initialize: all attempts have failed: [TimeoutError(), TimeoutError(), TimeoutError(), TimeoutError()]
[0x1E0F:1:0x0008]: async_initialize: all attempts have failed: [TimeoutError(), TimeoutError(), TimeoutError(), TimeoutError()]
[0x1E0F:1:0x0300]: async_initialize: all attempts have failed: [TimeoutError(), TimeoutError(), TimeoutError(), TimeoutError()]````
#

ive seen this pop up on discord but never conclusive

austere patio
#

It's not a problem, it's a symptom. All it means is that when a device was being initialized, the request to it timed out.

vital ermine
#

i gave the box a ye'old reboot and all misery went away. But its recurring eventually

grim igloo
austere patio
grim igloo
#

sorry it was a bad twist on words from maga "make america great again"

#

but other than the joke, i meant it could be a bit more clear from a noob perspective

#

i.e. the logs could summarize like you did

novel cloud
#

That would be good, for common errors to have clearer messages that include possible reasons for the error.

grim igloo
#

yep

tiny timber
#

sigh My troublesome Hue motion sensor (SML001) has dropped off the network again. And my front door lock is still not reporting state/responding to commands. Didn't have any of these issues with the Conbee II, anything I can do to debug them on the SkyConnect?

grim igloo
#

is that the new gen or older?

#

looks like 002 is the newer one

austere patio
#

Is your SkyConnect on the USB extension cable and in the exact same spot as the Conbee?

tiny timber
#

It's older, but I have 2 others of the same gen that work fine. It's gotta be to do with router or something.

ocean hatch
mellow geode
grim igloo
#

ah

final kestrel
#

Recreated the hue 400ms transition time with z2m and my skyconnect ๐Ÿ˜„

#

The brightness change is smooth again

clever cedar
#

Guys quick question.. where can I see which is the latest firmware for the sonoff usb dongle plus?

#

I have the 20220219

#

actually I want to see if I can increaste its TX and i've read that you can do it on HA GUI but the option is not appearing on my side

upbeat pecan
#

Not sure if this is the right channel. I have a couple zigbee bulbs connected to ZHA. After a recent power outage, the bulbs no longer connect to HA and I can't re-pair them because HA doesn't find anything after I take them out and screw them back in. Not sure if it matters, but one is a Hue bulb and the other is Sengled. They still work perfectly fine as normal lightbulbs, so it seems like something specific to zigbee got messed up. Is there anything I can do to get them working again? Or do I just need to replace them?

mellow geode
tiny timber
#

Taking them out and putting them back in won't put them in pairing mode. You need to turn them off/on 4 times with about 1/2 a second delay between each (for Hue).

mellow geode
clever cedar
mellow geode
#

Take a ZHA backup in the config panel to be safe. (ZHA should automatically restore the last auto backup though)

#

So you should be fine

clever cedar
upbeat pecan
mellow geode
tiny timber
mellow geode
upbeat pecan
#

Good to know. I'll give that a try then.

mellow geode
#

Doesn't work on all Hue lights though. Depends on what model they are (and what firmware)

tiny timber
#

I think you're right. I think it's 4 presses on the Ikea accessories to put them in pairing mode.

hollow chasm
#

The Z2M website has great pairing instructions for basically everything

clever cedar
wise flower
#

Hi --- (new to HA) --- I just bought a SONOFF Zigbee (https://www.amazon.es/dp/B09KXTCMSC?psc=1&ref=ppx_yo2ov_dt_b_product_details) and on the page it says it's based on TI CC2652P + CP2002N, ie. ZBDongle-P. However, when I go to the serial port (in order to flash it) I see: /dev/serial/by-id/usb-Silicon_Labs_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001-if00-port0. Does the "Silicon_Labs" there mean that this is based on the other chipset, ZBDongle-E? Is there a way to be sure?

austere patio
wise flower
austere patio
#

The table in the firmware repo should tell you which firmware is compatible with your stick

wise flower
clever cedar
#

notice: My Sonoff is the "Zigbee 3.0 USB Dongle Plus"

#

not the ZB or the later ones

waxen lynx
#

Hi all, I don't have any zigbee devices yet, but now would like to buy some Aqara devices (some smart plugs and TVOC sensors) to be used around the house. Probably also one of those cubes for my son to control his room.
I think I prefer going Zigbee instead of using the aqara hub with homekit integration.

Which zigbee adaptor can you recommend? I'm looking at conbee II or the sonoff zbdongle E. Some recommendations here?

#

or maybe I should get a skyconnect thingie, but out of stock/hard to get delivered

#

saw a youtube video about conbee II with Z2M and that it does not work reliably. but also read posts about the sonoff working less reliable. so don't know what I should buy for my home.

#

also a bit worried of the range, since my HA server sits in a concrete basement and would like to have coverage around the house. For that an aqara hub would be easier since I can place it somewhere around the house, with zigbee I have to plug it into the usb port in my rack in the basement.

#

problem with the aqara hub is that I can't use the aqara cube then in HA through the homekit integration since homekit doesn't offer support for the cube. that's why zigbee is probably a better fit for me

jagged estuary
#

I can vouch for the SONOFF dongle, it's awesome and I have never had issues with it and Z2M. The range could be an issue although the good thing with Zigbee things is that the devices act as a relay. So if you have some devices in your basement and moving up all the way, it could still work, although I just got a few meters of USB cable and taped it somewhere better.
I don't recommend the Aqara hub, although I'm just using their devices, since you connect everything else too! I started out with Aqara thermostats, moved over to some power plugs, then IKEA light bulbs xD, and everything with that dongle. No three different hubs / apps.

grim igloo
jagged estuary
#

^

grim igloo
#

Figure out if you want zha or z2m

#

Then buy the coordinator best fit for said driver

waxen lynx
#

I don't know both yet, but anno 2023 things seem to move towards z2m more

jagged estuary
#

I've had some random issues with ZHA but Z2M has been working perfectly on my new installation.

grim igloo
#

Tubeโ€™s PoE coordinator with z2m is what Iโ€™d use in your scenario

waxen lynx
#

also will use mqtt for other things too so maybe mqtt is best for me

grim igloo
#

PoE coordinator can live anywhere like middle of the house away from the pi

waxen lynx
#

my house is a KNX house, but could use some small additional sensors here and there

waxen lynx
#

ah PoE would be great and I have many ethernet ports around the house ๐Ÿ™‚

jagged estuary
#

I hope you have fun with Zigbee :D

waxen lynx
#

I just hope it works and will be reliable ๐Ÿ™‚

grim igloo
jagged estuary
#

If you do it properly, it will

grim igloo
#

@molten linden <- creator of linked coordinator above. he's very attentive to customers needs and i'm not sure i've seen one unhappy customer yet

#

i've seen people having trouble getting started cuz they didnt follow his directions or any directions but that's on them lol

waxen lynx
#

sounds good, just need to see if shipping to EU/Belgium

jagged estuary
#

It took me a few tries too but once I got everything set up it's like a 2 min process to add new devices

molten linden
#

Yeah I ship world wide (where allowed)

waxen lynx
#

great!

grim igloo
#

The KNX hub was introduced in Home Assistant 0.24, and it's used by 1553 active installations interesting

#

not very many

waxen lynx
#

yeah and I thought KNX was more widespread

#

it actually is, worldwide even

grim igloo
#

i just looked up some knx config in yaml for home assistant.. gross lol

#

weird

waxen lynx
#

the basic stuff is done in KNX and works decentralized, and just added HA later on for visualisation and advanced automations

#

yeah KNX devices are addressed like that, but works great though. and very stable spec

#

on a slow 9600 bit bus ๐Ÿ™‚

#

but at least things will still work and be supported in 20 years time

#

so using HA and new fancy sensors for additional stuff and don't rely on it for basic house operation

#

now that I'm in #zigbee-archived: any recommendation for a decent keypad to use for arming my alarmo instance?

wise flower
clever cedar
clever cedar
lilac wharf
#

Keep in mind that raising the transmit power on the coordinator will just make it yell louder, not hear devices better

austere patio
#

It also will have zero impact on LQI

hot fable
#

hey guys, if i were looking into getting started with zigbee (probably through usb), what coordinator would people recommend? i've heard a lot about the conbee 2 stick - is that a good one, or should i get something a bit more substantial?

carmine hamlet
#

that is not a good one

hot fable
#

ah, fair enough

carmine hamlet
#

see the pinned messages here

hot fable
#

i saw on a pinned comment a list of other coordinators, but not sure what a good choice would be out of them

grim igloo
#

Zigbee2mqtt and sonoff p dongle or zha and sky connect dongle

#

Or tube PoE coordinator with z2m or zha

hot fable
#

should i go PoE or usb?

grim igloo
#

PoE is nice cuz it can be away from your home assistant install and centrally located easier in some scenarios

#

I use z2m with the sonoff p dongle myself

#

Because it was cheap and I liked z2m user interface

carmine hamlet
#

I use a Pi for my ZWave/Zigbee/BTLE presence dongles

#

not PoE, but decoupled from my main HA instance, too

hot fable
#

well atm i'm still using my laptop with a VM to run HA, but i was thinking of moving it to my plex PC

hot fable
grim igloo
#

$19 on Ali express

hot fable
grim igloo
#

Thatโ€™s the cable selected

#

Each image is a different product

hot fable
#

ah, touche

#

this makes so much more sense

grim igloo
#

But I bought it from the sonoff official store on Ali e

hot fable
#

i was very very very confused for a second there ๐Ÿ˜›

last ruin
#

Z2M: I have a smart plug that suddenly doesn't report watt. Is there a way to try to "wake it up" remotely without turning it off and on again? It's running something atm that shouldn't be stopped midway.

glossy lintel
#

hmmm all my battery devices are seen as offline by Z2M

#

I've started pining them on a regular basis (1 minute) to check their availability, because I've noticed that my door opening sensors are not reporting openings

#

how can I make sure the door sensors reports the opening as soon the door gets opened ? I mean, this was working fine with the sonoff official hub.

sour shadow
#

Well... you've clearly not read the Z2M docs

#

Of course they're going to be offline

jolly narwhal
#

@molten linden any known issues when upgrading ESPHOME on the ethernet coordinator ? Just did a fw upgrade of the zigbee module, no issue, wanted to upgrade esphome from 2022.09 -> latest on your repo, but it doesn't respond to ping any more even after replugging

glossy lintel
#

It's allright and I get that, theysend a keeplive from time to time, and should do it at least once every 25 hours

#

and thats fine

#

and for temp sensors, it IS fine

#

but I don't get how I can make sure my door sensors sends their open/close statuses as soon the door opens

jolly narwhal
glossy lintel
#

I believe they should be sending their "signal" as soon they detect a change

sour shadow
#

They should be, but ... did you read the link and actually understand what it said there?

#

You cannot ping end devices

#

I repeat you cannot ping end devices

#

Setting the availability timeout to one minute for end devices is ... not smart

#

You're ensuring that they get marked as offline

glossy lintel
#

ok that makes sense

sour shadow
#

Passive devices (everything that is not an active device, mostly battery powered devices): these devices need to check-in every 25 hours, they cannot be pinged so if they don't they will be marked as offline.

#

Your problem is that your mesh is broken, devices aren't staying connected

#

Pinging them isn't going to help with that

#

Pinging them may indeed make things worse as you're adding traffic to the mesh

#

Start by making sure all your routers are stable and working, that none of them are going offline at all

glossy lintel
#

they are not going offline

sour shadow
#

hmmm all my battery devices are seen as offline by Z2M

jolly narwhal
#

@molten linden problem solved, classic PEBKAC, Flashed the usbeth firmware instead of the POE firmware angelIachick_cry

outer river
#

so i am setting up a new ZHA network with a CC2652 (sonoff) stick. I've added two hue bulbs. I want them in a zigbee group so that they are joined; i've created a group in ZHA and added them to it. I was expecting to see entities appear that relate to the group, but there is nothing of the sort. Am I doing something wrong, or does it just not work like this?

mellow geode
#

An entity will appear for every ZHA group that has two or more members.

#

Those groups entities are currently assigned to the coordinator device.

outer river
#

oh i have found the entity now. i don't know why i missed it before.

#

thank you

#

is there consequently no way to get rid of the constituent devices? or should i just hide their entities?

mighty river
#

Hi all I have a problem with ZHA (sonoff zigbbe Dongle V2) and january updates.
with the 2022.12.x version everything works fine if I update to 2023.1.x the dongle doesn't work and everything that is zigbee disappears. If I remove "custom_quirks_path: /config/zha_custom_quirks/" from the configuration.yaml file everything works, but I lose the opening percentages of the thermostatic valves (TS601) that I need to control the heating.
if I downgrade to version 2022.12.x and everything works great again.
Some idea? thank you

austere patio
#

If you run custom quirks, it's 100% up to you to read the debug log and fix your quirks accordingly. Code that has been deprecated since September (with a prominent startup warning message!) was removed in 2022.1.0, likely breaking your quirk.

clever cedar
#

fun fact (happened also with my 2.4 wifi)... Decreasing tx power gave me better LQI (and also better wifi coverage and speed)

rapid dawnBOT
novel cloud
#

@austere patio any chance we will see otw updates soon? I know not all sticks support updates without opening them up. The sonoff ZigBee 3.0 stick though I remember reading has an API now?

austere patio
#

For the sticks themselves? Not planned, though there will be a website to flash the SkyConnect and other EZSP-based sticks, like the v2 Sonoff.

foggy solar
#

Whats the verdict on SkyConnect atm? Is it worth upgrading from Conbee 2 if everything is running relatively smoothly currently?

grim igloo
#

If you want zha and future proofing for thread then itโ€™s not a bad idea

#

If I were in your shoes and wanted z2m Iโ€™d buy a $20 sonoff p stick or a tube PoE coordinator if I needed that and had the funds

pine sinew
#

Got a couple of innr bulbs. They connect up to my gateway fine. HA doesn't offer native colour control for them. But I am able to use the "Manage Zigbee device" to see and use colour commands on the device.
i.e. They definitely change colour and I can prod Zigbee through HA to do it.

Any recommendations on how to go about integrating some actual colour controls for these bulbs?

austere patio
#

That sounds like a bug. Do color controls show up when you restart HA?

pine sinew
austere patio
#

In that case, can you upload the diagnostic JSON for the bulb?

pine sinew
austere patio
pine sinew
#

Trying to send a message

austere patio
#

Got it

pine sinew
#

(Sorry, I think it had a little panic over when I tried to convert that to a text file first)

tropic depot
#

where are you looking in the UI for the controls

#

for the light colors

#

color controls only show in the UI when the light is on and when you are in the more info dialog

#

the diag data looks correct

pine sinew
#

config/devices/device

#

So...integrations -> Zigbee Devices -> The Device

tropic depot
#

yeah the color controls are in the more info for the light entity

pine sinew
#

Oh, am I just really dumb?

tropic depot
#

no... just need to learn the UI

#

๐Ÿ˜„

pine sinew
#

I picked this up last Saturday and slightly threw myself at it. These are the first automated lights

#

Brilliant! All works

tropic depot
#

awesome, have fun!!

pine sinew
#

Any last suggestions about how to mess with the colour in automations/scripts etc.? Given that it doesn't expose an entity for these other than the "light" one

sour shadow
#

Use the light.turn_on service call

#

Same as for every other light

pine sinew
#

It's my first light. So that works for me. Perfect thanks. (I was looking at the device -> turn on option)

sour shadow
#

Yeah, don't use device triggers/conditions/actions

#

They're basically the training wheels version

pine sinew
#

For "anything"? Or specifically lights

sour shadow
#

For anything really

pine sinew
#

Okay. Services it is

novel cloud
austere patio
#

Not planned but it'll be possible in the (probably distant) future

novel cloud
#

Sonoff ^

#

how I would know if it's sonoff v2?

austere patio
#

If it says Z-Stack, it's not v2

novel cloud
#

Good to know lol

waxen lynx
#

any experience here with Aqara smart plugs? I would like to know if you can measure low power usage with those plugs. Like consumption < 2W: does it pick this up properly?

jolly narwhal
#

What do you need to monitor that pulls that low wattage?

sharp berry
#

Hey @austere patio , I'm back. Hoping you can help me further debug ZHA. Despite trying to migrate my network like I was trying a few nights ago, I decided to start fresh, but after trying numerous Zigbee lights & plugs (that have been properly reset), nothing will pair.

  1. I completely removed the Zigbee2MQTT supervisor add-on, removed any traces of that add-on I could find (i.e. the /zigbee2mqtt folder.
  2. I also made sure that ZHA integration was not set to be ignored. I then shut down my RPi (which runs latest HA OS v2023.1.5).
  3. I then plugged in my SkyConnect dongle (using the included USB extension cable into a USB 2.0 port on my Pi) & booted up my RPi 4.
  4. Once HA had loaded, I see the Notification where the SkyConnect v1.0 is discovered by ZHA.
  5. I clicked "Configure" and then "Submit" when asked if I want to set up SkyConnect v1.0.
  6. I then select "Erase network settings and form a new network" since I am starting from scratch and do not need/want to migrate anything.
  7. ZHA integration is successfully loaded and when I click "Configure" on the integration, it shows my PAN ID, Extended PID, Channel Num., Coordinator IEEE, Network Key, and Radio type. I then click "Add Device" and let it sit there after turning on several different types of devices (lights, switches, sensors) and nothing is ever found by ZHA.

Is there a known bug w/ ZHA + SkyConnect + HA 2023.1.5? I am not seeing any errors in System > Logs by the ZHA component, so I followed the documentation to enable debug logging. I can send you a dPaste of that if that would be helpful. I see lots of 'SUCCESS' messages in the debug logs, but there is one that is shaded in red.

turbid ledge
#

I paired the new Sonoff ZBMini L2
to zigbee2mqtt and it shows as an end-dvice instead of router, although it is not battery powered
is there a way to flash it with router firmware ?

austere patio
sharp berry
sharp berry
austere patio
#

ZHA doesn't search for devices: it's up to the device to connect to the network, and you'd be notified immediately when one does. If one doesn't, that means one of two things: either the device isn't properly reset and isn't searching for a network, or there is a lot of interference in the location where the SkyConnect is currently residing.

waxen lynx
sharp berry
#

The SkyConnect dongle has been placed in the exact same location as my previous Conbee II dongle.

austere patio
#

As a test, download a ZHA backup JSON from the configuration page

#

And change the channel from 15 to 25 in that JSON file. Then, click the "migrate" button again but re-configure the current radio and upload that modified JSON. It will change your network channel to 25.

sharp berry
#

Do I need to restart HA or my RPi once I make this change?

austere patio
#

No

sharp berry
#

So far nothing is happening yet while it's 'searching...'. I currently have 3 different brands of (reset) smart plugs and 2 different brands of (reset) bulbs on.

#

I presume the USB cable is fine since HA is discovering the SkyConnect, but I'll swap that out with a different cable (the extension cable I was using before with my Conbee II) just to rule out that the cable isn't an issue.

austere patio
#

Hmm. There's one more thing to try. Send me a PM if you have a few minutes to install the SSH addon and try something a little different.

grim igloo
#

Can we get an update in the channel on the resolution?

sharp berry
#

@austere patio โ€“ Ok...I might be onto something, but it'll be a few minutes for me to try pairing a few things. I swapped out the cable, plugged the SkyConnect into that and the two devices I have plugged in are now discovered by ZHA. Things to note are that the second USB cable I tried is thicker (has better shielding). It is a cable that is ~ 3 feet long vs. the 1.5 ft. length of the extension cable supplied by NABU CASA with the SkyConnect.

#

Location of the dongle remains unchanged.

#

I also still have the channel set to 25 like you tried having me change. I'm going to try changing it back to the default of 15 now and reset those devices to see if it works on channel 15 since the documentation says...

Regardless, note that the best practice recommendation is, however, not to change the Zigbee channel from default as not all Zigbee devices support all channels. If you have issues with overlapping frequencies, then it will generally be a better idea to just change Wi-Fi channels on your Wi-Fi Router or all your Wi-Fi Access Points instead.

austere patio
#

25 is no worse than 15 in that regard

#

Things get bad when you try to use channels that aren't 15, 20, or 25

sharp berry
#

Yeah, I was just going to switch it back to the default of 15 because of what the documentation states (that I pasted above)

#

Sounds like older Zigbee devices might not support channel 25 as well as they do channel 15

grim igloo
#

other way around iirc

sharp berry
grim igloo
#

some devices have been reported to have issues joining channel 15 or actively refuse to iirc

sharp berry
#

Oh, ok! Well I'll leave it at channel 25 then. I just was trying to prevent deviating from the documentation as much as possible.

austere patio
#

It's only a few (at this point) obscure brands that had issues with nonstandard channels (i.e. not 11/15/20/25)

#

ZHA has used 15 as the channel default for years now and I've not heard of any devices having issues with it

sharp berry
#

@austere patio โ€“ Say I want to go back to channel 15 to try out, what's my process there? Do I just need to blow away the integration and start fresh again?

austere patio
#

That's the easiest way. You can also just do the same thing you did to go to 25...but use 15 instead

sharp berry
#

Or follow your process with the download backup, etc.

#

If I can get this all working, I'm literally going to virtually hug you

#

...and honestly sooooo ready to divorce my Conbee II. I know they're great, but truly have had more issues with later versions of HA. They're so slow to roll out firmware updates.

austere patio
#

Newer firmwares also seemingly have issues, so you may not want to eagerly upgrade it to begin with ๐Ÿ˜†

#

But their entire firmware is closed-source, unlike all other popular coordinators

sharp berry
#

Haha, very true, but like my Conbee II would just drop the network at points or something. It was weird.

#

Plus, I'm rooting for NABU with this SkyConnectโ€”wanted to support them and know if they manage it like everything else like you and the codeowners do, it'll be top-notch. ๐Ÿ™‚

jolly narwhal
sharp berry
#

And I won't have to worry about upgrades as much.

jolly narwhal
#

Long live Texas instruments, have had two issues the last 4 years that wasn't my own fault

#

Rock solid ZigBee stuff

austere patio
#

If swapping out the USB cable does make a difference (and if swapping back to the original one makes it break again), let me know, it's definitely something interesting

sharp berry
sharp berry
austere patio
jolly narwhal
sharp berry
#

Cool! Was looking at the SONOFF Zigbee 3.0 dongle for awhile and almost considered that tbh because it seems like a lot of YouTubers are bragging about it.

austere patio
#

YouTubers aren't generally the best source for up-to-date (or accurate) information ๐Ÿ˜†

grim igloo
#

no one brags about sonoff sticks they're just cheap and only some of them are fucky wucky (technical term)

jolly narwhal
#

YouTubers ๐Ÿคข

sharp berry
#

Haha fair enoughโ€”I do try and take everything with a grain of salt, hence why I never ordered one. haha

sharp berry
#

Too bad they're out of stock haha or else I'd be tempted to try that one out. (Damn chip shortage.) I don't have PoE so unfortunately the tubes one isn't a possibility.

#

But for now, guess I'm gonna give the SkyConnect a run for its money.

grim igloo
#

everyone has PoE some just havent bought the hardware yet to unlock that perk

#

it's in our hearts

sharp berry
#

Best thing I've read all day

#

@austere patio โ€“ Where does ZHA save it's device database? I tried removing the integration, restarted HA, and then re-added the integration but the couple of devices that ZHA found are showing (even though they're not plugged in). These were channel 25, not the channel 15 I'm switching to. How are those two devices loading back in with the ZHA integration? Can I make it so that I start with a completely fresh integration of ZHA?

austere patio
#

Their basic info is cached in /config/zigbee.db

#

It just makes them re-join faster

sharp berry
#

I must be going crazy...I see no zigbee.db

#

That should be next to/at the same level as my HA configuration.yaml file, correct?

austere patio
#

Yes

tiny timber
#

I am very much getting sick of my devices (Hue motion sensors SML001 and Yale YRD226/246) dropping off my SkyConnect (ZHA) mesh every day and no one has been able to even remotely help with debugging it. Have plenty of routers, but without fail they will drop off at least once a day when they worked fine on the Conbee II. I'll ask here once more before I migrate back to the Conbee - any ideas on how I'd debug it?

austere patio
#

How many routers and how many end devices?

tiny timber
#

7 routers + coordinator over 2 floors. 20 end devices.

austere patio
#

Where is your coordinator physically located?

lime goblet
grim igloo
#

that's not accurate

austere patio
#

Integration has zero impact on network operation beyond the initial channel choice

#

Everything else is handled by the adapter

tiny timber
#

Exact same place the Conbee II was. 2m USB extension cable close to the roof of the bottom floor.

lime goblet
#

Just my personal experience

austere patio
tiny timber
#

Sure, give me 5. Not at my PC.

sharp berry
#

Although with the Aqara's, I feel like I replace batteries a little more frequently and I've also received a few off of Amazon where the battery was low. Replacing them with fresh paired them almost immediately.

austere patio
#

Don't rely on the battery percentage displayed within HA. They have no reliable way to report battery percentage, unfortunately

sharp berry
jolly narwhal
final kestrel
#

Poe pi with a zigbee stick

dense quest
#

I have problems with my zigbee tuya switch.. It did work. but i lost connection some weeks ago.
I cant go past starting interview most of the times. Sometimes it shows as unknown device.

final kestrel
#

TCP that serial anywhere

jolly narwhal
#

Poe is the only sensible way to power a pi, if you must run a pi ๐Ÿคข

grim igloo
final kestrel
grim igloo
#

pi+poe hat + zig usb dongle + power adapter + ssd to usb adapter + ssd

jolly narwhal
final kestrel
#

Lol I just have my skyconnect sticking out of my network rack and I have a strong connection

#

Works fantastically well with zigbee2mqtt

velvet anchor
#

I've got my SkyConnect and I'm wondering if ZHA is recommended over Z2M. Especially considering the thread/matter support down the line. I'm currently using deconz with a conbee II so I'll be migrating either way. I'd honestly prefer Z2M so the zigbee network will remain active through HA restarts, but if it's not going to work with matter / thread then it doesn't seem worth it.

austere patio
#

Multi-PAN doesn't depend on ZHA, Z2M can use it as well

jolly narwhal
#

It will be an upgrade at least

velvet anchor
#

Also I realize it's currently in an experimental stage with Z2M

austere patio
#

The "easy install" option is just disabled until a few firmware issues are resolved

velvet anchor
#

I'm running Z2M in docker and have the SkyConnect, well... connected

#

but I haven't paired anything with it yet

#

I just want to make sure that's the right path forward before I connect everything and then find out down the line Z2M isn't going to work with matter/thread

austere patio
#

The two are entirely separate

tiny timber
austere patio
#

The integration itself has diagnostics, that's the one I was looking for, not the coordinator device

#

The three dot dropdown menu in the integrations page

velvet anchor
austere patio
#

They're totally unrelated

#

Other than both being built on top of 802.15.4 (i.e. both 2.4GHz)

tiny timber
austere patio
#

So Z2M will never support Thread+Matter in the same way it won't support Z-Wave

velvet anchor
#

So if I want to use SkyConnect with thread I need to use ZHA and not Z2M? (considering I'm passing the device in docker)

austere patio
#

No, you'll use the Matter integration ๐Ÿ˜†

carmine hamlet
#

Perhaps there will be M2M

jolly narwhal
#

I'll wait till matter matters ๐Ÿฅ

carmine hamlet
#

Or T2M

velvet anchor
#

ok, anyone have a guess if the device will show as 2 radios (kinda like the HUSBZB-1)?

austere patio
#

No, it requires software to "split" the single radio into two: the multi-PAN addon

#

The Zigbee integration will connect to the multi-PAN addon on a special port, just like they already do when talking to other TCP coordintors

velvet anchor
#

so would I be able to use Z2M, and a "T2M" etc with the same stick in different docker containers?

jolly narwhal
#

They have been tinkering with thread for 5 years on cc2652 already, wonder if it is stable yet

austere patio
jolly narwhal
tiny timber
#

https://www.zigbee2mqtt.io/devices/9290012607.html also states:

This specific device has been reported to have issues repairing to a Zigbee network after upgrading from a CC2531 to a CC2652 controller (Zigbee 1.2 to 3.0). (Re)pairing may only work after pairing the device to another network and channel first (has been tested with a Philips Hue 2.0 hub in this instance) before pairing it back to the Zigbee2MQTT network again

austere patio
#

Conbee and SkyConnect are both Zigbee 3.0

tiny timber
#

The Hue sensors were previously on the Hue hub. Wanted to port them over to ZHA to avoid the 1s polling delay to Hue.

#

The lock however, was on the Conbee and it's busted now.

velvet anchor
austere patio
#

It will be

velvet anchor
#

ok thank you.

austere patio
tiny timber
#

~14 hours

final kestrel
#

day 2 with the hue devices on my skyconnect ๐Ÿคž

tiny timber
#

Trying a very random "fix" suggestion in that issue above for one of my sensors. Have removed it from ZHA, and removed the batteries. Will give it an hour and try re-adding it.

final kestrel
#

I just did a reset on mine from the hue hub, using network 15 and its good

tiny timber
final kestrel
#

IDK what it was on, 15 was just one of the best options to pick for compatibility and some good practices

tiny timber
#

Yeah, my hub is on 15. SkyConnect is set to 11.

austere patio
#

11 generally is a poor choice, since it overlaps with WiFi channel 1

final kestrel
#

and before interference

tiny timber
#

I have my 2.4ghz set up on 6 and 11, so 11 Zigbee should have no interference right?

grim igloo
#

Depends on neighbors

tiny timber
#

Hmm, you might be onto something! Didn't use to have active using it, but now there's definitely a fairly strong signal on band 1.

grim igloo
#

puddly has posted this before

#

i did a wifi scan with my AP closest to my zigbee stick, then worked around that. i.e. i used channel 25 zigbee and put channel 11 AP furthest from the stick (compared to my other two APs) and kept band width at 20mhz for 2.4ghz

tiny timber
grim igloo
#

your link doxxes your first and last name btw

tiny timber
#

Wide-ass channel width on that TP-link.

grim igloo
#

use imgur ๐Ÿ˜›

grim igloo
#

anyways not a zigbee thing, you're on the right track

tiny timber
#

Boo ๐Ÿ˜ฆ

You can change this using YAML configuration, but this only works if thereโ€™s no existing network. To change the channel for an existing network, radio has to be factory reset and a new network to be formed. This requires re-pairing of all the devices.

grim igloo
#

protocols gonna protocol

austere patio
#

Do an energy scan at the same time, to see what channel is actually quiet, as opposed to relying on a WiFi scanner's approximations

tiny timber
#

zigpy-cli is installed in HA OS right? Just need to disable the integration and SSH in?

austere patio
#

No, you need to run the pip install command at the top

final kestrel
#

just use channel 15

#

it should be a good sane default

tiny timber
#

Do you need to restart after disabling ZHA? Getting a timeout error trying to run zigpy radio znp /dev/ttyUSB0 info

austere patio
#

Yours isn't a ZNP radio

tiny timber
#

Oh, ezsp?

austere patio
#

If it's a SkyConnect, you'd use --baudrate 11520 ezsp, yeah

#

What do the scan results look like?

grim igloo
tiny timber
austere patio
#

What does ls -l /dev/serial/by-id/ show?

tiny timber
#
total 0
lrwxrwxrwx    1 root     root            13 Jun  3  2022 usb-Nabu_Casa_SkyConnect_v1.0_34a307494cedec118e8b4740ad51a8b2-if00-port0 -> ../../ttyUSB0
austere patio
#

And you're 100% sure nothing else is running that could be accessing the port? The exact same library is used in both ZHA and zigpy-cli to talk to the radio. You can run it with zigpy -vvv for extra verbosity.

tiny timber
#

I disabled the ZHA integration but did ask whether I need to reboot after disabling or not.

austere patio
#

You don't need to but it won't hurt

tiny timber
#

Here's the output with verbose mode. Will try rebooting.

2023-01-18 07:27:18.360 homeassistant asyncio DEBUG Using selector: EpollSelector
2023-01-18 07:27:18.605 homeassistant asyncio DEBUG Using selector: EpollSelector
2023-01-18 07:27:18.625 homeassistant bellows.ezsp DEBUG Resetting EZSP
2023-01-18 07:27:18.627 homeassistant bellows.uart DEBUG Resetting ASH
2023-01-18 07:27:18.628 homeassistant bellows.uart DEBUG Sending: b'1ac038bc7e'
Traceback (most recent call last):
2023-01-18 07:27:23.639 homeassistant bellows.uart DEBUG Connection lost: None
  File "/usr/local/lib/python3.10/asyncio/tasks.py", line 456, in wait_for
2023-01-18 07:27:23.640 homeassistant bellows.uart DEBUG Closed serial connection
    return fut.result()
asyncio.exceptions.CancelledError
austere patio
#

Oh, oops

#

11520 should be 115200

rapid dawnBOT
tiny timber
#

15 appears to be almost the noisiest channel, with 11 being one of the lowest.

austere patio
#

That's a pretty noisy environment but maybe try 20

tiny timber
#

20 is still higher than the current channel though?

austere patio
#

Not by any appreciable amount, maybe it'll work better ๐Ÿคทโ€โ™‚๏ธ

tiny timber
#

OK, will give it a go. And to confirm, I would need to use the change-channel --channel 20 command, as well as update the YAML (and restart HA) before re-enabling the ZHA integration (and re-pairing any sensors that didn't migrate)?

austere patio
#

No need to change YAML

tiny timber
#

I had manually-specified zigpy_config. So just remove that and let the coordinator handle it?

austere patio
#

That config is ignored until a new network is being formed

waxen lynx
#

damn just ordered an aqara cube T1 pro (instead of the old cube) but now I see it's not working yet with Z2M as there is no proper template for it yet.

#

hope that one will follow soon

winged lagoon
#

Hi guys, I'm developing a custom Zigbee device to work with zigbee2mqtt and running into some interop troubles. Some folks on the z2m discord suggested posting my question in here. I uploaded the packet captures at https://imgur.com/a/z3tshCj

My device is currently set up to report an attribute change to the ZC every 2 seconds. The attribute value increments from 0..7 and then repeats. When this works correctly it looks like the first screenshot: attr report, then APS ack, then ZCL default response.

Every couple of minutes, z2m quits acknowledging 100% of the reports for ~30-120 seconds (exact time varies). The reports also stop showing up on MQTT. Then it goes back to normal. This is shown in the second/third screenshots. In the interim, other ZC traffic is fine, so it's not a case of interference shutting down the entire channel.

This happens even if the reports from the test device are reconfigured to be more infrequent, e.g. every few minutes. In both cases I see the 802.15.4 network level Ack on the "lost" reports (which isn't shown in the traces because it's hard to filter for). I made the reports more frequent so that I could run this test and see the problem manifest itself over and over.

What is the best way to debug this? I'm wondering if there is a problem with e.g. sequence numbers on my ZR device, or if there is an internal problem in the ZC dongle firmware that's causing packet loss. It would be useful to see any debug messages telling me why these packets were discarded, and/or what counters or other metadata the ZC dongle expects to see in the attribute updates.

z2m is using the Sonoff CC2652P Zigbee 3.0 dongle and the test device is an nRF52840 running ZBOSS configured as a ZR. There are no intermediate hops between the test device and the ZC.

austere patio
#

What do the Z2M/herdsman debug logs show for this time period?

winged lagoon
# austere patio What do the Z2M/herdsman debug logs show for this time period?

When the report is received by z2m I see it logged. For the missing reports, zilch. I enabled DEBUG=zigbee-herdsman:adapter:* and still see nothing for the missing reports, which leads me to believe they're getting dropped somewhere in the Z-Stack-firmware (which I was hoping to debug, with some pointers from someone more familiar with it)

jagged estuary
#

Is the SONOFF SNZB-02 a good temperature sensor for TRVs and does it send frequent and accurate updates, as my Aqara TRV only sends every 1ยฐC. I'd need at least one decimal place.

austere patio
winged lagoon
austere patio
#

It more or less is ๐Ÿ˜†

winged lagoon
#

How do the developers work on it?

austere patio
#

TI develops it, the Z2M patchset on top of it is pretty simple. But maybe you'd have better luck with one of the dev kit boards.

#

Though it'd be a lot easier to try something like an EFR32 stick, which has a bunch of global counters you can read to see what the stack received

#

Z2M supports those types of coordinators as well

winged lagoon
austere patio
#

Looks pretty normal to me, the coordinator is just not ACKing

#

How close together are the two devices?

#

And where in relation to the coordinator is the sniffer sitting?

#

If you're sniffing with another nRF52840, you should be able to configure it to include RSSI information as well

winged lagoon
# austere patio How close together are the two devices?

Devices are ~10 meters apart, through a few walls. Not too close. I do see occasional retransmissions in the trace. I can retest with it closer together if that helps. Would not be surprised if something was getting out of sync when trying to recover from packet loss, which is why I originally asked about sequence numbers.

Sniffer is sitting right next to the Sonoff dongle. It's not Nordic; it's the Nortek Zigbee/Z-Wave combo dongle. I'm using the Z-Wave side to control some of my Z-Wave devices, and the Zigbee side purely as a sniffer

austere patio
#

The sequence numbers don't really need to be synchronized so I suspect you just need to stick a mains-powered router halfway between the two and then see what happens, before digging into firmware

#

10 meters through a few walls is pretty far

winged lagoon
#

I have a bunch of Hue bulbs and other ZRs in this network. It's 40+ devices. For some reason a lot of devices still want to connect to the ZC directly
Any easy way to tell this device to connect to one of the ZRs instead? IIRC when I've clicked the Permit Join dropdown in the z2m web GUI and selected a specific router, devices initially connected to it for pairing but then "wandered" off to another router later

austere patio
#

No way to force it, unfortunately. But with an EFR32 coordinator, you can set the child table size of the coordinator to 0 to force devices to connect only via intermediate routers

winged lagoon
#

OK. Looks like the Sonoff EFR32 board has an external antenna so the range will probably be better than those tiny dongles. Is that my best option right now?

austere patio
#

Which tiny CC2652P dongle are you using?

winged lagoon
austere patio
#

The coordinator's antenna has little impact on mesh stability when you have enough routers

tiny timber
#

So all my routers survived the channel change, but all my end devices are having a REAL hard time re-connecting. Only succeeded with 1 so far.

winged lagoon
austere patio
#

I'm not aware of any cheap EFR32 dev kits, unfortunately. The TI ones are cheap but you're better off just getting a $20 stick to test with and making sure your coordinator is positioned away from typical interference sources, such as USB 3.0 ports, SSDs, 2.4GHz APs, etc.

jagged estuary
#

Hi, is the SONOFF SNZB-02 a good fit for measuring accurate temperature in a room? Does it update accurately?

austere patio
#

Sonoff's sensors usually aren't very good

tiny timber
austere patio
#

Ah, yeah, Aqara doesn't really migrate (except for their motion sensors for some reason?)

jagged estuary
#

Or what sensors do you recommend?

final kestrel
#

Waitโ€ฆ @austere patio the zigbee / matter dual setup is as simple as a basic docker container serving the TCP serial streams out?

austere patio
#

Yeah

final kestrel
#

Sweet then one does not need ha os at all

final kestrel
#

Thanks, going to have fun with this

austere patio
hollow chasm
final kestrel
#

The way it was said on the website made it sound like a lot of extra has to be done on other non HA os

jagged estuary
#

I don't need a motion sensor though, only temperature lol

final kestrel
#

But if itโ€™s this simple ๐Ÿ™‚

jagged estuary
#

But I'll take a look

final kestrel
#

(Not beginner simple) some one who knows that they are doing simple :p

jagged estuary
#

yeah so what sensor should i use?

austere patio
#

Aqara's not a bad choice if you want something cheap. They're accurate and report every time there's a 0.5C change (or every few minutes, at least once every once in a while).

jagged estuary
#

ah well that sucks, is there anything like accurate to .1ยฐ?

austere patio
#

They are accurate to within 0.1C, they just don't report every time there's a 0.1C change

jagged estuary
#

Yeah, I'll be sending that to my TRV so that might not be the best option

austere patio
#

More expensive (Zigbee 3.0) sensors let you configure the reporting parameters if you use them with an integration that allows you to change those settings (Z2M currently)

jagged estuary
#

I see

austere patio
jagged estuary
#

oh, so they update every few minutes too?

austere patio
#

All Zigbee sensors update on a min/max/change system, where they update at least once every max seconds, no more than once every min seconds, at least every time there is a change of more than some set resolution (which you can set to 0 and drain the battery in a few hours)

jagged estuary
#

I see, and you can change all that in Z2M?

austere patio
#

Depends on the sensor

#

Tuya and older Aqara, no. Zigbee 3.0 sensors, yes.

#

But I suggest the Aqara. It's precise, cheap, and its defaults are more than enough for tracking temperature in a room for heating

jagged estuary
#

๐Ÿ‘

#

Could I put one of those outside?

#

I've seen that on Reddit

austere patio
#

Mine last a year outside but they're under a cover

jagged estuary
#

they broke after a year?

austere patio
#

The battery, I mean

#

Indoors about two years

jagged estuary
#

Ah lol yeah

#

Isn't that about as much as their TKVs manage?

austere patio
#

TKV?

jagged estuary
#

bruh

#

i forget the name every time

#

TRV maybe?

austere patio
#

Oh, the TRVs. Dunno, I don't run one. Those run on 4xAA batteries, the temp sensors use a CR2032

jagged estuary
#

Oh, I see

#

Are there any alternatives to their windows sensors? I cant get myself to spend 17 euros on a window sensor xD

#

I'll just get those

#

Is there a reason for the Aqara TRVs not to mesh, like connect with other devices?

#

I understand that being a repeater sucks for battery

#

But as a receiver it should work, no?

#

I have a power plug almost next to it and it connects to another plug and thus has a much better lqi while the TRV is pretty ppor

raven jewel
#

AliExpress for the Aqara sensors

#

And the more you buy at once the cheaper they get

jagged estuary
#

lmao which one is real on AliExpress

#

There are like 200 Aqaras

raven jewel
#

I bought 6 for ยฃ44 the other day

jagged estuary
#

๐Ÿ’€

#

takes a month to deliver

raven jewel
#

Mine arrived in 2 weeks. I ordered them January 1st

#

But Chinese/Lunar New Year is coming up so if you order right before or during that you'll likely have to wait longer

jagged estuary
#

ah i see

jagged estuary
#

amazon looks like a scam comparing those prices :kekw:

raven jewel
#

Pick your poisons, if you want things fast pay more ๐Ÿ˜‰

jagged estuary
#

Thank you, another random question, can I use the IKEA Tradfri in my bathroom?

raven jewel
#

Well, it depends on what you mean with Tradfri and what you mean with bathroom

jagged estuary
#

give me a second

raven jewel
#

"can I have a lightbulb hanging in the spray of my shower?"
Technically yes, but not recommended for electrocution reasons.

jagged estuary
#

xD

raven jewel
#

"Can I use an IKEA motion sensor in my bathroom?"
Sure, though you can get better smaller ones cheaper from Aqara

jagged estuary
#

I just wanted to ask because if i like those I ordered it would be easier for me to add the rest

#

I would put them there where I have my current ones, and I have never been electrocuted

#

I'm just thinking about humidity

raven jewel
#

The bulbs are fine, though as always anything electrical subjected to repeated high humidity is likely to have a shorter lifespan

jagged estuary
#

and since smart bulbs aren't just power -> light there might be some stuff that could break

#

That's fine

#

thank you again

sharp berry
#

A quick question for anyone with Aqara motion sensors...I added one to ZHA and I get both a "laszone" and "Occupancy" sensor. Is there any difference between these two? Both currently show 'Clear' and it looks like they are both binary_sensors that alternate between "Clear" and "Detected" states.

white lichen
#

I'm currently using a conbee ii with z2m. Just ordered a SkyConnect. Do I have to re-pair every device on migration?

sharp berry
# white lichen I'm currently using a conbee ii with z2m. Just ordered a SkyConnect. Do I have t...

Check with @austere patio . When he and I were talking a few days ago, I think he maybe mentioned there's a way to do it, however, I ended up repairing everything today with my SkyConnect and so far, so good. I know I probably wouldn't have had to do this, but it also allowed me to better place some Zigbee routers throughout and let the mesh network settle a bit better than when I had originally added devices to my place.

#

Also, for what it's worth, I believe Z2M's documentation states that repairing is necessary when chipsets are different (generally different model numbers within the same family are fine and don't require repairing). I'm not sure if SkyConnect's chipset is the same as the Conbee's. Maybe you could compare spec sheets to see?

#

I just moved from a Conbee II today running with Z2M to my SkyConnect running with ZHA. So far, so good (knock on wood)!

white lichen
#

@sharp berry By any chance do you know if a Apple Homepod (mini) is still necessary to talk to thread devices with a SkyConnect?

tiny timber
#

I've got 3 remaining Aqara door sensors which just won't pair. Anyone got any tips? Have heard that it's a bad idea to pair them close to the coordinator as they are bad at re-meshing.

sharp berry
sharp berry
# tiny timber I've got 3 remaining Aqara door sensors which just won't pair. Anyone got any ti...

I added several of these this evening and in short...they're not fun. Aqara's battery-powered devices take a bit to be discovered by ZHA. Here's what I found works...

  1. Push and hold the reset button on the door sensor for ~ 5 seconds until you see the blue light flash a couple of times then IMMEDIATELY let go.*
  2. Wait until the blue light stops blinking...generally there's another second or two delay, and then the blue light flashes on and off again.
  3. Once this has happened, then begin pushing the reset button every 1 second until you see the device being interviewed in ZHA. It's crucial you continue pressing the reset button every 1 second until the device has been fully registered, or else the device may get stuck in the interview process.

*Sometimes you will have to repeat step 2 numerous times until your device sees your coordinator.

Another thing to note are that make sure that your battery has some life left. It seems that I've had a harder time pairing battery-based devices (especially Aqaras) when my batteries are low in my sensors.

tiny timber
#

Yeah, all of mine are over 60% battery. I'm just re-pairing on a new channel and didn't expect it to be this hard. Took about 4 hours all-up for only around 15 sensors.

#

PITA for sure!

sharp berry
#

Haha it be like that...sadly. Still trying to get two multi-sensors paired yet in my place. Love how cheap the Aqara's are, but pairing them is for sure a PITA.

spring relic
#

I'm pretty noob at HA still, I'm stuck trying to get a ts0601 tze204 working.... It pairs with my network (after a couple of attempts) but exposes no attributes to zha. If I'm reading I need to use a quirk, there's a similar tze200 in the quirks repo, if anyone has any tips or advice if I'm going wrong or right here, I'd greatly appreciate the clue.

hearty ibex
#

Hey all! My Zigbee mesh has been performing pretty poorly lately, with devices dropping off and plugs not reacting. How would I go about debugging this? I have a repeater in every room and a mix of devices: random cheap bulbs, some tuya plugs, some LEDvance/osram plugs. For battery-powered devices, I have some Sonoff buttons, Sonoff temp/humidity sensors, Sonoff window sensors and Danfoss TRVs.

So far, the Danfoss TRVs have been really stable. I am used to the Sonoff temp/humidity sensors dropping off occasionally but I am worried about reliability of some plugs in my office as well as my Sonoff window sensor dropping off. I also have a hard time getting the Sonoff temp/humidity sensors to pair again in my office despite fresh batteries.

Here's what I have done so far:

  • Cleaned out any unused and old devices from the mesh
  • Disabled a 2.4GHz wifi network repeater that was close to the unreliable plug
  • Flashed my Conbee II stick to a recommended firmware version
  • Ordered a high-quality 2m USB extension cable to replace the random 1m USB extension cable I currently use with the Conbee stick
  • Ordered some ferrite cores to try and dampen USB 3.0 EMV (not sure it will do something, but why not)

Possible next steps:

  • Move from Zigbee channel 15 to 25 where I see less wifi interference

Is there anything else I can try? Also, is there a good way to monitor if my measures are effective? I am aware of the network visualization, but I have a hard time making sense of it.

#

Ugh, sorry for the wall of text.

grim igloo
#

You can search conbee here and see all the issues people have had

hollow chasm
#

I've also seen several recommendations to avoid Sonoff sensors due to being garbage

hearty ibex
#

Yeah, I read mixed things about the Conbee. Too bad, wanted to support some German Engineering.

grim igloo
#

After that, choosing which devices you add to your mesh matters. I donโ€™t have a full list but you should absolutely confirm none of your devices are on the Nono list

#

Ignoring anything with the name tuya is a great option

#

It kinda looks like you have all the problems lmao

hearty ibex
#

๐Ÿ˜„

#

I think problems got really bad when I moved the wifi repeater close to the problematic plug. I will continue to monitor that one

grim igloo
#

Some devices blackhole routes which is why I said make sure they arenโ€™t on the no no list

#

Wi-Fi repeater?

hearty ibex
#

Yeah I read about some devices that will just break your mesh

grim igloo
#

No one should be buying anything with Wi-Fi and repeater in the name

hearty ibex
#

It's actually an access point that connects via powerline to the rest of the network

grim igloo
#

Repeaters wirelessly mesh back to another AP and ruin bandwidth at best

#

God and power line

#

Bro you just keep checking the wrong boxes lol

hearty ibex
#

๐Ÿ˜„

#

HAM operators get a heart attack when they enter my house

grim igloo
#

How much money do you have to throw at a better solution?

#

Ripping out power line and running Ethernet to multiple APs is a much better solution but thatโ€™s for another day

#

Are you using zha or z2m for zigbee

hearty ibex
#

I am using ZHA

#

Renting this place, btw, or I would not even be bothering much with Zigbee

hollow chasm
#

Power line is way better than repeaters

grim igloo
#

Then Iโ€™d buy a sky connect or sonoff e dongle and move your mesh over to it

hearty ibex
#

I will try the zigpy energy scan, seems that is supported with hass os. Thx

grim igloo
#

Iโ€™d also run the energy scan I linked above and choose a new channel if it helps

#

On the new stick that is

#

And Iโ€™d confirm you donโ€™t have any bad devices like discussed above

#

And ideally Iโ€™d plan out 2.4ghz channels used with APs

hearty ibex
#

I will monitor my mesh for another week or so before I pull the trigger on the new stick. But it's definitely on the list. It's a cheap fix

grim igloo
#

I.e. closest AP to zigbee stick should be furthest away in terms of spectrum. Like channel 25 zigbee and AP on channel 11 furthest away from the stick

grim igloo
#

U crazy

hearty ibex
#

I will keep that in mind and maybe do a channel survey here as well. I can control my own APs, but I have lots of neighbors using 2.4Ghz.

grim igloo
#

Yeah

hearty ibex
grim igloo
#

If you look up a chart there isnโ€™t a ton of overlap with 20mhz band width on 2.4 and zigbeeโ€™s channels

#

But there is some

grim igloo
tiny timber
#

Alright, everything is finally paired again, channels changed, AP signal width/tx power reduced. Let's see if that has any major effect.

grim igloo
#

You just came into the ER with 5 bullet wounds and Iโ€™m suggesting we go ahead and try to plug all the holes.

hearty ibex
#

Yeah, I get that

#

But I want to plug one hole first and see how I feel about it

grim igloo
hearty ibex
#

About the Sonoff bullet hole. What to buy instead for temp/humidity sensors? I heard that Aqara doesn't stick to the Zigbee spec so I steer clear of that

spring relic
#

Is there a better channel for my ts0601 question from ~1hr ago?

grim igloo
#

Aqara sensors are fine they donโ€™t fuck up the mesh. Their only issue is they donโ€™t always want to get a new route so you should pair them in their final resting place and add them with an intentional router selected not any

#

Iโ€™ve read mixed reports here where sometimes they look for a new route but you shouldnโ€™t or donโ€™t need to hope they do when you can force them to join to a specific router

grim igloo
#

Itโ€™s people helping people and devs helping people no money or help desk tickets here

spring relic
grim igloo
#

Pretty much

#

Or post on Reddit or forums or GitHub depending

#

Luckily a couple devs from zha / zigpy frequent here daily

spring relic
#

Thanks mate, I'll keep poking away at it and hopefully don't break anything. Right now I'm having HA's gui go dead trying to click buttons in vscode... I'm starting to think this rpi isn't enough to actually run HA.

grim igloo
#

Not the case with most other channels

#

If you search in this server with specific keywords you will probably find someone already asked for help with it

#

And instructions or a conversation about it is there

#

โ€˜ts0601โ€™ gets 119 results including GitHub issues and conversations about it

hearty ibex
#

So what stick do I get? The SONOFF ZigBee 3.0 USB Dongle Plus aka ZBDongle-P? Has a CC2652P chipset.

grim igloo
#

Thatโ€™s the p dongle, since youโ€™re using zha the e dongle is fine to get with newer chipset

#

E dongle has experimental support for z2m so itโ€™s not currently suggested for that. I use z2m with a p dongle

#

Or you can order the new home assistant skyconnect which will bring thread support eventually

#

So far theyโ€™re working well for people

#

Or you can buy a PoE coordinator such as the tube PoE one

hearty ibex
#

For the skyconnect, I understood it needs an additional piece of software running on the host, right? I somehow don't trust that, not sure why.

grim igloo
#

Itโ€™s way more expensive but you can put it in a more central location than a usb stick off a pi or whatever

#

A lot of people like that

#

Aand heres puddly :p

hearty ibex
#

The PoE coordinator sounds nice - I could totally run it off my powerline network ๐Ÿ˜„