#zigbee-archived

1 messages · Page 104 of 1

gentle flint
#

Yes. And debug logs

tropic depot
#

lol

gentle flint
#

in debug logs, I trust

tropic depot
#

hahahahaha

mellow geode
#

Looks like zigpy_znp hasn't properly implemented this (yet)?

gentle flint
#

why Texas protocol couldn't implement just a raw message send API???
For that one we are going to need @austere patio

#

see, everything you need is in the debug logs

mellow geode
#

haha yes

#

should've done that earlier

lilac wharf
#

Debug log strikes again

mellow geode
amber gull
#

Now that puddly has unlocked the secret of the IKEA broken firmwares, I have an extra IKEA TRADFRI hub if anyone needs/wants one (in the US)-- just send me a PM

rapid wadi
#

I use a zzh, and have some Xiaomi (ZNCZ02LM) and IKEA repeaters. I find I have to power cycle the Xiaomi every so often or some of my devices stop communicating. Everything I use zigbee for is battery powered (door sensors, buttons, etc).

Has anyone find a reliable way to extend the network (ideally small form factor so I can plug them into various power points around the house)? Adding light globes isn't a good option.

simple sentinel
#

Smart plugs, or just straight up extenders

#

oh, you already have IKEA repeaters

rapid wadi
#

Straight up extenders would be fine. Need to handle ~240V or ideally have AU plugs though

#

The IKEA repeaters seem to have pretty poor range

amber gull
#

What are you having to power cycle? The IKEA stuff or the Xiaomi stuff? The Ikea stuff can crash from time to time

rapid wadi
#

Xiaomi

simple sentinel
#

Smartthings (Samsung) seems to have AU offerings

rapid wadi
#

I've been wondering if I'm better off with some CCXXXX USB stick with a router firmware

rapid wadi
sour shadow
simple sentinel
#

I saw some less renowned offerings on eBy, but they are bulky.

rapid wadi
sour shadow
#

I bought one when I started with Zigbee - works really well

rapid wadi
#

Do you remember roughly how much it was?

royal star
#

@rapid wadi your issue w/ the xiaomi devices is your repeaters. i use many ewelink sa-003 smart plugs and they work great as repeaters for my aqara/xiaomi devices

#

they're cheap off aliexpress even w/ au shippping

royal star
#

np!

lilac wharf
#

Heh, I actually prefer zigbee2mqtt assistant's map

#

Also looks like it's time to change some friendly names lol

royal star
#

you would be right

#

i have their names changed in ha but not z2m

#

should have started the other way around

#

what naming convention is everyone using for their friendly names?

sour shadow
#

Whatever makes sense

#

Friendly names are a lot fuzzier than entity_ids and don't need to be unique

royal star
#

ill admit, i'm indecisive on a namng scheme and thats why i havent

sour shadow
#

I tend to name lights and sockets by location, or function - eg Table light

royal star
#

that and lack of time

sour shadow
#

The entity may be light.living_room_table, or switch.kitchen_table_left

#

You should find a bunch of related discussions with some careful searching

#

Maybe I'll write another bot message, or a blog post on how to name entities 🤣

royal star
#

!pickyournamingscheme

#

lesser known version of !pickyourstick

amber gull
#
hass-cli entity list | wc -l
1278
#

Location prefix first here

hass-cli entity list | cut -d " " -f 1 | sed -e 's/.*\.//' | sed -e 's/_.*//' | sort | uniq -c | sort -n | tail -n10
     27 back
     31 family
     34 boys
     37 kitchen
     39 basement
     43 backyard
     44 synology
     56 master
     70 garage
    107 unifi
#

No idea that the garage was my most sensor'ed up location, lol

dry fossil
#

So sexist. No entities for the girls...

royal star
#

70 sensors in your garage?

#

oh, entity list

amber gull
#

Just entities -- tilt sensors, garage door openers, cameras, network switch in there, yadda

last fulcrum
austere patio
forest jetty
#

I have a stupid/newbie zigbee question...I've traditionally used wink, then smartthings for all zwave and zigbee. I'm transitioning to a combo stick. I installed openzwave in a docker container for zwave. I am at a loss for zigbee. Is it natively supported, nothing extra required?

Apologies in advance for the stupid question, I just don't have the stick yet (coming in Friday) and I'll be without internet at the place I'm setting it up, so I'm trying to get it as prepared as I can in advance.

obsidian sandalBOT
lilac wharf
#

Looks like your choice of Zigbee integration will be ZHA which is built in to HA

forest jetty
#

Ok. That's what I was having a hard time figuring out. I appreciate it @lilac wharf .

#

I need to watch some videos on zigbee2mqtt.

last fulcrum
#

I think we need some sort of guide on which zigbee stack to use.

forest jetty
#

@last fulcrum May not be a bad idea. I'm certainly not experienced in that fashion, since I was using hubs before for those two protocols. But I would not mind doing research and writing up a draft for someone else to correct/add to, once I have time.

#

My confusion was coming from an old post I came across on reddit that tried to claim HA did not support zigbee natively (which is obviously not true).

last fulcrum
#

I also use a smartthings hub for all my zigbee stuff... but I'd rather go local with a USB radio

forest jetty
#

That's what I'm in the process of doing, through my move to a new house. Setting up a new HA instance at the new place because I'll be living in two places for the next six months until my kids' school year ends.

last fulcrum
lilac wharf
#

Zigbee2mqtt is nice since it's decoupled from home assistant

#

ZHA is nice too but it's dependent on HA

forest jetty
#

After doing a little more research, I think ZHA is actually my only option.

#

I had actually hoped to run something separate.

#

But I have the HUSBZB-1, which seems to only be compatible with zha

forest jetty
#

Unless I'm missing something

amber gull
#

HUSBZB-1 is only compatible with ZHA -- Solo dev is working on zigbee2mqtt support for it, but nothing to shar eyet

forest jetty
#

Is it on github?

amber gull
#

Not public, no

forest jetty
#

ok

#

I haven't done it in the HA world, but I have experience with low level coding with OE, if I can be of any assistance

last fulcrum
#

is the HUSBZB-1 one of the more popular ones?

lilac wharf
amber gull
#

It is one of the most popular ones -- it's a bit long in the tooth now as it uses a SiLabs EM3581 chip which is now EoL

forest jetty
#

Perhaps I purchased the wrong stick. I purchased it because I was trying to kill two birds with one stone

twilit thunder
#

The new HA version caused this error to come back to the log: No response to 'Command.aps_data_indication'

amber gull
#

You'll most likely be fine for a long time -- maybe in 2030 when we all switch to CHIP a more modern EFR32 will make the jump and you'll have to spend $30 to upgrade

forest jetty
#

And in the new house, I still don't know the permanent location of my HA instance. (don't mean to get off topic). I'm giving the rasbpi a second chance.

amber gull
#

As long as you have mains powered devices, location of the coordinator shouldn't really matter

forest jetty
#

Yeah, I get that. Just haven't decided where I want it. I'm likely to put it in my networking closet though.

lilac wharf
#

I like that stick. Served me well until I switched to a ZZH and zigbee2mqtt

last fulcrum
#

where do you get the ZZH! ?

lilac wharf
last fulcrum
#

sold out

forest jetty
#

Why do you prefer the zzh?

lilac wharf
#

Not sold out, he's just on vacation

#

Wanted to switch from ZHA to zigbee2mqtt @forest jetty

forest jetty
#

So the decision was solely based on the stack?

lilac wharf
#

Yeah

forest jetty
#

I'll look into it

last fulcrum
#

I think I'll get the zzh! after he's back from vacation

amber gull
#

Using the ZZH now, migrated from the HUSBZB-1 --- effectively zero difference

#

Zero difference from a purely functional viewpoint

#

Think I get 50 children on ZZH, max was 32 on HUSBZB-1 -- walking around lights all come on instantly, so 🤷

lilac wharf
#

Yeah no difference as far as speed, it was purely because I wanted to switch from ZHA to z2m

amber gull
forest jetty
#

Where is the best resource to see the advantages of zigbee2mqtt over zha?

radiant eagle
#

Anybody know why ZHA logs aren't showing up in my searching/pairing panel anymore? Is it logging settings?

amber gull
#

@forest jetty Probably the best path to start down is plan out your device buildout and if you want to decouple zigbee or not -- those are the two biggest questions

forest jetty
#

Plan my device buildout because...of device limitations?

#

either in number or specific devices?

amber gull
#

Because of compatibility -- they each support different devices

#

