#zigbee-archived
1 messages ยท Page 106 of 1
If so, make a copy of the file as a backup, delete the device from there, and restart HA
here's the problem
"identifiers": [
[
"zha",
"00:15:8d:00:01:56:01:1f"
],
[
"deconz",
"00:15:8d:00:01:56:01:1f"
]
],
so theoretically I can shut down HA, remove the deconz identifier and restart and it SHOULD be removed from that integration right?
or does one of those config entries need to go to? not sure what they're for
sorry,, that's just a key pair.. that needs to stay
I believe one of those config entries and IDs needs to go
That's not a key, value pair, it's a list
Go to Deconz at configuration > integrations
You should see ?config_entry= with a base 16 string after it in the URL
I was thinking of connections when I said that.... considering if I should just remove the device in zha and then nuke the entire entry and re-add it.. seems safer
Which device are you trying to remove
You can get an elelabs stick for$10 cheaper and more modern hardware. Unless you need zwave...
@lilac wharf the instance linked to deconz
but I assume if I remove it from the zha integration (and it's already removed from the deconz integration) then remove that entire entry in the device_registry and start up HA again I should be able to just add it to ZHA again and all will be fine?
Should just be able to remove the deconz config entry ID and identifier from the device entry for it
Again though, make a copy of the file as a backup in case it screws something up
e61a65413e924a64b99370f463999150 seems to be everywhere
0f50033475bf702ecc970bcc75d92902 is just this and the new zwave device
so I assume I remove e61a65413e924a64b99370f463999150
Lines 3 and 4 in your pastebin above
One of those should be the deconz integration config entry ID
Remove the one that's the deconz config entry ID, then also remove the deconz identifier
I believe it's the 1st one which is all throught the file
yep... let's see how it goes
I don't see where I would find ?config_entry= once I go to the Deconz integration
In the URL, forgot to type that part
ah! ok.. I assumed correctly with regards to which entry.. now to see if that fixes the device triggers
hmm.. better.. but doesn't seem to match what's in the device_trigger file for that device..
"model": "lumi.sensor_switch" should match https://github.com/home-assistant/core/blob/687f90e164690cc3484cad25b825c1c32382393d/homeassistant/components/deconz/device_trigger.py#L289
it has some, but not all of those triggers
has all the short presses.. but not the releases or the long press.. those subtypes are defined at the top.. so I wonder where's it's going wrong.
ah.. I'm looking in the wrong place
don't really understand how ZHA. implements this.. all I can see is that it's this device.. can't tell from that what triggers it provides. https://github.com/home-assistant/core/blob/0b8529a47219378d47621696870fe44124e382b7/tests/components/zha/zha_devices_list.py#L2105
I had planned to use z2m but device triggers there were even less developed. will need to see what's involved with improving that too
State triggers work just fine
Zigbee2mqtt exposes an action entity for buttons/remotes unlike ZHA and I believe deconz
it doesn't pre-fill the available states
that is the only feature currently motivating me to find a solution
True, but you can grab those by pressing buttons
Either way, I'm not sure about the current state of device triggers with z2m
that's what I'm trying to figure out.. it was implemented early this year.. just trying to find where it populates the available triggers for this device from.
Thanks! it never occurred to me that the device triggers would be outside of zha itself ๐
Way too many devices out there to keep this all in ZHA
it appears to be missing some..
Which ones?
btw.. how did you highlight that section in the link?
Click on the line number, hold shift, and click on another one
Click on the three dots to get a permalink. Otherwise if the file is updated, those lines may not contain what you originally had
here's the deconz list of device triggers which is complete (though quintuple is misleading as it covers 5 or more)
it's called MANY under z2m I think
COMMAND_FURIOUS
I have the round button as well but I don't think it sends out anything but these
ahh.. that doesn't show up under the triggers.. but quintuple does
maybe there's a mapping somewhere
They're the same thing
Why, I do not know
in joke? ๐
so it's missing the hold and the two release actions
the hold is probably the most important of those
I don't think hold exists
short press in zha might actually be mapped to the short release.
The device just sends on_off=0 and on_off=1
well it exists as far as the device is concerned.. don't know about zha/zigpy
I'm looking at the logs
Device sends on_off=0 when you press it, and on_off=1 when you release it
it's implemented on the original xiaomi gateway. so maybe it's a calculated thing.. would have to look at z2m code to see what it's doing
There's no specific attribute update or other manufacturer-specific thing that tells you how long it's been held
maybe it waits for a press and if there's no release in a given time it counts it as a hold
Yeah, it's likely calculated based on the attribute update times
You should be able to do that yourself though
but I'd need release triggers
wow.. I have no memory of this.. https://github.com/Koenkk/zigbee2mqtt/issues/71
the round ones are great.. the square ones suck.. though I've not used the 2nd gen square ones.. even the click on the square ones I have is subpar and unreliable
I had the square squircular one as a doorbell but its delay was annoying
squircular ? is that the square one with the round button inside?
I don't see why there would be a delay.. unless the zigbee signal was very weak
Squircular sounds like a Pokemon
The Aqara one has like a 300ms delay (maybe longer??) for debouncing
So it doesn't have to send two reports for button press and release
how is less than 1/3 of a second too long for a doorbell? even the purpose built doorbell we have is much worse than that
zha isn't waiting for a release.. it's using the press as the click, not the release.. just tested it by holding the button down on my one and only zha connected device
You should be able to pick up any attribute update as an event though
I'm all about being able to use the UI automation editor with drop down menus for the triggers
plus I haven't looked at this yet, but wouldn't hand crafted automations be more difficult to turn into blueprints? don't know if they are, just seems like that could be a thing
Updated my zigbee2mqtt base_topic from "z2b" to "zigbee2mqtt" in the morning (after HA reboot) none of the mqtt-lights work. Seems to be the same issue as in https://github.com/home-assistant/core/issues/44057. Can control lights directly with mqtt, but HA integration does not work. Or should I ask on #integrations-archived instead?
Tried to change the topic back and removed the mqtt integration twice, but did not help.
2021-01-12 08:40:11 ERROR (MainThread) [homeassistant.util.logging] Exception in state_received when handling msg on 'zigbee2mqtt/light.upstairs_pink': '{"update_available":true}'
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/components/mqtt/debug_info.py", line 35, in wrapper
msg_callback(msg)
File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/components/mqtt/light/schema_json.py", line 219, in state_received
if values["state"] == "ON":
KeyError: 'state'
Hmm. After few more attempts to remove / re-add integration seems to be able to control these from HA again, but now all devices are using friendly names. weird.
Is there a way to make some sort of backup plan for my zigbee config. All of our house is zigbee lights and switches. When zigbee crashes absolutely nothing will work anymore. So I would like to have 2 controllers on 2 systems that can act as a backup when one of the 2 is failing
Can you have 2 controllers/hubs on 1 network
Depends on your chosen integration and stick AFAIK
I know with Z2M for instance I can migrate compatible controllers without re-pairing, but I believe it causes some delays on the first start while things work themselves out
Of course, I also don't have Zigbee crashing on me... you should investigate that ๐
Yeah I'm not sure what is the problem. I know conbee2 with a virtualmachine environment isnt ideal. But I think I have a faulty stick
But sometimes it does work so I'm not really sure what the problem is
As from the beginning I had trouble with the conbee 2 not being found by HA after a reboot. I fixed that or atleast I knew how to not loose it in HA. But now it is shown in HA but ZHA gives me the error that conbee2 can not be configured
I ordered a nortek stick now. I hope this stick is more steady in a virtual environment
Well, either the stick is faulty, or the virtual environment has problems - I've never heard of a stick only misbehaving in a virtual machine, but there's a first for everything ๐คท
I think the biggest problem is that the conbee2 stick has its own OS on the stick itself.
All sticks have firmware - an OS like thing
I really hope the nortek does a better job then ๐
But I really think the conbee2 is damaged. When I put it in a Windows 10 machine I hear the connect/disconnect usb sound every 10 seconds constantly
In the device manager the list is updated every 10 seconds trying to connect and disconnect the thing. It's a wonder that it keeps working in virtual box for this long doing that
I don't know if it's normal that windows is struggling so much with the conbee2 or that it needs to stay connected
But a virtual machine isn't ideal... Not with windows last night it rebooted after an update and this morning non of the lights responded because ha wasn't started. I'm really gonna break windows update tonight. Which idiot came up with the idea to automatically reboot after an update...
Well, that's Windows + VBox for you
I run Z2M on a VM, using QEMU (Proxmox) - no issues
I really need to read myself into linux more. I'm a real windows fanboy which works perfect. But is far from ideal when it comes to setting up servers or home automation
Windows desktop for servers is .... not a great choice ๐
If you were running actual Windows Server there, it'd be different
One last question. When I backup the zigbee.db file should I in theory be able to replace a zigbee stick and reload that db and everything works again or is a part of the config stored in the zigbee stick itself
I think that's in the channel history - for Z2M you can migrate between compatible sticks. I assume the same is the case for ZHA, but 
I will test this before I setup everything. It's pretty important for me that this is the case. I really don't want to setup 100 devices all over again... One time is enough
If you use an EZSP based chips (bellows library) with ZHA, you can move to another one. The same is the case for TI based chips (using zigpy_znp). Both libraries provide backup tools for the stick.
I'm not sure about deCONZ though.
Yeah, I think switching from deCONZ to a EZSP based stick (Nortek) will require re-pairing all devices.
It's the information saved on the stick itself that's not cross compatible. I think even with Z2M you need to make a backup of your stick before moving to another one. AFAIK it isn't possible to move frmo deCONZ to bellows.
Thanks for this helpful info @mellow geode can you point me to how I backup an EZSP stick
https://github.com/zigpy/zigpy/wiki/Coordinator-Backup-and-Migration#instructions-for-ezsp-radios -> Backup Procedure
("More" information: https://github.com/zigpy/bellows#nvram-backup-and-restore)
This is extremely helpful thank you
I had the same problem.
What worked for me. Instaling deconz and updating the firmware in windows itself (with VM turned off). And you always need to plugin the device before starting the virtual machine. And if you unplug it (or do something with it, not sure what exactly) I had to restart PC, then VM. Eventually my Raspberry came and I migrated, but now I sometimes have issues with some devices not responding on first try.
After having removed a device from Phoscon, what is needed in order to have HA "forget/remove" the decvice. Reloading phoscon integration wasnt enough, neither was restarting HA ๐
calling deconz.remove_orphaned_entries aparently ๐
@thick narwhal for me it worked to just close Virtualbox and restart it then start home assistant. The stick will keep working as long as not full reboot of ha is done. So o restarted ha only from the file manager to restart hass
This way it kept working.. until the power outage.. after that it became worse. Now the stick is always found by ha but zha gives an error that it can't confige the conbee2 stick
By the way I installed deconz on windows but the device isn't found
It just keeps connecting and disconnect every few seconds so I hear the connect/disconnect usb sound in Windows every few seconds
And that never stops
For some reason I managed to get into the browser of the damn thing a few days ago and successfully updated its firmware in there. But that doesn't fix the problem. I guess I have a faulty one. Unless everyone here has the same problems with connecting and disconnecting in windows
I guess I just have to wait until the nortek stick arrives in a few days and see if that one is stable
If I went with some Aqara door and motion sensors as my only zigbee devices will it work, or do I need mains powered zigbee devices mixed in? I have several zwave switches already installed throughout the house, but no zigbee.
If that's a two or three room flat, you'll be fine
There's a pinned message about how the mesh works (spoiler - much like Z-Wave)
When I realised you pinned that, I edited it to make more sense ๐
๐
Was half tempted to edit it to something rude ๐ค
Appreciate you guys putting up with my noob-level questions. ๐
The only way to learn is to ask questions when you don't know stuff
Well, assuming you actually listen... I know too many that don't ๐
I guess he is talking about me ๐คฃ
Oh, trust me, you're a long way from those people ๐
If you weren't, you'd be on my block list ๐
What are you saying? Sorry
You guys helped me allot and am very greatful we have this discord. Else I would never have come this far
I tried setting up ZHA and I am getting "failed to connect", and this is what pops up in the logs: https://paste.ubuntu.com/p/btp8n8D4jC/
as far as I am aware I have the usb pathing correct, the zwave portion of the stick is working just fine.
What's the stick?
Nortek HUSBZB-1
And USB1 is the Z-Wave side then?
oooooooooooh. I run HA in docker in unraid. I passed usb0 through as a device, I bet I need to passthrough usb1 as a second device too?
I was thinking it was an all in one passthrough.
Nah, each device path is unique ๐
personal opinion, would you go with zigbee or zwave for battery powered sensors throughout your home?
this is the moment i wish i could post images here
why lol
Power granted - don't abuse it ๐
boom got it working
Well, you need mains powered devices to build the mesh, so ... pick one ๐
Just seems like there are so many more zigbee options.
There's no right answer, or wrong one, pick the solution that works for you
Sadly, you don't get embeds, sorry ๐
I prefer my Z-Wave devices - I can configure them and they're generally more stable.
I like my Zigbee devices - they're cheap ๐
oh, didnt even see i got privileged
is there any docs on source routing in zha+bellows? I couldn't find them
Why can't I? I want that too I have so much greats to share
Does anyone have a UK zigbee power switch that has energy monitoring for a large appliance? I can find a few that have US plugs but struggling for a UK plug.
Washing machine as an example. I'm moving so don't have an example just yet but thinking ahead.
Never heard of Salus. Thanks I'll have a look
I'm sure there's more, but that one I have so I know it ๐
Ah that looks ideal. I don't care for the size of it since it's going to be hidden in the back of a cabinet
The Hive switch does power too - forgot about that
I did look through amazon but a load don't do energy monitoring which was the main purpose I wanted one
Xiaomi Aqara switches do monitor power. But I have no idea if they make them with uk plug.
Fortunately there's pinned hardware lists ๐
There's a few more on the lists, including a bunch of white-label ones
Trouble is, none of the pages say what their supported load is
All good. I'll keep researching. Just wondered if anyone had one that could recommend. Thanks for your help both of you
I haven't loaded either the Hive or the Salus, but both work well
I have a slight preference for the Salus, purely based on size
I've found the Salus on amazon for ยฃ35 so might take a punt and hope I don't burn the house down ๐
The button on the Hive does light up however, if that's a factor that matters ๐
Nah. I have a washing machine in mind so it's going to be behind that anyway
Well, the button for the Salus is on top, so likely more accessible if you need to turn off washing machine manually
(I don't think I've used the button on either since I fitted them... other than ensuring they work)
I've not used any button on my wifi switches either. But trying to move to all zigbee so life is a bit simpler
updated my GoControl HUSBZB-1 to the latest firmware but continue getting zigbee devices fail to checkin - i have powered devices less than 4 feet away from them. but they just checkin once, then miss checkins, then go away. I have 7 Ecolink Wireless Door/Window 4655BC0-R - but 3 of them exhibit this behavior, the others are fine. HA 2021.1.1 on Pi4
Any thoughts on what to try next?
What routers and parents?
how can i tell that?
(also i think you helped me a bit way back in dec - just finally got around to updating my usb stick ๐)
I wonder why update when everything worked fine
if you're replying to me - this is the same behavior as before the update
I'm no expert... But have you tried to pair them again?
many many times ๐
works for an hour or so then just fails to checkin, then goes unavailable
You can tell that from your visualization map in the ZHA config
i think you mentioned that before, but i could not find where that map was in the ui
Zha integration 3rd tab if I'm correct
I can't post pictures here else I would show you
Please use imgur or other image sharing web sites, and share the link here.
ahh i see, thanks
yes, so my front door is connected to the repeater just a few feet away from it, but exhibits this behavior still
Only EZSP to TI works at the moment as a migration. In theory you may be able to do Conbee to EZSP but I don't believe the firmware lets you read all of the network settings
The zigbee.db database only holds information about joined devices. Everything about your network is stored on the stick itself
Not really sure what that all means but I will look it up
I'm pretty new to how zigbee works.
You can convert a backup of a Silicon Labs stick, like the HUSBZB-1, into a backup of a Texas Instruments stick and move your network over
Reverse is also possible but not automated
Oh well I lost everything in the process so I have to start from scratch
It's more like I want to back it up when I set it up this time
So that I don't have to do this all over again in the future
Maybe the Conbee is different but you shouldn't randomly lose your network settings. ZHA has no way to reset them.
No it's just a faulty stick I guess. I can't even connect to it in windows anymore
@crystal socket What is the make/model of the repeater by the front door?
Non-virtualized?
ConBee + VirtualBox
Not the best combination
@amber gull SONOFF S31 Lite Zigbee Smart Plug US Type
How does the nortek work with Virtualbox is it having the same issues?
What's the IEEE of the sonoff S31, just out of curiousity?
IEEE: 00:12:4b:00:1e:72:03:fb - Device Type: Router
A good amount of people using Conbee tend to have issues when also using VirtualBox. It could be that nobody uses the Nortek with VirtualBox here though (and aren't complaining).
You mentioned that there's the constant "device (dis-)connected" sound on Windows. Could you already try to see if another PC also shows the same issue with your stick?
helfire, that's a Texas Instruments IEEE -- what about the parents for your other non working sensors?
Gut feeling would be that the S31 plug is breaking your mesh
Anyone else use the Sonoff S31 Zigbee lite?
Doesn't the entire Sonoff/eWeLink (or whatever they are called...) line use CC2530s?
the 2530 really puts the lite in "lite"
Yep, the sensors do
Z-Stack 3.0.1 woo
So does the S31
FCC filings have massive close-ups of the CC2530. I have a feeling they may not have applied all of the random patches in the TI forums to make their routers more stable
@crystal socket Can you remove the S31 for a few days and see if that helps?
I doubt this is the best place to ask, but does anyone have the Sonoff zigbee bridge? Have there ever even been firmware updates for their sensors?
do their sensor have an OTA cluster?
Pretty sure they do. I'll have to double check
I got an ewelink bulb.. and it doesn't
I bought the S31 because of this behavior - behavior exited before
just checked motion and temp and neither have the OTA cluster
I ran a sonoff S31 lite through christmas for my tree lights, and it did okay, but it was a short time frame.
Lol nope
No wonder they aren't replying to my emails asking about OTA ๐
yup better hope all there devices have perfect FW. lol
So...I shouldn't have bought four motion sensors and two contact? ๐
They tested them really well. Why would you want OTA?
I have tried - but there are 3 other of the same sensors across the room connected to it that never drop
in all seriousness what contact sensor has had an OTA update...
That's fair
Yeah don't run that
It's called OccupancySensor because it's a two button switch and I totally didn't copy/paste the simplest SDK example.
so if other of the same devices are routing fine through the s31, and the firmware update did nothing, should i just RMA the "bad" ones and try new ones? maybe 1/2 those would work too ๐ - then i'd be almost up to all my doors
if the other sensors are taking the same route, then yes -- may be an issue with that sensor or it's location
Assume you have replaced batteries?
indeed, first thing i tried
my garage has the same problem,but the home assistant is only 1 wall and a few feet away from the S31(in the garage) - 2 of the garage sensors show the behavior - so a much cleaner location rf wise, but same behavior
Have you swapped sesnor locations? Put a working reliable sensor in a location that has been having issues, and vice versa?
That would tell you if it's RF/environmental or issue with the sensor
true
These are all the ecolinks? I have several running around and I don't think I could get them to unpair if I tried
yes. and thats why i bought these as i thought they'd be reliable
Did you pay $14 for them on Amazon? ๐ฌ

are the amazon ones worse than a different vendor?
No, was just curious -- bought loads of them on ebay for $4 a pop
ok, but if they're the same devices i'm not sure what it matters for debugging
Hi, I've 3 gang Aqara wall switches, after pairing with ZHA, the domain entity is become light.xxxx instead of switch.xxxx , as 2 gang qara wall switches is fine with switch.xxxx , how to changes this ?
@surreal rune #zigbee-archived message
thank you! will test now..
@amber gull it's working. thank you for assist
Is source routing recommended for EZSP, for a network with more than 50 devices?
Also, any issue with turning it on and off? I assume it would not mess up anything (nor need re-pairing)?
Yes, recommended north of 40 devices
Can be easily turned on and off, should not create any issues, definitely will not do anything with pairing
For all EZSP radios now, it's probably ready for prime time to just be turned on by default
already default in zstack for ZNP radios
Sniffing you will see MTORR cycle every few minutes after enabling too
By the way, I've seen that deconz now allows the user to define manual routes. Is that coming to ZHA? ๐
Got a link to what they did? I assume for outbound routes from the coordinator?
Is that separate from their application-side route planning?
As well as adding features to Zigzag https://github.com/Samantha-uk/one/tree/main/home-assistant/zigzag-panel, I'm interested in adding plugins to support other zigbee integrations than ZHA.
As a straw poll may guide my development effort, I'd appreciate you reacting to this post indicating the zigbee integration you use in Home Assistant.
1๏ธโฃ ZHA
2๏ธโฃ zigbee2mqtt
3๏ธโฃ deCONZ
4๏ธโฃ Other (Reply with what it is)
5๏ธโฃ Other (Reply with what it is)
6๏ธโฃ Other (Reply with what it is)
Would be better to set up a poll on the forum, it'll probably get buried here
Not sure how ... any tips?
When creating a new topic, click the โ๏ธ and then "Build Poll"
That will bring up a wizard ๐งโโ๏ธ
Finally got a ZZH lockup
Yeah it's dead. Nothing at all coming in over serial ๐ฆ
I was talking about the app side routing
I updated the firmware on my ZZH for the first time in a long while. Nothing looks connected on the map and nothing works. ๐ Will it sort itself after a day or so or do I need to redo everything?
taking notes to see if I should just avoid firmware updating the ZZH
hi, could anyone help me with installing a quirk?
๐
@shut zodiac Don't ask to ask, just ask your question. Then people can answer when they're around.
When you do ask a question, try to provide as much background detail as possible. Ask yourself these questions first so that others don't have to:
- What version of the Home Assistant are you running? (remember, last isn't a version)
- What exactly are you trying to do that won't work?
- Is the problem uniform or erratic?
- What's the exact error message?
- When did it arise?
- What exactly don't you "get"?
- Can you share sample code, ideally with line errors where the error occurs?
i am not sure where to start
@strange ibex trying turning on smart outlets, pressing buttons on sensors, etc.
i have done some googling but i am not seeing much
I updated the firmware on my ZZH a few weeks ago, just had to turn some plugs on and off a few times and it seemed fine shortly after that
will do, thanks
I think that was working with motion sensors but couldn't get the lights to do 'er
@sour shadow (look above to calm your nerves)
and no button on the ikea plugs ๐
other than reset button
maybe it sends out a signal if I single press
Turn them off and on again ๐
they aren't connected, lmao
yee, tried. will try some more
Ask them nicely
i mean, i really don't know what else to say. i am wondering if anyone out there can help me from the beginning to install a quirk. i have the file that someone made
Have you looked through the zha-device-handlers documentation for dev instructions? https://github.com/zigpy/zha-device-handlers/#how-to-contribute
If you're not writing a quirk you can skip those parts but it does explain how to install a quirk that has not been included in the repo yet
yeah i am not writing it. they have the .py file already for the sengled switch
Is the quirk not in zha-device-handlers?
In that case you can probably test it out using the instructions in https://github.com/zigpy/zha-device-handlers/#testing-new-releases
But replace zha-quirks==0.0.38 with git+https://github.com/zigpy/zha-device-handlers/
hmmmm
50% chance HA will downgrade the package when it starts up. Not sure how home assistant OS does that.
okay, I think I have everything with a last seen now
I think the mailbox is going to reach too
yay
I was looking like a crazy person out there with a screw driver and might have broken it to where it may split but hey
we will find out
hrmm, not sure if my hue sensor is alive but it is way in the air
so - zha-quirks==0.0.38 would be - git+https://github.com/zigpy/zha-device-handlers/
?
@austere patio or am i not understanding you right
or - zha-quirks==git+https://github.com/zigpy/zha-device-handlers/
The first one
@shut zodiac posted a code wall, it is moved here --> https://paste.ubuntu.com/p/4JkmbBMsdz/
Rule #6: Please do not post codewalls (longer than 15 lines) - use sites such as https://hasteb.in/, https://paste.ubuntu.com/, or others.
Please take the time now to review all of the rules and references in #rules.
Seems like it worked
Someone should update the zha-device-handlers documentation with that git+... URL
Of all the ZHA repos that people would want to install the latest version of, that seems like it would be the most common
ok, so 2019 xmas i switched from smartthings to HA. i lost those switches at that point
someone said, just do something with the events and so on. i had no clue and to this point still didn't so they sit on my desk. today i was looking at blueprints and someone had a blueprint for this switch but you needed to install the quirk
no documentation on it. i thought i had to compile stuff but i am on a vm of home assistant
The benefits of open source lol
Little documentation but in theory anything is possible
lol
you can do anything -- the only limit is yourself http://zombo.com/
if i had my remote audio on i would know what that was. lol
Zigbee.db is for zigpy/zha state. It does not contain network informt which is stored only on the stick. You would need the use deCONZ utility to.retrieve and write down: network key, mac address, pan id, extended pan id, nwk update I'd, channel. With this information you can reconfigure another stick
Does deCONZ expose frame counters?
I guess you could extract those with a sniffer or pick some enormous offset and hope it works
so, I have a friend starting with zigbee... the guy has ikea 10 bulbs connected to a single switch! Is it safe to have 10 devices joining ZHA at once? ๐
I think you can with bulbs and the right coordinator lol
Ikea bulbs and an elelabs stick with zha_ng fw? ๐
I usually just search through the zigbee2mqtt supported devices
They don't expose it. And I don't even know if you can set those, not documented in the protocol. But i know they do not reset counters
Anyone have experience with these door sensors, or sonoffs zigbee line? https://www.itead.cc/sonoff-snzb-04-zigbee-wireless-door-window-sensor.html
what kind of experience?
good or bad. trying to research opinions and all you ever find with google are people having issues ๐
lmao is that your gif
its not me in the gif
how do i change the /dev/ mapping with loosing my devices?
For what? ZHA?
yes i have the integration installed and changed hosts. went from docker to esxi vm and only part that i cant seem to get running is zha
Recursively grep for /dev/ in the folder with configuration.yaml, it's in a JSON file in some hidden directory in there
ok, but unfortunately thats greek to me... i dive on these projects to learn but the WAF is dropping fast... its dark and the lights arent working.
Ah. Lemme find the exact path
The USB path is stored in .storage/core.config_entries, in the same folder as your configuration.yaml file
Thank you @austere patio !
Make a copy of that file first as a backup in case something goes wrong when editing
Gotta commit that to the auto pilot. fortunately the restart was successful. no zha devices yet.
If you enable https://www.home-assistant.io/integrations/zha/#debug-logging and post the log, everything useful should be in there about what's going on with your ZHA setup
FileNotFoundError: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Silicon_Labs_HubZ_Smart_Home_Controller_C0F003D3-if01-port0'
What does ls -l /dev/serial/by-id/ say?
Make sure it's passed through to the VM
i got that from hassos cli ha hardware info
it is passed
oops found it i think
that from the zha page i need to change the "cof....." part
they are all online. thank you! sorry for the copy/paste error.
Snapshot complete, downloaded and backed up.
(ZHA-sonoff ZB Bridge and MoesHY368(TuyaThermostat)) Anyone have problem after last HA update? In my case ZHA lost all min_tem, max_temp readings. And dont work stable.
I'm using a Aqara hub for my zigbee devices atm connected to ha with homekit. But I miss allot of entities like power consumption on the Aqara smart plugs and air pressure on the humidity sensors. Is there a way to get these with homekit. Or do I need to connect these separately with zha? Zha get these values without any problem. And is this a homekit, home assistant, or Aqara problem?
Well, I'd check the status in the HomeKit app - if they show there then it's at least supported and could be a limitation of HA's HomeKit integration
I only use homekit in home assistant I don't have any apple products. But homekit integration works so damn sweet with my hue bridge
When I saw that Aqara hub also supported homekit I was very happy. It works very sweet but missing some info. I think I'll connect the missing ones to the nortek stick when it arrives.
Air pressure is t really interesting. Only the power usage of the plug I need. So I know when the washing machine is ready
I thought maybe there is a way to add these entities somewhere to force them being updated. But I guess if the Aqara hub isn't sending them there is no point of adding them in ha
Well, could be that the hub doesn't expose it over HomeKit.
Could be that HA's HomeKit integration doesn't process that data.
#integrations-archived might know, but given that 99% of folks posting about HomeKit have their questions unanswered I doubt it
Thanks I will look on the internet also. Not allot I can find about homekit and Aqara. I have seen some screenshots of humidity sensors by homekit users where I don't see the airpressure value too. So I guess it's an Aqara hub thing. The easiest way is to just remove the smart plug from the Aqara hub and connect it to the nortek stick. I know for sure that it works in zha. I used it with the conbee2 stick in the past
can anyone help in how I can translate a zigbee command that I run from the cluster gui in zha to a service call?
I am selecting a
cluster id: DanfossThermostatCloster (Endpoint id: 1, Id: 0x0201, Type: in)
cluster attributes: pi_heating_demand (id: 0x0008)
how should this be used in a zha.set_zigbee_cluster_attribute service call either to get or set the value?
Hello. I use a ZBBridge with Tasmota and Home Assistant as described here: https://www.digiblur.com/2020/07/how-to-use-sonoff-zigbee-bridge-with.html
Everything works fine so far. I have soldered an Aqara Motion Sensor so that the notification is sent every 5 seconds. How can I send the duration to the sensor in Home Assistant so that it reports faster?
I have also installed the Node-Red plugin. I could therefore also do it with it. (if it is easier)
Faster than every 5 seconds?
5 or 10 seconds would be good. I thought I only had to re-solder the sensor, but apparently I have to do something else so that the sensor reports the status e.g. every 5 seconds. Currently the status still changes every 90 seconds (like without the hack).
Are there a way to change the 'tholddark' on a Conbee connected Philips Hue Motion Sensor through HA, or do I need to use the deCONZ API?
That'll be on the Tasmota end - it sends the "clear" message AFAIK
@sour shadow i found this page: https://www.bastelbunker.de/aqara-motion-sensor-hack-mod-und-fhem-bzw-home-assistant/
the node-red specifications seem to work only with deCONZ and not with ZBBridge.
Well, in Z2M I can tell it to clear after a second if I want
So, as I said, you'll need to make that change in Tasmota, if it's even possible
ok. thx
Did you backup your stick before doing the firmware upgrade? Then restored the backup after you flashed the new firmware?
Since I'm using ZHA with HassOS, I did a backup on a separate (Linux) PC using zigpy-znp and then flashed the firmware. Restore process of the backup also worked just fine.
@mighty river https://github.com/walthowd/ha-constant-modifier
That will let you configure the reset
Guys, I'm using Z2M with HA. Everything works but when electricity goes off and on again the zigbee devices reconnect but will not report correct state. Main problem are light bulbs. They are off before power outage and on (by default) after power goes back up. But HA still thinks they are off. Did anyone managed to solve it?
works wonderfully. thank you!!
Which brand are they? Normally bulbs should send attribute reports when they are back. When Z2M is still offline, it doesn't receive these of course. I know that ZHA is polling lights every 10-30 (?) minutes or something like that, so that the state will eventually correct itself. I'm unsure how Z2M handles this though.
Mostly IKEA. I did some test and only disconnected power for one bulb and indeed the device only send announce payload and not the state. I was able to force state refresh manually but wondering why Z2M is not doing it automatically.
Might be unrelated, but are they running on the latest firmware?
All public firmware versions should support attribute reporting
They are running old one because OTA does not work right now.
Do you think new FW fixed this?
OTA should be working fine now
(He's running Z2M)
I'll see what happens (with ZHA) on the latest firmware and report back.
Yep, Z2M has long lasting OTA problems because FW images are corrupted.
I turned the light off, then disconnected mains power. (Waited a bit.) Then reconnected the light and after 1-2 seconds it showed as on in the Home Assistant UI. Again, that's with ZHA. But it looks like attribute reporting is working correctly here (or is ZHA polling shortly after a device has (re-)joined the network?)
I found the article about it:
https://www.zigbee2mqtt.io/information/report.html
Changed the settings and will do testing now.
Ah, yeah. They'll pull the OTA stuff from zigpy eventually ๐
should the reconfigure devices be able to rename the devices? I am not able to rename the devices after first discovery
rename it using the cog in the top right of the HA device page
Hey, anyone know what's going on with this error from Z2M?
ERROR: Request 'zigbee2mqtt/bridge/request/permit_join' failed with error: 'SREQ '--> AF - dataRequestExt - {"dstaddrmode":2,"dstaddr":"0x000000000000fffd","destendpoint":242,"dstpanid":0,"srcendpoint":242,"clusterid":33,"transid":3,"options":0,"radius":30,"len":6,"data":{"type":"Buffer","data":[25,4,2,11,254,0]}}' failed with status '(0x10: MEM_ERROR)' (expected '(0x00: SUCCESS)')'
I'm guessing the USB sniffer zigbee stick is out of memory, but I've been using it for over a year without issues.
Try unplugging it and plugging it back in or retrying the request
What version of Z-Stack are you running?
I've reflashed my CC2531 with the SOURCE_ROUTING firmware which seems to have solved the issue
But I still can't pair my old devices, hm.
Maybe I'll give it some time for the network to settle
I think I have a new problem. The latest version of Z2M seems to be mis-identifying my UK sockets as EU sockets. Not sure if that's an issue.
just found out that all double light switches of aqara only show the first button when it is connected through homekit with Home assistant. Are more people having these issues and how could i fix this? Can i some how add the second button manually?
Which sockets ๐
If that's the Lidl one, I see that too, but haven't checked to see if an issue has been opened, or if a fix is in the works
is is just a display issue, or functional?
AFAIK display - everything works
Certainly didn't cause the socket to spontaneously change into an EU one
my sockets show up as other country jazz too
I doubt it matters and doubt I will ever see US plugs ๐
serenade me
Saxaboom!
newbie question: I have 10 Zigbee Ecosmart dimmable lights in my hallway way - I will like to adjust all of them at once. How can I go about that if someone can point me in the right direction. Thanks in advance.
There's also Zigbee groups, how you use them though depends on your chosen integration
I have a whole bunch of osram lightify bulbs that I am hooking up, but a bunch of them are still in devices with separate wall switches and the like. When the ones in the middle of the house are off, the ones near the edges don't work (not a surprise).
What are some good / useful hardwired zigbee devices I could add into the mesh to add some stability?
Well, the problem is most devices connect to one parent
So, the answer is don't turn off the smart bulbs
I can do that for some of them, but a bunch of them only get used like once every few weeks, so leaving them powered all the time is kind of a waste of electricity
Then don't put smart bulbs there
Sounds like you need smart switches not smart bulbs ๐
Smart switches aren't color-changing ๐
If you can live with the possibility of the network failing for a bit after you turn off those lights, its fine
Yeah I don't mind short outages after powering them off
And by a bit, maybe an hour or more ๐
Some devices, like Xiaomi, may not reconnect
The lights need to turned off via the software, but not physically. Power usage in standby mode is neglectable.
sensors, yes. but for mains-powered ones, it should not be noticeable
Have you seen the standby current for these bulbs?
around 0.4 watts per bulb is the listed standby current for the lightify bulbs, it looks like
Those are Zigbee?
No I mean that as a question. I don't think it's very high
multiply that by 15 bulbs, yeah it's only 8 watts
That's what I ment too
@austere patio
deconz now allows user-defined routes... it would allow you to manually set the routes, bypassing those lights
I suspect it's not even 0.4W
Doesn't mean that incoming messages from other devices will take those same paths
ah, its only from coordinator to device?
Yeah, you specify the route that you want the packet to take manually but other devices don't keep track of it, from what I can tell
right. let's forget about deconz then! ๐
They just keep sending replies the way they usually do
73693 for the A19s and 73701 for the BR30s
I think it will be about 20mA to 50mA, which means a little over 0.01w
guess i should find my kill-a-watt and check. That low and i'll just leave them on
i was going by this http://www.tpcdb.com/product.php?id=2622
My uncle uses the KAKU/Trust lights via the ICS-2000, way before I started with Home Assistant (Would like to replace it) he has the lights connected to 230V immediately after the breaker, there is no physical switch inbetween ๐
which admittedly now i'm looking at it is a plug, not a bulb
That means 0.28kWh/day, still quite neglect-able I think. I have this exact one connected to my 1250w bed room heater. ๐
My intention was to put in more of these... With 40-50, I would be looking at about $40 per year of standby power
If you want to have some bulbs that you don't keep powered on, put them on a separate mesh altogether
Or buy WiFi ones
$3/month, quite OK I think.
i mean, the only thing on my zigbee mesh is light bulbs
$40/year is a rounding error in my energy bill ๐คฃ
Yeah, but mesh
WiFi is a point to point thing, turning off one bulb doesn't impact the others
I suppose I could just add a mains powered outlet in a reachable, central location, and then just try it out.
And for the bulbs nearer the middle of the mesh, put them on constant power and use a scene switch
@mossy valley posted a code wall, it is moved here --> https://paste.ubuntu.com/p/mgr42QmNkm/
Oops
if you are OK with control or states failing for a bit when you turn them off, sure...
To quick
but having two zigbee networks would probably be better
@mossy valley posted a code wall, it is moved here --> https://paste.ubuntu.com/p/sy28b35xZD/
Well, I don't have anything to put on the "other" zigbee network. I use zwave for everything except these bulbs
you have some bulbs that are always on, and some that will be toggled, right?
i think I will try that, yes
since the toggled bulbs are only rarely turned on, most other devices will pick alternate parents
at least, i think that's the case?
i definitely have much more experience with how zwave functions under the hood... the decision to add all these zigbee bulbs came from "oh, i can get RGBW bulbs for 5 bucks a piece?"
Zwave functions very similarly to zigbee
zwave devices choose a best path, but they are always aware of alternates, and if a device in their best path goes away, they're generally quick to reroute
Ok, so I was curious and tested this myself with a 1000lm trรฅdfri bulb
0.58W when off
1.5W at 1% brightness, 4W at 50%, and 13W at 100%
So I'm paying ~$15 extra per year to keep 26 Trรฅdfri devices permanently on, assuming these numbers are similar for the outlet switches
Same with Zigbee
The 1000lm bulbs have been discontinued so the newer ones may have even better performance
I assume the ecosmart bulbs radiate 100W even when they're off
They don't even have LEDs inside, it's just overheating components
They're like incandescents: light is the byproduct
Interesting that they decided to make a smart incandescent bulb. Hopefully it's rated for more than 1000 hours
Walt, I ended up making a PR to remove the ota line for that device. I think that is all that would take to prevent my error but not sure. 'hopefully that takes care of it for me. I almost bought a sengled bridge but didn't feel like getting that crazy. It might not even have an update. If you ever do 'er, let me know.
Has someone experience with ZHA device quirks? I'm at the moment working on a custom zigbee device and HA does not show the device as expected
What's the issue?
My device should be a RGB light bulb, but I can only control the brightness
And I'm not sure if its ZHA/HA or my device
Something you would need to factor in on your 15$ month is if you use any automations that saves power, not much but could push that down to 10$
But I do see the cluster group in HA for color control
What's the specific device and what is its signature?
@cold gorge posted a code wall, it is moved here --> https://paste.ubuntu.com/p/V4r87ccwD6/
@cold gorge Rule #6: Please do not post codewalls (longer than 15 lines) - use sites such as https://hasteb.in/, https://paste.ubuntu.com/, or others.
Please take the time now to review all of the rules and references in #rules.
Unrelated, but it looks like the Aqara T1 sensors are starting to pop up: https://old.reddit.com/r/Aqara/comments/kuskin/quick_test_aqara_motion_sensor_t1_rtcgq12lm/
@molten linden ^^ ๐
Configurable detection period from 2s to 199s ๐ฅฒ
With the 5s mod they're just as good
I wonder how battery life will be given that they're constrained by specs now
Your device does have a color cluster so it should be showing up. Quirks are only really necessary to correct device behavior. If your device is normal, it should "just work"
His link to AliExpress store looks like the old stuff? this is original aqara motion sensor fromxiaomi
Yeah. The Aqara website does show Zigbee branding on the sensor so it looks like the real deal
That's what I thought too ๐
Can you enable debug logging and restart ZHA (https://www.home-assistant.io/integrations/zha/#debug-logging )?
It may tell you why ZHA isn't giving your light those capabilities
I am bblind and can't find the model number on that listing
0x102 is the device type for dimmable lights. (nvm: It's 0x101)
What's the output when you read color_capabilities on the Colors cluster through the Home Assistant UI?
The T1 sensors are apparently already out of stock.
I see, I will delete my device again and enable the extra logging
0x0101 is DIMMABLE_LIGHT, 0x0102 is COLOR_DIMMABLE_LIGHT so that looks right
I just finally found that in comments. I am blind. thanks
Yeah, mathces existing quirks https://github.com/zigpy/zha-device-handlers/search?q=258
Ah, sorry, you're right.
what? o.O really?
Nah, it's a joke because the ecosmart bulbs run so hot @golden vessel
Man they now have a double battery one that looks massive
Only a few degrees F hotter then my sengleds actually
Just look at this huge thing https://i.redd.it/hrools2i8m761.jpg
I guess it was 10 degrees F
103F at hottest point on Sengled, 113 F (45C) on Ecosmart
yay, my PR got merged
Ceiling mounted and powered by battery seems like a weird choice
What dafuq puddly
Is that a BR30 aqara bulb?
to be fair, the one on the left is tiny. the big one should be similar to aeotec multisensor, right?
High precision motion sensor
It requires the hub because it's just got a camera in there
Lmao
Human Boday Sensor! https://www.aliexpress.com/item/1005001738449186.html
Confused how you would mount it?
https://share.busheezy.dev/tLCek9.png obviously, you didn't see this
Looks like it's intended to be installed in a recess.
"6 Years Long Battery Life"
The Aqara T-1000
2021-01-13 20:39:02 INFO (MainThread) [zigpy_deconz.zigbee.application] New device joined: 0x8487, f4:ce:36:13:12:ae:0e:17
2021-01-13 20:39:02 INFO (MainThread) [zigpy.application] Device 0x8487 (f4:ce:36:13:12:ae:0e:17) joined the network
2021-01-13 20:39:02 DEBUG (MainThread) [zigpy.application] Device f4:ce:36:13:12:ae:0e:17 changed id (0x0761 => 0x8487)
2021-01-13 20:39:02 DEBUG (MainThread) [zigpy.zdo] [0x8487:zdo] ZDO request ZDOCmd.Device_annce: [0x8487, f4:ce:36:13:12:ae:0e:17, 142]
2021-01-13 20:39:02 DEBUG (MainThread) [zigpy_deconz.zigbee.application] Sending Zigbee request with tsn 118 under 119 request id, data: b'01760200'
so that goes well so far
It tries to match quirks with existing devices
Can you also check color_capabilities by Manage Clusters?
no real issues (but i got a wall full of logs)
woo, walt. I'm already merged into the dev branch on z2m as well. bless koenkk
that guys lives on github, a true animal
I started my day off by trying to make an issue and pressed enter. It made a blank issue so I had to race to get the info in there before he saw it and then I made more mistakes, lmao
Yeah he's usually pretty quick at merging stuff
I've """added support""" for several devices (literally copying and pasting code for a similar device) and it's usually merged within 12 hours
bitmap16.1
Not bitmap16.16?
no
however, using this 'manage' functions i can get/set the hue and such i believe
but if it has to be 16:16 than i have something to search for
It should send 16 for color temperature (4^2)
Maybe I'm remembering wrong. Let me check
I see
1 == 0b0001 according to the spec is "Hue/saturation supported"
16 == 0b1000 is "color temperature supported"
I believe I have the option to change it to .16
ZHA only supports the following masks (https://github.com/home-assistant/core/blob/dev/homeassistant/components/zha/light.py#L64-L66):
CAPABILITIES_COLOR_LOOP = 0x4
CAPABILITIES_COLOR_XY = 0x08
CAPABILITIES_COLOR_TEMP = 0x10
No, 16 is only CCT. It's an RGB+CCT light, right?
I see, I'm recompiling and connecting again
I guess it's possible to make a custom color cluster (in a ZHA quirk) and use _CONSTANT_ATTRIBUTES = {0x400A: 0x0010} to override color capabilities and make Hass show the color wheel? Edit: 24 / 0x18?
Might be easier to fix the firmware in this case if he's writing it ๐
I changed the parameter in my code (for the ones interested; its a nRF52840; I'm planning to create a zigbee nanoleaf clone and later a zigbee plant sensor)
The little USB dongle?
I changed the capability to 16; repaired and now HA is showing color temperature๐
I've got a makerdairy nrf52840 board, it has a debugger and an rgb led;p
Ah. 0x08 in that case may be a better fit, since it'd give you RGB control
Or maybe 0x08 | 0x10
I can or the values? (firmware indicates it; values are 1<<0, 1<<1, etc)
I'm not sure how the Nordic SDK works with that stuff, like if you're manually setting the attribute value or if it sets it based on what capabilities you give the light (or the other way around)
Yeah, it's a bitmask
Thanks for recommending zigbee grouping via zha. that should help remedy the issue I was having dimming all the lights at once.
m_dev_ctx.color_control_attr.set_color_info.current_hue = ZB_ZCL_COLOR_CONTROL_HUE_RED;
m_dev_ctx.color_control_attr.set_color_info.current_saturation = ZB_ZCL_COLOR_CONTROL_CURRENT_SATURATION_MAX_VALUE;
/* Set to use hue & saturation */
m_dev_ctx.color_control_attr.set_color_info.color_mode = ZB_ZCL_COLOR_CONTROL_COLOR_MODE_TEMPERATURE;
m_dev_ctx.color_control_attr.set_color_info.color_temperature = ZB_ZCL_COLOR_CONTROL_COLOR_TEMPERATURE_DEF_VALUE;
m_dev_ctx.color_control_attr.set_color_info.remaining_time = ZB_ZCL_COLOR_CONTROL_REMAINING_TIME_MIN_VALUE;
m_dev_ctx.color_control_attr.set_color_info.color_capabilities = ZB_ZCL_COLOR_CONTROL_CAPABILITIES_COLOR_TEMP | ZB_ZCL_COLOR_CONTROL_CAPABILITIES_X_Y;
/* According to ZCL spec 5.2.2.2.1.12 0x00 shall be set when CurrentHue and CurrentSaturation are used. */
m_dev_ctx.color_control_attr.set_color_info.enhanced_color_mode = 0x00;
/* According to 5.2.2.2.1.10 execute commands when device is off. */
m_dev_ctx.color_control_attr.set_color_info.options = ZB_ZCL_COLOR_CONTROL_OPTIONS_EXECUTE_IF_OFF;
/* According to ZCL spec 5.2.2.2.2 0xFF shall be set when specific value is unknown. */
m_dev_ctx.color_control_attr.set_defined_primaries_info.number_primaries = 0xff;
(please code wall, don't kick me out ;p)
So it looks like you have to manually do it?
If it works it works. Then again this is how quirks happen.
yes, but that's not an issue ๐
I'm an embedded c developer / hardware designer, but this zigbee stack is new to me ๐
Zigbee stacks are not fun but the Nordic one is looking like the best one so far, at least compared to NXP and TI. Maybe EmberZNet is good too.
I'm normally a fan of ST, but their stack is rather new. The silicon labs one would be interresting to try too. The ikea tradfri (at least some) devices use their modu;es
Too bad I can't send pictures, but I've got a color wheel๐
Yay, no quirks needed!
Next goal; adding a sensor endoint such that i can read temperature and such
No quirks needed aaaaaaand most important, I've got hope ๐
later I need to add color effects, but thats for later
I believe in the future you can click "reconfigure device" and ZHA will go through the initialization and discovery process again, so that you don't have to rejoin the device completely
Oh that would be handy;p
I'm now moving between multiple pages and deleting my device all the time
Not 100% sure if that clears the cached node descriptor and attributes but it might
are two endpoints seen as two devices?
In Home Assistant, it's always one device per physical device. There can be multiple lights (entities) when there are multiple endpoints.
That's what I acutally mean
LQI comparison between the ZZH and the launchxl-cc1352p-2 with that horrible capacitor resoldered to use an external antenna: https://i.imgur.com/xnDewhl.png
I think I may have burnt it
Not sure if you can absolutely compare the LQIs like this, though
^
There's a review of various sticks in the pinned messages
That included a bunch of LQI tests
it only processes the binding, reporting configs and retrieves initial values from the clusters.... no discovery is redone
Ah
I burned mine... ๐คฆโโ๏ธ
also why I'm not too excited to try and add an ipex jack to the SM-011 modules I have.. ๐ 
Do you think soldering on a normal sized ceramic capacitor will work? Or is it designed around that tiny thing?
Maybe even bridging it??
I bought some new smd's that matched but just ended up destroying the pads
could try bridging it.
๐ง
Im on ZHA an my devices keepes stop respondin after like 24hours, restart of HA and all fine. Any one with similar issues?
What coordinator are you using? (For example the Sonoff bridge)
@nova canopy That seemed to be an issue with the stock Elelabs firmware -- flashing with firmware from the zha-ng github repo fixes it
I have a bit of a problem with the Tradfri gateway: A few days ago it simply stopped being discovered by Homeassistant. I can still see it on the network though.
I have updated homeassistant, restarted homeassistant and power cycled the gateway - no dice.
So I wonder if anybody has any ideas on what else to try.
Guys is there a way to use a hue bridge as a plain zigbee repeater?
The hue bridge is an coordinator and uses a specific code for connecting. I guess that it's not possible without reflashing
Do you think that's possible? Is there a customer firmware out there?
I keep getting this error in Z2M when trying to load devices in the webUI
Loading devices takes too long time.
Consider reading documentation
It worked when I had only 2 devices connected but now i have 5 and it's broken
The map works perfectly fine
What coordinator?
Who is this directed at?
The person who wrote the question immediately before my message...
(that's you ๐ )
So, the slowest, least powerful, stick ๐
If the Pi4 is running on an SD card that may not be helping
Both of those are try
true*
I know next to nothing about how any of this tech works, but I don't see how the cc2531 stick being weak creates time-outs on the webUI when trying to load devices. Is z2m running off the usb stick?
The stick problem is that it's massively underpowered - it's the training bicycle of the racing motorbike world
I assume (haven't checked) that the stick is queried for that view
I suspect the log file may have details on the problem though
I had 10 devices two days ago and it worked perfectly, but one of my devices weren't connected properly, so i messed around with it and then it started timing out
I don't see any other errors than this:
at Object.getAttribute (/zigbee2mqtt-1.17.0/node_modules/zigbee-herdsman/dist/zcl/utils.js:84:19)
at /zigbee2mqtt-1.17.0/node_modules/zigbee-herdsman/dist/controller/model/endpoint.js:87:36
at Array.map (<anonymous>)
at Endpoint.get configuredReportings [as configuredReportings] (/zigbee2mqtt-1.17.0/node_modules/zigbee-herdsman/dist/controller/model/endpoint.js:83:43)
at /zigbee2mqtt-1.17.0/lib/extension/bridge.js:512:60
at Array.map (<anonymous>)
at Bridge.publishDevices (/zigbee2mqtt-1.17.0/lib/extension/bridge.js:484:50)
at Bridge.onMQTTConnected (/zigbee2mqtt-1.17.0/lib/extension/bridge.js:47:20)
at async Controller.callExtensionMethod (/zigbee2mqtt-1.17.0/lib/controller.js:381:21)
at async Controller.start (/zigbee2mqtt-1.17.0/lib/controller.js:167:9))```
Don't think it's related though
I guess it is origionally meant for development purposes
Yeah, and it mostly works for small setups - but even there it's known to lock up from time to time, needing a power cycle or reset
Dear all, I found this cool zigbee wall remote : https://www.amazon.co.uk/dp/B08G8VTMZN/ref=twister_B08G8VXP9D?_encoding=UTF8&psc=1
I was wondering if this is going to work with ZHA ?
Did you check against the hardware list in the pinned messages?
I looked at blakadder list but it is not there
Then the answer is maybe
i was afraid of that answer
but it looks cool right ?
never saw a remote like that that was able to change the colour of the light from the remote
thanks !
In any case you'll need to configure the whole device so that HA know what it needs to do for each of the buttons. Or am I missing something ?
The whole device, and then automations in HA
if we are talking about colours that's a lot of work
Binding may work, if it's a single bulb/Zigbee group of bulbs
I'd expect for automations through it'd largely be a pass through
well i expect that you'll probably need to listen
then use the payload for your automations
Yeah, but if you connect it to a Zigbee integration the first part is taken care of ๐
i've been playing around with hue and aqara opple
but never to the level of the colours
the biggest problem I have it is only 4 bulbs and i have 5
Using the dev version of z2m for home assistant solved it
Why does it say all over the place on z2m supported devices that legacy integration should be disabled? What is it and why is it on true by default?
How to use device type specific configuration
legacy: Set to false to disable the legacy integration (highly recommended!) (default: true)```
Philips Hue is launching a new switch module to be able to control lights from the "physical switch"
Is there any other similar product with Zigbee? (that would be cheaper than Hue ...)
A xiaomi door sensor! ๐
smaller and cheaper, but requires soldering
I guess a xiaomi leak sensor would be easier (and solder-less), but never opened one
sorry but I don't see how it can act like a switch. I am thinking something like https://sonoff.tech/product/wifi-diy-smart-switches/sonoff-mini but instead of WiFi, it uses Zigbee
There's a load of those - see the pinned messages for lists of known working hardware ๐
sonoff and tuya both have zigbee modules like what hue just announced. search Ali for zigbee 3.0 and they will pop up.
phillips one doesn't act as a switch. it does exactly the same
if you need a relay like the sonoff mini, you have the sonoff zbmini ๐
ah so it is not a relay.
that's an expensive contact sensor ๐คฃ
Ah ok, I misunderstood then ! thanks for clarifying. I also didn't know about zbmini ! very interesting
Hey guys im having paring a aqara temperature sensor. It was previously paired to deconz, but i've switched to ZHA now and it will not pair no matter how many times i try the 5secon reset...
i've checked the logs trying to figure out what the issue might be, but i dont know anything about zigbee internals but i think i've found a difference between one sensor that managed to pair and the one that didnt
The one that worked identified itself with \x0clumi.weather\ and the one that doesnt work is just random hex
hm might be that it identifies itself with a name after it has been paired
Hold the reset button until the blue LED long flashes (if it does restart) or blinks three times. Let go for a second, and then continue to poke it once per second until the sensor is joined
That's what I,'ve been doing, two sensors worked fine.. Two does not
I got my new conzbee today, and i'm trying to setup some of my devices, the light sensor fomr xiaomi worked perfectly, and now i'm trying the wireless switch but that don't work does anybody know why? her the log
ps, it's in the ZHA intergration.
some xiaomi devices have an instant pairing mechanism, others don't (yet). If the device does not become paired in 1 or 2 secs, you need to press the reset button shortly, every 3 seconds until it pairs (to keep the device awake)
ah that could be, as it's and old button.... i
I think buttons don't have the instant pairing thing yet
just short clicks or longer click
and now it just completly ignores everything i do...
sigh
okay for some reason, the button will not connect, could be the distance, so i wanna add my hue bulb, i removed it from the app, but it will not show up in the hass???
You removed the hue bulb from it's bridge with the Hue app?
yup, i also had problem getting the dimmer to reset the bulb but that just seemed to work, now i'm trying to get the bulb to show, it doenst seem like right now...
yeah the bulb is just not showing up...
power cycle bulb, add new devices in ZHA config
If nothing shows up, post pairing log here
Try moving bulb closer if it's a RF issue -- Conbee seems to really like USB extension cables too
My experience (for the newer and older Hue bulbs) always was that they'd immediately go into pairing mode once removed from the Hue hub. Power-cycling them should still leave them in pairing mode.
In order to reset a Hue bulb using the dimmer switch, I think the bulb needs to be turned off and then back on again. Then hold ON and OFF (I and O on EU-remotes) near the light for like 15 seconds. It should start blinking.
While doing all of that, add "Add new Device" for the Zigbee integration and make sure the loading indicator is spinning.
If it's an updated ZB3 hue bulb (the ones with Bluetooth + Zigbee), turning it off and back on again 5 times should also make it go back into pairing mode.
yeah no matter what i try it will not accept any devices, tried different devices, and nothing is showing up right. I also tried rebooting the whole system..... what to do....
uh hold on now i showed holding my breach.
Joining is permitted (first line). Everything else is just data from your (already connected) lights/switches/sensors coming in.
my osram/sylvania/ledvance bulbs in smartthings had color effects... not many, but like a color cycle mode at least.
In ZHA, there is no effect selection at all, and in zigbee2mqtt I see an effect selection, but nothing happens when picking entries... is there something I'm missing here? Do the device files need to be changed somehow?
At least on ZHA, I'm seeing the effect dropdown menu (colorloop as the only option) under the color wheel in Home Assistant for (old) OSRAM lights.
hmm. on mine the dropdown wouldn't even load.
in zigbee2mqtt the options are blink, breathe, okay, channel_change, finish_effect, and stop_effect... i'm not even sure what most of those would mean as an effect setting
siiiiiiiiiiiiigh so yeah the switch will not show up at all.
okay so got the button working.....
Is there a library somewhere with a list on the different event the differect switches will send?
Hello, im using zigbee thermostat meos but-002, but sometimes thermostat blocked due to incorrect local temp 6560, can same one have similar issue?
Bht-002, zigbee2mqtt - https://www.zigbee2mqtt.io/devices/BHT-002-GCLZB.html
If you're using ZHA, listen for zha_event to see the events that come in.
For Hue Dimmers, the events are changed and these are automatically exposed as device triggers in Home Assistant:
https://github.com/zigpy/zha-device-handlers/blob/8379e1d18bd5eaeb699a3da5cbf48a75eaf916d7/zhaquirks/philips/__init__.py#L37-L70
right, reinstalled the deconz docker and set it up with another ip and such. I'm logged in and can turn on lamps. However, in home assistant, i removed the integration to set it for the new IP but when i try to add it now i just get "Couldn't get an API key"
Hello there. I recently bought conbee 2. Kinda expected this to be plug n play, but doesn't seem the case. How do I add zigbee capabilities to my homeassistant? Installed on raspberypi in python venv
Have you added the ZHA integration?
zha?
oh, zigbee home automation. No, it looks like it installs it now. But I did added something? Dunno what then
ZHA is about as plug-and-play as you can get
deCONZ can also use the Conbee, as can Zigbee2MQTT
You may have added one of those as well. If that's the case, you have to pick one and remove the others.
is this ZNP or TI_CC? https://www.tindie.com/products/slaesh/cc2652-zigbee-coordinator-or-openthread-router/
Is ZHA unable to probe your device?
That's the only time you would be asked to explicitly pick a radio library
I've got my zigbee stick -> zigbee2mqtt docker -> now I'm trying to setup ZHA
ah I see. what do you recommend for getting my zigbee stick to recognize in HA?
If you want to use ZHA, you don't need to setup any other containers
It's built into HA and all you do is add the integration
On the other hand.. if you have z2m already, just use that
That's what Zigbee2MQTT people always say
Everyone has their preferred flavour.
If I can get it to work in an outside docker I would use it
I mean, if it's already setup how do I see my devices in HA?
You just need MQTT autodiscovery enabled. They'll just appear.
If you already have Z2M try Z2M. ZHA doesn't obliterate your network settings (unlike Z2M) so if you don't like Z2M, your network will be preserved when you switch to ZHA.
do items get stored in the zigbee stick like they do the zwave stick?
With ZHA, the network settings are stored on the stick
With Z2M they're also stored on the stick but if they don't match what's in your Z2M config, it'll re-form your network
Received message from unsupported device with Zigbee model 'undefined' and manufacturer name 'undefined'
Are you trying to join a Xiaomi sensor?
lol yes - I previously paired it and had it working, but my entire HA setup and containers were nuked
Hmm. I dunno how Z2M handles devices already on your network but not known to Z2M so I'd ask someone who uses Z2M
When I attempt to re-pair Aqara stuff, it goes through the full leaving / joining flow.
But if you're getting undefined, just keep trying.
maybe I'll try to unpair it and re-pair
well I just held down the button and now it showed up in devices. big win
zigbee just seems so much more responsive than zwave for me
siiiiiigh so i got the xiaomi switch in, and i could see it in the zha_event listerne, i made a automation to trigger on it, restarted hass, now i can't see the switch in zha_event, and the automation doen'st trigger.
can both and ZHA and deconz talk with the stick, to test if it's the intergration or sometinge else...
@austere patio oh contraire #zigbee-archived message
Dafuq
and as far as i can see it's in the vizualtion....
yes. i can see it has this weired red refresh symboll in the status row.
it's a button.
the hue bulb and light sensor seems to be working.
Enabling https://www.home-assistant.io/integrations/zha/#debug-logging and looking at the log while you press buttons will let you know if it's still on your network
Though I think ZHA will update the "last seen" on the device page as well if you refresh
if i click the button the last seen get's updated.... i'll add the debug level
So it's on your network. Does subscribing to all zha_events show it?
nope
So I'm at a point where the only reason my Hue bridge is still hooked up is to be able to use Hue Essentials to run disco lighting routines in the living room.
Is there any suite of tools to do something like this in Zigbee2MQTT?
Long route or easy way?
this is the log from a button click
https://pastebin.ubuntu.com/p/rfdChSNhtZ/
@simple sentinel nope
That's for lumi_lumi_sen_ill_mgl01_fb6e783c_illuminance
yeah just saw, then i don't think it show in the log....
๐ข
If "last seen" updates then the device is on the network and sending stuff so you 100% would be getting stuff in the log
@simple sentinel https://github.com/marcelveldt/hass_emulated_hue ?
Ha, I stand corrected
this is the log right after a clikc
https://pastebin.ubuntu.com/p/JCfMBsZVGZ/
I'm not sure what part of the disco routines come from what component
Will read interest! many thanksssss
I've ditched disco for sea shanties personally ๐
I can never show my face avatar here again
unknown endpoint or cluster id: 'No cluster ID 0x0006 on (00:15:8d:00:01:1c:0b:f9, 1)'
Seems like it didn't join properly the first time
yes that is the one.
This may be one of the devices without fast Xiaomi joining support so you have to make sure it goes through the whole process
SIIIIIIIIIIIIIIIIIGH I'll try again......
Just make sure to keep poking something to keep it awake every second
i think i did, got it in and the zha was green said it was done...
how can i then see if it's in propperly?
The green thing should indicate that it is but I'd look at the joining log to be sure
okay i'll try again and post the log...
Can you post/send me your entire HA startup log? That will contain all of the stored info about the switch
I'd join in any Shanty that was in AC4: Black Flag ๐
i'll dm you as soon as it's uploaded...
Hi guys, hope someone can point me in the right direction (or right place to ask the question). I updated my RPI 4 with HA supervised and ever since this error occurs a lot and my zigbee devices stop working after a while...
Error doing job: Exception in callback SerialTransport._read_ready()
Traceback (most recent call last):
File "/usr/local/lib/python3.8/asyncio/events.py", line 81, in _run
self._context.run(self._callback, *self._args)
File "/usr/local/lib/python3.8/site-packages/serial_asyncio/init.py", line 119, in _read_ready
self._protocol.data_received(data)
File "/usr/local/lib/python3.8/site-packages/zigpy_zigate/uart.py", line 60, in data_received
cmd, length, checksum, f_data, lqi = struct.unpack('!HHB%dsB' % (len(frame) - 6), frame)
struct.error: bad char in struct format
That doesn't look good
Can you enable https://www.home-assistant.io/integrations/zha/#debug-logging and post the surrounding log lines?
len(frame) is probably less than 6 and this is a bug with zigpy-zigate
It's an issue with zigpy-zigate so if you want to open the GitHub issue, the URL is here: https://github.com/zigpy/zigpy-zigate/issues/new
Thank you. And for my understanding. This error also occurs:
Error doing job: Exception in callback SerialTransport._read_ready()
Traceback (most recent call last):
File "/usr/local/lib/python3.8/asyncio/events.py", line 81, in _run
self._context.run(self._callback, *self._args)
File "/usr/local/lib/python3.8/site-packages/serial_asyncio/init.py", line 119, in _read_ready
self._protocol.data_received(data)
File "/usr/local/lib/python3.8/site-packages/dsmr_parser/clients/protocol.py", line 91, in data_received
data = data.decode('ascii')
UnicodeDecodeError: 'ascii' codec can't decode byte 0x80 in position 1: ordinal not in range(128)
That's with another package
But that looks related to dsmr (which i disabled)
Anyone know where i can find a zigbee wall outlet that either allows you to address either outlet independently or only has one hooked up for remote control?
okay I give up. Is there some magic trick to add that zha integration?
for me, it worked just fine. until last night, when it didn't
it rotates that loading circle for X minutes then fails
If you're having problems with your updates to your configuration:
- Check the troubleshooting steps
- Check your log file - remembering you may need to set logger to
infoordebug - Explain what the problem you're having is - sharing configuration, errors, and logs
Adding the integration or adding a device?
@faint elm did you solve the iussue with deconz?
ive got stuff to run a z2m raspberry pi setup and some ikea bulbs ready to go for tomorrow when i move. anyone have any switch solutions for fan fixtures etc. and would putting zigbee bulbs in the fan fixture not be the way to go?
not sure if this is more of a devices or zigbee question since i am kind of going to zigbee for now
For devices, have a look at the pinned messages for a hardware list
Personally I recommend not turning off the power to Zigbee bulbs
Others who do that discover that it breaks their mesh, and devices stop working because the mesh is broken ๐
@austere patio adding integration
Enable https://www.home-assistant.io/integrations/zha/#debug-logging, should have more context
Do you have deCONZ and other stuff that can possibly be trying to use the stick disabled?
no
No, as in you have deCONZ running as well?
http://paste.debian.net/1181156/ from log
no, I don't have deconz, at least I haven't installed/activated it, whatever that is
If pip install is broken you probably have more going on with your HA core setup
Look at home-assistant.log, it'll contain everything. The logs within the web UI don't.
home-assistant.log http://paste.debian.net/1181157/
Something with your Python installation is broken
great
Yeah, pip install RPi.GPIO doesn't work
homeassistant.requirements.RequirementsNotFound: Requirements for zha not found: ['zigpy-zigate==0.7.3'].
Google says it might be an incompatibility with GCC 10: https://archlinuxarm.org/forum/viewtopic.php?f=9&t=14731#p64598
If you install that specific Python package into the virtual environment yourself it should work fine after that
ZHA requires all of its radio libraries to be present before it can start up because it autodetects the correct one for a given serial device
as in not turning the switch off or the light completely off? id assume turning switch off and cutting the power but im not sure if lights kind of turn off their "meshing" capabilities when they are not lighting up
If you cut the power, they're bricks
If you turn off the light using Zigbee, then they're still powered on and working as routers
will i be able to make the switches in there turn off the lights the way needed?
as well as still have color etc.?
Depends entirely on whether the unit has two power switches, one for the fan and one for the lights
well for example, this: https://www.zigbee2mqtt.io/devices/PM-S340-ZB.html
would this be able to for example do lights in the fan on 1 fan on 2 and something else on 3? or am i not thinking about it correctly?
It looks like it'll control three devices, controlling the power to them
If your fan has two power inputs, one for the lights, and one for the fan, then that'll turn the power on and off to those - assuming the fan doesn't burn it out
would it be able to for example put a scene on in the room?
No idea, that looks to be a switch (well, dimmer type switch given there's no neutral)
If you want scenes then you need something that's a remote, not a switch
something more along the lines of this then? https://www.zigbee2mqtt.io/devices/ZB-5121.html
Possibly
thanks. im still pretty confused on what will and wont work together the way im going to want but im sure ill learn more as i go here
how long does it take to install the zigbee integration? I fooled it to use gcc-8 and installed zigbe-zigate manually, then tried again from web ui. It's been installing for some time now, over 5 minutes, home-assistant.log doesn't show any new errors though (don't know when they are appended, in real-time or when the command finishes)
the zigbee integration
There are 3. Which one?
https://www.zigbee2mqtt.io/devices/WXCJKG13LM.html does "action" mean that it would control things the way im looking then?
i see a lot of these things say "lighting" so
does "action" mean that it would control things the way im looking then?
We're not mind readers, so you'll have to tell us what you're hoping it'll do.
But the page clearly describes the actions you'll see in HA: https://www.zigbee2mqtt.io/devices/WXCJKG13LM.html#action-enum
What you do with them is up to you... you'd build #automations-archived based on those actions.
sorry by that i mean would this be a smart way of having smart bulbs in fan fixtures and allowing them to still have color etc. and able to do a scene on a button press while still powering lights to keep the mesh going etc.?
while also solving people turning off the switches
well looking at it i dont think it will. im not seeing any wiring on the back of this.
im not completely sure though
@dry fossil I only see one - zigbe home automation? in integrations
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.
There are 3 ways to set up Zigbee.
Either way, you shouldn't be screwing with installing things yourself.
Why are you running random commands?
random commands?
like, going to the web UI, config, integrations and adding integration there?
It doesn't need wires on the back. It's a wireless button panel. If you want to keep your lights always powered-on, you just remove the wall switches and connect the circuit yourself. Then the buttons and HA can control smart bulbs.
I fooled it to use gcc-8 and installed zigbe-zigate manually
yes, cause it otherwise failed
And... you haven't said how it failed. Provide error messages and logs.
Please use https://paste.ubuntu.com/ or https://www.hastebin.com/ to share code or logs.
I did
ZHA is built in. You don't need to run any commands behind the scenes to get it going.
apparently not
it looks like it installs missing modules via pip in background
and it failed, log said failed to install zigbee-zigate, the exact message is in links I posted ~30 messages earlier, around 21:25
someone hinted that it can be due to gcc10, and it seems to be correct, cause it worked with gcc-8

