#zigbee-archived
1 messages · Page 151 of 1
GE/Jasco Enbrighten dimmer switch (43080)
In theory it supports it, but I know reality is often different.
hrm Adminiuga may know... I stay away from GE. Had some zwave plugs fail and several appliances
so I avoid them all together now 😄
lol
Lol. 🙂 I wanted to avoid it, but Inovelli's Blue switch is still a little ways off, and I wanted to start playing now.
As a more general question... where's a good place to go to learn more about clusters and bindings? I've always run everything through HA, so I've never gotten into that aspect of Zigbee. And is there a way to see what a device's current bindings are?
interesting, thank you. I suppose it's likely that something like a smart plug would almost certainly act as an extender?
Without knowing the exact model, that's a fairly safe assumption.
If you have any in mind, maybe someone here can confirm.
I think it tends to be the bulbs and wall-mounted switches that are hit and miss.
Please note that mains powered switches without neutral wire won’t usually act as routers either
still planning so I don't have any specific models in mind yet, but thanks or the info all
I did try binding it to a single one of the bulbs as a test and got some inconsistent direct control. So it seems that it does support it somewhat.
hi guys. does anyone know the work arround zigbee devices that pair just fine with Home Assistant creating ONLY the devices, not the entities???
I have a dozen of 2 gang zigbee dimmers (tuya) that paired ok but did not create the entities, just the devices.
TS0601
by _TZE200_e3oitdyu
explained just above - assuming it has a quirk applied and is working... #zigbee-archived message
I recently added some aqara magnet door sensors, temp sensors, and ikea outlet, usb repeater, and the ikea switch for the outlet. It's my first dive into zigbee and so far two of my door sensors have dropped off and now so has my ikea switch
I got one of the magnet sensors going but it's dropped off again
the switch is the latest to go
and i'm using ZHA
i've managed to get the switch to re-pair now, but i'm concerned this is just going to keep happening
They are not wrong, i just wish it was selectable behavior. Well, this is fixed in thread, so I'll wait till those appear on the market
They support it. What remote are you trying to bind?
Aqara does that. Unless you are Tinkerer :) I'm slowly replacing mine with konke
anyone has any idea why a perfectly good Aqara Weather Multisensor would not pair anymore in zigbee2mqtt? context of the issue: it was in my network and it just die I've clicked little button to wake it up (nothing) I've clicked button to wake it up and try to reconfigure from z2m (nothing) clicked button and try to remove it (fail), force remove it from the network (success). now I can't add it back (battery has a bit over 3v, led blinks when button is pressed)
my take is the device somehow is still in my network and I don't see it, this is why is not pairing anymore
any ideas how to solve this situation?
That is often normal. When you create an automation, select these devices and it will show you device specific actions, eg. Single click button 1/2
I have a few aquara devices and work perfectly with the conbee 2 coordinator, maybe that makes a difference too
I hope someone can help me 😅 ...So I'm new to HA and trying to migrate from OH to HA. I'm running in some issues with one Zigbee device (deconz). In HA it only has one Entity and that covers the battery status. It concerns the ZG2833K8_EU05 by Sunricher. In Deconz it is reflecting as expected with 4 zones (as it was working in OH)
Situation: I have a blank sheet. Very new Home Assistant install, no Zigbee set up yet. I have a Conbee II stick, bunch of Tradfri and Aqara hardware.
Should I go for Deconz, ZHA or Z2M? 🙃
conbee II on z2m? eeeh
thats good considering its still in experimental support for z2m
yeah I never understood why it's still experimental
literally 0 issues (unless user errors)
I don't even use an usb cable 😄
Uff seems like lots of troubles with aqara. I also have installed 2x window/door sensors near each other and integrated them into HA with ZHA. While 1 is working perfectly fine, the other one gets it's status stuck on Closed/Open position. When I re-pair it in ZHA it works fine for some moment, and then gets stuck again after around 20-30 minutes. Any suggestions on what to do?
how do you pair it ? how far away is it from the concentrator/router/repeater..
is there anything in the log, if you enable debugging ?
Have you tried changing its battery?
No I didn't tried to change the battery yet. Like for me it works, and HA is showing that battery is at 100%. I have 2nd sensor nearby, like in less than 1cm - that works totally fine.
How can I enable debugging logs?
Battery level reporting for Aqara sensors is unreliable
Many of mine report effectively the same voltage for the entire lifespan of the battery so the percentage never drops
they are showing 100% on both, so I assume they also are not showing the real %
Still when I re-pair the sensor it starts working, then again gets stuck after ~30minutes. 2nd sensor that is nearby works totally fine...
If you exchange batteries between the two sensors then that would be pretty indicative of the problem
Older Aqara sensors have no configuration, they just join and report stuff
So if it's not reporting then it either didn't join, or can't report due to a weak battery or other adverse network conditions (which likely isn't the case if the second sensor works)
That's the only one I haven't tried yet haha. It requires reflashing the conbee right?
Can someone help me out getting a non supported device working? I already joined the device to the zigbee network. Type device: "LED1935C3"
The error: "Zigbee2MQTT:warn 2021-09-01 18:31:28: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html.
Zigbee2MQTT:warn 2021-09-01 18:31:31: Received message from unsupported device with Zigbee model 'TRADFRIbulbE14WWclear250lm' "
Can't figure out how to add the new device
Already found the problem! Needed to start "Zigbee2mqtt edge" instead of the normal one!
The problem is actually that you're using the old add-on repo for Z2M
See the pinned messages
I only did a FW upgrade through deconz and that's it actually
no reflashing needed 🙂
Can I somehow see which zigbee events are triggered? I use ZHA and a Conbee II USB stick, if that matters.
-> Events and you can listen to events
Yes, but which events to listen to? Ah, sorry, my HA must have been lobotomized, I just restarted and now I have zha-events in the list of events. I thought it should be something there, but didn't see it until a restart...
You won't see things in the list until you have at least one listener for that event type.
ZHA maybe adds its own listener 🤷♂️
Huh, interesting. I was under the assumption it required some flashing. Thanks! I might take a look at it
No problem, it’s the only thing i did, other fw through a deconz docker and then started using z2m
I'm working on moving away from Ikea Tradfri hub. So far I learned that it's best to go with zigbee2mqtt + a CC2652 stick for a Rpi combo. The only thing I'm missing on is should I go with a R, RB, or P version? I'm looking at sticks here https://www.zigbee2mqtt.io/information/supported_adapters.html
I guess that the range should be a lot better than the Ikea hub?
Well, there's a lot of it depends, but ... probably
I mean, I don't have issues now.
As it's a mesh network however, range from the stick is less important
I will go with ZigStar Stick v4, I see it has EU shipping so thats great
Oh it even has a LAN version!
Thanks @sour shadow !
I am using deconz with home assistant and I just bought some aqara water sensors that I plan to use as leak alarms in the kitchen. Since they are expected to remain “dry”, how do I monitor and make sure that they are in range and working (i.e. transmitting)?
All sensors should report in every few hours
I assume that deCONZ exposes that last seen information in some way
Haha
There's also a button on them to awaken them
Check the attributes of the entities, see if there's some information about when it last reported in
I see “last changed” and “last updated” in the home assistant GUI. Does either of those reflect when they last transmitted something?
I'd expect last_updated is likely the one, but I don't use deCONZ
Zigbee2MQTT has a last_seen attribute
Easy enough to monitor them for a while to determine if that’s the case. Thanks!
Or go push the button on it to get it to check in, and see what changes
So, .. for anyone who might have some input on this.. I currently run deconz on a Conbee II stick hosted on a Intel NUC. I'm a bit sick of the shole 2 meter USB 2 cable trying to run it as far away as possible from anything that might interfere with the radio. Is there a good alternative for Zigbee that I don't have to deal with these shenanigans with and can just plug into the NUC without worrying?
Not that you can plug into the NUC - the problem is the interference from it after all
There are network based coordinators, such as the ones Tube sells, but that's the only other option
hm
tbh sounds a bit interesting.
the whole BT interference thing is a pain in the ass.. especially since i dont even use BT for the NUc
It's not just BT, it's USB 3.0, and any other form of RF
the USB3 issue isnt just a conbee thing?
huh.. yeah ok
found a post about wifi channel overlap.. you know if you lose your zigbee network if you change the channel for your deconz stick?
Yes
damn.. that'd ba a last resolution then.. gotta check if anything is near ch 11
Odds are good there is, channel 11 is a terrible choice
If your network is mostly bulbs and other routers then there's a good chance they'll pick up the new channel after a hard reboot (off for 10s)
good tip, worth trying before a full reset if it comes to that
Does anyone have recommendations for Hue hub emulation software for zigbee2mqtt? Looking to get hue sync back from when I converted from the hue hub. Hopefully trying to run it on my HA machine but I have had difficulty in the past due to port 443 being in use
Thanks in advance and feel free to ping me.
It wouldn't be anything to do with Z2M. You'd run something in/via HA, and HA knows to control the bulbs via MQTT.
I don't know what it does or if it's any good, but I think I've seen people discuss an #add-ons-archived for Hue.
Hello, I have a Zigbee Tube hub cc2652 and trying to pair a hue switch. I have the hue switch in pairing (blinking red light on the front) but I cant get it to pair with the Tube hub.
thoughts?
Thanks, ill ask there
For the 4 button hue switch? Did you reset it with button on the back for 10 seconds?
I did. I get the green red flash. its in pairing, but not connecting.
Am i missing something to put the gateway into pairing?
Zha or z2m?
They have a permit joins button in the GUI I believe
Definitely should be supported
BLS?
zBSL
No that is only for firmware updates for the coordinator
No need to mess with those unless doing an upgrade
i just got my zig-a-zig-ah! today. what do i do to update the fw?
Start here… https://electrolama.com/radio-docs/flash-cc-bsl/ ?
So, I live in NA, and I have been for a while trying to find a resonably priced zigbee wall dimmer switch to just drop in and replace the one I have there already. But I can't seem to find any. Does anyone have a suggestion?
😁 that was my issue I reported, but it is back I guess?
I have some sengled bulbs that report power is watts is there going to be any changes to these to make them show up in the energy dashboard or is it something I need to do manually?
@sour shadow hey bud, when you get a sec, it seems the config worked, cause it successfully added the intigration and set up the usb dongle i assume, but when i go to search and then try to pair the aquara temp and humidity sensor it wount connect
anyone have fun ideas and use cases for the aqara cube? i bought two.
also how do i restrict zha to only scanning on certain channels? that way i can have it scanning on a channel my router isn't broadcasting on? or am i thinking of this the wrong way
tbh i dont care how i do it, i just want some of my zigbee2mqtt lights to sync to my screen. I thought emulating hue would be easiest but i havent had success yet. Be good if hyperion has support or something
Which is all fine... but nothing to do with this channel 🤷♂️
Hi, I am trying to get my Ikea trådfri to connect to my deCONZ but I only get failed to connect. I am trying with both a 5 button and a 2 button
it starts to blink rapitly and then a fading blink
My experience with IKEA stuff is that it takes a ton of attempts to get them to pair. Unless someone comes along with better suggestions, I'd just say keep trying.
Took over 30 attempts each for me to get the repeaters to pair (with Z2M).
I cannot see a choice for the two button,only the five, can i add the two button there as well? the choices I have is 5 button remote or dimmer
Add the following to your config file
zha:
zigpy_config:
network:
channel: 15
Just have in mind. After this, you need to repair all your devices.
More info here https://www.home-assistant.io/integrations/zha
To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks. Here's an example
Don't forget you can edit your post rather than repeatedly posting the same thing.
For over 15 lines you must use a code share site such as https://www.codepile.net/ (pick YAML for the language) or https://paste.debian.net/ (pick YAML for the language).
Channel 15 is the ZHA default. Plus, that config is only read when forming a new network. It won't change the channel of an existing network.
That’s why I mentioned that the devices needed to be paired again in one of my messages. And I am not suggesting to keep channel 15, I am just adding the how. Cheers
Solved it: get an extention USB ( I had 30 cm) to get the corbee away from the PI and then there was no more problems
Hello, not sure if this is the right channel: I am experiencing issues with Conbee II and ZHA. It worked for over 6 months and now it stopped, it doesn't even see new devices on the network to add. Anyone experiencing the same problem? Running the latest HA on RPI4
What changed? Did you upgrade HA? Something else?
it stopped working before I attempted the upgrade. Nothing really happened other than I had a power failure and some of the ikea plugs stopped working (they are acting as routers). Since then nothing really started working. I removed all ikea devices and only try to pair aqara sensors... even brand new ones.
I had a question yesterday regarding aqara water leak sensors connected through deconz. My problem was that i could not find a way to determine when they were last seen. HA seems to not update “last updated” unless the value of the sensor changes. In deconz I can see when the sensor was last heard from. I tried zha today for the first time to see if it would behave differently. It seems to be the same, although in the zha config I do have “last seen” under zigbee info. Is it possible to create an entity of this information so I can build an automation that monitors the sensors and make sure they do not become unavailable?
Alright that seems promising, albeit challenging 😀
template:
- sensor:
- name: Sensor thingy last seen
state: "{{ state_attr('sensor.thingy', 'last_seen') }}"
Something like that, but #templates-archived can help I'm sure
if i get a Electrolama zig-a-zig-ah! stick, can i use it with z2m while still using my raspbee II with deconz on the same host? so i can migrate my network without a bigger downtime
great, thanks, now just to wait the stick becomes available again 😄
I might have a way to migrate from the Conbee/Raspbee to other sticks in the next couple of weeks so @ me or send a PM if you want to test it out whenever you get your zzh stick
I'm aiming for recreating my whole network as i have several dead devices on my current one anyways 🙂
great opportunity do do some cleanup 😄
Ah. Good luck with the new stick then!
thank you for the offer though 🙂
so i have a centralite 4256050-rzhac
and the ZHA doesnt see it's enegy monitoring
but i know it has it
is there a way to rewrite the config to make it show the energy usage also?
search "Electrical Measurement Cluster" in the doc to get where it's power info is if your interested in taking a look
kshaffer
if someone is good at scratch making devices work like this, ill offer some free stuff for someone who wants to help, just ping me
ive got some zigbee keypads, door sensors and alarm stuff that comes up as unk_model that would be cool to use
I'm not sure if this is the right place to ask - i've a couple of tuya zigbee light switches connected via a Silvercrest zigbee hub and they work fine in HA with the Tuya V2 integration, but they seem to fall asleep(?) semi-regularly and are then completely unresponsive in HA (and in the Tuya app) until they're "woken up" again by manually pressing the switch. I've checked and restarting the zigbee hub doesn't help. Anyone know what's going on with that?
if i use the official hue hub i can get rate limited by spamming too many light commands, right? what if i hook my lights directly up to my zigbee adapter, will this get around rate limits?
I just got Slaesh's stick, and I'm trying to set up ZHA integration and I'm getting the error that says "couldnt start ZNP" unhandled command sys.resetind Any help on this?
After some time this error goes away and it seems happy, however it can't seem to find devices that are in pairing mode.
lol
so also have a lamp module
jasco ZB3101
it gives me power consumption but no on off switch is recognized
i cant win
lol
anyone have recommendations for zigbee lights and lamps (like the hue go lamp)?
You would need to be more specific
hello, i just got my zigbee dongle and added to my hass server i managed to add a vibration sensor but when adding it to lovelace it just says "detected" and the battery percentage
do i need to pair it tru the app to get the values? i'm using zigbee home automation integration
Check the attributes of the entity that reports detected
If it's in range of the coordinator (the dongle) then it'll update that report when the device decides there's no vibration/motion
If you paired it and then moved it to another location, it may not be in range
i see, it is kinda next to it on a non vibrating surface
is there like a pooling rate to tweak? or tied to the device
No, end devices (battery powered) aren't polled
i see
i'm looking at the info of the coordinator, it says , last seen: like 25mins ago
it's a Texas Instruments based coordinator
Push the wake/pair button on it, see if it reports in
it did not, let me try the usb3 port but dont think thats the problem
i have it on the front usb
No, don't use the USB 3 port
- No USB 3 ports
- Short USB extension cables are good
- Avoid WiFi interference
okok
i did reconfigure the sensor and now it says "clear"
dryer_ ias_zone : clear
xd dont know that that means XD i will try chang it the device type
clear, as in no vibration
mhm ok i will vibrate the thing
do the led colours of the end device mean something? or just random
it came with no documentation
the box literally says "Smart home" that's it xD no documentation no markings no nothing
i think it is working now
updates are quite regular now
so for zigbee that should be the whole process, add device-set device to pairing - enjoy?
Add device in place, set to pairing, pair, done
neat ok then ill see what it can do, thank you! have a good night
Any recommendations for wifi/zigbee/zwave switches that offer local control? I have some tp link casa ones but dont want to buy more since they are removing local access. I do have other ZigBee devices setup so can use that if people recommend it too. edit: usa budget, flexible (only buying a few not the whole house), prefer wifi open to ZigBee zwave (have integrated into my ha already)… have neutral wire already. First looking for regular non dimmer switches might care about dimmer/3way in the future
hrm i installed a new smart plug some days ago, using deconz, its the same brand and model as the one i already run a few weeks, they look identical in deconz, just NWK and IEEE differ, i can turn it on and off, but i dont get the same sensors in HA, the original one has a power, a temperature and a consumption sensor, the new one not ... what might be the problem?
left old, right new one: https://imgur.com/a/lkQ2UaF
yeah they blocked it in the firmware of the device, if I'm not wrong
some aqara plugs have similar issues
but why? 😦 can i flash a better firmware? 🙂
also the firmware seems to be the same for both plugs, at least phoscon tells me its version 09-06-2019 for both plugs
So extremely tired of getting WOT error messages from Z2M, could it be this, that, could it be my piece of sh*t ConBee, could it be that. Is there any better alternative than ConBee II available in the Nordics?
Zigbee n00b here. Are there any HW which is preferred/better than others in the list of zigbee radio modules for HA integration? I've seen the Conbee II mentioned quite many places
CC2652 based is the best
Hi guys I finally decied to integrate my Zigbee USD directly on HA using integrated tool, but I get this error "Your network is using the insecure Zigbee2MQTT network key!"
What should I do?? There's no info abouth that on the WIKI etc
Thanks
Hmm, seems to be a lot of different USB products bases on the CC2652, however no match yet for anything available in Norway 😦
I ship to worldwide (from the US) and happen to be building some USB coordinators now. (tubeszb)
Jep, shipping not normally the problem. Insanely high customs and VAT handling costs are
And ironically, all the various junk sent from China on ali or ebay, are sent mostly right through customs with virtually no shipping and customs cost.
Is it possible to pair Ikea Åskväder with deconz?
never mind it ended up as a light. thought it was a switch
Sup, dunno if it fits here or rather integrations. I've been off this all here for long and just periodically run updates. Now it came to my mind that I want to measure my electricity usage. And I wonder what is the thing to go for these days? ZHA or Deconz? My stuff still runs in Deconz and I have a few of this awful looking Osram Smart Plugs that are only used for on/off yet. I heard they can actually measure usage as well but I can't find such a entity known in HA. I just ordered some other Smart Plugs as well that are capable of doing so. So is this about Deconz or anything else missing? Also is there anyone who runs that with the new Energy Tab from HA?
ZHA > deCONZ
Thanks Tinkerbell, good to see you around
There's also an #energy-archived channel for energy related things
kk ❤️
It's not an error, just a warning. It means that your Zigbee stick has already been used with Zigbee2MQTT with its default network key, which is public. Think of it like having an open WiFi network. If you don't care about this, feel free to ignore it.
I really don’t care about it but if I can solve once and for all I would be happy
There's no way to easily change the network key without creating a new network and re-joining all of your devices
If you want to do that, follow the instructions in https://github.com/zigpy/zigpy-znp/blob/dev/TOOLS.md to get access to an environment that can run the zigpy-znp command line tools and then perform an NVRAM reset
And then run the "form network" tool
If you're basically starting from scratch, you may as well run the energy scan to see if 15 is really the best channel for your network
20 or 25 might have less noise
In either case, remove the ZHA integration and add the following to your HA config:
zha:
zigpy_config:
network:
channel: 15 # or 20 or 25, depending on what the energy scan says
Once you restart HA and re-add ZHA, it will form a brand new network with that channel
I actually haven’t added any zigbee at all so I’ll definitely reset it
Have you used the stick before with Zigbee2MQTT?
Yep
Ah, okay. Eventually we'll get network settings stuff into the ZHA UI but for now command line tools are the only way to do this
So technically I could wait for an updated version of the UI and then I could reset etc?
You would be waiting for possibly a very long time 😆
Ok I’ll try to reset it then, so quick summary I’ll need to reset it, then add that part on the yaml and then finally add zigbee stick using UI, right?
Thanks man really appreciate it
Yep
Remove the ZHA integration first
And restart HA after adding that section to your config file
You only really need to add that to the config file if you plan on changing the default channel
Yes I’m gonna do that, but first if I’m not mistaken I should reset nvram?
Do the scan first, then reset NVRAM
It requires a formed network to run and will throw an error if you don't have one formed, if I remember correctly
Is it ok if I DM you?
Go for it
hi! I'm having a strange issue with my hue bulb. it's part of a zigbee group with an ikea tradfri bulb, only those two. I can turn the group on and off no problem, but here's the issue - when the group lights turns off and I call the light.turn_on service with brightness=255 within 10 seconds of them turning off, the hue bulb starts to blink, the tradfri bulb happily shines away. this does not happen if I toggle the group manually from the group entity controls or when I turn the hue bulb itself on, it happens only when it's turned on by the light.turn_on service and only when the brightness is greater than 240, below that it blinks once but no more. I'm using the HUSBZ-1 stick with the latest firmware. and I can always reproduce this. any ideas what might be happening here?
Got a tuya air box - thing updates every 3 seconds gonna chew up database space at that rate.
Looking for Zigbee smoke detector recommendations. I’m using a ZZH stick for my ZHA integration.
the one I have is not zigbee but zwave. First Alert Z-Wave Smoke Detector & Carbon Monoxide Alarm, Works with Ring Alarm, 2nd Generation https://smile.amazon.com/dp/B08FFB233Y/
For some reason, I have this impression that zwave and zigbee are somewhat compatible. Is that true? If so, I'll give those detectors a look.
they're not, very different protocols on different radio frequencies
Yep, and i don't really believe the their measurement data. With MH-Z19 sensor i could clearly see when the window was cracked open
You running that with an esp or zigbee?
I can't get my zzh stick to work on any Pi, but it works fine on an intel-based machine. Any ideas on what I am doing wrong? 🙂
is the stick detected ?
Nevermind. I see it worked in an x86.
Um … you mean have I flashed the stick? It wouldn’t work on the Intel machine if I hasn’t, I think.
Detected in what way? It shows up in /dev.
Z2M also seems to recognize it. It starts just fine. Just doesn’t receive any messages.
On Debian/Intel, Z2M runs in a container just fine and messages are received.
On PiOS/ARM, Z2M runs in a container just fine except Zigbee traffic doesn’t show up.
Exact same container config.
hey folks, this is my first message here and also my first steps with home-assistant. I installed home-assistant on an RPi4 with the official home assistant Raspberry Image. I also use the Raspbee2 from dresden electronics (deCONZ).
Home Assistant works, detects already some devices in my network.
I added the deCONZ add-on afterwards, configured it by selecting the only suggested device (/dev/ttyAMA0), but when i open Phoscon via the Sidebar of Home Assistant i can see that it has not found/connected to the Raspbee.
When i look at the deCONZ Add-On Logs i see this: https://hastebin.com/mowahepove.apache
Someone in this somewhat recent issue recommended to add some configurations to the raspberry config.txt (https://github.com/dresden-elektronik/deconz-rest-plugin/issues/3974#issuecomment-758165371). I have no clue how to access the config.txt. I installed already the SSH integration.
Anyway... i am stuck. How do i get deCONZ to work?
i just tried to use ZHA instead of deCONZ. Uninstalled deCONZ Add-ON, rebooted host completely, and then tried to add the ZHA integration. It detects the device (/dev/ttyAMA0) but then i get "Failed to connect" in the Add integration dialog for ZHA.
I assume for HA Container, I have to add my Zigbee stick to Home Assistant in a slightly round about way?
I'm almost in the same position actually haha. Are you running it in a container or the OS?
i am running it in the OS (the official HA Raspberry Image)
haha, ok. hopefully we can figure it out
are you using HA on a RPi? Are you using ZHA or deCONZ? If ZHA, can it connect to your Raspbee?
I'm using it in a container.
I've just realised Zigbee2MQTT is saying that it isn't connected to MQTT server so I'm not fixing that
ok understand
Well, at least one of us does haha
It was up and running not so long ago
Do I even need to have it installed in a Docker..?
ZigBee/emberznet app framework
well, thats also what i try to figure it out. Do you use HA in Docker on your local Computer? Or do you have a separate machine for it?
I have it on a pi.
I have been at this on and off for a week so I'm a bit all over the place haah
ah ok. well i am totally new to HA, and i do not unterstand the different installation methods yet. I think that even when you run HAOS it will install docker and run HA across containers. I think thats how the addons are supposed to work. I am just wondering at the moment how i can access the host system? Is that even possible?
And you did a manual install, right?
which one did you use? https://www.home-assistant.io/installation/#compare-installation-methods
the container?
Yeah the container one!
Nah, I'm pretty sure my MQTT is working.
I have it as an add on in HA and can ping different topics
Pretty sure I don't need it in a container
So it's just connecting my Zigbee Stick to HA through ZHA which I am getting stuck at now
Seems to have fixed itself...?
People. I have a group of outdoor lights that turn on and off together, but occasionally one light will miss the off command and then gets left on. Right now after an off command i have a 1m delay then check the states, and re-send the off command. Still the other day I had one light that refused to turn off. Are there and better solutions for this?
how did you do that? Just by installing the ZHA integration?
Yeah
Although it seems to be working...?
I havnt added any devices yet...
Almost had an IKEA bulb there, but it failed aha
Got it.
@dry fossil thank you for all your help. If you could just tell me how to attach the Zigbee Sonoff switches haha
Why the hell are you tagging me? I'm not even involved in this conversation.
Yeah, I've no idea. Sorry. Thought I'd turned off the notification.
Turned off? You explicitly tagged me there by typing my handle.
@calm valve Generally, don't tag people to ask for help - it comes across as bad manners, you’re demanding somebody answers you. It’s different if you’re thanking somebody, obviously. If you do tag somebody keep it polite and respectful. Remember that everybody is a volunteer, and nobody has to help you, and people may block you.
Similarly, please don’t DM (direct message) people asking for help. It also comes across as demanding, and means that others can’t learn from what you do.
Finally, please keep tagging people in replies to a minimum. That too can become annoying very quickly and should be used only when it's necessary (such as if it's been a long time, or there's multiple conversations going on). When using Discord's new Reply feature it defaults to pinging the person you reply to, click @ ON to @ OFF to stop this - on the right side of the compose bar.
It's okay. I can hide the pings. Just have to block you. 👋
Oh dang haha
Hi Guys, Just a little stuck wondering what I am doing wrong. Got a Rasp Pi 4 with HA iso on it. I have a SONOFF Bridge and motion sensor. In HA I have HACS which has eWeLink addon to add the motion sensor to HA. I set an automation when the state changes from off to on to turn on a light. Worked once but now in the HACS panel it's very slow to get updates if there was or was not motion. Is this normal?
Just found AlexxIT so will look into that
@merry lion you need to disable bluetooth for the raspbee II to work, just put the sd in a sd card reader and put the reader in your windows machine, you should get a new drive in windows (dont repair it even if windows asks you to do it) and there should be a config.txt, add enable_uart=1 dtoverlay=disable-bt there, put sd back into the pi and it should be working
or at least enable uart support, not sure disabling bluetooth is needed but works for me 🙂
thanks. i am on mac. i am using extfs application to mount ext4 on mac, which works fine i think. At least i can see three partitions but no /boot directory anywhere. Do you know where i can find the config.txt?
Boot is fat
fml, it only shows hassos-data, hassos-kernel, hassos-overlay, i have to figure out why it does not show the boot partition.
i tried to use the ssh addon. but where do i find the /boot partition then?
in /boot
haha, yeah thats where i looked 😄
no idea how hassos messes around with it
but regular pi setups just have /boot
with the config
i know thats why i am confused
ahaaaaaa
and it would be /mnt/boot apparently
well that is according to something, someone wrote in 2020
:d
no prob, could try looking for rpi config.txt hassio
that's how I found it
or this 🙂
ok, in the meantime i figured how i boot the fat partition on mac. my macos did not show it in diskutil app, but the diskutil cli. So i manually had to mount it:
cd ~ mkdir rpi sudo diskutil list # get correct device. in my case /dev/disk4s1 sudo mount -t msdos /dev/disk4s1 ./rpi
using ZHA with conbee II and I'm receiving data fine from passive sensors (motion/weather) but my smart plugs that used to work are now in some state where when I flip the switches in HA they flip back about a second afterward without anything changing on the device -- not seeing any errors show up in the logs
seems like something is wrong with communication but not sure where to start debugging it
I restarted HA and things worked for a few minutes but then went back to the same issue
What brand are they?
the plugs are sonoff s31 lite
Have you tried cutting power to them, waiting 10s, then plugging them back in?
nope - I could try - I have 4 of them and they all exhibit the same behavior at the same time
Have you enabled debug logging for ZHA?
no but I will now
2021-09-04 21:48:08 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=switch, service=turn_off, service_data=entity_id=switch.sonoff_s31_lite_1_0d9d6a22_on_off>
2021-09-04 21:48:08 DEBUG (MainThread) [zigpy_deconz.zigbee.application] Sending Zigbee request with tsn 40 under 41 request id, data: b'012800'
2021-09-04 21:48:08 DEBUG (MainThread) [zigpy_deconz.api] Command Command.aps_data_request (18, 41, 0, <DeconzAddressEndpoint address_mode=2 address=0x2F3F endpoint=1>, 260, 6, 1, b'\x01(\x00', 2, 0)
2021-09-04 21:48:08 DEBUG (MainThread) [zigpy_deconz.api] APS data request response: [2, <DeviceState.APSDE_DATA_REQUEST_SLOTS_AVAILABLE|2: 34>, 41]
2021-09-04 21:48:08 DEBUG (MainThread) [zigpy_deconz.api] Device state changed response: [<DeviceState.128|APSDE_DATA_REQUEST_SLOTS_AVAILABLE|APSDE_DATA_CONFIRM|2: 166>, 0]
2021-09-04 21:48:08 DEBUG (MainThread) [zigpy_deconz.api] Command Command.aps_data_confirm (0,)
2021-09-04 21:48:08 DEBUG (MainThread) [zigpy_deconz.api] APS data confirm response for request with id 41: e1
2021-09-04 21:48:08 DEBUG (MainThread) [zigpy_deconz.api] Request id: 0x29 'aps_data_confirm' for <DeconzAddressEndpoint address_mode=ADDRESS_MODE.NWK address=0x2f3f endpoint=1>, status: 0xe1
2021-09-04 21:48:08 DEBUG (MainThread) [zigpy_deconz.zigbee.application] Error while sending 41 req id frame: TXStatus.MAC_CHANNEL_ACCESS_FAILURE
2021-09-04 21:48:08 DEBUG (MainThread) [zigpy.device] [0x2f3f] Delivery error for seq # 0x28, on endpoint id 1 cluster 0x0006: message send failure
2021-09-04 21:48:08 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x2F3F:1:0x0006]: command failed: 'off' args: '()' kwargs '{}' exception: '[0x2f3f:1:0x0006]: Message send failure'
so yeah seeing send errors
MAC_CHANNEL_ACCESS_FAILURE
Do you have your Conbee away from all sources of interference (like USB 3.0 ports) and on a USB extension cable?
I do have it a couple feet away from the rpi/ssd cuz it's been an issue
I could try further probably
The error means that the Conbee believes the Zigbee channel is busy due to interference from other sources
So it just refuses to transmit
ok that's helpful, thank you - I'll try to move it some more
moved it several more feet and it's running more smoothly now... damn interference is annoying with zigbee
The Conbee is a lot more sensitive for some reason
heyo! any idea how to bind forever the adress of my coordinator? it seems to change in some way everytime the vm or the whole server is restarted and zigbee2mqtt goes crazy
the issue is the rpi with ssd that's interfering a lot with a conbeeII, I experienced the same thing 🙂
also try disabling wifi on it
I have the same stick just directly in a nuc, with 0 issues 😄
When i update my current core 8.8 to >9.x my ZHA integration stops working. ?? anyone else experiencing this also ??
[12:23]
i get : The system cannot restart because the configuration is not valid: Component error: zha - No module named ‘zigpy.state’
[12:23]
any way to fix this ?
see : https://community.home-assistant.io/t/just-upgraded-to-2021-9-1-zha-bricks/335343 for the full error log .
do you have automation triggers set up ?
Integration ‘zha’ does not support device automation triggers
-edited- 😉
got it
I'm surprised zha doesn't support device triggers though, I'd have expected it to create devices...
same but it could be something in the config, causing the error
as it refers to zigpy.state
Seems likely, but 
Really struggling to get a Sonoff basiczbr3 connected to HA. Is there any extra steps that I need to complete? It is outside, but it's not far away from the Zigbee stick.
What is "not far away"?
What stick? What other routers do you have?
What's between the stick/other routers and the Sonoff?
Less than 5 miles.
Less than 20 feet. Slaesh Zigbee stick. There is a floor between the stick and the Sonoff, as well as a wall. There is an Ikea bulb near to the sonoff, but not many other Zigbee devices
I've read that the Ikea Bulbs act as routers. I know there is still a wall between the bulb and the Sonoff, but surely that wouldn't be that big of a deal? Suppose it must be...
Not all walls are created equal. Construction in different houses can vary wildly.
Construction material, thickness, angles, antenna design, other interference... all that plays a part
Yes, or one outside by the router - so that the signal travels at a right angle through the wall/window
Or knock holes in the wall to allow line of sight 
Do you have the "Custom deps deployment" addon installed or anything else that would mess with Python packages?
Yes , 🙈 should deleting that fix this ??
hello ! what should i tweak for zigbee to work properly? i have a TS0210 sensor that' instantly change when detects vibration but takes quite a lot to return to the "clear" state is this normal?
Hello I just installed home assistance.
I have an IKEA gateway running.
What’s the best practice?
Shall I disconnect the IKEA gateway and connect all devices with homesssistant or is it better to connect the IKEA gateway itself to homeassistant
Unless you have another zigbee host device (like a conbee), you need the TRÅDFRI gateway.
If you have something else, put the puck in a box in the attic (don't throw it away, it has it's uses)
also i'm getting this error when trying to change the sensitivity Publish 'set' 'sensitivity' to 'Dryer Vibration' failed: 'Error: Write 0x84fd27fffe2c1b91/1 ssIasZone({"currentZoneSensitivityLevel":2}, {"sendWhenActive":false,"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Data request failed with error: 'MAC transaction expired' (240))'
Likely normal - the sensor sends the clear
Because it's asleep... wake it before sending
I have a conbee up and running
Then you can use ZHA (or even deCONZ) instead of the gateway
Ok that worked thank you! so, all battery powered devices will b like that? is there any brand that updates instantly?
Well, they're all going to have their own threshold
I don't use any vibration sensors, but somebody else will probably know
yeh hopefully there is a work around i dont see any way to integrate it if it takes that long to update =/
Some Google searching will likely find you reviews of different models
Yep. Delete anything zigpy related from the /config/deps folder as well.
for a zigbee device to be used as a bridge for the mesh thing they do, do they need to specifically state it in the sellers description? or all wall powered devices act as bridges?
They need to be mains powered - most are routers
Sengled bulbs aren't, and some two-wire switches/dimmers aren't
i see so preferably a 3 wire switch? with live neutral and ground?
Or any smart plug, or any other brand of light, or many other things
Is the ZBMINI from Sonoff pairing for everyone as a light or is it just mine that is misconfigured in deCONZ?
Ah never mind Phoscon does think is a light still but after restarting HA it is now a switch
restarting HA always works
Tinkerer any reasons you recommend the CC2652 over the Conbee? I’m looking to get some signee stuff and have been looking at these two as well as the CC2531
CC2652 is newer and more powerful
This afternoon I swapped my HUSBZB-1 for one of Tubes ethernet coordinators.
I was able to rejoin all my devices and all seemed well.
I have two Kwikset Convert Gen 1 locks. I had to reset one of them (mainly because I was struggling to get it to join the new network) the other joined fine
the one that I reset is joined and visible in ZHA. Status for the lock is working fine. But lock and unlock commands are not working
I get
[homeassistant.components.zha.entity] lock.front_door_lock_ad1f03fd_door_lock: Error with lock_door: [<Status.FAILURE: 1>]
the other lock which is the exact same model is working fine
I did remove and re-add the device using ZHA a few times. I also reset it on the lock side when doing that as well
curious if im just missing something or theres something else I can try
CC2652 also has first class support on Zigbee2MQTT - the ConBee only has first class support on deCONZ
I'm switching from zha with conbee 2 to z2m with a cc2652 on home-assistant OS and had a couple of quick questions: is the hass-io plugin the recommended way of running z2m on home-assistant OS? I also know I have to re-pair my devices, should I remove them from ZHA first? Is there a recommended order of operations?
There's no hassio (you mean HA OS) and there are no plugins (you mean add-ons). But yes, if you're on HA OS, the Z2M add-on is probably the simplest way to use it.
oh yes, I do mean add-on
And to save me typing out the steps, here's one Tinkerer prepared earlier: #zigbee-archived message
Thanks Tinkerer
My Hue network (or perhaps the API calls) has been having a bit of grief lately. Considering transferring all the stuff over to my Conbee ZHA network as I don't really use any features of Hue that can't be replicated in HA. Anything I should be aware of that might be an issue there?
looks like I have some bulbs that worked fine with ZHA that z2m doesn't support yet... surprisingly
fortunately, external converter was easy to figure out for it
What environment? You need to update zigpy dependency to one coming with 2021.9
aqara temp sensor isnt updating on ZHA it connects, and then like almost right after seems to time out
try to delete it and it still shows up in the list
wondering if the new version of HA has somekinda bug messing with me
so i think it had to do with routing
cause when i remove all zigbee devices and add just the temp it seems to update in real time
ill test some
cause ill need those outlets to work also so if routing through them makes it fail that will suck
Make sure to pair Aqara stuff in place with all your routers on. Most of it will not re-mesh.
thx for the tips man
Hello, just a quickie
if I would install a 2nd Z2M coordinator on a different zigbee channel, would this create a problem somehow ?
Not if you kept the pan_id different
I ran like that for months, with overlapping meshes. All you have to do is build them out separately
sorry to ask but what is a pan_id ?
@alpine cipher When using Discord's Reply feature it defaults to pinging the person you reply to, which can get frustrating for the target. Click @ ON to @ OFF to stop this - on the right side of the compose bar.
You have to change this every time (thank the Discord devs for that).
Mentioned in https://www.zigbee2mqtt.io/information/configuration.html and their FAQ too
by the way, Z2M is amazing !
together with the ZZH
that you suggested, never had an issue - now want to sunset my HUE and ZHA coordinators
do you think I need an additional network ? I have 50 routers and 55 endpoints currently on Z2M, I have 27 routers (lights and switches) on my HUE, 6 routers and 9 endpoints on ZHA
Short answer - no
thanks
my z2m addon has started sending the hold action instead of the single action for single clicks of a xiaomi button.. double click still sends double
at least for one button..
What version of Z2M?
Did you update it and then see the behaviour change?
no.. i didn't even start to make these automations until after I installed this version
Then likely it's down to the button and the way it's talking to Z2M
it seems like it's basically started to do hold release instead of single.. but sometimes if you do a very short hold it does hold release single in sequence.. I'll have to investigate if it's just this one button.. I have more of this model
never had any issues with any of them before
hmm.. there seems to be a huge delay to button presses relative to how it used to be
say 6 seconds between button press and when the press is detected by z2m
Can you check the logs in z2m whether the messages received are immediate? Also check the cpu usgae, it might be running at 100% which may be caused by some other process.
It's the hardware...
Z2M hasn't decided to fuck with you and send random events.
If it's confusing single/hold/double, it's the physical switch that's the problem.
Hey! im switching over from smartthings to Home assistant and want to automate everything locally. what would be the best zigbee stick to get? (i run Home assistant in a vm on a ubuntu system if that matters)
@feral pebble I like Nortek's stuff, but here's a list of known working hardware/radios (and any firmware suggestions) https://www.home-assistant.io/integrations/zha#known-working-zigbee-radio-modules
Also, make sure your hypervisor system can forward the serial port to your VM.
Are those CC2531 based zigbee to usb adapters really so bad?
Yes
The CC2531 and CC2530 sticks are cheap for a reason. They're fine for testing, but do yourself a favour and buy something better.
What something better? Anything CC2652 based (see here for some) or the current generation EZSP (see here for some).
The Sonoff ZBbridge isn't advised since it uses WiFi, and the HUSBZB-1 uses an older chipset so should be avoided.
But they would be so cheap :c
You're getting what you're paying for
I am using a using a CC2531 on an Odroid running Zigbee2MQTT...
I preformed the hack to my aqara motion sensors to enable 5 second resets on motion triggers... I am using a script to reset the state to off after 5 seconds as the default is to reset after 90 seconds. At first all of this seems to function fine. But for some reason the normal reset of the motion sensor turns the sensor back to on at the normal 90 second point and then immediately to off
Anyone have any idea either how to fix this or how to achieve this in a different way.
Can anyone tell me how to find /opt/zigbee2mqtt/data/configuration.yaml on an Odroid install?
Forget it I'm pretty sure I found it
that hack relies on the aqara "debug" mode, it's not very consistent (I found that it would switch to off as expected, but then fail to notice another motion event until the 90 second normal timeout completed). I gave up trying to use the aqara for stuff I wanted on a less than 90 second delay, the philips motion sensor seems to work, has something like an 8 second detection loop... would be curious if anyone else had a solution though
(the philips motion sensors are relatively much more expensive)
there are other motion sensors in the market
so far I've tried one from philips, one from aqara, and one from sonoff. They don't really list how long they stay "detected" so it's trial and error... unless someone documented it somewhere?
(for the record, I love trial and error)
https://zigbee.blakadder.com/Develco_MOSZB-140.html - 12 seconds delay on motion by default
Hue are also quite configurable
whats the delay on konke?
I'm in the states, doesn't look like I can get the develco here, but thank you for the tip, I will look around
yeah, I like the Hue a lot, except the price tag 😛
isnt it so that you need the hue hub to use hue units?
no, hue devices can pair to any zigbee network
ok thanks.. that may tip the scale for me to try the motion sensor 🙂
TBH I have no idea, at least a minute, under two 
Hello, I'm really new to Zigbee. I got these switches (https://zigbee.blakadder.com/AduroSmart_81825.html) because they show to be compatible with ZHA and have it paired, but it seems like Home Assistant doesn't know what to do with the messages it receives.
I got them working by restarting home assistant and re-configuring them. I think because I'm running on a Raspberry Pi Model B (1), it did some timeouts during the initial configurations.
Can anyone give there opinion on the "ConBee II The Universal Zigbee USB Gateway" device?
amazon link to it
Hey all. First I'd love to say Wow. Love HA. Second is that I have run into a bit of a problem getting the Zigbee home Assistant Integration setup. I had it set up a week ago, but ran into a server issue and after reboot, I cannot get ZHA to see the Conbee II or complete the setup. Any ideas would be greatly appreciated.
it's fine, but I think there are better options (see CC2652)
How are you running HA? As the OS? as a container? If it's the OS, check Supervisor -> System -> three dots in Host -> Hardware, see if you can find it in the list. Also try unplugging and re-plugging the usb stick and checking the output of dmesg (in a terminal add-on or on the host OS) you should see it. Good luck.
@spare talon I'm running it as an OS in ESXi. I have the Conbee II passed through to the VM. Everything was working, but after a failed drive and reboot. It caused a few devices to get lost. I thought deleting the app and re-installing it would fix the issue but now I can't install the Zigbee integration. It fails on setup.
I just upgraded the firmware on my zzh! stick and nothing is coming back online. My guess is the network key and other settings was erased as per https://github.com/zigpy/zigpy-znp/blob/dev/TOOLS.md#backup-and-restore - unfortunately, https://electrolama.com/radio-docs/flash-cc-bsl/ made no mention of this 🙁 . Is there any chance this data exists elsewhere in HA, so I could reconstruct manually?
Do you have any old logs?
likely - I'm running it on top of zfs with automatic snapshots
Did you previously use your stick with Zigbee2MQTT?
nope!
All of the network settings are logged but the network key is only logged at the DEBUG level so it won't be present unless you had debug logging enabled
And it's completely randomly generated
oh that is very likely, I've reported bugs in the past. The unfortunate thing is that it's qcow2 on top of zfs, so it would take some splunking. Do you know off hand what the message is?
The first line would contain Network settings and then list them all
Really any log containing debug info for zigpy-znp will contain enough to reconstruct it
well look at that, I apparently had debug logging on before I upgraded
You can grep for DEBUG (MainThread) [zigpy_znp.zigbee.application] Network key: (the double spaces in ] Network are correct)
haha nope, that was right after I upgraded. But I now have an example to search for
Once you have all the network info available, copy it over into a JSON backup and restore it with the tool you linked to earlier: https://paste.debian.net/hidden/c7cedfd1/
thank you!
I hope someone could help me out on this one, my zigbee2mqtt network went complete haywire. And since then even when Z2M is down, lights and wall outlets are flickering on and off at random intervals
It started with the following error: Zigbee2MQTT:error 2021-09-07 12:59:55: Error while starting zigbee-herdsman. After reflashing the CC2531 stick it works for a couple of hours and it reoccurs
Might be related when I started grouping lights and binding them to switches?
are you sure that's the only relevant log line?
https://hastebin.com/lireziluyi.coffeescript This is the entire log file
And my config file, https://hastebin.com/jocozeyaqo.yaml
Is it worth investing in more zigbee hardware with the new Matter/Tread standards coming?
its not just gonna stop working and you don't know how well matter will work or whether it will succeed in becoming a widely adopted standard
||It won't beat Zigbee||
It's all just hype and marketing right now. No substance, and already been delayed.
It doesn't really do anything that Zigbee can't already, so why would everyone jump ship from a well-established ecosystem to something new?
Just for the information, all new chips used for zigbee are also capable of thread. (Except those with cc2350/51). Hence, it is just a matter of OTA flashing IMHO when thread picks up
got it, thanks guys
Morning!
I'm going to buy wall switches for my new home and I have found the aqara line that looks nice and have good features.
I was looking for suppliers in Spain and the switches are priced between 40 to 44€. In Aliexpress the same switches pricing is arround 20-23€. Which for a full house is quite a lot.
I was wondering if any hub is the same or should i get one. The idea is to integrate it with home assistant.
Also, I have found the zigbeetomqtt project and that might be a very solid option to avoid xiaomi's hub.. But it misses some features that xiaomi hub provides.. So for now I think I'm going to buy the xiaomi and i'll buy the Z2M hub and play around with it.
Any recomendations on which hub to buy?
Well, there's no Z2M "hub", just sticks
Buy something CC2652 based. This list is a good one, both Tube and Electrolama have been proven to have excellent customer service. The current generation of EZSP sticks (see here for some) are also a good choice for ZHA.
The Sonoff ZBbridge isn't advised since it uses WiFi, and the HUSBZB-1 uses an older chipset so should be avoided.
Of course, the "missing features" may help us help you
Sorry for calling those wrong, but that is what i meant.
The only feature that I'm missing is the power consumption meter, all other stuff is ok
Z2M 1.21 has that
It reports the required information for #energy-archived - and if it doesn't for that device you can extend the support
Thanks! Seems that I was reading some old-ish information.
I have already readed the list posted by the bot. Any recommendations beside that? I don't mind soldering or tinkering, but just looking for something reliable and with good range.
Just buy something from the list - as mentioned there both Tube and Electrolama are good sellers
👍👍 thanks, will take a look at the list and buy something from it.
For a two floor house (about 90 square meters per floor) one stick might be enough, or should i buy two? (One per floor)
One is enough - see the pinned messages for how Zigbee mesh works
Thanks! I just started to dig into zigbee and need to learn about it.
Just bough tube's CC2652P2 Based Zigbee to Ethernet Serial Coordinator
It suits my needs and I liked that it can be by it's own.
Thanks for your help @sour shadow
Sup, today I received the suggested frient 20202500 Motion Sensor Pro and added it using ZHA.
Now I see all the entities it added and I don't really get it.
- The battery isn't being measured (unknown), is that correct or failure?
- What's the switch for? I can't turn it on anyway.
- There are 3 occupancy sensors which switch on/off. I've also seen just a single one on and the other's off as well. Are they any different or just duplicated?
Like if I build an automation is it sufficient to just use one or rather all 3?
Maybe stupid questions, it's just my first motion sensor and I don't really have a comparison.
Cheers
Details of what you see may help, but on Z2M it reports occupancy, temperature, light levels, and battery state (healthy/needing replaced)
I wanted to upload a SS but it's disabled here
@jolly crystal posted a code wall, it is moved here --> https://hastebin.com/edifesazih
@jolly crystal Rule #6: Please do not post codewalls (text longer than 15 lines) - use sites such as https://paste.ubuntu.com/ (just not Pastebin).
Please take the time now to review all of the rules and references in #rules.
https://zigbeealliance.org/zigbee_products/motion-sensor-2/ looks relevant
The Motion Sensor includes two logical outputs - one for occupancy with high sensitivity and one for alarm with a lower sensitivity.
Good to know, they're overall 3 tho and the battery is unknown
Aye so it doesn't support 'measurement: %' but it hasn't an entity for these battery states either and just shows via LED
Might actually found the problem... I was flashing Z-Stack_Home_1.2 (default) to the device instead of Z-Stack_Home_1.2 (source_routing). My network has almost 40 devices, 25 of them are routers, so I should be fine. But I think I was overloading the network with adding that many devices and also grouping and binding them to each other.
Will try when I get home if this will solve my problems
Hi. Not sure if this is the correct channel: I recently added a ConBee II USB Stick to my Raspberry Pi 4 (with SSD via USB) , with the up to date version of hassio.
I can see the usb device at /dev/ttyAMC0 and when looking into deCONZ I see only 1 node with a blinking blue dot but no other device is appearing. I tried several devices, none of them are discovered.
Using the same stick with windows 10 and deconz, everything is fine. Any Idea?
PS: Firmware update through Phoscon on RPI4 was successful but changed nothing regarding this problem
Use a USB extension cable.
I already tried this. Also put the device 2cm away from the stick (with and without extension cable), no chance.
I'm looking at getting a zigbee ceiling fan/light combo, my current setup is a single on/off wall switch with a remote, looking at the supported list, https://www.zigbee2mqtt.io/devices/99432.html would be the only known supported route ?
Well, that's a remote
https://www.zigbee2mqtt.io/devices/NUE-ZBFLB.html is a fan/light wall switch
that looks like a fan/light wall switch, which I don't plan to use
I imagine that remote is zigbee and the integration is emulating it?
No, it's not emulating anything
That page you linked is for the physical remote and how it works with Zigbee2MQTT
So, you pair the remote with Z2M, and then the remote talks to Z2M so you can do "stuff" in Home Assistant
It's just a bunch of buttons, by itself it controls nothing
oh I see, so the remote is just a middle man, which really shouldn't be necessary for a zigbee ceiling unit right?
It's not even that - it talks to Z2M
Any ceiling unit would also talk to Z2M
You could bind the two, or let HA handle it
(with automations)
I may need to read up more on these ceiling units but its not possible for HA via zigbee to talk to the ceiling units directly?
Well, sure, that's what Z2M would enable
(or ZHA)
It sounds like you want:
- Something that's wired to your fan/light combo that can control it
- A remote to push buttons on
?
no, ideally this would not depend on switches or remotes
Well, you need (1)
Without some smart device wired to the fan/light combo, you can't do anything with it from HA
I plan to get a zigbee enabled ceiling unit
Once you've done that then you can control it from HA - whether through automations, the frontend, remotes that send messages to HA, whatever
The thing you initially linked is not a Zigbee ceiling unit though
you have pointed me to the supported devices on this channel and that was the closest thing I could find which initiated my query 🙂
Hence https://www.zigbee2mqtt.io/devices/NUE-ZBFLB.html which looks like the thing you actually need
that is a physical switch though right?
what I plan to do it hardwire the ceiling unit on, and replace my switch with a touch screen that will interact with HA

that's basically what I do with my lights right now, they're all always and automation / voice control controls them, I'm going to be working touchscreens into those as well
all always on
Yeah, but for manufacturers it not worth the effort of releasing the firmware to upgrade device to matter protocol. But they gladly would sell you a new device
I'll still have physical switches below the touchscreens to cut off power to the end device plus my control screen if need be, but generally speaking HA should be controlling the end devices directly without the need for physical switches or remotes
amazon hass a zigbee filter option under connectivity when searching for ceiling fans under home improvement but the fans listed don't mention zigbee :\
I get different options if I filter by zwave so that's promising
Anyone got experiance with setting up conbee 2 and HA with z2m ?
Yeah, and they all throw the Conbee in the trash and use a compatible stick.
The stick is working fine with ZHA,
HA is reconize it. but z2m dosent boot.
i followed the guide from z2m site that says that i have to ass serial adapter.
But when HA boot it gives me this error : Setup failed for serial: No setup or config entry setup function defined.
You read the part in the docs that says Conbee support is experimental, right?
yes
Does the Supervisor menu show the stick?
Yes
The guide show that i must add Serial adapter code..
- When added and reboot HA it says setup failed for serial: No setip or config entry
.share the whole log
Please use a code share site to share code or logs, for example:
- https://www.codepile.net/ (select YAML as the language)
- https://paste.debian.net/ (select YAML as the language)
- https://hastebin.com/ (sometimes may not allow you to save)
Please don't use Pastebin, since it can randomly add spaces to the main view.
Found the issue.
The serial code must me in zigbee2mqtt configuration.yaml
and not HA configuration.yaml
its wokring now..:) ..
I got the ikea motion sensor with dconz and see there is an attribute call dark. Any idea how I can use this in my automation?
if I have a motion sensor for which HA is able to integrate with but is only giving me a "device offline" action in automation, does that mean thing not everything is mapped for this motion sensor or something ?
"device offline" trigger that is
hey! if i were to buy this; https://nl.mouser.com/ProductDetail/Texas-Instruments/LP-CC2652RB?qs=9r4v7xj2Lnml6N5oQU%2FNeA%3D%3D
what would i need to do to get it to work as a zigbee radio? im using an old laptop running linux. home assistant runs in a virtual machine
that's a cc2652rb development kit
I mean, you almost certainly could use it to build a zigbee coordinator, but it's also probably a lot more than you need unless you want to develop on the zigbee coordinator firmware
also looks like it doesn't have a built-in antenna so you'd need at least that
It has a trace antenna, like the CC2652R kit
There is also a build of Z-Stack for the CC2652RB but I'm not sure if it will work with this dev kit's pin mapping
ah, neat. I didn't see it on the datasheet.
You can see it better on TI's website: https://www.ti.com/tool/LP-CC2652RB
So if all of the other Zigbee coordinators are out of stock and you want to possibly end up in the situation of having to re-compile the firmware for it yourself, it'll work fine
Use state triggers on the entity
Has anyone ever changed the sensitivity on a Hue motion sensor through HA or deConz? Any docs/info?
It should be a Philips cluster on the device, you can write a number 1-3 (or 0-3) to the sensitivity attribute
in here? https://imgur.com/a/tdYZX2L
Or in HA?
1 high, 3 low or the other way around?
Other way around
Does anyone have any experience with the Xiaomi Zigbee hub? I'm trying to listen to events on the hub but I'm not sure of which entity that I should be listening to.
Im trying to figure out the event that take place when connected to a Xiaomi cube
or if anyone has any tips on how to figure out what side its on when used the Xiaomi zigbee hub
Which integration are you using?
hello all! I just received a 4 pack of Sengled smart outlets with power monitoring and I cannot get them to pair with HA using ZHA. I have all of my other Zigbee devices on this setup so I would like to not have to switch control types if possible, or if I can add a second Zigbee coordinator and then have a separate network to use for things like this.
This device doesn't seem to create any entities
@hearty night When using Discord's Reply feature it defaults to pinging the person you reply to, which can get frustrating for the target. Click @ ON to @ OFF to stop this - on the right side of the compose bar.
You have to change this every time (thank the Discord devs for that).
Well, then, which of the many Zigbee integrations are you using?
My mind reading abilities are on holiday
HubZ Smart Home Controller
must be ZHA, Zigbee Home Automation ?
Zigbee Home Automation is the integration I'm using, what I pasted above is what it calls itself after being installed
Z2M here. switch BASICZBR3
I have an automation action that turns switch on > 300ms > turn switch off
However recently switch would stuck on. Is it bad wireless signal? or some other problem?
It used to work fine
What do the logs say?
Xiaomi Gateway (Aqara) - Yes that's the integration and the hardware.
Trying to figure out if its sends events in addition to creating entities.
If you're not using ZHA/Z2M/deCONZ, you're just using a normal integration 🤷♂️
Its docs should tell you how it works.
That said, every integration sends events, because everything in HA is events... if you have no entities, listen to all events.
Does anyone know what would be the most bare-bones zigbee transceiver I can get? I literally only need to subscribe to a single binary topic to trigger a DO, and maybe publish a single analog value. Zigbee is already overkill for this but I already have the network. I'm basically looking for something to help me put together a minimum-viable zigbee device. Lowest power consumption and least amount of features I can manage.
it works just fine, the entities just don't match up what ZHA picks up on the Xiaomi cube. I need to figure out what side it is and i would like to do that with the existing hardware not converting everything over to ZHA.
@hallow vine When using Discord's Reply feature it defaults to pinging the person you reply to, which can get frustrating for the target. Click @ ON to @ OFF to stop this - on the right side of the compose bar.
You have to change this every time (thank the Discord devs for that).
Go listen to all events. Turn the cube over. See what events appear 🤷♂️
OK I got it, didn't realise you can do all events. That fills up quickly, but it's searchable.
"entity_id": "binary_sensor.cube_158d0006eb9621",
"action_type": "flip180"
Bleh, no landing side event, ill need to convert everything to ZHA if I want to use this cube
ZHA and Zigbee2MQTT are the best ways of doing Zigbee in HA - ditch those hubs and be free 😄
Check out one of the Nordic or Silicon Labs dev kits
You can also buy Texas Instruments CC2652P/R modules for pretty cheap
Thanks @dry fossil and @sour shadow. Yeah when i got this there were not many options. In my last build i used the Sonoff Zigbee bridge flashed with Tasmota. Works great.
If you have one of the newer Aqara hubs I believe you can easily access the Silicon Labs Zigbee radio inside of it and use it with ZHA, I think without taking the hub apart
Can anyone assist with Sengled Zigbee smart outlets that won't connect to ZHA. I thought that they would be universal and would not like to have to get thier hub.
Are you sure they're searching for a network to join?
they go into pairing mode as soon as I plug them in and I have also reset them and tried to pair
They usually have some fading LED to indicate that they're searching for a network
blinking red is pairing mode
Mine is a good few years old
Try unplugging them from the wall for 10s, permit joins in ZHA, and then do the sequence to get them to join. ZHA permits joins for only 60s from the time you click the button.
ok, I will see. Thanks!
That worked! I guess I got ahead of myself with excitement lol
Awesome! Some products just refuse to join for no good reason until you pull the batteries or cut power, not too sure why
I think I just tried it backwards lol
I'll look into it, thanks
Any one tried that the reconnect function dosent work in z2m ?
I have run into a bit of a problem getting the Zigbee home Assistant Integration setup. I had it set up a week ago, but ran into a server issue and after reboot, I cannot get ZHA to see the Conbee II or complete the setup. I'm running it as an OS in ESXi. I have the Conbee II passed through to the VM. Everything was working, but after a failed drive and reboot. It caused a few devices to get lost. I thought deleting the app and re-installing it would fix the issue but now I can't install the Zigbee integration. It fails on setup. Any ideas would be greatly appreciated.
Can you enable ZHA debug logging to see what the error is?
@austere patio No as I cannot add it to the dashboard to enable anything. Unless there is a different way to do so.
It's not a ZHA feature, you want HA to log everything produced by ZHA and its dependencies
It'll show up in your home-assistant.log file
@austere patio Thanks for that. I can get it to install, but it won't startup
"Couldn't start deCONZ = dresden elektronik deCONZ protocol: ConBee I/II, RaspBee I/II coordinator"
What does your log file show?
Couldn't start deCONZ = dresden elektronik deCONZ protocol: ConBee I/II, RaspBee I/II coordinator
Traceback (most recent call last):
File "/usr/local/lib/python3.9/asyncio/tasks.py", line 492, in wait_for
fut.result()
asyncio.exceptions.CancelledError
Can you paste the last few hundred lines to https://hastebin.com/
That error message alone means nothing, the surrounding lines have all the context
done. https://hastebin.com/orehusogij.rb (sorry for not sending this) @austere patio
Aqara E1 contact sensor in hand
ooooh
I like those. Have them all round the house and they work perfectly.
funnily the image is lying, they don't look like that
The only one that went offline only did so because I changed coordinators and haven't paired it again yet 😂 Can't get to the inside of my garage door with all the junk in there.
No? What do they look like? Mine are just like the image on the box.
haha, yeah.
another mounting option it seems
Yeah, I guess you can ignore the smaller part and just put the magnet on a frame instead.
I don't think it's to mount the pieces. I think it's an alternative to the smaller one. The bigger one has the reed sensor.
P1 can be found on aliexpress but the prices...
Yeah, but there's places, like the garage, where I'll take a large sensor with a longer battery life over a smaller one with a shorter life
sure, still.. the prices
Also, being able to tune the opening distance is neat
Yeah, I'm not buying unless it's reasonable
because its labelled "for professionals"
Morning all, I recently switched from Z2M to ZHA and I find it a much nicer experience. However, using ZHA groups with 2-5 lights, I very often find that when I turn on/off the group that one or more bulb either stays on/off. I never really had a problem with this in Z2M, am I doing something wrong? Could the be changed with QOS? What is the default QOS in ZHA btw, I cant seem to find it. Thanks
Haha, i dont think i need a development kit.. How do i find the non development kit option?
How do i do this ?? cant find those folders in file editor ?
Whats a good price / link to buy the Aqara door sensors? I have been looking on AliExpress but there are loads of sellers and I'm not sure what price range is reasonable. Given the slowboat from China delivery I'd prefer to get ~8 at once so I can setup the entire house in a single shot and perhaps get a small bulk discount.
most china deliveries are by air mail
Depends on where in the world you are too... prices for the UK may not help you much if you're in Japan 😛
you can get 10 pcs for around 100$
The Motion Sensor works very well. Thanks again guys. Now it came to my attention that the old Yeelight color 1 is just garbage, losing connection like 4 times per hour.
New bulb: Wifi vs Zigbee?
Tradfri bulbs any good? Could probably just drive to Ikea later.
Zigbee > WiFi
Tradfri are fine, at least for CCT - I don't use RGB. Hue are the gold standard, but you pay for that
Yeah only need white for kitchen. Even dimmable would probably be more of a gimmick
I have found CCT to be really really nice
The pinned message in this channel listing the main zigbee integrations (zigbee2mqtt, zha, deconz). Each one has a recommended devices list.
You remember which one it was or how many lm? I don't really get through the different whites and lms they have lol
what's the color temp range on those?
Oh I see it in the manual setup
454 is pretty good
Plenty bright, at least for me. I've got two of the globe units and one of the GU10s acting as the main lighting for a room about 25 meters square. All controlled by Adaptive Lighting, with the globes limited to 75% brightness at their brightest
Ah you have no E27. Aighty mighty, I'll test then
Yeah, I don't need anything even brighter 😄
I got a really good deal on some ecosmart bulbs so I put them in my kitchen (like $5 USD per bulb), but they only do 370 mired max which isn't quite as warm as I want 😅
next to the hue bulbs in the hallway that can do 500, it's pretty stark
Seems Matter is moving forward slowly "We will integrate Matter into the existing hubs – Aqara M1S and M2 – through a software update (OTA)"
They've pushed back until some time next year from memory
Hello guys. Good day to all.
I am trying to remove ZHA integration from HA and it is not working.
I can disable it, nut I can't remove it. Any thoghts?
*thoughts
What do you mean?
Many (1.8K) integrations are internal to HA and can't be "removed" as such
Hello. Is this an ok place to ask about a Zigbee2Mqtt issue?
What do the debug logs show when you try to remove it?
nothing. no logs...
My issue is that devices are not getting created in HA. Sometimes the individual entities do show up, but they are not associated to any device and they disappear after a while
Hi Tinkerer, I added the ZHA integration to my instalation, and now I want to delete it and reinstall it because it is not loading properly.
And suddenly, 1 of my 20 hue lights thinks it's off but the brightness is at 1%. What gives?
when it's on it works normally. when i switch it off, HA says it's off, but when i look at it it's like, 1% bright.
(Z2M)
It's off. Welcome to the world of LED lights... residual current is enough to make them glow.
Yet another reason to use real bulbs and smart switches. That, or fix your electrics.
How to get the raspee functionable?
So that socket or circuit has started going bad, yeah?
1000lm E27 9€, shines bright like a diamond. The Tradfri wall-switch/dimmer does it's job too. I find it all to be a second too slow but oh well, might be the lamps metal lampshade or those extreme ferroconcrete walls. Either way it works, I'll just never do this shit pairing again tho
Evening Friends
Are zigbee e27 bulbs always zigbee repeaters?
Asking for a garden implementation to help extend my zigbee range to cover the entire garden
Well, no, it's not about the fitting but about the device...
Sengled bulbs for instance aren't repeaters
Ah
So up to the specific brand / implementation
How nice, I'm sure all the advertisements clarify what theirs is >.>
Thx Tinkerer
anyone seen a good zigbee ceiling fan/light that accepts E26 bulbs ?
E26/A19, I found an E26 B10 fixture but that won't work
I have 26 devices on my Conbee II stick and I have now lost control of my devices. I have all mains devices except 6 "bulb remotes" from Lutron and I have just added 4 Zigbee Smart Outlets to the network. I can see the data from the smart outlets for power consumption but lights will no longer work to turn on or off. Do I have too many devices on my network and can I rebuild my network mesh with ZHA somehow?
so much for Zigbee 3.0 standards, Aqara E1 doesn't expose the contact sensor on a ZCL cluster but there is a manufacturer specific one :/
And you're surprised?
well no, but there was a glimmer of hope
That should be well within the abilities of a ConBee II
Thanks for verifying. What else should I look into as to why I can no longer control the smart bulbs and outlets in my home?
ZHA may have some useful log output, not sure
It might be a problem with one device misbehaving
You could try power cycling all the mains powered devices one at a time
i power cycled the ones in the basement where I am in my office and I will go through the house to do the rest after work and see if that fixes anything.
sounds like they are taking the tuya route
What is difference between T1 and E1?
T1 looks like it leverages ZCL cluster
E1 is not working with the T1 config
Evening I recently switched from Z2M to ZHA and I find it a much nicer experience. However, using ZHA groups with 2-5 lights, I very often find that when I turn on/off the group that one or more bulb either stays on/off. I never really had a problem with this in Z2M, am I doing something wrong? Could it be changed with QOS? What is the default QOS in ZHA btw, I cant seem to find it. Thanks
to be honest, that doesn't sound nicer
ZHA doesn't use MQTT so there's really no concept of QoS. When you say "zha group", are you talking about a Zigbee group or a light group? The latter is just a collection of individual devices so when you control a "group", it just controls them all in the background individually.
Ah you are correct about QoS 🤦♂️ And yes I was referring to Zigbee groups
If it's a group command, Z2M and ZHA should be asking the radio to send the same data so you should be seeing the same results. Does the bulb state in ZHA match what the device is doing? Or is it "off" but the bulb is still on?
do you have mqtt set up and z2m set up to publish to that mqtt broker?
yes. I just updated the situation in the #integrations-archived channel since I don't think this is zigbee specific
it definitely is, since you're using z2m
I think the bulb state does match. I'll keep an eye on it
Well, I power-cycled all the other lights and still no luck.
@gloomy pivot Thanks. I'll report where I'm at back to this topic.
I have narrowed down my issue to the HA/MQTT auto discovery. When Z2M sends its discovery messages to the MQTT broker I can see them in the explorer, but then disappear right away. Also, if I have the Integration page in HA up and I trigger a discovery message the # of devices under the MQTT integration increases by one, but when I click into it it isn't there. It is as if the device gets created and then immediately deleted.
Any ideas on why that could be happening? Also, this is only happening for Z2M devices, not other mqtt devices i have with auto discovery
I answered you in #integrations-archived but keep the discussion here
Here is what I am seeing in the mqtt explorer when I trigger a discovery message for a motion sensor from Z2M: https://imgur.com/a/miDveqM
You can see under homeassistant/binary_sensor a message appears and then disappears
does everything work in the z2m ui?
Yes, everything seems to work in the Z2M UI. I can see all of the devices and their properties
can you control them?
They are all sensors
have you read this? "Home Assistant | zigbee2mqtt.io" https://www.zigbee2mqtt.io/integration/home_assistant.html
are you using z2m as an HA addon, or standalone?
yes. I have read everything I can find
how about logs?
the Z2M logs say that that it is publishing the discovery messages:
info 2021-09-08 16:56:25: MQTT publish: topic 'homeassistant/sensor/0x00158d0001aea731/battery/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x00158d0001aea731"],"manufacturer":"Xiaomi","model":"MiJia human body movement sensor (RTCGQ01LM)","name":"Kitchen Motion","sw_version":"Zigbee2MQTT 1.21.1"},"device_class":"battery","json_attributes_topic":"zigbee2mqtt/Kitchen Motion","name":"Kitchen Motion battery","state_class":"measurement","state_topic":"zigbee2mqtt/Kitchen Motion","unique_id":"0x00158d0001aea731_battery_zigbee2mqtt","unit_of_measurement":"%","value_template":"{{ value_json.battery }}"}'
I don't see anything in the Mosquitto log, but I may not know where to look
maybe try in the z2m discord at this point: https://discord.gg/xrBSyrqH
Thanks. I've been asking over there roo
Anyone in Australia with access to a hot air solder rework interested in a tubeszb router at a steep discount let me know I have one in the country that needs a tiny fix.
I might be interested...
Any reason why I've random devices not connected to anything on the map but work without issue?
I'm impressed with how far I've come in the last few weeks. You guys have been a great help in me getting started, thanks! https://stuarthaire.com/i/C699t.png
just got my Sonoff Zigbee bridge and sensor kit. is there any reason NOT to flash tasmota on to it immediately?
looks like my Conbee stick crapped out and I removed the lights from it and am in the process of adding them back to my Nortek stick. That will allow me to combine them and then monitor a second UPS for my server.
The best reason not to would be because it'll likely prevent you from returning it for a refund and buying something decent.
More info on the issue I am having with Z2M devices not getting created in HA. I turned on logging for mqtt and here is what happens when I trigger a discovery message for one of the devices: https://pastebin.com/2PteP61T
It looks like HA thinks the device already exists so it removes it
does it?
have you tried removing the device from z2m and adding it again?
how are you "triggering a discovery message"?
yes, the device gets created very briefly, and then removed. I am triggering a discovery message by updating the name in Z2M and checking the 'Update Home Assistant entity ID' option
Hi everybody,
Not directly Zigebee, bit kind of related:
Does anyone have experience with the Magenta Smarthome base and it's integration into HA ?
This thing seems to be like an all-in-one hub for zigbee, homematic /homematic IP and seems to also be capable of WLAN.
It seems to be a tint product ...
I'm asking because Aldi (in germany) now get's it for a cheap price...
and having a backup hub for my Homematic might be nice....
have you asked in the z2m server?
^
yes, I have asked there. Here is an updated log with debug enabled: https://pastebin.com/DfPfbP05
idk man
One of my Z2M bulps (philips hue) started turning on by itself. Every night, and it usually happens around 8:30pm and 2:30 am. I've had it for about a year, and it just started about 2 weeks ago
Running Z2M in a docker container on an intel nuc, with the ZZH!
If HA just reports it turning on (in the Logbook or the entity history) then it's not an HA thing. I've never seen Z2M do that either, so I'd say bulb glitching
gotcha. One other thing it does, after I turn it on, maybe 5 seconds later it will dim, and turn on again.
Weird...
probably a dumb thing since I know they dont use z2m, but there's no way a neighbor could be turning it on and off right?
I just realized if that were the case, id probably turning their device on and off as well
I just asked the neighbors, and I'm not turning on/off any of thier lights, and they don't even own IoT stuff
you using adaptive lighting?
no idea what that is, so im guessing no]
Or flux
I just looked up the flux integration, and I never messed with that. it does seem cool though
It's not as cool as Adaptive Lighting 😉
Just for a sanity check, for #449717345808547842 folks:
- the Logbook and entity history are the same thing?
- can be found in my
home-assistant.log?
Logbook is the thing on the left, called Logbook
It covers the history of many entities, basically a logbook of what's happened
Entity history is a view of just that entity
for example
Ahhh. I think I may not have that. Back when i was on a Pi, i setup recorder to inlcude a made up boolean to keep it slimmed down
Don't see a logbook in my yaml
Well now i know what I need to add to my yaml, to look at the logs.
Thank you Tinkerer!
Hello there, i use Z2M with Electrolama coordinator. (latest Z2M, latest Coordinator FW) some days ago, my Xiaomi Door sensors are do about 6-7 sec delay... Other sensor is not (like Xiaomi motion detector) only the door sensors... Only change that i add two now Zigbee device (smart plugs, it run router mode) but door sensors connect the coordinator directly.
Anybody affect this problem? what cause it? I try to replace battery, reregister to network, but not help at all....
If you want the Xiaomi to change parent you need to remove them and then either re-pair them (they'll pair to the first thing that responds) or pair them explicitly to that router
I dont wat to do this, i try to figure aut, why do this delay. Before last week, it working well. I dont think that cause the two new Smart plug. I checked the MQTT data traffic, but it not MQTT side problem, Z2M clearly say, that the sensor not send info to coordinator (only about 6-7 sec after, that the event happen).
"or pair them explicitly to that router" <-- This one is never working to me... If i enable the registration to only one router, the new device never connect it... Only if enable it all. (but in this case not only register to coordinator, but any near router)
You need the most recent coordinator firmware for that to work
You also need to then remove all routers and re-pair them
I see. I use latest FW, but some router is paired long time ago..
But unfortunately it not help the root cause... Now i tested 4 Door sensor (2 connect same router, 1 connect to other one, and last one connect to the coordinator directly) all of them is delay.
I observed, that if i restart Z2M, after some min, is better (1-2 sec delay) but about 5 min later, is bad again.
There was a GitHub issue about this I think
CH340 driver in the 5.x kernel had a regression for some range of versions
@austere patio yea i also think, but i would like to inform here that somebody affect this or not, because i try to exclude that the problem is "my machine"
Hey guys, please help... i spend the day tryng to configure zigbee2mqtt and after a painfully day, the devices paired in z2mqtt do not appear for christ sakes in HA, i didn't find any clue on where is the problem, do anyone have a couple of minutes to give a hand?
- the events are shown in mqtt broker, i saw it with mqtt.fx
- mqtt broker has setted to auto discover it
- reinstall, repair, restart, nothing changes the problem.
sounds familiar. what topics do you see in the broker? do you see zigbee2mqtt/ and homeassistant/ topics?
Only zigbee2mqtt
{"level":"info","message":"MQTT publish: topic 'zigbee2mqtt/bridge/response/device/rename', payload '{"data":{"from":"XXXXX","homeassistant_rename":true,"to":"sensor"},"status":"ok","transaction":"4ks0v-1"}'"}
Oh, theres some homeassistant too i did not see
what do the homeassistant messages look like?
{"automation_type":"trigger","device":{"identifiers":["zigbee2mqtt_xxxx"],"manufacturer":"TERNCY","model":"Awareness switch (TERNCY-PP01)","name":"sensor","sw_version":"Zigbee2MQTT 1.21.1"},"payload":"single","subtype":"single","topic":"zigbee2mqtt/sensor/action","type":"action"}
{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_xxxx"],"manufacturer":"TERNCY","model":"Awareness switch (TERNCY-PP01)","name":"sensor","sw_version":"Zigbee2MQTT 1.21.1"},"enabled_by_default":false,"icon":"mdi:signal","json_attributes_topic":"zigbee2mqtt/sensor","name":"sensor linkquality","state_class":"measurement","state_topic":"zigbee2mqtt/sensor","unique_id":"xxxxx","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}
those look like zigbee2mqtt topics
The second one is a discovery message.
Sorry, little (a lot) tired,
{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x000d6f00166882d1"],"manufacturer":"TERNCY","model":"Awareness switch (TERNCY-PP01)","name":"sensor","sw_version":"Zigbee2MQTT 1.21.1"},"device_class":"illuminance","json_attributes_topic":"zigbee2mqtt/sensor","name":"sensor illuminance lux","state_class":"measurement","state_topic":"zigbee2mqtt/sensor","unique_id":"0x000d6f00166882d1_illuminance_lux_zigbee2mqtt","unit_of_measurement":"lx","value_template":"{{ value_json.illuminance_lux }}"}
{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x000d6f00166882d1"],"manufacturer":"TERNCY","model":"Awareness switch (TERNCY-PP01)","name":"sensor","sw_version":"Zigbee2MQTT 1.21.1"},"icon":"mdi:toggle-switch","json_attributes_topic":"zigbee2mqtt/sensor","name":"sensor click","state_topic":"zigbee2mqtt/sensor","unique_id":"0x000d6f00166882d1_click_zigbee2mqtt","value_template":"{{ value_json.click }}"}
That's right now?
if you are getting the discovery messages then make sure you have the mqtt integration configured for auto discovery: https://www.home-assistant.io/docs/mqtt/discovery/
ok just configure the MQTT Broker to use auto discovery ?
Just add ```
mqtt:
discovery: true
to configurations.yaml ?
Assuming you entirely set up MQTT in YAML
If you set it up in the UI that's already the case, and mixing UI and YAML for MQTT just breaks it
Well, it was already there, so, if i remove it goes back to the default value ? Should i do that to avoid the problem of breaking it as Tinkerer said ?
And, how exactly i would know if i set it up in the UI ?
Was that all you had under mqtt:?
Yes
Then yes, that risks breaking it
I prob added it sometime today, and do not remember anymore
Ok, i will comment it out and restart the HASSIO
Hass.io was the old name for the appliance like install option, that uses Docker. It was renamed in January 2020 and is now called Home Assistant OS (see #330990055533576204).
HAOS, sorry
Just restart Home Assistant - no need to restart the whole computer 😛
Its running in a raspberry 2

Done, but still nothing was found by HA
Tried to change the name of the device, and no errors, all the MQTT happened, but nothing appears as devices
If you're having problems with your updates to your configuration:
- Check the troubleshooting steps
- Check your log file - remembering you may need to set logger to
infoordebug - Explain what the problem you're having is - sharing configuration, errors, and logs
I'd run the standard steps, particularly setting the log level to info or debug for at least all of MQTT
What are the standard steps ? Redo everything from 0 ?
Try adding this to you HA configuration.yml:
logger: default: error logs: homeassistant.components.mqtt: debug
Then restart HA then restart Z2M after HA is back up
you should see mqtt logs with the messages coming in
Ok, will take 5 minutes at least
I did not have to restart it find the the device already
and, i do not know why. O well.
Thanks, really thanks
I think the problem was the configuration.yaml, and for some reason it did not worrk at first restart
And now it do not work anymore 😢
Just is unavailable
just as i restarted it and added a new device, it stoped receiving data in HA, MQTT.fs is working fine
It cant be a Mosquitto broker problem right? Because HA is publishing data too
Well, this is not fun.. I got some Sonoff Zigbee switches "BASICZBR3" and although it seems to pair... I doesn't show up in HA anywhere. Ideas?
Okay, rebooted HA, and it appeared.. Odd.
It do not give any sign of life anymore :/ anything i could do ? It should be working :/
Anyone able to help install the Conbee II - just got HAOS running on a windows VM first time...
First install the addon then the integration
once the addon is working the integration should show up itself as discovered
Awesome thanks. I didn't realize I first need to add it as an addon



-> Integrations and see what you did?