z2m docs are really excellent on what they support -- zha expects everything to be standards compliant so in theory things should work, but in practice devices need "quirks" to work with zha

forest jetty
#

Ok. That's a good start for me. I do have a desire to decouple. But compatibility will be a big one. I have probably 50 zigbee devices I will be transitioning from ST

amber gull
austere patio
#

For the most part I think anything that works with ST should work with ZHA or Z2M

forest jetty
#

Fortunately, most will be multiples of the same device

amber gull
#

You'll love it over here in HA zigbee land

forest jetty
#

@austere patio does it matter if I had to create my own handler?

#

Because many of them, especially the tradfri things a few years ago, I needed to

amber gull
#

All the TRADFRI stuff will work out of the box with either implementation

#

and both should support firmware updates natively for TRADFRI as well

radiant eagle
#

yeah it was my logging level.

gentle flint
lilac wharf
#

Or the CC2531

forest jetty
#

Thanks @lilac wharf . Now I want to buy a zzh.

strange ibex
#

+1 zzh

forest jetty
#

@amber gull good to know. I'd say about half of my zigbee devices are either lightify or tradfri.

royal star
#

there are other cc2652 indie chips out there

#

even on tindie

#

you dont have to wait for the zzh

last echo
#

I have some Third Reality zigbee switches covers (Gen1) that i use to turn on/off the fireplace and I have them paired with HA just fine but the state gets out of sync when i use the button on the switch to turn it on/off instead of using the UI

strange ibex
#

gen1 is non plus?

#

are you using z2m or zha?

last echo
#

installed the deconz integration/add-on so not sure

strange ibex
#

oh, that one too. not super familiar wth that

last echo
#

from what i can tell the switch isn't transmitting the state change on button press

strange ibex
#

z2m's docs for the device says you can "If the switch is showing off when it is actually on, hold the button till the LED comes on then release, it will change the switch position while keeping the current state."

last echo
#

i think that is if you have the switching behavior inverted

#

when off==on instead of off==off

strange ibex
#

ahh, yeah. I understand you now but was hoping for the easier solution

#

not sure how to help your problem

last echo
#

i feel better that it isn't an easy fix

strange ibex
#

It probably is but I am just not familiar, lol

last echo
#

moving over to HA from vera and the small things that made the wife happy

strange ibex
#

it seems that you can send {"state": ""} to it get make it send out the state again

last echo
#

where would id o that

strange ibex
#

Idk deconz 😛

#

it shouldn't matter though I guess

#

wait, it does

#

'problem is, I have no idea what deconz really is so very bad start

last echo
#

deconz is just the zigbee controller from what i can tell

strange ibex
#

oh, did you flash something on it? let me just google

strange ibex
#

I feel like I am missing something very obvious. Your button works but yet the state is off?

#

Is your switches state not reliant on the entities state?

last echo
#

When I turn the buttons on/off using the HA ui it works and state is correct. But if I push the physical button to turn the device on/off the state does not sync to HA

strange ibex
#

can you subscribe to the topic of it and see if maybbe it sends a toggle instead of on/off ?

#

wait, it isn't mqtt. My brain keeps turning off. at least I think it isn't mqtt

#

Walt, save me

amber gull
#

zigbee has the concept of attribute reporting for cases like this

#

If a device is manually controlled via a remote the device can send a state update via an attribute report to the coordinator

#

Most modern stacks implement attribute reporting but if they do not they have to be polled

uneven fable
#

Hrmmm... is there any use for a v1 Hue Bridge these days?

lilac wharf
#

Yes, it can be used with the Hue integration

uneven fable
#

thanks mate. sorry am just trying to work out whether i bin it or donate to a local

brisk horizon
#

Hi guys, I’m wondering if someone can help me, I’m using aqara mini on z2m. It all works great and HA see’s the changes via the mqtt integration. What I’m trying to do is reset the state in HA to off after 2sec. Currently it will sit on single for 40 min or so.

sour shadow
#

You'd need to do that on the Z2M end really

verbal shale
violet dagger
paper steeple
#

hello there.
i just received my first vibration sensor (aqara)
i use ZHA
couple of questions for those that have one too:

  1. is there a way to adjust sensitivity through zigbee clusters and how?
  2. how long does it take to go from "detected" back to "clear"? i have it sitting on a shelve behind me and after 5min. it's still "detected", is this normal?
final pivot
mighty river
#

Hi guys. I have somewhere around 80 devices between Zigbee, BLE and Wifi in a 700sqft flat. Everything reacts instantly but maybe once a day one of the motion sensors takes 3-4 seconds to turn on a light. Should I be concerned about it and try to fix it? or is this the best HA can do given the situation? Thanks in advanced

sour shadow
#

Zigbee motion sensor? What type and integration? What do you run HA on?

mighty river
#

so basically you believe it has to be improved?

#

I though maybe it was natural interference given the tiny space all those devices are working in

sour shadow
#

Well, I believe it may be possible but ...

#

Possibly

mighty river
#

it's a Philips Hue motion sensor integrated with conbee II and ZHA

#

HA running on a pi 4

sour shadow
#

Bluetooth is hard to avoid, but presumably you've ensured that Zigbee is as far away from the WiFi signals around as possible?

#

You've stuck the Conbee on a USB extension cable?

mighty river
#

nope, I heard of that though

#

but I'd rather change my coordinator, rather than putting an extension cable

#

not sure which one would be best

paper steeple
#

how about distance from coordinator to sensors? you have routing devices like zigbee bulbs or plugs around the house?

mighty river
#

yep, zigbee and wifi are away

#

yup, I have one xiaomi plug

sour shadow
#

one

#

Yeah, that's not enough

mighty river
#

really? I only have 22 zigbee devices

sour shadow
#

One router for 22 devices...

#

That's a bottleneck

paper steeple
#

amount doesnt matter, distance and signal strenght does

sour shadow
#

More routers == more signal paths though

mighty river
#

hmmm

sour shadow
#

The more roads you have, the more people can travel at the same time

mighty river
#

I though that for a 700 sqft flat that would suffice

paper steeple
#

you have walls, right? they block signals pretty well, so improving signal is important

mighty river
#

hmm

paper steeple
#

my flat is around the same size than yours. i have more than 10 routing devices...
i don't have any delay problems, but in the ZHA MAP i do see certain devices with red/bad signal

#

walls, furniture, appliances... all affect wireless signals

mighty river
#

alright..

#

hmm..

paper steeple
#

plugs are the best routing devices in my opinion. they have usually strong signal.

#

3-4 plugs around the house help A LOT

mighty river
#

thank you

#

xiaomi plug would do ok?

paper steeple
#

1 sec

mighty river
#

yup, that's exactly the one I like

#

eres español?

paper steeple
#

however i recently got a philips hue dimmer and it doesnt want to connect through those routers and connects through a LIDL plug instead that is further away

#

so, be aware that with zigbee routing, not all brands and models like each other

mighty river
#

that's why I was asking because I'm somewhat aware of this

paper steeple
#

si, Barcelona

mighty river
#

jaja

#

que bueno

#

yo vivía ahí

#

pero bueno, sigamos en inglés que no quiero que la gente se moleste

paper steeple
#

yupp

#

you have 22 zigbee devices

#

what kind and brand?

mighty river
#

basically aqara and philips

#

let me chec

#

k

#

yup

#

Aqara and xiaomi, that's all

#

sorry

#

Aqara and Philips

paper steeple
#

and the motion sensor that's giving trouble, is aqara/xiaomi or phillips?
also, that one router you have, is aqara/xiaomi?

mighty river
#

the router plug is xiaomi

#

philips motion sensors are giving trouble

paper steeple
#

are yo using ZHA or Z2M?

mighty river
#

ZHA

paper steeple
#

ok

#

go into HA->integrations->click on zigbee "configure" then at the top click on "visualisation"

#

assuming you have at least HA 2012.12

#

that will show ZHA MAP

mighty river
#

nope...

paper steeple
#

and will show you were that sensor is connecting through

mighty river
#

nope, I can't map it

#

is there any other way to do that?

paper steeple
#

you have a older version?

mighty river
#

yes

paper steeple
#

i dont know if the old plugin still exists.
i recomend you update HA

#

but lets forget the map for a minute

#

you have a xiaomi plug, a troublesome phillips motion sensor and a coordinator which might be too far away and has no extention cord

mighty river
#

I'll check that out

paper steeple
#

