#zigbee-archived
1 messages ยท Page 147 of 1
Just wait until you find Z2M ๐
If your network is mostly routers, you can switch over to ZHA and reboot the lights. They'll "join" and be picked up.
just some plugs and sensors
Also probably a stupid question.
I have few Mijia temperature sensors, this to be precise:
https://community.home-assistant.io/t/new-type-bluetooth-temperature-sensor-xiaomi-mijia/211832
Will I be able to add them using slaeh's stick or do I need to somehow now find a way to use Pi's built-in bluetooth?
When buying the stick the description mentioned it supports both zigbee and bluetooth. I assume it means not at the same time?
Got a link to where you bought it from?
The sensors...
Nothing on that page mentioned Zigbee,.
yea it's bluetooth
Oh... you meant the stick supports BT? ๐ฎ
yes apparently
Developmentยถ
This stick is a great starting point if you want to get in touch with the 2.4 GHz technologies:ZigBee
OpenThread
**Bluetooth 5 (BLE)
**any custom RF protocol based on IEEE 802.15.4
The hardware probably can... but I doubt the firmware handles both at the same time.
Think of the firmware as telling the stick which radio station to tune into.
yea I get it, if zigbee and bluetooth both run at 2.4GHz the it can't do both at the same time
I kinna hoped it could though
Well, a better example might be that you gave it the AM firmware and not the FM firmware ๐
Someone may know better than me... I've never worked with writing embedded code.
Well anyway, I have the Pi and Pi has bluetooth built in. Any idea how do I get HA to talk to Pi and use its bluetooth?
That'd be a discussion for #integrations-archived
ISTR with those it's easier to use an ESP as the gateway, it's been discussed a lot in the past
A search should find the details
doing a bunch of reading on energy meter HAN devices and a lot of them refer to zigbee being the communication between the meter & the HAN communicator. Anyone have more details on that?
Those all use Zigbee Smart Energy. It's encrypted (not for your benefit) and isn't something you can interface with using your own hardware.
ah shame. I'm waiting for my energy provider to let me know if I can purchase a HAN device to interface with my meter (like an Eagle 200) but was hoping I could use a standard USB Zigbee stick instead
The hardware is the same but the "certified" devices each contain a super special (expensive) certificate that allows the device actually join the meter's network
Ah that's a bummer. The phoscon gateway correctly added the plugs with consumption entities
ZHA doesn't ๐ฆ
All my Zigbee buttons started firing triggers twice, 1-3 minutes apart, on deCONZ. This is been going on for a couple weeks now. I'll press a button and a couple minutes later that same deconz_event will fire again. So if I long press, i'll get another long-press event a couple minutes later from that same device.
I have two SmartThings samjin buttons and an Aqara button, which are duplicating events, and a Philips Hue remote, which seems fine.. I've updated, rebooted, I don't know what to do.
@coral ruin deCONZ by dresden elektronik is a software that communicates with ConBee/RaspBee Zigbee gateways and exposes Zigbee devices that are connected to the gateway. Our #zigbee-archived channel is a good place to ask about using it with Home Assistant, but they also have their own Discord server.
I'd ask over on their Discord - you're more likely to find somebody who knows why it's doing that over there, hopefully
How can power-on-default be set? I find this entity, but despite enabled, it's not available select.tradfri_control_outlet_1_power_on_behavior Is there anything else needed for this to work? I'm using z2m integration. Tried a lot of Googling, but found nothing useful
I'd expect you set that in the Z2M UI or using an MQTT command
The select may work, I've not updated to see it, if so just change the value
nice! select did work. ๐
or... I have two entries for the same entity... one is still named unavailable, and another (which works) tradfri_control_outlet_1_power_on_behavior. Why are those non-working entities left behind?
I know I had a number for the commit after installing... Is this missing for you too, or just my installation? Zigbee2MQTT version 1.21.0 commit: unknown.
Has anyone tried this one? Would it be possible to use with HA? https://www.amazon.com/Key-Digital-KD-ZRC300-ZigBee-Control/dp/B001VS2KEE
It's not whether it works with HA, it's whether it works with Zigbee2MQTT
you'd probably have to create your own herdsmann converter if it doesn't exist yet
You're right of course, my mistake
Thankfully they have a handy page listing both what's supported, and how to add support
True. I will have a read there if it's something I believe I can do. Thanks ๐
Never heard of a herdsmann converter... Has it to do with adding support in z2m I will read up on it...
Yes it does
https://www.zigbee2mqtt.io/information/supported_devices.html has all the details you need to get started
I have a power meter which provides data with dlms cosem, is there any wireless solution so I can get the data to my flat in a shared building? the meter is in the basement...
I find papers where zigbee is able to tunnel the data but no actual devices
Something like this? https://zigbeealliance.org/zigbee_products/prosumer-meter/
Looks like the link to the product page is dead.
this is a whole meter I can put in my fuse box ๐
Is that better or worse than what you wanted?
it's more than I requested, basically the whole shebang. I just want to read the values from the existing meter...
I don't know of anything that does exactly what you're after but I've not spent time researching it.
Could see if your power provider suggests any devices that can communicate with the meter
Hi Folks, need a help. Im trying to integrate Tuya Smart Air box with sonoff ZBBridge tasmotised .. did anyone got a luck ?
i can discover the device but there is not entities.. so cant get the temp/humidity etc data
it shows as
TS0601
by _TZE200_yvx5lh6k
Zigbee info
IEEE: 0c:43:14:ff:fe:88:16:ec
Nwk: 0x8c50
Device Type: Router
LQI: 120
RSSI: -70
Last Seen: 2021-08-06T14:25:42
Power Source: Mains
@here ?
I even asked the producer of tube, and even he is not sure; If the zigbee stick support 20db (tube ones support that), does the 3dm antenna work, or do you need to buy a 20db antenna? I found 12db antennas, but should I then set the db to 12? (z2m integration)
I have a ZHA-connected smart plug that has a wattage sensor entity present in HA, however it's not a valid option for device selection when you go to the new Energy config. I'm assuming this is because the sensor isn't being flagged for the new long-term storage ("statistics" I think?), so is there any way for me to do that myself or is this a patch thing that needs an update to ZHA?
I am pretty confident in what I sent via email, despite how I prefixed it there. - the antenna gain is in addition to the PA gain.
@molten linden Oh sorry I just felt you said you was not 100% sure ๐
I did, but i'm like 99% sure ๐คฃ
It would be nice to really know, as I have the tube with ethernet (not the poe I just ordered yesterday), and when I used 20db in z2m I got lower signal than when not using 20
with the antenna you shipped
well you have to realize that upping hte PA gain is one 1 direction > out, and it also can create more noise
that is true, so 20 might be bad then
potentially I could see it as an issue, as far as the signals strength dropping. hard to say, what the signal is actually reporting - best test is whether a device works or not.
In my house its an avg on 50 in signal
30-90
But the tube is not in the best posision
Im going to move it to the living room when I get the new one - using a POE to usb on the old one, but I have POE in all wall outlets so cleaner to just use the new one
hello, how do I add zha quirks to the HA in container mode?
use the custom_quirks path...https://github.com/zigpy/zigpy/wiki/Zigpy-Advanced-Configuration#advanced-network-config
thx ๐
Hey guys, just wondering if anyone else is having issues starting up ZHA with a Deconz stick. Looks like I am hitting this bug in zigpy-deconz: https://github.com/zigpy/zigpy-deconz/pull/161
This started after upgrading to 2021.8
Welp, nevermind, it was already merged into 2021.8.2! All good now.
Just started using it but I haven't had any issues with the latest container
It'd only affect users who are upgrading from old versions of ZHA, where there was a slight bug that allowed devices to be saved to the database in a partially initialized state
@austere patio Trying to follow your previous explanation on how to migrate from Sonoff Zigbee Bridge to CC2652P2.
I tried the "Disable the ZHA integration and in a separate Python environment, run pip install zigpy-znp 'git+https://github.com/puddly/bellows@puddly/open-coordinator-backup'
bellows backup -d socket://sonoff.ip.addr:port will create a backup of your bridge, python -m zigpy_znp.tools.network_restore /dev/... -i /path/to/backup.json will restore it to your stick"
When attempting, I get A traceback saying "jsonschema.exceptions.ValidationError: 'metadata' is a required property
Do you have a different version of bellows installed?
so it seems likes its a json error, but I can't figure out why
Maybe- I had been playing with a before
Try pip uninstall bellows first, then the pip install
Can you PM me the JSON? It definitely should have a metadata key, only the old bellows backup format doesn't
yeah let me figure out how to get it from the raspberry pi to this computer
It's quite short, you can just cat it
Yep, it looks like the bellows you're running is the current release, not my branch
If you run pip uninstall bellows, you shouldn't be able to run bellows
It's a lot easier to do this kind of stuff inside of a Python virtualenv, since it mostly isolates you from outside packages:
$ python3 -m venv venv # or `virtualenv -p 3 venv`, not sure what distribution you're using
$ source venv/bin/activate
(venv) $ pip install ...
(venv) $ which bellows
should print something like /path/to/venv/bin/bellows
(venv) $ # Now you can run the rest of the commands
ah let me try that
I thought you meant before pip uninstall bellows, then pip install bellows to clean it up, but you meant pip install your package?
I really appreciate you guys merging it so quickly!
Yeah, pip uninstall bellows to remove the existing one and then pip install my branch
@austere patio Thanks for teaching about venvs! It definitely got further, but i can't find @molten linden 's coordinator. It doesn't seem to create a /dev/ttyUSB anywhere. When I search, I find a /dev/ttyUSB/hiddev0 but no actual serial com port.
Usb coord?
yep
Thatโs odd. lsusb show it?
I get Bus Device 014 ID1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
I forgot the 001 between Bus and Device
Thatโs it
Hmm am I missing how to find which port it is on?
/dev/serial/by-id/ have anything?
I get no such file or directory for that
Odd unplug it and watch the system log as you plug it in. ๐คท๐ผโโ๏ธ
If lsusb shows it the system can see it. But maybe itโs not creating the port - driver issue? But this serial chip should be well supported in Linux
Itโs where I flash and test them
Ok well that at least makes me feel better that Iโm not losing my mind
Let me start over and see if thereโs something up with the pi im using
I'm fairly new to HA, running on a RPi. My USB stick changed serial port. Is there a way to point to the new port with ZHA? I've looking for a bit today and found something about a file in .storage, but I can't find that on my system.
It's not how it works. at this powers you just need to make sure antenna is for2.4GHz,whether the antenna is 3 or 5db just affects the radiation diagram, instead and of a sphere you get a flatter thoroid
@molten linden and @austere patio wonky raspberry pi. Works fine another.
Awesome. Did it end up working?
Yup- worked perfect on the second pi. Iโm up and running now!
not having much luck with zigbee, I have 2 pirs, 2 environment sensors and a button... they're always in an "unknown state" I'll bind everything up, or reconfigure and it'll work for a little while, then I'll come back a week later to smack the button, nothing happens, check in HAS and they're all back in unknown land ๐ฆ
hi guys!!!
i have a quick question. I purchased a MOES Zigbee Dimmer and I am trying to add it to HA. I have a Sonoff (tasmota) Zigbee Bridge and I am able to pair the device, but the entity is not being created.
Anyone knows why? Thanks
Is it this one? https://github.com/zigpy/zha-device-handlers/pull/969
Hi tube, no it is Tuya TS0601
May be a variant of this one then https://github.com/zigpy/zha-device-handlers/blob/dev/zhaquirks/tuya/ts0601_dimmer.py
Check the signature. If it matches everything but the manufacturer you may be able to just add the manufacturer to the quirk to get it working. Opening an issue there may get more traction though
yeap.. now how do I add the code to HA?
Also look for events I donโt think it will create entities
Use the local quirks folder. I think that PR I linked may have some links or references to set it up
How come itwon't create entities?
Buttons/remote type devices that donโt have a discrete state are stateless and events are used for them.
I think I found the .PY file to resolve this issue. How do I add these files to HA?
By the way, thanks for the help
Custom quirks path.
See the last comment here and the linked comment and use the quirk you are working withโฆ.. https://github.com/zigpy/zha-device-handlers/pull/969#issuecomment-894501859
hi, i have a problem to NEO NAS-AB02BO descript in https://github.com/Koenkk/zigbee2mqtt/issues/7051
Where can I find material to learn how to fix this type of problem?
Thank you so much. Have a great weekend
Migrated to the CC2652 from a Sonoff Zbbridge (which I had migrated from a Nortek Husbzb-1. I see an entity called "Silicon Labs EZSP with Nwk: 0x0000 and Device Type: Coordinator, though it seems to be offline (but still has children listed. Is this something to be concerned about? Tried to delete it but it keeps reappearing.
Zigbee was recommended as an alternative to wifi bulbs, so I ordered one. No brand, no model number. I'm told I may have to do some work to get it up and running which I'm fine with.
I have the z2m add-on running, "permit join" enabled.
When I turn on the light ... how do I pair? ๐
(this is a Tuya-compatible light)
The node relationships for your coordinator are really only kept track of for the visualization. The stick itself handles the rest. You can ignore the stale coordinator entry but the fact that it re-appears after being deleted seems like a bug.
Have you read the whole thread ? Itโs saying that when you pair to a tuya gw first, it works fine in z2m.
Sounds like they added a check into the firmware somehow so it only reports to a tuya gw
If it wasnโt supported at all, youโd need a original gw/hub and a sniffer to read everything and try to create that in a herdsmann converter (thatโs how I understood it)
Hi, I would like to have motion sensors (on a budget) but which should I choose? I can buy 5 sonoff zigbee sensors for 1 Shelly motion (wifi) sensor. What is the catch?
Ah so thats what I should expect to get this Zigbee-enabled bulb up and running.
euh it was focused on zedmaster's question @untold slate
I know ๐
I actually have 0 experience with tuya devices
That makes two of us! ๐
from what I have read, you shouldn't need a tuya gw
just the zigbee stick
but some of their devices apparently do weird things to get them paired
I have a zzh! stick ... but ... i dont know ... Zigbee isnt showing me much love
(well they pair, but don't send the information)
I have pretty good experience with hue & aqara
I bought the exact same random bulb in wifi and in zigbee. The wifi bulb is working just fine. Zigbee ... I dont know what I'm doing wrong.
well, what's the bulb ?
It's a non-brand.
LivingDewise is what it says on the box. But I cant find much about it.
can you enable debug logging on your Z2M and check what's there ? when you try to pair the bulb
Absolutely nothing ๐
how do you pair the bulb ?
I think z2m is talking to the stick.
previously, i had a xiaomi light sensor working with a different stick. i cant get that to work with this install either. but xiaomi sensors are reported to be very unwilling to repair to new controllers. so i kind of dismissed that as an issue.
i dont have the old receiver stick anymore. tossed it out when i got the zzh!
you did put firmware on the zzh stick, right ?
some people reported xiaomi stuff "will pair with something new, if it can see the something old"
I did, yes
when you disable and enable the z2m addon, there's nothing in debug either ?
correct
(I use containers, so I have to guess)
yeah there is nothing in either the HA log for the addon ... or the z2m log set to debug
if you ssh into homeassistant, and check dmesg, did it detect your stick ?
the stick is on /dev/ttyUSB0
and if you do hassio host hardware it shows up fine ?
I run Supervised
% ls -l /dev/serial/by-id
total 0
lrwxrwxrwx 1 root root 13 Aug 1 17:39 usb-1a86_USB_Serial-if00-port0 -> ../../ttyUSB0```
so the HOST OS sees it at least
does it show up in Supervisor > System > Hardware ?
ttyUSB0 > /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
just asking obvious questions ๐
I sincerely appreciate the help ๐
Also, in Z2M
one sec
It says
Coordinator type
zStack3x0
Coordinator revision
20210120
Which I think refers to the firmware running on the stick
that might be possible, so I have honestly no idea weither it could still be a stick issue or something in your z2m
there's nothing else running like deconz or so ?
Yeah, neither do I. When I have the time, I plan on moving the stick to another machine and installing z2m directly onto the OS. To see if it then works better.
no, nothing like that
I'd go and retry your aqara light sensor
try to reset it
put the stick in pairing mode
try to pair the sensor, right next to the stick
so
"put the stick in pairing mode" ... when you say that, you mean "set permit_join to true" ... or is there something else i need to do?
oh hang on a minute, what config do you have set for z2m ?
its a bit much to paste in here ... but pretty straight-forward i guess?
you can paste it in pastebin or something similar
i only need the z2m part ๐
sorry so i'm copying the config of the z2m addon?
yes
have you tried looking in the front_end ? http://ip:8090
and perhaps set log level to debug
and in the webgui (frontend) , no device either ?
correct
and if you use something like mqtt explorer, there's no traffic seen either ?
i see stuff being published ... but nothing about my devices
yeah
i think i'll just try that install on a debian machine
see if that changes anything
no docker, home assistant, addon or whatever around it. just z2m.
yeah
it should pair something though ๐
but I have no experience with zzh or supervised instance
no worries. i really appreciate your attempt to help.
onyl difference I notice in the config is that I also have device_options: legacy: false
but you should atleast see a paired device though
let me try that
also going to ask something stupid, you did use a coordinator firmware and not the firmware for router ?
hehe, i considered that
so
Coordinator revision
20210120
is what i see on the inside of z2m
https://www.zigbee2mqtt.io/information/supported_adapters.html#router
apparently you can change the mode with some button too
CC2652R_coordinator_20210120
CC2652R_router_20210128
given mine shows that number for the coordinator version
i think i've done the right firmware
button?
Adapters based on CC2652R, CC2652RB and CC1352P: single press (one of the) buttons on the device
reset/pair
some also have 2 serial devices and 2 buttons
nothing in the logs ๐ฆ
pushed the button for two seconds, let go ... tried to pair both zigbee devices i have .... nothing shows up in the log
so. yeah.
i dunno ๐
Once I have done that reinstall, I'll let you know if it resulted into anything ๐
well only thing I found from a while ago is this:
https://github.com/Koenkk/zigbee2mqtt/issues/4440
to me it has something to do with the button and sticking/flashing the stick back in
yeah i've seen that
or just a bad stick
no idea then
I'll try the reinstall.
I ordered this zigbee bulb as a test. I've got super solid wifi in my apartment, so I was looking to order some wifi bulbs. Added a zigbee bulb to the order to give it a try.
hang on
I think for permanently connected devices, I'll just stick to wifi ๐
can you add this to your config:
rtscts: false```
The rtscts: false directive does not appear in the default configuration file but is crucial for the operation of zzh so please don't ignore that.
๐ค
no difference ๐
argh
ok i feel bad for all the time you're investing into this now
thanks very very much
i'll let you know how i get on
where did you read about that rtscts: falses setting?
oh thats under serial, not advanced - retrying
no no , it has to be under advanced, not under serial
๐
ok so i had it under advanced and it wasnt working
alright ... leaving this for now
thanks again!!
Thanks ๐
Just received tubes zigbee coordinator and want to add a z2mqtt network. I installed the addon in Home assistant but apart from it eating almost 30% CPU it cant be opened in the UI. I keep getting bad gateway when trying to open it. DO i need to change things in the configuration. I cant really find what i need to change
never mind my bad. the serial port needed to be adjusted ๐ i changed it in the yaml file but i needed to do this in the configuration tab in the UI
Wow the second light i add is allready not supported by z2mqtt... This is useless lol... back to zha then!
All devices can be supported by Z2M and ZHA. Sometimes you just need to put in a little effort.
I can see that. write 2000 lines of code to get a light to work... that feels like not very worth the effort ๐
wouldnt it atleast be logic that everything allready supported by zha would be able to be discovered by mqtt out of the box.
damn thats a real bummer. i allready saw how lightning fast z2mqtt is. but im not going to add 60 lights this way
2000 lines? That sounds like a slight exaggeration...
And even if you needed dozens of lines, most would be a copy/paste from elsewhere.
my biggest concern with this is that when i added 80 of the 85 zigbee devices i have to it this way and then come accross a problem of a devices that wont work. If allready a common hue fugato spot isnt pairing then i really wonder what some less common devices will do
and why isnt this process of manually writing converters not allready implemented by the z2mqtt code itself zo this is done automatically? Is this planned for the future release maybe?
How on earth could it be automatic?
Z2M doesn't just know what a device is, what its functionality is, or any non-standard behaviours.
If you're lucky, it's just the same functionality as another similar device and you clone the code with a new ID. But how would Z2M know if that copy/paste was correct without user testing?
I'm trying to make the Yookee D10110 window coverings (AKA Yoolax) to work with ZHA. Unfortunately, it seems the Yookee reports the window covering percentage in the "wrong" way, i.e. 100-x. This seems to have already been worked around in zigbee2mqtt, but ZHA is still confused. How could I fix that in ZHA?
Ah, look. Non-standard behaviours ๐
I guess it finds the right way the same as i need to digging through all kinds of code trying to add a light that ZHA just configures in a few seconds...
No wonder Home Assistant isnt used by the mainstream consumers. this is a big pain i tell you. and im very disapointed for sure
ZHA doesn't know it's right. It assumes it's right. The end users are the ones that are left verifying that assumption.
And as you can see by mazas' question. ZHA gets it wrong too.
Feel free to use something 'better' if you can find it...
its more like something more easy to setup
Mono is rightโฆ we assume things are right and are wrong just as often as we are right because specs are never followed
i dont even know where to start... i have a fugato spot. So i need to write a converter for it. how in the hell do i find the right code to write in the js file?
Itโs incredibly hard to make everything โjust workโ and z2m does a fantastic job
can i use the standard bulb one?
Use an existing fugato converter and add your modelid
We all try to make this as good as possible for the usersโฆ I get it can be frustrating but this is not a simple area to operate in
i searched in the list and didnt find fugate amnong it or am i missing something
i know.. everyone is trying. im just frustrated atm sorry..
Wait till you get some new Tuya devices ๐คฃ
Itโs all good, thatโs how I started working on ZHA ๐
That's the other point I was going to make. Complaining about it being a bad experience is incredibly rude toward all the amazing devs that have put a lot of effort into making a difficult problem simpler for end users.
You can always use Hue hub
Open an issue on the herdsman converter repoโฆ konek is VERY responsive
if not him, someone will likely try to help
just follow the instructions and provide the info they need in the issue when you open it
I think im gonna stick with ZHA on this one... This is too much for me. Can i have 2 ZHA integrations next to eachother while a move everything from my nortek stick to tubez network coordinator?
Not on the same HA instance
crap
Z2M supports that ๐
Each integration has its pros and cons. Gotta balance your needs.
Except deCONZ. That's all cons.
Maybe ill try z2mqtt when im not angry anymore ๐
What would be the "best" way to integrate Z2M to HA? Using the https://github.com/zigbee2mqtt/hassio-zigbee2mqtt ? Sorry, new to HA, I've used Homebridge & Node Red earlier.
you got to be kidding me. all fugatos are supported except for the ones i have
Here's the instructions to get it started, mazas: https://www.zigbee2mqtt.io/getting_started/running_zigbee2mqtt.html
So adding a new converter should be as easy as copy pasting one of the others with similar functionality ๐คทโโ๏ธ
Pick something else with the same controls (i.e. same number of buttons)
I guess if i look at the supported devices the only problem i have is the fugato and maybe our outsite light. the rest seems to be supported. man can i whine like a little baby ๐
i ask some help for the fugato hope someone can help with that. the rest looks straight forward
does anyone know if theres AC Infinity fans with built in zigbee? need to get some for server room currently at 45C
I posted instructions a while ago for how to migrate between those two coordinators without rejoining devices
If you make both use identical network settings, you'll be able to swap between the two coordinators for a while
So, can I ask then โฆ.. if a Zigbee device isnโt recognized by Z2M out of the box โฆ.. how do I get it to work?
Zigbee is meant to not REQUIRE branded hubs, Iโm told. But sometimes it requires a bit of work to get going through Z2M.
Depends on the reason. If it's just an unknown manufacturer/model number variation of an existing device, you just add it to the appropriate converter. If it's a brand new device, you'll have to write a converter for it. If it's tuya, that requires a bit more effort.
What's the manufacturer and model name?
Some non-brand. Iโm not near the box right now.
It would be reported by the bulb when joining
Livingdewise A70?
Yookee/Yoolax is now working w. Z2M. Couple of items could probably be added to noob documentation: 1) You need to install the MQTT broker separately from z2m, 2) you need to know the device file name to use. I used the ZHA installation to give me the choices to choose from, something I believe the z3m install could do as well, 3) You need to install the mqtt autodiscovery to see your devices in HA. But overall, now the blinds work as expected๐ . Next stop: Integrate with Homekit ๐
I got one with WiFi and one with zigbee.
When you try pairing with z2m you will get the modelid and manufacturer
Ok
I believe the docs are on GitHub, so you can make suggestions there (either in the form of an issue or a pull request).
And with those, I do what?
Just commenting in here won't get them changed. Your comments will scroll off screen and the people that manage that site aren't in here ๐
Usually you can Google the manufacturer name (should contain nonsense like _TZE200_zah67ekd) and see if deCONZ or ZHA have code that supports it
But say they dont.
Depending on the bulb sometimes it's just a matter of adding a fingerprint to an existing converter
Ok. That doesnโt sound like too much work.
Mine is a Tuya bulb though, which was more work?
Livingdewise A70?
Thatโs what the WiFi version is called. Theyโre sold in identical boxes, zigbee and WiFi version.
not the model and manufacturer
Zigbee was just 30% more expensive.
usually is
Zigbee has model and manufacturer attributes that Z2M will read when a device joins the network
The exact values of those two attributes allow it to find the appropriate code to deal with a device
Usually what's printed on the box has no relationship to those two attributes
Oh. Yeah I canโt get Z2M to detect any devices. So thatโs not helping ๐
have you looked at the logs?
So when you say Z2M doesn't support a device, are you getting the "device isn't supported" error in the log, or are you just unable to join a new device?
I have. Nothing in there. Set to debug level.
The latter.
@untold slate your issue isn't that the device is not 'known' just your z2m instance isn't doing anything ๐
@graceful notch tried to help me with this earlier
Are there any devices on your network?
I assume a broken stick, but it's a zzh one, so I have no experience with them ๐
I've yet to actually see broken hardware
I know. Iโm just trying to get clarity on what to do IF my devices later turn out not to be a known thing.
is it even flashed with proper firmware?
@violet dagger I believe it is flashed with the latest version controller.
i'm more interested in facts
It's running the right firmware
Ok. Z2m reports a controller version that is the same as the latest published version.
do you have other devices to pair with it?
So just two devices?
Yeah โฆ. Trying to get into zigbee. But โฆ its not helping ๐
The xiaomi sensor is listed as supported. And Iโve had it working on another z2m with an old sonoff stick, which i tossed when I got the zzh.
Did you change the antenna on the ZZH stick or are you using the one it came with?
The one it came with.
can I ask another Q
have you tried with the firmware from koenkk ?
I just see that he has other firmware available
Z-Stack 20210120 doesn't have any bugs that I'm aware of that affect device joining, but he did publish a new build a bit ago
Donโt believe I tried that one.
Are you flashing it with cc2538-bsl.py?
Honestly I flashed it a few months ago when I first got it. So I genuinely donโt remember. I will have followed the instructions on the site at the time.
Regardless of the method you use, make sure to fully wipe the stick instead of flashing the new firmware on top of the old
I suspect you may be affected by the Z-Stack bug that causes the child table to fill up completely with bogus entries and new joins will not be accepted
That is something I do for my ESP devices, so if I had seen an opportunity to do that, I probably did. But it was a long time ago.
https://www.zigbee2mqtt.io/information/supported_adapters.html
I'd follow the guide & firmware there @untold slate
Thatโs what I followed
no idea why i didn't catch that before
what do the logs say when you click permit join in z2m?
Is what I followed, which is linked from the page you stated.
ok at my computer now
I run Z2M through the HA add-on
the config file has permit_join turned on
i turned it off
then when i turned it back on again
Info Succesfully changed options```
One thing I noticed after talking to Chris earlier ... although the device is on /dev/ttyUSB0, this port is mapped into HA, that setting is reflected in Settings -> Seial
When I scroll through Settings -> Raw ... I see a different port mentioned.
z2m wouldn't start if the stick wasn't communicating properly
Thats what I thought too.
I read somewhere Xiaomi can sometimes be stubborn and not want to connect with a new controller. Thats why I got the light bulb ... which is a fresh new device with no history. But that does not show up in the logs either.
that doesn't apply to zigbee 3.0 aqara devices
So ... after a long trouble-shooting session with @graceful notch earlier ... I kind of concluded ... "let me install Z2M directly onto an OS, no docker or HA non-sense, and see if i can get it to work there.
To clarify, were you able to ever join a single device?
to this stick, no
or ... no actually i dont know that for sure.
hang on let me see if i can track back some steps
In the Z2M data folder there should be a coordinator backup JSON document
Since you are using the public Z2M network key it won't contain any secret information
Could you upload the contents of it here? https://paste.ubuntu.com/
https://www.zigbee2mqtt.io/devices/GZCGQ01LM.html thats my light sensor
Is the stick plugged directly into the host?
Through a Belkin hub ... there is no space to directly plug it in
Use a USB extension cable. 50cm to 1m should do. Interference is a real issue with Zigbee sticks.
And I'd at least temporarily remove the hub from the equation in case that's causing problems.
well I can add this, i'd try to see if with only the zzh stick plugged in, it works (or shows more debug info)
@dry fossil I'll give that a try tomorrow, thanks for the suggestion. Other stuff is plugged into that hub that the mrs is using right now ๐
i used to have issues with usb
@graceful notch fair point
when other devices are plugged in
but honestly ... if Z2M is talking to the stick fine ... ?
Hmm, no, just shows that you have only a single device on the network
it looked like it worked, but devices didn't always respond
i had a working setup, just didn't worked well when i plugged in an external ssd
@austere patio Hang on, let me see on the other machine I would have had it connected to before.
same when i connected a usb stick to another device with the zigbee stick
it's like they share resources
That only means that the host can talk to the stick,. not that interference isn't preventing the radio from talking to other devices...
@austere patio Same. So, no, I've never had anything connected to this stick then, I guess.
Comms over the wire are fine. Comms over the air aren't.
Z2M does default to channel 11
Yeah I understand. Thats fair.
Maybe change it to 25 and try that?
thats the config of the HA add-on
also added to that was the 'advanced: rtscts: false' setting
If it's EM interference rather than congestion, that's not going to help much. Zigbee channel 11 is safe with WiFi channels 6 and 11.
But not with WiFi channel 1
oh and with device_options: legacy: false as well
Sure. And we don't know what channels rob is using ๐
If he's using WiFi channel 11... ๐คทโโ๏ธ
how do i find out?
If it's any normal WiFi installation, it should be one of 1, 6, or 11
Check your router settings.
unifi ap
But the TI sticks don't really care about congestion all that much
2.4 GHz
Channel
6HT20
And unless you're streaming video 24/7, I doubt the beacon frames from the WiFi AP are going to drown out every single device trying to join the Zigbee network even if they do overlap
so, channel 6 i guess
So no overlap with Zigbee 11 (unless you have multiple APs on different channels)
tbh, i'd try with just plugging in the zzh stick in the usb ports and unplug all the rest
Yeah, I'll do that. And remove the hub.
And if that does not work, move to a different host to see if that makes a difference.
does the stick draw significant juice?
Milliwatts
somehow i recall a light blinking on the stick before, but i could be confusing it with the $5 sonoff i had before
the button on the stick ... i pressed it earlier (through the hole in the case) ... anybody know what thats for?
It's to get the stick to enter its bootloader so you can flash new firmware
oh ok ... so that only effects if pressed when plugged in, i guess
Yeah, your problem seems to be either with the radio's placement or the devices you're trying to join somehow not actually being reset properly
Hm. Ok.
I will continue my quest tomorrow.
It's getting late here.
Thanks to all of you for the help and support. Much appreciated.
Good luck
Thanks ๐
Z2M has a page on how to get new tuya devices work
the things you can set/adjust is insane in z2mqtt ๐
you can even set the motion cooldown to 1 second on hue motion sensors๐คฃ
You finally coming to realise that Z2M is the king? ๐
Sorry if this is in the wrong place but it kind of deals with both Zigbee and hardware. I was wondering if anyone knew of any zigbee related issues ie slow response of sensors seen by triggering automations late, that are related not to the zigbee devices but the device the zigbee stick is plugged into. I have run 2 different zigbee sticks (HUSBZB-1 and conbee) on both deCONZ and ZHA but obviously not conbee in deCONZ and continue having the same issues.
I am running them on a Home Assistant Blue
Although I had to put in a different eMMC drive as the one mine shipped with was not functional.
Describe your issue in more detail. That's all very vague.
I was wondering if anyone knew of any zigbee related issues ie slow response of sensors seen by triggering automations late
What are you actually seeing?
In specific I have very late responses in automations that should trigger say when I enter a room. Sometimes nothing happens at all and others its very delayed
What does the Logbook show?
The only other sensors I have other than my zigbee are some grideye room-assistant sensors
Is there an easy way to monitor the logbook and filter everthing but say my motions sensors?
I think I'm going to write an automation that with audio states which sensor has been triggered.
thant might be my best bet
Why? Just walk into the room while watching the logbook.
If the sensor updates instantly, it's your automation that's wrong. It your sensor updates later, it's the integration (Zigbee).
yeah but I have 3 sensors in one room the question becomes are all three triggering at some point or are only certain sensor working
Which you'll see in the logbook.
And this won't help you determine if the automation or the sensor are the problem, since it uses both.
Yes you are right but sometimes things work perfect and others things dont work at all
Isolate, don't complicate.
You are right about that
I can give that a try just not sure how easy it will be to decipher between a bunch of sensor output that is happening all the time.
Does z2mqtt not updates states when a light becomes unavailable or the brightness changes due to power outage? When i cut the power to a light z2mqtt will keep reporting its on and when putting power back on the light the brightness isnt updated. Is this normal?
Many lights have "power on" settings for the brightness level and on/off state
I believe there is a "last" option
i just want to know if can set it to be updated when a state changes. else if a light misses a command z2mqtt will report the wrong state in HA. So if im correct z2mqtt asumes a state when it has issued a command. it just assumes the state was issued by the light instead of actually polling for the state?
if i very rapidly change the color of a light bulb serveral times a second after a few tries HA is reporting the wrong color
and this isnt updated anymore
ZHA polls the states of every light. does z2mqtt do the same?
ZHA only polls some Hue lights. The rest send attribute reports when their state changes.
If the light doesn't report that it's lost power, it's going to take a while for the coordinator to notice it's missing. It's a push system, not a polling system.
There's also the availability setting which you likely want
I want to see a bulb that can report it lost power ๐
lol
It'd have to be really smart 
no but in ZHA it shows unavailable very soon after the power is cut
Set the minimum reporting interval to 1s and you'll know pretty much instantly (though you probably won't be doing much else with your network due to the traffic)
So turn on availability reporting
searching for it but cant seem to find it
ok that works but now for example i set the light to red then turn it off. after 5 seconds HA shows the light is unavailable. when i put it back on it white again but in HA it still shows red. Is there a way to check the current state and report this back
I'm actually surprised that works, as mine just does it when I start the container ๐
just once and then nothing ๐
On a similar note, are the reporting intervals in seconds?
The availability_timeout defines the interval in seconds
it seems that z2m tries to get the state but fails Failed to read state of 'bureau lamp' after reconnect
No, Z2M won't poll
well to be rude again... that would be a hit and miss. If a light missed the command due to for example an interference it will be reported as on for all eternity while it never went on
you could change qos for that matter
I've never seen it happen - if the light is powered on then it all works
If it doesn't get the message, the state won't update in Z2M, or HA
i just changed color of my led strip 10 times in a row and after a few it couldnt keep up and the wrong color was shown in HA its not even that hard to get it out of sync
so i could use qos 2 to be sure its received
where do i change qos? on the mqtt server in HA?
I do that in nodered, since that's where 90% of the magic happens for me
you can do it in ha also probably
and in z2m you can do it as well apparently ๐
per device if im correct
set the qos of 1 light to 2 and gonna see what the damage is ๐
its till lightning fast and the last change is always the color i picked even if it has some delay so maybe this is the way to go
wow you can really mess it up turning the light on and of 30 times lol it gets a terrible delay but in the end it will return the right state so this is good
whats the use case where you'd do that?
there isnt but this way i can check if qos 2 is actually working
i just want to make sure that a command send by HA is excuted with a 100% certainty
I did that in the beginning, changed everything back to 0. And press a button again for the rare occasion it might get out of sync
You still cant do shit on your own and blame the software ๐?
Could be worse... it could be deCONZ.
You lot are so bad we send all the complaints to another server ๐
By Miimix? Don't mind him, he can't get the bot commands right.
@frail oracle This command exists purely for Mimiix, because he couldn't remember .zigbee. Don't see him around so much any more though, maybe he also forgot where the server is?
๐
โค๏ธ you, Mimiix
Ok, and I canโt force specific devices to connect to the coordinator?
The ecosmart does not repeat well, all low quality links but devices keep connecting to it
There's not a lot you can do, other than replace the bulb with one that works better
Ok, I messed with source routing briefly but didnโt seem to change it
And Iโm thinking itโs the cause of my ikea dimmers batteries going dead quickly. So Iโll try and remove the bulb and see what happens
Have you tried factory resetting and re-joining them to the network? I recall there being some bug with them that was alleviated by that, if you're using a SiLabs stick
๐
That command is mine
Because you didn't want to listen. Still having trouble with zigbee I read?
It ain't that hard
Play nice...
Is there a commonly recommended zigbee TRV? I tested a Drayton Wiser TRV last year and the experience via z2m wasn't great. Just wondering if a year on there was a better solution?
Been trying to make a herdsmen converter all night without any luck.. you don't need to install herdsmen or do I? I get a feeling I'm missing something
it is better to have multiple zigbee to wifi bridges, or just use some mains powered zigbee devices as repeaters or whatever?
Yes, you do need. If you are using the docker setup for Z2M, you could just clone this repo https://github.com/Koenkk/zigbee-herdsman-converters and in your docker file for Z2M, make this following volume
volumes:
- /home/pi/z2m_dir/data:/app/data
- /home/pi/z2m_dir/<path to where zigbee-herdsman-converters is cloned>:/app/node_modules/zigbee-herdsman-converters
then zigbee-herdsman-converters/converters is the folder where your fromZigbee.js and toZigbee.js are located
So, after interview_successful in Z2M, do I need to do anything to have the device join?
I've waited over an hour and I receive no readings from it.
Hi all. Is it possible to configure a device in Z2M in such a way that the device is Environment Lounge, the friendly name for the entities is a-la Lounge Temperature and the entity ids are a-la sensor.temperature_lounge?
I've tried
'0x00124b0022417771':
friendly_name: Environment Lounge
homeassistant:
temperature:
unique_id: temperature_lounge
name: Lounge Temperature
but no luck
@near echo that sounds complicated I hear allot about docker but no clue what that is. I installed ha on a raspi 4b
That should be it, i see itโs paired now, do you know what was the issue?
Also iโd suggest using the frontend and see if the device is there, how it got detected (correct model etc..) and what states it has
Itโs in the front end, recognized, but it hasnโt reported any status since I guess paired it.
Donโt know what the issue was. Just plugged it into the Debian machine and the Docker container works.
Did it recognize the correct model/manufacturer ?
If it is, Iโd look on the z2m site to see what attributes or something else might need to be done
Is herdsmen converter a custom component?
Yes, it got recognized correctly. Nothing on the Z2M site in terms of additional steps. Iโd expect it to report data every x minutes.
This whole adventure isnโt making me very excited about Zigbee ๐
well my experience was like a breeze to set up ๐
@untold slate did you also pair the sensor ?
i'd try with the sensor as well
I held the button on the device until it started flashing, then a bunch of log messages. Iโm not sure if there is anything else I should be doing in Z2M?
depends what the log says ๐
but normally no
not with my aqara and hue experience
Well Z2M is formed for 3 modules, or layers as I would call it - herdsmen-converter maps the devices to respective zigbee standards - you can read more about it herehttps://github.com/koenkk/zigbee2mqtt#internal-architecture So essentially what I told you about is you can override that later write your conversions. It helps if you are a programmer that you could edit those .js files
ok.. Its frustrating that the philips.js file in herdsmen is containing the fugato spot but a slight different version. I just need to add a few lines in the herdsmen and it will work correctly.. but if i cant use herdsmen converter. then this will not work. I guess there is allreadu a herdsmen file somewhere on my HA instance. cant i just add a device there? i know what lines to add
You could use these MQTT message structure to interact with the devices to see if they are alive https://www.zigbee2mqtt.io/information/mqtt_topics_and_message_structure.html
and where would i find these herdsmen files
I gave you the link earlier, here it is again <https://github.com/Koenkk/zigbee-herdsman-converters >
i know
i saw that but where does this go in a HA installation on a raspi
custom components?
I believe you have added the Z2M as a add-on. Each add-on itself is a docker container. even if you change the files, they would be reset.
Ok so i need to get this herdsmen installes on my pi some how
but i cant find how to do this
are you able to proceed with this https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
allready tried that
hwoever, any changes you make using this would be reset if you restart the add-ons
but the logs say herdsmen isnt found when i add one
I repaired again. Let's see if this time it sticks and starts reporting something on the regular.
if it's the bulb, you should be able to turn it on/off if it's the sensor, it should report something
Oh no, the bulb is an "unsupported device"
light sensor log output: https://pastebin.com/Emk47W8M
you added the file where the configuration.yaml is ? this is for Z2M and not HA
yeah but earlier today it reported that once and once only
let's see if it reports regularly now ๐
yes but when i do and change the external_converters: to
external_converters:
- fugato.js
The addon isnt starting anymore and the logs say that herdsmen could not be found
normally it should report more if you put your hand in front of it, for a while
did you also turn on legacy_api in the config
i did not. it is reporting values though.
show the logs
in the js file i use these lines at the top like in the example:
const fz = require('zigbee-herdsman-converters/converters/fromZigbee');
const tz = require('zigbee-herdsman-converters/converters/toZigbee');
const exposes = require('zigbee-herdsman-converters/lib/exposes');
const reporting = require('zigbee-herdsman-converters/lib/reporting');
const extend = require('zigbee-herdsman-converters/lib/extend');
but im not really sure where: zigbee-herdsman-converters/converters/fromZigbee directs to.
i forgot wich sensor needed the legacy_api thing
they are within the Z2M container
doesnt look like this one does, other xiaomi stuff has the legacy specifically mentioned
yeah this one doesn't really need the legacy_api thing
but it should report values fine
I have one of them
does it do that at a specific interval?
only if it notices a change in brightness
ok
that makes sense
so yeah ... looks like this is working ... at least for the moment
the light bulb shows up in the logs as unsuppoted
do you have the log of that rob ?
let me recreate that ๐
maybe we can abuse an existing lightbulb to make this one work, without much effort ๐
fingers crossed!
" Device '0xa4c13852dd444c48' with Zigbee model 'TS0505B' and manufacturer name '_TZ3210_6amjviba' is NOT supported"
no ... its an RGBW light bulb with E27 fitting
since I do not use z2m as add-on, can you paste the dir strcutre of where you have added teh .js file?
note: it's branded as a Tuya bulb
this is what i tried. this is copied out of the philips.js on the herdsmen docs
I looked at https://www.zigbee2mqtt.io/how_tos/how_to_support_new_tuya_devices.html but when it said "trigger some actions on the device" I just laughed and poked the light bulb. It did not respond.
and edited to my fugato model no
https://zigbee.blakadder.com/Lonsonho_ZB-RGBCW.html
this one might work, but then you'd need to change the herdsmen files so it thinks your bulb is this one.
you'd have to poke around on github to find those files somewhere
I forgot how actually as I never needed it, just played with it months ago
Will give that a try tonight, when some of the chaps from last night are back.
I mean, they seemed to be experienced with this stuff. Perhaps they'll be willing to help again as well.
I think there is something wrong in the location where im refering to
you .. is creating problem, just follow the examples like here https://github.com/Koenkk/zigbee2mqtt.io/tree/master/docs/externalConvertersExample
leave all the "require" as it is
so like this: https://pastebin.com/MifQMmAU
putting that code in gives the same error Error: Cannot find module 'zigbee-herdsman-converters/lib/extend'
I'm sure they are ๐ (I also sense manju has experience in it though, but he's busy with john, but it seems to address +- the same thing I guess as I didn't follow exactly)
i guess we are
I would have long given up, as the wifi version of the bulb has been doing just fine. But the idea of being able to control the lights over zigbee without requiring a brand integration in HA ... is what is keeping me curious.
If you want someone really experienced with adding support to Z2M, have you considered asking the Z2M devs over on the Z2M server?
something wrong with the file placement. I dunno how add-ons places the docker file. if you have the SSH access to RPI we could directly look into the Z2M container
I'm on there, but there does not seem to be much activity.
@untold slate you'll see that the sensor will work fine, it's just a device that's not yet supported, that's making it tricky (and I don't know why your stick didn't work before)
or I was just lucky in the progress of installing mine
๐
i have the ssh addon for HA. tell me where to look for
Yeah it seems to be updating regularly now.
as a result of me holding my hand over it ๐
those sensors are pretty good, they seem consistent in what they read (from my experience)
Mono dont you have z2mqtt? do you know where the herdmen files are so i can redirect my converter to the right place
Ok.
looks like you are on HA OS - the SSH add on does not really give you the full control. anyway in SSH try this command docker ps does it work?
Im in the console what do i typ in
or sudo docker ps
i can need to put protection mode off one moment
ok it worked
i see a bunch of lines
those are all the containers. now try docker ps | grep zigbee
ok one line
maybe we take this 1-1 - PM me
Me too. WiFi devices ๐
Giving Zigbee a spin to see what all the fuss is about ๐
actually ... i have 433mhz, 868mhz, milight, zigbee and wifi-based stuff
nice and simple ๐
amateur
Yeah I dont understand the hate for wifi devices ๐
I'm not averse to it. If I buy something that's not got support, I'm sure I'll be fine adding it. I'm a software engineer, so how hard can it be?
i have solid wifi all over my apartment and an access point that at least according to the specs can handle up to 300 devices.
I can understand why people who just dabble have some trouble. Node.js is my bread and butter.
its not hard at all, i don't code and I managed to figure it out with the read/copy/paste method
the reading part is the most difficult
well wifi devices cannot run on battery most of the time. Imagine having a zigbee button which can control various things and runs on battery for a year atleast !
Yeah. Acknowledge that. So far, I've been using 433MHz sensors for that.
I live in a pretty big house with interference everywhere (thank you isolation) and zigbee seems to cover everything pretty good, so I like the fact you can just throw a sensor or button in a corner and it works ๐
without having to think about wifi coverage
i perfected it while being a child
can you please come work in my team ?
so I don't just have to read out the manual or instructions we send
doesn't sound like a good work environment for me ๐
I once told my boss, I want to give them lessons in reading ๐
or atleast comprehensive reading
433 works depening upon where you are and can be easily decoded. Zigbee you have mesh network, so the range is kind of only limited based on the devices and yes secure
Yep, Zigbee is the better protocol between those two. Hands down.
well, by the thread is getting traction, that will be a terrific tech and will beat zigbee ๐
Not everyone seems to agree with that ๐
Quite a discussion about that yesterday ๐
To quote Marvin: "Man, I don't even HAVE an opinion"
Does Received Zigbee message from '0xa4c13852dd444c48', type 'attributeReport', cluster 'genBasic', data '{"appVersion":78}' from endpoint 1 with groupID 0 mean anything to anyone?
๐คข
433MHz doesn't acknowledge messages. It's messy and ends up with things in the wrong state.
I don't really have strong opinions on this stuff.
oof don't remind me about my 433MHz voyage ... had my roller shutters controlled by 433MHz and some neighbour ended up using the same channel as i did so in the middle of the night sometimes my shutter opened or closed in the middle of the day ... could never find which neighbour it was, so in the end i forced him to change channels by sending random commands during the day until he got annoyed by his devices misbehaving i guess ๐
Sort of like my Zigbee voyage ๐
lol last post on the zigbee2mqtt discord is from 14 days ago. On github no one is responding. i would almost think zigbee2mqtt is dead
I posted a whole bunch of messages. Didn't even check how long ago the previous messages were posted.
Yesterday being 14 days ago... 
The channel I'm in had previous messages on the 6th.
tinkerer do you know anythin about external converters
I know that there's guides for doing that
im trying for almost 2 days to add a fugato spot
yes i followed it
but keep getting these errors Error: Cannot find module 'zigbee-herdsman-converters/lib/extend'
Then you're not adding the files where it expects to find them.
Version of Z2M?
adding there lines to the js file will result in the logs telling me the module cant be found const zigbeeHerdsmanConverters = require('zigbee-herdsman-converters');
1.18.1-1
Share the file structure of the folder that contains the file you added that require too. You can use the tree command if you're SSH'd in.
So, old but not that old
The bug I found that matches the error should be fixed in it
Still worth upgrading to something vaguely current
i get command not found: tree
But tinkerer so this version contains a bug thats causing this?
man you guys are so vague all the time..
๐
yes i have been trying for 2 days
Vague? ๐ค
Google this. It'll tell you how to install it.
is that how google works? ๐ค
Google is how I still have a job as a dev 
Noice. Some operators in there I hadn't seen before.
indeed google is the magic word here when someone pretends to know what hes talking about but actually has no clue how to help
if you have no clue how to help, atleast say you dont and stop making fun of people who are looking for an answer
Hi all - Happy Sunday!
I have a ZZH adapter physically plugged into a NUC which runs HA inside Proxmox. Two USB devices are passed through, the ZZH and one (NanoCUL) for EvohomeCC snooping. Both work well in this config but recently, the zigbee stick isn't seen inside HomeAssistant until I physically remove and reinsert it (after boot). Does anybody have any similar experience / tips?
Can anyone verify that the GE Enbrighten switches work with the zigbee integration in HA? The wording in the documents make it sound like they may be using a special flavor of zigbee.
pretty sure one of the ZHA dev's uses them and they are standard spec compliant zigbee
not that anyone cares but i fixed it after 2 days... if you want to know how. you can google it.
People aren't expected to spoon feed you every last detail. You're an adult, you can do some of the work yourself.
No-one knows everything. And definitely no-one starts out knowing everything. We get there by learning, which is an active process and involves effort.
People have tried to help you plenty, both with your current Zigbee issues these last few days and with other issues in the past. Your response is rude and inconsiderate after all the effort they've put in.
Also, Anybody any experience with Heiman HS3MS motion sensors? I can't get them to pair at all - used to work on my SmartThings hub.
I see no interview messages in MQTT explorer so not convinced I have the pairing action right
You said ZZH before, but not whether you're using ZHA or Z2M
Z2M with ZZH stick
I know I can't get my Terncy devices to pair at all with my ZZH (also using Z2M)
hhmm, I hadn't even considered it could be a coordinator issue, I have another CC2652 (slaesh's). Now to decide if firing the pair up is worth it for two old motion sensors.....
Sounds easier to just bin these fellas. Thanks all!
Usb passthrough is wonky on any virtualization platform
can I quote this for my marketing campaign? ๐คฃ
I'll be sure to tell my Proxmox install that, given it's never given me any issues
Your install is magical, and even xiaomi never fall off the network :)
I have had them fall off, but only in the first 24 hours. If they make it past that they'll be fine
I do have a good selection of routers though
Does anyone know how to get the transition settings to work with the home Depot ecosmart ZigBee bulbs?
Which Zigbee integration?
A year ago I heard talk that Xiaomi Aqara motion sensors would be upgraded to Zigbee 3.0, did that ever happen?
Can't buy them outside of China (yet)
Okay, thanks.
Yes thats officially confirmed
Will I be missing out on anything if I do not get an Aqara Hub? I want to get Aqara products since they're less expensive, but I'm not sure if I need the hub.
I've got the nortek USB stick for Z-Wave & Zigbee
No
I've looked everywhere but cant seem to find it. Does anyone know where I can find instructions on how to reset philips hue bulb with out remote or hub. I think it was done with the CC2531 or something
Found it, In case anyone else is looking its called hue-thief
Yes, you'll be limited to whatever they want to support. With ZHA or Zigbee2MQTT you get much wider support for other brands. If you only want to buy Aqara though you'll probably be fine, other than looking at other brands and crying when you realise you can't use them.
hey everyone, got a weird one i can't narrow down. When upgrading to HA 2021.8.3 suddenly my ZHA becomes unstable, about every 5-10 mins i get an error that a duplicate or delayed message was processed. After that any of my zigbee sensors are slow to update for the first time, then theyre fine until the error occurs again 5 minutes later. It affects multiple devices and if I downgrade HA the issue stops immediately. I already tried updating the firmware on the Conbee II to no avail and tried messing with directly connecting the USB versus the extension cable. Has anyone had any issues going to 8.3? I couldn't find any reported issues on github and really didn't know where to go with it. I'm currently back on 7.2 and zigbee is back to being bulletproof
Tried 8.4?
I have not, I can give that a try. At least I know the errors in my log file now to look for
same error on 8.4
No response to 'Command.aps_data_indication' command with seq id '0x7c'
6:56:20 PM โ (WARNING) /usr/local/lib/python3.9/site-packages/zigpy_deconz/api.py
Duplicate or delayed response for 0x:7c sequence
6:56:20 PM โ (WARNING) /usr/local/lib/python3.9/site-packages/zigpy_deconz/api.py
took 3 minutes to occur after updating after 3 hrs of stable on 7.2
If there's no open issues I'd open one about that, doubt you're alone
thanks for that, off to github I go
When opening the map on z2m i see the lqi for each device. All of them have 2 values with a / between. The description tells me its multiple type of links. What does this mean exactly?
One is very low and the other is pretty high
rssi and lqi
Didn't think Z2M supported RSSI
Somebody did post a link to the details - buried in a Github issue - but I can't find it now
Hello, i have a problem with the newest version of homeassistant core
can everyone help me?
I have three blackout blinds from IKEA. with a older version i can edit these blinds. with the newest version i dont
i can see the blackout blinds by the application zigbee2mqtt and can make the blind turn up/down. Basicly not about the Homeassistant
Make sure you're also running a recent version of Z2M - 1.20 or later
Version 1.18.1 is running and i have no update for zigbee2mqtt
Then you're running it from the old repository
If you're stuck on Zigbee2MQTT 1.18.1 and you're using the add-on, then be aware that the add-on repository moved in February 2021. If you first installed before then, and you haven't updated your Supervisor configuration, then Home Assistant is still looking at the old, not being updated, repository. https://github.com/zigbee2mqtt/hassio-zigbee2mqtt/issues/52#issuecomment-792873888 covers how to switch repository.
Thought that was pinned before, but it was on another server
Alright I have a weird one. Migrated from Sonoff Zigbee Bridge to Tubeโs CC2652P2 USB Coordinator. Coverage seems great and everything is working much more reliably. But the LQI's are all under 90 (Most in 30s to 40s) for every device (which I would guess is wrong) and the RSSI is unknown. Is this expected, some sort of error with my setup, or some sort of bug?
(I should also mention this is ZHA)
all the different radio chips TI/SiLabs/Noridc/NXP calculate lQI/rssi differently. really the best test is whether a device works or not.
Interesting- thanks! I figured it was something where it didn't really matter because everything is working!
I still do have (I mentioned on Friday) a weird Rogue entity called Silicon Labs EZSP that has 7 children...
I guess I should say "Device" not entity
it's the left over from your old coordinator. the children should drop off over time, but I thought a PR to be able to delete old coords was made a while ago, but I don't see how to do it at the moment...
So does that mean at this time they basically still think the old coordinator is the best route?
Thanks but it doesnt work
I see all my devices and can configure these when i open the ui. but the homeassistant can't find the entities
nope the version is 1.18. and a 1.20 version i doesnt found
i cant find a newer version about supervisor
Unfortunately I don't use add-ons, but that processes has worked for others as recently as last week
i now use the github link for the repo and it was found
what a shit, thanks for your help ๐
Im musing getting some door contact sensors to help with automations, looking at these Aqara Zigbee devices, dont know if anyone has tried using these with HA/Deconz rather t han the standard Aqara hub?
ISTR folks use them with deCONZ just fine
My understanding is they are just flat Zigbee, so will be happy connecting to Deconz/Conbee?
deCONZ by dresden elektronik is a software that communicates with ConBee/RaspBee Zigbee gateways and exposes Zigbee devices that are connected to the gateway. Our #zigbee-archived channel is a good place to ask about using it with Home Assistant, but they also have their own Discord server.
Probably going to get faster yes it works or no it doesn't on their Discord though
Hi, anyone has any experience with Sonoff BasicZBR3 as a router? Does it work well?
I currently have a Tasmotised Sonoff Zigbee Bridge as a coordinator, with several sonoff zigbee motion and door sensors. Wondering if a BasicZBr3 would be effective in improving the mesh.
Don't have experience with that device, but I see it is a powered device, and those are usually ok as router.
Some two wire (no-earth) switches/dimmers don't though
Indeed, there are always exceptions (in my experience no earth has been no reliable indicator, some may have other experiences), however in the meantime I checked this device as well, and it functions as a router according to several users.
I bought 2 Aqara door contacts last week and they work well on ZHA using deConz and conbee 2.
hi guys, im using a conbee 2 stick with deconz and after almost a year with no problems im having kind of stability issues
some lights are not reacting properly, one was even flickering
its a mixed network, about 40 devices, mostly hue and aqara
any ideas? maybe its a recent deconz version? im using auto update
my conbee 2 version is 2.11.05 / 9.5.2021, firmware is 26660700
deCONZ by dresden elektronik is a software that communicates with ConBee/RaspBee Zigbee gateways and exposes Zigbee devices that are connected to the gateway. Our #zigbee-archived channel is a good place to ask about using it with Home Assistant, but they also have their own Discord server.
You could ask the folks over there, but also check for interference from WiFi
i have no neighbors
the only wifi here is my own, im using ubiquiti unifi
thanks, ill ask there
Did you check to ensure you're not stomping on the Zigbee channel though?
my 3 APs inside the house are using channel 1/6/11
my zigbee network uses channel 11
1 AP with 5 clients is already enough? seems not like its a problem
what about people with lots of neighbors and different wifis? im having a mostly ideal situation here

ok im sorry
There's 3 or 4 Zigbee channels that are pretty clear of typical WiFi channel use
ok, so it seems like i should switch the zigbee channel, alright, i have read the metageek article
so zigbee channel 24 seems like my best option, if 26 isnt supported by some devices, right?
Also remember that your wifi router may switch channel automatically if it feels the old one is too noisy.
Some do. Not all.
it was configured to switch automatically, i already set it to static a few minutes ago
So I'm trying to use Hue-Thief to get control of my Hue Bulbs again. Does anyone know if a HUSBZBZ-1 is compatible with Hue-Thief? It looked from the documentation that it should be but I'm having issues it.
Traceback (most recent call last):
File "./hue-thief.py", line 2, in <module>
import pure_pcapy
ModuleNotFoundError: No module named 'pure_pcapy'```
I've tried on both a RPi and Ubuntu for windows and both give the same error
Sounds like you don't have the dependencies installed. You'll want to look at how to do that.
@dry fossil I did this step is that not enough?
pip3 install --user -r requirements.txt
You don't need to tag me. If I'm away, I'm not coming back ๐คทโโ๏ธ
That should be enough but it's clearly saying it can't find it.
If you're running with sudo, Python won't be using your user site packages directory
Use a virtualenv: ```
$ virtualenv -p 3 venv
$ source venv/bin/activate
(venv) $ pip install ...
(venv) $ sudo venv/bin/python ...
Or add your user to the appropriate group so that you can access serial ports without becoming root
Mono I'm sorry I guess I tag people because of the way I use Discord and the tag helps me personally because I seem to miss messages and it helps me. But note taken and again Sorry
Thanks puddly you are absolutely right
I'm going back to the pi now becuase its going to be much more straight forward there vs using ubuntu in windows.
And now it magically works thanks guys
Just replaced all my crappy Wyze sensors with shiny new Aqara ones. Incredibly smooth experience with ZHA. No issues at all. Now I no longer need MQTT either.
@sour shadow just changed my channel, as of right now all my lights are working properly, thanks for heading me into the right direction
Tinkerer is away for 3h 9m 11s with a message :point_right: ๐
Hey everyone
I'm just starting out with Home Assistant, mainly because I want more control over my devices and will probably add more in the near future.
Right now, I have lights (Lidl) and smart plugs (Action/ LSC) connected via a (Silvercrest/ Lidl) Zigbee bridge in the Tuya app. I added Tuya integration to Home Assistant, but it only shows the plugs. Has anyone been in the same situation? Should I just buy a Conbee 2 like every thread I've googled reccomends?
Thanks!
I have a CC2531 I got from ebay early 2020 pre-flashed. Zigbee2Mqtt quit working and it seems it's the dongle, FAQ says I should re-flash it. I don't have the programmer to do that (unless a FTDI TTL-232 cable would work). I presume it wouldn't be worth it to buy a programming cable for it at this point. Would it be better for me to get a ZigStar on tindie ($40) or a nortek from amazon ($52) - I already have a Aeotek Z-stick for z-wave so I don't need it to be a combo device, but it could be handy.
not sure if this is the right channel, but has anyone found a cheap(<80 euro's) but good/decent, no-soldering solution to measure the CO2 levels of a room?
something like this? https://www.adafruit.com/product/4867
thanks, I'll try that tonight when I get home
ooh interesting, thanks ๐
Hi, Xiaomi devices doesn't want to connect directly on a router (Lidl outlet) but directly on the coordinator same if I'm going so far from coordinator. It is normal?
with Z2M
It's normal with Zigbee
Why ? Normaly it need to work with coordinator and router
Devices pick their "best" route to the coordinator
If it can go direct "well enough" it will
At my position, it can't go direct. But my Lidl outlet is near from it but it don't want to connect on it.
If it can't reach the coordinator it'll route via the router. Just pair it in place and it'll work out what works for it
Selectively permit joins only on that router and re-join the device to your network
I have already done this but it still does not work. I am not the only one with this weird behavior while looking at the forums
What do you mean "does not work"? I'm not familiar with Z2M's network map but if you permit joins only through that router, the device has no choice
That was broken before 1.21
Not that I've ever had something join via a coordinator it can't reach
Yes the device has no choice but when I make a network map, it show me that my sensor is connected directly to the coordinator
Is there an actual problem? Is the device not working?
It work when the device is connected directly to the coordinator but not with a router. I would like to install a sensor in my letterbox
Which is far from my zigbee key
My slaesh is in the country! Time to order some aqara sensors. Is there anything I need to know before I order some? Any particular versions or anything I need to know?
buy enough ๐

Though I'd say buy too many, because enough isn't enough ๐
Xiaomi are cheap and work well as long as you have the right routers. Tuya and Sonoff are ... sometimes ok and sometimes junk ... just avoid them.
Starting with 4 motion sensors 
I bought like 4 of everything before the import taxes began ๐
I love the Xiaomi Mijia light sensors, otherwise I'm equally happy with my Konke and Xiaomi sensors
Wish I done that, yeah gonna get mostly aqara stuff I think before expanding beyond that. I'd quite like to make my own weather station some day too
Not pairing in place. I see that you want to do
I dunno, I find my Sonoff with Tasmota are one of the most stable bits of my HA setup.. ๐
Nice it work :)
Hello everyone:
Would like to know if ZHA has the capability to set power loss recovery modes for Philips Hue Lights? Any one has experienced this?
Does Zigbee re-mesh at any point? Or will it always try and use the closest router when it was initially paired?
It will self-heal, yes.
Some devices are 'sticky' and don't like to move to a new neighbour (some Xiaomi, for example). Most should move when they think there's a better route.
And the map won't actually show the links for battery devices unless they're actively communicating? My map just has the sensors floating without any links, but they're all working.
The map can only show what it knows at the time of building that representation. I wouldn't worry about it.
good and (relatively) cheap devices that will act as zigbee repeaters? (US)
@serene notch i tried all combo nations of cheap coordinators and always had problems until I got TubeZB stuff.
IKEA Tradfri sockets seem to work well enough here.
Quick confirmation: When I replace ZZH with Tube Coordinator (Z2M), I do not need to repair my devices? What about PAN_ID? Or is it really just plug-and-play switch?
Are you using Z2M or ZHA?
Z2M
Pretty sure it's plug and play
Though I think it will fail to start if the coordinator backup doesn't match the network settings stored in the device
Yeah that's what I'm afraid of
$ python -m zigpy_znp.tools.network_backup /dev/serial/by-id/old_radio -o network_backup.json (ZZH)
$ python -m zigpy_znp.tools.network_restore /dev/serial/by-id/new_radio -i network_backup.json (Tube Coordinator)
then it is plug-and-play?
Yeah, then they should be identical
I think I'm gonna revert back to ZHA until Z2M supports polling devices... Yesterday my motion sensor fell of the grid after detecting motion it had been offline for a few hours and went back online. The problem isn't that this happened... The problem is that Z2M doesn't check the state when it's available again but instead just sets the assumed state in home assistant in which the motion detector went from unavailable to motion detected and stayed in that state for hours leaving the lights on. This is not acceptable for me. Assuming states is not acceptable when building a reliable smart home. Until Z2M starts polling devices to get the actual state instead of assuming it I'm going back to ZHA.
imo you can 'poll' powered devices with Z2M but zigbee devices aren't actually made for that.
And it's always possible to open feature requests against Z2M. If nobody ever asks for "polling" then it's not likely to turn up
I don't think ZHA polls. Zigbee is made to be a push communication, not a pull. As I understand it, each device will only report when its state changes (to save battery). They generally also have their own 'heartbeat' where it reports at specific fixed intervals. ZHA and Z2M basically have the same problem in that they may not accurately know the state of a device. ZHA has the "consider unavailable after x seconds" setting, which will reflect unavailable if no state changes/heartbeat updates happen during that time.
The one problem you may be experiencing is MQTT retained messages, but I don't know much about that to comment.
Anyone know if it's possible to adjust the sensitivity of an IKEA motion sensor? Have one at my front door and it triggers every time a car goes past. Or should I just 3D print a shroud to aim the detection cone down?

