#zigbee-archived
1 messages · Page 117 of 1
It's what I'm trying to do right now. Some things seem to be happening on a custom Philips cluster
Another thing, the new hue dimmer (v2) has a "Hue" button which is a fancy way of saying "cycle between scenes". It does this using a group binding on the Hue Bridge and this also (kind of) works with ZHA. However, there it only cycles through scene ids 0x00 and 0x01 (ZCL: Scenes -> recall with Group Id and Scene ID) (even if there are more scenes saved to the light). Is there any obvious way how the dimmer remote is made to know how many scenes there are saved on the device/in the group?
dunno have never looked at it
I guess nobody is really using scenes on Zigbee devices
Great, now the Hue Bridge is sending an OTA even though automatic updates are off?
Trying my luck again: Do we know of any zigbee light devices except Hues that can save and correctly behave according to their power-on settings? (Last state before outage)
Pretty sure all the ones I have just turn on after power recovery. Haven't seen any way to configure that option though, I don't think zha has a settings panel for devices.
(2 CREE and a whole pile of ledvance/osram/sylvania)
I apologize for asking a question which must have been asked a million times, but is there any source which anyone could point me toward for developing a new quirk for ZHA (beyond the repo itself)? I have managed to get to the point that my quirk is being applied to the device (i.e. signatures match), but I can't get anything useful out of my device - all attempts end in "Data remains after deserializing ZCL frame" and "No handler for cluster command ..." without any zha_event. thanks!
Are you trying to make a quirk for a Tuya remote? (/What's the manufacturer and model?)
It's an Aurora AU-A1ZBR2GW 2-gang wireless dimmer (https://auroralighting.com/gb/trade/ProductDetail/AU-A1ZBR2GW). Apparently working with z2m (https://www.zigbee2mqtt.io/devices/AU-A1ZBR2GW.html)
for tuya stuff this is a lot over my head, but when inspired I was going to compare the tuya thermostat quirks in zha to the z2m code
to see how it would relate for like the curtain motor
tuya slapped zigbee modules in their existing devices basically
and do all the communication over a tuya specific cluster.
yea that doesn't look like tuya
Perhaps it helps if you (temporarily) turn on debug logs and see what's being written to the log when rotating the dials.
i'm drowning in logs currently, but I don't have the expertise to understand them
if anyone is willing to have a look
the signature is at https://pastebin.com/YL6tuKeP, while my quirk (sans automation triggers) is at https://pastebin.com/0jBMQ8nR
an example log when rotating one of the knobs is at https://pastebin.com/TG4E2kUP
thank you!
lines 15-20 as an example in the log
though i think all of that log is related to a single rotation detent
Perhaps open an issue over at the zha-device-handlers/zhaquirks GitHub repo
i was hoping that this would be a simple / common problem to which the solution might be obvious, and so i might not have to open an issue but rather a PR!
but i will admit defeat and put together some info for an issue. thank you for your help
i'm looking at the zzh stick. would it be able to be used for both zigbee and thread simultaneously, assuming thread devices start to get released?
having a hell of a time pairing my 5 button tradfri remote via ZHA. usually it gets stuck on Starting Interview, sometimes it gets stuck on Configuring or Initializing.
sometimes it does pair and returns the battery percentage even, sometimes no battery percentage, but then it becomes unresponsive. for example i get request sw_build_id even
I have my zigbee coordinator on an extension cable away from anything electronic. fresh battery in the remote. latest f/w. other zigbee devices and tradfri lights connect just fine.
no errors in the logs just a bunch of Extending timeouts
any advice?
hmm, i actually get an error in the logs when requesting sw_build_id: https://pastebin.com/raw/aX44fE1K
also, the remote works fine when pairing directly with an ikea light
Not without firmware support, which likely won't happen
This is bug that's only triggered when you're using a CC2531 and a request to a device fails a few times already
It'll go away in some upcoming HA release but it isn't the source of your problem
is there a GH issue for this where I can read more?
Not really, it's just fixed 😄
what are my options? wait for HA release or use different coordinator?
What I mean to say is that the error is because requests are failing. Enable debug logs and you'll see the status codes
That error being fixed will just cause a different, expected error to be logged
i see, i do have debug logs, let me look again
2021-02-27 00:28:32 DEBUG (MainThread) [homeassistant.components.zha.api] Read attribute for: cluster_id: [0] cluster_type: [in] endpoint_id: [1] attribute: [16384] manufacturer: [None] response: [2.3.014] failure: [{}],
That's the response to your attribute read request, which seems to have succeeded
oh what! it worked! cant be...
thanks for noticing. need to dig deeper now
yea, it doesnt work now, log just shows
2021-02-27 00:32:54 DEBUG (MainThread) [zigpy.device] [0x6c54] Extending timeout for 0xe5 request
and thats it
Did you enable debug logging just for zigpy?
unless this is related
2021-02-27 00:33:23 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [139803129556272] Error handling message: Timeout
zigpy & homeassistant.components.zha
Yeah, you need to include the radio library as well
In the debug logging section of the ZHA documentation, copy/paste that entire config
does this tell you anything? https://pastebin.com/raw/2wSsFYBz
other than that my printer is offline
Requests aren't going through and are failing on the second try due to MAC_TRANSACTION_EXPIRED
I have updated the log based on the advice from @austere patio on using all of the logging information, which is now up at https://pastebin.com/raw/7JeQ24MJ.
quick question: is there a "simple" reason why my device might not generate any zha_events? does their lack imply that the quirk is fundamentally incorrect (despite matching all signatures) or is it something more complex?
I just switched from Homebridge to Home Assistant, and I must admit that I love it so far. Such a smooth setup process, and easy to follow guides + Docker. Yay!
I need help pairing my Phillips Hue Bulbs to Home Assistant though - not sure where to begin
Currently I have an IKEA Bridge, and perhaps also an Hue Bridge somewhere, which I'd like to avoid having to use, since I have a CC2531 ZigBee USB-Sick zigbee2mqtt USB in my Raspberry PI. How and where do I begin?
If you want to use ZHA with the CC2531, just plug it in and add the integration (https://www.home-assistant.io/integrations/zha/#configuration---gui). If you want to use Zigbee2MQTT with the CC2531, you can setup an addon (https://github.com/zigbee2mqtt/hassio-zigbee2mqtt) or do everything manually
502 on addon's webpage is usually form clicking on Open Webpage too early
before the addon had time to start up
you've already installed an MQTT broker I hope
although likely you haven't set up the path to your Zigbee stick
Assuming you're using Z2M 😛
I have a question which I'm sure has been asked before so I apologize in advance, tried searching here but it's like finding a needle in a haystack. Do devices pair to the hardware as in the USB stick, or the controlling application? if I switch between deconz and say ZHA, should the devices I discovered in deconz automatically show up?
i was actually wondering the same thing
and the corollary, can a network be moved to a new stick?
zigbee2mqtt has the concept of a network key which I couldn't find in ZHA or deconz
whered you find it?
ah ha! thanks
@scarlet gust devices are paired to the stick but there is extra meta information
Can't just switch to ZHA and bring all devices, would have to repair
even if I use the same PAN ID and network key?
Yes
Also, before you get too invested, have a good stick @scarlet gust
Unless you want to repair when changing stick
I got a conbee
and I'm barely getting started with zigbee, I had one device up until earlier tonight
Probably works, wouldn't be my recommendation for zigbee2mqtt atleast
on Paulus's recommendation picked up two ikea remotes to play with earlier today so first time really getting my hands dirty
what would you recommend?
A CC26xx (slaesh, zzh) or CC1352p2
Those work fine with ZHA too
of the two you recommended is there one that's better for range? I like that slaesh has the antenna
I use the cc1352 without an external antenna, it covers my whole house (3 floors 252m2) and 100+ devices without fault
Well it's a two way street
gotcha
sure, fair point
are both the slaesh and zzh only sold direct?
Yes
I believe so, and mostly out of stock
Which is why I redirect people to the cc1352p2
got a link handy? searching for that gives me datasheets
cc1352p2 also can be a art piece or coffee table too
Yes. I guess it's not that big.
it's not small
Couldn't fit more then two coffee mugs on it
as long as it keeps them hot
The size of the board doesn't bother me, it sits in a corner of the upstairs living room
🤣
The raspberry pi it is connected to is disgusting though
Ti should really make dongles for cc1352p2 - like nrf52840 dongle.
I used it for awhile. Literally did mount it on the wall.
Just make sure you don't buy the 900mhz one too
And ya gotta be good to get the external antenna going on it
oh it's also $60
50 from ti
And was $5 with three day shipping from Texas to Norway
So I can't complain
yeah I might just go for one of the other ones, I'd prefer something enclosed
Where are you located?
washington dc
might try to work with this conbee for now. I'm in a studio so hopefully range won't be too much of an issue
what I've gotta figure out is why my devices aren't pairing. I can't tell whether it's the USB cable that I am using, the conbee, or the controller
This guys is East coast
Will be restocked soon
Conbee has had a few bugs where they go radio dead until restart
I'd check deconz rest issues on github
thanks for the tip, will keep my eye on that
And conbee seems more sensitive to interference
yeah ok, so I tried getting these shorter usb extension cables but I think they've caused more problems than they've solved
it's probably a combo of interference + those bugs thats killing me
thanks for all the help, I've got a lot to look into
Gluck!
Planning to buy one of his coordinators and routers
Just waiting till he has stock
@amber gull did you test one of tube’s products ?
hey guys, I've installed Zigbee lights around the house and now am looking to install light switches
with deCONZ will I be able to make Zigbee light switches not physically turn off the power to my lights?
I want to program the switches to turn the smart lights off but not cut the power to them
I did this but ended up using Shelly devices behind the switch as they could decouple the relay from the switch.
IKEA LED Panel White spectrum + ZHA: I cannot change the white spectrum when I pair the IKEA LED Panel with ZHA. Only 'action I can do is switch it off/on/toggle (https://i.imgur.com/7tuk7Yk.png) ? What would be the main steps in HA to change the white spectrum ?
a)Without HA + ZHA I can change the white spectrum of the [IKEA LED Panel] with the [Ikea Remote control]
b) Devices:
[IKEA LED Panel] = FLOALT LED light panel, dimmable, white spectrum > https://www.zigbee2mqtt.io/devices/L1528.html
[IKEA Remote control] = IKEA TRADFRI remote control > https://www.zigbee2mqtt.io/devices/E1524_E1810.html
Thanks for any hints
i think it would bother me if the physical switch was in the "wrong" position
Ha yes it happens. Though works better in 3-way switches then that doesn’t come into play. I did this with a hall light. The Shelly is in the box above the light. zigbee light in the fixture for desired white temp.
Slaesh just went back in stock so picked one of those up
Got one too, Accidentally made an order mistake, PayPal confirmed it without even click on confirm, he doesn't check his telegram though...
ouch, hopefully he responds soonish, if not maybe try opening an issue on his GH asking what to do? https://github.com/slaesh/cc2652-stick
I'll have to try!
FYI, slaesh's stick is back in stock
Did you use a promo code?
Not sure why @stone halo but a lot of people never hear back from slaesh
Poor customer service, buyer beware
I did
ah, well that's unfortunate. Maybe I should have held out for tube
From what I've seen everything has been related to shipping
Or him just not sending the order out for a while
He seems to have been working on his store's Git repo a bit in the past few weeks before re-opening so maybe that will change
Is this the right place to ask this question: #zigbee-archived message
You need our quirky expert @mellow geode
are there any major downsides to gateway-based coordinators?
Can you upload the signature (Settings -> Integrations -> Zigbee Home Automation (ZHA) -> select the device -> "Device Signature") to https://paste.ubuntu.com/ and send it here?
Can you also go to (on the same page in Home Assistant where the device signature button is): "Manage Clusters" -> select "Color" cluster in the first dropdown menu. Then (in the second dropdown menu with attributes), select "color_capabilities" and click "Read/Get Zigbee attribute" and post the output (should start with bitmap) here.
They all do serial over TCP so you're adding another layer that can possibly break. If it's Ethernet it'll work fine but if you're doing it over WiFi you will likely have issues unless you have a stable wireless network
You're also not getting brightness control, right?
Ikea Device signature is here: https://paste.ubuntu.com/p/S4C4jVHPxY/
Correct, only on/off/toggle
Oh, IKEA is using the ZHA profile but then a ZLL device type again...
Should be an "easy fix" though.
Well see
Trying again... anyone know what log settings I can turn on to figure out why my lights turn themselves on? is there a debug log for ZHA?
Try looking in the logbook for Home Assistant. Sometimes you see that at the same time another bulb (which you turned on perhaps) also caused the wrong bulb to turn on.
Perhaps it's bound to a wrong Zigbee group.
You can also execute the "reset_all" command on the Groups cluster for the lights that is turning on all time.
ooh, that sounds like a good start. is that available in the ui?
Both options are in the UI
the reset all, i mean. i've already checked the groups, there are only two groups and only 2 lights in the problematic group
The logbook is as usual in the sidebar. And the ZHA cluster management options is here:
Settings -> ZHA -> select the device -> Manage Clusters (then select the Groups cluster -> cluster command: reset_all)
If you then want to add it to a ZHA group again, remove the device if it's still showing up in a ZHA group. Then readd it
okay, will try that. thanks 🙂
If he doesn't respond I'll just PayPal cancel the order
logbook just shows "turned on", with nothing else happening at all...
Yeah, that probably means the bulb turned out without Home Assistant telling it to do so.
That happens when you turn on a Zigbee group (Home Assistant does not tell all individual lights to turn on)
Or when a remote control is bound to the bulb perhaps.
Or somebody toggled off/on the mains (most bulbs resume to on).
If resetting group membership doesn't help, I'd just try to reset the whole bulb.
i don't have any remotes, and the toggle is hidden behind an appliance in the kitchen that nobody can reach 🙂
(it also turns itself on at like 3 or 4 AM)
Mhm, are any automations running which turn other lights on/off at that time?
nope
What bulb is it (that's randomly turning on/off)?
it's a sylvania smart+
oh
I've never had any good luck with (older) OSRAM/LEDVANCE/Sylvania products but they still shouldn't turn on at random times.
Did you already try to reset it completely?
which logs should i be checking? and what is topo scan? sorry, I'm much more familiar with zwave stuff
My Sengleds would turn on when polled last year. Forgot root issue. Dave fixed it.
and, is there a zigbee cluster command to reset or do i want to try to do the on/off/on/off thing?
I would just do the on/off thing
is there anything conbee/dresden specific to watch out for?
Here's a quirk that should fix the issue for your device: https://github.com/TheJulianJES/zha-device-handlers/blob/ikea_cct_zll_fix/zhaquirks/ikea/cctlightzha.py
You can just download the file and copy it to your config directory. Then (via accessing the docker container), copy it from /copy/temp/cctlightzha.py to /usr/local/lib/python3.8/site-packages/zhaquirks/ikea/
Here are more detailed instructions to test the quirk: https://github.com/zigpy/zha-device-handlers/#testing-quirks-in-development-in-docker-based-install
If you're able to test it and it works, it will be included in a future Home Assistant release.
Excellent, I'll try and let you know ...
Okay I found the log settings in the ZHA documentation, but I still don't know what 'topo scan' is, or how to tell it to poll devices, to see if that is related. guess i'll start with watching the logs
The "topology scan" is for the ZHA map to show which devices are connected what.
If you enable debug logs (either by editing your configuration.yaml or by calling logger.set_level and then setting ZHA, ZHA (radio) libs and so on to the debug level), you will see when a device is being polled.
Lights can either report their state by sending attribute reports (pushing data to ZHA which instantly reflects in Home Assistant).
Or by Home Assistant polling (pulling) the lights for their state.
As older Hue bulbs (the ones without Bluetooth) do not report attribute reports, every Hue bulb (even the newer ones) is polled in a 3 - 5 minute interval.
makes sense
Other bulbs are polled every 40 - 75 minutes or something like that
But I'm not sure.
So it's possible that the light switches on/off but Home Assistant only knows 30 minutes later.
(Might not be the case though)
no i can see it turn on sometimes and it is immediately reported, and i have an automation set up to turn it off immediately if it turns on, so it dims up and back down again
unfortunately it happens anywhere from 5 or 6 times in a day to not at all for 2 or 3 days, so i'll have to see when it happens next and then go back to the HA log, hoping the log hasn't grown into the gigabytes by then
Walt also mentioned that his Sengled bulbs were actually turned on when polled (due to a bug in their firmware).
Ha, that's weird
I guess you already tried to update the firmware?
Perhaps enabling the ledvance_provider for ZHA in the configuration.yaml will update the bulbs
when i first got them i was still on smartthings and they updated as soon as they connected
Ah, I see.
they didn't turn themselves on when using smartthings, so there's that...
hopefully the log turns up something useful
Can you send the signature of the device and also check sw_build_id on the Basic cluster? (upload it to https://paste.ubuntu.com/)
And whatever is displayed (if it's displayed) on the device config page for Firmware: xxx.
signature: https://pastebin.ubuntu.com/p/ck4Vhp5HBN/
sw_build_id: None
Firmware: 0x00102428
Can you also check zcl_version on the Basic cluster?
Lastly, can you check date_code on the Basic cluster?
nothing came back. see this in the logs:
2021-02-27 13:11:16 DEBUG (MainThread) [zigpy_deconz.api] 'aps_data_indication' response from <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0xc712>, ep: 1, profile: 0x0104, cluster_id: 0x0000, data: b'182b010600004200' 2021-02-27 13:11:16 DEBUG (MainThread) [homeassistant.components.zha.api] Read attribute for: cluster_id: [0] cluster_type: [in] endpoint_id: [1] attribute: [6] manufacturer: [None] response: [] failure: [{}],
Ah, ok
But it seems like it's "already" a newer firmware (and model) (perhaps their "Z3" line)
it appears that i can't add them back into the zigbee group...
You need to "remove" them first (top of the GUI) if they are still added there.
they weren't, and nothing was showing up when i tried to add them to the group. but looking a few minutes later all the devices showed up
so now i was able to. odd, but 🤷♂️
FYI, opened a PR here: https://github.com/zigpy/zha-device-handlers/pull/793
Will mark it as tested when the quirk works for you. (If you still need help to test the quirk, feel free to message me)
if i wanted to build a zha.set_lock_usercode service and/or update the keymaster custom plugin to handle zigbee locks, would that be zigpy/device handler/quirk stuff or would it be ZHA core code?
(the codes can currently be set via cluster commands, and notifications of which user slot unlocked the door are similarly cluster queryable)
Possibly simpler question:
This is the result of a get attribute for a bitmask:
KeypadOperationEventMask.32768|16384|8192|4096|2048|1024|512|256|Non_Access_User_Operation|Unlock_source_keypad_error_invalid_schedule|Unlock_source_keypad_error_invalid_code|Lock_source_keypad_error_invalid_schedule|Lock_source_keypad_error_invalid_code|Unlock_source_keypad|Lock_source_keypad|Manufacturer_specific
Should I read this as all bits are enabled? How would I turn on or off one of the bits?
Do we know of any in wall (behind switch) Zigbee modules that support dimming?
I think most Sunricher based modules do this
The quirk is working. Thanks to @mellow geode for making (Z)HA better, very efficient & Pro, It was a pleasure !!!
well that's not what i was expecting to see
the problematic lights just turned themselves on again
Device 0xc712 (f0:d1:b8:00:00:05:86:28) joined the network
So it disconnects from the network and joined again (then turning on)?
apparently? there's no notification in the info logs that it disconnected
thanks @mellow geode for the quirk! Well done!
Thanks, had a typo in the commit message for the second one though lol: https://github.com/zigpy/zha-device-handlers/pull/794
Thanks, if only they’re weren’t so expensive 😬
Do you have a link to where I can buy one of these? Last time I looked it was hard finding something that ships internationally
i wonder if this is part of the 'random lights sometimes flicker in the house' power issues
greets! I am having a weird issue with my zigbee switches, it seems like random buttons are directly paired with random lights
can lights/switches pair to each other during setup without doing it explicitly?
installing a new panelboard hasn't been high on my list, but maybe it should move up
I‘m in Germany but searching "Dimm Aktor" ("dimming Zigbee" in English perhaps?) simply on Amazon brings up many sunricher based devices. Here, they cost about 40€ which is kinda expensive
Aqara switches and Tradfri lights in this case, but it also happened with an Osram(ish) plug
Perhaps try briefly turning the switch off and on and look if that already reboots the light and produces the same log output
I tried turning HA off, and the switch still turned the lights on
oh, wrong thread, nm
IKEA remotes have been doing this for me (I was holding the setup button instead of pressing it 7 times).
ooh, it might be an Ikea thing then, where they pair to the first thing they see
like ducks in cartoons
Perhaps you can unbind the Aqara devices in the cluster settings of the remote
Cluster: Groups -> reset_all as a command
And device binding: unbind
Make sure to wake the remote though by pressing a button while unbinding
I tried looking at binds with the zigbee2mqtt web app, but it only shows the light bound to "coordinator"
this is not about an Ikea remote, I have Aqara remotes and Ikea lights
what do you mean by cluster settings?
when a zigbee light is bound to "coordinator", that's the gateway, right?
Thanks. I’ll try that. How does these look to you? (Except cheap) US $16.04 58% Off | Tuya Zigbee Smart Switch Dimmer Module,APP Remote Control,Smart Home Voice Control Work With Google Home/Alexa/Siri
https://a.aliexpress.com/_mNoRbWn
They look like they should do the job if they function, and TRIAC dimming is exactly the models I’m getting.
Will the wiring be any different in case of a dimmable light + dimmer supported Zigbee switches?
zigbee commands at a low level are "cluster commands". in ZHA you can run them outside of what is available through the normal user interface
not sure if zigbee2mqtt lets you do that though
the z2m webapp has a page with cluster information, I'm not sure what to make of it though
also apparently it could have to do with both devices being in the same group
terribly hacky to figure all of this out though
are clusters like services on each device?
kinda, yeah. basically a "cluster" is a bunch of commands and attributes
Zigbee2MQTT:debug 2021-02-27 23:04:29: Received Zigbee message from 'T206', type 'commandOn', cluster 'genOnOff', data '{}' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2021-02-27 23:04:29: Received Zigbee message from 'T107', type 'attributeReport', cluster 'genOnOff', data '{"onOff":1}' from endpoint 1 with groupID 0
206 is the switch, 107 is the light
so my zigbee lock has a "lock cluster" for things like setting user codes, and a "groups" cluster for linking it with other devices directly
the other light that has nothing to do with the switch, totally other room
you'd want to go into the "groups" cluster and find the "remove all" cluster command, and run that on the light and the switch
or at least the light
in the list of bindings I only see "coordinator" -- is that the gateway and should always be there?
that's device bindings, and yeah i think it should. there are both device bindings and group bindings
(sorry if i'd had more time with zigbee2mqtt i could tell you exactly where to go to force flush group bindings, but i think i spent a full sum total of 2 hours using it)
no worries, I can figure out how to do it once I know what I'm looking for
any idea what I might have done wrong to bind them accidentally?
it sounds like you were onto something with them maybe just binding to whatever they saw first...
it's hard to find clear documentation
I also have kids who play with the lights, they've managed to reset bulbs several times
only bound to coordinator, OnOff and LevelCtrl clusters
I was hoping to see the remote here, but nope
what does the remote show? same deal?
also the remote is in Group 0, as you can see above
no, the remote is not bound to anything
so "bind" is just for device bindings then
IKEA remote eyy?
https://www.zigbee2mqtt.io/information/groups.html this makes it sound like setting up groups with z2m isn't through the UI, not sure if that's actually the case
Sure you can
Zigbee2MQTT:debug 2021-02-27 23:16:15: Received MQTT message on 'tga/T709/bridge/request/device/unbind' with data '{"clusters":["genOnOff","genLevelCtrl"],"from":"T107/1","to":"Coordinator","transaction":"fsm1u-1"}'
Zigbee2MQTT:error 2021-02-27 23:16:15: Nothing to unbind from 'T107' to 'Coordinator'
Zigbee2MQTT:info 2021-02-27 23:16:15: MQTT publish: topic 'tga/T709/bridge/log', payload '{"message":{"from":"T107","to":"Coordinator"},"type":"device_unbind_failed"}'
well, apparently I can't unbind it
which frontend?
Sure you can
maybe try tga/T709/bridge/request/group/members/remove_all with {"device":"T107"} as the payload...
I haven't done anything but click around the web frontend
where on the web frontend is group management? I see device bindings in the screenshots but not groups
oh I see there is a separate page in the top nav for groups
ah, that'd be it
(I'm just looking at the documentation, which doesn't talk about the UI at all for groups)
I had to set up single-entity groups for things I wanted to bind
just the light
mind you
Yup, they say "joined the network" when I power them off and back on with the toggle switch
I'm going to try one of my older osrams to see if it works better than the smart+
In the UI remotes are ready to bind once Coordinator only has a tick in the PowerCfg Cluster
Zigbee2MQTT:info 2021-02-27 23:25:07: MQTT publish: topic 'tga/T709/bridge/groups', payload '[{"friendly_name":"default_bind_group","id":901,"members":[]}]'
well, according to this I have no groups set up
I'm a frontend dum-dum, so I would want to know if there are any groups on your groups page, save for maybe the default_bind_group
...and my remote still happily turns on two lights
no groups other than default, nothing in that group, also in webui
kinda weird that in my network map, those two lights are not connected directly to the gateway, they are connected to... each other?
add a tick to isASibling
in the map
ah, thanks
not knowing anything about what's going on, and shooting in the dark, maybe try making 3 groups, one each for the two lights and the remote... maybe either the light or the remote or both really want to be in a group and are joining the default lightlink group because it's there...
wouldn't the gateway see that though?
I came in late; so there is no chance the remote - light link is actually in an HA automation in stead?
that's why i was suggesting doing the remove_all. the gateway might not know about whatever groups the lights have figured out for themselves
I just turned off HA and I can turn the lights on with one button and off with another button 🤷♂️
ooh, maybe this is a zigbee2mqtt thing
Good then. Still never hurts to play dum-dums advocate
turning off z2m, I'd be willing to bet the remote will stop working
and neither the light nor the remote shows any binding to either?
nope
bindings, when successful work even when the gateway is down
that's one of the big selling points
or rather it's part of the zigbee spec
ok, so check this out, HA off, Z2M off -- on my remote separate buttons do on/off/dim high/dim low
and they keep doing that, with the infrastructure offline, yes?
They are Tuya, so not Sunricher based. I wouldn’t be so sure if they work out of the box then
is the mqtt broker up, though?
some googling turned up that there is such a thing as an mqtt binding is a thing
though being a creature of the WebUI, it is outside the scope of my existence
well the broker may be up, but z2m is off, so no mqtt binding
also, the remote also does dimming
they must all be in the default lightlink group then
guessing that they joined the group without telling the controller about it
shouldn't z2m still see that though?
both the remote and the light report "group 0", I probably mistakenly assumed that meant "no group"
hmm. I don't suppose there is anything listed in under your Touchlink nav-link?
oh yeah, group 0 is not 0 groups 😉
what-link now?
group 0 is the lightlink group
oh
Default Lightlink Group
0x0000
Living Room Lights
0x0003
Kitchen Lights
0x0002
(on my system)
Well, I have nothing like that, so I suppose I'll watch from the sidelines
I did have the default group, I'll try to poke more in mqtt
waiting for z2m to come up on my pi zero, this stuff takes a while
ah, yeah. pizero isn't exactly a speed demon
in the z2m docs:
The device itself is responsible for storing to which groups it belongs. Others, e.g. the coordinator, do not have knowledge to which device a groups belongs.
apparently there is no way to query that either (?!)
what a great design!
there is a cluster command to view groups
i haven't figured out how to execute it though
btw, my default group is id 901, not 0
huh.
That group I do have
it's empty
Can't remember if I emptied it, cause I have setup z2m a grand total of one times
so yeah, just looking at debug output of z2m, the lights report group 0, the remote reports group 0
(and z2m doesn't have a group 0)
also, removing lights from all groups doesn't change the fact they are in group 0
and removing the remote from group 0 fails with MAC transaction expired, I still have to figure out what that's all about
sounds like that was a good idea to actually put them in random groups to stop them from talking to each other
btw, unrelated, are zigbee networks fixed or can I init all devices in one room and then go plug them in where they belong?
Total stab in the dark again but these devices aren't in the 'Touchlink' category, Touchlink is between OTA and Logs in your nav-bar
I.. don't know, restarting z2m now, will check in a bit
Mainspowered devices stand a chance of recovering, but it's best to perform pairing from the location where the device is meant to be used
gotcha
Battery powered devices will have a very hard time finding their way back, in some cases
are battery powered devices also supposed to be fixed?
if light bulbs are supposed to be repeaters, and the network is not dynamic, that is kind of bad, because some of my bulbs get turned off manually
that might explain why remotes sometimes take a while / several clicks to work
Only place in my apartment where the switches aren't taped up is the bathroom, cause those switches are prescribed by law to be able to break both L and N wires in my jurisdiction.
yeah so apparently touchlink commands kill my zigbee stick
not only they don't work, now I have to go unplug it to have zigbee work at all
which stick are you on? 2531?
CC2652RB slaesh
Yeah, I was just looking for the firmware page, because there was an update that was kind of important a while back
(that's about a P, we have RBs, but still)
When did you get your stick, then? or rather when did it ship?
good question.. erm.. this year I think
or late December
ah, make that late December
so it's not flashed in 2021
Well, that puts you one flash behind the times
Well, a firmware flash is always a good hail mary pass, either way
yup, that's my next move
Good news is you don't need to do any soldering or other craziness
are there any pre-requisites for being able to see groups in the ZHA integration ui? I see posts which discuss being able to click "configure" on the ZHA integration, and being able to create / administer groups from here; however, mine simply has the standard entities / devices?
I'm off, best of luck @obsidian bison
thanks for the help @simple sentinel 🙏
yes
no prerequisites
Configuration -> Integrations -> Configure (from the Zigbee card)
There should be Devices and Entities
scroll / look up
Network | Groups | Visualization
I can't tell you how many times I forget to look up
flashed my CC2652RB, touchlink is still broken 😕
what is touchlink?
Yeah, I don't think you need it
good question, what is touchlink?
But it's still strange it takes your z2m for a roll
Touchlink is a feature of Zigbee which allows devices physically close to each other to communicate with each other without being in the same network.
that doesn't seem useful
Seemed almost apropos to your issues but not really
Zigbee2MQTT allows to factory reset devices through Touchlink.
that's pretty useful
ooh, yeah
no more clicking lights on and off like a maniac
A true shot in the dark if ever there was one
i've definitely spent 5-10 minutes trying to get the ledvance reset sequence just right not understanding why it isn't working, just to realize i'm trying to reset a CREE bulb
that bulb might have some kind of logic in it too, maybe it works
one of my table lamps has a dying switch so i have to climb under the furniture and unplug/plug in the mains outlet at the right sequence. i wouldn't categorize it as fun
or you get root on the listening device big brother has on you
🙂
that's my remaining idea for today, I'll go reset the lights and the remote
Hello zigbee2mqtt - I don't see new device with CC2531 😦
I had that once, reflashing the 2531 made it work 😬
i think i switched back and forth between zigbee2mqtt and zha maybe 3 times. that was a lot of resetting
I can't read my own sentences anymore, so this time it's off to bed
z2m kept forgetting about my thermostats though
ah well. @plucky kernel anything in logs?
thank you!!
@old kernel to many logs to paste , whic is the best for You? from supervisor or this inside addon ?
ok now i see this
"21-02-27 22:32:22 ERROR (MainThread) [supervisor.api.ingress] Ingress error: Cannot connect to host 172.30.33.3:8099 ssl:default [Connect call failed ('172.30.33.3', 8099)]
"
8099 is my port for zigbeee2mqtt maybye this one?
what does it mean if i have an orphan inside the network visualisation? i can see the device on the "network visualisation" tab, and in my devices, but it appears to have no link to any other device in the network
i still have problems with this device, which i've been trying to write a quirk for (https://github.com/zigpy/zha-device-handlers/issues/795), but i'm surprised that it's apparently not connected to anything else?
the device also does not show up as a possibility to add to a group, whereas all my other devices do
maybe try re-adding it?
i had some similar trouble with some of my lights until i added a repeater
so I just did another reset on light1, and the remote issue seems to be solved?!
i try sonoff devces (all ) and blitzwolf 13
yay!
also, I can't reach light2 now -- I don't understand how my network was set up
just wait until your kids flip them on and off in just the right sequence that they decide to re-link themselves to the remote
🙈
my solution was to put a smart switch on the wall, disable the relay, and use the switch as a scene controller that controls the lights through HA/groups/whatever
I'm renting so I can't mess with the stuff in the walls
ah
but I have taped some of them off
i changed the switches even when i was renting, and just changed 'em back before i left 😄
that was when the house came with horrible dimmer switches that would flicker though...
yeah, apparently if I do that and the house burns down, it's on me
oh. mmm, valid concern
had to come back and say, apparently touchlink made my zigbee network explode too, just didn't notice until I fired my good night script and the lights wouldn't go off 🤣
Seriously, have a zigbeetastic rest of your day/evening/night/morning
doh! sleep well
so... I have these bulbs: https://www.zigbee2mqtt.io/devices/E11-N1EA.html, and bound to them are lutron auroras (https://www.zigbee2mqtt.io/devices/Z3-1BRL.html), but when I use the knob to turn on/off the bulb, that state is not reported back to z2m, and therefore doesn't update inside HA.
I've got reporting turned on in my config file (seems that may only work work tradfri though?) and made sure to update firmware in both devices, but still nothing. any ideas here?
oh I also tried putting the bulb in a group and binding the remote to the group, but then it just doesn't work lol
have also tried legacy: false and legacy: true, as mentioned in the aurora docs linked above, but I can't tell that it has any effect whatsoever on any behavior
not sure what exactly it affects for these
Hi! Is the the right place to get help, if you cant connect/find a single Zigbee device? (Raspberry pi 3 + Hassos_rpi3-5.12 + Conbee 2 + deconz + Phoscon )
Is it possible to clear the known actions for a Zigbee device (zigbee2mqtt) ? I have setup a device with legacy:false, now some shown actions are not valid anymore.
Or do I have to remove/re-pair it?
If you're using deCONZ you could also ask over on their Discord
Are there any resources which help explain / debug binding? I am trying to bind a new device, which is failing, but as a test ive also been trying to bind a simple switch to a Zigbee light group.Doing it through the UI just gives no feedback whatsoever, though it apparently didnt work since pushing the switch has no effect on the lights. Are there any resources on this? Thanks!
Hi, i got a Busch-Jaeger 6737 hooked up to ZHA through a Sonoff ZBridge. I can switch the light fine over ZHA but struggle getting events for the 6 other buttons to trigger scenes. I tried enabling debug logging and listened for zha_events without any trace of those buttons. Do you have any hints on how to proceed tracing those button presses to find out where they turn up or get lost?
i consistently get a message along the lines of "Bind_req 00:00:00:00:00:00;00, ep: x, cluster: x to group: 0x000x failed: [0xxxxx:0:0xxxxx]: Message send failure" whenever i try to bind controllers (an Aqara switch or an Aurora dimmer) to my Hue lights (through ZHA w/ Sonoff ZBBRIDGE). Does anyone know if this is a limitation of the hue lights, the controllers, or something I'm doing? All in the same room with high linkquality etc
are you clicking the buttons when issuing the bind command?
i usually do this from my phone, and literally hit the button and the bind command repeatedly until the light starts responding directly to the button press.
^ repeatedly with small delay between each attempt
I have been, though in fairness im not sure how quickly it ought to be pushed. I'd guess it's about once a second, until I see bind failed in the log
You could listen to ‘*’ to see all the events
I was describing a similar issue with a new device yesterday, which doesn't generate any zha events at all. You can see the raw zigbee transmissions (turn on logging as per the Zha integration page and watch the logs) but no zha_event generated no matter what I push
Does anyone know why no zha_event would be generated even though the message is captured?
Can you upload the surrounding section of logs to a pastebin of some kind?
There is an example of what happens when I push a button after the pairing log in https://github.com/zigpy/zha-device-handlers/issues/795#issue-comment-box
It seems to be a couple of spare bytes but the command is understood, it just doesnt fire any events
Looks like it's parsed fine by ZHA so the automation triggers are the only things left to write: received 'step' command with [0, 26, 3] args on cluster_id '8' tsn '115'
And the level control works: received attribute: 0 update with value: 254
As i understand it, ive already written some of them, and none of them trigger as far as i can tell. I might have messed up the conditions? The triggers are right st the bottom of the post. I thought zha_events should be triggered even if automation triggers weren't explicitly written?
You do have two duplicate (SHORT_PRESS, BUTTON) keys in your dictionary so only the second value will be stored
Here's the ZHA code that's run when this command is received: https://github.com/home-assistant/core/blob/98be703d90e44efe43b1a17c7e5243e5097b00b1/homeassistant/components/zha/core/channels/general.py#L223-L250
Good point, thanks! Still, that won't mask the two dimming commands, which are the two I've been focussing on. I'm still a bit confused about the lack of zha events - i may be completely misunderstanding, but I thought a zha event should be fired for every parsed command, whether or not it's associated with an explicit automation trigger? This allows me to e.g. use zha_event in automations even for devices without explicit automation triggers. Have I misunderstood, or is there an issue related to the lack of event firings?
That I'm not sure about. I don't know ZHA internals well enough to debug this but I'm sure someone who does will either ping you here or comment on the GitHub issue
fwiw I didn't have this issue with zha... clicking the remote button updated HA just fine. this is only happening with both the bulb and remote in z2m, but not sure if I can (or should) use both zha and z2m at the same time... using a zzh stick now for z2m, before that it was a hzusbz-1 with zha
Thanks for the help!
have also tried removing/resetting/pairing all the devices multiple times, no dice
Can a Hue bridge be used for other zigbee devices? I have Hue bridge and I like some of the remote blueprints all of which seem to use zigbee.
Howdy. Almost complete newb at all this - I've got HA installed in a docker & I'm doing presence monitoring on all our phones via connection to WiFi, so I've managed that... I have a ConBee 2 stick on order. What things should I consider when deciding between deCONZ, ZHA & Zigbee2MQTT when choosing which integration to install?
See the pinned message about the different install types
Hi guys, I have an Aqara Curtain motor. How do i go about installing it in home assistant? I have a conbeeiii usb stick. Is that all i need?
Yes, that and your chosen integration - you too should see the pinned messages 😉
There are three Zigbee options with Home Assistant ...
just needed someone to point me in the right direction. thx
👍
IMO mostly it's a choice between ZHA and Zigbee2MQTT, though for those the Conbee isn't the best choice 
I think I can see the device in 'Devices', but it is named 'Unnamed Device''
And there are no configurations or options for it. Just an empty device
How did you integrate it?
I plugged in my conbee and installed the 'deCONZ' integration
Ok, so then you need to check the deCONZ UI and see how it shows there
If i have a conbee stick, am i able to check out other ingragrations, like zigbe2mqtt ? Or am i restricted to deconz
Yes you can - support for it in other integrations varies though
If it's Conbee II then it's supported by Z2M, but experimental
ZHA simply lists it as supported
what sort of support? remote device support or is its connection just flakey
Sweet I'll check them out thanks Tinkerer
Supported == works
Whether that's well or just barely ... 
I know ZHA recommends the EmberZNet based sticks
been wondering about this for a bit. i already started on conbee II + deconz on a pi with HA OS.
what would be improved if i switched to z2m? or zha? I'd be ok with buying another stick if there were tangible benefits outside of the support matrix i can see on https://zigbee.blakadder.com
Mostly device support, and pace of change on those
deCONZ seems to move slowly, though it has improved
The pace of change on both ZHA and Z2M is fast, and new device support is a thing you can help with, or just do
Ah perfect to know, thanks!
anybody else have lutron auroras in z2m? I think tube uses them in zha 🤔
Got it Tinkerer. Found the aqara curtain. I send it a command to open, but it only opens up to half the way. Are there any configurations I can check out?
I found it using the deCONZ integration by the way
Does it work in the deCONZ UI?
It just appeared in the 'Devices' of HA, and I opened it there. Under the label integration, it states 'deconz'
I can also see it in the Phoscon app, but there are no configurations there. Just the name of the device
Basically, I set it to open to 100. But it only goes up to 50% and stops.
Not sure if there is a way to tell it that my rail is twice as big
I got my Conbee 2 in December, but there were issues with deCONZ at the time, and I only just got around to trying it again. I'm in the web GUI, trying to find my IKEA Tradfri outlet, the Tradfri on/off dimmer, or my Lidl/Silvercrest outlet. All three devices blink, confirming they're in discovery mode, but somehow deCONZ just doesn't find anything. The Docker container's logs (looks like the deCONZ output) doesn't show anything worrying.
Not sure where best to ask what could be going wrong here, or what other details would be useful 🙂
Same for my Aqara motion sensor, by the way.
First production network migration of a CC2531 w/ Z-Stack Home 1.2 to a Tube's CC2652P hub is a success!
awesome!
i'll be trying a migration from the husbzb1 to an ezsp one next week hopefully
Hi - Just got HA (moved from HomeBridge - and I am very happy with that decision! :)). Love it so far. But can anybody answer me why my bulbs behave like this? That didn't happen with HomeBridge: https://youtu.be/gtviKP7rPwk
Hello Guys,
How can I pair my sonoff zigbee mini switch? I tried this https://www.zigbee2mqtt.io/integration/home_assistant but HA doesn't see my device. I have a CC2531 Zigbee2mqtt usb device and installed Zigbee2mqtt integration
You pair it in Z2M
Z2M has it's own UI you can (and should) enable that handles that for you
Well in the UI I can;t find it or when I use scna option it does not find 😦
i've seen people automate light strips where they can show progress bars or animating motion. Is this possible with HA, and if so with a zigbee device?
You may need to enable the UI in Zigbee2MQTT first, but you have to do it there, not in HA
You want WLED for that, which isn't Zigbee
@sour shadow I started the Web UI i see an empty list with devics
Permit is enabled so devices can pair
but still no succes 😦
Well, now you have to put the device into pairing mode, and keep it awake until it pairs
It will need to be relatively near the USB stick - in the same room or the one next to it
Thnaks i wil try that now out
Ah thanks, so WLED is usually hooked up with an ESP32 that uses wifi? Are you familiar with any that i can buy off the shelf?
If you want to dive down the rabbit hole, DrZzs has a whole channel for it
Is it pretty plug-n-play? I'm sure i could figure it out, but i'd rather spend a little more than take time to figure it out.
ah, i think one of his videos is probably where i saw it, but i'll ask in there. Thanks!
@sour shadow do you have any expiercen with sonoff mini zigbee? I hold the button for 5 seconds but nothing happens with flashing led
i hear only the relai switching
There's also https://discord.gg/KuqP7NE for the official Discord
Nope. None
@sour shadow Thanks anyway for the help!
@grizzled arrow anybody has an idea?
Hey everyone, just recently installed home assistant and today picked up a Lidl smart plug thinking it could interact with the pi I have set up but I don't know how/if that would work
Is it possible to clear the known actions for a Zigbee device (zigbee2mqtt) ? I have setup a device with legacy:false, now some shown actions are not valid anymore.
You have to join it using a Zigbee hub.
I also have some Lidl smart plugs
Ahh so the home assistant isn't also a hub?
Works perfectly - I use one with Zigbee2MQTT
I have a zigbe2mqtt cheap ali stick and I can pair it
And yes, HA is a hub, but it needs radio hardware for Zigbee
Home assistant needs to communicate with the smart plug and the smart plug speaks Zigbee
What's the radio hardware? I'm guessing not a wifi card
A Zigbee USB stick
One that's supported by your choice of Zigbee integration
Just, don't buy the CC2531 or CC2530 😉
https://slae.sh/projects/cc2652/ has good sticks
10% discount code: HEY-SAMY-2021
I bought one today 😉
I have the cc2530 now and want to upgrade
Sonoff also has a cheap stick based on the cc2530 you can use for zigbee2mqtt
I've got a couple of the Zig-A-Zig-Ah! sticks (primary, and a spare in case I somehow screw this one up) and a Slaesh to turn into a router some day
Just, don't buy the CC2531 or CC2530 😉
Zzh, is not available at the moment.
From the tindie site
Don't touch the 30/31
Somebody has an answer on my question?
What was your question?
Is all I saw
Is it possible to clear the known actions for a Zigbee device (zigbee2mqtt) ? I have setup a device with legacy:false, now some shown actions are not valid anymore.
I'd ask on the Zigbee2MQTT Discord, but probably you have to clear the Discovery topic
I looked at it using an MQTT explorer yes, that might be it
I’ll asked over there
is there anywhere to easily see which things legacy affects for specific devices?
Hello! I want to help adding support for ZYCT-202 remote control to ZHA.
However, I only have one ConBee stick, and it's connected to a RPi running HA OS; and since that's my main HA instance I don't want to take it down. Can I help adding support for that remote, or do I need a separate zigbee stick to develop/debug?
FTR: It's this device → https://github.com/zigpy/zha-device-handlers/issues/316
Already supported by zigbee2mqtt, but I'm using ZHA in my HA.
So zigbee locks support an additional "APS Security" layer on top of the built in zigbee network security.
Does anyone know if either ZHA or zigbee2mqtt supports it?
Not directly but if you're using ZHA with zigpy-znp you can enable it with a little hackery (you can likely do the same with zigbee-herdsman)
It's supported by most (all?) zigbee 3.0 devices
Hmm, maybe I'll look at that hackery a little later
Ping me if you want to give it a try
thanks, will do.
right now i'm working on lock user code stuff
i have a zha_event for keypad access that kicks back the user code slot, working on services to set codes now
@grizzled arrow I read about your slaesh stick order and cant resist to tell you: If you experience connectivity / lag problems, use a USB extension cord on the stick. Cost me about 2 days of troubleshooting for such a simple solution. Other than that, the stick is awesome !
it can cause problems when its too close to other signal sources or, as for me, the rpi4 hardware
Following this: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html#hassio-addon
Where do I find the devices.js?
It both looks like it exists, and that I have to manually create it in a folder (which the instructions don't tell me where that folder is)
im scared im going to get 2 slaesh sticks
You can flash one as a router
don't need either one?
i just need one for my room haha
i agree they're too expensive
one is almost overkill for my room
but the guy is charging based on his time, so i guess it's just too expensive against mass produced sticks
yeah im fine with the pice for one
whereabouts are you? for me the shipping is what killed it...
oh no, so you're paying for the whole enchilada twice, not even getting the combined ship
well, if two show up, you can probably get back what you're into it if you can find someone local who wants one and doesn't want to wait a month...
theres no contact opportunities active either
its gonna suck
KoenKK is local tho whahaha
Doubt he's gonna buy more
anybody having issues with SYMFONISK Rotary Encoder from IKEA?
I maneged to connect to deconz (conbee II)
Im using hassio, but when I start listening deconz_event nothing happens
+1 he should implement a better way to cancel orders lol
I emailed him to his paypal email, i hope to see result. this doesnt have to become a problem hahah
How much is the stick?
40 bucks total, but as a student thats quite a sum
Eh, I haven't been a student in 20 years so I can't tell anymore 🤣
are there any cc1352p2 sticks?
u can buy the stick off me whahahhaa
i think my partner might be less than thrilled about a dev board in the living room 🙂
i rather get 2 innr bulbs for that price 😉
@stone halo I'd get 5 tradfri ones 🤣
tradfri costs like 25 for full colour tho!
RGB 🤢
my conbee2 is irritating, but works for now...
CT
CT?
Colour temperature
true maybe ill get some nice ct ones for the lamps and 2 hue play bars for the desk
RGBWWCW FTW 🙂
cant have ct ambilight...
but enough to want the 2nd stick cancelled
Ambilight
Hyperion 
hue play bars are good for monitors tho, and the bars offer other purposes aswell ayy
Pass 🤣
@stone halo This one from Lidl? https://www.lidl.nl/nl/p/smart-home/rgb-led-verlichtingsband/p43245
The description is terrible, it doesn't say if it is zigbee, or if it is just the strip or also de driver circuit.
Oh, I found the real description, even the user manual: https://www.lidl-shop.nl/LIVARNO-LUX-RGB-LED-verlichtingsband-Zigbee-Smart-Home/p100306624
Hi - Just got HA (moved from HomeBridge - and I am very happy with that decision! :)). Love it so far. But can anybody answer me why my bulbs behave like this? That didn't happen with HomeBridge: https://youtu.be/gtviKP7rPwk sometimes they don't all turn on, sometimes it turn only 1 on, etc when controller as group OR individually
Also scenes often don't work
I have no idea… However, you should also specify what kind of lights are those, and what integration you are using.
Hopefully, that will help narrowing down the issue and someone would be able to help. But I myself have no idea. You can also try https://community.home-assistant.io/ . And, well, bye for today!
Hi Everyone, I am hoping this is the right place and that someone can help me get zigbee2mqtt configured with a sonoff zigbee bridge.
This is what I have for the Zigbee2Mqtt add-on config:
serial:
port: 'socket://192.168.27.58:8888'
I get this:
npm ERR! zigbee2mqtt@1.17.1 start: node index.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the zigbee2mqtt@1.17.1 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-02-28T23_16_34_730Z-debug.log
[15:16:34] INFO: Handing over control to Zigbee2mqtt Core ...
zigbee2mqtt@1.17.1 start /app
node index.js
Zigbee2MQTT:error 2021-02-28 15:16:36: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2021-02-28 15:16:36: Failed to start zigbee
Zigbee2MQTT:error 2021-02-28 15:16:36: Exiting...
Zigbee2MQTT:error 2021-02-28 15:16:36: Error: Error while opening serialport 'Error: Error: No such file or directory, cannot open socket://192.168.27.58:8888'
at Znp.<anonymous> (/app/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:136:32)
at Generator.next (<anonymous>)
at /app/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:27:71
at new Promise (<anonymous>)
at __awaiter (/app/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:23:12)
at SerialPort.<anonymous> (/app/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:134:49)
at SerialPort._error (/app/node_modules/zigbee-herdsman/node_modules/@serialport/stream/lib/index.js:198:14)
at /app/node_modules/zigbee-herdsman/node_modules/@serialport/stream/lib/index.js:242:12
npm ERR! code ELIFECYCLE
npm ERR! errno 1
zigbee2mqtt: is there a relatively easy way to add accelerometer data for a different model of the Smartthings multipurpose sensor? I saw that support was added for a previous model but not the newer model (https://github.com/Koenkk/zigbee-herdsman-converters/commit/8e9cc3fd8c0b2f82e0755884ee6be35416948861) and wanted to see how to go about getting it to work for the IM6001-MPP01 model
(or if there was something I could do to facilitate that :P)
@carmine steeple 6. Spam will not be tolerated, including but not limited to: self-promotion, flooding, codewalls (longer than 15 lines - use Hastebin or similar³) and unapproved bots.
^^ specifically the 15 lines thing.
Z2M might use tcp:// (or serial://) instead of socket://
What coordinator and integration are you using?
Note - Zigbee2mqtt does not support ezsp based radios like in the sonoff bridge
ooh good point
Random fact - perserverance (the MARS rover) uses zigbee! See the third paragraph of the design section here https://en.m.wikipedia.org/wiki/Mars_Helicopter_Ingenuity
That poor thing
This link is implemented using a COTS 802.15.4 (Zig-Bee) standard 900 MHz chipset, SiFlex 02, originally manufactured by LS Research: I wonder if they're implementing a custom protocol on top of the the underlying layer (IEEE 802.15.4) and not Zigbee itself, since I don't think there's a real use for mesh networking and encryption on Mars with just two nodes.
It should be a sub-ghz band. I think the idea is that when future equipments are deployed they would seamlessy connect and thereby also extend the range. Moreover, as most of the zigbee chips are compatible with thread (a better network IMHO) it would be simpler to just upgrade. Unless of course if something goes wrong and somebody needs to re-pair "rotating it's propellers probably 3 times" 😀
just released a few (literally 3) EFR32 based coordinators based on the most powerful Silicon Labs module I could find 🤣 .. 256k ram baby!... you pick ethernet or usb... https://www.tubeszb.com/product/efr32-pro-ethernet-serial-coordinator/5
I apologize. I have seen similar posts and wrongly assumed
I used https://zigbee.blakadder.com/Sonoff_ZBBridge.html. this link to set it up.. Shouldn't it work?
does your sensor expose accelerometer data?
I had tried tcp before. I tried serial, but same result. There is a socat configuration that is disabled. I think it might be useful but I cannot find any examples. I am using the Sonoff Zigbee Bridge. https://zigbee.blakadder.com/Sonoff_ZBBridge.html
I used https://zigbee.blakadder.com/Sonoff_ZBBridge.html. this link to set it up.. Shouldn't it work?
dumb question possibly - but what driver/application works with this device? I didn't see that module as supported for Z2M or for zha
?
I used https://zigbee.blakadder.com/Sonoff_ZBBridge.html. this link to set it up.. Shouldn't it work?
sorry raman325. I am new to Discord and replied to wrong messsage
all good
I am not sure how to check. I have it set up in mqtt. Is there a way for me to check that? Right now I am just trying to connect with it as a coordinator so I can begin pairing devices.
Actually I can pair devices. I am just trying to connect with it using home assistant
Should be one of the entities that show up if it does.
I using it with tasmota. I have it successfully set up in mqtt. I an trying to communiicate with it using home assistant without going the ZHA route. It does work using that method,
Here is how I set it up. https://zigbee.blakadder.com/Sonoff_ZBBridge.html.
The documentation suggests this is possible, but I have not found any examples of this use case with Z2M. The Z@M add-on in HA also has a config for socat which from what I can tell is a way to make it work.
Please stop replying to me
I was just replyin gto your questions from earlier. It seemed like you were trying to help. I am really bad at this it seems. No more replies. Sorry
I use it with ZHA. Why not do it that way?
@carmine steeple The Sonoff Zigbee Brigde, which I also used and bricked.. You have to use it with ZHA, not zigbee2mqtt
What issues did you have with the Sonoff Zigbee Bridge?
I was expirimenting with different firmwares of the Zigbee model
the uart file
My IKEA remotes had a battery drain issue and there was e dev version solving this. But after updating it, connections were lost, and after some fidling, I did not had an IP anymore, so I cant connect to tasmota anymore.
I might need to start over again, but for now I'm using the cc2531 with extention cable. The slae.sh is on its way. 😉
I should have used an extension cable, maybe. I just couldn't countenance spending $30 on a CC debugger to fix a $10 product. It wasn't just that the firmware got corrupted on the CC2531, twice, it was often just plain flaky, requiring a restart of HA or even powercycling of the RPi. Every few days the unicorns would descend. I've only had the Sonoff for 8 days but not one issue so far, which is already better than I ever had from the CC2531.
But they are sold as that
I've had months of uptime on my cc1352p2, running totally seperate from HA
Call me old-fashioned, but something that's sold as a co-ordinator should work as one
Fair point. How does your CC1352p2 connect to your server? What is your server?
@jolly narwhal how u reached your cc1352p2 if you run totally apart from ha server?
does anyone with zha and a bunch of bulbs in the same zha group (like 10 or more) ?
i have a probleme with slow response with ZHA Group of 13 bulbs
When turning them on and off as well as changing brightness I don't have any problems.
However, when changing the color (also color temperature), I often had a slow response time (especially noticeable on ConBee and EZSP based dongles)
@radiant moth Runs on a raspberry pi 🤢 with raspberry pi os and zigbee2mqtt, that connects to my main mosquitto server instance @thorny phoenix
No issues with bigger groups and zigbee2mqtt @verbal shale , my bulbs adjust every 3 minutes in both brightness and CT
biggest group is 18 lights
but if you go and change, it change imidiattly?
I can't see all the bulbs at once, but if I move about, yes all the bulbs change immediatly
:S
within 1-2 seconds which it takes me to move to see all bulbs
I need to recheck, but pretty sure almost all my lights are direct children of the coordinator too
the coverage of the cc1352p2 is insane
Which coordinator are you using and is the lag different when turning them on/off vs. changing color/(color temperature)?
Sonoff Zigbee Bridge
And is the lag different when turning them on/off vs. changing color/(color temperature)?
Then it's probably this issue: https://github.com/home-assistant/core/issues/42249
It's way better on the TI coordinators (but still somewhat present)
when writing quirks, I had naively assumed that the first tuple in the device_automation_triggers dictionary at the bottom was simply a descriptor, i.e. in (SHORT_PRESS, BUTTON_1) : { command... }, that the first tuple is simply a placeholder for the text which appears in automations, and the pattern-matching should be performed on the command, endpoint, cluster and args? However, from https://github.com/home-assistant/core/blob/dev/homeassistant/components/zha/device_trigger.py#L43-L65, it's actually this on which the pattern matching happens (and I guess I should have realised that, given it was the dict key, but still)
so i was wondering, how do i determine which trigger configuration will be pattern matched against? it's clearly from line 45 trigger = (config[CONF_TYPE], config[CONF_SUBTYPE]) in the link I sent, but I don't know where config is defined (CONF_TYPE and CONF_SUBTYPE are just consts for "type" and "subtype", respectively)
is anyone able to point me to where i might find this out?
or let me know if i've got the wrong end of the stick entirely
Hello Guys,
I hava Aqara motion sensor RTCGQ11LM but my zigbee2mqtt can't find the motion sensors any one have a clue?
https://www.zigbee2mqtt.io/devices/RTCGQ11LM.html I used this and put it in configuration yaml file of home assistant also with that I cant't see the devices
z
I run a bunch of those with zigbee2mqtt
Is zigbee2mqtt in join enabled mode?
I do fully discovery with mqtt
Nothing in my config to have it in ha
@jolly narwhal Yes join permit all is enabled and I addd mqtt: discovery true to configruation file of HA
How long did you press on the side button to pair?
Can you see the device in the zigbee2mqtt webui?
I press it till it starts blinking, then I release it
What coordinator do you have?
Are you within 50cm of the coordinator when pairing? That coordinator has horrible range, even worse without an antenna
oke no I am not let me do it
And you have no routers?
I tried that also
I have just one Router in the network where every devices is connected to
A bulb ?
(Hue Go is a router even though it also has a battery)
Really?
Yeah
Well then i have also an Ring Alarm
i think you're on the right track. i'm guessing there's an iterator somewhere that runs that async function for each device trigger it comes across, haven't noticed it in my 2 seconds of looking yet though
But I pressed on the button and released it when I saw blue flickeirng light
It's mainly powered by 24V/12V (depends on v1 vs v2) but both of them are routers.
I don't know if there's anybody using Hue Go lights on battery most of time.
Currently nothing works with zigbee2mqtt
Then you have no routers
So I am missing a router, which one do I need then or how do I need to confiugre that?
I might missed some crucial information then
But I have flashed the CC2531
The cc2531 is... Horrible, if you have an antenna on it it becomes bearable, but you still need routers for proper coverage
any powered device is a router
If your house is bigger than one room
I'm betting no coordinator setup in Z2M
I have mqqt broker in HA
check the debug in z2m. It's pretty verbose
let me check moment
Well I am lost in the log, but I dont see any errors or warnings in it
The start of the log
It works with ZHA. (Bellows lib supports ezsp which is what theses are flashed with)
Will say if it sees the coordinator
@jolly narwhal this is the log
I see no coordinator
So it doesnt see the usb stick?
That is what I can conclude if I read this:
In the case of Zigbee2MQTT, the coordinator is your CC2531 USB stick.
yeah I agree. i haven't quite mapped out in my head precisely what belongs where in the different projects yet, and as you say much of this is implicit such that manually searching doesn't yield much!
Please go and read #rules - particularly rule #6 about not posting codewalls (over 15 lines) 😉
If you want to go and re-post that use a code sharing site 😉
When I was building the lock code setting services (PR forthcoming!), I used visual studio code and its ability to find definition and references was invaluable
@jolly narwhal I flashed my cc2531 according to https://www.zigbee2mqtt.io/information/alternative_flashing_methods.html then it need be an coordinator right?
sure, but that doesn't mean you have passed your coordinator to zigbee2mqtt
yeah, debugging via github and in-use HA r-pi instance isn't much fun. i don't have any spare coordinators though, and i'm not going to be very popular if i take half the house down to work on a dimmer switch...
oh yeah, tell me about it... my family wasn't super thrilled about how much it wasn't working this weekend 🙂
modifying the running code in place on the container on my host definitely made me a bit uneasy
yep, that's where I am at as well, at least, when I can snatch a bit of time on it
i don't even want a dimmer switch!
i put in 5 new dimmer switches over xmas and i'm wishing i'd gone for smart bulbs and scene controllers instead
but at 20 - 30 a pop i'm not about to pull them back out
i couldn't find a reasonable, already-supported wall-mount 2 gang dimmer in the UK
hence the hassle with setting up this new one
the quirk was quick but hadn't anticipated present problems RE lack of events firing etc
also, i am slightly worried by this bit of code: https://github.com/home-assistant/core/blob/16dcbf1467246d18e7c55575f53f01032e4c1ece/homeassistant/components/zha/core/channels/general.py#L242 which looks like if i can get events working, it's going to emit an event to set the level at a particular point every time. the issue is that my dimmer does emit attribute updates for current_level, but the value is always the same [254], so i wonder if the brightness will change with line 238 in that code (whenever "step" is triggered), then be set back to 254 by line 242...
@fierce canyon check port, run test -w /dev/ttyACM0 && echo success || echo failure
New IKEA products: https://www.reddit.com/r/tradfri/comments/lv8ok4/new_set_some_pictures/
(Let's hope they come with new firmware lol)
the dimmer sends a status update to current_level, but doesn't actually send the level?
Wait, Configure TRÅDFRI Bulb On/Off behaviour on power cycle is mentioned in the changelog? https://ww8.ikea.com/ikeahomesmart/releasenotes/releasenotes.html
Are there any dedicated (community) support channels for Conbee/deCONZ/Phoscon?
ooh, nice.
I wish I could configure that on my osram bulbs
they have their own discord
I think OSRAM bulbs can at least set the default startup color
Is "black" an option? lol
doubt it
i'll have to poke around and see if i can find anything. now that I replaced the smart+ with osrams i haven't had random ghost turn-on multiple times a day, but it'd still be nice to set a default to off
Ah, that's nice.
So you replaced the newer SMART+ bulbs with the older Lightify bulbs?
Oh thanks! None of that was in the official docs I found, sadly 😦
yeah. I had originally bought 2 of the smart+ for like 2 bucks each, then bought a whole box of bulbs from a guy who updated to lifx
and those were all older lightify
Huh, it's good that they work for you. I've always had problems with any OSRAM/LEDVANCE product basically.
I've only seen issues with Osram online
So I stayed away
and most shops here have stopped selling them
i know the osrams are problematic, but i can't justify 15-25 bucks a bulb * 20 bulbs
Tradfri life 
and i really haven't actually had any problems with the osram osrams
I usually buy them on sale for USD6-9 each
yeah but we went over this a couple days ago, i wanted RGB + tunable white
Yeah, apart from some TRADFRI lights buzzing all the time, I also like them.
But I've had them crash so often that I needed to install a smart plug/shelly to reboot them.
^ yes that (the color dog, not the buzzing)
Ah. They're also fine for me
And I have 12 brightness only E14 and 8 CT E14
Are those the "round" (600lm, older model more prone to buzzing) or candle shaped CT E14s (470lm, newer model and no buzzing?
candle shaped brightness only (2 years old) and bulb shaped CT ones 1-2 years old
LED1649C5 This one for candles
LED1536G5 this one for bulb
These (round) ones are (from what I heard and having tried one) very problematic. But I guess you're not affected then
https://www.reddit.com/r/tradfri/search?q=buzz&restrict_sr=1&sort=new
https://www.reddit.com/r/tradfri/comments/jk72t7/e14_600_lumen_audible_buzzing_when_off_80408585/
it does send the level, but the level never changes
that's so weird
it's always 254, no matter how many times it's been turned etc
It should be possible to develop a quirk then (if the issue is present on all their dimmes).
Does polling return the correct value (LevelControl cluster)?
preliminary quirk is at https://github.com/zigpy/zha-device-handlers/issues/795. LevelControl cluster, current_value always returns 254
it may be that it expects some sort of response that I'm not giving it back, so that it knows the message was received?
not sure
fundamentally, i don't really mind - i'd rather have the lights / HA being the "master", rather than the dimmer - for instance, if i change the lighting with HA, I'd prefer that the dimmer then controls from the current level, rather than its own stored level
i don't know if it's possible to throw away the attribute updates
with a quirk?
It should be possible I think
it might be possible with a custom cluster or so, if i can override the attribute callbacks. However, if i can get it running so it emits an event whenever that happens, i can just ignore the event, as long as i dont connect them directly via zigbee [which is a pain and id rather it didnt work that way]
Still, if i can get over the no-events hurdle ill be very happy
A bit confused / worried by all the people who seemingly fix these issues,which pop up quite regularly, by changing coodinator or buying new devices...
To me it seems 99% of all issues are related to people using CC2531
🤣
without antennas, directly in a pi
on the other side of the house
Worked fine for my network for a week 🤷♂️
A good portion of those issues are probably due to the CC2531 periodically locking up
And requiring a physical hardware reset to get working, which is probably done after many other fruitless attempts at fixing the problem
I haven't had a single issue with my cc1352p2 since z2m 1.14, the firmware updates and software side of it just keeps on kicking
There are still a few more bugs left, like https://github.com/zigpy/zigpy-znp/issues/65
oh nice, my bulbs are now getting ZB3.0 firmware
I had no range issue with CC2531 as my board had a decent antenna. The problem was in it retaining its firmware.
I love how ikea is adding that to old bulbs
TRÅDFRI Driver & Warm White 1.0 (V-2.3.068). FW upgraded to ZB3.0.
nice! meanwhile my bulbs are getting a "we're shutting down lightify and have no plans to touch or support this ever"
IKEA 
Please fix that stack lockup bug, ikea.....
but hey, it means i can buy more bulbs on fleabay and fill up the house with buggy bulbs for cheap
those tradfri CTs are tempting though for places i don't need color
I'm not sure where the firmware corruption idea came from. I'm pretty darn sure TI knows how to make a chip that can retain firmware. It's probably something with the NVRAM, but I've not been able to replicate the issue outside of the lockup bug.
I have one RGB tradfri, for my daughters room
I think TI did make a chip that retains firmware, they just called it CC1352/CC2652
with all this talk about part numbers, do the deconz devices use one of the standard chips or is it in-house?
Every issue where the herdsman fails to load, the explanation is that it to be reflashed. Brendan at CC2531 said the same thing when he swapped the first one.
Cargo cult debugging 😆
custom in-house
It's literally the advice on https://github.com/zigbee2mqtt/hassio-zigbee2mqtt issues section related to CC2531 failing to connect. If that's cargo cult then I'm glad I'm now on ZHA.
Well, it's the similar type of logic that's behind the "increment the PAN ID by 1" if it fails to load
doesn't that amount to 'if it doesn't load, factory reset'?
Right, but there are ways to factory reset the CC2531 and similar chips without reflashing the firmware
And especially for tiny hardware sellers who will have to take a loss on return shipping or replacing "dead" products due to some firmware bug that can be at least "fixed" without a hardware replacement
Hi, my deconz keeps showing a raspbee, but i only have 1 USB device plugged in. https://i.imgur.com/Pbk2Tx0.png
How can i remove the raspbee entry? (The HA dropdown for the deconz add-on config shows the device for the raspbee u see.. so that's bad)
i think i might just keep trucking along with my sometimes-problematic-but-currently-stable conbee until someone comes along with a new mass produced stick
Are the Lidl bulbs any good?
Do devices go offline after they haven't found a network for a while?
I have some Lidl E27 RGB which were good for while I used them (now replaced with IKEA LED filament). Colours are fine but they don't dim very far. At 1% they're still fairly bright.
hmmm thats fine
thinking about getting one filament and 2 rgb
I was gonna get some, then found out i had to go pick them up. No delivery. Sad.
I was gonna get some IKEA, then found out i had to go pick them up. No delivery. Sad.
i'd definitely like to try z2m at some point, but until EZSP is supported, i'm stuffed
Ikea delivers in the UK. Lidl you have to take your chances. They restocked their Smart Home products last week, but who knows if what you want is in the store when you get there. No way to find out.
deleting and re-adding all my sonoff motion sensors, only way to get them back online.
At Christmas I had to go to 3 Lidl stores to find 4 RGB GU10s as IKEA had a 3-week delivery. This is because I'm too cheap to spend more money
looking at this, i think i'd need a custom cluster listener, like https://github.com/zigpy/zha-device-handlers/blob/427761d2b6e7577fe944986908b946e768195a34/tests/common.py
I have had a better experience with ZHA
I want to like ZHA more just feeling grumpy about all the reports of people for whom switching made everything fine! I guess in fairness there must be reports in the opposite direction too
i guess most of my problems in z2m were around thermostats. it seems that the code to send updates to sleepy battery devices is broken
Hi! Had my Deconz instance offline for 24 hours and now several remotes and bulbs are acting up aka not reponding to commands. I see a couple of "error APSDE-DATA.confirm 0xA7 on task" in the Deconz log. I've waited for about 8 hours and rebooted Deconz and power cycle the bulbs, they're flickering for quite some time after the power cycles. Some bulbs seems to work for a while and then wont respond to commands anymore. Any tips?
You can check the deconz discord -- Sound like you are having routing issues, no APS confirmations coming back perhaps
~deconz
.deconz
.oickyourstick
.zigbee
.oi-vey
Bot be dead
.rip
long live the bot
I've got tons od 0xD0as well. Yeah i've asked there as well.
Yeah 0xD0 is route discovery failed I believed
So might be a device that needs a power cycle somewhere?
Yes, power cycle all that you easily can