i guess the sensor is not connecting through the xiaomi plug and the coordinator has too bad signal to reach the sensor -sometimes-
it would be easier if it failed ALWAYS, but you said, only sometimes.
maybe when your appliances (microwave) is working, maybe when a neighbor turns on his wifi... who knows.
but you can either try to improve the signal

#

or change for another sensor

#

if you put one of those in the middle of your house, it has a great signal strengh and acts as router

#

and/or use more xiaomi plugs... but like i said: my philips hue remote doesn't connect through xiaomi. they don't like each other

mighty river
#

what weird is every time I check the LQI , it is above 240

paper steeple
#

then maybe the sensor is failing

#

can you switch places with another sensor?

mighty river
#

forgive me if I explained myself unproperly bad it's not only that particular philips hue sensors

#

it's all of them

paper steeple
#

oh

#

how many?

mighty river
#

and they all are really close to the coordinator

#

I've noticed problems with at least 3 of them

#

that delay I spoke about

paper steeple
#

and it all happens at same time?

mighty river
#

and they all are really close

#

yes

#

itusualle happens at the same time

#

for example, when I walk my corridor

#

there are two there

paper steeple
#

well, then maybe your device (a NAS or a PI) is having a CPU spike for some reason?

mighty river
#

both light won't turn on until I'm at the end of the corridor

paper steeple
#

how did you monitor the problem? maybe the motion is triggered properly but those bulbs don't receive the signal fast enough?

mighty river
#

hard to tell

#

maybe is HA itself and not the zigbee network..

#

it's so dificult to know

#

how is one to troubleshoot this?

paper steeple
#

well... you said you have a older version.
step 1) reboot HA, see if it improves
step 2) update HA

mighty river
#

if one doesn't know whether it is the zigbee network or HA

#

itself

paper steeple
#

first thing you should do IMO is update everything

mighty river
#

it sounds scary..

#

😄

paper steeple
#

i mean, HA and whatever else software you have for your stuff

mighty river
#

you know what happens in HA when you update

paper steeple
#

no need to update any firmwares on devices, not right now anyways

mighty river
#

I'll take your advice though

#

at least I'll have that ZHA map

paper steeple
#

i run HA in a docker container witrh /config persistant. updating is like 3 clicks,.

#

in fact, i am doint it right now 😄

mighty river
#

every time I updated, several things stop working and I need to redo them

#

some custom components, some flows

paper steeple
#

thats another problem you need to adress first then

mighty river
#

and I have to figure out how to redo a bunch of things

paper steeple
#

everything you do should have persistance

#

and backups

mighty river
#

dunno what that is

paper steeple
#

que cambios sean permanentes y tener copias de seguridad

mighty river
#

I do have backups

#

but for some reason maybe two or three custom components will stop working if I update

#

and I really need those you know

#

well, thanks a lot my man

#

you've given me a lot of things to try

paper steeple
#

time to get rid of those bad components 😉

mighty river
#

there's no alternative 😦

paper steeple
#

i just use HA with ZHA integration and MQTT for a couple older tuya plugs
so i have everything in their own docker container:
HA
NodeRed
MQTT broker
thats all i need.
and everything can be updated or rebooted individually and everything has permanent settings so nothing gets lost when i reboot.

#

if there was a integration inside HA that was obsolete, i would get rid of it and find another way. it's never good to use obsolete/not maintained stuff

mighty river
#

there's no way to bind my vacuum to HA..

paper steeple
#

then ask yourself: is it really vital that you can bind your vacuum to HA, when it screws up everything else because you can't update?

#

here's another idea. but i only know how to do this if you use docker:
you can run 2 HA
1 old one just for your vacuum
1 updated one.
and both can be linked with a integration

mighty river
#

hmm

#

that's getting complicated..

#

I should think it out

paper steeple
#

sure

mighty river
#

it's the vacuum , the samsung tv, the mail, aemet wheather.. but anyways, I'll think it out

#

I've had problems in the past with my system running slow, updated, and it didn't solve it.. finally I realized the problem was somewhere else..

#

but I'll document myself about that docker thing and so on, it might be an interesting setup

#

thanks a lot phoenix for your time

#

you've given me a lot to work with, hopefully I'll be able to fix it..

#

thanks, really

mighty river
paper steeple
#

🙂

#

PM me anytime u need something if no1 else answers

tropic depot
#

@mighty river I’d start by configuring debug logging and I’d check 2 things... when did the motion sensor state change and when was the automation triggered (from the POV of HA... meaning when did HA register each thing)

#

You need to figure out where the delay is first

mighty river
#

debug logging for ZHA you mean?

#

only ZHA?

tropic depot
#

depends on how much you want to look at

#

maybe before that just compare the existing state change times in the log book to the automation firing

#

should all be there already

#

see if they line up... if not then the debug logging for ZHA is unnecessary

mighty river
#

hmm

#

my automations are in node red so not sure it'll show up in the logbook

amber gull
#

No, you probably want to debug log homeassistant.core and look at home-assistant.log -- or use debug nodes on event state change nodes for the sensors/lights you are using

mighty river
#

I guess I can check when the motion sensor picked up movement and when the light was turned on

amber gull
#

But the native HA log file would be better

mighty river
#

so I assume that, when the problem takes place, if I go to the logbook and motion detection and the light turning on happened at the same time, the delay has to do with the zigbee network?

#

if there's an actual delay in the logbook between the sensor picking up motion and the light turning on, the problem is elsewhere?

amber gull
#

Correct, if the sensor and light are both zigbee

sour shadow
#

Or, at least, the delay is in HA registering the change

mighty river
#

ok that's really helpful, thanks a lot guys..

#

I'll be checking that and probably be back with results

#

the light is wifi

#

but I believe it doesn't make any difference.. zigbee motion detection goes first

unkempt moat
#

When I open a hue bulb in home assistant I see these (after brightness, and color temperature): x: 0.444964784374273 'y': 0.406668032982576

#

is it expected or have i configured something wrong? Using zigbee2mqtt

#

it doesnt seem to affect any behaviour, but the light card looks a bit bork

dry fossil
#

'looks a bit bork' 🤔

unkempt moat
#

i mean it looks like something gets badly parsed. It shows unneeded info

obsidian sandalBOT
#

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

unkempt moat
#

☝️ thats how the card looks like in lovelace. It is a Hue bulb using zigbee2mqtt -> mosquitto -> HA. Some automation related to it is node-red based.

dry fossil
#

That's not the card. That's the more info modal. It's normal for it to show everything it knows.

unkempt moat
#

ok, and does that x/y value make sense? It is not a color bulb, just white with different temperatures

fleet wedge
#

Hmm that zzh stick is kinda expensive

#

The shipping is too much

#

I can get a conbee ii for less

strange ibex
#

lol, ok

fleet wedge
#

Why is the zzh worth the extra cost?

#

The zzh is 30 usd + 16 usd shipping , conbee ii is 40 shipped

#

Can you still use a hub with zigbee2mqtt? (Then maybe a cheap 5$ thing could team up with a legit hub)

amber gull
obsidian sandalBOT
#

The CC2531 and CC2530 sticks are cheap for a reason. They're fine for testing, but do yourself a favour and buy something better.

sour shadow
#

If you're running Z2M the Conbee stick comes with a warning for a reason 😉

fleet wedge
#

So that's why the zzh is the better option

sour shadow
#

Well, that and ... it's rock solid for Z2M

#

There's two great options (ZZH and Slaesh) and one good option (CC2538)

fleet wedge
#

With the tuya plugin breaking because tuya hates home assistant i need a stable solution for circadian lighting

sour shadow
#

Z2M has been stable for me, at least once not on the CC253x sticks 😄

#

Being Zigbee devices do sometimes temporarily disconnect, but they reconnect almost immediately

golden vessel
#

@fleet wedge you can also check the elelabs stick, for ZHA 😊 Or the sonoff zigbee bridge, if you want cheap

lilac wharf
#

ZZH also has an external antenna which the Conbee does not

fleet wedge
#

Yeah

#

You think he'll ship it for normal shipping price?

#

Or is he doing the aliexpress thing by listing it cheap and using shipping costs to cover the actual price

unkempt moat
#

I have a slaesh. I am pretty sure the vendor is legit and isnt trying to cheat customers in any way. Shipping is expensive, especially at low volumes.

sour shadow
#

Both of them are legit - I have both sticks 😄

fleet wedge
#

It's not tho, i speak from experience as a seller and buyer

sour shadow
#

Slaesh's early attempts scored a -10 for customer service, but I'd expect that improved a lot

#

I know that @waxen jungle had imported a bunch of ZZH sticks, and has been having discussion with the seller to do a bulk purchase/reseller setup

