#zigbee-archived
1 messages · Page 134 of 1
yeah zigbee2mqtt too
oh theres a temperature_precision option
Making an assumption here, but I think its number of decimal places for the data. i.e 0 = integers, 1 = 1d.p., 2 = 2d.p.
ok will test that theory
didn't seem to work
this eludes that it should though
oh wait, now its showing in HA as 18.26
also, anyone use the temp sensor in the aqara door sensors? are they accurate even when calibrated/corrected?
Pretty sure they are temp sensors on some chip
So no, probably not accurate even if calibrated
I have a few round the house - seem to vary wildly compared to aqara temp/humidity sensors in the same rooms
Fair enough. Won’t add them in to my mix haha
what are zigbee groups?
devices in a group listen and respond to broadcast messages
so they will theoretically all respond at the same time
vs unicast messages sent to each device
for a group the coordinator will send a single broadcast message to the group, the members of the group will all respond. vs the coordinator sending each device a message one after the other.
ah
i wonder is there any way to make zigbee devices able to talk to each other without a coordinator?
direct binding
Anyone use zigbee smart blinds? Was looking at the ikea ones today and wondering how hard they’d be to hack apart and modify to suit the window sizes we have. Came across this one...
https://www.ikeahackers.net/2020/05/ikea-kadrilj-motorized-blinds.html
hook up rob said they were a pain to modify. i dont have them though
Yeah I’m thinking they would be... probably a DIY project I’d half get through and give up on, then the other half would lay it on again for years 😂
They wouldn't be too hard to mod, it'd just be ugly by the time you're done.
I think the motor's at one end, with the other end just being a bearing. Nothing stopping you chopping some material off the bearing end (the rod, the blind itself, the housing...)
Can anyone help me with a problem I have with ZHA not working since I migrated from an RPi to an Odroid? I have an error "could not open port....etc". I've spent all day searching the forums and internet (and I've put a post on the forum too, but as yet, no had reply).
What installation method?
Thanks for the clarification @jolly narwhal, I know they all run on a local network first, but don't most zigbee boxes require an internet connection as well? Ideally, I only want it to interface with HA for some basic controls.
An example of this is the Samsung Smartthings hub.
@mighty river nope, my zigbee2mqtt is a raspberry pi 🤢 all communication happens locally via a zzh stick
The propitary hubs like Samsung smartthings and Philips hue can work locally, but are shite
Okay, does that mean that I just need zzh stick to be able to "read" zigbee's signal and that should be it for picking up the sensor?
zigbee boxes
If you're referring to hubs, burn them and use something else.
@waxen tinsel There are three Zigbee options with Home Assistant (regardless of how you install it). These are:
deCONZ is relatively stable and mature with its own UI (and Discord server). It can run in an add-on, in a Docker container, or natively. Only the ConBee range of sticks and RaspBee GPIO boards are supported. Known working devices are documented, and how to request support for a new device is documented too (you can't add unsupported devices yourself).
zha is actively developed as part of Home Assistant Core, using the zigpy stack, the UI also being part of Home Assistant. The EmberZNet based sticks are recommended, but there are other options. There is no list of supported devices, as any standards compliant device should work. Devices that require extra support are listed, and adding unsupported devices is documented (you can't add unsupported devices yourself).
Zigbee2MQTT is very actively developed and can run in an add-on, in a Docker container, and natively. As of 1.15 has a native UI, and it also uses MQTT for control and configuration. It supports mostly TI based sticks, with the recommended options being the Zig-Ah-Zig-Ah!, Slaesh's stick (though be aware of the well documented communication problems with the seller), Tube's CC2652P2 based coordinators and the TI Launch-XL boards. The known working devices are well documented (which usually includes how to pair them so you don't have to find the manual), and adding unsupported devices is also documented.
I don't think anyone built networks that big. Reading between the lines, I don't zigbee is very good at hyper scale, e.g. 400 devices and up. It also depends how many of those devices are routers vs end devices. That's why they made changes in the thread protocol, like having max of 64 routers in a thread domain. If you want a network that large, you probably should go thread, but are there any thread devices currently?
I took a full snapshot from the RPI, fired up the Odroid (which came with HA pre-installed - same spec as "Blue" just with a different case) and then powered down the RPi and restored the snapshot on the Odroid. Everything works apart from the ZHA integration. I'm using a Conbee 11 stick. The integration shows errors - "could not open port etc" and "no such file or directory...."
Yeah, exactly. I got a Philips Hue Bridge for free but from what I'm reading on so far Ill probably end up not using it.
My end goal is to have a singular interface for:
Philips Hue lights
5 cameras (Raolinks)
7 heaters that have Google Assistant support
Samsung Washer/Dryer
Motion and door sensors to control heaters and cameras
My thinking so far is that I'll have a Pi running HA (cameras handled separately) and I'll add a ZZH stick to it.
What I need to figure out now is if most zegbee sensors would work like this or if they're proprietary and require their own hub i.e Samsung's.
ZigBee 1.2 is almost a proper standard
And adding support for new devices is easy on Zigbee2mqtt
@brittle iron then probably the serial port changed, but I have no idea how #330990055533576204 does that
Hey 🙂
I am looking to get some SONOFF Zigbee Sesnsors & a CC2531 Zigbee2MQTT USB Antenna
Am I right in saying the USB Antenna counts at the Zigbee Bridge?
A horrible one?
Any other suggestions ? 🙂
On, and the Sonoff sensors seem to be pretty junk

Oh!!
Any suggestions on better ones then? haha
Xiaomi
And for coordinators, look at the pinned messages
Will do 🙂
Will pick it up the ConBee II or Zig-Ah-Zig-Ah
Conbee 
Zig-Ah it is hahah
Assuming you're in the UK, it's the best choice
The wait isn't usually that long.
You should
Ideally, yes. Just to keep it away from the USB socket and avoid interference.
Especially if using USB3.
Do you happen to know if I remove the ZHA integration and re-install it, would that fix it? Would I have re-pair all the devices with the Conbee stick??
It should, if the path changed, and no you won't
Thanks - I'll give that a go.
Well, deleting ZHA and reinstalling it kind of worked. The devices were (re) discovered but all the device names and entity names have changed, and the area information has been lost. So, the dashboard now contains numerous "entity no available" errors. And many of my automations will have to be changed to refer to the new entity ID. Because I have many devices of the same types, I have no idea which device is located where or which entity is which as far as the lovelace dashboard and my automations are concerned. This is going to take me days to sort out......
Device path is not the same on the new device? If you get no such file or directory, then it wouldn't work.
Also, check the breaking changes in the release notes, if that's applicable to you
@brittle iron no idea how zha does that, for me it is all stored in yaml with zigbee2mqtt and will easily be restored from a backup if I reinstalled or moved to another host
You might want to figure out how to backup stuff with zha if you want to continue using it
Does anyone have issues with light refraction with sensors on exterior facing windows ?
My xiaomi vibration sensors get their adhesive cooked during the summer and they keep falling off every couple months
That wasn't as bad as I thought it was going to be. I've managed to sort out which zigbee device is which and set them to their correct areas. Then I've changed all the default entity names to those which I had before and which were showing as not available. As I changed each entity name, it showed correctly on the dashboard all the automations work again. It was a bit of an iterative process to see what the entity names were before and change them back. I have no idea why the migration via a snapshot restore screwed up the path, the device area assignments and the entity IDs but I'm now back up and running. Apart from one device which I'll delete and re-install.
This is probably going to prove to be a dangerous question for me, but does anyone have an example of using the zha.issue_cluster_command service to send a cluster command with arguments? I'm still trying to get the colorloop effect to work again on some of my bulbs.
This has an example for the OTA cluster (25 is 0x0019) https://old.reddit.com/r/homeassistant/comments/fak430/how_to_update_your_ikea_or_ledevance_firmware/
But the color loop command set is a little complicated, from what I see
What's the exact command you're trying to send?
Heh, honestly I haven't quite figured that out yet. Still looking at the Zigbee spec for that command
Is there a way to get a list of zigbee entities or devices with the ieee + entity id as a list? api call, or dump it to a csv / text file somewhere?
I'd love to somehow sniff the command that my RGBGenie remote sends; after firmware updating my bulbs Home Assistant doesn't see the colorloop capability anymore but the RGBGenie remote has no problem triggering it on the bound groups
Do you have a second coordinator of any kind?
Nope
If you have a SiLabs coordinator you can get it to act as a sniffer temporarily. If your remote is directly bound to the bulb it might be possible to sniff it. But that may not be necessary. What does the zigbee device signature for your newly-updated bulb look like?
Also this one: https://paste.ubuntu.com/p/RwKnT4yS44/
One or the other of them never showed the colorloop in HA, the other one showed it until the firmware updated. I forget which was which. But the RGBGenie remote can trigger it on both models.
What does reading the color_capabilities attribute of the first bulb give you?
bitmap16.16|8|1
Missing bit 4, IIRC. I think it just doesn't advertise the colorloop capability, but the remote doesn't care and sends the command anyway.
Yeah, <ColorCapabilities.Color_temperature|XY_attributes|Hue_and_saturation: 25>
No color loop
What version of HA are you running?
That should have custom quirk support
If you don't want to edit the quirk itself
Try adding _CONSTANT_ATTRIBUTES = {0x400A: 29} to the quirk class, that should fake the attribute read so that ZHA thinks the bulb reports that it supports color loops
(if you've not already tried this)
Aha, I think that's what I was missing from my last attempt at hacking the quirk. I don't remember exactly what I did, but I certainly didn't quite know what I was doing.
Didn't find very many other quirks that override attributes, so I didn't have much inspiration to draw from
I will give that a try later and see just how badly I can break some things 😄
In theory it should "just work". If you want to avoid editing the quirks library directly, make a new folder in /config/zha_custom_quirks/ and make that ZHA config option point to this directory. You can then download or copy/paste the contents of https://github.com/zigpy/zha-device-handlers/blob/2f9b0c33e08dfbddb703e44ce017e0a0a9315562/zhaquirks/ledvance/a19rgbw.py into this folder and externally edit it.
Yeah, that's my plan now. Last time I think I just overrode the quirks library entirely using custom deps. custom_quirks_path should be much more elegant.
If I could also find a way to control the individual color channels on the bulbs directly, I'd be ecstatic. They're very washed out compared to my Sengled bulbs, as if maybe the white LEDs are staying on. RGB ff0000 on the Sengleds is very red. On the others, it's pretty orangeish.
Heh I think I just confirmed it. Discovered the RGBGenie remote has a button you can double-click to turn off the RGB channels. Set the light to red, double-clicked, and it's left in a dim warm white.
So it's a RGBW bulb?
Yeah. I'm not sure if it's RGBWW or RGB+CCT, or even what the difference is. But it's got tunable color temperature, definitely using separate LEDs from the RGB ones.
I've tried using the new color modes in the light.turn_on service, but I don't think ZHA got support for the new color mode system yet
Hmm. I don't have any color bulbs to test with but maybe it's some peculiarity with how this bulb's level control and color clusters work together
I have this weird issue where all my temperature sensors seem to see the same spikes in data, regardless of where they are or what type of device they are
It just doesn't seem to have the good sense to turn off the white channels when it should. Behavior is the same from HA or the bound remote
What sensors are they?
one is a Xiaomi temperature/humidity sensor indoors, the other is a phillips motion sensor that happens to do temperature that is outdoors
I don't think I've ever had an Aqara sensor send weird data like that, only obviously nonsensical values like -1000, which are filtered out
Are you sure it isn't an actual temperature change?
its just weird how its doing it across multiple devices at the same time
no, one of the devices in that screenshot I sent is indoors and the other is outdoors, and its late evening here so temperature is definitely just falling
It's probably not a Zigbee problem then but I'd enable debug logging for your integration so you can for sure rule it out
Well, per the discussion above, I started poking at the quirk for my OSRAM lights. It looks like I can't just add _CONSTANT_ATTRIBUTES to the bulb's CustomDevice class; I need to make a custom Color cluster class, I think..
There's not much documentation I can find for the structure of a zha-device-handler class.
I was pretty sure I figured it out now, but these OSRAM bulbs just report None for their color_capabilites cluster, even before I messed with the quirk I think.
I'll try the LEDVANCE ones...
@austere patio posted a code wall, it is moved here --> https://paste.ubuntu.com/p/z9YgJZMTzj/
Hey, most of those lines were empty. But the bot moved my slightly too long code block to that paste, @naive ivy
Thanks, yeah that's kinda what I'm doing now, still working on the OSRAM lights. They're still returning None for color_capabilities so far. I'm not entirely certain HA is actually using my custom quirk. I probably should enable some debug logging
Debug logging would tell you which quirk is chosen (and if yours isn't, why). You can also rename the quirk class to something unique (like McSteveLedvanceA19RGBW) and the ZHA device page will you tell you which quirk is in use.
If you are trying the ZHA custom quirks feature, I'm not sure if I mentioned it earlier, but make sure to create a zha_custom_quirks/__init__.py file.
It's not been formally documented yet so if that's not working give the old edit-the-zhaquirks-package-directly method a try
Yeah, I think I'll just try that. I'm not real sure what kind of file/folder structure custom_quirks is expecting
Of course now I can't remember exactly how I did that before 😄 ...Drop the zha_device_handlers package into /config/deps?
I think it has to be like /config/deps/zhaquirks, with zhaquirks containing all of the device subfolders
Let me check with the OS
This is definitely turning into a "25 open Chrome tabs" sort of project
Looks like /config/deps/lib/python3.8/site-packages/zhaquirks or something similar
Oh I remember, last time I was messing with this I just used the custom deps addon to pull a newer zha-device-handler package from pypi
I bet that had put it in /deps for me
Yeah, that addon definitely can cause issues with dependency versions if downgrades zhaquirks according to its config. But if you let it install the latest release (0.0.57 in the latest HA, I believe), you should be able to edit that package from within the deps folder
Good enough for experimental purposes, until I figure out how the custom quirks dir should be used
Progress. It's definitely using my quirk now. Still returning None for the capabilities cluster, though
I added class MyColorCluster(CustomCluster, Color): _CONSTANT_ATTRIBUTES: {0x400A: 29} and changed Color in the replacement clusters to MyColorCluster
I think I did pretty much exactly what someone did for this one: https://github.com/zigpy/zha-device-handlers/blob/2f9b0c33e08dfbddb703e44ce017e0a0a9315562/zhaquirks/osram/tunablewhite.py so I'm not sure yet what I'm missing
And the Ledvance bulb is displaying None when you read the attribute?
Omg I found it. I had a colon where an equals sign was called for..
Success! sorta. I did what I set out to do anyway; HA now thinks the light supports colorloop
It doesn't actually work, but it's there 😄
I think these OSRAMs were the bulbs that didn't originally support colorloop in HA anyway, so maybe I'll have better luck with the LEDVANCE bulbs
The 29 value is for the LEDVANCE bulb specifically (it'll be a lot clearer once the new version of zigpy is released that maps out what the bits in that bitfield represent, specifically https://github.com/zigpy/zigpy/blob/8f1f2cb4568b71a2a7eb8c1e09d38a159057469c/zigpy/zcl/clusters/lighting.py#L23-L28)
I'm almost certain the initial cap flags of the OSRAM were identical, but I'll double check that to be sure
When automation is turning off lights, sometimes a few lights don't get turned off immediately. And rarely they stay on until manually shut off. I suspect the Hue bridge more than anything, but how could I be sure? I kind of like having the Hue bridge, should anything happen to HA, I still have a way to control my lights... Thoughts?
Use ZigBee groups / hue groups
Does the same thing happen?
Those will be less stressful on the network atleast
That's something to try. I don't have that many lights though, but may still be a better option to use. Thanks!
i'm having intermittent issues in receiving updates for my WSDCGQ11LM sensors. They used to work fine and send updates frequently. Only thing that could be an issue is 2.4GHZ interference from my neighbours WIFI. I've configured my SSID's to broadcast on a channel that does not interfere with my Zigbee channel.
I've checked all the usual suspects like downgrading firmware, setting debounce: 1 and qos: 1 in the Zigbee2MQTT configuration. Batteries are all replaced (bought those expensive Philips CR3032 ones for 3,50 a piece) still no luck
Weird thing is, i have two that do function fine, and two that don't. I might try swapping them to see if it's the location that is causing it (and maybe pointing it to channel interference)
Does anyone else have an clue or experience in these issues?
do you have sufficient amount of routers ? that actually work and don't get powered off frequently ?
I have a single CC2531 router, two ZNCZ04LM, one ZNCZ03LM and some Ikea GU10 bulbs that act as a router. So assuming that's enough. Also checked if one of the bulbs are connected via a incompatible router, which it isn't (don't have incompatible routers in my network)
oh, yeah i ment coordinator
😦
so the worst possible option
QOS and debounce have no impact on the Zigbee mesh though
and depending on the placement maybe directly connected to the temp sensor and not going through a gu10 🤷
open the map and check
which one should i get then? CC2538 or the 2592?
The ones that are upstairs and outside in the shed work fine, the one that is in my network rack and living room isn't working.
Ahh, the one with the antenna. Allrite i'll check if i can get one in the near future
the one that is in my network rack
Sounds like RF interference/all that metal blocking them
it worked for 2 years, and do not have a metal rack as in a 19" cabinet or something. Just two Microservers and a NUC in a network closet
I'll order a CC2652, try moving the sensors around to rule out sensor issues and/or placement
I'll upgrade Zigbee2MQTT to the latest version as well as that had some features i really liked. Currently running 1.14.3 as that was my firmware before all the issues started
But since downgrading didn't fix my issues, i ruled out firmware being the cause.
was on 1.18.1 haha
So, the good news is that the software has nothing to do with the device communication - that's entirely between the stick and the device
Upgrading and downgrading won't cause devices to misbehave
Allright, good to know. Didn't know so i was trying to rule out stuff by downgrading
Want to do some automations based on these sensors, and would like to have recent data. Not data from 2 hours ago
Also, one of the misbehaving sensors had a really weird graph, from 14:00 to 04:45 it was updating only every 2 hours, and after that it suddenly started updating on every 0.01 temperature change 🥲 Can't post pictures here but if you want i can upload to Imgur
None of my temp sensors do anything out of the ordinary
But you have (assuming) the CC2652 coordinator? 😃 And no RF inteference?
well, I don't have temperature sensors inside metal cages either 😄
No i don't either
but I do have 6 active access points + bluetooth devices all around my house
I had no issues on the CC2531 either, but I did ensure I had a strong mesh
Hmm yeah. Well i'll order a CC2652 for ~25eur so i can retire my CC2531 after 3.5 years now. the CC2652 has a added bonus for me as i can flash the thing myself without buying a debugger.
Another quick question, what's the difference between the CC2652p, CC2652RB and the CC2652P2?
Power
Trying to digest the data sheets on those but a lot to take in
Sweet, so the R is preferred over the P?
P is preferred, since it's more sensitive/can transmit with more power (with the right firmware)
It's also more expensive AFAIK, which is why most folks started with the basic unit
I should reuse my 1352P2 for something soon
if only some cool sub ghz stuff was avaliable
I could use that instead of LoRA perhaps
for up to 100km range
Eh, just crank up the transmit power

Thanks for the quick responses and information guys!
anyone care to explain how the aqara vibration sensors work? Have slapped one on our dishwasher and it exposes strength which I assume is the strength of the vibration?
Did you try reading the docs ? 😄
The strength value, which is reported every 300 seconds after vibration is detected, is the max strength measured during a period of 300 second.```
no
It’s weird because the strength the last two hours has been 10, I’ve just put the dishwasher on and it’s now 9...
Also, mfw the wife turns the lights off at the switch halfway through a firmware update right after I tell her leave them on because I’m updating them...
Pic related...
Yet another reason why putting smart bulbs on dumb switches is ... dumb 😛
I don't bother with smart bulbs on dumb switches
If it's a switch, the switch should be smart
She does
you just need to program your wife better
I’ve replaced most switches with a blank plate and stuck a hue dimmer on top
But this one has an exhaust fan that I am yet to smarten up
If the lights are bricked I’ll be considering a trade in deal
i have a secret way of dealing with that, i wait until she's asleep
Yeah, but seriously, we just don't use switches anymore, even guests realize the lights are automatic
so the switches just stay in the on position
the only exception is my daughters room
your daughter must be like my wife...
yeah I am doing my best to do away with them, but will need to run neutrals down to the switches
need switches for when parents etc stay
there are no neutral zigbee switches
I was gonna chuck shellys in them
wifi i know... but coupled with zigbee lights
also, the vibration sensor...
Triggered action (e.g. a button click). Value can be found in the published state on the action property. It’s not possible to read (/get) or write (/set) this value. The possible values are: vibration, tilt, drop.
so was looking at the wrong one 🙂
I also got told off for how ugly the new aqara motion sensors are in the corners of the living room.... they are so tiny. Told her not to look at them, who the hell looks at corners of a room all day?
Hey Guys, has anyone got experience with the Tuya ZM-RT201 with ZHA? Or maybe a custom quirk for it?
Hi all. I'm struggling with a bunch of Philips Hue and IKEA Trådfri bulbs not working as expected.
I've removed deConz several weeks / months ago and I'm now using the ZHA integration and it's been working quite good for a long time.
I get this error when booting my NUC (Running Core 2021.5.1, Supervisor 2021.04.3 and HAOS 5.13 (Conbee and did a FW flash to 0x26390500 minutes ago)
File "/usr/local/lib/python3.8/site-packages/zigpy_deconz/api.py", line 544, in _aps_data_confirm
One of the issues is a nonresponsive Philips Hue bulb. I install it, it's being detected, flashes for ack and then it's just not responding to anything. Other issues are lights turning themselves on and off randomly. I haven't set up any groups or other dependencies.
Hi! I am having strange issues with my Zigbee network. Some lights turn on another light, and some lights in a group often will not respond at all. Have just moved from a Raspberry Pi3 to an old laptop running Debian and Homeassistant. Would like to setup the Zigbee network from scratch. What is the right way of doing this? Resetting and adding things the right way. Using a Conbee II and ZHA. All the lights are Ikea tradri.
As mentioned in the topic, which Zigbee integration are you using?
Sorry! I am using a Conbee II and ZHA.
Are there any generic zigbee repeaters? (by generic I mean repeaters that work with all brands of end devices)
The custom ones, based on the TI chips, seem to be pretty generic
i have just bought another zigbee sonoff, and found out that home assistant only support one, why?
What Zigbee Sonoff?
A mesh can only have one coordinator if that's what you bought
A mesh can only have one coordinator if that's what you bought
it is not strong enought for both
Hi guys, I bought the lumi.switch.n0agl1, it somewhat works, however, it is identified as a lightbulb and not a switch. So I cannot toggle it from lovelace, but sending zha_cluster_command works fine.
cannot allways add routers depends on the electricity, sonoff adds the option for wifi
Then you need to flash them with alternative firmware and also use zha or Zigbee2MQTT
i flashed with tasmota, but can add only one zha
So add Zigbee2MQTT for the other
why the limitation?
Because it's not normal to try to run multiple meshes
on the internet a lot of people need this
So... help the developers by submitting such a feature
If you can power another coordinator you can power a router or two - there are USB based routers after all
i will look, the advanctage of sonoff is that it passed the zigbee on the wifi so the main network is wifi and not zigbee
Advantage...
I do not think that means what you think it means
Sonoff ZBBridge Zigbee WiFi Bridge gateway re-flashed with Tasmota (though it not recommended since the WiFi connection does not make for a stable solution)
WiFi and Zigbee overlap and deliberately adding interference isn't a good plan IMO
the one i have on the top floor works nicely
Zigbee and WiFi on the same box is a recipe for disaster.
i am actually thinking of adding a secound home assistant just for this 😦
Why not just get a quality coordinator and add some good routers?
I guarantee you that you are going to run into issues with multiple meshes in close proximity.
I don't think it really make a difference if you have two meshes running side by side, you just won't benefit from the routing capacity of both
Why are people even buying zigbee if they intend to use it as wifi?
Zigbee is designed to be stronger with a mesh of routers. Ignoring that and trying to make multiple zigbee networks is going against the design
There was that guy a while ago who wanted Zigbee in a concrete garage two floors below his main network. If your network is basically two lobes connected by a string of routers, it's probably not a great design
Extreme case
I could complain i cannot keep my office and my house in the same network doo
Though if you can get the Sonoff bridge to connect to WiFi, you're probably in Zigbee range (unless you have multiple APs)
If you need multiple meshes the answer is to use not ZHA for the other meshes - and Zigbee2MQTT makes that trivial
hi, i was trying to use a Tradfri Wireless Dimmer (https://zigbee.blakadder.com/Ikea_ICTC-G-1.html) using the ZHA integration and a conbee 2. It picks it up as usual but it only shows 1 entity for battery %. Does anybody know how to get it to work so i can dim my lights?
Is it possible to create ZHA groups with smart light bulbs right now? I remember using zha awhile back and thought I could do that but I just got back into using zha again and can’t figure out how to bind lights into a group anymore
Use device triggers
Hey, I dont know how that works? could you briefly explain?
How are you using HA if you don't know how that works?
Click the little plus next to Automations in device card
Eh, lots of people don't know about Device triggers/conditions/actions
oh you mean just add the device to a automation as a trigger. No i know how that works. But I cant use the device as a Trigger because it doesnt even show a usable Entity
Triggers don't have entities
Just click that plus instead of assuming you know how it works
you havin a bad day?
He usually is 😛
okay haha
Device triggers don't use entities though, he's right
My default state is having a bad day
Did you use the dimmer after pairing so the triggers get recognized?
in the automation editor it only shows battery level change and device offline
well i turned it after pairing yes
Then you'll have to go manual and catch events in the services tab if there are any
in the developer tools? do i have to listen to a specific topic?
I would use direct binding (bind the dimmer to a group using the Manage Clusters option in which the lights are in).
Enter zha_event in the text field at the bottom and press Start Listening.
I’d still recommend direct binding for these dimmers though.
Im not using Tradfri lights though or does that not matter?
Also, please create an issue on the zha-device-handlers repo, as the device triggers are missing and the battery state only shows half of what the percentage actually is. Post the device signature there and tag me, if you have time to do that.
Doesn’t matter.
thank you. i just rebound the device and now suddenly the events are fired in dev tools
Ill try to get it work
If you wanna bind the dimmer to a ZHA group, I think LevelControl, OnOff, Scenes (and Groups?) clusters need to be bound.
oh dude i have no idea what all of that is. Ill just try to get it to work with automations listening for events i guess
@molten linden thank you they arrived today very quickly cant wait to start trying them out.
@foggy sierra You won't be disappointed.
ill get it hooked in today. still waiting on some actual zigbee items to arrive before i can really test it
LOL Yeah, those are kinda required 😉
@forest cobalt one quick question and i can look it up but is there any struggle to changing the setup from the conbee2 to these? i have nothing setup just installed zha and pointed it to the stick.
Nope. You should be able to just remove the ZHA integration and pull the conbee2 out. Then, just re-do the ZHA integration pointing to the new coordinator.
Since you don't have any devices setup, it's a simple swap.
Awesome thanks
might be worth deleting the zigbee.db in the config folder as well, just to get a clean re-start of zha
will do
That's right... I have to remember that removing the ZHA integration doesn't automatically clean up the zigbee.db file... Sad part is that bit me in the ass once (or twice, or 14 times lol).
ok i think one last question on installing them
what do i look for in the logs to identify this
its the usb
Are you using HAOS?
i think the correct answer is yes
im using a pi with ha installed direct
so i think what your asking is yes
Ok, then yes is the right answer. @molten linden will have to answer that. I'm not 100% sure.
its just i have 3 usb devices when i install and i just want to make sure i pick the right one
for the conbee i was able to id it in the logs so i could pick the right one
its won't hurt if you pick the wrong one.
ok
the probe will fail
it should show in the list of available ports when you go to add the ZHA integration.
that was the last USB one I had on hand otherwise I'd do it right not to confirm
lol i know
i checked out quick in case
ok i think it installed correctly
its id as texas intrruments zstack
ok so eta when i bought was june 5th for zigbee items to show so ill start testing everything when they arrive
thanks
nice!
does your zzh still randomly drop off the network as a router? (assume it is a firmware thing?)
Nah, it seems to be fine - it looks like it's mostly a reporting bug/feature
It doesn't respond to Z2M's "ping" but otherwise works
🇵 🇴 🇪 🤯 https://imgur.com/a/VoApkcz
hmm. OK. mine will just randomly disappear from the webui and nothing in logs as well. i'll play around. thanks.
WTB
need to run it for a bit. and design a case. 
Ooh it's round
tubes are round right?
Well no, they're tubular
the case will be a short tube. 🤣
Internet is made out of tubes anyway
hey there @molten linden i was just trying to get something paired and i have a spruce sensor. its not working properly. i got it to show everything but battery and in my searching it seems to be a bug and i think you mentioned it in the github. if you are aware of this im trying to figure out what they want me to do to solve it. looks like it was solved april 15 2020
does this sound like something you know about
The spruce soil sensors?
yes
let me look at what mine are saying.
im only asking you cause it looked like you responded in the forum for it so if you not sure no worries ill keep digging
the header of the item they have is zhaquirks/plaid/soil.py
so im not sure if im supposed to put the fiule there
mine fell offline at some point, they have been outside for quite some time now.
yea that's it.
I believe the device reports itself as powered by mains instead of battery, and the quirk addresses that.
yes thats what ive been reading
and they have a fix listed which just looks like a code update but im just not sure how to apply it
what's the link on the forum.. it's been a while.
that's merged and part of the code now - so it should be okay now. I'll re-join mine at somepoint today at least one of them (I have 2). maybe something broke.
ohh ok so if im on the latest ha
i should be good
i dont think i had even installed ha when this was fixed. so if thats the case ill just remove it and readd it and try again
ok a couple of remove and adds and reboots i got all 3 now
Anyone else have their conbee2 stop working in the last week? Quite frustrating as the ZHA integration was the stable one compared to Z-wave. Most, but not all, of my Zigbee devices are now greyed out. Tried upping the debugging level per the directions, but didn't see much traffic in the logs
Can you post the logs?
Also, when was the last time you restarted HA prior to this update?
which logs specifically would be helpful? HA probably gets restarted once or twice a week ... not exactly sure when the last time was. I did verify that the USB device is correct
If you enabled https://www.home-assistant.io/integrations/zha/#debug-logging, the main home-assistant.log
sigh. Now it looks like I have database corruption too.
The main home assistant database or zigbee.db?
Main HA database. Unfortunately from restoring snapshots trying to get things working.
I'm going to address that problem first, I guess
If the main HA database is corrupted I'd check the zigbee database as well: sqlite3 /path/to/zigbee.db 'pragma integrity_check'
Okay, so I got around to pairing both generations of the Xfinity Keypads and they both work somewhat. Now how do we program codes into these things because when I armed it, I couldn’t disarm from the UI nor the Keypad
I added a keypad to homeassistant, but it's not showing any of the keypresses
I have a whole bunch of endpoints, how would I use them in homeassistant
How did you get the keypad working? What do you see?
It’s paired and available in Home Assistant. It’s defaulted to pin code 1234 which I am trying to figure out how to change it
Alarm Keypad, Temp Sensor and non-functioning battery sensor
I just get this
What's the sensor name for the alarm keypad?
I can’t post pics but if you look at Tube’s link, same devices
Apparently I have to modify the registries.py in the components folder
but Idk how to edit that when running w/ docker
used vi okay now I wait
Ooh ok!
Now I have the alarm sensor
Are you supposed to be able to arm with any code?
Have you tried changing this and then trying it from the UI? https://github.com/home-assistant/core/pull/50235
Yup, worked as should
Integrations>Zigbee (Click on Configure)
Does anyone have a suggestion for a zigbee repeater?
Plugs are supposed to work right? What would you guys recommend for a cheap zigbee plug that works as a repeater
Xfinity Outlet plugs, they should be dirt cheap on eBay and they act as coordinators
IKEA plugs, though they take up a bit of room
Thanks for the ideas. Do you know of anything that's amazon prime? I can't connect to my door sensor so I'm basically trying to get this stuff asap
Does anybody know a way to expose hue dimmer switches available in ha to homekit? Tha hass bridge does not care if I use hue integration, zha conbee2 or mqtt-zigbeemqtt-conbee2 to the the dimmers into ha, it will not expose them to homekit 😭
homebridge-z2m by the way exposes them using the same zigbeemqtt data
@tiny bramble Please DO NOT cross post. Read the channel description, post it and wait for folks to respond.
If you don't get any responses after an hour or more, and your message is no longer on screen, it is fine to re-post or post a link to it.
You were right the first time, this is about Homekit, and belongs in #integrations-archived
surely it is about homekit, but as it is also related to zigbee (because those are zigbee devices) I was hoping someone else uses them and wants/has them exposed to homekit in some way using ha
It doesn't really matter where the data comes from, that's the nature of HA 😉
Anyone using ConBee 2 in UnRAID/Docker?
Anyway, trying to pair ZigBee Devices (Trådfri) to my ConBee in ZHA (Dockerized Homeassistant), getting: [0x0000:zdo] ZDO request ZDOCmd.Mgmt_Permit_Joining_req: [60, <Bool.false: 0>]
@junior viper you have to hand over the device to the docker container and than use that device in the zha integration I used it successfully yesterday using a devices section in docker-compose.yml
#devices:
# - /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2432652-if00:/dev/ttyACM0
I handed in the /dev/serial/by-id... devices and made it availabe as /dev/ttyACM0 in the container
Hmm.. The device is added in the settings for my HA as /dev/ttyACM0, which should work bc my Z-Wave sitting on ttyACM1 works fine
In the settings for my HA Docker Container*
And the device is visible in HA as well since ZHA is up and running
have you tried restarting the zha integration - sometimes playing the the conbee2 the device gets a hickup and just restarting the integration or ha helped
I can try, tried restarting HA several times, no change
On/off 6 times, lamp jumps in the "pairing mode/blink mode", not a single sh*t in ZHA 😄
oh nooo, another conbee issue 🙂
😦
For sale: 60+ Zigbee devices
Imma stick to regular bulbs for now
Better to use SpaceInvaderOne's Deconz Unraid app and point HA to that?
Not sure if that will solve my issues tho
or zha, don't know and as it never happend when not heavingly playing around like trying to bind a dimmer to a bulb or group of bulbs or repeatedly (10 times or more) starting a pairing process , this is no show stopper for me. HA not exposing hue dimmers to homekit currently is...
I'd love to use Z2MQTT instead
@junior viper Than use it, from yesterdays testing I can say it works, too
Will try, but it won't integrate with HA I guess since it's separated
conbee2 - zigbee2mqtt - mqtt broker - mqtt client in ha
Ah, so instead of using MQTT in Unraid, I'd stick to ZigBee2MQTT instead?
you need to use the zigbee2mqtt frontend to pair your devices though
at ZStackAdapter.<anonymous> (/app/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/zStackAdapter.js:94:31)
at Generator.throw (<anonymous>)
at rejected (/app/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/zStackAdapter.js:25:65)
duhhh
[31mZigbee2MQTT:error[39m 2021-05-11 02:22:12: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
Looks like the adapter isn't connected to the Zigbee2MQTT container
It wasn't, didn't like the /dev/ttyACM0. Swapped to /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2402401-if00
@sour shadow - is this you? https://www.youtube.com/watch?v=HbkXQErileU&t=202s
No
Anyone have a recommendation for a good coördinator zigbee2mqtt? Not the Electrolama zig-a-zig-ah! (zzh!) Or Slaesh's CC2652RB stick because they are out of stock
ConBee II (experimental) 😆
This is getting ridiculous
Tried /dev/ttyACM0 along with /dev/serial/by-id/blablabla-dresden-blabla
[31mZigbee2MQTT:error[39m 2021-05-11 03:17:32: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
Make sure no other container has it
Just one: zigbee2mqtt
Well, either:
- The adapter isn't connected
- The adapter needs reset
- Something else is using it
Reset, how?
Here , try this:
http://letmegooglethat.com/?q=SRSP+-+SYS+-+ping+after+6000ms
Depends on the stick type, but many have a reset button
Conbee II, no physical reset button
Take it out for 30 seconds and cross your fingers?
😆
Other than for use with deCONZ the Conbee isn't a great stick, sadly
nvm
For Zigbee2MQTT... see the official list
CC2652p/CC2652 based are the best choices
It works fine in RBPi4, but since I hate that I'll try sticking to UnRAID
The Pi will run Z2M just fine
Yeah, it did work successfully
In supervisor which is fully integrated
Now running docker it has some limitations ..
Are you trying to pass the conbee2 into a docker container on unraid? I had TONS of problems when I tested that awhile back.
Yep, the actual passing works since I can see the stick in HA
Unraid 6.9.2?
Correct
And Z2M is running as an add-on under supervised, right?
Ahhhh, ok. Container. Gotcha. and Z2M is in another container?
Correct 🙂
If you ssh into your Unraid box, what do you see in lsblk? Does the conbee show up?
Might get back to RBPi4 instead, I'd love to get it up and running in UnRAID since it's waaay faster
I can see it by the GUI
Tools -> System Devices ->
Bus 003 Device 021: ID 1cf1:0030 Dresden Elektronik ConBee II
The GUI sometimes lies. Let me plug mine in and see what it should be under lsblk.
1 sec

lsusb
Bus 002 Device 002: ID 8087:8000 Intel Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 004: ID 054c:05b9 Sony Corp. Storage Media
Bus 004 Device 003: ID 045b:0210 Hitachi, Ltd
Bus 004 Device 002: ID 045b:0210 Hitachi, Ltd
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 021: ID 1cf1:0030 Dresden Elektronik ConBee II
Bus 003 Device 002: ID 045b:0209 Hitachi, Ltd
Bus 003 Device 048: ID 0658:0200 Sigma Designs, Inc.
Bus 003 Device 003: ID 045b:0209 Hitachi, Ltd
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
@junior viper Please use https://paste.ubuntu.com/ to share code or logs. Please don't use Pastebin, since it can randomly add spaces to the main view.
What port are you using @forest cobalt? 2.0 or 3.0?
So, oddly enough, I just popped mine into my server aaannnddd... nothing. Doesn't show up in lsusb.
2.0
Yup

For whatever reason, under Unraid, some usb devices just suck and are really hit or miss. The conbee2 on Unraid has always given me issues.
eirikz@raspberrypi:~ $ lsusb
Bus 001 Device 006: ID 0451:bef3 Texas Instruments, Inc. CC1352R1 Launchpad
Bus 001 Device 008: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
Bus 001 Device 007: ID 0764:0601 Cyber Power System, Inc. PR1500LCDRT2U UPS
Bus 001 Device 005: ID 0424:7800 Standard Microsystems Corp.
Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Ok, will be RBPi then ..
LOL atx... wait... you have Unraid?! 🤨
lol
hahah
rPi NAS? 😉
rofl
You're woefully underpowered... you need to double your cores (and threads)... latest docker requirements is 48c\256gb ram... 😉 lol
💯
not even a 1tb of ram pls
eirikz@mirai ~ % cat /proc/meminfo | grep MemTotal
MemTotal: 131997888 kB
eirikz@mirai ~ % cat /proc/cpuinfo | grep processor | wc -l
24
eirikz@mirai ~ % sudo zpool list
[sudo] password for eirikz:
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
Storage 36.3T 25.4T 10.9T - - 15% 69% 1.00x ONLINE /mnt
Storage2TB 5.44T 10.5G 5.43T - - 0% 0% 1.00x ONLINE /mnt
Storage6TB 16.4T 2.87T 13.5T - - 4% 17% 1.00x ONLINE /mnt
boot-pool 262G 32.8G 229G - - 2% 12% 1.00x ONLINE -

mine is so tiny in comparison
still nagging about that new 56c\512GB host I am needing
Are you farming Chia?
No
Puh.. good
cryptocurrency is for shitkids
agree'd
LOL I just FINALLY talked my kid into doing stocks instead of crypto.
Anyway.. Still don't know why in the earth the HassOS on RBPi takes forever in starting
why are you ruining your child?
HassOS 🤢
In another OS/Hypervisor it starts instantly
Because crypto is too volatile for him. He's the kind of kid that really doesn't like risk.
Save in funds
Or index stocks
Eh, to be fair, he got himself a good IT gig (running win servers 🤮 ) at a law firm... so, that's good at least.
i prefer my 100% gains
I've got about $15k in stocks somewhere, but it is all invested for me automatically and I just get more every year without paying for it 
Which version of docker are you running on rPi? Did you install it from the os repos or docker's repos?
Not even using Docker natively on HassOS
Ah, OS repos*
i've invested 6k in crypto in the past 4 months, now its 18k and its staked or yielding so it has at least 3% extra gains yearly
meanwhile my index fund is -0,4%
Wait... Ohhhhh, duh... you're running Container on your Unraid. Right? So why not just run Z2M on the rPi and leave your HA install on Unraid?
Stop that.
why
Do-able, but still wan't to get rid of that f*king Pi
Keep everything on the same host
The os repos usually have older versions and/or craptastic crap in them. Use the convenience script: https://docs.docker.com/engine/install/debian/#install-using-the-convenience-script
I'll stick to Ubuntu Docker then
The nice thing about having Z2M on the rPi is that you can separate it and isolate the stick from interference from other devices.
ubuntu server 🤢
Even for Ubuntu, I'd still go with the official docker repos over the os ones.
raspbian lite is fine, or debian
Ok, I'll download TempleOS using my Token Ring network connected to SkyNet over my ears
LMAO

yes
Yup
DHCP on if?
Even better.
eh, I avoid static IPs except on routers and core network switches
and domain controllers
Did raspbian ever adopt netplan?
eh, are you a networking guy or what?
Or getting enormous e-pen following best practices 101%
static ip and dhcp with reservation is kinda the exact same thing
I've worked with networking for over 20 years
does that count ?
static ip and dhcp reservation is NOT The same thing
¯_(ツ)_/¯ don't know, I'm behind 10+ years in networking
the end result is similar
If you're using "kinda" loosely, then sure. 😉
Ok gurus, let's drop the networking thing and focus on the actual problem here 🙂
Until your DHCP servers on both subnets crap out on you because Redhat decided to push a bad update to (pre-coffee) dhcpcd 😉
Run z2m on the rPi with the conbee2 attached. Problem solved 🙂 lol
atxbyea sell pitch: "Ever heard of 9, 10 or eleven nine's? We're working with ∞ 9's"
Atx: Yeah, once... years ago. LOL
Most of the systems I work with are 5-6 9s, but a large portion of it is becoming 100
Cool
more and more every week
That's a default behaviour
⛔
Anyone out here successfully booted RBPi from USB? (not SSD, but USB drive)
yes
By updating Bootloader?
probably, I did it years ago
Ok so not on R4
The rPi4 latest firmware has usb boot support built-in IIRC.
ssh: connect to host x.y.z port 22: Connection refused 
because you didn't follow the guide to enable ssh
😆 classic, so sshd not enabled by default
no
kill me
🙂
When you're building the USB device, run touch ssh on the boot volume.

industrial microwave
PSA: Requires home things
Fortigate, haven't seen one of those in a few years
Light years better than any competitor imho
they were big in the mid 00s, but I haven't seen one since... 2018
Close to Palo Alto's
Close, but most customers choose palo 😉
Shifts from year to year
not really, it is just going one way since 2018 imo
as long as my customers don't go to Cisco or any other crappy vendor
Never heard a single customer with 100% Cisco/Meraki/Nexus/HPE/Juniper/Extreme/Aruba satisfied with their L2/L3 network
Only vendor I've heard good things from is Arista in terms of L2
You haven't visited a lot of Cisco fanboi sites then
it all works perfectly
what is that ACI bug you are hitting there ?
don't look
you fella's in enterprise or business?
😄 I'm glad I've got rid of physical devices aka "adidas tech-jobs"
Enterprise
But sometimes I might ssh into one router or two
CIFS
lol
😉
Cisco/HPE: Customers with big wallets will filter or list "Price: Descending" and select #1
And pay for licenses 100 years upfront
Psssh, then I would sell HPE NonStop every week
It only happens once every three years
You'll never guess where I am at the moment then
In my basement
Equinix AM2?
ah well that sucks I can't upload photos
😄
lol not AM2
Please use imgur or other image sharing web sites, and share the link here.
Image posting is blocked in most channels to discourage people from sharing text as images.
SYD4
Aussie Boy?
yea lol
all good thats what the hot isle is for
Upgrading Internet 2.0 to IPv7?
yea I need best photographer award
I SHOWED YOU MY DC, ANSWER ME
answer you?
🍆
@jolly narwhal just curious, where do you have your HA running?
Allright
I run zigbee, using z2m on a host seperate from my ha host
👍 seems to be the go-to strat
🙂
@sour shadow i think i've found the culprit. Noticed my Xiami ZNCZ02LM was the router both sensors were connected to. Currently i've managed to get them connected to a different router and data is steadily flowing for the last 30 minutes.

Obviously going to do some more testing, and when the CS2652p comes i'll re-pair everything. But wondering if the ZNCZ02LM has a cache that has been filled to the top, as it's my only Zigbee device that has not been off for quite a while. I think 2 years now.
You are down the steeet from me then
oh really thats gold.
Yeah, I would give it 2.5km from home
My friend was the architect for that building and the recent extensions
Go get some coffee and snap a pic
😂
maybe next time im in the m8 tunnel
Great tunnel, enjoy the light show 😂
i point out the dead strip all the time 😅
Can i flash the nvram of slaesh to zzh! ? Im going to move the slaesh ti z2m and want to put old mesh to zzh when im moving over
What about a Sonoff zigbee Bridge flashed with Tasmota?
Hello everyone 🙂 i'm using a older laptop with HA at the moment and i'm thinking about buying a USB dongle to connect my Xiaomi aqua products
one supplier here can deliver the ConBee II within 2 weeks
but i'm hoping to find another (good) Alternative so that i don't have to wait (Very) long
where is here ?
the netherlands
ah yes i can order that on on amazone for example
@jolly narwhal when you had the choice : zzh vs the ConBee II (or eventually the Xiaomi gateway 3)
zzh
@jolly narwhal Thank You!
The Sonoff of the cc2531 😋
what is wrong with the Sonoff zigbee Bridge ? I have a conbee II stick but thought maybe a external device(not usb) would be nice
WiFi
That's all
See the pinned messages on why WiFi+Zigbee is bad 😉
If you want an external device, use one that's wired, not WiFi
oh this one ships from germany ! : https://www.tindie.com/products/slaesh/cc2652-zigbee-coordinator-or-openthread-router/
i'm gonna order there c-pid and just wait for the package to arrive
i could order a xiaomi gateway here in the nerherlands , but i indeed better wait a few weeks and have that perfect stick
tindie is a platform where seller can sell. The sticks itself are different
the zzh! stick I linked is the holy grail of sticks
but most of the time sold out
yes i go for the zzh (your link)
Hey guys. Had a quick look at the pinned posts and I can see there are 3 options for adding the new zzh stick I just got
I guess ZHA or zigbee2mqtt - any reasons to pick one or the other though?
I've got an MQTT server running
ohh ok thanks @sour shadow
then z2m maybe better for you
So I just bought some xhk1-ue xfinity keypads since I seen they were now supported and to add to to my alarm setup and upon testing I seem to have set a code of 1234, looking around for documentation I cant find instructions to change the code is there a way to do it with HA or do I need to remove and reset the keypad? They work great though very fast response in HA. I am using ZHA btw
zha is easy to use but z2m is a bit more sophisticated
you can set the code in the ZHA config panel
Thanks!
I guess using z2m is adding 2 layers between device and home assistant as well. Not sure if that matters...
but using zigbee2mqtt allows you to use homebridge-z2m in parallel to expose the devices to homekit while homassistant seems unwilling to expose hue dimmers to homekit
if you have a mqtt broker you already have one layer. Next ist simply z2m and connecting it to your mqtt broker.
sure, I'm just saying that there's 2 things to break. my mqtt currently only has 1 use which is controlling 1 sonoff device
if using mqtt is 'better' then I've no problem going that way
having the separation via docker containers has benefits too
It's pretty hard to break an MQTT broker
yeah true. anything can crash though 🙂
I just wondered if there were any big feature/functionality benefits of using one integration vs the other
or if one looked like it had a better future in terms of support etc
If you have exactly one sonoff device, it's pretty easy to try both out
Just not at the same time
The future of both are good. It's more whether you want to put all your eggs in one basket (ZHA) or not (Z2M)
I don't have any zigbee devices yet. waiting for an Aqara sensor I ordered from China as a test
Probably try Z2M first
might as well get some more use out of my MQTT 🙂
Hi there, I'm trying to get an Aoara Magic Cube to connect to HA (on a RPI4) using a combee 2, running a new swtich scan in Phoscon doesn't find the cube (it found my other cube fine), anyone know how I can problem solve the issue?
https://www.zigbee2mqtt.io/devices/BW-IS3.html means that somebody has
yeah I just wondered if it had issues like the sonoff zigbee motion sensors
Looks to be Tuya, but rechargeable might actually be nice. I wonder how well it can handle the cold.
hello just wondering if im running ha on a pi4 can i use a powered usb hub for the radios? ie zigbee and zwave? especially for the Aeotec Z-Stick Gen5 which reportedly does not work directly into the pi. from the pi to the hub then the usb cable to the stick itself?
why not a 3?
Might work with a USB2 extension on a USB3 hub?
Probably, but also USB3 and Zigbee ... not a good mix
See the pinned messages
Z-Wave doesn't have the USB3 interference issue AFAIK
ok thanks
im reading the intel page now
man i was trying to use usb 3 just in case
thanks
I've always run my Zigbee sticks with a USB2 extension from a powered USB3 hub and have no RF issues so I think the issue specifically is with plugging it directly into a hub
well that is interesting thank you for that. i really never thought to look at that. i dont really have any devices yet so i would have ran into it later
well now i have to seee which ext i ordered
ok sowith htis being the case i suppose usb 3 cables in a usb 2 port would still not be desiured then
these are the cables i purchased
2 Pack AINOPE USB 3.0 Extension Cable Type A Male to Female Extension Cord 10FT Durable Braided Material Fast Data Transfer Compatible with USB Keyboard,Mouse,Flash Drive, Hard Drive,Printer
I don't think that's an issue, they act as USB2 extension cables when plugged into a USB2 port because the extra USB3 pins are just not connected
im guessing i need to look for usb 2 ones then
ok
so i can use the 3.0 cables just keepo them in a 2.0 plug and a hub usb 2.0
That seems like it would work to me
ok
thanks
ok this may be an ha question more then a zigbee but for a USB hub i dont need a lot of ports but a 7 port usb 2.0 is cheaper then a 4 port usb 2.0 hub. will extra ports cause any issues if im not using them? do they take up resources just being there?
It's huge and it's tuya crap
It'll be fine
Does anyone know how to set the "arming time" on a zigbee keypad?
Like I want it to wait 30 seconds before turning on
It'll depend on the keypad, and other things
That's like asking where the fusebox is in a house
🤣
I thought it might be standard within HA
Well, there's alarm #integrations-archived that are standard
If you're using one of those
How a keypad behaves will depend on the keypad itself, and that would require details
hi i have a 3 gang tuya touch switch and the device signature list it as a smart plug (0x0051) .. from the tuya protocol documentation https://developer.tuya.com/en/docs/iot/tuya-zigbee-universal-docking-access-standard?id=K9ik6zvofpzql
a smart plug has only 1 endpoint.. looking at Z2M documentation, https://github.com/Koenkk/zigbee-herdsman-converters/blob/master/devices/tuya.js which is fully supported for this device... the 3 endpoints are "endpoints selected in tuya switch state" ..
i guess my question is trying to figure out the ZHA equivalent for these series of multigang touch switches.. these are good because they dont need capacitors for no neutral wiring.. the current ZHA quirk (ts0601.py) only detect 1 endpoint ..
Newbie question to the group that I can only assume has decided to focus on Zigbee rather Z-Wave: Why?
I have a bunch of Tuya and Tado devices working through web services, but, as pointed out to me by Tinkerer, not such a good idea if the internet goes out. I tried Homekit, but I still needed the Tuya and Tado integrations, and all my devices and entities showed up twice. And every time I rebooted, Homekit would add a 3rd, and then a 4th, and ... copy. A nightmare.
To be honest, I think I am stuck with the Tado web services. But it really doesn't make sense to use web services for door & motion sensors and other security devices.
So I'm looking for some suggestions on the best route to take.
Get a Zigbee coordinator and control the devices directly without a hub
But it looks like Tado isn't Zigbee so you are likely stuck with whatever they're using
@tawdry yoke : "Zigbee rather Z-Wave: Why?" For me, it's a combination of functionality, cost, reliability, and security. Zigbee is one of those things that sounds a lot more difficult to master than it really is, as long as you make good decisions about your gear. Z-Wave is fine and all, but with a 4 hop maximum, it can prove to be difficult in longer-range applications. Plus, Zigbee devices tend to be cheaper overall compared to their Z-Wave counterparts.
Thanks. One of the Raspberry Pi HATs?
Much appreciated.
The USB coordinators are more common but look at the pinned messages for some examples, as well as the supported coordinator hardware list of your choice of Zigbee integration
Hi guys. Has anyone had experience with light options not being exposed to Home Assistant from the Z2M add-on? I have certain lights, that are supported on Z2M, that only expose on/off, and doesn't show any sliders for brightness/color temp. Even though the entity does contain them as attributes.
Why? Price
A typical Z-Wave sensor is in the £40+ region. A typical Zigbee sensor is in the £10+ region
When you're adding a lot of sensors, that difference adds up fast
Now, true, you have to pay a bit more attention since there's no guarantee devices will work - the joys of pre Zigbee 3.0 being not much of a standard (and even Zigbee 3.0 doesn't stop people playing fast and loose). But still, I don't mind spending £10 on a speculative purchase
(I do also have Z-Wave though 😄 )
Make sure you're on at least HA 2021.4.5 and Zigbee2MQTT 1.18.3
I don't think its possible but I'm using the same keypads and cant figure out how to disarm with the keypad, when I put in the code it just triggers the alarm. Have you had any luck disarming? But I am using the keypads to trigger manual alarm which has setable times and manual alarm is what triggers the house alarm so that is a way to edit your delays.
TS0601 has over a dozen variants from plug to curtain motor. Zha needs a better quirk
Got zigbee2mqtt running in docker and it's seeing my zzh stick. I can see a new client connect in mosquitto logs as well 🙂
should I see anything in home assistant yet, or only when I actually pair a device?
Only when you pair a device, though you can add the sensors listed in the docs at https://www.zigbee2mqtt.io/integration/home_assistant.html#controlling-zigbee2mqtt-via-home-assistant to get a view of things
Oh nice will give that a go. Cheers!
Hopefully my test sensor won't take too long to get here
what was the command again to take a full nvram copy and reset (on another ti controller)?
See the pinned messages
damn emberassing. been here long enough to remember that
Yay HASS is seeing my bridge state, so looks like I'm good to go. Thanks 👍
does the zzh! need to be in bootloader mode to write nvram?
on sleash its not needed
No, NVRAM can be read and written to during normal use
strange it refuse
What's the command output when you run it with -v to enable verbose logging?
I just ended up using Alarmo...
Never had a problem with my zzh. Make sure nothing else is using the serial port.
And follow the docs the creator publishes for how to flash it...
Yeah, it definitely needs firmware 😆
(since it's not the same as Slaesh's stick...)
Stick always responds to ping if it has firmware, that's what the Electrolama test program does (https://gist.github.com/omerk/0ee0e447a9e36786b4ff71d8f8126a23)
here is the flash output: https://paste.ubuntu.com/p/CtQ3kZ37FC/
../CC2652R_coordinator_20210120.zip?
The firmware is in the .zip archive. I'm surprised cc2538-bsl.py let you flash the ZIP archive itself.
hmm maybe thats it yes i forgot to unzip it. I assumed it did it since it said assuming bin

hm does zha go crazy if its two zigbee dongles on the host? Now I cant boot the network on the old stick after exporting the nvram
Both sticks should now have the same nvram (did only export on the old), then it seems in the log like its an nvram issue https://paste.ubuntu.com/p/KBWPvYVj5R/
Hi all, is it right to say that any zigbee device is compatible with ha? There's no need for flashing or templates right? Zigbee to mqtt and its done..
I changed it to the other dongle and it worked - very strange - seem like nvram does something with the stick during export
If you're using Zigbee2MQTT then it has to be compatible with Zigbee2MQTT...
That item should have been written during restore. Did you restore to the correct stick?
yes, but regardless if I wrote it back to the original its its own backup
NVRAM stuff is extremely thoroughly tested so I would quadruple check that you have the paths and files correct
Like you didn't do a backup of the wrong stick and restore it to the other stick
I just wrote it to the stick I will use on the old and it worked. The slaesh I will move out anyways
just changed the path in .storage
So you backed up the old stick's nvram, wrote it to the new stick, and changed the path?
The path has to be changed, yeah
It should. Nothing happens during read and that NVRAM item is always present if you have ever formed a network.
strange. regardless it works now. I will move the slaesh to z2m on a clean install
Thought this was interesting:
https://zigbeealliance.org/news_and_articles/chip-is-now-matter/
https://staceyoniot.com/project-chip-becomes-matter/
oh great, they rebrand it already
they probably saw Hibbert making fun of the name
Hey all. I normally use Hue Bridge for zigbee, but just setup zzh and have a few questions if anyone can help
I seem to have two coordinators, is this normal?
ZNP = Texas Instruments Z-Stack ZNP protocol: CC253x, CC26x2, CC13x2
by ZHA
unk_model
by unk_manufacturer
unk_ stuff is usually things that did not pair completely.
hmmm. it came in when I first set it up
I'll have a look at zigbee2mqtt and see what that is saying
have you ever tried to set it up perviously could just be a stale entry from an old zigbee.db
well I had an old CC....x transmitter/receiver I hated and stopped using
I've removed the zigbee.db, I'll try again
I'm presuming zha is better to use than zigbee2mqtt these days
So.. I am getting in some zigbee stuff. Was kinda thinking of using the Zigbee bridge from Sonoff and flashing Tasmota to it.. But I also have a Zigbee Sonoff dongle coming in. (Wasn't sure what I wanted, so I bought a few things 😉 ) Any suggestions on the best way to set things up? Is the bridge not a good idea? Why?
that bridge motivated me to start making and selling ethernet connected coordinators. wifi and zigbee that close don't mix well. for every person for whom it works there are at least 2 where it doesn't work
Yeah I have my zigbee and zwave far apart and away from wifi
the dongle has mixed reviews too as in the design might be flawed. folks with them have had a lot of issues.
zwave is a different freq but zigbee and wifi share 2.4 ghz
Thanks for the help Tube. I have the zzh setup now without the phantom coordinator and a test device (ikea button remote) firing off zha_event's
well I have them for optimum positioning anyway...
Do zigbee devices (routers) go in some sort of deep sleep mode after they havent been used for a while? im using ZHA and i keep getting the problem that lights that arent used regularly sometimes take several seconds to respond before turning on. after that they are instant for some time
Its like the lights need to wake up or boot up before the respond.
The strange thing is that the Hue bulbs dont have this problem with the hue bridge
the bulb in question is 2 metres away from the coordinator with nothing in between
So again over a night half of my Zigbee devices stopped working. This time i have new hardware and a brand new HA installation. When i try to turn on a light it goes back to off after a few seconds.
More than half actually. Like 90%. wtf
Mapped it? Could be a problem router or few
The "Visualization" is broken so i cant see what's connected to what.
Does it show any disconnected routers?
Where can i see that. State is unavailable?
In the visualization i can just chose a router and see some red wires to other devices. But i cant move around to see what's on the other end.
Well, all i can guess at this point is that you're not using Zigbee2MQTT, so ... 
ZHA
No idea about that, don't touch it
Hopefully someone else now how it works. I can only guess what the different colors of the wires means. Green, yellow, red and grey.
@sour shadow Why do you prefer Zigbee2MQTT over ZHA?
Two reasons:
- When I started with Zigbee ZHA was pretty immature
- I really like decoupling - I can upgrade and downgrade things as I need. I can also use Z2M from outside of HA, or from another HA instance, and even run it somewhere more centrally than where HA runs
Aah i see.
Well i doesn't matter what i use if i have a shite router somewhere.
But now i'm power cycling bulbs and they seems to work again. So far.
i tried zha this year and still z2m is easier to use
Easier? Really?
i should say: easier for me
I dont have MQTT today since i havent had a reason to set it up. So maybe a slighter curve for me then.
probably
I don't have a problem with learning it and throwing in time to set it up. But i need it to be reliable.
Which in my case right now doesn't matter what i use because it seems like i need to find whatever router is broken.
Hopefully the ZHA logs tell you about routers falling over, Zigbee2MQTT certainly does
i think you need to increase logging level for zha in configuration.yaml but don't trust me 100%
Maybe i should also start considering Z2MQTT. what is the best adapter to use
i look at it this way: if you're running supervised ZHA is probably the thing for you, if not its better to invest some time to at least try Z2M
I just bought the HA Blue so yeah 🙂
As long as i can find the router i'm good. But yeah i guess i need ZHA debug loggning for that.
just shut down one router each day to pinpoint what's giving you trouble
Yeah that's a good idea.
CC2652p/CC2652 based
I'm expecting Tube's CC2652P2 coordinator to arrive any day now, so I was just reading the setup docs again and was going to ask if I should use ZHA or Z2MQTT. I see the latter is probably the way I want to go. Not taking the zigbee network offline every time I restart Home Assistant is definitely ideal. Maybe ZHA should be an addon rather than an integration?
Hmm. Yeah i need to figure out if i'll go Z2MQTT or not. Conbee stick works with that?
sortof, not quite
Conbee works with deCONZ, and sorta works with ZHA and Z2M
Alright. So i need to find a stick based on those above then. Here in Sweden that'll be a challenge 😆
Thanks tinkerer. but i see they are out of stock on some websites
cant find it on ali also get everything except what i need when typing CC2652
you'll only find bare modules on ali
The ZZH or Slaesh seems to be the ones to go with.
But just to be sure... the CC2652 can be flashed with software that basically runs the whole network and you only connect to it with HA using mqtt right?
So its a seperate system
CC2562 interfaces with Z2M which then talks to HA using MQTT
thats right i forgot you need Z2M in HA
A little while back i asked the question if bulbs (routers) go in some sort of sleepmode when not used over a longer period. IS that true? or is something else the matter when a light takes several seconds to respond the first time i use it
And if it should always work instant how could i debug this using ZHA. What do i look for in the logs
I see [zigpy_deconz.zigbee.application] No watchdog response in the Core log. What does that mean?
After that
[homeassistant.helpers.service] Unable to find referenced entities light.entity so i guess it has something to do with it not working.
https://www.zigbee2mqtt.io/information/supported_adapters.html has a long list of options to buy
@lean coral posted a code wall, it is moved here --> https://paste.ubuntu.com/p/MfVr9s2PTJ/
whoa, that was big. Sorry
Summary, ZHA and tradfri issues. 1 globe added fine, 2 more globes will not even show in discovery
Hey, i'm having some problems setting up zigbee2mqtt in docker, is this the right channel for that?
from my reading of the chat history, it seems a good chance there is someone here with that knowledge. Seems z2m is preferred by some people over ZHA
