#zigbee-archived

1 messages Β· Page 120 of 1

jolly narwhal
#

Electrolama zig-a-zig-ah! (zzh!)

#

This one is coming in stock this week

stone halo
#

the upper 2 or the launchxl ones

silver stump
#

ohh πŸ˜„ I didn saw this page

stone halo
#

whats the difference between the cc2540's and the 2531's

sour shadow
#

40 isn't Zigbee

#

31 is crap πŸ˜‰

stone halo
silver stump
#

so I will go with z2m and CC2652RB stick. The other recommended is not avaible.

stone halo
#

idk where you are from, but shipping isnt salesh his specialty

silver stump
#

what is the differenct between those two?

stone halo
#

barely anyhting noticable

silver stump
#

I live in Budapest, Hungary

stone halo
silver stump
#

πŸ˜„

stone halo
#

if so,get the zhh for sure

silver stump
#

okay, thanks I will give a try with that.

stone halo
#

if not you can risk the slaesh one

silver stump
#

okay, thanks I signed up tindie waiting list.

thorny phoenix
#

GUNNARP from ikea is zigbee....their page is awful for descriptions

stone halo
#

there is a sale on hue lamps 4 lamps for 40 bucks

#

the white ambiance ones

#

should i cop them?

radiant moth
#

Yes. It's not often they're discounted to the same price as the IKEA ones are every day.

stone halo
#

the thing is tho i only need 3 LOOOL

#

i dont have 4 light sockets

radiant moth
#

Then buy IKEA

stone halo
#

lidl*

radiant moth
#

I have a few of those. They're fine if you can find them. I have RGB GU10 and RGB E27. Both good. The only criticism I have is they don't dim down very far compared to others

#

And they won't do Yellow at all, no matter how loudly you yell at them

stone halo
#

hmmm

#

ill wait a little more

#

maybe ill get the hue play bars first

radiant moth
#

Ikea exposed filament E27's are the best thing in their range. Really nice quality and dim down to a low glow. Only one colour temperature setting, but that's all I want for the particular location where I have three in a row

#

(over my bar) πŸ™‚

stone halo
#

oooo

#

deciding on lamps might be harder than the hub lol

jolly narwhal
#

Just buy different ones

#

try out

verbal shale
#

@radiant moth I have some cheap Gu10 bulbs zigbee that works just great

#

do white ballance

#

and yellow

#

and dim very low

jolly narwhal
#

The TrΓ₯dfri GU10 CT have been golden for me

#

I usually pick them up on sale for $7 each

verbal shale
#

I bought 13 of that

radiant moth
stone halo
#

Are there more trusty Chinese brands?

#

That deliver proper lamps? Other than xiaomi

jolly narwhal
#

I did consider buying the Gledopto GU10 RGB for my outdoor lights

#

just for halloween and such

verbal shale
#

@stone halo I did try too much bulbs from ali, and I only get quality from OWYEAN

#

the Gledopto are great too but more expensive

radiant moth
#

Lidl GU10's are great. There's just no way (in the UK) to buy online or know if a store has them in stock. I got 4 but I had to go to three different stores to get them.

verbal shale
#

@stone halo did not try e27 yet, because i have yeelight for those πŸ˜›

stone halo
#

Ahh

verbal shale
#

i did bought and return it

radiant moth
#

Sorry, don't agree. Use them with multiple colour themes and very happy with them

verbal shale
#

until you try a better one

radiant moth
#

I have 4 in a row in the pub canopy and we theme them in various ways depending on what we're doing. Bright, clear colours

#

I have lots

verbal shale
#

i will sow you the diference

#

show*

#

can you open?

jolly narwhal
#

whatsapp no

obsidian sandalBOT
#

Please use imgur or other image sharing web sites, and share the link here.

Image posting is blocked in most channels to discourage people from sharing text as images.

radiant moth
#

I don't use whatsapp online.

verbal shale
#

w8

radiant moth
#

and I have plenty of bulbs of different types. I don't need you to tell me my conclusion or choice is wrong, to be honest.

verbal shale
radiant moth
#

There's something wrong with the one of the left.

verbal shale
#

not really

radiant moth
#

yes really

verbal shale
#

its just the max bright

radiant moth
#

Nonsense. I could take a picture now in sunlight of mine and it would look brighter than that

indigo sigil
verbal shale
#

that was my experience.....

#

and i did a video about it in youtube comparing those bulbs

simple sentinel
#

Opinions may vary. Let's all keep the peace

radiant moth
verbal shale
#

arg.....not just one

radiant moth
#

They're plenty bright enough. If anything, the criticim I have is the dimming that doesn't go low enough.

#

Not sure what your issue was. Let's not argue though. I'm happy with what I have and I'm sure you are too

verbal shale
#

right now im very happy with the chinese bulbs lol

#

i'm just not happy with sonoff zigbee bright and groups lattency =/

radiant moth
#

I've noticed that 'transition' isn't supported either since I switched from z2m to ZHA with Sonoff ZB

#

The lights looked cool switching from colour to colour but now they just instantly change

verbal shale
#

yeah, same here with zha

#

and colorloop option in zha is just horrendous lol

#

i did manage do to scenes with transaction in nodered

radiant moth
#

Haven't tried it. The only real fault I've noticed is I have an automation in NR to switch on the GU10's 30 minutes before sunsetStart and sometimes one of them will be a random colour. I think that's a Sonoff issue rather than ZHA though.

verbal shale
#

you can set the color yourself in NR

radiant moth
#

Fixed it by setting the colour and brightness with the turn_on message

verbal shale
#

but dont use group is HA

#

or zha

#

they are completly garbigde

radiant moth
#

I'm a NR fanatic. Everything is in NR lol

jolly narwhal
#

Nodered 🀒

molten linden
#

In all seriousness if I added a bundle for like $8 more adding something like this would that be appealing? https://www.adafruit.com/product/3785 I don’t see making onboard PoE support anytime soon.

sour shadow
#

Eh, I could buy one myself... having it self contained however would tip the balance for me

jolly narwhal
#

Noice

sour shadow
#

I do appreciate that PoE is, even for this community, pretty niche though

jolly narwhal
#

Hey

#

Don't oust me

sour shadow
#

We're outliers πŸ˜‰

#

Hell, I have PoE primarily to make it easier to stick a switch in an otherwise inconvenient location

bleak cave
#

I posted this at a late time yesterday and it got quickly overlooked in this morning's slew of messages, so am reposing in the hopes I am not alone πŸ™‚

Howdie folks! I'm not having a good time with IKEA Tradfri switches (both the on/off and the five button remote type). Every time the battery is replaced, it is immensely difficult to get them to pair again with my coordinator (CC2652P2 using ZHA). I am always hopeful that simply replacing the battery will be sufficient, but that's not the case. I always have to run through a full re-pairing procedure after. Sometimes I have to do that many times until the device and all its clusters are fully recognized by the coordinator. I don't seem to be having the same struggles with other manufacturer's Zigbee devices. Is this just a me-problem? πŸ™‚

molten linden
sour shadow
#

Gobby is the local word for that πŸ˜‰

simple sentinel
#

@molten linden, my CC2652 arrived and is beautiful, just haven't come up with anything to do with it yet XD

#

Thanks though

#

I bought it in anticipation that I would have to roll out something like what I have at home when my friends inevitably want to do something similar but aren't willing to have that gritty experimental look that my current setup has

#

Going to have to look into that adafruit you posted though, cause I have POE too πŸ˜„

sour shadow
#

I use something like that to power a Zigbee router (CC2530) in the middle of the house - works well

old kernel
bleak cave
#

Thanks @old kernel πŸ™‚

austere patio
#

It'll slow your network down quite a bit as long as that entry is in there but I found that my IKEA dimmers didn't like being bombarded by a dozen bind and attribute reporting requests at the same time when they're first joining

#

You're switching from a CC2531, whose limit is enforced in software as 2 concurrent requests. Your current stick's is 16.

bleak cave
#

Interesting -- let me try that out right now!

verbal shale
#

@bleak cave or @austere patio why zha have lattency when I have zha groups?

#

the delay is tremendous

#

when my bulbs are in group...even if the group is only one bulb

austere patio
#

Group commands are effectively broadcasts

#

They're not taking a specific path to get to a device

#

What coordinator are you using?

verbal shale
#

SZB

austere patio
#

?

verbal shale
#

Sonoff Zigbee Bridge

#

sorry, old habit

austere patio
#

ZHA and the radio library don't directly control that stuff. All they do is ask the radio to send a group command the radio says "ok".

#

Upload a chunk of your log file where you send a group command

verbal shale
#

I need to ativate de debug mode right?

austere patio
#

Yes

