#zigbee-archived
1 messages · Page 115 of 1
I may be dumb, sorry, but I am not sure what you mean by get with the program
It's just an expression
You like z2m, I like z2m
he should too
with all the sticks that come with it, though they aren't fancy
so you are saying deffinitely go with z2m
Yes
there is no point in going with the other choices
I mean, people that like the other choices still get to chime in
But your friend gets to benefit from you already knowing about z2m
If it's a matter of keeping the living room presentable, maybe you can work around it with some eye-pleasing hack
Put the stick behind something
On a bamboo-stick in a flower arrangment
I can see that the difference between the two sticks recommended is that one can go under 1 GHz, which isn't relevant. So I guess I should go with the cheaper one to save money, right?
The two recommended sticks are functionally identical
Okay, thanks for your time guys.
You knew the answer the whole time, you just needed a little push 😉
And the real treasure was the friends you made along the way.
Just received a https://zigbee.blakadder.com/Sonoff_SNZB-01.html Sonoff Wireless Switch and trying to add via ZHA and Sonoff Zigbee Bridge. I can see the device, but only see the power level (eWeLink WB01 b3a9xxxx power) ... any ideas?
Have tried adding multiple times.
who are these FRIENDS you speak of ?

'[0x2625:1:0x0001]: 'async_initialize' stage succeeded
[0x2625:1:0x0000]: 'async_initialize' stage succeeded
[0x2625:1:0x0006]: 'async_initialize' stage succeeded
0x2625: power source: Battery or Unknown
0x2625: completed initialization
Error handling '_save_device_relays_update' event with (00:12:xxxx, b'\x01\x00\x00') params: FOREIGN KEY constraint failed
Error handling '_save_device_relays_update' event with (00:12:xxxx, b'\x01\x00\x00') params: FOREIGN KEY constraint failed
[0x2625:1:0x0001] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=149 command_id=Command.Read_Attributes_rsp>
[0x2625:1:0x0001] ZCL request 0x0001: [[ReadAttributeRecord(attrid=49, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>), ReadAttributeRecord(attrid=51, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)]]'
I have a bunch of Aqara temp/humidity sensors, and one of them is showing the same temp for the past 48 hours. It's not an unavailable entity, and looks the same in the Zigbee2MQTT addon. I'm kinda confused where to start troubleshooting. Any ideas?
Start with pinned posts
Thanks, Pal
Take a look at the Z2M debug logs, if you can get those
I've had one sensor enter an endless loop of sending garbage temperature readings every few seconds until I pulled the battery (or maybe I replaced it?)
Clicking the white button on it should also tell you the status of the sensor on your network
Two short blinks I believe is it sending a heartbeat to its parent
Long one is no parent
oh wow the little button on the sensor itself? cool
clicked the button on the sensor and saw a click blink. just one time
If it lasts longer than a split second then its parent is offline
If the LED also gets really dim then the battery is low
So it may not be able to re-join the network again until you put in a fresh one
I have an extra battery, cant hurt to try, right?
It's back awesome! I noticed before in Grafana there was not data at all for the sensor. I replaced the battery and got a data point.
Anyone had any succes binding a Sunricher SR-ZG2835RAC to a Philips Hue device? I see a couple of binds fail, but I still get no respons when using the dimmer.
Welp. it restarted but it's still the same temperature.
This qualify as two short blinks? https://imgur.com/2lmzunm
No, way shorter
They both happen within half a second
Look at the network debug logs, they will show you what the sensor is sending
If it's even on your network
Hi, is there someone who got a CC2530 + CC2591 router working? I'am experiencing this bug: https://github.com/Koenkk/zigbee2mqtt/issues/3637
I can't imagine that this popular router is not supported at all 😦
What does the debug log show?
Feb 16 18:54:31 pi4 npm[648]: Zigbee2MQTT:warn 2021-02-16 18:54:31: Received message from unsupported device with Zigbee model 'undefined'
Feb 16 18:54:31 pi4 npm[648]: Zigbee2MQTT:warn 2021-02-16 18:54:31: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html.
I used the firmware which is linked on the zigbee2mqtt website
That is the debug log, but the log level is not very high
Bump it up to debug: https://www.zigbee2mqtt.io/information/debug.html
I have one that I flashed a couple of years back. It works fine as a router
exactly the same message with debug log
Feb 16 19:32:46 pi4 npm[13483]: Zigbee2MQTT:debug 2021-02-16 19:32:46: Received Zigbee message from '0x00158d00044ea780', type 'attributeReport', cluster 'genOnOff', data '{"onOff":0}' from e
ndpoint 1 with groupID 0
Feb 16 19:32:46 pi4 npm[13483]: Zigbee2MQTT:info 2021-02-16 19:32:46: MQTT publish: topic 'zigbee2mqtt/0x00158d00044ea780', payload '{"battery":100,"contact":true,"linkquality":57,"voltage":
3055}'
Feb 16 19:32:48 pi4 npm[13483]: Zigbee2MQTT:debug 2021-02-16 19:32:48: Received Zigbee message from '0x00124b001c429cd3', type 'attributeReport', cluster 'genOnOff', data '{"onOff":0}' from e
ndpoint 8 with groupID 0
Feb 16 19:32:48 pi4 npm[13483]: Zigbee2MQTT:warn 2021-02-16 19:32:48: Received message from unsupported device with Zigbee model 'undefined'
Feb 16 19:32:48 pi4 npm[13483]: Zigbee2MQTT:warn 2021-02-16 19:32:48: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html.
the *780 is the sensor directly, *cd3 is the router
Why is the router sending an onOff message?
because it's trying to relay the onOff message from a window sensor which I use to test the setup
Hmm, you'll likely need to enable Zigbee-herdsman debug logging to get the full log
It isn't clear from the Z2M log what the actual message is
So in your log, 0xb996 (the router) joins the network directly to the coordinator, announces itself, and then itself sends an attribute report
It doesn't appear to be relaying that message
Is the contact sensor Aqara?
Is anything happening other than this error message showing up in your log?
As in, does the network otherwise work?
yes the sensor is an aqara one
the linkquality of the sensor keeps the same, no matter if the router runs
I guess not, see point above
Try force removing the router and re-adding it
I believe the router firmware should have manufacturer and model attributes so the fact that Z2M is complaining that it does not makes it seem like the router was never completely discovered by Z2M
Right now the router is still in Z2M's database so it doesn't seem to re-discover it
ok thank you for the support! will try that tomorrow
Hello everyone. I try to call a update_entity service to get the power usage of a xiaomi smart plug. I do not get any failure message in the log but nothing happens. Updating without a service call takes about a minute or so. I am using conbee not the xiaomi hub. Any ideas how to find out why it does not work?
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.
Hi folks, Is it possible to read if an enitity is "available" or "reachable". I want to be sure that the saved state is not very old and thus check when it was last "seen". Is this possible somehow? It would be a door/window sensor via deCONZ.
I use deCONZ
You should hopefully find that there's an attribute for when the entity was last seen
Of course, sensors may only check in once an hour, or less
Look in
-> States
I see, thanks for the tipp, I'm quite new... sorry. There is a field "last updated" but it is not in the "attributes" field. Is it still useable somehow? Here would be a screenshot: https://ibb.co/QrVJLWD
Ah, the joys of sharing text as an image 
Try the following in
-> _Templates
{{ states.light.WHATEVER.last_updated }}
Wow, great, I did not yet know that this kind of test environment exists, btw - it works. thanks a lot.
https://www.home-assistant.io/docs/automation/templating/ will lead you down a rabbit hole 😉
Does anybody know if it is possible to get the "Refreshed" timestamp from deCONZ-devices that is shown in the deCONZ-intgration via Phoscon as value into homeassistant? Screenshot (so you would better understand what I mean): https://ibb.co/m404pny
How to set OSRAM AB32840 to default off, when for example ill have power outage
Hello can anyone help me i have an rgbw Controller Shelly and an iluminize zigbee Touch Panel how i can Control the Shelly With the zigbee Touch panel
I am having the same problem.
Hi, I discovered that I can see it via zha_event ... which means i now have control via Automations ... https://community.home-assistant.io/t/sonoff-switch-snzb-01-zigbee-is-missing-entities/226081/22
Thank you👍
No worries .. here's my working example ....
platform: event event_type: zha_event event_data: device_ieee: '00:12:4b:00:21:ff:ff:ff' unique_id: '00:12:4b:00:21:ff:ff:ff:1:0x0006' device_id: ca471a2a95f3ed19be1asdasdasdasd endpoint_id: 1 cluster_id: 6 command: toggle
I will try this too. Thank you👍
I just got some iris 3460-L buttons and I had thought they supported single, multiple and long clicks but watching for zha_event I only get an on and off command on button clicks. Any suggestions?
https://paste.ubuntu.com/p/s6f2T28xq6/ Here is sample data
Anyone wondering I found https://discourse.nodered.org/t/detect-double-long-press-with-momentary-switch/27356/6 I had to modify it a little bit but I got it working in node red.
Since some time ago, I've had Zigbee lights "reconfigure" themselves (blinking green on Hue lights for example. Like how it happens when they're reconfigured through the UI).
Today, it just happened again. I didn't have debug logs on though but it seems like the light is somehow rejoining the network: https://paste.ubuntu.com/p/VDzY86Rv2D/
0xEE75/00:17:88:01:09:01:66:d5
Using zigpy_znp 0.4.0 (upgraded "manually" on the latest Home Assistant with ZHA)
(using ZZH with latest firmware)
If anybody has some ideas on why this is happening, I'd really like to figure this out
... apparently not everybody likes blinking lights at 3am
'async_configure' stage failed: not enough values to unpack (expected 3, got 2) is also written in the log when reconfiguring a light manually in the UI (and it doesn't somehow rejoin/reconfigure itself)
Regardless, the light still seems to work fine after that
What does it look like when you do that with debug logging on?
Is it possible to query what the firmware level of a device is via zha? Not looking to update it, just to know what I have. I've turned debug logging on for zha, but the endpoint device firmware level doesn't show in the log. Ideas?
Try reading it from the device's OTA cluster
If not, reboot the device and wait for it to ask for a new image. It'll include its current firmware in the request.
Gotcha. It's a little Sonoff zigbee motion sensor.
I'll try the OTA cluster first as last time the battery died it forgot it was paired and was royal pain to get HA to forget it so I could re-pair it.
When it includes the firmware in the request, will it show in the debug log, or somewhere else?
In that case, no way to see it. Sounds good then. Thanks.
https://paste.ubuntu.com/p/YFrhzWmXXR/
That's a (debug) log from when I press "Reconfigure" in the UI (0xa17d / 00:17:88:01:08:5a:50:ce)
(Anything before and after seems to be a network scan in the debug logs rn)
I have Danfoss Ally integrated with ZHA. I just restarted HA and lost connection to this TRV. Is there a way to refresh/enforce connection? I don't even know why exactly it happened...My door sensor works just fine. I see in the logs that I'm getting some messages: It looks like having controller reconnected and restarting HA again helped for that...although I still don't know if there's a way to avoid direct access to hardware.Received an AF message from an unknown device: 0x6e92
Hi!
Z2M, Aqara magic cube.
I have it working, but can't seem to find the action entity.
If I use an automation trigger, the actions can be found though...
See screenshots:
https://imgur.com/a/G5vJLX2
Trying to add the available attribute to a sensor, which seems to work
Feels a bit hacky to have to do this myself actually.
I want to use the entity in a Z2M cube blueprint
Hi all, I am having problems with the Zemismart ZM25TQ roller blind motor. It is discovered in HA using a CC2531 with Zigbee2MQTT. I am running the latest-dev Z2MQTT in a Docker Container on a Synology NAS. The up/down/stop buttons seem to be working however the position value does not change. I have not gone through the setup with the TUYA app, not sure if I need to. Any advice would be great.
guys, is it possible to access to devices.js in zigbee2mqtt in home assistant os? i cannot find it anywhere :/
i have only devices.db but it's not what im looking for
You will need to go in the container hosting z2m. But any changes will not be persisted. Usually we spin up a seprate docker for z2m with specific volumes exposed
I don't you will be able to do that in HA OS. As you have limited control on OS
so i'm limited to waiting for update to add new TS0601 tuya TRV manafacturers...
i hope i won't be waiting for a long time
Hej automation friends. I have some RGBW lightbulbs from Paulmann and realized, that the brightness does not change below a value of 30-40 until it turns off at 0. Also color transitions do not seem to be very smooth. When I transition from orange to warmwhite it gets some kind of light purple inbetween.
So now I'm wondering: Are the lightbulbs all the same in that case, do some lightbulbs support smoother transitions and lower brightness values or am I just doing it wrong? 😂
Yes, the quality of the bulbs varies. Hue are apparently the gold standard
anyone know if Blitzwolf SHP7: Dual EU smart socket works with ZHA?
Then I think I'll try those for the places where it's important to me to have clean transitions. Thank you.
Hmm, that looks like it could be some issue within ZHA but without a traceback it's hard to tell
Anyone running latest zstack router firmware, are you seeing a large number of NWK changes?
@mighty island @shrewd granite if you want to use sensors instead of zha_events you can use the eventsensor integration from HACS
Brand new SNZB-02 hygrometer disconnected overnight and I had to re-pair it (ZHA, HUSBZB-1). There's a repeater (light bulb) in the same room and another in the adjacent room. Ideas? I have two, so I'm going to see if the second one does the same thing. https://i.ibb.co/YbDt3kj/snzb-02.png
First one stopped reporting 2 hours ago
Power was reporting 100% before both of #1's disconnections
Both devices are in the same place right now, closer to hub
I've flashed the ZSHARK firmware on a raspbee, and now I can't flash the regular firmware back: https://github.com/dresden-elektronik/deconz-rest-plugin/issues/405#issuecomment-779560779
Anyone had the same issues?
deCONZ by dresden elektronik is a software that communicates with ConBee/RaspBee Zigbee gateways and exposes Zigbee devices that are connected to the gateway. Our #zigbee-archived channel is a good place to ask about using it with Home Assistant, but they also have their own Discord server.
You probably want to ask the deCONZ experts over there
Can anyone suggest a good quality zigbee dimmer switch? Been waiting for the GE jasco but it’s still out of stock
Looking for advice about a device to buy? Remember to provide guidance on:
- Which country you're in
- What your budget is
- What protocols you prefer (eg Zigbee, WiFi, Z-Wave)
- Any features you want (such as power monitoring, dimming, etc)
USA, doesn’t matter, zigbee, dimming
How are you adding them? I had issues with some devices (Aqara mainly). But I manage to make them work adding the directly to the coordinator instead of the “integration”. Going to the device and click in the option, add device via this device
I call zha permit in developer tools and press the bind button on the sensor
Ok, to make sure (or at least it is what works for me) that they stay connected. Go to the Configuration > Integrations > Zigbee Home Automate (ZHA) > Click on devices, where you have a number with the devices that you have connected. There you will see at the end your coordinator as zigbee coordinator as EZSP = ... something here. You have the same one as me. Click on your coodinator and there you will see one extra option "ADD DEVICES VIA THIS DEVICE", when you click there, your network will add a device only through that device (it could be a router also). To almost make sure that your device stays connected add it this way, or throught the closest router (the light bulb). You can try first to the bulb, but directly, this way you force the network and later to the coordinator. This way worked for me, hopefully it will work for you
Thanks, will try!
has anyone tried to get a trådfri repåeater to join? and has had success... I can't get it to join
with ... what integration ?
zigbee2mqtt
I have pushed the "reset buton" with a paperclip for 5 sec. and it blinks fine but doesen't join
zigbee2mqtt version
1.17.1 commit: 1.17.1
coordinator type
zStack30x
coordinator revision
20200211
frontend version
0.3.23
zstack 3.0 🤔 what is that coordinator ?
ZigBee USB STICK CC2538+CC2592
what would be a better stick?
I need very good coverage, therefor I chose that combo
its popular with the russians
I run the cc1352p2, covers my whole house (three floors, 252m2)
without an external antenna
I should try the external antenna at some point
Actually bought it from a russian 😛
its definitely better and more powerful than CC2531 but its stlll the CC25xx architecture
any ideas?
depending on your surface to cover
screw the coverage.. just with my initial problem of the repeater not joining
If I can do anything with my current stick
i have 2538 +2592 and i'm satisfied
have you tried the ikea repeater and what firmware is flashed?
I have BLE, but those go via my ESP32s
didn't tried directly at all ?
well, there is no support in the zstack code afaik
and the other part of the 1352 is sub ghz, 868mhz and 915mhz I believe
ISM bands, for Zigbee Pro and also part of the 3.0 spec
Eve's thread write up - https://www.evehome.com/en/blog/discover-your-thread-network - fun to see another 802.14.15 implementation
network bridging 802.14.5 via ethernet with two homepods is super cool
Apparently my new solar inverter, a Delta M series, has a zigbee module in it (with an xbee chip on the board). There is zero information published about this... anyone have some pointers of where/how I could figure out getting data from it?
The first snzb-02 stayed connected but seems to be reporting very frequently, is this a problem for battery life?
#1 https://i.ibb.co/6FS8KPt/Screenshot-20210218-082004-1.png
#2 https://i.ibb.co/qNQW47v/Screenshot-20210218-081955-1.png
It's reporting on significant changes, that's normal and desirable.
Who knows? They're reporting what they know.
For whatever reason, one's picking up fluctuations of several percent. It's right to report them.
hello - does anyone have experience with Aqara devices (battery) becoming unavailable randomly and any advice on ways to not have this happen?
There's a good forum thread in the pinned messages
Build a stronger mesh.
That helps, as does, interestingly, using Zigbee 3.0 coordinator and routers
My Xiaomi devices connected to my 1.2 mesh won't ever change routes. My Xiaomi devices connected to my 3.0 mesh will
what do I need to do to siwtch to zigbee 3.0 coordinator?
(the routing and network stacks between 1.2 and 3.0 are virtually identical -- 3.0 just adds some optional security)
The theory may be there, but reality is proving to be different... which is about normal with Zigbee 🤣
Buy a Zigbee 3.0 coordinator... and some Zigbee 3.0 routers
@brittle maple what devices (motion, door, ...) and how frequent? Also, do you have them paired directly with the coordinator or is another device serving as a router? There's a bug on aqara devices that makes them leave the network when paired trough some routers
Im thinking about going to native zigbee, never tried the "HA Zigbee" before. What is currently the best dongle, deconz or the 3rd party sleash dongles, and also does the zigbee network need to be rebuilt everytime your reboot HA?
The Elelabs USB Stick (also called POPP ZB-Stick on some EU stores) is a good one.
Regarding rebuilding the network, rebooting HA does not destroy or rebuilds the network. Devices are available a few seconds (usually less than 10s) after boot. Also, even if HA is off, the network still works (if you have devices binded to groups for example).
I have conbee 1, conbee 2, the slaesh (the TI 3rd party) both versions and the TI boards
so have to use one of them
I've used the conbee 1 for a while without issues
HA Zigbee? Is that an alias for zha?
In Soviet Russia, HA Zigbees you.
yes I just forgot zha. I expect that people understand ha zigbee lol
If you have a slaesh stick then it's gonna work better than the conbees (the conbees are functionally identical)
okay thanks. will try
Some of my Enddevices are much closer to a router than my coordinator but they connect to the coordinator. Any idea why?
Parent selection is up to the device itself.
And there are children limit as well per device
I added a SEA801-ZIGBEE thermostat with deCONZ, and it exposed a climate device to Hassio. However, there are a few issues:
- max temperature reported is 35 even though the device max is 30
- switching between heat/off works, but hassio doesn't report the state properly
- the temperature is 29C even though it's only 21C inside.
is there a way to configure which temperature sensor to use for the thermostat?
Thanks - I have a nortek stick and the devices are paired with it directly. I saw in the pinned messages to plug the dongle into a USB 2.0 port and mine was plugged into a 3.0 one so I just switched it to see if that helps.
I'm not convinced, the second one is sending readings exactly every 15 minutes https://i.ibb.co/CKjTRWT/Screenshot-20210218-103646-1.png
Can I see if both are connected to the same node?
Not convinced of what exactly?
I have a very basic question that I cannot find the answer to: I have a SONOFF SNZB-03 - ZigBee Motion Sensor and it says it is a motion sensor, I am assuming it is NOT using PIR? So it is only looking for movement so if a bird flies by a high window I have, it would trigger the sensor?
One is sending more frequently because it sees changes. The other is reporting less frequently because it's not.
Almost every motion sensor is PIR. If it truly tracked movement, that would be a camera, with pretty impressive embedded image processing.
ok thanks, will monitor for a few days to see how it goes
Do you have it indoors and you want to track motion outdoors? 🤔
No I was going to leave it in my living room and have it alert if there is motion while I am away
But I have a big window up high on my ceiling and was concerned that it would trigger the sensor if a bird or something flew by
It shouldn't. They work by sending out beams of IR and watching what bounces back. If the 'reflections' change, there's motion.
I'd be surprised if it picks anything up from outside. The risk with having a window in view is it some other source of IR shines in on the sensor. Reflections off cars and stuff like that.
yeah so the window in question is too high for that, it is up about 12 feet on the ceiling
on the wall, not ceiling
but close to the ceiling
I do have a sliding glass door, but the blinds are closed on that and will be if we are ever away from home
They are both sitting on the same table so they are seeing the same changes
One is definitely reporting more often and the other less often as a result of some configuration
Please stop tagging me on every frigging response.
Ok
I don't care why one of them is reporting less frequently. I explained what could cause it. The rest is your problem to figure out.
That's what I'm here to get help with...
Your graph clearly shows greater fluctuations on the one that reports more frequently. That's your answer.
No-one here has physical access to your devices to troubleshoot the sensors within.
If you think there's something wrong with one, RMA it.
Anyone else have any insights?
#2 is reporting every 15 minutes, to the second. It's impossible that the humidity is only changing in a detectable amount every 900 seconds
...
This is normal. Report infrequently when there's nothing to say. Report frequently when something significant happens.
We've done this already.
It's fine, don't trouble yourself
I've found those sensors to be quite noisy
Well, the one that I have hooked up at the moment
It sends attribute reports very frequently
Usually fluctuating around some temperature, while the Aqara sensors just send ones every once in a while, resulting in a smooth graph
How long does the battery last?
For Aqara sensors, maybe two years if they're kept indoors
Dunno about the Sonoffs, I haven't had mine running long enough to run down a battery
Dunno about your specific case though
It could be some manufacturing defect or something, they're configured with the same attribute reporting settings
Are you using ZHA or Zigbee2mqtt?
So you're suggesting an RMA may be in order?
Re-pairing won't change how frequently an end device reports. That logic is entirely on its chip.
I have a sudden craving to re-pair these over and over again
That's only Aqara
Normal devices are configured to report every min/max interval with a specific change
But it's hardcoded
(by the integration, not in the device)
So if you "configure" a sensor to report at least once a second and at most once a second, it will send you reports once a second
TIL sensors can be configured to override hardcoded logic.
It's only hardcoded by the integration when setting up attribute reports
Actually, lemme check if you can do this within ZHA using cluster commands
How do the cluster commands wake the sleeping device if it's sleeping?
It's conceivable. After all...
Any sufficiently advanced technology is indistinguishable from magic
When you send a message to a sleeping end device, it's retained by its parent until the sleeping end device wakes up and checks for new messages
They wake up pretty frequently, like a few times a minute
That's interesting...
In theory, anyways. Aqara just doesn't.
Why would they wake the network card if there's nothing to report? I thought they prioritised battery conservation above all else.
None of my Konke devices wake that often either 😄
Or my Hue dimmer - at least none report it
Maybe they wake, check for messages, and fall asleep immediately without sending anything?
ISTR that's kind of how Z-Wave's Beam works
Looks like the Sonoff/eWeLink wake up every 30s to check
Or at least as often as they report attribute changes
Which is what I said earlier. They report when they see a change or less frequently if they haven't.
Yeah, my centralite stuff wakes up within a few seconds
So they first enter into some sort of fast polling after joining and check in every second for a minute or so, and then slowly poll later on
Within a few seconds of what?
Of any target ZCL command
That's outlets and lights though, right? I'm not familiar with the brand.
no, it's battery powered sensors -- they resold centralite under diff brand (Iris) and directly
Ah, gotcha.
The ones I have rock a CR123A or CR2 I think so they can afford to be a bit more chatty
Doesn't look like there's a trivial way to configure attribute reporting directly from within ZHA
But maybe the Sonoff temp sensors are a good candidate for a larger minimum change value
What are you trying to change? The threshold?
Lidl smart home gateway hacked to run ZHA - https://paulbanks.org/projects/lidl-zigbee/
I guess that's an easy way to run ZHA over Ethernet (instead of WiFi with the Sonoff Bridge).
Well, tube has gateway options almost ready, including a wired cc2652 gateway that is z2m and zha compatible
Selling in Europe? 😉
I think so?
Now if we could only buy lidl in the US too
Haha, right
I'm looking at shipping options for overseas. the best rate I've found as a little guy is ~$26 for US First Class International Parcel 1-3 week delivery.
for device polling: https://www.silabs.com/community/wireless/proprietary/knowledge-base.entry.html/2012/06/29/how_often_shouldmy-KgXw this is what things should be
stack rules are every 7.5 seconds
even for end devices...
problem is that the spec contradicts itself in several spots... this answer from SI tries to clarify it
but it is a mess in general
Business as usual you say 🤔
Looks like the Sonoff stuff only polls when sending attribute reports
HI Guys i am getting a Sonoff Bridge to flash with Tasomta but i also currently have a IKEA Hub. Would i be able to use the IKEA hub as a repeater or would i have to shut it off and start using the Sonoff?
you can only use one coordinator device
does anyone have IKEA Furtyr blinds? I notice at least my unit is VERY chatty, sending messages constantly
Hi. i don't know if people here is familiar with zigbee2mqtt
I bought a usb adapter (Slaesh's CC2652RB stick), but I'd like to check which version of the firmware it includes
(it does not seem to work by default with zigbee2mqtt)
At least the ZZH sticks (similar to the Slaesh stick) only come with a testing firmware that blinks the LEDs.
Here's a flashing guide: https://slae.sh/projects/cc2652/
In theory, when I bought it, I could select that it was already flashed with the zigbee2mqtt firmware
Do you know if there's a way to check the included version of the firmware before flashing another one?
Since I'm not using zigbee2mqtt and I don't know if that prints the version in the logs or something like that, no.
It does
I'd recommend (re-)flashing it anyways as the last Z-Stack update is just a couple of weeks old and has a critical bugfix: https://github.com/Koenkk/Z-Stack-firmware/blob/master/coordinator/Z-Stack_3.x.0/bin/CC2652RB_coordinator_20210120.zip
(Use the flashing guide I linked above)
But just flash the latest and be done
(The file is the Z-Stack firmware that slaesh apparently refers to as "zigbee2mqtt firmware")
Yep, that's good.
Yep.
any tips on how to get ikea trådfri lights to pair using zha with zigpy/zigpy-deconz/raspbee ii ? After some initial trouble I got the raspbee working on paired with lumi switches so things should be operational. lights are reset from their previous pairing
I'm trying to flash the usb adapter using , I get an error:
pi@openhab:~/cc2538-bsl $ python3 cc2538-bsl.py -p /dev/ttyUSB0 -evw CC2652RB_coordinator_20210120.hex
ERROR: init() got an unexpected keyword argument 'write_timeout'\
maybe it's because the python version?
$ python3 --version
Python 3.4.2
Python 3.4? That has been dead for a few years
It still supports modern software ;-)
yup, debian jessie
anyway, I'll try to update the firmware from my computer
Yep, it was because the python version, in my computer with python 3.8 worked as a charm
anyway, for some reason the docker container with zigbee2mqtt does not start. I submitted this bug report, in case someone wants to look into it
https://github.com/Koenkk/zigbee2mqtt/issues/6353
You likely need to run it with --device=/dev/ttyUSB0:/dev/ttyACM0
Oh! let me try it
Or better yet, /dev/serial/by-id/somethingslaeshsomething:/dev/ttyACM0
Nope, same problem: Zigbee2MQTT:error 2021-02-19 00:39:52: Error: Error while opening serialport 'Error: Error: No such file or directory, cannot open /dev/ttyACM0'
Do you see that device when you do lsusb?
I've finally made the switch to ZHA from deCONZ. Is there a gui like ZwaveJS2MQTT that let me do deeper settings and control my nodes?
you mean like zigbee2mqtt ? 😄
@tardy tapir you can go into Integrations>ZHA>Devices, and on each devices' page you can manage query the clusters on the devices and send commands as well.
thank you!
ZHA - Is there anything I need to do to successfully have both a nortek/gocontrol HUSBZB-1 and a Conbee 2 on my system? I don't need (or want) Zigbee enabled on the USBZB-1; I'm trying to switch over to the Conbee, but it looks like ZHA is maybe confused? I only see "Add devices via this device" on my old USBZB-1 - which shouldn't even be configured?? I changed the ZHA config to point to the new one. (and it indicates that - showing /dev/serial/by-id/conbee stuff )
I might just have to pull the older HUSBZB-1; the only reason I'm keeping it is for Z-Wave, and I only have one Z-Wave device as it stands. /:
No, nothing else required -- I run with the HUSBZB-1 in Z-wave only
You might just have a vestigial entry for the HUSBZB-1 as a zigbee coordinator, but it won't hurt anything
(I might be able to blacklist the relevant driver? Seems fiddly at best)
To add devices go Config > Integrations > ZHA > "Add device" (in bottom right corner)
Well, I haven't been able to pair anything afte rputting it into pairing mode, and only the HUSBZB-1 shows "Add devices via this device" on its properties. (Though maybe the Conbee 2 just doesn't have that element?)
Walt_H - I've done so, it sits, spins, etc. Not impossible that it's a problem with the Zigbee device I was trying to pair, but I did successfully reset it. (Hue bulb, previously associated with the HUSBZB-1, but I did the "Hue dimmer remote - ON/OFF hold - blinky blinky" process)
Does anyone with a Conbee know if the "add devices via this device" option shows up on the device properties? It may be a bit of a wild goose chase if that's just not part of the UI implemented for that device
You'll probably want to post your pairing log somewhere
Go through the add process and hit "Show logs" in upper right
There have been a few conbee bugs where it doesn't talk on the network after a restart -- you might be hitting that
Why did you migrate from the HUSBZB-1?
Known issues with it and the Lutron Z3 dimmer knob - apparently the firmware in the HUSBZB-1 has intermittent trouble with button-presses; I would describe it as "it occasionally works."
Ah yes, EM3581 doesn't process group frames if the coordinator is not part of the group
That's the one!
I don't know nearly enough low-level stuff with Zigbee to understand the finer details, though I'll imagine it's like an ethernet switch ignoring tagged VLAN frames or such (;
And, thanks for pointing out the logging option, I'm checking now. Though NOW i'm doing it remotely, so, I can't reset devices to pairing mode, sigh
I can cycle power to an unpaired one though!
I wonder if I should blow up my zigbee database from ZHA - if that's a thing?
So far, all my logs show is one instance of [0x0000:zdo] ZDO request ZDOCmd.Mgmt_Permit_Joining_req: [60, <Bool.false: 0>] per "Search"
Nothing like that is stored in the database, it's effectively a device cache
But if you delete it your network will be very unhappy
That was what I essentially understood - though, if switching adapters, said cache seemed potentially not good?
Well, my network is perfectly unhappy as it is, but fortunately it's only a handful of devices - maybe 10
If you aren't seeing any indication of a new device joining the network in the log, the database isn't really affecting anything at the moment
When a new device joins that's already in the database, it won't have to be fully discovered so it will only speed things up
It's enough lines that maybe I should pastebin it? I'm not sure what the ettiquite is here.
The log?
Actually just these two relevant ones:
[0x0000:zdo] ZDO request ZDOCmd.Mgmt_Lqi_rsp: [<Status.SUCCESS: 0>, Neighbors(entries=0, start_index=0, neighbor_table_list=[])] [0x0000:zdo] Unsupported ZDO request:ZDOCmd.Mgmt_Lqi_rsp
Yeah that's normal and I think just a coincidence that it's showing up in the joining log
You know, maybe I'll just power cycle some stuff.
I suppose I could "pull" the HUSBZB-1 from the VM; I can't physically remove it until I'm not working on this remotely, though, so it will still have power & presumably be a functional coordinator for the devices I didn't unpair
Oh, speaking of - is it possible to unpair them from HA / with ZHA? I could potentially return my config back to the old one with the HUSB.. device and unpair various devices
You can ask the device to leave the network but the networks formed by your two sticks are completely independent
And you can look at uhubctl if supported by your hardware to kill power to the HUSBZB-1 -- probably not supported though
but HUSBZB-1 shouldn't be really interfering, it will just be online as a separate network / PAN ID
post the full pairing log if you get it to ubuntu.pastebin.com
I have zigbee sonoff mini, how do I set it up as light?
which integration?
.zigbee
Bots are asleep, let's all start pasting 15+ line code blocks
Hi guys, I was going back and forth with @austere patio the other day and he mentioned that I should look at the network debug logs to see what Aqara sensor was sending. #zigbee-archived message
I have debug enabled in my Z2M , is that the right place to look?
I switched to deconz and now everything works 😄
Has anyone been able to update firmware on the zigbee dongles like sleash and electrorama directly from ha? I get as far as starting to flash it ends with an error firmware is intel hex
Did you install the intelhex Python package?
I wouldn't do it directly from within HA if you have any other environment available. Window, Linux, anything that can run Python 3.7+ will work
doh no, now its a new error bytearray index out of range
the reason why I would like to try is to not have to climb and get the stick
Can you paste the full traceback (or upload it to a pastebin if it's too long?)
how to do a traceback again?
Just paste everything the script spits out
The traceback is the error message and all the lines above it
Are you running cc2538-bsl.py -p /dev/serial/by-id/*slaesh* -evw /path/to/firmware.hex?
It looks like you specified the .hex file twice
Looks like cc2538-bsl.py swallows all exceptions and just prints out the error message string 😦 No tracebacks...
ops it didnt change anything
it gives one of the three errors
now its bytearray out of range
strange the error is different
for each time im running it
Can you run it with -V (uppercase v)?
Also, are you 100% sure that no other application is trying to use this serial device, like Home Assistant?
needed python-magic
so to do it from ha those two packages need install
is it possible to see firmware version in ha?
Not in the version of zigpy-znp included in HA
But if you update to the latest release (https://github.com/zigpy/zigpy-znp#home-assistant), it'll print it out
I think I might be able to put this into the coordinator device's info within ZHA
that would be helpful to know when it need update
Did you perform an NVRAM backup before updating?
Here is my log from my Aqara sensor that may or may not even be on the network. https://paste.ubuntu.com/p/R7pbCDhDGM/
On another note, is that the best way to post a log? seems insane to have to scroll really far right to read
Hi, I have a BW-SS7 relay and I haven't figured out how to reset it to pair mode with another coordinator, do you know anyone?
on ZHA should it show anything in the log while detecting? I tried it now with the sleash but nothing came up. Will try to run in debug mode now
has anyone seen this error before?
What does your home assistant config's zha section look like?
You likely don't need to specify any config options at all and can omit the zha key entirely
yes I had to many options there. I just reduced it to channel and it works
how is the process of getting items added to ZHA? I have a couple of things that is not supported like https://zigbee.blakadder.com/Zemismart_M515EGB.html is it something that I can implement myself?
You can create 'quirks': https://pypi.org/project/zha-quirks/
it's a variant of this... might as well add the signature here.. https://github.com/zigpy/zha-device-handlers/issues/744 tuya speak there own language behind a custom cluster...
I have the same question, just bought a zzh! CC2652R and cannot get it to work
Get stuck, not able to flash the stick
What have you tried
I have installed Python
And pip3 install pyserial intelhex
cc2538-bsl.py -p COM14 -evw blink.bin
But get error ERROR: could not open port '-evw': FileNotFoundError(2, 'Het systeem kan het opgegeven bestand niet vinden.', None, 2)""
HAd the stick in bootloader mode
Also tried UNIFLASH, but does not recognise device
Same with SmartRF
Stick is recorgnised in Windows
Have it configured port 14
that error doesn't sound related to your hardware, it seems the script thinks -evw is the name of the serial port
I don't know why though, because I don't know anything about that script. It just doesn't seem to like your command line options
I wouldn't know, unfortunately. I just figured I'd interpret the error message for you to narrow down the problem
Every example I can find says those command line options should be correct though 😦
I just usedcc2538-bsl.py -p COM14 and now it connected the port
C:\Users\Pascal\Downloads\cc2538-bsl-master\cc2538-bsl-master>cc2538-bsl.py -p COM14
Opening port COM14, baud 500000
Connecting to target...
CC1350 PG2.0 (7x7mm): 352KB Flash, 20KB SRAM, CCFG.BL_CONFIG at 0x00057FD8
Primary IEEE Address: 00:12:4B:00:21:B7:7F:C6
And now it is blinking
ah see it Need to put hex file in same folder I gues
And the cc2538-bsl.py -p COM14 -evw CC2652R_coordinator_20210120.hex
that worked
In the instructions there is a black example which I misse
d
Hi, My zigbee Temp sensor has being unavailable for 1 day so far but all the others are working
You can delete it and repair?
hi so today i shutdown my server to install a new ssd for plex and a new power supply. when i booted back up everything was working except that none of my zigbee devices would reconnect. i have been digging around for awhile and have made some progress in debugging but have got to this error and cant get any further: 2021-02-20 20:38:37 WARNING (MainThread) [zigpy_znp.zigbee.application] Failed to probe ZNP radio with config {'path': '/dev/ttyACM0', 'baudrate': 115200, 'flow_control': None}. my environment is home assistant running in docker on an ubuntu host that is a VM running on proxmox. the zigbee device is a conbee 2 and the switches i am trying to connect are 2 ikea remote controls and 1 ikea dimmer switch
any advice on how i should proceed?
So.... Many.... Layers.... Of.... Abstraction
Hey guys, any idea why my freshly flashed sonoff zigbee bridge is stuck restarting? This is what console is reporting {"RestartReason":"Software/System restart"}
proxmox->ubuntu->HA
I'm running it via usb + removed the pin bridge for flashing.
home assistant running in docker on an ubuntu host that is a VM running on proxmox
Wuuuuuut?
he did it, ABSOLUTE MADLAD
And you are running on dynamic device mapping
Run it in the cloud!

i dont want to pay and i have a server
what is dynamic mapping?
It was a joke...
i know just playing along
HA docker compose:
homeassistant:
container_name: home-assistant
image: homeassistant/home-assistant:stable
network_mode: host
volumes:
- ${PWD}/configs/homeassistant:/config
environment:
- TZ=Australia/Perth
restart: always
devices:
- /dev/ttyACM0:/dev/ttyACM0
and the zha intergration detectis it when i set it up (it is in the drop down)
Hi all! My Zigbee2MQTT has fallen apart on me, used to work perfectly but now barely any devices are communicating - some are, mostly those close to the coordinator. C2531: "meta":{"maintrel":3,"majorrel":2,"minorrel":6,"product":0,"revision":20190608,"transportrev":2},"type":"
zStack12"} I do have 42 devices but "it's been OK"..
It can change on any reboot @fallow sphinx
right
@noble lion that coordinator is fine, for 30 devices and a 40m2 apartment
should i use device by id path instead?
Yes
Through all the layers
Or just drop the VM and run containers directly
If proxmox supports it
it has its own version of containers and you could thireticaly install docker on it directly but having it in a vm lets me backup and migrate all the docker config stuff quickley and easaley
I just dont see any traffic from the other routers now, have power cycled them (and HA etc). MQTTExplorer shows my attempt to toggle switches but no response from the device(s). "No route" gets logged when I try this.
@fallow sphinx no idea how proxmox works, but anywhere I can run docker native (truenas and Debian) backup is just copying the config dir, adding a VM just adds overhead and complexity
@noble lion then, did you change the network key? Sounds like your coordinator is on an island
Anyone know if its posible to disable the fade in/out for hue bulbs when switching them on/of, IE let them turn on/off like a normal bulb?
No and some devices do still work - I'm baffled 😦
what do you use - I've been looking at alternatives but the two zigbee2mqtt reccomended links are out of stock 😦
Didn't you have a zzh! Atx?
greetings folks, so I am using the sonoff zigbee bridge and I have 9 door sensors and 2 motion sensors. I see them in Home Assistant but this morning I show one of the Motion Sensors as Unavailable and not sure what to do to get it visible again, but that led me to a question, should all of my zigbee devices be in some type of zone so they are communicating through one another?
Battery powered sensors can't route traffic.
good to know
I am new to zigbee so try to absorb it
devices arbitrarily becoming unavailable is not a good thing for a security system
So I reset the motion sensor and pointed it at a wall so it would not detect movement and it kept going a minute then would immediately clear and then detect again. For a test i put it back in its box and it is now clear but as soon as I open the box lid, it shows detected and begins the same behavior. Could this be a defective motion sensor? I don't see many ways to test them
@dawn sequoia nöpé
You monster
@forest arrow you have 11 different battery powered sensors, probably spread around in different rooms around the house. Without some powered mains devices, like light bulbs or straight up router/repeaters, you are unlikely to get a healthy Zigbee mesh for your devices.
I have 60ish powered devices and 20+ battery
I don't have count anymore
need to do a recount
total is about 100 though
I'm at 13 routing powered devices, 1 non-routing powered and 10 batteries.
The simple life
I am in the process of connecting the Hue switches to my home assistant via zigbee2mqtt. This also works. However, the response time of the Hue switches is sometimes very long. Do you have any idea what it could be?
yes. happened to me too. I think I had to use an older version of the GCFlasher to flash it again.
yep, an old gcfflasher worked
is there anyway I could have two coordinators on the same network with ZHA? It would be nice to add my dev coordinator to my main network for developing (I don't have many spare devices)
You can always have a spare coordinator with most integrations
Also, if you ran zigbee2mqtt you could utilize all your devices in both the Dev and main instance at the same time 
Can you do that with zha?
Without bridging HA instances
you can have two instances of z2m, with two sticks in a single net?
You can have two z2m and one broker yes
And one or two ha instances using that broker
broker as in mqtt broker?
Yes
how can the two sticks talk with the same mesh?
They don't, you said Dev, that implies a seperate instance
If you are sane ;-)
Not like people who Dev on prod
what do you mean by utilizing all my devices in dev and main at the same time then?
Yes
Depends on what part you are using as dev
If you have one Dev and one prod HA, fine use all devices in both
If you mean a Dev and prod Zigbee2mqtt instance, pair Dev devices to Dev and use those in the prod or Dev instance of HA
All over one single broker
I was talking about ZHA... so the equivalent would be dev z2m instance, and not dev HA
what I wanted: dev stick + dev zha in the production network 🙂
Don't touch zha, so no idea what they do 
zwave alows having two sticks, so I was hopping.... 🙂
Z-Wave may technically allow it, but implementations that support it ...
ozw has the buttons 🤷♂️ no clue if they do anything
probably they would just make the network stop working at all, as usual...
Zwave
zigbee 
Both are good - Zigbee's development is just learning from Z-Wave's mistakes 😛
Aqara hub discontinued? Is there another way to use Aqara sensors? ZHA with HUSBZB-1
The HUSBZB-1 is a bit old. You can get better sticks. I would recommend the Elelabs stick (branded as POPP ZB-Stick in EU stores)
i use mine with a nortek zwave/zigbee thing
ah damn, when I set this up a few months ago, this stick was the one I saw recommended most
Sadly didn't have debug logs on but I got this error when trying to remove an IKEA repeater: https://paste.ubuntu.com/p/cgdC39Mhcs/
(Error seems to occur here: https://github.com/home-assistant/core/blob/806369ddc1328b23a2eaa62ff91d0d662331a6b1/homeassistant/components/zha/core/gateway.py#L350)
Could this be related to the device not registering any entities? (entity_refs is not None for devices without entities -- else that code wouldn't have been called)
Only way I can see this happening is if entity_refs = [], so self._device_registry[device.ieee] exists but is empty?
if you already have it, go with it. Unless your network grows, it should still be fine
I think the fix would be to change https://github.com/home-assistant/core/blob/806369ddc1328b23a2eaa62ff91d0d662331a6b1/homeassistant/components/zha/core/gateway.py#L346 to just if entity_refs:?
Yeah, should be possible I guess
Actually, it seems like asyncio.wait is not the correct thing to use here? It looks like it should be asyncio.gather(*remove_tasks)
will it work with aqara sensors? I'm reading that they violate the zigbee standard
I need some kind of vibration sensor
Yes, Aqara is crap when it comes to standards compliance but is well-supported crap
Hi everyone, I’m looking for a recommendation for a new smarthome, I’m planning to use home assistant in combination with diyhue and want to buy some zigbee lamps I’m in doubt between a conbee 2 and the zigbee2mqtt approach, what is recommended? I might want to research creating zigbee appliances after a while so that’s something to take in mind
Yeah, that's used everywhere else.
Also, is there any way to remove these "ghost devices" that are left in HA now because ha_device_registry.async_remove_device wasn't called?
(other than removing it from .storage/core.device_registry manually and restarting Home Assistant because restarting ZHA always takes it bit with ~80 devices (and also polling all lights lol))
Or, is it possible to have Home Assistant re-read .storage/core.device_registry (without restarting it)?
@stone halo I can gladly recommend zigbee2mqtt with a TI coordinator
What zigbee2mqtt stick would you recommend them? Basic 2531 or 2652
Never buy 2531
For anything other than a router
I can recommend cc1352 , or if you can get your hands on slaesh or zzh those are great
The 2652 I don't know
Same as the zag or slaesh afaik
zha with an Elelabs/POPP ZB-Stick if you want it quick & simple
Well diyhue doesn’t support popp afaik
I wanna experiment with hue entertainment
I don't really know diyhue, but couldn't you use the emulated_hue integration?
diyHue doesn't seem to be that low-level, it doesn't talk to the Zigbee hardware directly and goes through either HA or Z2M
Does it even care if a light is Zigbee or not?
Not per say
So as long as ZHA works with the stick, it seems like it should work
How does the popp stack up with the conbee?
with the conbee you always need to use deconz to change some settings (like channel) and do updates (which are closed source)
the popp can be managed trough the cli with some simple utilities. and has kind of open source firmware 🙂
I cant say much about the diferences in chips' capabilities though
conbee works with zha too afaik tho
ill try to find a cc2652 variant first but thanks for the recommendation! how is the range on the popp?
yes it does. I've used a conbee 1 for a long time before getting the elelabs
Or just do a ti chip and z2m that lets you change the channel in the config file, and update firmware from a cli @golden vessel 🤣
with the elelabs stick I can change channel in the ZHA config and update with a cli too ❤️
I had an elelabs ZigBee hat for my RPI, but since I threw the RPI out after three days, I sold it to someone on here 
TI based
It is a great chip, but hard to get
ill wait for stock, its europe based so that works i guess
Which is why I've gotten a few people to order the 1352p2 instead, and so far all the users love it
thats a yes?
I've no idea what you meant by endgame 

like, one of the best sticks you can get thats kinda future proof haha
Well, you could just consult the Zigbee2MQTT docs 😉
There's always going to be better in the pipeline, but currently it's one of the better TI options
you are right haha, that answerred enough
Hi guys, sorry for the question which is probably stupid... I have bound an IKEA tradfri remote to a lightlink group via ZHA, as soon as I bound it I lost ZHA events... I have seen the issue at https://github.com/home-assistant/core/issues/31734 which suggests to bind the coordinator to the same group to get the events back... Problem is I cannot for the life of me find a way to bind the coordinator to the group, it does not appear in the list of entities to bind to the group nor it's got the manage clusters button. I am sure I am missing something stupid... Anyone's got any idea?
Hi all! I just migrated from deCONZ to ZHA and I get no readout on my motion sensors. Should I use another entity than I did when I used deCONZ?
Which motion sensors are you using?
And one more question; can I rename the ZHA group entities?
For hue: use the occupancy one. The on_off sensor is not working
Yes
For Aqara ones the default timeout for the "normal motion" sensor is 70 seconds. The occupancy sensor is 10 minutes for Aqara.
did you reset all your devices? I've seen issues when moving with conbee without resetting all the devices (changing the network id may be a good idea, to avoid "not reseted" devices from joining)
if you don't change the netid, the first time you open the network (Add Devices), they will rejoin (some automatically, others after powering), but some will fail
hi i asked yesterday but needed to go to bed befor i fxed it but i cant for the life of me get my zigbee ikea switches to reconnect to my conbee 2
i suspect it is because the conbee already thinks they are paird just offline
is there a way to compleatly reset the conbee?
what switches? the small on/off buttons?
1 of the on/off/dimmer and 2 of the big round 5 button remotes
are you reseting the on/off with 4 quick presses on the reset button?
yes
turn it off, unplug and replug the conbee, boot up and try again
if that does not work, click the Add Device button, reset the remove, click the Show Logs button and wait. When the scan stops, copy the logs and send them
ok give me a few mins to restart
been trying all night, still no dice 😦
here are the logs, also i forgot to say i have one of their sound volume controllers that i use for light brightness.
[0x0000:zdo] ZDO request ZDOCmd.Mgmt_Permit_Joining_req: [60, <Bool.false: 0>]
[0xB82F](SYMFONISK Sound Controller): Attempting to checkin with device - missed checkins: 2
[0xb82f] Extending timeout for 0x13 request
[0xb82f] Delivery error for seq # 0x13, on endpoint id 1 cluster 0x0000: message send failure
at other times i have had the same message about all the switches but this time it was only 1
Thank you very much!
@golden vessel any more ideas?
that's the whole log for the complete 1 minute or so?
yep
is the remote near the conbee?
are you using a usb extension?
is it connected to usb2 or 3?
the remote is about 100mm from the conbee
the conbee is on an extension but it is not very long (about 100mm)
the extension is usb 2 and the pc port is usb 2
the remote blinks and fades after the 4 presses?
yes
you can try enabling more debug logs (check ZHA doc page), so that we can try to see what's going on during pairing
or reset the conbee (using GCFFlasher maybe)
but if you do that, then remove the ZHA integration and start again...
ok i will try the debug logs and post them here
ok here is the log from the add device page:
[0x0000:zdo] ZDO request ZDOCmd.Mgmt_Permit_Joining_req: [60, <Bool.false: 0>]
[0xB82F](SYMFONISK Sound Controller): Attempting to checkin with device - missed checkins: 2
[0xb82f] Extending timeout for 0x0d request
[0xB1FF](TRADFRI remote control): Attempting to checkin with device - missed checkins: 2
[0xb1ff] Extending timeout for 0x0f request
[0xb82f] Delivery error for seq # 0x0d, on endpoint id 1 cluster 0x0000: message send failure
[0xb1ff] Delivery error for seq # 0x0f, on endpoint id 1 cluster 0x0000: message send failure
[0xE233](TRADFRI on/off switch): Attempting to checkin with device - missed checkins: 2
[0xe233] Extending timeout for 0x11 request
[0xe233] Delivery error for seq # 0x11, on endpoint id 1 cluster 0x0000: message send failure
[0x3667](TRADFRI on/off switch): Attempting to checkin with device - missed checkins: 2
[0x3667] Extending timeout for 0x13 request
[0x3667] Delivery error for seq # 0x13, on endpoint id 1 cluster 0x0000: message send failure
give me a sec to filter the crap out of the massive long debug log
please use https://paste.ubuntu.com/ instead
but you have a few weird fails there...
https://paste.ubuntu.com/p/tSXT74hWNw/ here is the full log. i have removed some bits that include personal info and that relate directly to other components
i also dont know what part of that log relates to the above connection atempts because i forgot to check the time stamp befor clicking ad device
in my case the wifi interfirance seams likley
is there anywhere in the logs that says what chanel the conbee is using i cant find it
not sure. but you can try turning off your wifi for a moment and test pairing
not an option. fam will kill me
also i have 4 APs all on difrent chanels so congestion is likley an issue
you'll need to use deconz to change the channel anyway, so you better just check it there
thats a windows software right?
I've got some sengland bulbs and I can't seem to change the color temp. I could have sworn they supported it I'm not sure where to look
Nevermind. These don't support it. Grumple
ok i have got them all paired with the deconz software
and the chanel is 11
my APs are on channels 11, 1, 5 and 9. that is ordered closest to the conbee to furthest away so basicaley worst case senario
what channel would you recomend
Hey zigbee folks, I just ported to a container install and I have zigbee container installed, but I wanted to know how to add the configuration page to the sidebar?
ok so i changed the channel to 20 and all the devices reconnected. i then repluged it into the HA box, restarted HA and i still cant pickup devices
still getting the MAC_CHANNEL_ACCESS_FAILURE error
@fallow sphinx try another usb extension (bigger one)
and make sure that it is connected to USB 2 (not a blue port)
ok will do
side note when it was pluged into my main pc it had no extention and was pluged into a usb 3 port
but it was the front port so not stuck around the back of the pc
ok it is working now
it must have been the extention cable
need to find a more permanant solution for it though
So long as your HA isn't using https, you can put the url into a lovelace iframe card on it's own tab.
Afaik
Hey, sorry to hit you 4 days later but at the time I didn't know about this: https://www.tubeszb.com/product/cc2652p2-based-zigbee-to-ethernet-serial-coordinator/1
Based on the same chip as zzh and slaesh, looks downright consumer grade, will run z2m or zha
Oh that looks really cool
But I will probably stick with the cheaper option
It looks like the case is 3d printed anyways
Oh definitely
It's still a community based product
If the esthetics factor catches up with you though, there is one of your options 😀
Yeah I mean, it's not that important. I was more like curious.
But def thanks for the info. I appreciate it.
If you have access to a 3D printer you could probably come up with something equally cool
Yeah I actually do
Well there you go
I will try to search online.
Anyway, stay safe and good luck with the smart home rollout
Thanks, you too. Have a great day!
Irritated - just driven round all 3 Lidl’s in town and not one had the Zigbee sockets in stock 😦
Yup 3d printed case. Posting stll files etc on my GitHub later today. These are home made.
It looks really cool, I put in the order with you earlier today 🙂
I have a slaesh stick, so I already have faith in the hardware
There finally moved over to ZHA. strange thing I experience some dropouts of zb3 devices. Really wonder if I made the right choice as I start to see ZHA got so few devices supported in comparison to others - is it any plans to speed up support for devices?
would you please ping me when you do that?
does anyone have a bunch of zigbee lights in a group like...13 in a group?
no zha group
yes I have all outside lights in a zha group
i'm asking that because when i turn on a zha group, its a litle bit slow, not all bulbs go on imidiatly, its almost like one by one
strange maybe interference
that behaviour I would expect from a ha group
not zha group
shouldn't matter, but I'm curious about what coordinator @verbal shale
Devices that are compliant should just work... what do you mean by “so few devices”?
when looking at blackadder it just gives the impression so few is working
but I get you, if they keep compliant they should work
With ZHA devices are assumed to work - quirks are for when they don't
Other software uses the opposite approach
Right now I struggle with the blinds that exist 20 types of
I added it to the thread on github
just bought a few bulbs from Lidl - all work great apart from I am presented a color wheel (RGB) for a CCT bulb - how do i change the color temperature from within HA?
Quirk: zhaquirks.lidl.cct.CCTLight - but I get a color wheel
Is it a way to create a custom quirk and try it directly in live HA?
Huh, that's weird. These devices need the Lidl CCTLight quirk because they actually say they have RGB capabilities (even though they obviously don't).
The quirk overrides the capabilities to only show the color temperature slider. This was confirmed working by multiple users and the quirk hasn't been changed since. Which HA version are you running?
running latest HA
I have RGB bulbs too and they work great
I also have some E27 bulbs and they show the color temp slider as expected in HA
they too are CCT bulbs
but the ones that are E14 seem to show the color wheel
But the quirk is also applied to these E14 lights showing the color wheel?
hang on - let me check HA
Please upload the signature of the E14 bulbs (https://paste.ubuntu.com/) that are not showing up correctly (RGB wheel but no color temperature slider)
Bulb not showing correctly =
Device info
TS0502A
by _TZ3000_oborybow
Bulb showing correctly =
Device info
TS0502A
by _TZ3000_49qchf10
this what u are looking for?
that's the E14 bulb that displays the color wheel not the color temperature slider as I'd expect
here's the E27 that works fine https://paste.ubuntu.com/p/YmxxcBPhNT/
Yeah, the quirk is also applied to these. It shouldn't show the color wheel then.
Can you go to Manage Clusters on the E14 bulb that's not working correctly.
At the top, select the LidlCCTColorCluster cluster. At the second dropdown menu, select color_capabilities (id: 0x400a) and click Read Zigbee-Attribute (or something along those lines) and send the output in the upper text here.
Get Zigbee Attribute returns value = bitmap16.16
is that what u are after?
Yep
Please check if the color temperature slider now shows up. If not, also try to restart Home Assistant and see if it then shows up
wooo that worked!!
thank you
do i need to do that for all the other E14 bulbs?
It's possible that you paired these bulbs when you were on an older Home Assistant version (I think 2020.1.x? or even older)
no... all done today
Huh, really?
For the other bulbs, you need to read the attribute again (so that it outputs bitmap16.16 again)
and after you've done that for all, you can restart Home Assistant.
Reading this attributes refreshes the cache for the color_capabilities attribute which is overriden by the quirk when reading it.
great - thanks @mellow geode
Any recomended blueprint for the 5 button IKEA remote? I just grabbed one the week blueprints came out, but is there multiple bps that offer different functionality? I seem to be using starbuck93/blueprint.yaml atm. What is other people using atm? '
worked with another extension?
I am thinking of building a ZigPy quirk for the IKEA scene button but I have two questions : 1. Is there already someone working on it? 2. Is it possible to filter the number of events the device spits? (For each command, the remote produce 7 events which is fairly annoying to handle on the automation side.
Is that the IKEA Shortcut button?
Yes
Oh no, just realized that I will need to double the % of the battery too. WTH IKEA? 😅
- I'm not working on it yet as I haven't been able to get one of these buttons. Not sure if anybody else is working on it though.
- Does it cycle through all the 7 events? (and why lol) Can you upload the
zha_events it produces (https://paste.ubuntu.com/) ?
Sure thing
That's already done for other IKEA quirks. In the replacement you want DoublingPowerConfigurationCluster (for the signature that's PowerConfiguration.cluster_id)
Here’s a single press : https://paste.ubuntu.com/p/v7TyKWGTCr/
Yeah
We’re working on it
And here’s a long press + release : https://paste.ubuntu.com/p/fcVczZr7t7/
@tropic depot great it would be much easier to help if I dont have to jump so many hoops. I guess for now I need to go into the docker and create the file manually
There is documentation in the quirks repo for testing on docker 😃
yeah that was what I was thinking, just need to do it live
Damn it Julian... you beat me to it 😂
If I get it working, should I make a PR?
Obviously 😃
great then I have a project for tonight lol
yes but it could have also been the distance
If I'm not mistaken, all 7 events (that are produced for a single button press) are basically identical?
Well, they all have different IDs.
I do need to find a better way to mount the other end of the usb
What do the radio debug logs show?
Fir the shortcut button?
Yeah
Are the packets sent with the same TSN or are these duplicate events intended by the device?
Ok give me a sec I’m updating my BIOS.
To rule out something is somehow duplicating events, do you have "two button dimmer/remote" (or 5 button remote) from IKEA?
If yes, can you try if these buttons only produce one event per click?
Or do what puddly says lol
I think the IDs (context: id) are generated by HA
Got it.
I’ll go with that. 😁
I found it easier to access it directly from console instead of portainer
One of my snzb-02 keeps disconnecting less than 1 day after pairing it (zha). It starts by not sending any data for a while and my history chart shows a flat line, with the entity saying it last reported x hours ago. After a few more hours of this, the entity says unavailable and nothing more appears on the chart.
I've re-added it via zha permit, then add devices via this device (zigbee coordinator), then removed the device and re-added again through both methods. No matter what, it stops sending readings after a while.
My second snzb-02 has not had any issues. Bought both at the same time.
Stick is HUSBZB-1. I put both sensors on a table in the same orientation so the rssi would be the same (about -85). One disconnected, the other didn't. There are also repeaters in the same room and adjacent rooms.
I'm not sure if this is the issue but other people also report similar issues with the Sonoff Temp/Humidity sensor
Are the model ids the same for both devices?
For example, one of my Sonoff motion sensors has MS01 and the newer one just 66666.
If you go into Settings -> Integrations -> Zigbee Home Automation: Configure -> Devices -> select the device then Zigbee Signature
Ok
(It's also on the device page but the signature specifies what is what and also has more detailed information)
Do I need to delete an re-pair when I added a quirk? Or is it possible to force reinterview?
Depends on the quirk. If they override an attribute that is not re-read, you need to re-pair the device or read that attribute manually to refresh the cache for that attribute. But normally all quirks are applied at Home Assistant startup.
Sorry, I'm not sure I understand what you mean.
So I know of zha permit and adding via the zigbee coordinator
You don't need to remove the device from ZHA. Just reset the device (pressing the button on the Sonoff) and also permitting joins for every device.
Oh
I normally just do it via the UI for all devices.
Any compliant devices will pick a good router/parent (only Xiaomi/Aqara devices really need permitting joins via some router/coodinator as they pick the first thing they see)
Is that "add devices via this device"?
Yes.
Ok
Normally you don't need that.
To allow joins for all routers (and the coordinator): click on Integrations -> ZHA -> "Add device" at the bottom right
When adding, should the sensor be close to the stick or close to the room it will be in?
To the room where it's gonna be in.
However, Sonoff sensors should (since they are Zigbee 3.0) pick a new router (parent) if they are too far from the other one.
So, I'd try to put it in the room where it's gonna sit in. Click on Add device on the ZHA integration page. Then reset the device.
If that sensor is faulty (or running bad firmware), I'd return it because some other people also reported having issues with Sonoff sensors.
But again, you can also check if the signatures are identical between both devices.
@mellow geode , @austere patio This is what i got : https://paste.ubuntu.com/p/SBqFynMBCN/
Is it enough debug? I’ve only enabled the radio debug.
posted STLs, gerbers etc. https://github.com/tube0013/tube_gateways/tree/main/tube_zb_gw_cc2652p2
That looks like the frames are duplicated (I think).
So, it's probably not the buttons fault?
Having trouble getting the sensor to be picked up again so I'll work on that and get back to you
I have no idea how 3D printing works, but I will look into it
thanks a lot
Do you have a Zigbee router (smart plug, smart light bulb) in that room or near it?
Mhhh... I can actually sniff the network to make sure.
Let’s see.
Unrelated to the issue of duplicated frames: can you also upload the signature of the shortcut button?
That’s at joining the network right?
You can just go the ZHA page of the device and click Zigbee-signature or something like that
Ah got it
(It’s also in the logs when joining a network but that’s always a bit of a hassle)
Just sniffed the network. It look like a duplicated frame to my understanding. The counter in the ZCL is fixed. The the lower layers it increments. Not sure what that means : https://pasteboard.co/JPp8ddw.png
Here’s the signature : https://paste.ubuntu.com/p/XGqG5qQgjp/
Hmm, then in theory you shouldn't be getting duplicate events?
Im a bit confused as its not many examples. If I add the tuya whitelabel blinds, should I use WindowCovering or TuyaSmartRemoteOnOffCluster
Yeah I would guess it should ignore events with the same counter?
I think that should already be happening. Can you enable debug logging for everything related to ZHA and upload like a minute of logs?
Smart bulb in same room and adjacent rooms
re-added it, both sensors say model TH01 by eWeLink
But on the application level it does increment.
Sure thing.
Mhm, okay. If it still happens now, I guess returning them is the best option(?)
cool, thank you
Hey folks running zigbee2mqtt on HA Container. I am coming from the supervised version and I just have a couple questions. Do I need to install mosquito broker too or does HA container have one?
should the zigbee device signatures be identical for two of the same sensor or does it contain a unique ID?
Also threw this quirk together really quick (this will not fix the issues with duplicated events though): https://github.com/TheJulianJES/zha-device-handlers/blob/ikea_shortcut_button/zhaquirks/ikea/shortcutbtn.py
Didn't test this though.
At the moment, it only includes the short press event and long press + release event on what you sent (for device_automation_triggers)
Want me to test it? 🙂
Yeah, the ZCL TSN is the same
If you have the time, sure
Is this a pehaviour of other IKEA devices? I don’t remember seeing that elsewhere.
Really a pitty of them for doing that.
No, I think this is fine?
Hmm, I am not seeing any code to deal with duplicate ZCL messages that have the same TSN
Ok @mellow geode your quirk works. 🙂 @austere patio , unfortunately, with the quirk provided by @mellow geode , it still send’s 6-7 events with the same TSN. 😦
Which is not surprising after all.
@mellow geode Mhh, I see you doubled the power for the device but it is still at 50%. Strange.
Perhaps it needs some time to send a new report
I guess re-pairing could help but I would just wait
Ah you are right I think it is cached.
Look like it’s already on the latest firmware. 😦
Look like i’m not the only one : https://community.home-assistant.io/t/zha-ikea-tradfri-shortcut-button/261936 but at the same time, it’s almost like some of them did not had this issue. Mhh.
I can't find anything in the zigpy issue tracker about this problem so you may want to open an issue about it with your debug log
It seems a little unexpected for the messages to not be deduplicated. Maybe there's a reason for it.
If my memory is good, I have no other IKEA remote who does this. Very strange.
Here is it : @austere patio & @mellow geode if you want to take a look : https://github.com/zigpy/zigpy/issues/671
I doubt that's the case but since you're using the HUSBZB-1, did you ever upgrade the firmware on it? @quick hare
Walt_H has a repo for this on GitHub: https://github.com/walthowd/husbzb-firmware
Upgrading EZSP-based sticks should also retain any configuration (and not wipe the whole stick).
Yup! 🙂
Can confirm as well that it retained the config. 🙂
If you have another coordinator (perhaps just a cc2531), would you wanna try if that has the same issues with the button?
I "only" have two HUSBZB-1... 😅
Is there a cheap version of it easy to flash that I could buy?
I think you always need a "flasher".
Also, "MattWestb" answered on your GitHub issue but I sometimes have a bit of trouble understanding him.
Could you try unbinding the remote from the Zigbee coordinator?
Via manage clusters and device binding
Press a button on the remote and unbind from the coordinator
Probably won’t help though but perhaps worth a shot
now with english subtitles :p
https://youtu.be/Dijg8k-siJw
Question about ZHA visualisation map - is there documentation on what color of lines (connections) and numbers in the middle of them represent? and why there are 2 numbers divided by a slash
I’m not sure if this is a zigbee question or ha generally. I have an aqara contact sensor on my dishwasher. The only place I can put it that it is hidden and doesn’t get hit with a lot of steam means the contact is closed when the dishwasher is fully open. Basically I’m wondering if there’s a way to reverse the reporting of closed/open state or if I just have to do a template sensor.
Line color is a rough connection quality, green is good, red is bad. The number before the slash is "LQI" (link quality) and after the slash is "RSSI" (signal strength)
I thought they are both the LQIs (left is one device calculation and right side is the other one)
TI coordinators don't expose RSSI and I still have two numbers.
Oh. Yeah, probably.
I’m using ZHA
I think you'll need a template sensor.
Any other way of getting a RSSI sensor for a Zigbee device, rather than Z2M? (That for a unknown reason won't work..)
Oh no. Well, i’ll check. 😅
Yeah super smart guy, really appreciate him but I have some difficulties to understand him sometimes. 😦
Should I see them unbind? Or I just select them, click unbind from group 0x0000 and that’s it?
The strange coincidence is that there is also 7 clusters. But that must be a coincidence..
Oh, the quirk for the battery also works @mellow geode . Thanks!
Unfortunately, still have 7 events. 😦
There's no feedback. There's "group binding" and "device binding". In the "Device Binding" section, I'd try to unbind it from your coordinator.
In the group binding section, you can also try unbinding it from 0x0000 or perhaps even binding the OnOff, LightLink, LevelControl, WindowCovering (Group too maybe?) clusters to the 0x0000 group.
But at this point, that's just guessing.
MattWestB mentioned that it sends unicast instead of broadcasts. So maybe binding it to the 0x0000 (or maybe even another group?) would change these to broadcasts (that no longer duplicate?)
(When binding or unbinding, click the button on the remote first. Then bind or unbind)
WHAT THE.. @mellow geode Just unbinded from the coordinator and we’re now at just 4 events!
lol
I’m cooking, will unbind from the rest to see..
How many mains powered devices (routers => smart bulbs, smart plugs) are in your Zigbee network?
Can you try to remove the device and then reset it.
Then re-pair it with the shortcut button quirk "installed" (while pairing).
That should then bind it to the 0x0000 group.
This should start producing broadcasts instead of unicasts messages.
Anyone have any experience with extending a Zigbee network to a detached garage? It's about 40 feet away, with a couple plaster walls in the way. Looking for any and all ideas.
You have two options - stick a powered repeater halfway or use Z2M/Z2T over there and send the comms across WiFi/ethernet.
I'm going to have to test and see how well it currently works with the repeater bulbs in my kitchen; it's the closest room to the garage. I don't expect it to be too reliable since WiFi wasn't. If not I think I'll make the leap to Z2M.
Since I do have ethernet buried out to the garage already; it's where I run my business
I had forgotten that Z2M can allow for a 'split' like that. Thanks for that knowledge
@quick hare if you haven’t seen this already. ^ (try to remove the button from ZHA and then pair the button again while the quirk is installed)
Just did. Unfortunately it returns to 7 events. Iv’e tried to unbind from clusters & all devices, only the coordinator seem’s to make a change from 7 to 5 events.
I said 4 but I saw it’s 5 actually.
about 10 at the moment.
Can you try manually binding the clusters I specified above to the 0x0000 group (or perhaps another group)?
Actually, I taught devices by default always did unicast to the coordinator no?
Sure let me try!
Yeah. I guess we want broadcast messages, so binding to a group is better
I’m making some routers that could survive outside in weather proof enclosure. https://community.home-assistant.io/t/zigbee-router-on-steroids/280896
Oh my. Binding the above mentioned clusters to group 0X0000 on the device now produce 11 events.
Oooh, that could sure be handy
Think they'd be okay down to about -30C? 😄
The zigbee module is rated at -40c to +85c
Perfect
Oh well. Is it also unbound from all other groups as well as from the Zigbee coordinator (and all other devices)?
Yeah. I’ll double check but yea.
Mhh in the only group I have, my coordinator is a member of this group (0x0000) should I remove it?
Nah, for other IKEA devices that is required.
I guess you can always re-add the coordinator though
Soo..... I think i fixed it? @mellow geode
Oh, really?
It’s dumb.. and I have no clue why. I’ve added the ZLL zigpy profile and now I get only one event.
Still not a broadcast taugh.
Where did you add the ZLL profile?
At line 2
Give me 5 minutes. I’m checking if it’s really that or just a golden bind. 🤣
Okay then 😂
Wait, do you mean you just imported it in the quirk?
Yeah
I‘m pretty certain that won’t change anything, as it’s not even used in the Python file
Perhaps restarting home assistant after doing binding/unbinding did the trick?
hughh you we’re right.
I honestly have no clue why it decided to spit only one frame about it. All I did was adding zlland rejoining.
I guess it was the rejoin then
That would be insanely arbitrary then lol
Look in the ikea __init__.py file