fleet wedge
#

Sleash is cheaper in total, and he's uses an expensive shipping method

#

Maybe zzh uses a luxury shipping method too

lilac wharf
#

you're always paying shipping no matter what if something is delivered to you

#

anything with "free shipping" just has the shipping cost built in to the item price

#

ZZH guy could just sell it for $46 with """free""" shipping

austere patio
#

The big red dev kit using the same chip used to be $39+shipping from TI but they're out of stock as well

lilac wharf
#

oh yeah, the red rocket dev kit or whatever they called it

austere patio
#

LAUNCHXL-CC26X2R1? I don't think I've heard that name for it before.

fleet wedge
#

For small business like this it's usually between 40-100 range for free shipping

lilac wharf
#

Shipping is still built in even if you don't see it

#

Either way this is a pointless argument anyway 😂

fleet wedge
#

Yeah they have to recoup the shipping costs somehow,it's probably that every item costs like 50 cents more than it's absolute minimum (also it's illegal to hide shipping costs in the price where i live)

#

And indeed it's pointless

#

Since I'm getting the zzh regardless

#

It's hands down the best option

#

I just need to save up for it

austere patio
#

LAUNCHXL-CC1352P-2 and LAUNCHXL-CC26X2R1 may also be stocked by local electronics distributors

late imp
#

Have anyone experienced that suddenly a deconz event starts showing as undefined. Happened to a xiaomi switch and im struggling to get it to work again. Tried restatarting etc:

object
event_type: "deconz_event"
entity_id: undefined

fleet wedge
austere patio
#

The former has a power amplifier and is "better" than the ZZH in that regard (though I have a feeling that this benefit will only be useful for multicast and broadcast messages). The dev kits also don't use the CH340 usb-serial chip, which is used by a lot of other cheap Arduinos and NodeMCUs and makes it impossible to distinguish the three from one another when they're all plugged into the same machine.

#

Slaesh's stick uses a CP210x and identifies itself properly with a manufacturer and device name

fleet wedge
#

So you would choose slaesh over zzh?

austere patio
#

I personally would because he has a board with a USB-C female socket and I have a few other CH340 devices plugged into my server, but I got my ZZH evaluation board for free and have had no other issues with it so I can't really complain 😆

#

They use more or less the same chip so the only difference is the usb-serial converter

#

ZZH-p (when it comes out) should be using a better serial chip and will be the small-form-factor equivalent of the LAUNCHXL-CC1352P-2

fleet wedge
#

Sleash's one is the cheaper of the 2 due to shipping cost differences

austere patio
#

But it has been sold out for over a month so I'm not sure when it will be back in stock. ZZH is usually more frequently stocked and sells more frequently

fading moth
#

Hey all! I am trying to pair https://zigbee.blakadder.com/Ikea_E1745.html motion sensor to my zigbee2mqtt in HA but it keeps failing.

  • I have permit_join: true set in the config.
  • I've also successfully paired some other ikea tradfri switches.
  • But the two ikea motion sensors just don't pair.
  • I have another Aqara motion sensor which also doesn't pair.
  • I have 7 zigbee switches successfuly paired in total so far.
#

Any ideas how to debug this further?

#
  • I don't see anything in the zigbe2mqtt logs
austere patio
#

Have you enabled debug logging? What coordinator are you using?

fading moth
#

Let me check debug logging. I have a cheap CR2032 (or whatever the name is) while I wait on a new slae.sh stick

austere patio
#

CC2531?

fading moth
#

CC2531 Zigbee2MQTT Firmware with Antenna for Home Assistant,

#

(I'm waiting on slae.sh CC2652RB stick )

austere patio
#

Have you joined any other Aqara devices to your network yet?

fading moth
#

nope

#

i only have 7 zigbee ikea switches, and now i'm trying to join 2 ikea motion sensors

#

i hapen to have another aqara motion sensor that i don't plan on using, but that one doesn't pair either

#

ikea zgibee switches work just fine

#

A friend of mine has identical CC2531 with 12 devices connected to it, so i'm not sure it's the stick not being able to handle more devices

#

(even if it's slow)

fleet wedge
#

Lmao so i can't get neither

fading moth
#

btw when i'm pairing, i am 2 cm from the antenna so the distance shouldn't be an issue either

austere patio
#

If you've not joined Aqara sensors then you may want to read some instructions for how to do that

#

And the stick's maximum device count without any routers is above 15 so it's likely just the new devices not entering joining mode or another Zigbee coordinator nearby stealing it temporarily

#

Try unplugging the stick and try it again

fading moth
#

alright, but even if i ignore that aqara motio nsensor, i have 2 ikea motion sensors

#

2 ikea motion sensors that i am trying to pair, but unsuccessfully

#

btw there is nothing in the debug logs either

#

the ikea motion sensor does everything mentioned in the instgurctions:
"Pair the sensor by pressing the pair button 4 times in a row. The red light on the front side should flash a few times and the turn off. After a few seconds it turns back on and pulsate. When connected, the light turns off."
Except that the last step (pulsating) lasts quite long and after the light turns off it's still not paired

austere patio
#

If it's not in the log then the device never joined your network

fading moth
#

thanks for helping btw

#

would i see some logs for an attempted join or sth?

#

btw i don't have other zigbee coordinators

unkempt moat
#

I paired one ikea motion sensor and 3 ikea switches, and on some occasions i had to try several times, with the devices almost touching the antenna. I followed the logs and could definitely see the pairing attempts, even if they failed.

austere patio
#

In my area I have a bunch of smart electrical meters that permanently permit joins and sometimes "steal" devices if they first try joining those networks instead of mine

fading moth
#

so maybe something is wrong with the sensor, but then both of them?

austere patio
#

Have you tried unplugging the CC2531? There have been reports of them not permitting joins after a while with some firmware versions.

fading moth
austere patio
#

No, only coordinators and other routers that are permitting joins and not a part of your network.

#

If your own Zigbee routers are permitting joins then this is good

fading moth
#

it worked!!

#

replugging the stick worked, thanks man

austere patio
#

Which firmware are you running?

fading moth
#

no idea

austere patio
#

The first few lines of your Z2M log should say

austere patio
#

Zigbee2MQTT Z-Stack Home 1.2 Firmware installed (Coordinator)

golden vessel
#

Just noticed that my IKEA Motion sensor sees a lot of ghosts if left alone for some time: https://ibb.co/bgt8jvC
Not sure if it was a coincidence, but it seems to happen right after the device checks in with the coordinator.
Why is the coordinator sending 3 checkin responses and 3 Poll Controll messages? Also, why does it enable fast polling?

austere patio
#

Looks like that's done by ZHA

golden vessel
#

When I was playing with DIY motion sensors using MySensors, an issue I had was that drops in the voltage when the NRF radio was transmitting would cause the PIR to detect "motion", so I had to debounce communication and detection... maybe IKEA sensors have this issue 🤷‍♂️

golden vessel
austere patio
#

That voltage drop is interesting

mellow geode
#

I also noticed the same with my IKEA motion sensor btw

amber gull
#

Nice digging @golden vessel -- the triplicates appear to be additional copies of the same frame, note the same sequence number -- you'll get a copy of each frame for each hop through your network that your sniffer can hear

#

I'll have to look if my Xiaomi's act up again, though I assume they don't support polling, but never looked

rugged hinge
#

it was suggested I reach out here about using this device. GoControl CECOMINOD016164 HUSBZB-1 USB Hub
My questions are: Is the device good? How do you use it with HA? Noob here just trying to start with zigbee instead of wifi devices

golden vessel
mellow geode
#

Yes, it triggers randomly.

#

It's in one room in the basement which almost nobody enters most of the time. In other rooms (which are entered more frequently) I've got Sonoff sensors which work ok (but are ugly and have a long blind time).

#

I don't know if there's a pattern though (of it randomly triggering)

#

(It's also one of the ZB3 motion sensors -> the newer ones with the buttons instead of the dials with latest firmware)

golden vessel
#

Yeah, mine is also one of the newer

mellow geode
#

Might be some device sending wrong/corrupted data perhaps?

#

(with zigpy_znp dev version (commit: 62de24d))

austere patio
#

@mellow geode is this a CC2531?

#

Can you post more of the preceding debug output? zigpy-znp can't deserialize some packet sent by Z-Stack.

mellow geode
#

It's a ZZH

mellow geode
austere patio
#

Thanks. I'll check it out in a bit.

mellow geode
#

Nice

#

Again, it's not a release but on the commit where the "unbind" issue was fixed

#

Might have also happened in the last release though

austere patio
#

Looks like the ZDO.ParentAnnceRsp.Rsp command is coming in with an unexpected format

mellow geode
#

I don't know if this is related at all, but since the error appears three times: I still have exactly three OSRAM devices on the network

austere patio
#

The command wasn't documented at all so I sort of reverse engineered it

#

Yeah that command doesn't look right at all

#

it's supposed to contain a length-prefixed list of 8-byte IEEE addresses. Yours are all five bytes long, which definitely isn't right.

mellow geode
#

haha, could be the OSRAM devices then

austere patio
#

I think it's just an OSRAM bug

mellow geode
#

The devices still work most of the time though. So what does that command actually do?

austere patio
#

It's not used by zigpy or I believe ZHA

mellow geode
#

Ah

austere patio
#

It's just something some devices send out

#

Yeah, now I remember. I saw an "unknown command 0x9F" my logs a while ago and it wasn't documented in either the TI Z-Stack documentation or in the Z-Stack source code so I just let it be

#

Later correlated it to that specific ZDO response using a sniffer

#

I think it's not documented because Z-Stack just "passes through" what the device sends so I'm like 90% sure you'll see wireshark complain that this specific packet is corrupted

#

There may be a corresponding Zigpy bug for this (for radios that don't require all this stupid parsing/unparsing)??

mellow geode
#

... so for every radio except TI radios

#

Not finding a bug report though. (Not sure if I'm searching for the correct thing though)

austere patio
#

It may be something similar that OSRAM bulbs screw up

#

In any case I think the only solution would be to just ignore the error or write some special case for it. The command should contain a list of child devices but it clearly can't even contain a single one because it's truncated (i.e. shortest one is \x00 for [] or \x01<8-byte ieee> for [ieee], but yours are all five bytes long).

stray harness
#

hi, i purchased this zigbee hub that connects on lan to use with zigbee devices like temp sensor..... its a tuya device and it shows up on my tuya phone app, but tuya HA integration cant see it..... is there a way to point my zigbee hub to HA? all integration i looked like they only work with a usb zigbee hub.....

strange ibex
#

There seems to be a lot of issues with Tuya right now

raven widget
#

My old Pi died and I replaced it with a Pi4. I’m trying to add the Zigbee integration back but it keeps failing to connect to the device path I supply. The error I get is “Failed to connect”. Any ideas why I can do to resolve this issue? I got the device path from Suoervisor -> System -> Host System -> Hardware
The device path looks like this /dev/serial/by-id/usb-Silicon_Labs_HubZ_if00_port0

raven widget
mellow geode
#

Would it be possible to change image_type and manufacture_id of an OTA image?

#

E.g. I have a "modern" GLEDOPTO Pro controller (constantly) asking for a firmware update. image_type=0, manufacture_id=0, current_file_version=1. Of course there's a bug in the firmware and perhaps I'm getting the developer to send me an OTA file. (Their "Pro" controllers use a Silabs chip)

#

If he then builds the OTA with Silabs Image Builder, should he specify image-type=0 and manufacture-id=0

#

So that ZHA/zigpy actually finds and sends the OTA update or should he put the proper values there, so that next time the device will ask for an update, it will ask with a correct image_type and manufacture_id?

#

If he puts the correct values in, ZHA/zigpy probably won't apply the update. Would it be possible to modify the check in zigpy or does the device also check against these values?

#

If it's not possible to modify the check in zigpy, can the header (which I guess contains both these values) be modified or is there a signature that would prevent the device from accepting the OTA now?

austere patio
#

The Zigbee OTA header is just for the OTA file. The embedded firmware can have its own header.

#

But you can rewrite the image header if you want:

import pathlib
from zigpy.ota.image import parse_ota_image

data = pathlib.Path('/path/to/image.ota').read_bytes()
image, remaining = parse_ota_image(data)
assert not remaining

image.header.image_type = 123
image.header.manufacturer_id = 456
image.header.current_file_version = 789

pathlib.Path('/path/to/image2.ota').write_bytes(image.serialize())
mellow geode
#

Nice!

#

I'll try then if/when I get an image.

austere patio
#

Probably won't work though

#

If the device is asking for an image with that specific image type and manufacturer ID, I think you may be able to look at the OTA cluster and ask the device for its manufacturer_id and image_type_id to double check the values

#

Maybe they won't match up with what the device includes in its query_next_image request

#

If they do then you'll just have to modify the OTA image header to match up with what the device expects

mellow geode
#

It's reporting None for every attribute on the OTA cluster

austere patio
#

Maybe they disabled it to save space

#

Walt tried cross-flashing IKEA firmware onto a Consciot or Ecosmart bulb

#

Even though they used the same chip and pinout (I think??), the bulb didn't take the IKEA image (after I modified it to have the expected manufacturer_id and image_type)

mellow geode
#

Oh well. He threw out/sold the Ecosmart bulbs in the end, right?

austere patio
#

I think he sold them to some poor guy far away

mellow geode
#

Haha, maybe he'll have more luck

austere patio
#

Maybe he'll show up here

lilac wharf
#

"hey guys, do your ecosmart bulbs run really hot too?"

quick hare
#

I read somewhere that parent devices hold messages for their childs for 7 seconds. Unfortunately my bulbs (either Philips or IKEA) don’t seem to deliver them properly to my Yale lock which is battery powered. When the Yale lock is directly connected to the coordinator, there is no such issue. mhhh I’m using ZHA.

#

It’s very hard to point where the issue is here. 😦

strange ibex
#

how to automate the smell of burning plastic

mellow geode
# mellow geode I'll try then if/when I get an image.

Coming back to this, the GLEDOPTO "support" (the one developer over there) seems like he's actually gonna try:

    Yes,I will try to fix ,if it done , i will send you OTA file .
Best regards.```Seems like an *improvement* over "No, it can not OTA update. Don't worry, we've tested the product a lot before we put it on sale."(https://www.reddit.com/r/Gledopto/comments/it4bed/what_is_pro_gledopto_new_product_series/g5cae0u)
austere patio
#

No, it can not OTA update.
Don't worry, we've tested the product a lot before we put it on sale.

mellow geode
#

Yep. Immediately bought 4 controllers!

austere patio
#

Ah yes, the Combee. One step away from the mythical CornBee.

#

Though with surrounding context, "Rasp/CornBee" does make a lot of sense

inner bobcat
#

Is anyone else experiencing issues with the Lidl RGB bulbs? I have 6 of them and they all seem to lack the ability to transition between different states smoothly and additionally they sometimes take up to 10 seconds to respond to my automation that turns of all lights.

#

Using cc2531 and z2

#

Z2m*

dry fossil
#

Using the worst stick ever, getting the worst experience 😱

obsidian sandalBOT
#

@inner bobcat The CC2531 and CC2530 sticks are cheap for a reason. They're fine for testing, but do yourself a favour and buy something better.

inner bobcat
#

Huh, is that so? Which is a good one then?

sour shadow
#

Look at the pinned messages 😉

inner bobcat
#

Thanks!

sour shadow
#

Z2M:

It supports mostly TI based sticks, with the Zig-Ah-Zig-Ah! and Slaesh's sticks being recommended.

inner bobcat
#

Ordered Slaesh's stick, let's hope it works better. Thank you!

sour shadow
#

Just a little better 😉

inner bobcat
#

😂

lime locust
#

have my cc2531 stick over , but have to add it manually , HA (docker issue prob) this path to stick correct ?

#

and port speed : 115200
dataflow: hard or software ?

#

in zha

sour shadow
#

Yes, pass the long path through (FYI, much easier for us if you share text as text...)

lime locust
#

dataflow hmm hard or soft , baudrate the same

sour shadow
#

Docs say they don't apply to all... doesn't say how to work out what to use though 🤷

lime locust
#

User input malformed

#

wth

verbal shale
#

Hi, I have a Phlips hue Go V1 and the V2
The V2 is rock solid with zha
but V1 is disconnecting from zha after 5 hours....

#

using zha on sonoff zigbee bridge

#

they are bought in the same place

solid bridge
#

Anyone want to help out a first time user with a nortek usb plugged in get some door sensors active? It's a brand new HA Blue device so I'm not using ZHA or anything yet. Just want to make sure I have the basics and sometimes it's helpful to see it and do it first, rather than reading.

golden vessel
solid bridge
golden vessel
#

Any opinions on Mijia vs. Aqara vs. Sonoff door sensors? I have a few Mijia, but was curious about the other two.

golden vessel
solid bridge
#

Alright, set up my first ZHA zigbee device. Wasn't as hard as I thought it was going to be. I was nervous 🙂

golden vessel
#

Any zigbee dry contact relay? On where the load being controlled is independent of the module's power

sour shadow
#

Did you look at the pinned messages?

amber gull
golden vessel
sour shadow
#

Either 😉

#

There's two hardware lists there - in theory Blackaddr's is more complete, but YMMV

golden vessel
#

yeah, I know about those lists but is not easy to know whether or not a relay is a dry contact relay or not

golden vessel
#

what is L1? and why two Ls?

amber gull
#

Looked for official wiring diagram on about a dozen listings, nada :/

golden vessel
#

yeah I've read that review. I was hopping that they didn't had the aqara quirks.
"clunkier"? physically right?

amber gull
#

Physically, yes

thorny phoenix
#

anyone has Texas Instruments CC2538 with CC2592 RF Amplifier ?

#

i'm tired of cc2531

sour shadow
#

What's the question you're really asking 😉

thorny phoenix
#

if cc2538 is stable and more friendly pairer for zigbee devices

sour shadow
#

Yes

#

Anything is an improvement over the two basic sticks

thorny phoenix
#

so...hope for the best....and for chinese guy to deliver faster

fleet wedge
#

So zzh and sleash solutions are not for sale at this time, what alternatives are available for me? Conbee Ii is available but recommend against

amber gull
#

Where are located?

fleet wedge
#

The Netherlands

#

Is a tasmota flashes sonoff bridge + zha a viable long term option?

amber gull
#

digikey or mouser?

#

If you don't mind time sensitive information going over wifi the sonoff hub would work

#

but does add more complexity and failure points

fleet wedge
#

Mousser is 20€ shipping

#

Digikey us 18€ but free for orders over 50€

#

What were you going to suggest?

#

I rather not have the extra failure points

amber gull
#

You should be able to get the TI dev boards from there

fleet wedge
#

What are the range of those compared to one of the custom sticks

austere patio
#

Does the Netherlands not have any more local electronics distributors?

fleet wedge
#

Not really

#

It's annoying as heck

#

I need some capacitors, they come to a total of 2€

#

And shipping is 18/20

austere patio
#

Wow

#

What integration are you using?

amber gull
#

range is a two way street -- TI dev kit range is good, probably a hair less then an external antenna on ZZH? -- but not going to be noticeable as your sensors/end devices won't be powerful enough to transmit back -- hence the mesh

#

I had the 1352P2 in a typical stick built american home, three stories -- had it in the bottom level in a corner, 120 so devices -- no RF issues

austere patio
#

Z2M can migrate between CC2531 running Z-Stack 3 to the newer sticks

#

And the CC2531 is nice to have for sniffing

fleet wedge
austere patio
#

But the Conbee is pretty decent too, though not as well integrated into Z2m

fleet wedge
#

I live in a house built from steel reinforced concrete + in floor heating on every floor

amber gull
#

yeah, that's a RF nightmare

lilac wharf
#

Zwave might be somewhat ok there

austere patio
#

Time for lots of bulbs

lilac wharf
#

But we don't talk about that

fleet wedge
#

I will be putting zigbee bulbs all over

#

Is this the correct board? The numbers looks different

#

This is a local reseller

austere patio
#

Hmm, I don't think I've seen a LAUNCHXL board with a CC2650

#

Only with a CC2652

#

Or no, it looks like TI makes them

#

It's for Bluetooth

#

Walt says the range is comparable to the CC2652R board

#

And we do have a migration path between this stack and the TI sticks

lime locust
#

got an zigbee cc2531 USB stick , now all i need in HA is : MQTT broker and zigbee2MQTT right ?

austere patio
#

If you want to use Z2M then yes

#

If you want to use ZHA then you can just plug it in and add the ZHA integration

austere patio
#

It is a multi-protocol chip like the CC2652 and supports Zigbee so it may work

lime locust
#

i tried the ZHA , but setup bugs out when reaching path, baudrate, dataflow

austere patio
#

It should autodetect everything once you supply the serial port path

#

Have you flashed it with firmware?

lime locust
#

comes preflashed

austere patio
#

Are you running a recent release of HA?

urban basin
lime locust
#

2020.12.1

tropic depot
#

only via Integrations -> ZHA -> Visualization

austere patio
#

A normal installation route or something more custom? I routinely test all of the TI sticks and have no issues with autodetection in HA

lime locust
#

Docker container

#

host mode

austere patio
#

Via Home Assistant OS?

urban basin
fleet wedge
#

I think I should wist for zzh dev to return from holliday

lime locust
#

nope pulles the docker container for HA

tropic depot
#

if you want it in the sidebar there is a way to do that too

fleet wedge
#

Elelabs one had a long shipping time

austere patio
lime locust
#

in the start of the ZHA integration i cant even select the stick only option is "Enter Manually"

urban basin
austere patio
amber gull
lime locust
#

hmm ok sounds reasonable

#

i'll try to make some permissions , thnks man !

austere patio
#

I'd log into the container and verify that at least some serial device like /dev/tty* or /dev/serial/by-id/* exists.

quick hare
austere patio
#

🙋‍♂️

quick hare
#

hehe how is it?

#

Do you have to rejoin everything?

austere patio
#

I don't think so but do a coordinator backup just in case

#

80% sure you can just upgrade the firmware without rejoining but the backup will make that 100%

quick hare
#

I do have an extra HUSBZB-1. mhhh

#

Should I replicate it on it before hand?

tropic depot
#

nah you can upgrade in place

#

I have done 3 of them

quick hare
#

Oh noice!

tropic depot
#

but taking a backup is always a smart move

quick hare
#

Does it have a chance to fix an issue I am having? :/

molten linden
#

back up is easy, it's just an extra command

austere patio
#

What issue?

quick hare
austere patio
#

Probably won't make it worse

quick hare
#

I love your optimism.

austere patio
#

With Zigbee you have to be ready for anything

lime locust
#

so for my cc2531 stick to be added in HA container i should add this when running container:
--device=/dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0018E299EC-if00

#

look valid ?

#

and the ZHA would autodetect it ?

sour shadow
#

Or, better, use Docker Compose 😉

quick hare
#

So basically, I do a back up of my current stick. Than upgrade it. If it still is in my network, I back it up again than migrate the EUI64 + the back up on the other one?

#

So i get a back up stick ready to go.

austere patio
#

You only need to back up the stick with its current settings

#

If it somehow loses its settings and your network is gone (which it shouldn't), you just restore the backup to the same stick

#

You can restore a backup made by one stick to that same stick all you want

#

Restoring a backup made by another stick can only be done once

#

Well, as many times as you want but only once if you want to change the stick's external address, which needs to happen if you use two different sticks

#

As for your error, it seems to me like this request should have been retried?

quick hare
austere patio
#

If you use your second HUSBZB-1 as a sniffer, you can see how frequently your lock wakes up and polls its parent for new packets

quick hare
#

Ohhhhh I LOVE THE IDEA!

#

Never taught about it.

austere patio
#

Not that it would help with fixing the problem though

quick hare
#

How would you proceed to sniff the network?

amber gull
#

Running ZHA on 2nd stick alone would fix it 😂

#

(Second instance)

quick hare
amber gull
#

Yes

quick hare
#

But yeah.. I taught about it many times..

#

I was really pushing myself into the fairy tale that ZigBee promise..

austere patio
#

Yeah, it ideally should work perfectly

austere patio
#

You'll need to add your network key to wireshark for it to be able to decrypt your traffic

quick hare
#

I should see that from the backup right?

austere patio
#

I believe bellows info prints it out. If not, it'll be in the backup. You just have to convert it into the right format.

quick hare
#

Got it.

amber gull
#

Or just join a device while you are sniffing and wire shark will get the key

austere patio
#

It'd be in the backup as a list of base-10 numbers but Wireshark expects it as colon-separated bytes. You can convert between the two with Python: ```Python
In [1]: (lambda x: ':'.join(hex(c)[2:].zfill(2).upper() for c in bytes(x)))( [64, 75, 4, 244, 11, 59, 153, 94, 207, 218, 59, 182, 247, 23, 125, 237] )
Out[1]: '40:4B:04:F4:0B:3B:99:5E:CF:DA:3B:B6:F7:17:7D:ED'

quick hare
#

Nice!

#

I’ll start by upgrading it.

austere patio
#

Add it via preferences -> protocols -> zigbee -> pre-configured keys

quick hare
#

Then if it’s smooth, i’ll sniff.

austere patio
#

Good lock

lime locust
#

ok so now that i have my mqtt broker(container) and Zigbee HA setup how do i add my aqara devices ?

quick hare
#

I am a little confuse. It explain a manual way to upgrade the stick, is there an automatic way or it’s just to describe that you have to enter the container to do it?

austere patio
#

Only Zigbee2MQTT uses MQTT

#

Go to integrations, configure ZHA, and there will be a button on the bottom right (possibly hidden behind a sign in thing) saying add devices

fleet wedge
violet dagger
#

do you know how mqtt works?

lime locust
#

any1 know how to put the small round aqara switch into pairing ?

#

got a chinese description 😅

austere patio
#

Round or squircular?

sour shadow
#

Covered in the links in the pinned messages 😛

#

(if you can find your device)

quick hare
#

Moment of thruth!

lime locust
#

where are the pinned messages ? discord so chaotic ...

sour shadow
#

At the top

#

🔔 📌

#

"chaotic" 🤔 🤷

lime locust
#

haha , needs more lines at the top

#

device not listed

quick hare
#

wow it’s like my ZigBee network was shitting it’s pants with that upgrade. Some stuff works. Others seem’s to have crashed? haha. Now everything works but I get some at start-up :

#

Oh my : 2021-01-08 16:06:05 ERROR (MainThread) [bellows.ezsp] NCP entered failed state. Requesting APP controller restart

lime locust
#

so if my device is in zigbee2mqtt , it will only work with that integration ?

sour shadow
#

Probably not

#

Blakaddr's list is built from community reports - Z2Ms list is built from the source

#

Anything that works in Z2M should work in anything else - though work may be required

mellow geode
#

Just updated my firmware on the ZZH (and restored my backup). It's rebuilding its routing table now, I guess. How long does this roughly take?

#

Like a couple of hours?

sour shadow
#

My firmware upgrades on CC2531 took only minutes to rebuild the mesh

austere patio
#

Usually one or two requests per device. It's handled by the firmware.

lilac wharf
#

I had to flip some plugs on and off a couple of times IIRC

verbal shale
#

how to change zigbee chanell in zha? I didnt find anything about that 😮

verbal shale
#

I did see that, and already have it in my config

#

the probleme is....after sniffing with conbee I discover the sonoff zigbee bridge is not in the channel that I've config

austere patio
#

Only works when you're forming a new network

verbal shale
#

@austere patio this is for zigbee devices like conbee

#

~with usb connection

#

:S

austere patio
#

Makes no difference

#

Serial over USB or serial over TCP

verbal shale
#

sonoff is wifi

austere patio
#

Yes, and you communicate with the Zigbee chip on it over TCP

lilac wharf
#

serial over TCP

verbal shale
#

ok

#

i will give a shot

austere patio
#

This will delete your existing network I believe

#

The undocumented thing in zha_custom will migrate it gracefully

verbal shale
#

Invalid Add-on repository

austere patio
#

It's not an addon, it's a custom component

#

And is not documented or really user friendly. It's a way to do it but if you don't want to read the source code to figure out what to call, it's probably not for you because I don't have the coordinator to figure that out at the moment 😆

lime locust
#

cant get this round aqara mini switch to pair , lux sensor was instant. press pairbutton for 5 secs 3 flashes release , sitting right next to cc2531 , something im missing ?

#

oe cc2531 has 2 switches too , maybe press one ?

sour shadow
#

Don't push any buttons on the stick

austere patio
#

What integration are you using?

lime locust
#

zha

#

[zigpy_cc.api] <-- AREQ ZDO permitJoinInd tsn: None {'duration': 0}

#

join None hmm

austere patio
#

You must be running an ancient version of HA or setup ZHA a long time ago

#

In either case the ZHA joining UI only permits joins for 60s

lime locust
#

well it said zigbee home automation in integration at first , then i couldnt find it and was renamed too zha

austere patio
#

That messages means that the CC2531 isn't permitting joins anymore

#

So reload the "permit joins" page every 60s

lime locust
#

where can i find that ?

austere patio
#

The page you're on that has the spinning thing

#

When you press the blue "add devices" button

lime locust
#

yup , then the light goes on on the cc2531

#

logs spitting out a lot

#

but not adding device

austere patio
#

Nothing useful, it's just saying that joins have been permitted

#

Is this the round Mijia button?

lime locust
#

yup

#

do see 1 click 3 clicks it seems

violet dagger
austere patio
#

Just to be sure, are you pressing the tiny button in the hole on the back?

lime locust
#

jep I am

#

just wont add , lumi added and working fine

#

was wondering i might have an old version of the ZHA

#

at first i could find it as Zigbee (in integration)

#

last reboot could only find ZHA in integrations

sweet lark
#

does anyone have any suggestions on zigbee interference or congestion with only a few devices with conbee

violet dagger
#

on how to create interference?

sweet lark
#

on how to prevent or fix. I have been having issues getting sonoff temp sensors to stay connected as well as LED bulbs being intermittent

#

I know I am being vague, and I should do some searching in this channel...

violet dagger
#

why do you think its interference or congestion?

#

interference can come from the wifi 2.4 spectrum so choose a zigbee channel that doesnt overlap with it

#

congestion is likely only if you live in a very densely populated building where everyone has a lot of wifi tech

sweet lark
#

everthing on 2.4 here is under -70dbm...my WAP is about -50...that does seem kind of hot

violet dagger
#

or you could be barking up a wrong tree

sweet lark
obsidian sandalBOT
mighty river
#

Hey, I'm quite new to this (channel and all with raspPI).
I have now looked on so many blogs and tried everything i could imagine of. So i'd really appreciate some support. 🙏

It seems to be a known issue, without anyone having a straight answer howto solve it.

Set up: RaspberryPi 4 B, Conbee 2 ; Hass.io, Mosquitto, Zigbee2mqtt (individual add-on by danielwelch)

Problem: After setup and configuration the frontend shows: 502 Bad Gateway.

Zigbee2mqtt keeps on telling me (LOG):
Error while starting zigbee-herdsman

Any ideas? what information do you need to help me?

violet dagger
#

it says failed to connect to adapter

#

so you missed something in the setup

mighty river
violet dagger
#

did you reboot rpi ?

mighty river
#

yes

violet dagger
#

then i recommend rereading the instructions and starting from the beginning

mighty river
mighty river
violet dagger
#

if you're using HA OS i have no idea what is needed

mighty river
#

hm... i just don't get it, to me it seems like z2mqtt cant find the serial port, but i tried every possible combination

dry fossil
#

Z2M + ConBee = experimental support.

#

What you've shared so far looks right. Maybe you're just outta luck.

golden vessel
#

The TRADFRI bulb E14 CWS opal 600lm (the RGB one) doesn't have color temp control? o.o

violet dagger
golden vessel
#

ah! never noticed the "supports" part of the website!

#

nice to see you around here @violet dagger ! great work there

violet dagger
#

i'm always around here

austere patio
# sweet lark very true

If you're using a TI or a SiLabs coordinator you can do an energy scan to check for relative channel congestion

graceful canopy
#

Anyway to blacklist a unrealible router?

#

I find my network devices connected via this device aren't reliable

#

(using ZigBee2mqtt)

golden vessel
graceful canopy
#

Xiaomi Smart Plug and power meter (Aus/Cn Plug)

#

@golden vessel ^

mellow geode
gritty thunder
#

hey, i got an lightify led strip and a müller tint rgbw bulb and both flicker when using "transition: N" ist that just like that with those devices, or could there be another cause?

golden vessel
mellow geode
#

Yeah. It would be nice to have but I’m not currently working on it

#

The RGB bulbs (except the new GU10 maybe) are all "outdated" and have bad colors.

#

Returned all of them but one

golden vessel
#

yeah, I just got it today because they were at 50% discount (I think they are just clearing stock), and the colors suck. and the whites are also bad

#

I'll probably exchange it for a CT one

mellow geode
#

At least 50% doesn’t seem to bad and you can "always" return them

#

Yep. Also what I did

#

For colors I just went with Hues

#

Also, if you're getting CT ones: I got the "candle" shaped bulbs over the "globe" bulbs. The globe ones seem to have issues with coil whine while the candle shaped ones don't have these problems. They're also "much" newer (with newer firmware updates available (I think 2.3.x vs 2.0.x)

#

(But they're only 470lm)

golden vessel
#

I was considering the globe ones because of that

mellow geode
#

Yeah, I have three bulbs in one "light" and that's why it doesn't really matter for me

#

I never had the globe ones but I've seen many bad ratings and people on reddit claiming that you basically need to buy a bunch and just return the ones with coil whine

golden vessel
#

I have a CT globe one, but E27 and it does not have coil whine issues

#

Ah! So I may have got lucky lol

mellow geode
#

Yeah, I've also have two TRADFRI bulb E27 WS opal 1000lm which don't seem to have this problem

#

googling this: ikea tradfri 600lm coil whine site:reddit.com

#

There seem to be at least some people experiencing issues with coil whine on Tradfri E14 globe lights

#

I guess you can always return them if there's coil whine

golden vessel
#

Yeah. I guess I'll try it

amber gull
#

I’m in a room with 8 tradfri 600lm 🙋‍♂️

#

Only whining is from the kids 😂

quick hare
golden vessel
#

Wait. They whine while off?!

quick hare
#

Yes only when off.

golden vessel
#

Oh shit lol

amber gull
#

Younger ears are much better at picking up high frequency tho

quick hare
#

Do I look that young on my picture?

amber gull
#

Not a day over 25

quick hare
#

You’re missing 1 year then haha

amber gull
#

Lol

quick hare
#

Since iv’e upgraded my HUSBZB-1 to the recommended firmware I am getting quite a few errors. Strangely the ZigBee network feels more reliable still.

#

Error doing job: Task was destroyed but it is pending! & NCP entered failed state. Requesting APP controller restart and the usual : lock.porte_appartement: Error with lock_door: [0xbb33:1:0x0101]: Message send failure 😰

amber gull
#

Any watchdog lines?

quick hare
amber gull
#

I can’t recall off the top of my head. If the NCP really shits the bed the watchdog will restart and re-initialize the stick

#

Should only happen rarely under normal usage

mellow geode
#

I doubt this is related (and it basically was the first google result):
https://github.com/zigpy/bellows/issues/179
Perhaps there's a power issue of some sort? Maybe try a USB 3.0 port instead of a USB 2.0 port (although 500mA should be enough) (also use an USB extension cord) (Perhaps even try an actively powered USB "hub"?)

quick hare
#

At the first boot with the new firmware it rebooted the stick like 10 times I think. Are you refering to that?

quick hare
mellow geode
amber gull
#

We have seen every weird error under the sun related to power supplies here.

#

We had one guy that could send every node in his net work but one and it would throw weird errors

#

Finally replaced the power supply and everything started working 🤷‍♂️

quick hare
mellow geode
quick hare
#

For the power what surprises me is that it was fine all that time.. and with the firmware upgrade all the sudden the stick would consume more power?

mellow geode
#

Many things happen at weird times

quick hare
#

I guess I could move the containers but that would be last resort. I still have some non conternerized services that HA needs. 😦

mellow geode
#

:/

quick hare
#

I’ll first try to change the stick to another port.

mellow geode
#

Yeah, seems like a good point to start at

quick hare
#

Nothing to lose there.

mellow geode
#

Also, have you already rebooted the PI? ^^

quick hare
#

Yes but I’m tempted to do it again now.. hehe

#

Very interesting...

#

Changed the stick to another port and rebooted. No more NCP.

#

Hope that was only that. I guess the stick consume a little more power than before?

#

I’ll se over the next hours.

#

Still need to check that SD soon.

mellow geode
#

Did you perhaps change the port where the stick was in before/after doing the upgrade?

#

Ah, I guess you just updated it using the PI, right?

quick hare
#

Now it’s on the other side where there’s nothing.

quick hare
mellow geode
#

Btw., are you using an extension cord for the stick?

quick hare
#

No but apparently it’s a must isn’t?

#

😅

mellow geode
#

Ah, it's not. Does your Pi have any USB 3.0 ports (and USB 3.0 things plugged into them)?

#

I've heard (and also experienced) that USB 3.0 ports (with/without USB 3.0 things plugged into them) cause "a lot" of interference at 2.4GHz

quick hare
#

No it’s the Pi 3B+. 🙂

mellow geode
#

Ah, I guess you should (mostly) be fine then

quick hare
#

I read that indeed. It’s so weird.

mellow geode
#

But if you have any connectivity issues: always try an extension cord. There could also be interference from inside the PI maybe

quick hare
#

USB3 + 2.4 GHz wireless = explode

austere patio
#

I wonder why

#

These sticks draw like 50mA

quick hare
#

Really? Not more? 😮

austere patio
#

At least that's what my cheap usb meter said while I was doing active scanning

#

Maybe they draw more but in tiny bursts that my crappy meter can't detect

#

But the rated currents are quite small in the datasheet as well

amber gull
#

Alexei also said the shielding is so good on the HUSBZB-1 it had less CCA errors directly connected then it did on an extension cable 🤯

quick hare
#

Damn

#

If everything goes well, all I need to worry about now is : lock.porte_appartement: Error with lock_door: [0xbb33:1:0x0101]: Message send failure

#

Pretty sure it will come back eventually.

#

I’ll sniff the network tomorrow to better understand what is going on.

radiant pawn
#

How can I upgrade my hue plugs/lights firmware if I'm using ZHA?

amber gull
#

You will need the firmware files. You can get them from the linked zigbee-ota repo

quick hare
#

I believe you can update them via Bluetooth. I think that’s what I did recently unless I am mistaken.

quick hare
amber gull
#

He feels fine about hosting them so we try to feed them all there

#

Looks like he switched to direct linking the Hue ones

austere patio
#

It's been like that for a few months I believe

#

If not longer

austere patio
#

Yeah

#

I missed a ton of the wacky Hue sbl-ota images

amber gull
#

Still think we should write a OTA provider to use this

austere patio
#

If you download them all zigpy can utilize them with the file provider

#

Might be useful to just contribute a script to that repo to auto download them all

tender cosmos
#

Hey so I have a zzh! As my coordinator, is it possible to use my old cc2531 as a router/range extender?

strange ibex
#

I believe there is router firmware out there for it. have you googled?

tender cosmos
#

No 🙂

strange ibex
#

she is easy to find on there, haha. I googled it not too long ago

tender cosmos
#

Lol I can see a few I think - are there any recommended for zigbee2mqtt?

strange ibex
#

the first result I see on google is from the author of zigbee2mqtt

tender cosmos
strange ibex
#

yep. the cc2531 are not very good but that should be your best bet

#

If you are looking for routers in the future rather than reusing hardware, I have had great success with ikea

tender cosmos
#

Ok easy 🙂 have you tested it? Yeah I just want to improve to link to my device that’s further away

strange ibex
#

I'm sure it will be fine

lilac wharf
#

They're fine as routers

#

As coordinators...not so much

strange ibex
#

tediore is 🔥

#

great signalzaszsszs

#

the dumbbest firmware out of all of my stuff seems to be the Hue motion sensor

#

it connects to something on the other side of the house and is super happy about it

lilac wharf
#

Ehh, the mesh reroutes as it sees fit

strange ibex
#

yeah, just all except 1 device are closer to it 😛

#

I might move one of my repeaters to a room near it and see if it snags that one instead

tender cosmos
#

hey question, if the CC2531 is flashed as a router, does it need to be pluged into a linux device? or can I just plug it into a usb power supply?

lilac wharf
#

USB power supply

tender cosmos
#

Well that cc2531 router didn’t really help my link quality- am I better off just getting some ikea powerpoints and placing them strategically around the house

#

Oh wait do they even make powerpoints, ur saying the repeaters?

lilac wharf
#

You won't see an immediate change

#

It'll take time for stuff to reroute

#

Repeaters or plugs

#

Or bulbs even

hollow cypress
#

is there a database or something of the zigbee devices for ZHA that persists after removing the integration? I am switching from the Sonoff wifi gateway due to numerous issues. So I deleted all of my zigbee devices in HA then removed the sonoff gateway. Uninstalled rebooted and reinstall zha with the new COnbee II plugged in. After re-adding the ZHA integration the old EZSP Sonoff coordinator is still showing up even though it isn't powered on.

lime locust
#

if zha doesnt want to pair with my aqara mini switch , would installing zigbee2mqtt help ? try that way ?

desert cloak
#

I have set the base_topic on my zigbee2mqtt to “z2b” and zigbee2mqttassistant docker container seems to use zigbee2mqtt as base topic. My node red automations rely on z2b topic, so is there a way to give this as a parameter while starting the container?

dry fossil
#

Not while starting the container, no. It just goes in your configuration.yaml