verbal shale
#

w8 please

#

logger:
default: info
logs:
asyncio: debug
homeassistant.components.zha: debug
zigpy: debug
bellows: debug
zigpy_xbee: debug

#

this is enough?

austere patio
#

I think so

verbal shale
austere patio
#

Are you sure this is a Zigbee group? I'm seeing a bunch of sendUnicasts, which makes it sound like you have a group of devices and HA is just triggering each one individually

verbal shale
#

@austere patio yes it is

austere patio
#

If it was a group you'd be sending a single sendMulticast

#

Instead of a bunch of individual sendUnicasts

dawn sequoia
#

@bleak cave I have similar behaviour with the official trΓ₯dfri hub.

If I replace battery before it is dead, all is well. So I do that now instead. If the battery runs out and the button is dead, I always have to repair.

verbal shale
austere patio
#

Then the log doesn't correspond to you triggering a group command. It's all unicasts.

verbal shale
#

@austere patio check it again

#

only with off

#

@austere patio problably this is should not be the behavior that you espect from zha group, but its what really happens, and its not only me

austere patio
#

Same as before, there are no group commands being sent

#

Five concurrent unicast requests

verbal shale
#

@austere patio soo what is wrong? the group was created in zha

#

and the button was linked to this new group

#

what im doing wrong?

austere patio
#

I don't know, I don't really work with ZHA

#

Somehow your group is acting like normal HA light group instead of a Zigbee group

verbal shale
#

problably ZHA fault

#

I guess

#

@austere patio I did put the iniccial log

austere patio
#

I would double check your config, last I tried ZHA groups worked fine and used group commands

verbal shale
#

it as missing fro my copy past

#

it works, but with a significant delay

austere patio
#

Right, because instead of a group command it's a whole bunch of individual commands to every single light

verbal shale
#

ok soo definitly is a zha probleme lol

#

check it

#

first

#

2021-03-08 17:50:34 DEBUG (MainThread) [bellows.zigbee.application] Received messageSentHandler frame with [<EmberOutgoingMessageType.OUTGOING_MULTICAST: 3>, 65533, EmberApsFrame(profileId=260, clusterId=6, sourceEndpoint=1, destinationEndpoint=255, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY: 256>, groupId=2, sequence=160), 100, <EmberStatus.SUCCESS: 0>, b'']
2021-03-08 17:50:34 DEBUG (MainThread) [homeassistant.components.zha.entity] light.sala_de_estar_zha_group_0x0002: turned off: [0, <Status.SUCCESS: 0>]

#

it send to the group, then to a single one of them

#

@bleak cave can u check the past bin too?

woven sparrow
#

Am I an exception?! πŸ˜ƒπŸ™ˆ

stone halo
golden vessel
#

@verbal shale The unicast messages you see there are from ZHA polling the lights to get their states, not commands to toggle them

tropic depot
#

there is a PR by the man above to buffer them that will be in the next release

woven sparrow
#

Question: Philips hue button, Conbee II and Z2M.
Battery dies after 2-3 days... πŸ™ˆ Any idea?

verbal shale
#

still, I have no answer about why I'm having a such delay with zha groups :S

silent lintel
#

Can I have a ZZH as a coordinator and multiple CC2531's as routers?

#

Does the coordinator show up as a device in the Z2M addon?

tropic depot
#

