#zigbee-archived
1 messages · Page 104 of 1
I am going to pay for you to get this as a tattoo 😄
lol
in debug logs, I trust
hahahahaha
why Texas protocol couldn't implement just a raw message send API???
For that one we are going to need @austere patio
btw, did you check that log? it does tell 🤣
ZDO converter for cluster ZDOCmd.Unbind_req has not been implemented! Please open a GitHub issue and attach a debug log: https://github.com/zigpy/zigpy-znp/issues/new
see, everything you need is in the debug logs
Debug log strikes again
(Issue for reference: https://github.com/zigpy/zigpy-znp/issues/54)
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
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.
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
What are you having to power cycle? The IKEA stuff or the Xiaomi stuff? The Ikea stuff can crash from time to time
Xiaomi
Smartthings (Samsung) seems to have AU offerings
I've been wondering if I'm better off with some CCXXXX USB stick with a router firmware
They do. The smart plugs are generally pretty hard to find when I've looked, so I didn't look into it further. Good point though, probably worth it (although quite expensive for that purpose)
https://zigbee2mqtt.discourse.group/t/ad-buy-ready2use-zigbee2mqtt-stick-flashed-antenna-mod-and-printed-case/22/6 is worth considering - whether you do it yourself or buy one
I saw some less renowned offerings on eBy, but they are bulky.
Thanks, looks worth investigating
I bought one when I started with Zigbee - works really well
Do you remember roughly how much it was?
@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
also, z2ms new map is exquisite. device images?!?! https://imgur.com/a/0DLxeio
Oh nice, thanks.
np!
Heh, I actually prefer zigbee2mqtt assistant's map
Also looks like it's time to change some friendly names lol
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?
Whatever makes sense
Friendly names are a lot fuzzier than entity_ids and don't need to be unique
ill admit, i'm indecisive on a namng scheme and thats why i havent
I tend to name lights and sockets by location, or function - eg Table light
that and lack of time
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 🤣
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
So sexist. No entities for the girls...
Just entities -- tilt sensors, garage door openers, cameras, network switch in there, yadda
Too many USB radio choices! should I get a $40 one or a $5 one? This will be connected to a synology NAS https://www.home-assistant.io/integrations/zha/#known-working-zigbee-radio-modules
For the most part, you get what you pay for
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.
Zigbee :bee: - please remember to mention whether you're using zha (https://www.home-assistant.io/integrations/zha), deCONZ (https://www.home-assistant.io/integrations/deconz), zigbee2mqtt (https://www.zigbee2mqtt.io), or even something else.
Looking for devices? See https://zigbee.blakadder.com/ and https://www.zigbee2mqtt.io/information/supported_devices.html.
Looks like your choice of Zigbee integration will be ZHA which is built in to HA
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.
I think we need some sort of guide on which zigbee stack to use.
@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).
I also use a smartthings hub for all my zigbee stuff... but I'd rather go local with a USB radio
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.
zigbee2mqtt has a nice guide... I might go that route https://www.zigbee2mqtt.io/information/supported_adapters.html
Zigbee2mqtt is nice since it's decoupled from home assistant
ZHA is nice too but it's dependent on HA
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
why is that?
Unless I'm missing something
HUSBZB-1 is only compatible with ZHA -- Solo dev is working on zigbee2mqtt support for it, but nothing to shar eyet
Is it on github?
Not public, no
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
is the HUSBZB-1 one of the more popular ones?
It is, that's what I meant by saying this: #zigbee-archived message
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
Perhaps I purchased the wrong stick. I purchased it because I was trying to kill two birds with one stone
The new HA version caused this error to come back to the log: No response to 'Command.aps_data_indication'
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
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.
As long as you have mains powered devices, location of the coordinator shouldn't really matter
Yeah, I get that. Just haven't decided where I want it. I'm likely to put it in my networking closet though.
I like that stick. Served me well until I switched to a ZZH and zigbee2mqtt
where do you get the ZZH! ?
sold out
Why do you prefer the zzh?
Not sold out, he's just on vacation
Wanted to switch from ZHA to zigbee2mqtt @forest jetty
So the decision was solely based on the stack?
Yeah
I'll look into it
I think I'll get the zzh! after he's back from vacation
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 🤷
Yeah no difference as far as speed, it was purely because I wanted to switch from ZHA to z2m
I assumed it was because you finally read through and understood this https://en.wikipedia.org/wiki/Software_architecture
Where is the best resource to see the advantages of zigbee2mqtt over zha?
Anybody know why ZHA logs aren't showing up in my searching/pairing panel anymore? Is it logging settings?
@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
Plan my device buildout because...of device limitations?
either in number or specific devices?
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
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
You can check https://zigbee.blakadder.com/
For the most part I think anything that works with ST should work with ZHA or Z2M
Fortunately, most will be multiples of the same device
You'll love it over here in HA zigbee land
@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
All the TRADFRI stuff will work out of the box with either implementation
and both should support firmware updates natively for TRADFRI as well
yeah it was my logging level.
Just don't get the sonoff bridge
Or the CC2531
Thanks @lilac wharf . Now I want to buy a zzh.
+1 zzh
@amber gull good to know. I'd say about half of my zigbee devices are either lightify or tradfri.
there are other cc2652 indie chips out there
even on tindie
you dont have to wait for the zzh
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
installed the deconz integration/add-on so not sure
oh, that one too. not super familiar wth that
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."
i think that is if you have the switching behavior inverted
when off==on instead of off==off
ahh, yeah. I understand you now but was hoping for the easier solution
not sure how to help your problem
i feel better that it isn't an easy fix
It probably is but I am just not familiar, lol
moving over to HA from vera and the small things that made the wife happy
it seems that you can send {"state": ""} to it get make it send out the state again
where would id o that
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
deconz is just the zigbee controller from what i can tell
oh, did you flash something on it? let me just google
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?
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
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
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
Hrmmm... is there any use for a v1 Hue Bridge these days?
Yes, it can be used with the Hue integration
thanks mate. sorry am just trying to work out whether i bin it or donate to a local
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.
You'd need to do that on the Z2M end really
Does anyone know if this exists in zigbee?
https://s.click.aliexpress.com/e/_AWhv0J
hello there.
i just received my first vibration sensor (aqara)
i use ZHA
couple of questions for those that have one too:
- is there a way to adjust sensitivity through zigbee clusters and how?
- 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?
Received 2 of these today can get rid of my last WiFi device https://i.imgur.com/0Rh1vBZ.jpg
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
Zigbee motion sensor? What type and integration? What do you run HA on?
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
it's a Philips Hue motion sensor integrated with conbee II and ZHA
HA running on a pi 4
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?
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
how about distance from coordinator to sensors? you have routing devices like zigbee bulbs or plugs around the house?
really? I only have 22 zigbee devices
amount doesnt matter, distance and signal strenght does
More routers == more signal paths though
hmmm
The more roads you have, the more people can travel at the same time
I though that for a 700 sqft flat that would suffice
you have walls, right? they block signals pretty well, so improving signal is important
hmm
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
plugs are the best routing devices in my opinion. they have usually strong signal.
3-4 plugs around the house help A LOT
1 sec
i have 4 of these (xiaomi)
https://www.amazon.es/gp/product/B083F91ZX3/ref=ppx_yo_dt_b_asin_title_o04_s00?ie=UTF8&psc=1
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
that's why I was asking because I'm somewhat aware of this
si, Barcelona
jaja
que bueno
yo vivía ahí
pero bueno, sigamos en inglés que no quiero que la gente se moleste
basically aqara and philips
let me chec
k
yup
Aqara and xiaomi, that's all
sorry
Aqara and Philips
and the motion sensor that's giving trouble, is aqara/xiaomi or phillips?
also, that one router you have, is aqara/xiaomi?
are yo using ZHA or Z2M?
ZHA
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
nope...
and will show you were that sensor is connecting through
you have a older version?
yes
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
I'll check that out
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
what weird is every time I check the LQI , it is above 240
forgive me if I explained myself unproperly bad it's not only that particular philips hue sensors
it's all of them
and they all are really close to the coordinator
I've noticed problems with at least 3 of them
that delay I spoke about
and it all happens at same time?
and they all are really close
yes
itusualle happens at the same time
for example, when I walk my corridor
there are two there
well, then maybe your device (a NAS or a PI) is having a CPU spike for some reason?
both light won't turn on until I'm at the end of the corridor
how did you monitor the problem? maybe the motion is triggered properly but those bulbs don't receive the signal fast enough?
hard to tell
maybe is HA itself and not the zigbee network..
it's so dificult to know
how is one to troubleshoot this?
well... you said you have a older version.
step 1) reboot HA, see if it improves
step 2) update HA
first thing you should do IMO is update everything
i mean, HA and whatever else software you have for your stuff
you know what happens in HA when you update
no need to update any firmwares on devices, not right now anyways
i run HA in a docker container witrh /config persistant. updating is like 3 clicks,.
in fact, i am doint it right now 😄
every time I updated, several things stop working and I need to redo them
some custom components, some flows
thats another problem you need to adress first then
and I have to figure out how to redo a bunch of things
dunno what that is
que cambios sean permanentes y tener copias de seguridad
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
time to get rid of those bad components 😉
there's no alternative 😦
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
there's no way to bind my vacuum to HA..
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
sure
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
Long story short, the answer to my first question is: No.. it should do better
@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
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
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
I guess I can check when the motion sensor picked up movement and when the light was turned on
But the native HA log file would be better
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?
Correct, if the sensor and light are both zigbee
Or, at least, the delay is in HA registering the change
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
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
'looks a bit bork' 🤔
i mean it looks like something gets badly parsed. It shows unneeded info
Please use imgur or other image sharing web sites, and share the link here.
☝️ 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.
That's not the card. That's the more info modal. It's normal for it to show everything it knows.
ok, and does that x/y value make sense? It is not a color bulb, just white with different temperatures
Hmm that zzh stick is kinda expensive
The shipping is too much
I can get a conbee ii for less
lol, ok
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)
if you are looking for cheap - https://www.itead.cc/cc2531-usb-dongle.html
The CC2531 and CC2530 sticks are cheap for a reason. They're fine for testing, but do yourself a favour and buy something better.
If you're running Z2M the Conbee stick comes with a warning for a reason 😉
So that's why the zzh is the better option
Well, that and ... it's rock solid for Z2M
There's two great options (ZZH and Slaesh) and one good option (CC2538)
With the tuya plugin breaking because tuya hates home assistant i need a stable solution for circadian lighting
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
@fleet wedge you can also check the elelabs stick, for ZHA 😊 Or the sonoff zigbee bridge, if you want cheap
ZZH also has an external antenna which the Conbee does not
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
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.
Both of them are legit - I have both sticks 😄
It's not tho, i speak from experience as a seller and buyer
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
Sleash is cheaper in total, and he's uses an expensive shipping method
Maybe zzh uses a luxury shipping method too
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
The big red dev kit using the same chip used to be $39+shipping from TI but they're out of stock as well
oh yeah, the red rocket dev kit or whatever they called it
LAUNCHXL-CC26X2R1? I don't think I've heard that name for it before.
Generally speaking shipping is free in my country for orders over a certain amount, and the price doesn't include shipping costs
For small business like this it's usually between 40-100 range for free shipping
Shipping is still built in even if you don't see it
Either way this is a pointless argument anyway 😂
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
LAUNCHXL-CC1352P-2 and LAUNCHXL-CC26X2R1 may also be stocked by local electronics distributors
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
Those cost the same or more than zzh for me
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
So you would choose slaesh over zzh?
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
Sleash's one is the cheaper of the 2 due to shipping cost differences
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
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
Have you enabled debug logging? What coordinator are you using?
Let me check debug logging. I have a cheap CR2032 (or whatever the name is) while I wait on a new slae.sh stick
CC2531?
probably
CC2531 Zigbee2MQTT Firmware with Antenna for Home Assistant,
(I'm waiting on slae.sh CC2652RB stick )
Have you joined any other Aqara devices to your network yet?
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)
Lmao so i can't get neither
btw when i'm pairing, i am 2 cm from the antenna so the distance shouldn't be an issue either
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
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
If it's not in the log then the device never joined your network
thanks for helping btw
would i see some logs for an attempted join or sth?
btw i don't have other zigbee coordinators
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.
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
that's good to know. i am not seeing any logs (log_level: debug) coming from the motion sensor. i am seeing logs for already paired switches tho
so maybe something is wrong with the sensor, but then both of them?
Have you tried unplugging the CC2531? There have been reports of them not permitting joins after a while with some firmware versions.
i wonder if one of my switches or even the another motion sensor is stealing? because switch or motion sensor can be paired directly with a bulb (even without a separate coordinator i'd assume)?
let me try
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
Which firmware are you running?
no idea
The first few lines of your Z2M log should say
Zigbee2MQTT Z-Stack Home 1.2 Firmware installed (Coordinator)
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?
Looks like that's done by ZHA
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 🤷♂️
yep. maybe to try to set the long poll interval?
I also noticed the same with my IKEA motion sensor btw
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
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
Ah, interesting. I've now checked the Src and Dst in the 802.15.4 layer and it changes, but only 1 hop. The coordinator seems to send it twice? They have different sequence numbers in the 802.15.4 part
"ghosts"?
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)
Yeah, mine is also one of the newer
https://www.home-assistant.io/integrations/zha#known-working-zigbee-radio-modules lists it as supported, and folks here have reported using it
I don't know if this is a bug, but I'm often getting this exception with zigpy_znp:
https://paste.ubuntu.com/p/Py6d3bFtMb/
Might be some device sending wrong/corrupted data perhaps?
(with zigpy_znp dev version (commit: 62de24d))
@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.
It's a ZZH
Well, I don't have debug logs on atm. Will turn them on again and see if it happens again
Here's a couple of warnings at the beginning: https://paste.ubuntu.com/p/h8W53RYR4M/
Here's the errors: https://paste.ubuntu.com/p/47SSsJZhp3/ (can send more if required)
Thanks. I'll check it out in a bit.
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
Looks like the ZDO.ParentAnnceRsp.Rsp command is coming in with an unexpected format
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
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.
haha, could be the OSRAM devices then
I think it's just an OSRAM bug
The devices still work most of the time though. So what does that command actually do?
Ah
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)??
... so for every radio except TI radios
Not finding a bug report though. (Not sure if I'm searching for the correct thing though)
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).
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.....
There seems to be a lot of issues with Tuya right now
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
I rebooted my Pi4 and now it’s working correctly.
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?
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())
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
It's reporting None for every attribute on the OTA cluster
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)
Oh well. He threw out/sold the Ecosmart bulbs in the end, right?
I think he sold them to some poor guy far away
Haha, maybe he'll have more luck
Maybe he'll show up here
"hey guys, do your ecosmart bulbs run really hot too?"
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. 😦
how to automate the smell of burning plastic
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)
No, it can not OTA update.
Don't worry, we've tested the product a lot before we put it on sale.
Yep. Immediately bought 4 controllers!
Ah yes, the Combee. One step away from the mythical CornBee.
Though with surrounding context, "Rasp/CornBee" does make a lot of sense
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*
Using the worst stick ever, getting the worst experience 😱
@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.
Huh, is that so? Which is a good one then?
Look at the pinned messages 😉
Thanks!
Z2M:
It supports mostly TI based sticks, with the Zig-Ah-Zig-Ah! and Slaesh's sticks being recommended.
Ordered Slaesh's stick, let's hope it works better. Thank you!
😂
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
Yes, pass the long path through (FYI, much easier for us if you share text as text...)
dataflow hmm hard or soft , baudrate the same
Docs say they don't apply to all... doesn't say how to work out what to use though 🤷
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
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.
Just set up the ZHA integration using the UI, then add the sensors using the UI.
I started that. How do I find the serial device path?
Any opinions on Mijia vs. Aqara vs. Sonoff door sensors? I have a few Mijia, but was curious about the other two.
from https://www.home-assistant.io/integrations/zha/ :
Most devices need at the very least the serial device path, like /dev/ttyUSB0, but it is recommended to use device path from /dev/serial/by-id folder, e.g., /dev/serial/by-id/usb-Silicon_Labs_HubZ_Smart_Home_Controller_C0F003D3-if01-port0
A list of available device paths can be found in Supervisor > System > Host System > dot menu > Hardware.
Thanks. ZHA is now loaded.
Alright, set up my first ZHA zigbee device. Wasn't as hard as I thought it was going to be. I was nervous 🙂
Any zigbee dry contact relay? On where the load being controlled is independent of the module's power
Did you look at the pinned messages?
There is a Tuya dry relay floating around Aliexpress @golden vessel - https://m.alibaba.com/product/1600076644247/Tuya-ZigBee-3-0-Smart-Light.html
which one? blackladder's database?
Either 😉
There's two hardware lists there - in theory Blackaddr's is more complete, but YMMV
yeah, I know about those lists but is not easy to know whether or not a relay is a dry contact relay or not
that looks like it indeed!
what is L1? and why two Ls?
I haven't personally used it, or verified it works with ZHA -- dug it up a few weeks ago here https://community.hubitat.com/t/zigbee-dry-contact/41558
Looked for official wiring diagram on about a dozen listings, nada :/
Re: Door sensors, I've only used the Aqara and they work well if you live with their quirks -- Most reviews have stated the Sonoffs are a bit clunkier https://blakadder.com/battle-of-the-zigbees/
yeah I've read that review. I was hopping that they didn't had the aqara quirks.
"clunkier"? physically right?
Physically, yes
anyone has Texas Instruments CC2538 with CC2592 RF Amplifier ?
i'm tired of cc2531
What's the question you're really asking 😉
if cc2538 is stable and more friendly pairer for zigbee devices
so...hope for the best....and for chinese guy to deliver faster
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
Where are located?
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
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
You should be able to get the TI dev boards from there
What are the range of those compared to one of the custom sticks
Does the Netherlands not have any more local electronics distributors?
Not really
It's annoying as heck
I need some capacitors, they come to a total of 2€
And shipping is 18/20
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
Z2M can migrate between CC2531 running Z-Stack 3 to the newer sticks
And the CC2531 is nice to have for sniffing
Tuya but it doesn't work
But the Conbee is pretty decent too, though not as well integrated into Z2m
I live in a house built from steel reinforced concrete + in floor heating on every floor
yeah, that's a RF nightmare
Zwave might be somewhat ok there
Time for lots of bulbs
But we don't talk about that
I will be putting zigbee bulbs all over
Is this the correct board? The numbers looks different
This is a local reseller
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
https://elelabs.com/products/elelabs-usb-adapter.html may work then. Looks like reasonable shipping to NL.
Walt says the range is comparable to the CC2652R board
And we do have a migration path between this stack and the TI sticks
got an zigbee cc2531 USB stick , now all i need in HA is : MQTT broker and zigbee2MQTT right ?
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
Part Status: Obsolete. I'm not sure if it's compatible with the SDK that the newer firmwares are built with
It is a multi-protocol chip like the CC2652 and supports Zigbee so it may work
i tried the ZHA , but setup bugs out when reaching path, baudrate, dataflow
It should autodetect everything once you supply the serial port path
Have you flashed it with firmware?
That sounds kinda risky
comes preflashed
Are you running a recent release of HA?
I see that zha-network-visualization-card (https://github.com/dmulcahey/zha-network-visualization-card) is built into HA since 1.0 but is it still available as a lovelace card or is it only via Integrations -> ZHA -> Visualization?
2020.12.1
only via Integrations -> ZHA -> Visualization
A normal installation route or something more custom? I routinely test all of the TI sticks and have no issues with autodetection in HA
Via Home Assistant OS?
Dang. Thanks for the quick answer though!
I think I should wist for zzh dev to return from holliday
nope pulles the docker container for HA
what's the issue?
if you want it in the sidebar there is a way to do that too
Elelabs one had a long shipping time
In that case make sure your permissions are correct and the device is mapped into the container from the host. If you enable (https://www.home-assistant.io/integrations/zha/#debug-logging) you will probably see permission errors when zigpy_znp attempts to probe the device.
in the start of the ZHA integration i cant even select the stick only option is "Enter Manually"
Oh really? I was trying to put it in a tab next to the z-wave visualiation on a card but sidebar would be perfect, too. How do I do that?
Good chance the container doesn't have access to the serial device.
@urban basin #zigbee-archived message
Awesome thanks!
May at least get you started https://www.home-assistant.io/integrations/zha/#cant-connect-to-usb-device-and-using-docker
I'd log into the container and verify that at least some serial device like /dev/tty* or /dev/serial/by-id/* exists.
Has anyone has the courage to flash their HUSBZB-1 ? https://github.com/walthowd/husbzb-firmware 😅
🙋♂️
I don't think so but do a coordinator backup just in case
https://github.com/walthowd/husbzb-firmware#coordinator-migration, just remove the --i-understand-i-can-update-eui64-only-once-and-i-still-want-to-do-it option
80% sure you can just upgrade the firmware without rejoining but the backup will make that 100%
Oh noice!
but taking a backup is always a smart move
Does it have a chance to fix an issue I am having? :/
back up is easy, it's just an extra command
What issue?
Probably won't make it worse
I love your optimism.
With Zigbee you have to be ready for anything
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 ?
Or, better, use Docker Compose 😉
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.
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?
Thank you for all the info. This is what I believe too. I read parents need to hold messages for their childs for 7 seconds because battery powered devices need to sleep to save energy. Strangely when connected to the coordinator the issue never happen but when connected to a router, it happen all the times regardless if it is an IKEA or Philips bulb.
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
Not that it would help with fixing the problem though
How would you proceed to sniff the network?
Yeah... but isn’t this defeating the purpose of ZHA? 😅
Yes
But yeah.. I taught about it many times..
I was really pushing myself into the fairy tale that ZigBee promise..
Yeah, it ideally should work perfectly
Thank you so much!
You'll need to add your network key to wireshark for it to be able to decrypt your traffic
I should see that from the backup right?
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.
Got it.
Or just join a device while you are sniffing and wire shark will get the key
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'
Add it via preferences -> protocols -> zigbee -> pre-configured keys
Then if it’s smooth, i’ll sniff.
Good lock
ok so now that i have my mqtt broker(container) and Zigbee HA setup how do i add my aqara devices ?
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?
ZHA doesn't use a broker, it talks directly to the device
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
Is that a good or a bad thing?
do you know how mqtt works?
any1 know how to put the small round aqara switch into pairing ?
got a chinese description 😅
Round or squircular?
Moment of thruth!
where are the pinned messages ? discord so chaotic ...
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
so if my device is in zigbee2mqtt , it will only work with that integration ?
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
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?
My firmware upgrades on CC2531 took only minutes to rebuild the mesh
Usually one or two requests per device. It's handled by the firmware.
I had to flip some plugs on and off a couple of times IIRC
how to change zigbee chanell in zha? I didnt find anything about that 😮
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
Only works when you're forming a new network
You can directly call set_channel though with https://github.com/Adminiuga/zha_custom/
sonoff is wifi
Yes, and you communicate with the Zigbee chip on it over TCP
serial over TCP
This will delete your existing network I believe
The undocumented thing in zha_custom will migrate it gracefully
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 😆
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 ?
Don't push any buttons on the stick
What integration are you using?
zha
[zigpy_cc.api] <-- AREQ ZDO permitJoinInd tsn: None {'duration': 0}
join None hmm
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
well it said zigbee home automation in integration at first , then i couldnt find it and was renamed too zha
That messages means that the CC2531 isn't permitting joins anymore
So reload the "permit joins" page every 60s
where can i find that ?
The page you're on that has the spinning thing
When you press the blue "add devices" button
yup , then the light goes on on the cc2531
logs spitting out a lot
but not adding device
Nothing useful, it's just saying that joins have been permitted
Is this the round Mijia button?
Just to be sure, are you pressing the tiny button in the hole on the back?
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
does anyone have any suggestions on zigbee interference or congestion with only a few devices with conbee
on how to create interference?
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...
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
everthing on 2.4 here is under -70dbm...my WAP is about -50...that does seem kind of hot
or you could be barking up a wrong tree
very true
@umbral radish posted a code wall, it is moved here --> https://paste.ubuntu.com/p/KpZzgpnW5m/
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?
serial:
port: >-
/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2256822-if00
did you reboot rpi ?
yes
then i recommend rereading the instructions and starting from the beginning
Thats the system:
Hardware
serial:
- /dev/ttyACM0
-
/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2256822-if00 - /dev/ttyAMA0
i did twice, ended up with the same result
if you're using HA OS i have no idea what is needed
hm... i just don't get it, to me it seems like z2mqtt cant find the serial port, but i tried every possible combination
Z2M + ConBee = experimental support.
What you've shared so far looks right. Maybe you're just outta luck.
The TRADFRI bulb E14 CWS opal 600lm (the RGB one) doesn't have color temp control? o.o
ah! never noticed the "supports" part of the website!
nice to see you around here @violet dagger ! great work there
i'm always around here
If you're using a TI or a SiLabs coordinator you can do an energy scan to check for relative channel congestion
Anyway to blacklist a unrealible router?
I find my network devices connected via this device aren't reliable
(using ZigBee2mqtt)
out of curiosity, which device?
Yeah, there's this: https://github.com/zigpy/zha-device-handlers/issues/457
The RGB IKEA bulbs come with a default warm white color. I think they're RGBW bulbs and not RGB-CCT IIRC.
I think the native IKEA Tradfri integration does some conversion to overcome this but I'm not sure.
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?
Interesting! But if the bulb is RGBW and not RGB-CCT, I don't really care that much about having the slider I guess.
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
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
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)
Oh. But 470lm seems so low 😫
I was considering the globe ones because of that
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
I have a CT globe one, but E27 and it does not have coil whine issues
Ah! So I may have got lucky lol
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
Yeah. I guess I'll try it
I had one of those. It was whining like no tomorrow when I was sleeping. IKEA still sells it. 🙄
Wait. They whine while off?!
Yes only when off.
Oh shit lol
Younger ears are much better at picking up high frequency tho
Maybe that too lol
Do I look that young on my picture?
Not a day over 25
You’re missing 1 year then haha
Lol
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 😰
Any watchdog lines?
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
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"?)
At the first boot with the new firmware it rebooted the stick like 10 times I think. Are you refering to that?
I am actually wondering if I did not plug it into a already shared USB port. I could plug it into the other row of the Pi. I don’t know if the 4 ports share the current all togehter?
Also, (not sure if this is related to your issue at all, but worth trying). Two people in the same issue had the problem turn out to be their SD card: https://github.com/zigpy/bellows/issues/179#issuecomment-730877894 because of slow random I/O operations (?)
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 🤷♂️
Yeah I was looking at that too. I might have to consider some sort of diagnostic on the SD card to see it’s health. Until now it seem’s to be a very good one (SanDIsk)
Perhaps you can even try to snapshot Hass and run it on another PC temporarily? That should rule out most issues related to I/O and power supplies.
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?
Many things happen at weird times
I’m on docker. I am considering to move to X86 but don’t have the budget yet. 😦
I guess I could move the containers but that would be last resort. I still have some non conternerized services that HA needs. 😦
:/
I’ll first try to change the stick to another port.
Yeah, seems like a good point to start at
Nothing to lose there.
Also, have you already rebooted the PI? ^^
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.
I'd assume that even if it consumed more power, it can't be so much that it matters but you never know I guess
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?
Now that I’ve moved it. I’ve realized that no, I’ve re-plug It where it was.
Now it’s on the other side where there’s nothing.
No unfortunately. Had to use my computer. The container to update it is only for X86-64 arch
Btw., are you using an extension cord for the stick?
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
No it’s the Pi 3B+. 🙂
Ah, I guess you should (mostly) be fine then
I read that indeed. It’s so weird.
But if you have any connectivity issues: always try an extension cord. There could also be interference from inside the PI maybe
USB3 + 2.4 GHz wireless = 
Really? Not more? 😮
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
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 🤯
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.
How can I upgrade my hue plugs/lights firmware if I'm using ZHA?
I believe you can update them via Bluetooth. I think that’s what I did recently unless I am mistaken.
Wait, there is a repo with the firmwares?
He feels fine about hosting them so we try to feed them all there
Looks like he switched to direct linking the Hue ones
Still think we should write a OTA provider to use this
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
Hey so I have a zzh! As my coordinator, is it possible to use my old cc2531 as a router/range extender?
I believe there is router firmware out there for it. have you googled?
No 🙂
she is easy to find on there, haha. I googled it not too long ago
Lol I can see a few I think - are there any recommended for zigbee2mqtt?
the first result I see on google is from the author of zigbee2mqtt
https://github.com/Koenkk/Z-Stack-firmware/tree/master/router/CC2531 this one? Yeah just found it
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
Ok easy 🙂 have you tested it? Yeah I just want to improve to link to my device that’s further away
I'm sure it will be fine
tediore is 🔥
https://www.ikea.com/us/en/p/tradfri-signal-repeater-30400407/ I use these for places I don't need a smart switch
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
Ehh, the mesh reroutes as it sees fit
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
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?
USB power supply
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?
You won't see an immediate change
It'll take time for stuff to reroute
Repeaters or plugs
Or bulbs even
my cc2531 stick doesnt pair with this small switch
https://www.amazon.nl/Xiaomi-YTC4040GL-Draadloze-Schakelaar/dp/B07X71ZS7J/ref=asc_df_B07X71ZS7J/?tag=nlshogostdde-21&linkCode=df0&hvadid=430612180773&hvpos=&hvnetw=g&hvrand=13963182910214896133&hvpone=&hvptwo=&hvqmt=&hvdev=c&hvdvcmdl=&hvlocint=&hvlocphy=9050981&hvtargid=pla-880052838388&psc=1
logs spitting out this , seems to register the pair button press, but not adding switch ?¿
https://pastebin.ubuntu.com/p/634F7dFpM5/
aqara lumi switch was an instant add
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.
if zha doesnt want to pair with my aqara mini switch , would installing zigbee2mqtt help ? try that way ?
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?
Not while starting the container, no. It just goes in your configuration.yaml