#zigbee-archived
1 messages · Page 188 of 1
Do plan on upgrading that CC2531 at some point soon
The more devices you add, the worse it's going to perform, and you can expect it to simply lock up at random
So a friend of mine gave me a ZZH zigbee usb stick. I am running HA on a raspberry PI 3. Can someone point me in the direction on how to set it up?
- Connect it to a USB 2.0 extension cable
- Pick one of ZHA or Zigbee2MQTT - see the pinned messages
So I've set it up, and added my aqara door sensor.
But it isn't showing up under my devices
under Zigbee2mqtt, it is updating the contact sensor from closed to open, so its reading properly
it should appear under the MQTT integration if you are using zigbee2MQTT
also make sure you have ticked/enabled the home assistant integration within zigbee2MQTT, the docs explain it i recall
and also make sure you have set up your MQTT broker (most people use mosquitto)
I followed the youtube video I posted
Still not showing up under devices
I wish I could show screenshots
Which doc are you referring to?
I have the same problem 😩
Pretty sweet zigbee switches from innovelli are up for pre-order now (July eta) they are working on support for both z2m and zha as well. https://inovelli.com/blue-series-smart-2-1-switch/ (not affiliated just cool to see these finally getting close)
Question now is how many to preorder 🤔
check under Integrations > MQTT > devices
Thank you. I had to uninstall and reinstall MQTT and reconfigure to get it to work
So I recently purchased a Aqara Wireless Mini Switch (button). I have installed the bspranger device handlers from GitHub. I have the Aqara door and leak sensors and those all work fine, but for some reason this new button only has a Battery Indicator in HomeAssistant... I can load my SmartThings app and see when the button is pressed, but for some reason that information is not available in HA, the only option I have when creating an automation is "when battery level changes". I have tried the Button (old firmware), Button (new firmware) and Wireless Switch device handlers and it is the same for all of them. Has anyone gotten this to work?
You automate it via it/s events. Look in devices and the automations, click (+) and all will be revealed
https://sonoff.tech/product/diy-smart-switch/zbmini/ This says it runs off of 100-240VAC, it runs fine off of 12VDC too. It also ran at 24VAC. The output was obviously the same as the input.
I have one on my doorbell now, it's running at 12VDC off of a random power supply I had. It's triggering a relay to ring the doorbell. The doorbell button is wired to the switch input on the ZBMINI and toggles the doorbell with the doorbell button as if the ZBMINI wasn't there, and also sends the status to HA. I guess I can also ring the doorbell from HA now too but I don't really see a need for that. I had it wired up directly with with the 24VAC doorbell power at first but the transformer's voltage dropped whenever it was ringing the doorbell and rebooted the ZBMINI.
On many sensors I've seen a "tamper" property. Is that usable for anything? I have not gotten any of them to change from "off" to anything else... Just curious
Hi! I've bought two TubesZB POE adapters, and I wanted to use them both in my home. The reason I have two is because I want to have one in the main house and one in the garage. The garage has ethernet, but is out of reach of the zigbee signal from the main house. I noticed that ZHA only allows a single instance, so how do I configure zigbee in both the main house and the garage? Do I have to use two instances of zigbee2mqtt, one for each location? Or can one be flashed as a router and communicate with the coordinater over ethernet?
Try shaking one of them. Does the tamper sensor switch to on when shaking?
My zigbee door contact sensor sensors show up as unknown when viewed in devices, but if I view it under the Zigbee2mqtt, it displays if its closed/open. Any ideas?
would these support matter too ? https://community.inovelli.com/t/2021-2022-roadmap/8699 the road map shows them both.
nvm , found this " The ZigBee chip being put into our switches can be converted to Matter via a firmware update. We wanted to get a head-start and produce them in ZigBee 3.0 so that they’d work with Hue (as that’s a huge market for us with our smart bulb enabled light switches) and then once Hue, Google, Amazon, Apple, etc move to Matter, so will we."
Did try that just now, and no, did not change for those I tried. I do get that it is meant as a way to be sure the sensor has not been fiddled with, but seems tricky to really use... 🙂 Thanks for the suggestion though
When I do that, all I see is the battery. I would post a screen shot, but the chat won't let me.
if you go under developer options and look for the device/entity, are there any attributes?
Same, just the battery
hmm not really sure then.. i assume when you press the button nothing changes on the page..
Not in HA. In my SmartThings app it shows that the button was pressed.
Is anyone able to hop on chat so I can share my screen so we can troubleshoot this issue? I feel like its something so minor but I just don't know what
I'm going out to the workshop. If anyone is willing to hop on chat, just @ me please so I get the notification.
When you look at the device you get entities attached to that device, the button press is not an entity, it is an event. If you wanna see something try going in developer console, events, listen to « * » and then press the button. Be aware that you’ll get a lot of stuff as you usually get dozens of events every few seconds but you’ll be able to find it. Once you get the event data you can automate with that.
Another solution is to search for a blueprint for your device. They contain the event description.
Example (check the model it must be right or you’ll need to adapt the blueprint)
https://community.home-assistant.io/t/zha-aqara-wireless-mini-switch/255540
Even if you cycle the door? typically unknown is the default state in HA until an update gets pushed out from z2m
Yup, the logs on zigbee2mqtt even show the states changing.
change the name in z2m (make sure you click the update home assistant ID) and check that
So my favorite brand for little ZigBee sensors went under (Konke), it was not perfect but close enough to perfection. They last long, they’re ZigBee 3.0 compliant and they have many parameters I can set. Unfortunately, the company stopped selling abruptly and I was not able to acquire more of their stuff. What is your favorite brand when it comes to door sensor and others sensors like motion, temperature, etc? I’m really looking for something as ZigBee 3.0 as possible. (I’m using ZHA)
I have all of my Aqara devices linked through my SmartThings hub and I use the device handlers from bspranger
https://github.com/bspranger/Xiaomi/issues/165
So far this has worked for all of my devices.
The ZHA integration says it needs the port for the zigbee radio.. which I don't have since I use my smartthings hub.
Ok but did you try to check if an event is triggered in the developer console?
I don’t know if the smart things hubs reroute events to HA
You able to hop on chat?
sure
K give me 15, just out in the shop, gonna head to the office
Hopping into chat
definitely know more than I do lol
The events do transfer from Smartthings to HA. when I look for the button in the developer console within HA, the only state I can see is the battery which is at 100%.
Check my previous message, you need to go to the events tab in developer console.
#zigbee-archived message
Ah, ok. I will check this when I get home.
Hi guys, I've recently installed the new version of Z2M, I could only see the "Bad gateway" signal after it. Since I do not have a lot of device, and my USB dongle has not been updated since a long time, I completly re-installed the MQTT add on as well as Z2M after I had updated my dongle firmware. Now everything seemed to work perfectly.... ish.. I added my devices on Z2M without any problem BUT I cannot find those added devices in the Configuration->Devices&Services->Devices. Can someone help me please ?
maybe re-add the MQTT integration or check the IP of the broker in HA?
also you might need to re-enable the HA integration within Z2M
what do you mean by re-enable ?
I'm trying to connect IKEA Styrbar to my zigbee2mqtt but it never even shows up. Any ideas on what to do?
have you check if this device is compatible with Z2M ?
Yeah, I have another IKEA Styrbar thats working
Yeah could be... I'll continue to try every other day or so, maybe it will work eventually
does it light when you press the pair button? sometimes you might need to press some buttons when pairing to get it to detect.. make sure you have "permit join"?
there's some good tips here https://www.zigbee2mqtt.io/devices/E2001_E2002.html , also try another battery
Yeah I press the pair 4 times and it lights up as expected. Permit join all is on as well
Ill check the link and see
i have the older remote and i found i have to try a number of times to get it to work.. sometimes instead of pressing the button 4 times, I found holding the button to work
make sure it's close to your zigbee hub/dongle too
Thank you, the solution was brought to me by someone and was actually quite simple, I had not configure the mqtt broker in the Configuration->Devices&Integrations->MQTT
I just picked up 12 cree ZigBee bulbs for $4 each at a furniture store, they had racks of them and so far they're great. I was tempted to buy out an entire display box 🤓
I hadn't seen any connected bulb for less than 8, ever before I think
Are Aqara's devices just... flaky?
I have a temperature sensor and a leak sensor that pair up fine, appear fine, then at some point in the next day or two just stop reporting
yes.
What is the best way to work with a zigbee remote control especially one that does dimming? Is there any way to "Link" together 2 devices?
No.. aqara just need a parent that they like they are picky
That's what I seem to be discovering, but the problem is that I have a bunch of hardwired Sinope line-voltage thermostats on Zigbee throughout my house and the Aqara devices are pretty much always going to end up parented to one of them, and they don't seem to get along.
@violet magnet take a look at this note on the z2m docs. Xiaomi make aqara https://www.zigbee2mqtt.io/devices/RTCGQ11LM.html#troubleshooting-device-stops-sending-messages-disconnects-from-network
seems like 6 or more xiaomi zigbee devices died at the same time. I can't tell if it's due to the coordinator firmware or the router firmwares
how does zigbee pairing work.. if I pair ir in one place and move it elsewhere will it connect through a different router?
two of my routers say they have not been seen for 4 days according yo z2m
I don't know if that means anything
Under the network tab of ZHA what should be the values for: Default light transtiontime, Consider mains powered...... , Consider Battery powered.......
When i installed it all the boxes were empty?
Hey everyone,
I've got 3x Ikea Tradfri shortcut buttons, I set them up last weekend connected to Z2Mqtt & HA. All working well in that respect.
I noticed today that the battery remaining is all over the place - 98%, 65%, and 16% respectively. I've clicked them probably a few dozen times so not expecting to blow through a battery in week. Is there any configuration I should be aware of in Z2M that could be affecting this (e.g. asking that the device calls in frequently), I found a tab under Reporting for the devices that appears to be setting a frequency for reporting battery state (batteryPercentageRemaining min rep: 3600, max: 62000). I guessing that reporting battery state should not wipe them after a week.
Is it possible that the batteries were just off when I purchased them? Seems unlikely from Ikea but possible I suppose. Any thoughts on how to understand where power usage is going on these devices, I don't see many events coming through to HA but perhaps it's just maintaining the connection to the Conbee device that is killing it?
Thanks!
Edit: I was able to find a thread (https://community.home-assistant.io/t/ikea-tradfri-batteries-in-the-remote-controls-are-quickly-discharged/109185/315) about this being a problem specifically for the Ikea devices so I think I will just need to read through this when I have the time, but it seems that the 16% low battery warning may not be accurate and perhaps nothing to worry about for now (it's not actually low battery)
Hello HA friends. I manage Awox LED RGB bulbs (https://www.zigbee2mqtt.io/devices/33943_33944_33946.html#awox-33943%252F33944%252F33946) in Z2M i can control all parameters so everything is great. BUT... 😃 i cannot find a way to manage these controls in Home assistant
a way to change colors for instance. The device is showing only on/off and link quality
any idea from one of you that i could investigate to solve this ?
For stuff the device supports but doesn't map to an entity in HA, check out Manage Clusters on the Device page. You can view/set all the known attributes from there
Definitely not advisable. You should place the device in its intended operating location then start pairing mode from there.
Indeed, not a concern in my experience. I have a couple of tradfri controllers that have sat at 16% battery for a year or more without issues. But it does make it difficult to accurately judge when it really is time to change the batteries.
Problem is as of me updating the routers a few days ago there is a location where nothing pairs.. ever.. only way to get it working is to pair it somewhere else..
what's the point of a mesh if these things can move around the mesh :/ wish I had bought zigbee light switches instead of wifi ones.. would have had routers all over the place
When you mention Xiaomi sensors, you are referring to aqara? They are known to be sticky to the routers they initially pair with.
also the buttons..
If you know where the zigbee dead zone is, you can deploy a repeater there as a stopgap solution.
there is a router there about 3 feet away :/
only thing that's changed recently is a firmware upgrade
firmware upgrade to what?
the sonoff usb firmware devices which have thus far been working great
Thx for your answer. I am on Z2M not ZHA. Where do you find manage cluster option ?
Forwarding from #automations-archived
Has anyone used the Ikea Tradfri motion sensor via zigbee2mqtt. I'm trying to figure out the illuminance_below_threshold_check seems to be always false in normal/dark environment. I want to only trigger if it's dark.
I have some light that can be controlled by 2 separate light switch. For example in my kitchen there is one switch by one door and another side of kitchen that can turn off on the light. Can this switch work ?
in z2m select the device and go to dev console
MQTT integration can find all my devices on my zigbee2mqtt instance but only shows the entities Link quality and update status, so nothing to toggle the lights. Any idea's ?
Just found the solution so far; had to rename and update all my entities in zigbee2mqtt to "force" a refresh it seems
is this error just indicating a weak mesh?
Publish 'set' 'color_temp' to 'Living room bulb 4' failed: 'Error: Command 0xf0d1b800000595e6/1 lightingColorCtrl.moveToColorTemp({"colortemp":195,"transtime":450}, {"sendWhen":"immediate","timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Data request failed with error: 'undefined' (241))'
intermittent issue same command to 5 other bulbs was fine, doesn't happen with the same bulb every time
The illuminance threshold is not configurable, you need to manually press day or night mode via the motion sensor
HI anyone know how to use mosquitto broker under configuration - publish a packet to control light bulb ? i have tried to put in the topic and payload however unable to ON & OFF the light[1:46 PM]Message 0 received on zigbee2mqtt/bulb/set at 1:46 PM:{
"state": "OFF",
}QoS: 0 - Retain: false
any one have any ideas how come my newly added zigbee devices are not showing up under entities or devices on HA?[3:22 PM]how do i solve it ?
zigbee2 mqtt
The usual problem there is that you haven't enabled Home Assistant support in Z2M
how do i enable it
Tick it in Z2M's UI
Yup
Install MQTT Explorer on your Windows machine and use the same MQTT broker details that you use with Z2M
See if you can see topics under homeassistant/
yes can see
Next thing to do is to go to
-> Integrations -> MQTT -> Configure_
Subscribe to # and see what's going on
@spark iron posted a code wall, it is moved here --> https://hastebin.com/royewevoya
@spark iron posted a code wall, it is moved here --> https://hastebin.com/boweloxusa
@spark iron Rule #6: Spam will not be tolerated, including but not limited to: self-promotion, flooding, text walls (longer than 15 lines) and unapproved bots.
Please take the time now to review all of the rules and references in #rules.
For sharing code or logs use https://www.codepile.net/ (pick YAML for the language) or https://paste.debian.net/ (pick YAML for the language).
so technically when i added devices on z2m it should show as entity right
should i disconnect the device and restart ?
If you look at MQTT in Integrations it should say X devices and Y entities
yes it doesnt have
Hi, i will renew my Zigbeestick by my homeassistant. i have buy a Sonoff Zigbee 3.0 and change the name in the configuration.yaml for z2m. z2m is already started but i send commands. you know why?
The old own was a Texas Instruments CC2531
can everyone help me? I made all the stuff i found in 2 hours searching in the internet
I'm not sure what your problem/question is
Can you try to explain it in a different way maybe?
I used along time the CC2531 Zigbee stick at my homeassistant, but now i get more and more problems with my devices. so i buyed a new own, a Sonoff Zigbee 3.0. I pluged into the raspberry and have changed the Port in the config. The problem is: i can send commands to my devices. must i connect the devices again?
i try, i doesn`t found the faq thanks
Is salus best uk plug for Zha that measures power?
As in these
https://zigbee.blakadder.com/Salus_SP600.html
Hello! Does anyone else get “ghost” lamps in home assistant when using switches with automations?
Whenever updating my homeassistant to anything past 2022.3 , my zigbee2mqtt lights are uncontrollable in HA. Have I missed some kind of breaking change?
All my lights show up and even renames in zigbee2mqtt immediately sync to homeassistant, but I cannot turn them on/off in HA
Is there anything in the log file for HA?
Not really anything useful/related at first glance
Let me remove the MQTT integration and re-add it (again), so if something pops up in the logs
I'm just starting my 2022.4.5 install to check it
I came from 2022.3.8 but need to update to 2022.4 for mushroom card support
2022.4.5 works fine for me with Z2M
Re-adding the MQTT integration immediatly finds all my devices, but they cannot be controlled
Got to be kidding me... that version works, latest one doesnt
so if I use image: homeassistant/home-assistant:2022.4.5 it works
if I use image: homeassistant/home-assistant it doesn't
You should be using :stable not untagged
homeassistant/home-assistant will be the same as :latest - aka the most recent build of any nature
What does untagged download? Beta?
Roll of the dice
The docs are pretty clear about using :stable
another valuable time consuming lesson learned 😄
2022.4.7 works for me
how to cast generic camera to chromecast enabled tv?
That'd be #cameras-archived or #integrations-archived
I suppose it'll work for me as well but I'm leaving it for now, happy it just works again on a 2022.4.x version now 🙂
You may well have got a dev build that was broken
Ok, doing this I do see when I push the button. However, I am not sure how to use this information in an automation. I see I can use the "Event" type trigger, but I have no idea what goes into that. I am trying to find a video on youtube that explains how that one works, but so far haven't been lucky.
It seems everything that is a might switch has gotten very expensive. Anyone running the zbmini with regular switches or have a brand recommendation? How well does all that fit in a traditional 1 gage?
Is there any way to log the zigbee messages from 1 device?
What integration are you using?
ZHA
the issue I am having is there is 1 relay that is randomly turning on and in the logbook it also shows it was turned on
Not really but you can filter the logs and search for the device's NWK address
Where do I even find the NWK address? I was trying the other day to wireshark the connection but I couldn't find a way to decode the messages
Click on the device, it'll look like 0xABCD
Yes but I don't see a log
Did you enable https://www.home-assistant.io/integrations/zha/#debug-logging ?
No, but even if I do where is this log file stored?
/config/home-assistant.log
Are salus plugs still best uk plug for zha
Thet has power management
hi I recently got an IKEA smart bulb and connected it to HA via zigbee2mqtt - for some reason when I run an action with a transition, a colour temperature and brightness, the bulb ignores the transition and just turns on immediately. If i remove the colour temp it works fine. any ideas on what i can check?
You should carefully read this page, try to build something with these examples and if it doesn’t work come back here with your code so we can help you debug.
https://community.home-assistant.io/t/understanding-event-data-content/180171/16
Thanks, I'll check it out.
So I set up Z2M on a VM last week, just to play with it. All vanilla settings, including panID. When I tried to join new devices to it, they joined to my production instance of ZHA on Home Assistant instead...
Have you tried turning pairing off on the HA machine?
Hey everyone. I live in a 260m2 apartment with brick/concrete walls. And I have just a few zigbee devices (2 blinds motor, 1 sonoff mini zigbee, 2 yale smart door locks and a few pir sensors). My server is located in one extreme of the apartment and the devices that can connect directly to the sonoff 3.0 zigbee dongle that I use as coordinator, work flawlessly. The problem is with the other devices. I don’t have that many devices that work as router, so I bought another 2 sonoff dongles and flashed them as routers.
They are almost in a straight line, my coordinator, the first sonoff router, the sonoff mini, the second router and one of my blinds motor.
The problem is that every now or then, the sonoff mini or one (or both) routers disconnects.. and everything that is beyond that will become offline
The sonoff mini I can check the history in HA and if sometimes disconnects and re-connects dozens of time in one day.
My main question would be, is there any device or something that would connect to the zigbee devices that are far away and “convert” to wifi. I have a pretty robust wifi network (3 ubiquiti wifi6 access points) and I now that I wouldn’t have problems with wifi communication (I have almost 100 wifi iot devices working without any problems)
Or how could I fix this disconnecting issue without having to bury myself even more into zigbee devices
The subject message says Zigbee - please remember to mention whether you're using zha (https://www.home-assistant.io/integrations/zha), zigbee2mqtt (https://www.zigbee2mqtt.io/), or deCONZ (https://www.home-assistant.io/integrations/deconz).
I’m using zigbee2mqtt
Coming over from smartthings here, I'm trying to figure out if I should integrate my ZigBee devices with zha or zigbee2mqtt. I don't really understand the benefits and disadvantages of them, so I'd love to hear about it
Very simply:
ZHA: Part of HA, tightly integrated
Zigbee2MQTT: Decoupled
If you like all your eggs in one basket, go ZHA. If you don't, or you want to use your Zigbee mesh with more than just HA (like a test HA install, or something else), go Z2M
If you‘re concerned wether your devices are all compatible get z2m
Sorry for that question, but i basicly need a Zigbee Hub or an USB Zigbee dongle, right?
My intention is to use Aqara Motion Sensor
@brittle briar 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.
Anything CC2530 or CC2531 based should be avoided - they're old, slow, and only suitable for a dozen or so devices. The Sonoff ZBbridge isn't advised since it uses WiFi (built in interference causing stability/reliability issues), and the HUSBZB-1 uses an older chipset so should be avoided.
Finally, the ConBee range are fine with deCONZ, but experience with ZHA and Zigbee2MQTT appears to be mixed.
Thanks alot
big Range of Sticks 😟
Sure, but your choices are mostly down to budget and geography
If you can, buy one of Tubes range
If you're in the UK (or Europe) then Electrolama is also a good source
ya, do i need the debugger really?
Not for the CC2652 based sticks
If you're daft enough to buy a CC253x based stick then you do, but you'll also need to replace the stick within a few months
😆 thats not my intention. I think i go with the Lama one 😉
@sour shadow thoughts on the Aqara FP1?
I tried to get them last week... finally found them on ALI
I think, yes
but they canceled the order
Not sure why you think I'm the only person who has any thoughts on that device though
I really want to get a few of these to mess with
wanted your opinion since you wrote some interesting articles on presence detection
i haven't seen the prices.. are they expensive?
Sure, but there's thousands of hardware devices out there for that, tens of thousands... I don't know them all in depth
fair enough..
it was ~160ish USD for 2
but they canceled it... I don't think they are supposed to ship them to the US
A lot of their stuff is supposed to be China only
yeah
ah okay.. they are pricey indeed.. i wonder if they work through walls?
Which is annoying, given how good it is
Even the old stuff is good, for the price
oh absolutely
I heard there are some compatibility devices for some devices with zha. Is this true and/or a big problem?
Worlds better than Sonoff 
just puts onus on the user to ensure that everything is compatible
ZHA mostly assumes things will work, and needs "quirks" where they don't.
Z2M assumes nothing will work, and requires explicit support for each device.
That means that it looks like Z2M has more/wider device support, when the reality is that ZHA does
when things are spec compliant
So, 0.1% of the time 😛
ah ok lol
we ultimately get support... just takes a while
So would zha be equivalent to smartthings where most things work but occasionally you need a custom device handler to make a particular device work?
that was the original thought
to Tinkerer's point above... in practice not many companies follow the spec
Ultimately the biggest difference IMO is that Z2M supports more than just Home Assistant, and ZHA is part of Home Assistant
What else do people use z2m with? I'm having a hard time really seeing why you'd want to control devices from multiple hubs
There's those, plus other things that aren't documented there, plus of course people can roll their own software to interact with it
I don't usually use super obscure devices and i check compatibility beforehand, so i should have no problem with zha I'm guessing?
Fair, fair
Hey, so I’m currently experiencing a problem with a hue light that is connected to my raspberry via deconz (conbee II).
I have this automation that should turn it on and then off after 15 seconds with no motion:
https://paste.debian.net/hidden/dbcbc582
The problem is, that it just sometimes (like once a day) doesn’t turn it off. The trace shows it goes over the turn off command, but the light still stays on.
I have something similar with blinds (also same gateway) in my room. I control them with a scene and sometimes it only puts one up or down and I have to activate the scene a second time.
Is your Conbee on a USB 2.0 extension cable?
Don't ask to ask, just ask your question. Then people can answer when they're around.
When you do ask a question, try to provide as much background detail as possible. Ask yourself these questions first so that others don't have to:
- What version of the Home Assistant are you running? (remember, last isn't a version)
- What exactly are you trying to do that won't work?
- Is the problem uniform or erratic?
- What's the exact error message?
- When did it arise?
- What exactly don't you "get"?
- Can you share sample code, ideally with line errors where the error occurs?
i have try zigbee2mqtt its not my thing so i switched back to deconz... reconnected all my devices one by one
i have them online , i changed the light buttons on ha dashboard... but now i can swithc lights on but the go off after a second
and lights won't response
inside deconz is works great
but HA dashboard nothing
before everything works also with deconz....
i reload the deconz app, restart the machine nothing works
21:49:09:453 0x0C4314FFFEC5674B error APSDE-DATA.confirm: 0xE9 on task
21:55:34:626 emit event/tick: 0x00178801099c1d2e
21:55:34:630 emit event/tick: 0x001788010b0414bb
21:55:34:634 emit event/tick: 0x00178801099bdc3c
21:55:34:638 emit event/tick: 0x00178801099be4db
21:55:34:689 0x00178801099C1D2E force poll (2)
21:55:34:693 0x001788010B0414BB force poll (2)
21:55:34:699 0x00178801099BDC3C force poll (2)
21:55:34:714 0x00178801099BE4DB force poll (2)
when i push a group out inside HA dashboard i get this
I have two buildings I want to automate but only want one instance of homeassistant
Any suggestion for a smart device to use as an extender? I don't want to just buy something purely for extending and would rather get something that acts as one but also serves a purpose
Sorry and by extender I mean something that acts as a repeater
what are the advatages of zigbee2mqtt vs the default zigbee intergration (if wrong channel point me in the right direction please!)
I haven't noticed too much of a difference since switching over recently. Here are some things off the top of my head that I did notice:
- z2m UI is nice to see all your devices in 1 place
- ZHA maybe seemed a little more reliable? I've had one motion sensor drop off the network a few times. Not really a large enough sample size though
- z2m seemed more complete at least out of the box as it offered me entities and control that zha didn't have. For instance a motion sensor allowed me to control it's timeout and sensitivity with z2m and zha didn't. It also showed more entities on my vibration sensor for tilt angle
- I've noticed in node-red that I get multiple "on" events from motion sensors whereas zha just sent me one for when it detected motion and one for when it timed out. Hasn't caused me any problems though.
The general sentiment seems to be that z2m is more advanced but zha is simpler. I started with zha since I didn't have mqtt set up at the time and was just starting to use HA. Once I got more comfortable I moved to z2m and I'm glad I did so far
Greetings all,
I have a Ha instance in my house on a virtual server and a remote raspberry connected to my home network with some custom pythons sending messages to the MQTT. Is there a way I can create a ZigBee network on that remote location ? From what I understand the only way to "create" a coordinator is to have an antenna connected to the HA. I would like to use Z2M.
Both Z2M and ZHA can connect to serial ports exposed with ser2net or socat. If your remote location has any sort of device capable of accepting a USB stick, you can do it that way. Z2M has docs for getting ser2net setup.
Or use an Ethernet-connected PoE coordinator
Will the SONOFF Zigbee 3.0 USB Dongle Plus work with brands such as Aqara, Fibaro and Nedis?
I feel a little overwhelmed with all this info
The latter two I don't know but the Aqara Zigbee stuff works fine
I have one spare Sonoff zigbee 3.0 dongle ... So I can expose it to the HA like it is connected to the actual ha instance ?
You could also just run Z2M at the remote location and somehow pass the MQTT messages back to your main HA instance, either by bridging the MQTT brokers or just having one main broker with your main HA setup
thank you! it sounds like the SONOFF Zigbee 3.0 USB Dongle Plus is the one to go with then!
I use such for 4months now and everything is ok.
ZHA can use serial://host:port and Z2M can use tcp://host:port as the "serial port" name (i.e. instead of /dev/serial/by-id/...) if you want to run all of the software on your main server
Or you can do what I mentioned above with Z2M running on your remote Pi and directly talk to the stick plugged into the same Pi
Thank you, puddly. I'll try to find some examples in the net for that integration !
https://www.zigbee2mqtt.io/advanced/remote-adapter/connect_to_a_remote_adapter.html#_1-install-ser2net . Is that everything that I need to do on the Raspi ... And into the config yaml of the HA I need to add 2 lines ...
Now I feel ... Hmmm ... Stupid 😫
I have one of the ethernet zigbee bridges (ZB-GW3) that I'd previously flashed with ESPHome firmware to expose the serial port for HA. I'd initially had ZHA, but it wasn't compatible with all my devices. I changed to Z2M and recently bought some RGB bulbs. This exposed some kind of delay/connection issue. Thinking it was some issues with ESPHome I flashed to tasmota for this device. (found here:https://github.com/vahempio/Tasmota-for-eWeLink) That's proving to be worse! So...Right now...I have Z2M, Tasmota on ZB-GW3. I have 2 devices paired. One is a multi-sensor (pir, lux, temp/humid, tamper), and one is a contact/vibration sensor. RGB bulbs removed/off in case the router parts are causing problems. The issue I'm seeing is if I keep interacting with my sensors eventually the whole thing just comes to a halt....eventually it'll rapid-fire through updates...settle for a bit, then start all over freezing up. HELP!!! I'm starting to wish I didn't try to start moving to zigbee, but my WiFi is starting to have issues too....
Anyone know what chip the aqara fp1 is using?
Having issues with Unraid HA VM and Conbee 2 after a power loss. In Phoscon I see the Firmware = Not connected. In deconz mesh I am unable to connect to the conbee. though it is detected and displayed in the drop down as an option. I have tried detaching and attaching the usb gateway but no luck. now that i type this, this might be an unraid support question. I loaded the gateway on a windows device and was able to connect to the device just fine. Curious if anyone else had seen this issue recently.
hi there i have on deconz. 4 hue filament lights and a hue dimmer remote. when i use dim buttons i configure it change brightnise: dimming up and on / dimming down and off but when i use this button its going straight from 100 to 1 and when i puse more dimming up it go's straight to 100 ..... why isn;t it stopping when i release the button ?
Isn’t pairing off on ZHA until you turn it on?
Yes
@jovial aspen well you must have turned it on.
It’s only on in 60s increments. It can’t be turned on and left on
Hey everyone. So I'm looking for can-less color changing lights w/ zigbee and the only one I seem to have come across is https://www.moeshouse.com/products/zigbee-smart-led-downlight-smart-led-dimming-round-recessed-spot-light-7w-10w-rgb-2700k-6500k-w-c-light-compatible-with-philips-hue-smartthings?variant=39331508125777 Now personally idk anything about these and really don't want any of my data going to a third party so wasn't sure if anyone knew anything about this product or something I'm looking for. I'd go Hue, but they don't sell can-less options sadly
I have some old Hue bulbs and a number of newer Tradfri bulbs under zigbee2mqtt. If the Hue bulbs' switches are flipped off and on, they go full brightness despite last level. The Ikea bulbs always go to the last level. I have some dimming automations at night. I'd like the Ikea bulbs to operate like the Hue bulbs after power cut. Can this be done?
Anybody have any experience in the XHK1-UE keypads? I've seen a few people get them to work with ZHA but still not exactly sure how it works. I have 3 of these things so It would be nice to have working in HA.
So I grabbed the event data and added it to my trigger, but it isn't triggering. Here is my Yaml:
platform: event
event_data:
event_type: smartthings.button
data:
component_id: main
device_id: 5a24185d-a766-491e-91b6-b01aa8eb35ea
location_id: 2eb2cde0-2cb8-4224-a8ee-b27635b026f5
value: pushed
name: Door Button
data: {}
event_type: smartthings.button
the software has nothing to do with network stability, so things dropping off have won't be affected by zha vs z2m - channel will
These are actually working quite well - battery draining alert appears to be false, they’re still showing but not disconnecting. Only one that stopped logging possibly a reception problem. Wonder if there’s a way to recalibrate the battery level sensor or disable the alert?
Is there a way to export zigbee temp sensor data as text/csv?
There's unfortunately no way to calibrate anything with older Aqara sensors. They join your network and that's it.
Could the channel have changed when switching from zha to zqm?
yeah, I think they both have different default channels
15 for ZHA, 11 for Z2M
Ah ok. Well it's been ok I think since last Friday
ZigBee won't go out to a third party, completely tied to just you ZigBee network no Internet access
Gotcha I just never heard of this company name or anything like that and I don't like my devices being connected to the outside world. What I'm not 100% sure on is if that it requires their hub or can I use the official Phillips Hues one
ZigBee is ZigBee, you can even use a ZigBee stick for home assistant and cut out hue
Are the sonoff usb dongles any good?
I've seen the conbee but people seem to have issues with it
I think the problem I have is it says in the description that it does talk to the Internet and I've never heard of that brand before Tuya
Oh tuya, yeah it's complicated
Did you even see the link? Lol
That's what I'm saying it blows my mind that a zigby can less fall RGB light doesn't exist but a Wi-Fi based one dies however I am extremely concerned with the amount of noise 24 lights would make
Hi, maybe you can deny the Internet connection at your Router or Firewall? Or do you mean while the registration Process?
Tbh, I’m not sure what exactly you’re talking about but no Zigbee light can talk to the internet ever.
If you get a Tuya hub (which you really shouldn’t), that hub can and will talk to the internet.
If you just get a Zigbee stick and use ZHA or zigbee2mqtt, it won’t talk to the internet. (Many Tuya devices have compatibility issues but lights should be fine)
I’d advise against getting Tuya WiFi devices though. (They’ll talk to the internet and aren’t easy to integrate into Home Assistant without using their cloud services.)
They Tuya Zigbee devices might work with a Hue Bridge, but there’s no guarantee they’ll work with anything
Maybe get one Zigbee light to try(?)
i use sonoff based wifi devices (with SonoffLAN) but have been switching as much as i can to ZHA and ZigBee based stuff
i also have any WiFi IoT stuff on its own VLAN
The 'S' in IoT stands for 'security' 😛
PSA: if there are any brave ZHA users with larger networks or folks who had the issue with long startup times caused by offline mains powered devices please try beta 1
We made changes that should speed up entity availability post restarts
Hey I am having problems setting up my new home assistant zigbee setup.
The funny thing is I got it working as a test setup and now it just stopped working
(A lot of text but i tried a lot already)
Details:
- I am running a new install of home assistant on a raspberry pi 4 with the raspbee 2 installed.
I did the setup for this according to this https://mindcomponents.com/home-assistant-zigbee2mqtt-setup-with-raspbee-ii-on-raspberrypi/ tutorial - I bought 4 sonoff ZBMINI (https://sonoff.tech/product-document/diy-smart-switch-doc/zbmini-doc/) for room lights
After doing the tutorial above and just quickly wiring one of the zbminis to a wall plug the Zigbee2MQTT integration found the device and everything was working!
Now the Problem:
After all this i started putting the one that worked in a electrical box in my wall. I am 99% sure i did everything right (I am a electrician) but I have to Note i have accidentally force turned of the pi 2 times when switching of the breaker. Now i wanted to test the setup and the device showed up as offline in the integration. I thought repairing would probably help but after removing it it was not found anymore. After trying more standard stuff like restarting and reinstalling everything and looking at the logs i still couldn't find any clue.
You might be thinking now i probably ruined the zbmini! (Well its possible), but i have 3 more! So i rebuild the initial test setup with a new one and still could not get it to find the device. I really have no idea what changed. Is it possible that those 2 unsafe shutdowns killed the raspbee 2? Or am i missing something? I am going mad here.
What's in the logs for Zigbee2MQTT?
Well its a lot, i can share it as a file. https://cdn.discordapp.com/attachments/270931598008909824/969191696501989406/log.txt
Oh sorry
My test setup is literally next to the server so...
Nope
Normally i try stuff like this myself, and the fact that everything worked at the beginning and now not probably means i broke something. I just don't know any way figuring out what exactly is wrong.
Its definitely not the zbmini. I have tried all 4 brand new ones now. So its has to be something on the pi.
Do you think resetting everything (reinstall hassos) is faster than searching for a error?
It's unlikely to help you
Either:
- The Raspbee is broken in some way
- You've got interference
Since you chose a Raspbee you're unable to move the coordinator away from the Pi
(Raspbee is a terrible choice IMO)
So, check your Zigbee and WiFi channels to start with
The state restoration on ZHA lights happens really fast now (which is a nice improvement). However, normal Home Assistant light groups seem to take quite some time before they become available.
I‘m guessing the polling that happens in the background still "halts" the rest of Home Assistant initialization(?)
The banner is still shown that "Home Assistant is starting". I haven’t confirmed whether that’s actually caused by ZHA though
we have 0 impact on regular light groups
All entities are added to the system instantly
I’ll look though… you’re talking non zigbee groups right?
I thought i use the raspbee because of its slim design. (Should have informed myself better) I think im gona buy a usb one and see if that works. Are there any particularly good ones for a Hass setup?
(I can still send back the raspbee so its an option)
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.
Anything CC2530 or CC2531 based should be avoided - they're old, slow, and only suitable for a dozen or so devices. The Sonoff ZBbridge isn't advised since it uses WiFi (built in interference causing stability/reliability issues), and the HUSBZB-1 uses an older chipset so should be avoided.
Finally, the ConBee range are fine with deCONZ, but experience with ZHA and Zigbee2MQTT appears to be mixed.
Ok thanks.
For anyone based in the southeast and on the lookout for zigbee bulbs, here is where I found them for $3.99/ea
https://southeasternsalvage.com/landing-lighting.php
They're soft white and not color tunable. They were a snap to set up with my ConBee using ZHA, I have a light group of 5 set up and so far they're very responsive. No noticeable delay dimming or on/off.
Is there a path to backup my ZHA network on my old stick and move it to a Z2M on my new stick?
I use a Sonoff Zigbee 3.0 USB-Stick with the newest beta-Version of Home Assistant (2022.05b0). My Zigbee-Devices are working (most of them) but the Stick is shown as "device is offline" in ZHA-Map. I´m confused. Any Ideas?
What coordinator?
is EFR32MG21 good coordinator to buy today? I think I should replace my CC2531. And EFR32MG21 is cheaper than CC2652.
If you're using ZHA then maybe
If you're using Zigbee2MQTT then buy a CC2652 based device
I'm on ZHA, what's maybe? If you have to buy now, better to go with CC2652?
https://www.aliexpress.com/item/1005004051672707.html?spm=a2g0o.cart.0.0.58193c005riAnh&mp=1 What do you think of this one? It's the cheaper i can find
thanks
Oh, that one you linked has a single 2 star review...
well is "Shipment not arrived" review...
I wouldn't buy the cheapest possible coordinator you can find, it's the one thing connecting your computer to your Zigbee network. The CC2652 sticks for the most part all use pre-made modules so their RF performance should be very similar to one another but some also have quality issues, like improper soldering, that can make them either not work or have other issues.
the problem is I just have 3 devices, change those to wifi would be cheaper than upgrade the CC2531 (an battery devices something go offline).
any differences between CC2652 flavours? like CC2652R1 or CC2652P?
Not really
One has a power amplifier but turning up the transmit power won't really make your network behave any differently so it's effectively the same
so CC2652P is better?
Makes no difference 😄
with or without power amplifier is the same?
Doesn't matter
No difference
The most important thing is the quality control of the maker
Your coordinator and the device have to be able to both communicate with one another in both directions. You coordinator can transmit "louder" but that won't let it hear your devices from further away
yeah, that makes sense
Realistically, if you have only three devices and at least one of them is a battery-powered end device, the CC2531 may work fine for now if you put on a USB 2.0 extension cable
Do you have any routers (bulbs, outlets, etc.)? Or only sensors?
Could I tell on ZHA to my EndDevice which router is more reliable (like prioratise on my zb network)? My problem is that Konke battery PIR is losing connection.
The integration can't really control connections like that
Devices connect to whatever router they want once they're on the network but you can control which exact router they initially join if you factory reset the device and then permit joins only through the router you want it to join
I have two on range with the Battery enddevice, but It tries to connect with the coordinator straight so it loose connection
Try a USB extension cable if you're not already using one. I think the CC2531's firmware may also have to be updated to 20211115 or newer for selective joining to work. If it's anything older then the coordinator will always be permitting joins in addition to the device you specify.
I tried that, but the enddevice randomly change the peer is connected too... If i could tell the device never to connect straight to the coordinator... Or the network always to talk with this device through router only.
Not possible. Once it's on the network, the device can move around if it wants to.
I use 3.0 firmware... 😅 for CC2531
Z-Stack_3.0.x
I don't think it's maintained, downgrade to Z-Stack Home 1.2
yeah, i think that would be better
Zigbee 3.0 firmwares are not recommended for the CC2530 and CC2531 (since those are not powerful enough)
You took a bad situation and made it worse
I use the same FW, it got updated not long ago (weeks)
But yeah, that's on the Sonoff USB 3.0
Different stick 😉
https://github.com/Koenkk/Z-Stack-firmware/tree/master/coordinator/Z-Stack_3.0.x/bin hasn't been updated in 3 years
That's 3.x.0. Confusingly named, the 3.x.0 (really 4.x and 5.x now) is unrelated to the 3.0.x firmwares
yup, I use the 3.x.0 and not 3..0.x.. confusing
yeah, it's works eh, it's only that battery PIR; if the device were in somewhere where it'd not see the coordinator it would work; but it's a middle point
default or source_routing? what do you recommend?
I recommend buying a CC2652 based coordinator
Until then, the source routing firmware is (in my experience) slightly more stable, but still pretty far from stable
Probably this is the best recomendation
I've only tried that one, but I can recommend the Sonoff USB 3.0.
There seems to be some quality control issues with those
ah? do tell!
Some general build quality issues - badly connected antennas - and a number of reports of corrupted NVRAM (I think that's what it was)
I know some of the ZHA devs are following the situation
I see! so it's kinda hit or miss if you're gonna get a defect stick, that sucks
the NVRAM stuff is beyond weird
does seem to be mainly sonoff sticks
and the new Aqara P1 Motion sensors are NOT standard compliant
but they have the certification on the box... smh
they are Zigbee 3
have no illuminance cluster or Occupancy cluster but they support both... fun stuff
I have one of those that just got delivered, I was going to play with it and see whats up
I have it working... wont have time to add it to ZHA for a few days but it is nearly identical to the E1
I'm running z2m 😦
I'll look at their support for the e1
Can I upgrade my zigbee stick firmware directly from my Homeassistant device? (Running Homeassistant OS)
or do I need to pull it and do it on my PC?
figured it out
They merged support already I think
just hasn’t been released yet I think
Could you paste the event data you got in developer tools. I find your « data: {} » a bit weird for instance.
Hi everyone, i have a strange issue where none of my zigbee2mqtt devices are showing up in homeassistant
interestingly, some other devices using mqtt are showing up
Did they ever show up?
Yeah they did at some point
i can see in the zigbee2mqtt logs that it's working. i can see the updates existing in the broker but it's not being picked up by homeassistant
Apr 29 11:58:28 zigbee-vm npm[1046]: Zigbee2MQTT:info 2022-04-29 11:58:28: MQTT publish: topic 'zigbee2mqtt/ikea button 2', payload '{"action":"","battery":100,"linkquality":45,"update":{"state":null},"update_available":null}'
Apr 29 11:58:28 zigbee-vm npm[1046]: Zigbee2MQTT:info 2022-04-29 11:58:28: MQTT publish: topic 'zigbee2mqtt/ikea button 2/action', payload 'off'```
Make sure that Home Assistant integration is enabled in Z2M
And they're both using the same broker? You can see the messages from Z2M in HA?
They're using the same broker indeed
i don't think i can see the messages in HA for some reason
Then that suggests they're not using the same broker, or either Z2M or HA isn't actually talking to the broker
well
i've got 3 things speaking with the broker, 2mqtt and 1 plejd addon
the plejd addon messages are being picked up
but not the z2m
ok so tiny bit of progress
if i listen to "zigbee2mqtt/ikea button 2" for example
i can see the information in homeassistant
Check the homeassistant/ topic for any Discovery messages from Z2M
ok so i listen to homeassistan/ and then just push a button or something?
Well, no, restart Z2M at that point
aha
nope, deathly silent
the log spits out a tonne of info though
as in, the z2m logs
Hello there,
I have switched HA from the OS version to the Core version (Docker). Before I was using ZHA and now I am thinking about switching to Z2M. However, I have read that Z2M is much harder to install/use than ZHA. Do you think it would be worth the effort or should I use ZHA again?
https://www.zigbee2mqtt.io/guide/installation/02_docker.html isn't really that hard IMO
It's very much a personal choice though
Maybe its just bme but it looks like there are way too few topics: https://photos.app.goo.gl/a7ptrBcZHz7rgucs6
Interestingly after a reboot this is what it looks like:
https://photos.app.goo.gl/T9qfq752JdYaiGND7
ok i solved it
And the solution was?
Z2M: Don't you need to add the MQTT integration as well into HA?
Yes
the solution was changing the base topic to two different ones
just saw a z2m error from failing to update a bulb that says "failed with status '(0xc7: NWK_TABLE_FULL)' (expected '(0x00: SUCCESS)'))'"
Odd, cause I'm using the latest firmware
thinking I may have just flooded the network at that moment
Yes it is
Does Zigbee2MQTT contain a mqtt server or do I need to run one separately first?
Z2m does not have a built in mqtt server. What sort of ha installation do you have? Os/supervised have addon for mosquitto.
Hey Anyone got any experience with ikea tradfri switches? I basicly jsut want them connected to my hue hub . but it looks like in order to pair them I need to use touch link and I need to pair them to a speciffic bulb? But I don't want to do that I just want it on the network then HA can handle the rest
You would need a zigbee co-ordinator likes the ones mentioned here https://www.zigbee2mqtt.io/guide/adapters/#recommended then by installing z2m you can assign any actions to anything from automation. You are also not dependent on HA as all the actions happen on mqtt
Wait MQTT works without HA? I thought HA controled all of it. Also Can u plz help me undersatand the ZHA hardware stuff?
So the hue hub uses Zigbee, but as I understand the hue hub can't be used with ZHA, which is required for Z2M. So if I buy one of these Usb sticks and plug it into my HA server, What exactly will happen? Will it act as a separate zigbee hub with a separate zigbee network? Or is a cordinator a diffrent thing to a hub? Also why can't I use the Hue hub for this? Thanks
You might want to read about HA more. HA is just an engine with a fantastic automation capabilities and UI to go by. It is integrated with various other technologies & products and hence it works so beautifully. MQTT is yet another software which integrates. HA itself does not require MQTT, it can work on its API. ZHA is a part of HA. While Z2M is a seperate software. The link between HA & Z2M is MQTT. Hue hub is proprietary has its own zigbee software can be directly integrated to HA https://www.home-assistant.io/integrations/hue/ However, the beauty of ZHA and Z2M being open source that almost all the Zigbee compliant devices can be connected. So when you buy those zigbee dongles which contain the zigbee hardware, the Z2M and ZHA can use that and become "hub". Then you would not need your hue hub at all. All your hue "end devices" like lights, switches (or from all other vendors) are directly connected to ZHA or Z2M - see supported devices for Z2M https://www.zigbee2mqtt.io/supported-devices/#v=Philips. So if you buy Ikea lights, you would not need Ikea hub, just pair with Z2M and they are available to be used in HA or in NodeRed or any other automation softwares. Hence a Ikea switch can trigger hue bulb for e.g without needing 2 hubs
So with MQTT I saw the subscribe and publish moddle, but how does that work without HA ? Like if I want to press a switrch to send out a signal to activate all lights, done they have to be subscribed in HA for that to happen?
MQTT is just a broker that helps the software like HA or Z2M create topics and pass messages for the devices. The Z2M starts by connecting to MQTT broker and you could just use any other MQTT CLient to pass messages to specific queues that Z2M hosts to control your devices , see here https://www.zigbee2mqtt.io/guide/usage/mqtt_topics_and_messages.html#zigbee2mqtt-bridge-request It is just that HA can connect to the same MQTT broker and intreprets the messages and presents as a good UI. A similar approach is also done by OpenHAB or NodeRed automation engines as well
Oh I see
ZHA is different since it is an integral part of HA. So if HA goes down so does ZHA
Cuz I was planning on using mosquito and Node red which run inside my HA to do it
But even though I have my hue lights in HA, I don't have Zha because I need more hardware
if you are ever going to have only Hue devices, then you can continue using Hue Bridge and connect as you connect now. However, as I stated earlier, if you are buying Ikea or other vendors devices and want to have interoperability between them, with ZHA or Z2M you need not buy individual hubs
and also have total local control, since hubs from Tuya and such vendors always report back to their servers somehow & somewhere
Gotcha
I alredy got ikea lights and they worked perfectly with the hue hub, but it seems their accesseories don't
I tried with a mootion sensor and it was not fun
And I'm switching my main lights to Lifx cuz I got a crazy deal
and I like how i can have animated lights
with proprietary hubs, you have little control, and at mercy of their software updates. Hence, buying your own dongle and switching everyhinfg to ZHA or Z2M, you are in complete control, including your privacy
lose app control you mean mobile apps from Hue or Ikea? Yes, but why do you need them? HAs mobile Ui is great and customizable to your liking
I dont have the mopbiole app yet
doesn't it cost money?
Also will my google home still work with the devices?
your google home is integrated to HA. All the ZHA or Z2M devices are entities in HA, so they still work. HA Mobile App is free - just like HA. And if you have not tried HA mobile app yet, then you are in for a treat! there is so much you can do.
Oh I thought I needed HA+ or whart ever it was called to get an account for the mobile appo
Look you probably need to read the HA docs more to get what it has to offer. HA runs as a "server" in your own home. The HA mobile app connects to "your" server.
so the UI you create in HA web - is the same UI you would have in HA mobile
I knew that, So I can use the mobile app but only when I'm home for free?
No. there are various options - you could expose your HA using duckdns or similar. Use Wireguard or if you ISP does not offer public IP and you are behind DoubleNAT - then yes, use Nabu Casa's paid option. but you are paying for Nabu Casa not for Mobile app
Do you mean public IP or static IP?
Dynamic Public IP.
ah
BAsically the question is are you able to get back to your router on the public ip. If yes, then you could setup a port forward for your HA server and have it connected via Free DNS services like duckdns.
You would also need to have a small script running which updates your public ip (if not static ip) back to your duckdns
Oh neat, I didn't think that was possible with a constantl;y changing IP{
you would need a script to be run to update the IP back to duckdns. so that is required. But each service offer a way. If you are using duckdns. I can provide you that script
TBHanks, I'll probs look into that later tho, after I get other stuff setup
and really check that Mobile app. One of the coolest feature is that mobile device itself becomes entities. So your charging, location and all other details are available in HA and you could use them for automation, like using location you could create zones in the provided map and send Alerts when entering / exiting those zone. Switch off the charger when mobile is 80% charged, etc
Quick question, the Tube PoE coordinator, is that network interface a 100Mb full duplex or a 1Gb interface?
Every time I restart home assistant I loose connection to all Zigbee devices as well as the Tube coordinator. I then have to power cycle the coordinator and then reboot home assistant to get them back. However I do not get them all back...This all started with Home Assistant update 2022.4 and after 2022.4.4 it became a bit better but still not working as it did in 2022.3.x. Now it is so unstable and causing automations etc not usable.
Dear community. Using Z2M, with 50+ devices connected, everything is well recognised on HA.... Except for a device https://www.zigbee2mqtt.io/devices/33943_33944_33946.html#awox-33943%252F33944%252F33946
IN Z2M all exposes such as color_tempn color_xy are available, but in HA the created device do not have the relevant entities to control the device (only switch on/off is available)
how to proceed ?
@oblique vinethink you have to report this to zigbee2mqtt
I have defined different scenes per group within the Zigbee2MQTT add-on.
Can anyone tell me how I can use those scenes withing HA automations now? The scenes won't show up when I create an automation.
@maiden axle let me search that for you
10 seconds later
To recall the scene send a command to zigbee2mqtt/[GROUP_OR_DEVICE_FRIENDLY_NAME]/set with payload {"scene_recall": SCENE_ID} where SCENE_ID is a number (e.g. 1)
Thanks. So it's only possible via .yaml file? GUI is not supported yet?
no idea, I am not using the ui, only did so first month when started to use ha
Alright, thanks. Sometimes it's just confusing with the GUI when things are not made very intuitive. But I understand it's not alyways possible because the devs have to keep it kind of "general".
is there some kind of outdoor rated zigbee repeater thing?
i have sensors in my yard and in the detached garage and they often disconnect/drop out
Hi, everyone! I've been searching with google for about 2 weeks now, and finally decided to ask here, since I didn't find any solution to my problem. I hope, somebody here can help me out.
My setup: HA OS, zigbee2mqtt and mosquitto installed as add-ons, for testing, I'm using a tuya zigbee powerplug.
When I enabled "Permit join" on the z2mqtt webpage, the plug got detected and also correctly got configured as HA device, I was able to add it to my dahsboard, read all values, turn it on/off, the full shebang without problems.
Since I'm still testing zigbee2mqtt I did all this on my test-platform, which is a virtual machine. After restarting said machine, my all my smartplug entities show up as "unavailable". When I look at the properties at the z2mqtt webpage, everything is there, I'm able to turn in on/off, ....
I read about all the problems with z2mqtt starting before HA, and so on, but even restarting z2mqtt once HA is running, does not solve my problem - the entities show up "unavailable".
The funny thing is this: after restarting zigbee2mqtt I can see in the log that it's updating "zigbee2mqtt/bridge/state" to "online", but this message never shows up when I listen to the topic in the MQTT integrations "Configure" page. There, I always see "offline" as last message...
HA configuration.yaml is only configured like this:
"mqtt:"
@hardy pawn posted a code wall, it is moved here --> https://hastebin.com/atawarixor
I really don't have any clue anymore, why the state of the plug does not get updated at the device/entity level..
Zigbee2MQTT:
As desribed in the official documentation (https://www.zigbee2mqtt.io/guide/usage/scenes.html#creating-a-scene), both ways to create a scene withing Zigbee2MQTT (scene_store and scene_add) are also possible via the frontend. But I'm just not able to find the frontend for scene_add, only for scene_store.
Am I blind or dumb or both of it? Can anyone tell me where the setting scene_add is located in the Z2M frontend?
hi guys,
i plan on adding HAOS to my home and decided i will either use a Digi XBee 3 or a conbee2.
Since i want to use osram smart+ products, tradfri and aqra, which zigbee option should i install?
pls ping me if u can help me.
THX
Hi All, I'm trying to configure my zigbee2mqtt and was watching youtube videos, and under the configuration tab the Options (list where I put in port and username and stuff) looks entirely different from the videos. So I was wondering if I can find a template somewhere?
https://youtu.be/SlKjw2malJc if this is the future with matter does it really matter?
On zha? The beta should improve startup of zha significantly. You can watch the coordinators web ui to see the serial connection tries if HA starts and connects serial with the coordinator then disconnects there is an issue somewhere . If stays connected it’s just the HA startup wait 🤷🏼♂️ and next ha version will make this much shorter. (Debug logging can give more details too)
Can confirm the latest 2022.05 betas are awesome for ZHA
ok thx,
are they stable for a Beta?
ok
What made you consider the XBee 3 as a coordinator?
i can attach an external antenna to it
I would steer away from the XBee and would not recommend buying a Conbee. You can get a CC2652P stick with an external antenna for cheaper and it's better supported.
Be aware of its limitations. It has some seemingly-unfixable startup issues for some people and is very sensitive to interference (and has no external antenna).
ok
maybe ill also by an SONOFF Zigbee 3.0 USB Dongle Plus and then test which one suits my needs
Ok,
New question:
Since i live in Germany i need Smokedetectors which are DIN EN 14604 certified.
Does anyone know smoke detectors which can be integrated into HAOS via zigbee or zwave(if no zigbee Alternatives) WITHOUT a bridge or gateway from the manufacturer
Hello
After my CC2531 died I got 2 Sonoff 3 Sticks and want to run them both - one on ZAH (which works fine) and the 2nd on ZigBee2Mqtt - to have choice for each sensor.
Do not get ZigBee2 MQTT running - ZAH is fine but currently 4 of my sensors do not work, but worked fine under ZigBee2MQTT with the old stick.
Does anybody have a hint for me? Thank you
- What sensors? What does "not work" mean?
- What's the problem with Z2M?
With https://www.zigbee2mqtt.io/supported-devices/#s=smoke as my starting point, googling the first brand that I've heard of before that wasn't TuYa based brought me to this guy: https://www.develcoproducts.com/products/sensors-and-alarms/smoke-alarm/
14604 is one of the certifications they claim compliance with
Ok thx
For context TuYa has a bad rep in our circles
Which sensors aren't working with ZHA?
Hi, does anyone has just add the new Aqara P1 Motion Sensor in HA? I tried today, but the Informations about Battery Level etc. were not shown. I connected the sensor with Conbee II and ZHA. Has anyone the same problem?
Somebody's already mentioned it's not exactly standards compliant, so it's going to need a quirk
oh ok
I’m working on it
I just got this lock https://github.com/Koenkk/zigbee2mqtt.io/blob/master/docs/devices/HC-SLM-1.md and I got it in zigbee and in HA as a result.. Now how do I go about setting the state it talks about on github?
After I moved from ZHA to zigbee2mqtt all of my Aqara sensors batteries are just reporting 100%. Why would the behavior have been different on ZHA?
It works with z2m with a little work. Or you can wait until I think the start of next month and it should work out of the box with z2m after the next z2m release.
Aqara sensors only report voltage. ZHA and Z2M use different formulas to turn the voltage into a percentage.
I know I've heard a lot of times they just report 100% then die. Is there some kind of calibration I should do?
There's nothing you can do about it, unfortunately
I've tried the same thing. I give up, as when you use Zigbee2MQTT and ZHA. ZHA keeps commandeering devices.
Seems like the ZHA formula is more accurate then?
Hey!
Has anyone got some experience with the E18-MS1-PCB from EBYTE. I'd like to design some circuits for sensors. Do you program the chip using a CC Debugger from TI or is there an easier way? And does it work with ZHA or Zigbee2MQTT. Sadly I find very little information regarding this topic on the internet... If anyone knows a website to recommend, I'd be very thankful!
Thanks! :)
It's a Lidl/Silver rest ring button and motion sensor.
The become integrated, but not with the same functionality I had on ZigBee2mqtt before
PS: Seems to be a common problem: https://github.com/zigpy/zha-device-handlers/issues/759
Why you still want to use zha then? Two networks with two mesh are not as good as one network with one mesh
Hi friends, i currently have my zigbee network setup using ZHA and a combee 2 stick. Sometimes i have some delays in one of my sensors. It turns out that i should change my zigbee channel from the default to something like 25 which has the least overlap by the WiFi signals here.
Now for this i have to basically rebuild my zigbee network.
The question: should i consider going to zigbeemqtt or should i stay with ZHA.
I have no problems with ZHA so far, but considering i need to redo my zigbee network anyways,this would be the moment to switch, is that would bring somsort of benefit
Any opinions?
If you're sticking with the ConBee, stick with ZHA
It's not fit for zigbeemqtt anyways?
Do put it on a (USB 2.0) extension cable though
Yeah i have done that
Experiences on Z2M with it seem to be more mixed than with ZHA
So if one would want to switch, a different coordinator would also be required?
I'd recommend it
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.
Anything CC2530 or CC2531 based should be avoided - they're old, slow, and only suitable for a dozen or so devices. The Sonoff ZBbridge isn't advised since it uses WiFi (built in interference causing stability/reliability issues), and the HUSBZB-1 uses an older chipset so should be avoided.
Finally, the ConBee range are fine with deCONZ, but experience with ZHA and Zigbee2MQTT appears to be mixed.
I'm a fan of the Sonoff Zigbee 3.0 Dongle Plus thing, except, that possible NVRAM corruption thing
Hmm might want to consider replacing the conbee2 stick
which has bitten me once so far.
Yeah, you're not the only person... seems to be some QC issues
I've also seen reports of the antenna being poorly attached
for now, im just doing regular backups
and i have another stick sitting in its packet still as a replacement
Why you're a fan of this stick if they are prone to fail?
well packaged, the right price, and zigbee 3.0
As with most things Sonoff, it's cheap
Sadly as with most things Sonoff, it's cheap for a reason apparently
Yes, but if they are unreliable it will cost more if you need to keep replacing them
well, i havent replaced it
it just freaked out once (so far) and i simply restored a backup and was back up and running
Ah
Just to be clear, the conbee problems you are describing also applies to the conbee2 stick?
I've seen more issues reported with people using the Conbee range on Zigbee2MQTT than on ZHA
Ah i will keep using ZHA
If changing the channel does not fix the delay problem (happens only in the evening for some reason) I will switch coordinator aswell
Thanks for the help
Hey, anyone got experience with docker and zigbee2mqtt? I'm having some issues getting the frontend to work. I migrated it from my unraid server to a seperate raspberry pi running docker and all my devices work fine but I can't get the frontend to work
Are you use the Docker command line, or a compose file?
command line
I just pulled the container and copied my db file and others across
all devices are working fine but can't get frontend for some reason
You have added the ports to the command line?
There you go...
that might be it :)
I'd also highly recommend moving to compose files
Well, you have a file containing the config for your container, one that you can easily back up and also allows you to see what you did
Hallowed be the docker-compose
hello, how do you guys monitor your zigbee networks? I have a small network of temperature, contact, motion sensors. Using z2m. What I do is monitor the last_update time of at least 5 sensors and if none was updated in the last 30 minutes, my network is probably down and send alert to telegram. Is there a better way?
why would your zigbee network be down?
well, technically, not the whole network, but more of the nodes and the repeaters on the 2nd floor of the house has lost connection to the coordinator on the ground floor.
this is a valid concern
you can use trigger on last_update > 1h
for trigger
you can also use zigbee2mqtt option also to achieve something similar
and for notification use telegram as notify service
all you want is duable
just consider zigbee sensors are battery devices that report on intervals over 1h sometimes
for zigbee2mqtt u can use:
availability:
active:
timeout: 10
passive:
timeout: 240
that will make your routers offline if they do not respond in 10 minutes
and sensors offline if they do not respond in 240 minutes
Got it. Thanks. I’ll look into the zigbee2mqtt config
evening folks
I've got some IKEA shortcut buttons attached via z2m, and they seem to be working fine for single press and long press events
however, I can't seem to get the double click events to work
Anyone else use the Hue outdoor motion sensor
Do the logs show the event as coming through to HA
let me check
yes, I'm getting a "state changed" event for the button
maybe it's something about the "Awesome HA Blueprints" controller blueprint that I'm using
Anything not working for you? (Use the occupancy sensor entity instead of the non-working motion one)
I'm sending a time sensitive command over Zigbee mesh and can't know when it was received. I have to predict small delays and correct them in the script.
Possible delays and remedies:
Delay 1: HA seems to send Zigbee commands in batches or only every second to prevent mesh overload, but I'm not sure when or why. Anyone know more on that?
Remedy 1: Is there a way to reach the timestamp when the coordinator sent the command? Currently I only see when the script command runs which may not correlate
Delay 2: The Zigbee mesh might be overloaded and slow
Remedy 2: I was thinking to use a command I can check to emulate a round robin I/O and to record that time to determine current congestion. But even if I can do this it goes a bit against sound logic to congest the mesh further just to check congested it is... So maybe there's a better way?
I assume that you're using ZHA?
And Zigbee 3 coordinator
There's no flag against ZHA that says it's "more popular" or "less popular"
Well, if you're using the Zigbee integration that's ZHA
If you're using a Zigbee add-on then that could be Zigbee2MQTT or deCONZ
#integrations-archived integrate Home Assistant with devices or services, or provide functionality within Home Assistant.
#add-ons-archived provide additional software or services, which an integration could possibility integrate with. Add-ons are for Home Assistant OS and Supervised only, other install methods can install software other ways.
Device info
EZSP = Silicon Labs EmberZNet protocol: Elelabs, HUSBZB-1, Telegesis
by ZHA
You were right
Integration* not add-on
I need to learn the terminology better
It would make it much easier for me to develop on HA
Anyone recently moved from ZHA to Z2M? I also want to get away from my HUSBZB and get dedicated zigbee stick. Which would you recommended doing first? and is there a good guide or method for switching from zha to z2m?
I'm doing the move from a ZZH! to a ZigStarGW (from ZHA to M2Q)
Ok, let me rephrase my question then using the right terms
All, quick question. Is there a way to bulk disconnect / remove all devices in ZHA so that the zigbee device goes in unpaired mode (if supported by the device)
But I'm going the manual way. No backup / restore, but repairing everything
Is there a way to export a list of all devices, node, and entities? I have SO many devices and automations
It would take me days to redo it all
yes you can backup and restore to move between coordinators
https://github.com/zigpy/zigpy/wiki/Coordinator-Backup-and-Migration
Only if you stay on the same platform
I can backup from ZHA to Zigbee2MQTT?
Not officially, no
So you'd just do it manually? write down everything?
That's the only way I know of
You can at least edit the entity_id to put things "back"
I feel like when I did the zwave to zwavejs there was a dev service that would list all device, entites and nodes
You can probably pull it all with some careful #templates-archived magic
That is what I was thinking of. https://community.home-assistant.io/t/how-do-i-switch-to-zwave-js/276435
I guess it's possible to setup zigbee2mqtt along side zha and move stuff over one by one?
that is what I'm doing now 🙂
way better idea. then I don't have any downtime.
What zigbee stick did you go with?
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.
Anything CC2530 or CC2531 based should be avoided - they're old, slow, and only suitable for a dozen or so devices. The Sonoff ZBbridge isn't advised since it uses WiFi (built in interference causing stability/reliability issues), and the HUSBZB-1 uses an older chipset so should be avoided.
Finally, the ConBee range are fine with deCONZ, but experience with ZHA and Zigbee2MQTT appears to be mixed.
thanks tink!
I wanted something that kept being online when I restarted HA or etc. Can't say it will be better, we will see in a couple days
I haven't had much issues with the huszb but sometimes things get hungup and stuck, not to mention its pretty outdated
I had a lot of issues with my ZZH!, tried everything from repairing, changing channels, firmware updates, extension cables and etc
grabbing the sonoff zigbee 3.0 usb
@lucid pagoda posted a code wall, it is moved here --> https://hastebin.com/acaronotey
Oops
@lucid pagoda Rule #6: Spam will not be tolerated, including but not limited to: self-promotion, flooding, text walls (longer than 15 lines) and unapproved bots.
Please take the time now to review all of the rules and references in #rules.
For sharing code or logs use https://www.codepile.net/ (pick YAML for the language) or https://paste.debian.net/ (pick YAML for the language).
I'm sending a time sensitive command over the mesh and I can't know accurately enough when it was received. So I have to predict the main possible delays and correct for them in the script.
My setup
- ZHA EmberZNet EZSP Zigbee 3 coordinator on
- HAOS on RPI4
- Standard USB Serial Zigbee HA integration
Possible delays and remedies:
Delay 1: Does HA send Zigbee commands in batches or in >= 1 second intervals?
Remedy 1: Reach timestamp when coordinator sent the command? I only see when the script passed the command
Delay 2: The Zigbee mesh might be overloaded and slow
Remedy 2: Use a command to emulate a round trip I/O to estimate current congestion? It goes a bit against sound logic to congest the mesh further just to check how congested it is... Is there s a better way?
I'm still learning HA lingo so correct me please if I got anything wrong
Yes, we all saw it ... it's still accessible in the bot link - you don't need to send it again
I don't know if this is offtopic, but would a usb 3.0 cable be any better than my usb 2.0 extension cable for a sonoff zigbee usb 3.0 adapter?
Do replies go here when a code wall is posted? I guess less people read them, no?
People do read them, we encourage people to post code to external sites and share links
You should read the pinned message about Zigbee and USB 3.0 interference
Got it. I'll be careful with those. I saw actually that there are suggestions for sites
I have a 2.0 extension cable.. i'll keep it.
I deleted my message. I don't actually know that hardware
read the pin, good lookin out.
What command are you sending?
Oh, I forgot that crucial info. Button long press and then button long press release
From an Xiaomi Opple Button. They have good reaction time
I'm not too familiar with the modes on that button but are you trying to tell exactly when a command was received by the coordinator, sent by the button? Or are you using the coordinator to send a command to the button and want to know when it was received by the button?
From the button through HA script to the device full trip
Any button would be the same
So the button is sending the command
Yes
The serial data is parsed and the event data is sent directly to Home Assistant. Are you saying the timestamp is inaccurate? The total time from button press to logging should be a few milliseconds
I guess a better question here would be, how are you measuring any inaccuracy?
I'd have to use some electronics to check the actual delay I guess but it's usually pretty quick. But especially when you have more devices on the mesh or if devices move / leave / join and the mesh needs to heal, it seems to take longer for a few times. There are other cases too like if a command goes out to a bunch of devices other commands might be delayed. That can be because of parallel / single modes which I also don't know in and out
I would guess that the coordinator is always trying to get input as fast as possible but that HA manages outgoing commands to ensure mesh stability
If you're pressing a button there usually aren't any commands being sent from the coordinator, the button just sends a report and goes back to sleep
Of course
But the script is triggering a device
That's where I'm more concerned about the delay
Say a bulb
And I need to know in HA exactly when it actually started up
After the button press. So that's my issue. To isolate possible delays on input and output
I suppose input is less of an issue
So you want to know when a bulb receives and reacts to a command, after the coordinator sends it?
Yes
I will probably also need to know if the switch input has any delays but:
- best to focus on one thing at a time and
- output is probably more problematic
- understanding output will probably be enough to understand input
So when the script passes light.turn_on command with enitity_id, brightness, etc, are there any guarantees that that line will delay until the coordinator actually pushes the radio signal?
Assuming the coordinator FW is stable and hardware condition is good, system voltage stable, etc
That should be the current behavior
That would be great. It would eliminate a complete check
There are multiple levels of ACKs so it will only "work" if the light really turns on (unless you're using group addressing)
Which again leads back to my original question, where is this concern about latency stemming from? Are you seeing a problem right now or is this more of a theoretical issue?
I sometimes see delays that are outside of the required tolerances
So I suppose it's network congestion.
So if for various reasons like in my previous message there's congestion, button press comes in, script runs, bulb action goes out but congestion delays light on and breaks sync too much. If I know the delay ahead of the light.turn_on command I can fix the sync.
Like bouncing through the mesh
I'm starting to see the answer just by bringing it up
I guess you could continuously read an attribute on the target device (e.g. once per second) to roughly measure the time it will take, but I'm not sure if the round trip latency of a previous command will correlate with one of a future command
I mean the mesh creates a bunch of possible paths and is pretty dynamic so I would need to probe
Exactly what I was starting to see
I know there's a visualization of the mesh. IS there any way to get that info out of the module that's generating that map?
You generally shouldn't see any appreciable latency if the wireless channel is free of unnecessary congestion
Seems like I sometimes have congestion. Not sure why though
I moved to Zigbee 3 to improve this. It allows more devices
My experiences with both my Zigbee and Z-Wave meshes is that you can't really take anything from a one off delay
Yeah, I can see that
I'll have ages of no problems, and then one device will lag... once, and be fine again, or not
Network-wise there's really no difference between Zigbee 3.0 and previous specification versions. I would focus on trying to figure out what "latency" here means. If you are using the ZHA default of channel 15 and have a noisy WiFi router on channel 1 or 6 (or worse yet, on some channel between them), try moving it
Yeah, seems that way to me as well sometimes. Can't fix it but have to find a way to predict it, at least for some paths
I don't think you can't really predict it in any meaningful way
Make sure your coordinator is plugged into a USB 2.0 USB extension cable and away from all sources of interference
Right, 2.4Ghz channels, but you can't really predict that. Someone can open a mobile hotspot near your house which can be enough to make problems there
It's like predicting drive times ... you can get an idea of what the range of "normal" is, but there's always a day where that goes to hell
By drive times you mean network delays?
Drive times, like ... in a car on the road
🙂
That's true but you probably want to take a look at it. Why keep your network on a sub-optimal channel if you can re-form it on a new one with a lower noise floor?
I'll look into moving to a freer channel but unless you can do ongoing auto channel selection that works well that will statistically turned to reality be an issue at random points for deployments
I wouldn't use Zigbee for anything that mission-critical 😄
Is there a way to probe devices for delays?
Well, some channels are less likely to have problems of WiFi interference than others, but ... if it's a real problem Z-Wave uses a different frequency completely 
Read an attribute (e.g. the model name) and measure how long it takes to do so
The mesh is handled by device firmware for the most part so there's not much else you can do
But most buttons are Zigbee so Z-Wave is less compatible with off the shelf gear
There's no shortage of Z-Wave stuff, it just costs more
Yes, that's what I meant to say 😛
Costs also drive acceptance. Different story though. I know there are pros and cons to both
IMO with Zigbee you can reasonably expect more interference related issues than you'd have with Z-Wave
I'm curious, what is this extremely latency-sensitive light bulb? How much of an unexpected delay are you seeing?
I can't say I see anything like the delays I get with Z-Wave on my Zigbee mesh though
It's for a machine. Bulb is an example. If it goes off it's not dangerous or anything, just messes up the sequence
Zigbee is 100% the wrong choice for this then 😂
You get delays on Z-wave?
Na, it's good enough. It works. We're just improving it
Run an energy scan with the coordinator: https://github.com/zigpy/zigpy/wiki/Zigbee---Scanning--for-best-channel
If we can probe in advanced that there could be a delay it would work perfectly
If your currently channel is unusually noisy, move the mesh to another one by leaving and re-forming the network
Nice
Z-Wave is lower bandwidth, so it's even easier to get a busy mesh and delays. Z-Wave JS is smarter than the old Z-Wave integration and handles a lot of it better, but ... it can still happen
time sensative and mesh network are not really compatible
Lower BW than Zigbee 1.2?
Yiykes
Zigbee 3 devices generally seem to react much faster
I love zigbee (91 devices and counting) but if I couldn't handle a little lag you'd have to go with something more "enterprise grade"
Depends on the FW of course
which in DIY home automation isn't really a thing
I think this is the core of the issue. That gear is really expensive and hard to setup / maintain / upgrade. So I want to stabilize Zigbee a bit as an interim solution
@lucid pagoda I just added two repeater/routers from Tube and fine tuned my antenaa postions
and fixed most of my issues
You're saying Z2MQTT is more stable than ZHA?
I have a somewhat large house with a couple zones that were hard to get zigbee into with my original config
moved the coordinator 8 feet to the left so to speak and put the two routers in some hidden spots that bridged the gaps
Yeah, repeaters solve most delays but FW bugs, mesh healing and other things can still mix into that
you need to dig deeper, why is the mesh healing all the time
I dunno. If anything I had slightly fewer reliability issues with zha, but z2m has more features
mesh stability has nothing to do with the software
Thanks @sour shadow . Thought it was for me
Not sure why you responded to that message though. I wasn't commenting on reliability
Because I have Zigbee remotes (buttons) that move around the floor
lol speak of the devil, my office sensor must've disconnected again and my lights just went out 😑
the one downside to zigbee is you need to put some though into the mesh network
sensors disconnecting speak to larger issues
wifi interference, etc
I don't have a big enough place to need mesh, although I could maybe do with one or two for a few sensors
What are you doing…. Just curious
The sensor disconnecting is right next to my zigbee hub
in the RF world, too close is worse than too far
My zigbee hub is in my office and so is this Hue motion sensor
Well it isn't sitting right next to it
go back to the energy scan suggestion
Was that message for me?
yes, if your zigbee channel and your 2.4ghz wifi channels are on top of each other you'll get some weird performance issues
Why is this a problem all of a sudden with z2m? I had the sensor working flawlessly on zha for months
Z2M changes the channel to 11, from 15
z2m has a different default channel
Ok so with that information what should I do? Change it back to 15?
Channel 11 is a terrible default
Ok let me scroll up, I jumped into this convo for unrelated reasons just recently lol
This
Starting and stopping a cut based on button long press and long press release. Need to sync with operators eyes that is looking at something else. So delays are ok, but only if I can predict them
Or wired
It works well and already in place. No other choice. They just want better accuracy. Bad cut just needs a re-cut, no huge deal
Or used for smaller cuts instead
What is being cut
This feels like a safety issue 😂🤣
I don’t wanna hear that my hobby killed someone because a remote fell off the network
So they run on it and it's fine but want to improve margins and I'm interested in Zigbee stabilization because it's my favorite radio so I signed up for it 😎
Do I need to disconnect z2m before running this?
Haha, can't happen. It just creates a hassle
Yes. What coordinator are you using? If it's a TI one or a Conbee, use https://github.com/zigpy/zigpy-cli/pull/2
yes
Believe in Zigbee! 😂
Also if I'm connected via network would the envar be tcp://<ip>:<port> or socket instead of tcp?
Your main issue is expectation based
Remotes are sleepy devices
And if they’re moving around that compounds the issue
Yeah, sleepy for sure running of a coin cell battery but the are really stable from what I've seen so far
off*
they*
You could wire real switches to your cut stations
Then they could just toggle the switch
🤷🏻♂️
that would probably be a lot more reliable
Getting a timeout error
They don't really move. It's mostly the mesh healing from devices going on and off line
I can see from my zigbee controller it seems to be connecting though?
[D][serial_server:103]: New client connected from <my ip>
I just need to find a way to probe mesh devices periodically and find the delay
If that channel is so terrible why does z2m default to it?
That would cut 99% of errors
Because ... nobody's got around to submitting a PR to change it
I'm using a tube-zb
It's rare enough that mesh paths change so I just need to find when they do
When I run that scan I get this error:
asyncio.exceptions.TimeoutError
with a bunch of lines below that looking like this:
error: CRC error in frame b'6f00000818930a0000212826cd741d3afe1c448100000004cd74022f017800c47e' (b'00c4' != b'2bc3')
[D][binary_sensor:036]: 'TubesZB Gateway Serial Connected': Sending state ON
Seems like it's connecting fine
@ocean cloak posted a code wall, it is moved here --> https://hastebin.com/nudakabeyo
So I should go with channel 25 then?
@ocean cloak Rule #6: Please do not post codewalls (text longer than 15 lines) - use sites such as https://dpaste.org/ (pick YAML for the language), https://www.codepile.net/ (pick YAML for the language), or https://paste.debian.net/ (pick YAML for the language).
Please take the time now to review all of the rules and references in #rules.
Debatably a "code wall" if it's 15 lines, but ok
19 lines of text... that's all the bot cares about
command '~codewall' was invoked by: Tinkerer thought it was you
Yes
Not possible. I need to be able to probe specific devices to calculate the round trip time periodically. Should be possible.
Is there, for example in a bulb, any way to get a response? What about identify? Then I'll calculate response time and update a table
And the bot removed your mess... I'm reminding you to pay attention to the rules
I'm kinda inclined to just use channel 15 if that's what zha was using since that worked flawlessly for me for months
What made u switch? Just curious
Why
To what I'm at now? Or to z2m?
From zha to whatever you’re using
Just heard good things. Generally seemed to be a little more complicated but also more powerful. I've been mostly happy with it so far. Has given me more entities and support for more devices
Why to probe devices? So I can know the delay and compensate for it at the end of the cut.
I have to re-pair all of my devices after changing channels, right?
Yep
So you think I should go with channel 25?
Though some I've heard migrate if you power cycle them
I wasn't totally sure how to read the output, 25 generally seemed lower but it spiked just as high as others sometimes
Sure
Or stick with 15 if it worked before
Doesn't really matter, it just seems like 11 may not be ideal
Is there a command to a Zigbee bulb that sends back any response to HA? That would allow me to predict mesh delays to that device. What about Identify? What does that do?
Guess I'll give 25 a shot for now
That’s not really how it works
configuration-adapter mismatch
You'll have to delete the coordinator backup most likely
Where is that stored?
I think in the same folder as the Z2M config
coordinator_backup.json?
The table of content alone is longer than many books
I know, but I don't mind hacking something together
Welcome to the worst hobby of hobbies
That seemed to do it. Odd that's a setting you can change in the UI but it requires manual intervention
1 down, time to run around my house
Just gotta 1 tap them. This is actually pretty easy
Should attach a switchbot to all my devices to automate it 😈
Thanks guys. All reconnected on channel 25. Will see how the reliability is
A highly stupid question. But maybe I got it wrong. Zigbee should be a mash network. So A - B - C - A device A is connected to both B and C. And b and c is also connected. If quality of link between A_B is like 140 and B-C is 100.A-C have like 40. So message between A-C go through B then? Or do A-C talk to each other. The link should be better going over B. Asking because I have problem with devices that are far away. The one close always work me turns on and off, but the far away like C a few times per month don’t get the commands. Just want to understand how it works
Is there an existing tool or something I can install to inspect Zigbee traffic directly in HA without using a sniffer?
so i have some zigbee sensors out in the (detached) garage.. and they sometimes drop off the network (i assume due to distance).. i have one of these things sitting in a drawer (https://www.aliexpress.com/item/1005003065087094.html) and wondered if there is a way to use it (with router firmware?) to help my situation.. or, some other alternative
What do you use when you want to improve your mesh?
Is one of the devices that are closer to the garage being switched off from the mains?
That's your issue probably then
i could swap out the wifi light switch for a zibgee one and see if that helps
Zigbee devices that have permanent mains usually keep mesh paths alive
i still have my doubts that a mains powered zigbee thing will get a reliable signal back to the house
I had no issue with them. Just when guests cut off mains switches
i have buried cat6 runs to the garage though
But how does that help? Your Zigbee coordinator is in the house, no?
yes
i was just looking at this thing in the drawer.. its an ethernet connected zigbee hub
its sitting here, doing nothing
You just need something Zigbee, preferably Zigbee 3, close to the garage with permanent mains
But you'd have 2 hubs. Maybe, I don't know
well, i was wondering if i could use router firmware
but i guess that wont help
i might as well use one of the wall switches i have here instead
Yeah, makes sense that HA would be able to interact through such a topology but have no idea
Would be interested in that though because that would be the way to go for large installations
i think what would happen is..
the ethernet thing would be its own zigbee mesh
and need the tuya integration to work
or a 2nd network in z2m or something
for now, i might try to swap out the Sonoff Mini for a Sonoff Mini ZB
see if that helps with the mesh
Why Tuya? Pretty sure HA has an integration. I know it can connect to a bunch of hubs
im more expecting the light (that uses the switch) to be less reliable then lol
lmk
pretty sure HA can only deal with 1 mesh at a time
Z2M might be able to 2 several
but that seems messy
being able to bridge meshes via ethernet seems like a great idea for large area installs though
It's probably how it's done
Not your case but an example of exposing your devices between 2 systems over LAN. If you know the homekit integration, it's a bit tedious to setup but it works well.
https://community.home-assistant.io/t/connecting-2-home-assistants-together-with-homekit/395426
From your post this is probably the way to go but you'd need another HA instance. Sounds about right:
"I know that one approach would be to have several Raspberry Pi's as coordinators, each with its own PAN (personal access network, an isolated communicating group of Zigbee devices). I'd pair each Tradfri device with its nearest coordinator, and all the command and control would be MQTT over the LAN."
I would try the Zigbee relay switch you have with permanent mains first
yeah
i could get my electrician friend to put another power point in, in the corner closest to the house as well i guess
and put a repeater in there too
Btw looking at your device again it's an ESP32 (WiFi 2.4 built in) with a Zigbee radio over UART and an Ethernet interface attached. Should be pretty good and very low power with MQTT and all. You'd just need to have the source code. Starting from scratch would be a complete waste of time
i remember buying it because i was sick of the zigbee->wifi thing sucking
but in the meantime, i got the Sonoff Zigbee 3.0 Dongle Plus thing, and used that instead
so that ethernet based one has been sitting since it arrived.. never used
I have been using sonoff zigbee 3.0 and it works great. You don't ceen need the extension cable since it has a sort of cover that manages interference
Tube I can't find the image with jumpers on 2652 coordinator to switch between usb and ethernet. Can you link?
nvm foun dit
On another note, just updated z2MQTT and now I can't access the webUI. All devices work, but just can't get into UI. Any idea how to fix?
@unborn orbit try clearing cache. Or just keep trying to open it, one of those worked for me 🙂
Ugh having a frustrating night. I have a Hue motion sensor that I think has fine batteries but I'm trying to test new ones just in case, and now spontaneously the z2m frontend just refuses to load. Like I was literally just there a few seconds ago and it was working fine
Restarted z2m and HA completely
Well looks like it might've been the batteries. Now it's reporting 100% batteries as opposed to before when...it was also reporting 100% 😑
How long have you operated the motion sensor with the old battery? They‘re lasting very long, like up to 5 years
so you havent had it corrupt NVRAM yet?
Nope. And the multiple sticks that me and my friends use. Never had the problem. In fact we are writing openthread on the dongle we got at cheap in bulk
mine has only done it once
I think people still have bad experience from the earlier cc2351 dongles. But this "new" dongle is based on the TIs flagship standard of CC1352p. There isn't much around the stick as well to fail. I would have wish they provide some pinouts