@verbal shale sorry if this was asked already: how many bulbs in the group? What type are they? what stick do you use (I know it's ezsp, but what one in particular)

verbal shale
#

13

#

@tropic depot

#

gu10 zigbee with rgb + White balance

tropic depot
#

sure

verbal shale
#

Zigbee Sonoff Bridge

tropic depot
#

what manufacturer / model

#

ugh

#

that thing

#

lol

#

ok

verbal shale
#

this one

tropic depot
#

what about the bulbs

#

hrm never seen them before.... ok

#

that explains the 13 too πŸ˜„

#

I was gonna ask that next

#

can you take a short video maybe and dm it to me so I can see what it looks like in reality

verbal shale
#

np

tropic depot
#

I wonder if the PR on dev will help you

tropic depot
#

ooh cool

verbal shale
#

but, btw

#

the philips hue go suffer the same thing

#

with one or 2 in one group

tropic depot
#

what should I scrub to in the video to see it

#

that video they don't look bad... am I missing something?

#

assuming the transitions between the 5 and 7 minute mark are what you mean?

#

that PR will definitely help you

verbal shale
#

@tropic depot the video dont show the probleme, beucase in that video I did use a group in Home Assistant....the probleme was the randonmy lights up and ligths off and some non response from ha group

#

soo I move on zha group, and I have all bulbs on of toghetter but with a increment of Lattency

austere patio
#

Latency in the UI or latency in the lights turning on/off?

verbal shale
#

in lights

#

3 to 4 seconds for response

#

specially when change collors

#

this is not a probleme with HA group

#

I belive the probleme is in ZHA code

#

nothing else

#

:S

golden vessel
#

@verbal shale can you share a video showing the problem? Would be nice to be able to see both the UI and bulbs

tropic depot
#

well I am one of the main devs.... so I am trying to understand the issue πŸ™‚

#

can you try using a transition time in a service call?

#

some bulbs refuse especially with color to behave w/ a very small transition or without one

#

the thing is all this is on the code side is a multicast to the network... which from your logs worked and was fast

#

once that is sent it's out of our hands.... so we need to look at several things to see where the issue is

golden vessel
#

I think the on/off or lightlevel clusters have some default transition time attributes. Maybe those are too high?

tropic depot
#

we default to .1 sec if it isn't set IIRC

#

to cover for bulbs that freak out

verbal shale
#

w8 I will doit

#

let me pick my cam

tropic depot
#

take your time

verbal shale
#

uploading

#

@tropic depot

#

First Part Im trying to turn on off the zigbee group

#

than, I have another button to turn on a specific bulb out of group

tropic depot
#

yeah

#

ok

#

so the first call is instant

#

and then all subsequent are screwy

#

it has to be the group entity polling

#

do you know how to patch HA to try a PR?

verbal shale
#

yes

tropic depot
#

apply that and see if it helps

verbal shale
#

pm

#

ok change it

#

I'm restarting the ha now

#

@tropic depot

#

if you need a tester....count with me lol

austere patio
#

Could be the group request with a dense network is overwhelming it for a bit

verbal shale
#

@tropic depot ok zigbee die completly :S

tropic depot
#

as in didn;t start?

verbal shale
#

yap

tropic depot
#

you sure you patched the file correctly?

golden vessel
#

you cant use that file directly on the release version of HA

tropic depot
#

was something else merged?

verbal shale
#

i only push that :S

tropic depot
#

we haven't had many changes

golden vessel
#

ah, ok. it should work then

#

still, that file is not up to date with the dev branch now

tropic depot
#

ah

golden vessel
#

the PR is older than the latest release

tropic depot
#

good call

#

wasn't thinking abt that

#

rebase it and force push it

#

lol

#

πŸ˜„

verbal shale
#

yeha

#

done

#

lol

#

i did save a backup of the file first xD

golden vessel
#

it would be better to apply the change to the release version of the file

verbal shale
#

that i dont know how to doit

#

delete files and push new files

#

no probleme

golden vessel
#

DM me the file you had originally and I'll patch it

verbal shale
#

w8

#

its the original yet

#

you can path the production file and send me

golden vessel
#

I would have to go look for it πŸ˜„

#

its easier if you send it to me eheh

verbal shale
#

ok w8

verbal shale
#

@golden vessel you have pm with the file

full junco
#

Any use tplink m9s? Apparently it's a mesh system with Zigbee and Bluetooth built in

austere patio
thorny phoenix
#

adapter for gx53 to e27 or another type which has zigbee devices?

golden vessel
#

After doing a bit of troubleshooting with @verbal shale , it seems that the issue is indeed the polling that ZHA to individual lights after toggling the group.
Removing the polling code makes the lights turn on and off quickly (but, ofc then the individual lights won't update their states)

tropic depot
#

The buffer didn’t help?

#

also, try what puddly suggested too

#

The multicasts may be bouncing around too much

#

@golden vessel ^^^

golden vessel
#

and it seems they take a long time to report πŸ€·β€β™‚οΈ

tropic depot
#

So the other question

#

If they are used normally Is it fine?

#

as in not spam toggling them back and forth

golden vessel
#

he has to wait like 2 or 3 secs, and yes, it works fine

#

right @verbal shale ?

tropic depot
#

Right so in theory, normal usage is perfectly acceptable

#

πŸ€·πŸ»β€β™‚οΈ

#

not sure what we can really do here... I’d like to know if what puddly asked about helps at all

mystic grove
#

hi. somehow all of my zigbee / deconz devices are present but not responding

#

i checked the deconz page and nothing it connected any longer.

#

trying to paste in a screen shot

obsidian sandalBOT
#

@mystic grove Your message has been deleted as it contains a link or a domain name 'pasteboard_dot_co' that is on the blocked list because of: 'Virus detected!'.
Please re-post by removing/changing the domain name/link. Your original message has been DM'ed to you.

mystic grove
ivory hound
#

@mystic grove let me be the first to say - use your conbee stick and switch to ZHA, your life will improve by lowering stress

ivory hound
#

how do i calibrate a sensor temp in zigbee2mqtt, i dont find it in web interface

#

?

fervent whale
#

Hi everyone, I think I'm a bit of an idiot. I have zigbee2mqtt addon and mqtt (mosquito) but Mosquitto broker integration is not adding the devices found by zigbee. Somebody can help me? I'm a little newbie yet

sour shadow
#

MQTT Discovery is now enabled by default in HA at least

ivory hound
#

@fervent whale in zigbee2mqtt you have enabled homeassistant integration?

fervent whale
#

Ok now is good, i am idiot, need to delet inegration of mqtt and install again. Sorry and thx @ivory hound for all

ivory hound
#

np man

fervent whale
#

and @sour shadow ofc thx

thorny phoenix
#

@fervent whale try to forget about cc2531 and buy serious stuff

verbal shale
#

@thorny phoenix if avaliable

#

ritght now is not avaliable since january :S

sour shadow
#

ZZH will be back in stock this week

thorny phoenix
#

u can do it yourself something more powerful

verbal shale
#

how?

#

@thorny phoenix

verbal shale
#

this is not show how to doi it

#

lol

#

i'm waiting for avaliability of CC2652R

ivory hound
#

the meaning of bravery: i bought myself a Slaesh's CC2652RB today, i am curious when it arrives

#

or if it arrives πŸ™‚

thorny phoenix
#

@verbal shale how it doesn't show how to do it. u read the guide ? it's step-by-step

verbal shale
#

whats the diference between CC2652RB and CC2652R

#

?

molten linden
#

I have an order of cc2652pa2 modules arriving today, and more esp ethernet boards in about 10-14 days. Routers and new puck style usb coordinators available later this week.

lost rain
#

Does anyone know if it's possible to change the event_id that is generated by the deCONZ integration in home assistant? I'm using Conbee2 and have a SmartThings button. The deconz_event HA automation is working fine for the event id of a single button push (1002), but it looks like the same event number (1002) is being triggered on an hourly basis (guessing when the smart button updates it's battery or temperature) also causing the automation to run incorrectly. Ideally would like to map that to a different event id.

austere patio
#

Zigbee 3.0 is backwards compatible and you can't actually take advantage of the newer security features with the CC2531 because the 3.0 firmware is buggy

sour shadow
#

Or, don't, and buy a new Zigbee 3.0 stick - then you can migrate without re-pairing everything

silent lintel
#

Puddly got my CC2531 migrated over to my ZZH! Thanks again, sir! I flashed the router firmware on my old CC2531 ( 2 of them, actually), and I am wondering if I successfully paired them. If I now have a total of 3 routers in my home, but my Z2M map looks like this, did one, or both of the new routers not pair? https://imgur.com/TDsA5RH https://imgur.com/3OguAWY

sour shadow
#

Tick the other boxes in the top right πŸ˜‰

silent lintel
#

The reconfigure boxes?

sour shadow
#

The ones for showing the different connections

silent lintel
#

oh!

sour shadow
#

isSibling etc

#

Magically a bunch more lines should appear

silent lintel
#

ah gotcha! so the star is the coordinator, and i have 2 routers in the map

sour shadow
#

And the light bulb, which is a router πŸ˜‰

austere patio
sour shadow
#

AFAIK it only works on the Zigbee 3.0 firmware though, not from 1.2 to 3.0

#

Or have you some magic hidden away πŸ˜‰

vital spear
#

Hey guys! Anyone else here using zha_map custom integration?

#

Due to the change in 2021.3.3 requiring 'version' key in the manifest file I was triggered to open an issue on that custom integration today. I've got back a message saying that zha_map is now integrated in HA and that repository is no longer needed.

austere patio
#

That is true

vital spear
#

So I should just remove it and the zha-network-visualization-card would still work?

austere patio
#

There will be no further updates to this card. If you have it installed make sure to remove it and the zha_map custom component when updating to HA 1.0.0

vital spear
#

Is there an equivalent card?

#

I really like that ZHA network diagram

austere patio
#

I think at the moment only as a page under the ZHA integration

silent lintel
sour shadow
#

Yeah, things will remap - how quickly is down to each device

#

Heck, I have a bunch that apparently aren't connected, yet work πŸ˜‚

silent lintel
#

Is there any known reports of a Zigbee sensor acting faulty if placed close to monitors or a Broadlink Pro?

sour shadow
#

Zigbee, WiFi, and Bluetooth all use the same general frequency band

silent lintel
#

not pictured is a pc directly underneath

sour shadow
#

There's a risk of interference

#

Try moving it a short distance, see if that helps

silent lintel
#

Okay

#

Backstory here is this is the second Aqara that this happened to

sour shadow
#

I'd bet that the WiFi in the Broadlink is stomping all over the sensor

silent lintel
#

Gotcha

sour shadow
#

Stick it on the far end of the desk, see if that helps

#

I have a couple of buttons near a Google Home Hub, and sometimes button presses don't register. Moving the buttons away from the hub and they behave

silent lintel
#

That's good to know.

#

I will try that now

sour shadow
#

One day I'll move the buttons away permanently, but the Hub is a convenient location for the buttons too πŸ˜„

silent lintel
#

The buttons are also Z2M ?

sour shadow
#

Yup

#

One Aqara, one Konke

silent lintel
#

Huh. Aqara buttons.

sour shadow
#

"switch" they say, but it's a button/remote πŸ˜„

silent lintel
#

Oh cool!

#

What do you turn on / off with that?

sour shadow
#

The music in the office πŸ˜„

#

I use it to pause and play music when I'm working, if the automations haven't handled it

#

I use both of them for the same thing right now, simply because I'm playing about with the buttons to see which I prefer

silent lintel
#

How do you like the Aqara one?

sour shadow
#

They're both nice TBH

#

The Aqara is bigger, but feels better if you pick it up to use it, and the shape is "nice"

#

The Konke is smaller, but taller, and doesn't feel as nice in the hand

#

If only the Aqara was Zigbee 3.0 already πŸ˜‚

silent lintel
#

I like the idea of the music on/off . I never thought of buttons before

#

You're full of good ideas

sour shadow
#

I bought the buttons before that one came to me

#

I like music while working, but having it playing while on calls is... a bit rude πŸ˜›

#

I can automate the planned calls, but the others were a faff to pause the music, until I set the button up

unborn compass
#

Can I plug my zigbee controller into the same hub my zwave controller is on? Or should I not have them right next to each other? 😬

molten linden
#

they work on different frequencies, so shouldn't be a problem.

unborn compass
#

thanks πŸ™‚

mortal forge
#

Suddenly my deconz integration is no longer recognizing any of my entities anymore, all of them also have the status 'Recovered'. Any idea what to do?

faint elm
#

Any news on this from ELKO since last august?

runic wave
#

Could anyone tell me if I can have more than one tasmota flashed sonoff zigbee gateway (ZHA) integrations in Home Assistant ?!

#

My objective is to extend the range of the mesh network to areas with lower signal strength.

austere patio
#

Not as a coordinator, no

sour shadow
#

Routers are what you need

runic wave
sour shadow
#

If you've got router firmware for it

#

A Zigbee mesh has one brain, one coordinator

runic wave
#

Oh! Where can I get that?

sour shadow
runic wave
#

The router firmware

sour shadow
#

No idea

#

No idea if one exists

runic wave
#

okay

tired sonnet
sour shadow
#

Or any socket/bulb

bleak cave
#

Or a cheap CC2531 flashed with router firmware

sour shadow
#

Other than poor range, those aren't bad as routers. If you can get one with an antenna you get better range

bleak cave
#

IKEA Tradfri and CC2531 routers also seem to be working well with Aqara devices. Otherwise, from all the reading I've been doing on that subject, Aqara devices do not seem to like off-brand routers. And let's face it, we all have those cheap Aqara devices in our network πŸ˜‰

upbeat pecan
#

I recently bought a Gledopto controller to connect to an LED strip and a power supply to use with HA. I've been able to connect everything and the LED strip turns on, but ZHA never finds it. Is there something else I need to do for it to connect?

sour shadow
#

I found them to be a pain to get into pairing mode

#

But, I have one that I never could reset, ended up buying a new one...

exotic crater
#

Can someone help me fix my zigbee 2 mqtt? For some reason I started getting ''21-03-09 20:58:02 WARNING (MainThread) [supervisor.addons.options] Unknown option 'new_api' for Zigbee2mqtt (7ad98f9c_zigbee2mqtt)
21-03-09 20:58:02 WARNING (MainThread) [supervisor.addons.options] Unknown option 'restartdelay' for Zigbee2mqtt (7ad98f9c_zigbee2mqtt)
21-03-09 20:58:02 WARNING (MainThread) [supervisor.addons.options] Unknown option 'initialdelay' for Zigbee2mqtt (7ad98f9c_zigbee2mqtt)''

sour shadow
#

What version of Z2M?

exotic crater
#

Current version: 1.18.1-1

upbeat pecan
#

Do I need to use Zigbee2MQTT? I'm just using normal ZHA.

runic wave
runic wave
tired sonnet
runic wave
sour shadow
tropic depot
#

sengled bulbs are all end devices

#

etc.

#

there are lots

tired sonnet
#

I knew there would have to be exceptions! Good to know what they are

old kernel
#

Well here's a weird one.
I just got in my second zigbee kwikset lock, and this one I have to click the lock or unlock button in Home Assistant 4 times for it to work. hmm.....

upbeat pecan
sour shadow
#

Power

#

On == has power
Off == has no power

upbeat pecan
#

I did try unplugging it and plugging it back in 5 times but that didn't make the lights blink 4 times

sour shadow
#

Yup, it's a PITA

upbeat pecan
#

So is it just a timing thing then? I need to maybe unplug and plug back in faster?

sour shadow
#

As I said, I gave up and bought a new one in the end...

upbeat pecan
golden vessel
sour shadow
upbeat pecan
#

Took me like 5 times, but I finally got it to pair! Thanks @golden vessel and @sour shadow

old kernel
crisp crag
#

So I ordered both the slaesh and electrollama zigbee sticks. Is there one that seems to work better for ppl? Not sure if one just seems to have less issues.

mellow geode
#

The slaesh stick has a "nicer" serial chip

#

They are very similar otherwise

crisp crag
#

Ok thank you

runic wave
#

Good morning everyone!! Can Amazon Echo Plus's internal zigbee controller be integrated with Home Assistant ?

sour shadow
#

No

runic wave
# sour shadow No

Oh! okay. I suppose IKEA TRΓ…DFRI can be integrated. Am I right?

sour shadow
#

Sure, but why?

obsidian sandalBOT
#

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

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

zha is actively developed as part of Home Assistant Core, using the zigpy stack, the UI also being part of Home Assistant. The EmberZNet based sticks are recommended, but there are other options. There is no list of supported devices, as any standards compliant device should work. Devices that require extra support are listed, and adding unsupported devices is documented (you can't add unsupported devices yourself).

Zigbee2MQTT is very actively developed and can run in an add-on, in a Docker container, and natively. As of 1.15 has a native UI, and it also uses MQTT for control and configuration. It supports mostly TI based sticks, with the recommended options being the Zig-Ah-Zig-Ah!, Slaesh's stick (though be aware of the well documented communication problems with the seller), and the TI Launch-XL boards. The known working devices are well documented (which usually includes how to pair them so you don't have to find the manual), and adding unsupported devices is also documented.

runic wave
#

It seems to me the ZHA integration is unreliable. Yesterday I used a tasmota + EZSP flashed bridge to connect an Aqara wall switch (no neutral) and a sonoff zigbee motion sensor and it worked fine till I went to bed today morning it seems they've all droped connections.

sour shadow
#

Well, that's usually a sign of mesh problems not the integration you use

#

I've seen a lot of people on any number of Z-Wave and Zigbee integrations have problems that boil down to one of:

  • Weak or non-existent mesh
  • Interference
runic wave
obsidian sandalBOT
#

@runic wave When using Discord's new Reply feature it defaults to pinging the person you reply to, which can get frustrating for the target. Click @ ON to @ OFF to stop this - on the right side of the compose bar.

sour shadow
#

Well, those things aren't Zigbee though... they're WiFi

#

You're comparing cars with books

#

Look in the pinned messages for A good write-up of how the Zigbee mesh works

#

Mesh networks depend on the routers, and you can't scatter devices far and wide

runic wave
#

@sour shadow I suppose these devices are zigbee

sour shadow
#

Would you please STOP TAGGING ME FFS

#

I know you're talking to me, you don't need to be sending me notification pings

runic wave
#

okay. I appologize

sour shadow
#

So, check the health of your Zigbee mesh - the signal strength (and stability), and otherwise read that article

#

Practically speaking, the best you can usually hope for when there's no interference is maybe 8 meters between devices, and usually less

#

Oh, and there's two other pinned messages about mesh stability and interference, worth reading those too

runic wave
#

Thank you. I'll read those. But I don't still understand why you assumed that I'm talking about WiFi devices.

gentle fern
#

🐻 πŸ‘ˆ

#

Morning Tinkerer 😁

#

Don't suppose anybody's found some sort of walkthrough on command sending through zha? I've looked in the pinned posts and nothing there

verbal shale
#

hmm after seing the speks of Sooff Zigbee Bridge

#

I still dont understant why CC2652R is better

#

better processor, less memory (30k less) much more rom

spare ridge
#

are you comparing ESP chip or the Zigbee πŸ˜„

#

SZB is an EFR32

verbal shale
#

oh

#

right

bleak cave
verbal shale
#

@bleak cave where did you got it? I have a possibility to put in the same place, if it is over network

bleak cave
#

I hope I'm not breaking any rules by posting this, but tubes website is https://www.tubeszb.com
However, he only makes them in small batches and they sell out quickly.

verbal shale
#

i'm wondering if this is not overkill

#

lol

#

@bleak cave

tropic depot
#

they are great... I migrated to one of the few SI pro ones he made

verbal shale
#

i dont think that I need routers lol, i have alot of devices doing the routing stuff

#

exemple,....13 bulbs in the same place...routers

#

zigbee swtichs = routers

fleet lodge
#

Hello

#

Can anyone comment on XIAOMI / AQARA playing nice with TI based routers? CC2530 MCU to be specific

tropic depot
#

ooh absolutely

simple sentinel
#

Slaesh stick over here. asorted aqara/xiaomis, 6 or so devices

#

no complaints

fleet lodge
#

I guess that would be a TI-based "router"

#

Good point. Maybe a dumb question on my part.

#

Gracias πŸ™‚

simple sentinel
#

routers ey, didn't see that but there you go

bleak cave
#

@fleet lodge It is my understanding that Aqara devices play well with CC2531 and IKEA routers, specifically

fleet lodge
#

"I work with TIΒ΄s low power radio devices, including the CC253x family, and this is not correct. The only difference between the CC2530 and the CC2531 is the USB peripheral on the latter device. Both devices are equally suited for Zigbee operation and both have the same RF performance."

#

From a Github post. I think I'm in the clear.

fleet lodge
sour shadow
#

My Aqara devices are mostly routed through a TI router

full junco
#

Which device type are climate entities part of? I'm trying to force a discovered device that doesn't have entities etc. The device is a TRV.

sour shadow
#

You can't make a device - integrations do that

full junco
#

So the device is listed but HA doesn't seem to know what to do with it

sour shadow
#

Well, that would be climate

full junco
#

Well two devices

#

Ok so climate can be a device and an entity?

sour shadow
#

climate is the domain for things like thermostats

#

Unfortunately the choice of device there is confusing - HA's devices don't have a type, not really

#

HA's devices are collections of entities

full junco
#

Yea that makes sense

#

So in that example how can you assign multiple entities to the ieee + endpoint?

#

Should there be more than one endpoint?

sour shadow
#

Potentially, yes, I suspect it depends on the (physical) device

full junco
#

Do you know of any good resources for making sense of Zigbee device signature? And working with devices that don't work straight off the bat?

#

Last question - I promise.

sour shadow
#

Unfortunately I don't use zha, but the dev is around fairly regularly

tropic depot
#

the sig is fairly simple to parse

#

leave your questions here and i'll address them when I get back

austere patio
# fleet lodge Can anyone comment on XIAOMI / AQARA playing nice with TI based routers? CC2530 ...

The main "problem" with Aqara devices is that they sleep for a really long time. From what I understand, non-ZB3 routers can assume the sensors dropped off the network because they check in so infrequently. If you're using one of the TI Z-Stack router builds with the Z2M tweaks, those I believe increase that timeout or outright disable child aging, making them handle Aqara children fine.

sour shadow
#

Generally my Aqara devices seem to check in hourly, it's my Konke ones that'll go silent for hours on end

full junco
#

@tropic depot How do I get an unrecognised device (but interviewed + added to HA) configured correctly? I don't mind doing some developing if required. I've got a TRV that appears in HA but has not entities.

old kernel
#

you'll likely need to add a 'quirk' for it. the way ZHA handles things is that it assumes devices conform to the spec, and if they don't then you need a quirk to handle the differences

austere patio
full junco
old kernel
#

(a huge number of device manufacturers see the specs as more what you call guidelines, than actual rules)

sour shadow
#

Vague hints πŸ˜›

old kernel
full junco
#

Awesome. I like a good puzzle.

old kernel
#

there's... a lot in there...

austere patio
#

Unfortunately with the way quirks are structured, you sort of have to know what a proper spec-complaint device is supposed to do before being able to "fix" an existing one (unless it's just extending an existing quirk by adding your model info to it)

full junco
#

Ah

#

That could be an issue

austere patio
#

What does the device signature look like?

old kernel
obsidian sandalBOT
full junco
#

Ha that's jazzy

austere patio
#

Tuya?

sour shadow
#

~codewall @full junco πŸ˜‰

obsidian sandalBOT
#

@full junco Rule #6: Please do not post codewalls (longer than 15 lines) - use sites such as https://paste.ubuntu.com/ (just not Pastebin).

Please take the time now to review all of the rules and references in #rules.

full junco
#

Yep

austere patio
#

If the rest of the info matches and it's another one of Tuya's beautiful devices with random junk after the manufacturer name, you can likely just update the MODELS_INFO list

full junco
#

Awesome thanks for the pointers

old kernel
#

"ywdxldoj" when you name your company something to avoid anyone ever writing a bad review online

#

so this is a TRV, and that quirk says that it is a "touch based switch device" of devicetype SMART_PLUG.
Hmmm. Something tells me the person implementing this quirk didn't go all out in terms of accuracy

austere patio
#

Hmm, the signature matches the device's

#

zha.DeviceType.SMART_PLUG == 0x0051, which is what the above device signature contains

old kernel
#

ah that's the signature, good point

austere patio
#

I think this is because all Tuya devices just do proprietary communication over a single manufacturer specific cluster

#

Or the quirk is wrong

old kernel
#

but the quirk replaces SMART_PLUG with ON_OFF_LIGHT, which is not at all useful for the OP

austere patio
old kernel
#

maybe the random string of characters in the manufacturer ID is how tuya figures out what the device is?

full junco
#

Thanks @old kernel !

austere patio
heavy latch
#

Using z2m, the second button on a light switch I use to toggle another zigbee switch. There is a 2 second delay. I'm using node-red for this. Would it be noticeably faster by another means?

#

I've answered my own question. Made automation within HA and it's the same, there's still quite a delay unfortunately

unborn compass
#

Hey all. I was hoping to use my zzh stick as a router rather than a coordinator. Anybody know how much power / what kind of power source it would require?

old kernel
#

as a stick, i'm guessing 5v usb

amber gull
#

I used a Apple 5W charger. I like the more reliable design for something that will be plugged in all the time.

unborn compass
#

Thanks 😁

spice kelp
#

oh i didn't think to realize a router stick could work just powered and without a host

unborn compass
#

From what I understand, I just flash the router firmware, plug it into power, and it should be able to join my network.

sour shadow
#

My CC2530 router sits on a PoE-USB adapter

fleet lodge
#

Anyone with experience with XIAOMI / AQARA devices: if there are other routers around with better LQI than their current route, will they eventually jump to those routers? If so, how long until they make the change? Routers are IKEA Tradfri Outlets

golden vessel
fleet lodge
#

😦

#

There are ones that are connected to the coordinator with < 20 LQI, but there are routers with juicy > 80 LQI just being totally ignored. They need to make the jump! Life is better if they just took the chance. They're afraid of change 😒

sour shadow
#

I've had more luck with them re-routing on Zigbee 3.0 meshes than 1.2 meshes, where they just stay

fleet lodge
#

Coordinator is running 3.0, routers are running 3.0: so you're saying I have a chance 😏 ???

sour shadow
#

Chance yes

wide nimbus
#

Not sure this is really the right place but does zzh stick require usb serial driver (despite all docs saying no)?

#

Yikes... on win10 πŸ™‚

amber gull
#

Probably on Windows -- yikes is right -- google "CH340 windows 10 driver"

wide nimbus
#

Thanks for confirming! Yeah all over google, just confused why official docs were saying otherwise! No biggie

austere patio
mellow geode
#

Looks like something for Windows 3.1 lol

wide nimbus
#

Sorry was just trying to work out if my stick was bust, happened to be on a windows computer, wasn’t asking where to get it from. That installer is the oem vendor for the chip though πŸ™‚

old kernel
#

Everything about the CH340 is sketch

heavy latch
#

Is there an easy way to see if something is capable of binding?

strange nexus
#

Hey does anyone have the ikea shortcut button working ? It just shows it under the deConz interface but not in the Phoscon
It shows that there is a device under integration (Home Assistant) but I cant use it for automations

mighty river
#

Which Zigbee stick should I buy for my RPi4? I'm looking for sticks in Europe😁

sour shadow
#

The EmberZNet based sticks are recommended

#

Though the new TI boards also work really well

mighty river
#

Where can I buy one?

#

Oh

#

I see

#

Ty

mild herald
#

Hello all, I'm new here on discord ! I'm from France, my english could be better πŸ™‚ I'm a long time user of HA with Xiaomi integration and 6 months ago I moved to Raspbee and ZHA and I was really happy with it until few days ago. My RPI3 start crashing and after changing the micro SDcard and restoring all stuff I'm not able to connect to the zigbee network anymore. (details here https://community.home-assistant.io/t/raspbee-ii-zha-couldnt-start-deconz-error/289008 ).

Error is : [zigpy.application] Couldn't start application , I don't know what to do...

austere patio
mild herald
#

Restart in progress πŸ™‚

austere patio
#

To me it seems like your serial port is not working correctly

#

I'm not too familiar with how the raspbee is configured beyond plugging it into the headers

mild herald
#

There's not really new stuff in logs

#

2021-03-11 21:16:32 DEBUG (MainThread) [zigpy.appdb] [0x5449:1:0x0000] Attribute id: 65281 value: b'\x01!\x9f\x0b\x04!\xa8\x13\x05!\xd9h\x06$\x02\x00\x00\x00\x00d)\xca\x06e!\xb2\x17\n!\x00\x00' 2021-03-11 21:16:32 DEBUG (MainThread) [zigpy.appdb] [0x5449:1:0x0001] Attribute id: 32 value: 30 2021-03-11 21:16:32 DEBUG (MainThread) [zigpy.appdb] [0x5449:1:0x0001] Attribute id: 33 value: 111 2021-03-11 21:16:32 DEBUG (MainThread) [zigpy.appdb] [0x5449:1:0x0402] Attribute id: 0 value: 1738 2021-03-11 21:16:32 DEBUG (MainThread) [zigpy.appdb] [0x5449:1:0x0405] Attribute id: 0 value: 6066

#

this kind of things but nothing more

austere patio
#

Though if you're running Home Assistant OS that may not be something you directly do

mild herald
#

That's weird I don't remember I had to do all this things the first time.

mighty island
#

Just wondering if anyone has a way of making the Show Logs in ZHA a custom Panel?

#

I have visualization with "target: /config/zha/visualization"

#

Would prefer a full time tab rather than clicking "Add" when I don't actually intend to.

#

Especially with the new Refresh Topology ..

#

Thanks

tropic depot
#

I don't follow

#

the visualization is its own page

#

but you can use the redirect panel to make it its own panel in the bar on the left as well

old kernel
#

i think the request is to have a logs page, similar to the visualization page

tropic depot
#

ooh

#

the logs are dynamically only on for the duration of the join action

#

we can't account for every individuals logger settings

#

and we can't forcibly change them

#

so on joins we capture the current settings.... bump them to verbose... and then restore them to original settings

#

so a panel for this wont work

old kernel
#

yeah. i wonder if that could be done with a start/stop button on a log page or something... i just use tail and the log level service

tropic depot
#

not to mention that would be noisy

mighty island
#

I'm thinking it's more noisy to do a search, when not required, just to see the logs.

#

The 'update topology' seems good, but having my co-ordinator listen for something that isn't coming is more work?

#

Just interested in viewing the incoming logs

#

But if the logs are only on for the duration of the join, that answers my question .. i was presuming the co-ordinator was always spitting out logs .. but I have no knowledge.

amber gull
#

tail -f home-assistant.log | egrep zha\|zigpy

mighty island
#

Well, that answers the question! Thanks.

#

Only one other thing, could the log in the UI show to the page length. It's only 12 lines long at the moment. I have loads more screen space that could be used.

#

The tail is useful, thanks.

verbal shale
#

SOOO

#

can you please do a revision in zha code?

#

lol

#

Same bulbs, same vendor, same brand

#

πŸ™‚

tropic depot
#

awesome

#

I’ll peek at the code they have when I have a moment

#

Thanks for the comparison!

verbal shale
#

i'm a litle bit jealous of my friend that have the z2m now

#

lol

mellow geode
#

Is M2Q the Aqara hub?

verbal shale
#

no

#

conbee

mellow geode
#

Ah

#

Might be a bit of a dumb question, but what is m2q referring to?

verbal shale
#

zigbee 2 mqtt

#

z2m ?

#

lol

#

sorry

mellow geode
#

Ah lol

verbal shale
#

😊

mellow geode
#

Is the brightness change "instant" with ZHA?

verbal shale
#

no

mellow geode
#

Like in terms of speed, does it make a difference to change the color (temperature) vs. the brightness of the ZHA group?

verbal shale
#

same delay

mellow geode
#

Ah, ok

#

I have/had this issue but I guess it's not directly related then

verbal shale
#

the probleme is turn on off, change color, change white ballance, change brightness

#

z2m is sooooooo much faster

mellow geode
#

Yeah, didn't think it would be this different

#

Maybe I should also try Z2M at some point

#

Z2M doesn't poll the lights afaik (only older Hue ZLL bulbs with no attribute reports afaik).

#

Not sure if that makes a difference though.

#

I guess it shouldn't since it happens after the command to move to a different color though

verbal shale
#

@mellow geode yes, i know that i'm not the only one

#

lol

#

i saw those posts, and I already talk in private with some devs

#

the zha probleme is really there

#

lol

mellow geode
#

I think they prefer not to be tagged. It's annoying some people who have their notifications on.

austere patio
#

The benefits of not having notifications πŸ˜†

golden vessel
austere patio
#

Pretty sure this is just the state polling with a big group overwhelming the radio

#

And the group commands requiring the state update or some other indication from the bulb to change the bulb's state

#

Z2M from what I understand just does not care and assumes they all updated

golden vessel
#

the thing is that, IIRC, @verbal shale said that using a regular HA group was fast, and that is sending a message to each light

mellow geode
verbal shale
#

sorry, i did undone the tags

golden vessel
austere patio
#

It looks like it

golden vessel
mellow geode
mellow geode
verbal shale
#

but they arent

mellow geode
#

Do you know if they send attribute reports?

verbal shale
#

the group stay for exemple off

#

but all lights are on

mellow geode
#

So the individual lights update (even without polling)?

verbal shale
#

not really, because after disable the report state, i didnt have log in supervisor

mellow geode
golden vessel
mighty island
#

Does anyone have a blueprint that will alert when a ZB (ZHA ideally!) device goes unavailable?

mellow geode
#

Perhaps it would make sense to add some config options to polling? There could be an option for each Zigbee group maybe? And/or a global option.

#

If I have time, I’ll try to implement parsing of color/color_temperature attribute reports in the next couple of days.

#

(Won’t help with this issue though lol)

tropic depot
#

πŸ€”

#

Wow we don’t handle those reports... I had no idea

#

@mellow geode it should be trivial to add

mellow geode
#

Yeah, I think color_mode (whether the light is in RGB or color temp mode) is not in the attribute reports though(?)

#

And it would break Home Assistant scenes again if a light has both color and color_temp attributes.

mellow geode
# mellow geode Yeah, I think ``color_mode`` (whether the light is in RGB or color temp mode) is...

There's also still the issue that many lights have a (nice) default 1 seconds transition time.
In this time, the light obviously also reports attributes with varying brightness (IKEAs are broken -> they report the target brightness).
Often, this does look bad, as other Home Assistant lights do not just "jump around".
It also causes many state updates (I guess) -> couple of lights in a Zigbee group and the slider is jumping around massively when turning it on.

molten linden
#

^ this happens with my tube routers too. you should see the list of devices named "DELETE"

#

you can manually clean them out of the device.registry in storage.

mellow geode
#

Yep, that's what I've been doing for now.

#

I guess that's not the best idea for the average Home Assistant user though.

tropic depot
#

I’ll try to look at that tomorrow or this weekend

#

So I poked at the z2m light code a bit

#

It is dramatically different than what is in zha

#

I don’t think it is an insignificant amount of work to poke at that. What would be helpful is a network trace from that z2m light group to compare to zha

#

I’d like to see the raw Zigbee commands that are executed so I know what to focus on.

gentle flint
#

Should test with sending the on/off command disabled (just move to level with on_off and move to color) to and should test with light polling delayed. With large groups and each light sending the attribute update, i wonder if we lock some things

mellow geode
#

I guess ZHA would poll all lights.

#

Does Z2M even parse attribute reports at all?

#

I just briefly looked at some code but it looks like the devices are polled (readAfterWriteTime?) after changing them or if it's a group, only one light is polled. (Otherwise, the state seems to be assumed?)

#

Although it’s probably not a bad thing in terms of functionality, I find it really hard to keep an "overview" of everything Z2M does

wispy plank
#

Could someone help me with my ZHA integration? I have two Zigbee buttons that suddenly stopped working, so I fully deleted ZHA and all devices. I readded my Zigbee dongle, but neither of my devices pair or show up in the logs at all. I've swapped the batteries as well and still nothing.

#

I have it configured in ZHA as a ZNP radio with a port speed of 115200 and data flow control of hardware. Am I missing something or is there something else to troubleshoot?

#

I actually just got the logs to say this, but I don't think it's particularly helpful:

[0x0000](CC2531, Z-Stack Home 1.2): Attempting to checkin with device - missed checkins: 1
[0x0000](CC2531, Z-Stack Home 1.2): does not have a mandatory basic cluster
austere patio
austere patio
#

And the joining log contains no information at all when you try adding either of these?

wispy plank
#

Yeah I just tried again and nothing new besides logs similar to the ones I posted above

austere patio
#

If they join the network in any way then you should get some sort of log entry. It's not very scientific, but have you tried re-plugging your CC2531?

#

You can do it without restarting HA

wispy plank
#

I can do that and restart HA just to be sure

#

That isn't seeming to help either

#

Is it correct for the data flow control to be hardware and not software?

austere patio
#

You shouldn't need to touch that at all

#

But if ZHA even starts, communication with the stick is working

wispy plank
austere patio
#

The docs need updating

#

But zigpy-znp will work just fine with it

#

ti_cc hasn't seen an update in almost a year and is not going to receive any more

wispy plank
wispy plank
wispy plank
#

I thought I had to select one

austere patio
#

Did you start ZHA with ti_cc selected?

#

Which radio library did you use when setting it up originally?

wispy plank
#

I was originally trying ZNP

#

I just tried the Legacy TI CC quick and switched back after you said

austere patio
#

I will have to check again but I think the zigpy-cc library has a bug where it replaces your network settings. I would make a copy of your HA log, just in case it did

wispy plank
#

I'm running just HA core in it's own Docker container

austere patio
#

If you originally started using ZHA with zigpy-cc, it wrote Z2M's network settings to the stick

wispy plank
#

Oh, to the stick, I see

austere patio
#

zigpy-znp doesn't overwrite settings once they're written so it would have worked fine

#

If it did, that info may be contained in your logs. But if you have only two devices and neither of them work, it wouldn't matter anyways

wispy plank
#

So it wouldn't affect me anyways?

austere patio
#

If your only two devices don't work, they can't work any less πŸ˜†

wispy plank
#

Yeahhhhh... haha

#

Is there a way to like reset or wipe the stick just to be sure nothing's stuck on there?

austere patio
#

You can't run it easily from within the HA docker container due to HA taking control of the stick but if you install zigpy-znp on any other computer with Python 3.7+ available, it'll work fine

#

Or remove ZHA to hopefully have the radio be released, run the zigpy_znp.tools.nvram_reset -c command, and add it back

wispy plank
#

Completely clearing the NVRAM won't have any bad side effects, right?

austere patio
#

Other than completely erasing your network settings, no

#

I've done it like a hundred times with various CC2531s and other firmwares/hardware combinations

#

If it is indeed your stick and you want to help out, could you do an nvram backup tools.nvram_read before erasing everything?

austere patio
#

Oh well πŸ˜†

#

People complain about the CC2531 needing to be "reflashed" sometimes so I think there could be some bug that makes it glitch out. Erasing NVRAM is about as close as you can get to a complete re-flash without pulling out the debugger hardware.

wispy plank
#

And it doesn't look to be working still :/

austere patio
#

Which part?

wispy plank
#

No logs or pairing

austere patio
#

The erase operation should have logged a bunch of stuff, including expected warnings

wispy plank
#

Oh sorry, I didn't explain properly

austere patio
wispy plank
#

The wipe seemed to have worked correctly, I closed the window already so I don't have the logs, but it said that a bunch of things were wiped and then the stick was reset

austere patio
#

So that worked fine if it exited normally

#

If you unplug and re-plug your CC2531, does the bright red light turn off?

#

Anything to indicate that the radio is being communicated with?

wispy plank
#

I have a bright green light and it does come up when I plug it in, but that turns off after awhile (I have it disabled in the configuration)

austere patio
#

So everything starts up normally then, that only happens after the Zigbee network is formed or restored

wispy plank
#

Also I'm checking the logs now, there's a bunch of stuff I have to sift through, but I'll see

wispy plank
austere patio
#

That happens when it forms a network

#

It'll stop in about 10s

wispy plank
#

It's still going

austere patio
#

If it doesn't stop or ZHA fails to start up, could you upload the debug log or PM it to me? Even the whole log file is fine if you don't care to filter it.

wispy plank
#

Yeah it's still continuously going

#

I dumped my log and filtered by if the line contains "ZHA", is that enough?

austere patio
#

Never takes more than 10 seconds for me from the time I add the ZHA integration with the CC2531 to the time it's ready to use so I'm not too sure what that could be caused by

#

zigpy|zha

wispy plank
#

Got it, one sec

#

Okay this log contains the past hour or so of logs so some of the lines at the top were me trying things and might not be my current configuration

austere patio
#

Hmm

#

It just locked up and stopped sending anything

wispy plank
#

So maybe time for a reflash?

austere patio
#

Give it another try then πŸ€·β€β™‚οΈ

wispy plank
#

Give what specifically another try?

austere patio
#

Try re-adding the integration after unplugging the stick

#

I had this happen I think once but there's nothing useful in the log, it looks like it just stopped sending data

wispy plank
#

Okay I restarted the log as well so I get a new log file for this new try

#
2021-03-11 21:56:25 DEBUG (MainThread) [zigpy_znp.api] Testing connection to /dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0019369157-if00
2021-03-11 21:56:25 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.Ping.Req()
2021-03-11 21:56:25 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.Ping.Rsp(Capabilities=<MTCapabilities.CAP_APP|CAP_UTIL|CAP_SAPI|CAP_ZDO|CAP_AF|CAP_SYS: 377>)
2021-03-11 21:56:25 DEBUG (MainThread) [zigpy_znp.api] Detected Z-Stack 1.2
2021-03-11 21:56:25 DEBUG (MainThread) [zigpy_znp.api] Connected to /dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0019369157-if00 at 115200 baud
2021-03-11 21:56:25 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVLength.Req(Id=<OsalNvIds.HAS_CONFIGURED_ZSTACK1: 3840>)
2021-03-11 21:56:25 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVLength.Rsp(ItemLen=0)
2021-03-11 21:56:25 ERROR (MainThread) [zigpy_znp.zigbee.application] Failed to reconnect
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/zigpy_znp/zigbee/application.py", line 1115, in _reconnect
    await self._startup()
  File "/usr/local/lib/python3.8/site-packages/zigpy_znp/zigbee/application.py", line 232, in _startup
    raise RuntimeError("Cannot start application, network is not formed")
RuntimeError: Cannot start application, network is not formed
2021-03-11 21:56:25 DEBUG (MainThread) [zigpy_znp.uart] Closing serial port
austere patio
#

Could be because ZHA is in a limbo state due to the network formation never working to begin with

#

I would re-start HA or remove/re-add the integration

#

Communication works fine but the network is started in this specific way only after you've formed one

wispy plank
#

So I restarted the HA container and I tried to re-add the integration and the add is just hanging

austere patio
#

Bizarre. Is this a stick from Itead?

#

Or did you flash the 20190608 build of Z-Stack yourself?

wispy plank
#

I got it off AliExpress for like $2

#

I flashed it myself months ago so I don't remember which build I flashed

austere patio
#

That one, it's in the log

wispy plank
#

Oh πŸ˜… yeah, I flashed that myself

austere patio
#

I'm not really sure what to suggest at this point, that's the exact hardware/firmware combo I test with πŸ˜…. Maybe a re-flash??

wispy plank
#

Oh, it finally just added

#

Okay, time to try and pair

#

Yeah, nothing still. I'm going to try flashing it again

austere patio
#

Hmm, a new version. It's in the right folder but I'll try flashing it

#

Yeah, works fine

wispy plank
#

I'm flashing it using an ESP8266 since I don't have the CC Debugger so give me a minute to wire that up and get it working

austere patio
#

It doesn't erase NVRAM but you can do it over serial

#

python -m zigpy_znp.tools.flash_write -i CC2531ZNP-Prod.bin /dev/serial/...

#

Upgraded my CC2531 and after erasing NVRAM, I was able to start up a fresh HA instance with the stick and successfully join an IKEA dimmer

wispy plank
#

Ah, okay I'll do that

#

I'll reset NVRAM then flash

austere patio
#

It only can work while the stick is in the 60s bootloader timeout, while the green LED is on after you plug it in

wispy plank
#

When flashing over USB can I use the normal binary from Github or do I need the objcopy binary?

austere patio
#

Worked fine for me with the normal .bin file

#

It'll perform a CRC and length check so you can't flash an incorrect binary

wispy plank
#

Okay, I'll give that a shot

#

As long as the LED is green, it should work fine?

austere patio
#

The tool will tell you if you aren't in the bootloader. If you unplug and plug it in, you have about 60s.

#

The led will turn red once you're actually in the bootloader

wispy plank
#

Wait I had the ESP plugged in and did the wrong serial device oops

#

My bad

#

It's flashing now

austere patio
#

Mine got stuck during verification (dunno if it's just sending/receiving commands too fast) but if it does, you can re-run it after re-plugging the stick. The bootloader stays intact even if you improperly flash it, but only over serial.

wispy plank
#

It flashed and verified fine πŸ˜€

austere patio
#

Running zigpy_znp.tools.energy_scan -v will form a new network without having to use HA. The ZHA component will pick it up so you can check if it worked.

#

What should happen is that your coordinator should send this during formation:

Received command: ZDO.StateChangeInd.Callback(State=<DeviceState.StartingAsCoordinator: 8>)
# Repeat ~9 more times
Received command: ZDO.StateChangeInd.Callback(State=<DeviceState.StartedAsCoordinator: 9>)
wispy plank
#

I've already plugged it back into HA. Should I take it out and run that, or will HA form it automatically?

austere patio
#

Yours just dies halfway through

#

They run the exact same code so it doesn't matter

wispy plank
#

Got it

#

Doesn't seem to be pairing still

austere patio
#

If ZHA is still in the weird state where it assumes the network is formed but will not ask zigpy-znp to start up and auto-form a new network, it will fail

#

Your debug log will contain the network settings, which will tell you if a network has been formed. You should have seen the red LED flashing during formation again.

#

If it didn't, then ZHA is half-configured and is asking zigpy-znp to start up without forming a new network, which will fail since there is no network πŸ˜ƒ

wispy plank
#

I didn't see if the red LED was blinking (forgot to look), but it did at least stop blinking this time and there's no LED activity right now

#

I'm not sure if I see the network creation in the logs

austere patio
#

The current network settings are logged every time the stick is plugged in, even during runtime

#

If you can permit joins then it should have started up fine

wispy plank
#

Hm, I wonder what's wrong with it then

austere patio
#

Tbh I'm not really sure what the issue with your stick is. It getting completely locked up during formation and new devices not joining is strange. The stick should be doing a scan during formation to check for other networks in the area. Maybe something is wrong with the hardware?

#

I'm hesitant to point to hardware issues but I've done the exact same steps as you with an identical coordinator stick and a similar IKEA device and it worked without issues for me πŸ€·β€β™‚οΈ

wispy plank
#

Is it possible to enable pairing mode using that python module on my local workstation to narrow down if this is a hardware problem on the stick or computer?

austere patio
#

No, there's no way to do that at the moment

wispy plank
#

Should I try another USB or is the permit joins enough to say it's not a USB connection issue?

austere patio
#

What you're seeing in the log is a parsed form of what the stick is sending back

wispy plank
#

So that's probably no use then

austere patio
#

Z2M has been interfacing with the CC2531 for much longer than ZHA/zigpy so if you're willing to waste more time on a $2 stick, if it doesn't work with Z2M after this re-flashing then I'm really not sure what to suggest. It sends almost the same commands to start the stick up so I wouldn't expect that to change but you never know

#

Only other real difference is using channel 11 instead of 15

wispy plank
#

At this point I might as well just get a different stick I'm thinking

austere patio
#

If that does work then the network settings that Z2M will write to the stick will be used as-is by ZHA, only it won't be aware of any devices that joined the network

#

To be 100% sure, you changed the batteries on the sensors, right? If they dropped off the network due to a lack of power, the scanning done during joining will use a whole lot more and they likely will not survive.

wispy plank
#

Yeah, when it first dropped off the network, that's the first thing I did

#

Granted, that was about a week and a half ago, but that battery should still be fine I would think

austere patio
#

With the Mijia device, definitely

#

That I do have and it joined instantly from across the room after holding down the reset button for like 5s

wispy plank
#

I've never gotten my devices to pair that easy, huh

#

I'll swap the battery once more for good measure

#

Yeah, nothing

austere patio
#

Most Aqara/Mijia do not really support normal joining because they are not compliant so they have a fast joining path, where they are just instantly configured after identifying themselves

wispy plank
#

Do you think this will be fixed if I get a different Zigbee dongle? I've kinda had nothing but problems with this one where everything I fixed only seemed to last for so long

#

Maybe I should just get a real one like the Conbee II

austere patio
#

The Silicon labs and the Texas Instruments dongles are at the moment the best supported by ZHA

#

Z2M also got alpha support for some SiLabs stuff last week and has alpha support for the Conbee, otherwise it is well integrated with the TI sticks

wispy plank
#

Oh really?

#

I always thought of the CC2531 as the cheap AliExpress alternative to the other more product-like ones due to how hacky the flashing and appearance of it is

austere patio
wispy plank
#

Is there a device comparison chart somewhere between these different models?

wispy plank
#

Hm, since the Electrolama zig-a-zig-ah! (zzh!) and Slaesh's CC2652RB stick are both CC2652RB, does it really make a difference between the two?

austere patio
#

Conbee integration with both Z2M and ZHA isn't 100% but it works well for some people. And you can order it off of Amazon. The common community-made TI sticks are frequently out of stock so you can get one of the big red TI dev kits for about the same price and they have IMO better integration with both Z2M and ZHA

#

In theory no but Slaesh's communication in terms of shipping updates and such has been apparently terrible so πŸ€·β€β™‚οΈ

wispy plank
#

Wait one is CC2652R and the other is CC2652RB

#

Ah, maybe I'll wait then

#

These are both shipped out of the UK?

#

I'm in the US, only reason I ask

austere patio
#

The ZZH is, I think the other stick is from some EU country?

spice kelp
#

germany i believe

austere patio
#

Yeah, that seems to match what the Tindie store says

#

CC2652R/RB are otherwise functionally identical if you can get your hands on them

wispy plank
#

So either way I'll be hit with the extra shipping, got it

austere patio
#

The big (ish) red TI dev kits are shipped by both Mouser and DigiKey (and likely whatever other electronics supplier you use) but you'll have to pay for shipping as well

#

And newer SiLabs sticks are a tiny bit cheaper and work well with ZHA

wispy plank
#

Yeah, the other thing is I heard that some new tariff law got put in place so I'm not sure how that affects regular consumers or if there's a certain price threshold or whatnot so I'm trying to figure that out as well now

austere patio
#

I believe Digikey tells you, so for the cheapest CC2652R dev kit it'd be like $39.99 + $5-7 shipping + tax

wispy plank
#

I can't find the kit you're talking about, but I'm going to assume that the zzh! is probably nicer than it?

#

And around the same price, so I'll probably just wait for that to come back in stock

austere patio
#

Exact same chip. The dev kit is a little bigger than an Arduino Mega, I think.

#

It's sold as the LAUNCHXL-CC26X2R1 but the X is really a 5

wispy plank
#

Yeah that big red PCB is kinda ugly haha

#

I like the nice littler case that the zzh! has I think I'll just wait for that honestly it seems a lot nicer

austere patio
#

I personally can't speak for how good the range is, but other users (well, user) who have used it have had no complaints

wispy plank
#

I'm not sure, the zzh! page says that the stock will be released in batches every few days and it seemed like the last drop was Sunday so hopefully another another batch will be released soon

#

I turned on email notifications and I'll try to get one before they're gone

austere patio
#

It's a good stick and you have some mobility in terms of zigbee integration support if you decide to switch to Z2M

wispy plank
#

I've shied away from Z2M only because I haven't had a use for MQTT yet, but who knows in the future and it seems like the best of the options out there

#

Zigbee hasn't been working for like a month now so what's another couple of weeks haha

austere patio
#

I'm a little biased working on zigpy-znp which is used by ZHA but Z2M is behind (for now) in some stuff nobody really cares about 😝

wispy plank
#

Thanks so much for your help, I appreciate it. Once I get myself a zzh! hopefully I can get it working and solve those reliability issues I was having

austere patio
#

No problem. I have been looking for info about this specific CC2531 formation bug but it looks like nothing interesting can be learned, for now

#

Hopefully the ZZH stick will give you more reliability for the two sensors making up your network

wispy plank
#

The CC2531 was fine to learn about Zigbee on and get my first couple of devices working, but once I expand the network (which I plan on doing shortly), I kind of have no hope for it working great in the long run

austere patio
#

It works great (other than the occasional complete firmware lockup...) if you don't do anything with your network (i.e. mostly sensors), but the moment you start controlling devices, it does start showing its age

#

I ran my 25 sensor + 25 bulb/switch network on one for about a week to test it out and it worked pretty okay, but it was noticeably slower than the zzh and other newer-generation TI sticks

wispy plank
#

Also, that ZZH device needs to be flashed it looks like according to Z2M's docs, can I flash it using the same command as the CC2531, but with the Z-Stack_3.x.0 firmware?

austere patio
#

And then completely died about a week into the test, requiring a physical reset

#

No, it has a separate tool but you just hold down a little button while plugging it in and run a command

#

It will flash faster than the CC2531 and is about as painless

wispy plank
#

So that gets flashed with the Z-Stack_3.x.0 or it has it's own firmware as well?

austere patio
#

Yes, you just flash it with 3.x.0

wispy plank
#

Got it, thank you

radiant moth
#

My experience migrating from CC2531 to Sonoff Zigbee Bridge has been like night and day so far. No weirdness, no rebooting every few days. Only 3 weeks so far but not a hiccup. Simple system - only 17 devices with some PIR and time based automations - but it's really nice to forget about the tech and just have it work as it's supposed to. Only downside is the loss of smooth light transitions but I think that's a ZHA thing rather than the hardware.

west jackal
#

i have zigbee2mqtt and 1 device lost connection, it is not comming back automatic. other devices no problem, how can i reconnect devices after conection time out?

sour shadow
#

First thing to do is to push the button on that device, to wake it up

#

I usually find that a few pushes will cause it to reconnect and carry on

#

Sometimes I find that Z2M needs to be back in pairing mode for that to work, usually when a device has decided it's not on the mesh any more

#

Twice I've had to actually re-pair the device to get it to reconnect, but that's Xiaomi for you

west jackal
#

but it is after restart the HA server all the time. the device is behind a socket. damm i was hope for software thing

sour shadow
#

Well, don't restart the server all the time πŸ˜‰

#

Seriously, you restart the host for operating system upgrades and kernel updates

west jackal
#

yes im adding the config files with new sensors and adons before they working u must restart

sour shadow
#

No, you restart Home Assistant

#

Not the whole computer

west jackal
#

yes but restart home assistant the device lost connection

sour shadow
#

Well, if you actually only restarted Home Assistant then the problem isn't related

#

How did you restart HA? What exact steps did you follow?

west jackal
#

setting server validate config if OK then de restart button

#

somtimes it lost connection de zigbee stick and i must reconnect the stick in the vertualmachine

sour shadow
#

Well, that sounds like a problem with your VM then

#

But, restarting HA doesn't touch Z2M, so that it appears when you do that is unrelated

jolly narwhal
#

Unless he restarts the VM, with a z2m add-on 🀒 wtf

west jackal
#

i have rf link en zwave stick always connected but the zigbee stick it is lost connection with te virtualmachine

#

i never restart the VM

#

if i run z2m in docker is it better than in the VM

sour shadow
#

Yes πŸ˜‚

#

Though, if that's a CC2531/CC2530 you're long overdue for an upgrade

jolly narwhal
#

Preferably outside whatever hypervisor you are running

#

Decoupling yes

west jackal
#

i use a conbee2 stick

sour shadow
#

Well, that's only experimental ... so a "great" choice πŸ˜›

jolly narwhal
#

And multiple users have had issues

#

Just the last week