#zigbee-archived
1 messages Β· Page 137 of 1
it's friggin impossible to unbind this switch now
maybe if i remove both devices from z2m and then add the switch before the plug then it won't bind.. zigbee can still be a pain in the ass
well that was an ordeal.. but it's all working now
sometimes devices join z2m and just don't show up in the web ui.. they're in the devices.yaml
nvram clear on the coordinator seems to have done the trick.
hmm. my office door sensor is not linked to anything on the z2m map.. just floating freely
Error Failed to execute LQI for 'Smart Plug 1'
interesting.. because it shows the connection between it and the coordinator as well as 2 signal repeaters
it never seems possible to get EVERYTHING to work
Anything is possible, you just have to know how π€·ββοΈ
And I've had devices that appeared to be 'off' the mesh according to the map but still work.
it works.. but that's not enough for me.. I'd like it represented properly on the map too.
I think it may have something to do with the fact that I previously removed the smart plug (force remove) and then the office door sensor which was linked via it.. even after a repair of the smart plug and then office door sensor there's probably something from before causing issues
The map doesn't affect functionality. It doesn't matter one iota.
It's a 'cool' tool for seeing your mesh and patting yourself on the back about how many nodes you have and how dense the network is... nothing more.
it influences where I put repeaters.. I often have devices dropping off the network due to a weak signal
Right, so use it as what it is - a rough guide
makes it hard when one of the repeaters doesn't show what's connected to it
Does the device work?
to me something working is the minimum basic functionality π
Well, if it works, why are you worrying about what a map shows?
Right now I have 5 devices that don't show connected. They're all working
If I graph again in an hour it'll change
Working as expected counts as minimum basic functionality? What else do you want your devices to do? Talk to you? Make you a brew?
the map is expected to show the links between nodes
The map is expected to show the information Z2M can determine about connections. It can't always retrieve all of that information, since it's the network that builds that.
If you look in the logs when you ask Z2M to rebuild the map, you'll see that it sends a request to the network.
Be glad you don't use Z-Wave where the neighbours list is just lies and any map is even more full of lies 
can't always and never does are two different things.. so far I've not seen it change between remaps in the time I've used it
Nice. So your anecdotes mean we're wrong?
Oh well, maybe you need to stop worrying about the pretty pictures and just worry about things that work or don't work?
While that may be the case, there's a lot of different factors that go into building the map; The coordinator, the devices, and the mesh itself. You're expecting a software solution to 100% handle a hardware-based problem. A Zigbee coordinator is not a network sniffer (which is REALLY what provides the actual network data).
There's even issues open on various repos - Z2M and other - about the fact that some devices just don't provide that information
The whole reason for the map existing in both ZHA and Z2M is because most people don't want to spend the money or the time to buy a proper Zigbee network sniffer along with the software required to drive it.
Hey, who's connected to you
π¦
To be fair, most folks wouldn't know how to use those tools
well even if the map doesn't know WHAT the device is linked to it would be nice if it had a way of showing the signal strength to whatever it is connected to.. siccne it does know that at least.. even it it was a phantom node
Feel free to submit a PR to provide that feature
even if the map doesn't know WHAT the device is linked to it would be nice if it had a way of showing the signal strength to whatever it is connected to
How can it tell you the strength of a connection it's not aware of?
I know you won't, you're just here to bitch
because it does?
If it knew, it'd be on the graph.
Right, but it doesn't know how it's connected
How the fuck can it show a connection it doesn't know about?
It has no way to decide where to place it on a network graph.
which is exactlywhat I already said
So.. it shows a disconnected node.
Yeah, but that's a combination of the coordinator, the device and the software approximating what they all believe to be the LQI/RSSI.
does the coordinator always know what's connected directly to it or is that hit and miss too?
The coordinator knows what's directly connected to it
For everything else it has to ask each router what's connected
And not all routers are created equal.
oh I know.. the Xiaomi ones are crap
Plus, we're not even scratching the surface here about the differences in message packets structure between ZHA and ZLL profile devices.
I'd be happy if I could figure out how to just map the unlinked device to a floating router labelled "Undetermined" so I could display the signal strength on the map.
Case in point, I just looked at my map in Z2M... I have 8 devices (5 routers and 3 end devices) that have no LQI and no visible routes. However, they are working and working reliably and have been for months.
thus far I have no missing LQI. so perhaps my expectations haven't been dashed yet
You can use this method to kind of achieve what you want: https://www.zigbee2mqtt.io/how_tos/how_to_sniff_zigbee_traffic.html
That won't give you the LQI/RSSI (although, you can probably glean those out of the packet headers), but it will allow you to build your own map by following the commands that are sent and received.
hmm.. currently have a router firmware on mine.. might check it out.. but it has no external antenna so it probably wouldn't catch everything anyway
And once you have that map, you'll have to redo the entire exercise every hour to see the new map π
Sometimes 2-4 hours with really lazy end devices lol
can anyone recommend any router devices which are particularly well behaved? or are they all susceptible to problems
my routers are either the xiaomi power plugs which I know aren't great.. and tradfri repeaters
All of mine are well behaved. They all respond to commands and send out sensor updates at the correct intervals.
And... there are hundreds of router devices. No-one's going to give you a list, especially with such a vague request.
anything with ptvo's router firmware
@dry fossil and so you have hundreds of different routers?
I don't but that's not the point.
or you don't know what routers you have?
I could recommend the wall switches I have... which would be no good to anyone that doesn't care about wall switches... 
I care.. but wall switches are usually not compatible with Australia's weird and unique style
or anyone that doesn't have a EU box
currently all mine are wifi esp8266
Yet another reason that someone suggesting all possible routers that behave well is a pointless exercise. You don't care about non-Aus stuff...
And unfortunately for you, you're based in a location with a strict electrical code and very limited retail options. Not many people have tried the stuff you might be interested in.
So... you need to try it for yourself, unless you find the 3 other Australians that use similar gear.
there is pretty much no AU zigbee stuff
it's all IKEA, Philips, imported Xiaomi or whatever else you can find to order online
are IKEA signal repeaters considered to be reliable?
The tradfri repeaters in and of themselves are junk in a ZHA dominant mesh. ZLL meshes, they work great (Ikea went all in on the Philips Hue style of ZB3.0). Which leads to my next question. What channel is your mesh running on?
Not at all outside of their own ecosystem.
I believe it's channel 11
Ok, my first suggestion is to change the channel to 15, 20, or 25. Ikea (and Philips as well), work much better on the higher Zigbee channels. Also, check your WiFi AP channels. You want as much separation as possible.
BUT... in doing this, you'll need to re-pair most of your devices. It's a pain, I know (I've had to do it numerous times over the years), but often leads to a MUCH more stable mesh.
well I'm currently in progress of transferring HA (and zigbee) from one device to another os I have two concurrent zigbee meshes..
2.4ghz wifi is channel 11 also
That could be another reason why you have problems. Did you make sure to use two different channels for your 2 meshes?
not sure where to find thw channel in phoscon/deconz
Yeah, no clue there.
You might want to flip around your channels. Set your WiFi to somewhere between 1-6 and Zigbee to 20 or 25. Ikea and Hue devices work much better in the higher channel range.
Although, I'm basing this on US frequencies. You'll have to figure out what works best for you in AU frequencies (if they are different; Honestly, I don't know.
will need to rescan the local wifi channels to see what's up.. I was under the impression that wifi channel 11 and zigbeechannel 11 did not overlap
AU frequencies are the same but some of the higher ones are reserved for emergency services..
on wifi
If only we had a pinned message about the coexistence of WiFi and Zigbee...
this seems to show that wifi channel 11 and zigbee channel 11 are almost at opposite ends of the frequency spectrum
'almost'... but side lobes 
Plus, Ikea and Hue devices work better on channels 20 and 25.
Yeah, I'd always go higher for Zigbee and lower for WiFi.
@remote patio I'm not suggesting that you HAVE interference. I'm suggesting that you're running ZB3.0/ZLL profile devices on a channel they don't work well on.
I'll see if that's possible here tomorrow when I can afford a wifi scan from the ap
that's fine.. ANYTHING I can do to increase the likelyhood of reliability I'm willing to try
theoretically if I improve zigbee I also improve wifi.. so win win
Plus, as soon as you can, ditch those Ikea repeaters. They work great in an Ikea/Hue only setup, but anywhere else and they are pretty much trash. I had 3 of them in my mesh and once I pulled them out, I saw instant improvements.
god dammit.. wish I heard that advice earlier when I could return 3 of them..
I find it hard to believe that xiaomi smart plugs work better as repeaters though
and those are my only two routers
Yeah... you and me both. I had them in my mesh for over 6 months before figuring that out.
It comes down to radio type and buffer sizes. Because the Ikea repeaters are so tiny, they have a fraction of the buffer space that larger devices do.
does anyone make repeaters? I've not encountered any
Plus, USB is a constant interference generator.
surely AC to DC transformers in general must be
Plenty of transformers in most of our homes and they don't cause problems.
USB (3 in particular) is known to cause issues with wireless devices.
how is usb special when all it does is provide 5v dc?
See what Mono said.
How is it special? The circuitry and IC's, perhaps? 
It's not about the power supply, it's about all the other shit it does.
how does usb3 factor into this?
Here , try this:
http://letmegooglethat.com/?q=usb3+interference
none of my power points are usb3 and none of the ikea power supplies that come with the repeaters are usb3
You mean none of the things your sticks are connected to are USB3? What about the other ports on the same hardware?
Most computers made in the last 5+ years will have at least 1 USB3 port.
I don't have anything connected to a computer except the coordinator
And that computer has zero USB3 ports?
I assume it only has usb3 ports as it's the home assistant blue
USB3 + Zigbee == pain
Then you have USB3 interference π€·ββοΈ
ha blue fail
No, USB3 fail.
I do
You want the new computer you bought to have shitty old specs? Nah.
Hi, it's 2021 and I'd like a Pentium and at least two serial ports please.
Wait... when did tokenring go out of style?
Bottom line: USB[2|3] is bad for wireless signals. 3 more so than 2. But, all USB ports generate interference. The farther you can keep your coordinator and routing devices away from it, the better off your mesh will be.
is it just the frequency at which they operate?
Yeah, 3 in particular.
USB3 uses spread-spectrum over the 2.4ghz/2.5ghz frequencies.
well I will be keeping the usb devices almost 50 meters from the usb3 port via a usb2 network extender (once I set up the new HA blue)
USB2, because it's much slower and doesn't have to support all the cruft in the USB3 spec only slightly tiptoes into the bottom end of the 2.4ghz spectrum.
right now it's just a foot away from the usb3 port
Yeah... that's not... optimal. lol
but it hasn't caused any actual interference in terms of devices working
That's a good thing then. What we are talking here about are basically Zigbee best practices (based upon the years that all of us here have been running Zigbee). My goal, in particular, is for you to have the best possible mesh you can.
Well, you're not aware of interference
maybe if I get one of these I can filter out the interference, https://getvoltbox.com/article4 π
π€¦ββοΈ lol
Whenever I see something on the market with text like this Initially it was concealed from the general public because it offered average families the opportunity to save on their monthly energy costs. I instantly raise an eyebrow.
stops unnecessary power from entering the electrical cables and overloading the network.
So... snake oil? Right.
I just like to enjoy the story they attempt to thread.. which is always totally nonsensical
Nonsensical and has no place here. Zigbee, please.
Offtopic shit has its own channel.
Hi, Not sure if this is the correct channel. But I have a few Philips Hue lamps that are integrated in HA with deconz. So my question is, do someone have the color scheme presets same as in he Hue APP? Like Relax, Reading etc. I like how the app have set these predefined moods. And when I try to make it myself, is not easy get it same as in the HUE APP.
Is this what you're looking for? https://i.imgur.com/CqqCSao.jpg (screenshot of Hue XY Values from Philips Hue Developer Program page)
I replaced my 2 way switch with a broadlink switch and I am having problems with it. I know that broadlink provides only a 1 way switch that uses a line wire but I need solve it. Does anyone know how can I solve it? Thank you
ahahaha so according to Voltbox energy enters my house and floods the network, and and hahaha this is why I play more :)))))))) crazy stuff but Voltbox stop's it π if i can connect this energy firewall to my home assistant via zigbee i get two :)))))
Amanda Hill
I also saved a ton buyng Voltbox. Can't wait my order to arrive!
So this woman already saved a ton but she doesn't have it yet π
Funny... but still off-topic.
i said if it works with zigbee i take two π
"I'm looking to buy a new car and I might occasionally transport a Zigbee device home in it. Can you help me choose a car?"
βοΈ still off-topic
Those are my favorite. The only ones on market that support direct binding to lights
hello, i am trying to add a sonoff zigbee bridge...i've flashed it with tasmoto and updated the firmware. I can see the tcp port is open on 8888 as i can telnet to the port. WHen i try to add it to HA it keeps failing. In the logs i can see this; result = sock.connect_ex((str(address), port))
TypeError: an integer is required (got type str)
has anyone see something similar to this or do you know what i am doing wrong?
What's the exact serial port path that you're entering when setting up ZHA?
socket://10.10.10.238:8888
That seems right. Can you post the complete Python traceback?
Traceback (most recent call last):
File "/usr/src/supervisor/supervisor/misc/scheduler.py", line 62, in _wrap_task
await task.coro_callback()
File "/usr/src/supervisor/supervisor/misc/tasks.py", line 416, in _watchdog_addon_application
if addon.in_progress or await addon.watchdog_application():
File "/usr/src/supervisor/supervisor/addons/addon.py", line 479, in watchdog_application
return await self.sys_run_in_executor(check_port, self.ip_address, port)
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/supervisor/supervisor/utils/init.py", line 43, in check_port
result = sock.connect_ex((str(address), port))
TypeError: an integer is required (got type str)
This doesn't look like ZHA. Where are you entering the port info?
Is this with the latest HA?
it is on core-2021.5.4
it looks like core-2021.5.5 is there to update
let me update it and see if it's the same
Let me try this out. I don't believe anything changed that would break it but the error is generated when you hit the "submit" button here, right? https://1.bp.blogspot.com/-qKcc_ZeC3O8/XxyGkRVfUXI/AAAAAAAEcCA/Jc7x0TQy2IwIcvQ0eR5bjrxWyE-KTXccQCLcBGAsYHQ/s320/zha4.png
i get a "Failed to connect" in red on that
I don't think that error you posted above is being generated by ZHA. Can you enable https://www.home-assistant.io/integrations/zha/#debug-logging and upload the section of the home-assistant.log file somewhere (e.g. https://paste.ubuntu.com/)
ok thanks, let me try that
Not exactly, In the HUE APP, they example have scene or like a color scheme. Called Read, Energize, Bright, or Savanna Sunset , etc that are optimized/looks similar to the name of the "scene"
Make sure to restart HA after making the change
These are what I've seen floating around for use in the light_profiles.csv. Not specifically for Hue though.
relax,0.5119,0.4147,144
concentrate,0.5119,0.4147,219
energize,0.368,0.3686,203
reading,0.4448,0.4066,240```
@austere patio this is what i get in the lofs
2021-05-21 16:59:58 DEBUG (MainThread) [bellows.ezsp] Resetting EZSP
2021-05-21 17:00:01 DEBUG (MainThread) [bellows.ezsp] Unsuccessful radio probe of 'socket://10.10.10.238:8888' port
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/bellows/ezsp/init.py", line 55, in probe
await asyncio.wait_for(ezsp._probe(), timeout=PROBE_TIMEOUT)
File "/usr/local/lib/python3.8/asyncio/tasks.py", line 501, in wait_for
raise exceptions.TimeoutError()
asyncio.exceptions.TimeoutError
Yeah, seems like either the Zigbee radio or the serial passthrough isn't working. In either case ZHA can connect to the radio but it can't talk to it.
Yes, seems more what im looking for, where did you find this? Is it more in the profile.csv? This is useful if you will match color from another light source to philips hue source
I found it here I think, https://github.com/home-assistant/core/blob/master/homeassistant/components/light/light_profiles.csv
Yup. and check out this post here: https://community.home-assistant.io/t/light-profiles-csv-help/97921
This may have the values that you're looking for. Different usage and format but the info is there. https://www.reddit.com/r/Hue/comments/i97xw9/scenes_and_values/
@brazen robin Thanks I will check it out π
@stable remnant And if you want to use the light_profiles.csv for a group.all_lights.default, consider using this Blueprint with it. It will let you set the color_temp which the .csv doesn't. https://community.home-assistant.io/t/default-turn-on-brightness-color-temperature-for-lights/264607
I just started messing with it last night. I am running two "copies" of it. The second version uses RGB instead of color_temp. So, I can have default turn_on values for day and for night uses.
@stable remnant You could also set the bulb to the scene you're curious about, then look at your entity's attributes to get the xy.
max_mireds: 370
supported_color_modes: color_temp, hs
color_mode: hs
brightness: 255
hs_color: 0, 0
rgb_color: 255, 255, 255
xy_color: 0.323, 0.329
color_temp: 154
friendly_name: Bedroom 2
supported_features: 19```
Do you have a blueprint for the one that use rgb?
I just copied and pasted the color_temp blueprint and modified it you rgb. I can DM you the code. It is functional but I don't know how to properly install it. I just copied the original to a new folder and HA saw it.
Recommended zigbee RGBW controller? Wanting to setup some video conferencing lights with some 5050 remnants I have laying around.
Hi guys, I have the following issue: I finally managed to setup Zigbee2mqtt on Home Assistant with use of the mosquitto broker π
IΒ΄m using the Texas Instruments CC2531 adapter on a Home Assistant Blue which actually works quit well most of the time. However, without any obvious actions taken from my side, the adapter suddenly stops working after a certain time. In this state, neither restarting the Zigbee2mqtt Add-on nor a complete Server reboot does help. Only plugging the adapter out and in the USB port again brings it back working. Anybody faced the same issue?
afaik the cc2531 is the worst
you could try usb2 ports if you run it in a usb3 port until now
I had it connected to an usb 2.0 hub before - Same issue here
then you might hit the complaints about this stick...
Fudge. Enbrighten smart switch, the listing didn't specify if it needed neutral, and I assumed when it said it works with single pole setup that it didn't. But it requires neutral. I guess I'm just out of luck? It has a neutral jumper wire included, not sure what that's for
There might actually be a neutral in this box. A bunch of white wires tied together
Don't go by colour alone. If you don't know what they or are how to identify them, get an electrician to check your wiring.
You don't want your house to burn down...
Does anyone run AQARA devices on a channel other than default: 11? Do they behave well on other channels?
CC2531 is its own USB controller so when it locks up, you gotta unplug it
Firmware for it isn't developed anymore so you're just out of luck
They were neutrals. I hate working with these old style boxes, big switches are hard to fit. But it works.
No problems on 25 or 15
@austere patio thank you!!
i do, also on 25 is super fine
What is the best procedure to change a failing Zigbee device in HA?
Does anyone have experience putting a motion sensor in a non-sheltered spot outdoors? Specifically this one: https://www.aliexpress.com/item/4001230659983.html?spm=a2g0s.9042311.0.0.61194c4dDfwaT6
@solid inlet what device?
@autumn warren it's not IP rated, so your milage will vary, I have one outdoors for Halloween only, works fine one day of the year
I run my ZigBee network on channel 20, no issues there either
@jolly narwhal Yeah I couldn't find any IP rated ones on Ali for some reason
You can DIY some WiFi based, I haven't seen ZigBee ones, might be some, but usually you can put it under something
At this point a hypothetical question, could be a button or bulb for instance. Better be ready as it will happen sooner or later
Well, if it dies, force remove from your ZigBee implementation, if not dead, just remove and pair a new one
I have 100+ devices that have been online for up to two years, only one has died so far
Yeah, hope it won't happen anytime soon... π But that takes care of the device itself, what about the scripts & automations? It will get a new name I suppose?
Or is there a way of using aliases?
Depends, for Zigbee2mqtt if I remove a device and add a new one, I just call it the same and tell it to update home assistant
Everything keeps going
Don't know about other zigbee implementations
Hm. I should've gone with Z2M, most seem to like that one. I use ZHA atm...
ConbeeII
Ah, then zigbee2mqtt is a bad choice anyway
Or rather, the conbee is a horrible choice for zigbee2mqtt
I didn't research well enough and I heard deCONZ was the way to go...
Yeah, so I heard. What is it that makes it a bad choice?
Chipset is experimental support at best, and subpar compared to the TI chipsets
Oh. Yeah, I know what that can mean... :S
The zzh or tube are the best choices if you want to migrate to zigbee2mqtt in the future
There are three Zigbee options with Home Assistant (regardless of how you install it). These are:
deCONZ is relatively stable and mature with its own UI (and Discord server). It can run in an add-on, in a Docker container, or natively. Only the ConBee range of sticks and RaspBee GPIO boards are supported. Known working devices are documented, and how to request support for a new device is documented too (you can't add unsupported devices yourself).
zha is actively developed as part of Home Assistant Core, using the zigpy stack, the UI also being part of Home Assistant. The EmberZNet based sticks are recommended, but there are other options. There is no list of supported devices, as any standards compliant device should work. Devices that require extra support are listed, and adding unsupported devices is documented (you can't add unsupported devices yourself).
Zigbee2MQTT is very actively developed and can run in an add-on, in a Docker container, and natively. As of 1.15 has a native UI, and it also uses MQTT for control and configuration. It supports mostly TI based sticks, with the recommended option being the [CC2652 based sticks](#zigbee-archived message). The known working devices are well documented (which usually includes how to pair them so you don't have to find the manual), and adding unsupported devices is also documented.
Thanks! I think the first step forward will be to get a Z-Wave stick tho, haven't gotten to that yet, but will keep the advice (and read some more about Z2M)
I have the aeotec gen5 zwave stick
Great with zwave2mqttjs, but I dropped zwave after a month of HA, but I keep it around for testing
I have mostly Zigbee stuff, but a few outlets that use Z-Wave. Really don't miss it much, but was useful for measuring stuff... Haven't found any good Zigbee ones yet
I use WiFi based tasmota devices for power metering
Both IP and non IP rated ones
Cheap, easy to flash, just works
Ok. I tend to avoid Wifi... For some reason I have never liked it much. But as you say, it's a well known standard by now and has become quite cheap to
Alright, but at least I know I have to continue the neverending journey to find a propper Zigbee adapter for the Home Assistant Blue... Thanks much for the input @austere patio
Zzh then @wraith hill
https://www.tindie.com/products/electrolama/zzh-cc2652r-multiprotocol-rf-stick/ - Bought this one now - I guess thatΒ΄s what u were referring to right?
Probably needs 2 month for shipping to Germany thou π¬
took a little over 14 days to austria
Took 12 days to Norway
What date did u order guys?
Alright, so up to 14 days after Brexit and within Corona times
And it still needs to be flashed right?
Yes
It is documented
As long as you don't screw it up the first time you don't need extra hardware
Is it documented the way that Noobs like me can easily follow through or do I need to call an engineer?
A 4/10 ?
In difficulty
Where 10 = Rocket Science?
1 is intuitive gui, 10 is writing your own operating system
No, 8 would be rocket surgery. No-one can handle a 10.

I should probably start with -2 π
What are you using to flash them? Can it be done wirelessly?
I bought one last weekend but havenβt figured out what needs to be done to it
Some can be done with tuya convert
But I just pop them open and attach a serial port
Saw some funky stuff about soldering and that turned me off
Which serial port?
I just hold the wires in place with tape
The pins are usually exposed somewhere
Like this
But this is #diy-archived talk π
wonder what I did now
Zigbee2MQTT:error 2021-05-22 15:09:41: Configuration is not consistent with adapter state/backup!
Zigbee2MQTT:error 2021-05-22 15:09:41: - PAN ID: configured=6754, adapter=6755
Zigbee2MQTT:error 2021-05-22 15:09:41: - Extended PAN ID: configured=00124bxxx60b3c, adapter=dddddddddddddddd
Hmm rolling back to stable solved it
BΓGZ
What adapter are you using?
that was the zzh
first real issue I've had on the latest-dev branch for over a year
Error says your Z2M config is wrong
it does, but rolling back to stable solved it
so I expect it to be a mapping bug somewhere
Old Z2M network formation code was bad
Nope, that's the default in Z2M

This is from the Z2M network formation refactor
So where does the other value come from? configured=00124bxxx60b3c
I'll stay on stable till someone fixes it π
Probably the Z2M config
Which value is in your config, atx?
I have no PAN ID in my config, it reads it from the backup file afaik
Yeah seems like a bug with migrating old backup format to new
I need to start going through my home assistant error log soon
the list is increasing slowly
TIME, why don't we have 28 hour days
π
2021-05-22 15:37:58 WARNING (MainThread) [homeassistant.helpers.template] Template variable warning: 'dict object' has no attribute 'click' when rende ring '{{ value_json.click }}'
You aren't helping much there homeassistant.helpers!
ah, got my monthly updates done across all my systems
Had an aqara temp sensor for two years outside under the cutoff top of a plastic bottle. The only problem was typical xiaomi dropping off the network. Finally replaced with Konke and haven't touched it since then. It probably would work ok with minimal sheltering, but just get a Philips outdoor motion sensor, those have far greater range and sensitivity. Expensive, but totally worth it.
Interesting, my xiaomi have never dropped off
except the one that the battery died on
my hue outdoor sensors regularly trigger motion when sunshine is too direct
you better place them in shades
You have outdoors ? I thought there was only indoors in mstone country
what is this question
Atx loves the d
Anyone know of a zigbee plant probe? (Soil moisture etc). Couldnβt find anything on goggle
I spent a while looking into that and honestly I don't think there is anything reliable, but maybe I missed something.
Bummer, just want to avoid sending our plants to their death bed
I'm so sick of this "failed to set DTR/RTS" error that has plagued my conbee ii for years. I've used PI, two laptops, and two different desktops, updated the conbee firmware, used windows, used Linux, used multiple extension cords and USB hubs. I'm basically ready to get rid of this thing. I'm thinking about the HUSBZB-1. Anybody have experience/thoughts on what that switch might be like?
Your avatar tells me you should get the zzh
Also the conbee is shite, all my sources confirm this
π€£
I haven't read much about the zzh
Hello all, I'm questioning about ZHA. For the moment, everything about zigbee is with deconz. ZHA can be run in parallel or do I need to stop deconz and deconz integrations ? Not clear to me how ZHA is working...
ZHA replaces Deconz you can't have both
Ok , understood. Thank you for the quick answer π
My main concern is with 2 devices TRV which I can see in deconz but not all feature available. I try with a tuya gateway, It's even not appear from HA but manageable on the tuyasmart.
There is a webpage somewhere that includes deconz device compatibility that I have found helpful
Also, sometimes when my devices didnt seem to have all their features available I found that when adding them to deconz, if I had the vnc viewer open and selected the device and refreshed the data under each heading as it was adding it would pick up those features. It seems like some devices don't report everything spontaneously. But this is just from my personal troubleshooting. I have conbee and deconz also
I also try zigbee2mqtt but not possible for me to work with conbee2 ... even after some hours of research. So I keep deconz which is fine at 90%
In deconz add-on , I play with deconz and you can "force" discovery of features
Do you ever get the "failed to set DTR/RTS" bug?
not aware of this , I need to check debug logs ?
I run mine in a VM and it shows up on the VM terminal
Its causing my zigbee network to go offline, I think it's the conbee ii boot looping
I was just asking because I'm trying to figure this problem out for myself lol
No issues at all with my setup (all in one - Raspi4)
But with deconz integration, I see in HA , 3 unknow devices that I can't remove.
seems a "DB" issue
I wonder if my stick is just faulty
I've literally had this problem across the raspberry pi, multiple computers, probably 10 different reinstalls, Linux and Windows so I don't know what else it could be
I don't think so, It may be other issues
I'm hesitant to move to another stick tho because when it's working its perfect
I was coming from a CCxxxx chip with texas chip using a flash from zigbee2mqtt , this was not usable... pairing was a nightmare
hey there,
I bought a new zigbee remote, ikea styrbar.
I checked in nodered, and only receive the same commands from it as the simple on/off switch
on, off, move, move_with_off, stop. So the arrow buttons short press does nothing, and the long press creates an on event. Am I missing something or thats it?
(I am using zha, and zhh! stick)
this conbee 2 with some ikea repeaters is doing the job
from debug view of deconz , I lean more then from nodered
learn *lean
Sounds like cc25xx
Which is horrible
correct CC2531 that's the one .... indeed
there is someone achieving to have conbee 2 with zigbee2mqtt ?
It is... Experimental at best
people a short question : i can easily place the ZZH stick into a 5V phone charger and place it somewhere in my house?
No
No, if you are using as co-ordinator. Yes if you want as router
as a router , sorry
Then yes
cool
But that will be an expensive router. Why not buy a plug or so
yes , to be honest , i don't need a zigbee router, the signal is powerful enough , but the people behind ZZH wrote me in a mail that their dongle could perform as a router
and it made me wonder ...
i'm still waiting for the 1st zzh stick π
I have a cc2531 with antenna as a router to reach my greenhouse
Other than that my 60 bulbs cover everything
yes hehe i also have those bulbs, mine are from philips
If that's 1st zzh stick and you don't have any other co-ordinator, then you need co-ordinator first for zigbee network to be made
@near echo yes
i wanted to install debian linux on my old laptop , place HA on it , and connect the ZZH stick
Just got my ZZH stick this morning. Fantastic delivery
Yours shouldnt be too long π
where are you from @serene fractal ? π
If you want to cut down on power usage, rpi works too - mine consume just 5.6W with 23 containers
wow , the pi4 ?
Yes. Even rpi3b+
Cutting down on power 
and its compact.
@serene fractal from the netherlands here , i have to wait longer sadly π
π yea
is there a preference for zha, deconz or zigbee2mqtt when someone wants to combine it with node-red ?
I hope it's more clear now π
any particular reason why you'd prefer zigbee2mqtt ?
With mqtt you could connect/control from anywhere unlike ZHA which is integral to HA
Zigbee2mqtt won't restart every time I restart ha π€£
I'll start fiddling with the mqtt version this weekend and see what it gives π
But ZHA uses zigpy which supports more stack, hence more varied adapter unlike Z2M, which as of supports mostly zstack. Ther eis experimental other adapters but largely Ti
Since I'm my install migrating to a different host I will also upgrade to ZZH, using zigpy-znp to do this. I guess just do a backup then shut off HA and the zigbee coordinator? Then start it up on the new host and import?
Not sure what you are trying to achieve, you are compiling a seperate image for zigpy-znp outside of HA?
Im moving my installation to a new host. So at the same time Il take the chance to upgrade to zzh. But now I realize Its probably better to do one thing at a time π
So Il do the migrate then il do zigbee after π
@graceful notch - The biggest issue with Zigbee2mqtt in my opinion is, that there are only few Zigbee adapters that really seem to work. And those that do are quite expensive and, more over, quite hard to get (at least currently). IΒ΄m trying now waiting for my 3rd adapter already hoping to get it up an running anytime in near future.
I have a conbee II, that one should be supported π
Good luck with this - That was my first attempt π¬
:oof:
I already have an issue whilest trying to get it working on the deconz image
Network settings are stored on the stick so just make sure to migrate /config/zigbee.db and use the correct path in .storage/core.config_entries
On here it says that support is "experimental" - and from my experience it really is!
https://www.zigbee2mqtt.io/information/supported_adapters.html
ah it's going now in deconz
somehow a fw upgrade changed it to ttyACM1 instead of ttyACM0
Ok great Il just use snapshot restore and move the stick, updating the path to device then il do the zzh migrate with zigpy-znp π
Ah, I missed that you're migrating to a new stick. Yeah, just do a backup of the old stick and restore to the new one.
I think you can actually re-add the ZHA integration and have it point to the new stick to avoid messing with .storage but I've not tried that yet
@graceful notch that is why you don't use dynamic device names
Thanks i will just do system migration first then the zzh after to avoid 2 headaches at once
@jolly narwhal yeah I should handle that asap
/dev/serial/by-id/
thanks! fixed it right now
first attempt in deconz for connecting a switch is a fail, i might better immediately try zigbee2mqtt
Switching integrations usually doesn't help with adding a device if it's not even joining your network
pairs fine with the hue bridge, does nothing with the deconz setup
I can see the stick going in commission mode though
Can someone please help me with cc2531 and the aqara cube. I have added tot HA succesfully but how can i add actions etc.?
The problem won't be deCONZ. It's not pairing with your stick.
And the Conbee stick only has experimental support with Z2M, so you're probably going to have more trouble there.
Is there any blueprints for that i think there is well for decons but not for cc2531
Yes i see the entity sensor. Xxxxxxx_action
And the value of that sensor changes when you do things with the cube?
Then what are you actually asking how to do?
What is really next to make as an example: when double tab i want that light go off
So you want to know how to write #automations-archived?
You don't have any questions about Zigbee. Ask about automations in #automations-archived
stick is working fine, if i activate zigbee home automation in hass, so it must be something in the deconz configuration
but that'll be for another day
hi, i have upgraded to hassio and now i got 2 deconz gatewayss with the same id in integrations. i can deaktivate one, but then ALL my devices are shown as deactivated. One of the entries is ok, the other show an configuration error. i do not want to delete, i fear that i loose my devices then... any ideas?
Plaid plant sensors are zigbee
There also the diy one from the Russians

ok, something must be wrong in my way of thinking, I finally managed to get the switch to work in deconz (it apparently doesn't show up in the webgui, but it does in the vnc view).
i can see in the deconz log, that there are no buttons mapped (obviously, since i cannot see the device in the webgui) and when i check for deconz_event in homeassistant, nothing shows up either (only the battery level sensor, but no events)
Anyone else experiencing issues with ikea tradfri 2 button remotes paired to a sonoff zbbridge using ZHA? They drop off the network after 2-3 days which what seems like an empty battery. Have to put a new battery in before it does anything again (and needs to be re-paired)
I have the IKEA on and off button, plus two five button ones
No issues with zigbee2mqtt
1 sensor for $60?! Man, you really must be in love with Zigbee if you go down that road for plant surveillance π @thick plover Imho get a decent bluetooth adapter (if not already using a Pi) and some Xiaomi MiFlora Monitor sensors (about $18 each). They even measure soil nutrients which is way more likely to kill your plants than moisture
Yea I also have z2m, used that in the past. but this issue is is the only thing holding me back from fully migrating to zha
Downgrading you say 
I use the Ikea On/Off button with ZHA and have no issues with it
I would've loved to stick with z2m, I like it a lot. Sadly had some issues with aqara motion sensors dropping off the network or not reporting events. That seems to be fixed with ZHA, since I prefer actually working sensors over whatever platform I'm using I decided to go with ZHA
Hmm, strange. Probably an issue with my specific setup
Have you got a strong mesh? If it falls off it may be due to weak signal. Maybe a repeater will improve things?
I have never had an aqara motion sensor (or other sensor) drop off my Zigbee2mqtt mesh

Not a flat battery?
I've had one 
For a month now mine have been rock solid
I even have done the 1s hack on one aqara motion sensor
The battery has been going 9 months so far
Whatβs the 1s hack?
For $60 of course not, but I've got a pair of Philips outdoor for $60 on sale, taxes included
@thick plover Soldering to make it update every second
hello
my Conbee II has a very VERY unreliable connection to zigbee devices π¦
even with using the Extension cable
make sure it is not connected to a USB3 port
also, check if the wifi channel and zigbee channel do not overlap
if all else fails, you probably need a repeater in the middle
@golden vessel ... I dont think Raspberry Pi 3b has USB3.
How do I check if the Zigbee channels overlap?
the RSSI is -66
ESP8266 Zigbee alternative???
Zigbee is a little more complicated than what typical ESP8266 projects end up looking like but I've heard the Nordic SDK is pretty straightforward to work with
I understand the complexity... In any case, it looks promising! Thanks!
Though most deployed devices use the EmberZNet stack from Silicon Labs
I don't believe you have access to the source code for that one
Nor can you even compile your own code for the CC2530/31 since it requires the "Request a quote"-style pricing IAR Embedded Workbench IDE
If you're looking to just expose GPIO pins or a simple sensor or something I think that project can work fine though, the CC2530 modules are cheap and have a similar form factor to ESP8266s
For now, that's exactly the idea... No big customizations or heavy coding... Just IO pins for switches/sensors. The price is a huge advantage
Neat, the GUI firmware configuration/builder tool supports battery-operated devices. I wonder how it manages to do all of this and remain spec-compliant (if it is π)
Jk, that's only in the premium version, which costs $6.95 per device if you're making only one
TI's CCS is also great. Nordic sometimes is very pesky with their only flagship product. For e.g, the $10 NRf52840 dongle does not have a debugger and everytime a simple question is asked, we are asked to buy the DK version π
Is there a way to see what ZHA is doing when it tries to discover devices?
I have a few light bulbs that I would like to add but nothing happens when I try to add them
well, not absolutely nothing: when I show the logs I do get [0x0000:zdo] ZDO request ZDOCmd.Mgmt_Permit_Joining_req: [60, <Bool.false: 0>]
but that's it
Sounds like the devices themselves aren't doing anything. Your coordinator doesn't reach out to the devices, the devices attempt to join the coordinator.
is there a way to make them do something? I reset them a couple of times but they never show up
All you can do is follow their pairing instructions. Some brands make them deliberately obtuse.
I had to press a sequence of about 15 buttons to get my TRV to start pairing π€£
I mean, these are just basic RGB light bulbs, the usual 5xon/off doesn't seem to do it
"The usual" varies from brand to brand
Maybe it's 5, maybe it's 7, maybe it's something else
Yeah, there's no 'usual' π
Maybe they expect a 3 second pause in between each toggle. Maybe 5. π€·ββοΈ
What's that instructional/parody video for the pairing stuff?
https://zigbee.blakadder.com/Owyean_OW-ZSL1.html it's these bulbs, too.. about the only ones that are even mentioned to be supported
no it's 5. both the instructions say so but it's also just obvious from the fact that they dim when you do that a few times
If you're getting a response of some kind from them, you're probably doing it right. I don't use ZHA, so I can't comment on what you'd expect to see next.
Interesing that it used to be supported by Zigbee2MQTT but isn't any more
That's a pretty bad sign
that's the thing. I don't know whether I'm getting any response
That GE video π€£
there's no sort of debug information in the zbbridge itself and the log in HA just shows ^^
Just reflashed the sonoff bridge according to the "official" documentation, and no change.
How far away can the coordinator be to discover devices?
How far away is it? And what is between it and the device?
It is a horrible choice for a coordinator btw
maybe 2m max, and there's nothing in between
Should be no issue then afaik
okay, I guess then the bulbs are just broken
As long as you aren't as smart as me who tried to pair a WiFi bulb to a ZigBee coordinator once

I have wifi bulbs but no, I'm not trying to pair them to a zigbee coordinator
But, out of all zigbee options I would say the sonoff bridge is.... One of the worst ones
well it's about the only one I can get here so it'll have to do
just recently read that you can make broadcom wifi send everything 2.4 what you want, wonder if it can really do zigbee π
Where is here @mighty river ?
the Netherlands
@frail shell just ordered a zzh to the Netherlands
yes it takes time lol
hmm but that's a USB dongle
wouldn't be much good for me since I'd have to install it inside what's pretty much a Faraday cage
run an extension cable out of the cage
Usb extension cord
i won

yeah no that really doesn't work well with the construction of my house
there's a lot of concrete between the rack and the place my lamps are
that's why the sonoff thing works, it's right in the room I need it to be in
well, I say works...
One of the benefits of Z2M is that you can set up your coordinator anywhere you like.
zha and home assistant remote instance is also possible, works, but comes with other troubles
π€’
I can't get a signal from my switches to the zigbee Conbee II
Its incredibly unreliable
I even got a USB extension cable... and it still keeps having trouble connecting
@jolly narwhal reading above : you were absolutely right
Hello
What IDE would one use to adjust firmware for CC2652P2? IAR? CCS?
We're interested in adjusting Koenkk's CC1352P2_CC2652P_launchpad_coordinator_* firmware.
NVM, I think I've found that CCS will work and it's free.
What are you planning on changing?
my sonoff zigbee bridge has a new IP address - how do I tell the ZHA integration?
If you know the old address, just set up DHCP reservation on your router like a sane person.
Assign it the old IP address - fixes the current problem and prevents it happening in the future too.
π€’
Or don't use IP addresses
See if it has a .local address or something
I think you can do it by removing and re-adding the ZHA integration but I do it the bad way by editing .storage/core.config_entries.
mDNS is way worse than reserving IP's.
mDNS, atleast use proper DNS, doesn't even require a fixed Ip if the DHCP server populates the DNS
do you guys know any wall mounted outdoor zigbee switches?
hi everyone, I have a blue cc2531 usb stick
and 2 xiaomi aquara temp/humidity sensors
Sensors send updates, they're not polled
So, if your sensors are sending an update once an hour, that's all they feel they need to send
Nothing is wrong there
but when I'm taking sensor in my hand and move it closer to the rpi it immediately send update
it looks like a distance is a problem but it is no more than 3 meters :/
If distance was a problem there would be no updates
Taking it your hand causes it to update - maybe your hand makes it warm up enough, maybe when you move it you move it somewhere warmer/cooler/dryer/more humid
The sensor only sends data when there is a significant change in value.
that's makes sense
ok, thanks
Your choice of the world's worst Zigbee stick isn't even a factor here π
:D:D the cheapest one
π€’
I'm still having trouble with my Conbee II
I tried using an extension cable
it did not help... at all
Most people seem to be
The extension cable, if USB 2.0, will have helped, whether it helped enough though...
So... I should have bought a different stick???
should I switch to deCONZ?
It's a terrible choice if you use Zigbee2MQTT
because im running ZHA
The signal seems OK in Visualization
its showing an RSSI of -45
and LQI of 255
but still the switches seem to have trouble communicating with it
when I click on the switches, oftentimes nothing happens
LQI of 255 sometimes means I have no idea
and it shows a red LED flash rather than green...implying that the command did not reach it
Do you have any routers at all?
Well, yes, for inside that room
But you need routers (most mains powered Zigbee devices) to build that mesh
It's like saying that for a car you need an engine, steering wheel, and four road wheels. With just those you're not going to be doing a lot of driving...
In the same room as your coordinator?
Not far from eachother at all
one is within arm span
The other is within 10 or so feet, but in another room
Which one is having problems?
Hi folks, hope everyone is doing fine. Does anyone know if it is possible to migrate from a Nortek USB stick to an coordinator with CC2652P chip. I bought from tube zb coordinator and router. The router made the network already so much better so I would like to you the coordinator too. Thanks for any advice. Best regards and have a great sunday.
Migrate, no. Re-pair everything, yes
Do you think I should try switching to Deconz?
@sour shadow thanks, so I know what I have to do on my next day off.π©
It's possible, just not super user-friendly
Though running two commands isn't that bad
Oooh, you can migrate from non TI sticks now?
Have been able to for a while, it's just not advertised π
@austere patio Is there a guide for that?
so im trying to run deconz instead of ZHA
and I hav ea dumb question...what do I put down for host? Do I just put the IP address of the raspberry pi HA is installed on?
Nope
I have a few scripts for it sitting around
PM me if/when you want to give it a try
Thanks, I will do
can anyone help me figure out how to install deconz with Conbee II?
regarding the topic of the channel- is there a "preferred" method with zigbee like there is with zwave-js?
ZHA or Zigbee2MQTT are the main two options IMO
Depends whether you want it embedded in HA, or not
Some of us really like not having all our eggs in one basket. Some people prefer to do that...
these days i'm an eggs all in one basket guy
Then ZHA is the obvious choice
at least regarding homelab/smart home
kk
so knowing i want zha- does that single out a choice from here: #hardware-archived message
https://github.com/Koenkk/zigbee-herdsman/issues/319#issuecomment-789757269 gives you a breakdown of some EZSP sticks
You won't go wrong with a CC2652p based stick though, and if you're in the USA then Tube is "local" to you
ah so it's just an esp32 with a board?
No
i suppose better to buy one then try to diy?
If you're really skilled, DIY is fine
i am not
damn i was not prepared to need to do this kind of due diligence
i guess i will go read the linked stuff above lol
Buy cheap, buy twice, or three or four times
yeah..
and to confirm my suspicions- my hue bridge isnt worth trying to get stuff to link to right? just do it right with a proper zha device
You can DIY it if you want, just gotta wait for like two months for shipping for one of the pre-made CC2652P modules
i'm still pretty noob with electronics.. i just use esphome and wled for most esp projects
i've looked into getting my own hot flow station or w/e and seen the steps.. i am very much not interested in that
DIY is probably not a great idea then π
ok.. so if i can make my own devices with esphome and have good wifi signal and can get wires to it.. any reason to go zwave/zigbee over esphome diy?
Well, that's a personal call IMO
kk
There's never a best, it's always about tradeoffs
Even if those are "only" time or money
Welcome to the real world π
I think you're the first person that's ever said that.
It's the Conbee paradox: ZHA > deCONZ > ZHA > Z2M > deCONZ
???
The Conbee Paradox being, that whatever you tried first is always less good than whatever you try next?
So what are some good routers to improve the mesh? After some reading, it appears that while there are dedicated routers... many devices that power off of mains (as opposed to battery powered) double as mesh routers?
I could use some smart plugs... which ones improve the mesh?
Just about every device that doesn't run off of batteries will extend the mesh
Ok
I dont have any other devices other than the switches at this time
My house is only 1,100 sq ft
and just wood construction, no concrete
i have one contact sensor , which keeps dropping off the network no LQI , but strange thing is , it keeps functioning ? anything i can do about it ?
Then it's not dropping off the network, it's just not reporting back when your coordinator tries to build a map.
It's normal for battery-powered devices to only talk when they want to talk, so it's not a surprise that they sometimes fail to respond to map queries.
If they still work, there's no problem to solve.
no idea how legit this store is but the E-Ink THL sensors are too good to be true cheap there https://www.aliexpress.com/item/1005002681074204.html
What's the popular opionion about the Sonoff ZBMini? β¬37 for 5 of them seems like a good deal but not if they are crap
they're fine
only bad thing I found around here was they don't seem to let you use the switch independently of the relay?
thats typical for a lot of zigbee relays
Are IKEA Devices good?
It appears they have a lot of Zigbee products... will they work with HA?
a zigbee device should work proper zigbee network. IKEA devices are supported by ZHA (integral to HA) and Zigbee2MQTT
your IKEA stuff you mean, @sturdy spindle ?
For whatever reason, I wasn't able to get a stable connection to my Zigbee light switches via ZHA
and only got one with DeconZ
yep... i use the raspbee module https://phoscon.de/en/raspbee and the deconz addon
I use the Conbee II
yes they are supported. However, I have heard plenty of issues with Conbee sticks.
14 lights
ikea color temp, no rgb
8 of their hockey puck design switch's
and 1 on/off to control a home build roller blind
the hockey puck swith's i took apart and moved the zigbee module to a pcb that allows me to have them mounted with LK Fuga wall switches
those are VERY much standard in danish homes
Ikea is a Danish brand, right?
LK is danish thou
I have been a lot more happy with my IKEA bulbs than my Philips ones
I have 60 or so bulbs though, with 3 of them being hue
I am happy with the Aqara bulbs as well - I think they are the cheapest and nothing to complain in quality
Aqara sensors 4 lyfe
Not sure if I stated earlier, I have switched to TI's LPSTK 1352R as co-ordinators - the cheaper version of the famed CC1352P2 launchpads - the Co-ord firmwarme for CC1352P works just fine
they are just glued to the wall with double stick tape
that is how flat they are
the one with "temp" / "Lys" are the rebuild ikea hockey puck
So far if anything the zzh seems miniscule faster than the cc1352
Perhaps because it was so powerful
link?
the other is the ikea on/off switch
for what?
nah I think it was the antenna design. LPSTK I think beats with better Antenna design as it is officiallly a sensortag and tuned, in my opinion
i do not know as i started out with a raspberry pi and the raspbee module
and i did so as there is a ready to run image file for the raspberry pi
Don't buy LPSTK CC1352R if you do not have the Debugger, since flashing it is a pain. You can buy the CC1352P2 though
I was having trouble with my Conbee II
But I put it on an extension cable, and changed the channel, and switched it from ZHA to DECONZ
welcome to the club!
I think part of the reason is I dont have any "routing" devices yet
just two wall switches
switches are a but funny
does your network show low LQI for the end devices?
It was showing in ZHA... that the LQI was 255
that is what i found out
and RSSI was around -44
really! thats a 100% , and you are having issues?
so when i setup automations i listen for events and react to those
I just used the Automation GUI to set up automations for my switches
The switches kept showing red LED flashes when pushing buttons
hehe... you can do that for factory things
Implying the signal was not received by HA?
i made my own roller blinds
I use the Philips Hue Dimmer Switches
signal came to HA... but i was looking for a state which the switch does not transmit
it sends out events
the ikea ones at least
Well it was working
but just intermittently
when using ZHA
should Installing Wall Plugs help?
Since they create a mesh?
anyways... have to go
dont know... i have my raspberry pi in the same utility closet where the district heating and fuse box is installed
and the ikea stuff is 5-6 meters away at one end of the flat
and i plan to install about the same amount at the other end
so i will double the amount of everything
but it has worked fine from the first light installed
so i dont think the amount will matter
and it should work that way as you would not want to rely on one unit to retransmit signals
that could break the whole setup
I have two wall switches, but they are battery powered
oh, i thought you where thinking of adding some of those units that can re transmit the signals
anyways my rented appartment is also somewhat special
the internal walls are plasterboard
so they dont eat much signal
and its 87 square meters so not a whole lot
i could imagine that where would be cases where internal wall would eat or block the signal
Battery powered devices aren't repeaters. Repeaters are almost (yes, almost) always mains powered. There are some very rare examples of using battery powered devices are repeaters, however those are always DIY devices.
So, if your wall switches are battery powered, they won't act asa repeaters. Yes, wall plugs would help.
Does mounting my Zigbee Switches to a metal surface cause a problem?
It could, yes.
The Philips Hue wall plates have a magnet...
And I have a space on my wall that had a drywall patch applied that was made of a metal mesh... so the switch mounts to that non-invasively
But, generally speaking, if they are mounted on metal, the signal going through the metal will be dampened (depending on the width and type of metal), but the signal going forward should be fine.
Oh, those should be fine.
The other switch, I have mounted to the corner of a wall, where the corners have that piece of metal for squaring off drywall corners
You might see a bit of signal degradation there, but not enough to matter.
so someone else mentioned that in ZHA, an LQI of 255 could mean anything
But according to other people, LQI of 255 is perfect?
LQI is a REALLY hard number to qualify. It's calculated in multiple places and with multiple inputs and can be affected by just about anything. Seriously, anything. So, today you have a LQI of 255, but a subtle shift of a device (like moving a motion sensor 10' from it's previous position) can cause a complete recalculation of it. Yes, 255 is considered perfect... but it's perfect in THIS moment. If you check it again in an hour or two, it might drop to 50, yet the device is performing perfectly.
That's why generally we suggest to ignore LQI unless you have some sort of a sniffer that is showing you other info like RSSI between the coordinator, repeater, device, other devices and an energy scan.
Case in point, I have a sensor that is sitting 5 feet (and in line of sight) of my coordinator. However, it decided it wanted to connect to a repeater that is through a wall and 10 feet away from it. It currently has a LQI of 132. However, that will change in the next hour or so if I check it again. But... That device works perfectly fine.
So in your opinion... is the Conbee II stick a bad choice?
I would say cc2652 > cc1352 > newer sil chips > conbee ii > husbz > cc2531
Tasmota not even on the list
The question is: is TI even developing the zigbee stack any longer? When was the last release or bug fixes release?
where do you get the CC2652?
is there a good way to troubleshoot devices being marked as unavailable when using ZHA?
I'm planning on replacing every switch on my house with smart switches, does anyone have a good recomendation on an european zigbee touch wall switch that also serve as routers? I love the Sonoff TX series but they're wifi, and every zigbee touch switch I find doesn't act as a router (according to reviews on aliexpress) or don't have enough reviews to make me feel safe enough to buy dozens of them. As a last resort, I'll just buy the sonoff tx switches and connect them to their own wifi router so it doesn't clog up my main one and spread one or two zigbee routers through the home.
Any Zigbee switch that has a neutral line will be a router. Battery operated devices won't route. Those that don't utilize a neutral line are iffy at best. As for the tx switches on their own router; That's still going to cause interference both with your existing WiFi setup and any Zigbee meshes that you have.
I'd check blakadder's site (https://zigbee.blakadder.com/) for some good recommendations.
Zigbee is also going to cause interference as it also runs on 2.4Ghz right? So regarding interference I guess either one's the same.
Ish, yeah. It really depends on how your WiFi is setup and how you setup your Zigbee mesh.
Yup I've been checking that (amazing) website, for some reason I just don't feel safe spending hundreds of β¬ on switches that may not work properly (ofc I can always buy one and try before ordering more) or be descontinued in the future, because then if I needed to replace some switch that breaks down and the brand doesn't produce them anymore, I'd end up with different switches around my home.
Also, in conclusion, any neutral line zigbee switch will act as a router on zigbee2mqtt right?
Correct. The basic rule with Zigbee is that mains powered devices (most bulbs, switches, plugs, etc) are router devices in the mesh. Also, blakadder's site is pretty much the de-facto standard on "what works".
Well, except that it's outdated for Zigbee2MQTT π
Also, some switches (looking at you Xiaomi) with neutral don't act as routers
Yeah, I was looking at tuya switches and reviews on aliexpress also said that they don't act as routers :/
Tuya's Zigbee devices are even less standards compliant than Xiaomi's ones
And I searched this channel before asking for recommendation and someone said that they use their own kind of protocol on top of zigbee
Most switches/dimmers that have a neutral will route, but it's always worth double checking before buying
Guess I'll continue my search for a while, if nothing pops up I'll just stick with sonoff tx and make sure I configure my wifi properly.
Thanks to both of you for your input!
Also, if anyone reading through this has a touch switch that acts as a router and is EU compatible, please @ me with the model, I'll be grateful.
Ah, so SimpleLink is the new name for zstack?
That's why I almost always say "most" π
Hi all, I've just recently started working on my zigbee network and I have 2 issues that I cannot find a solution.
-
My house has 2 floors where the Nortek USB hub sits at the ground floor and all of my zigbee devices (temp sensors) on the top floor could not be connected through the dongle. Although I'm currently working to place some Sonoff Mini's Zigbee on my stairway to act as a hub, I would like to know if there's a way to utilize the Sonoff Zigbee Bridge in the top floor along with the Nortek USB in the ground floor?
-
I have a Sonoff Zigbee Wireless Switch and a Aqara Zigbee Wireless Switch connected to the hub but they only recognize the power entity and I couldn't do much with it.
#1: No, but once you get some routers in place, then you shouldn't have a problem getting the 2nd floor devices to communicate.
#2: Are you using ZHA, Z2M or something else?
Using ZHA
IIRC, both of those switches are only able to be interacted with by using zha_events in automations. But, I'm not 100% certain on that.
They might show up as devices in the automations UI, but I don't have ZHA to test that out.
You're right, I'm able to control my aqara switch through automations. Unfortunately I couldn't do anything with the Sonoff Switch even through automations
Thank you for your suggestions
Hello all, I have 39 devices integrated with Zigbee2MQTT and works like a charm. I also have InfluxDB setup with Graphana and am just starting with that to get better graphs. But my question, I still have my living room with a Hue integration and want to move those lights and automations to node red. Same as the rest of the house. What would you advise, take away the Philips Hub and move those lights to Zigbee2MQTT?
Does the hue bridge have any advantages?
Two meshes make no sense
Eh, not really? For me the ONLY advantage was the Hue Sync box and that's been dumped until I get one of the new Gradient strips. Aside from that, I'd just move your Hue lights over to Z2M.
In terms of performance, coverage and interference it is a poor idea
My wife is a bit old fashioned. She still uses the old apps. Vacuum, weather, hue, etc. Tomorrow I am gonna setup a better UI dashboarding and HAdashboard and cast to Nest hub. To get her over to the HA app. Then I will get rid op the HUE bridge. Already noticed problems with Node-red to get the same flows as the rest of the house working
Hope it can manage 50+ devices π
Just start replacing your lights. They will create a mesh and nothing else is needed.
Automations beat UI's every time.
Any info I need is delivered to my telegram whenever it happens, is about to happen or has happened a while back
In 5 minutes you're going to wish you hadn't done that
Only 16... that's pretty good
Well, it was the entire customer environment
Sure, but when you've powered down hall A in preparation for the tests, and then hall B suddenly loses power...
Bulbs are HORRIBLE repeaters when they are the only repeaters in a mesh. Super easy to buffer overflow them and they will freeze and cause further problems with the mesh.
horrible repeaters vs zero repeaters, though
yeah, not necessarily signing on to the horrible repeaters theory, but either way bulbs are what us common folk would flock to

Or "folk flest", since we're gearing up for Norwegian election season π
Hvermannsen you say
mannen i gata, if you will
Nasjonen dear sir
smartpærer i de tusen hjem, to put it in poetic terms

hello people , i'm checking for some new bulbs , decent quality , dimmable , zigbee - which one would you get?
Hue are the often recommended Gold standard
i now have a lot of Wifi bulbs from Phiips, but then i check the Hue
this one could work with my soon to arrive zzh stick : https://nl.aliexpress.com/item/1005002432270724.html?spm=a2g0o.productlist.0.0.26434366z65EFf&algo_pvid=fc0c1555-a0b4-408b-b1d7-f719757a605f&algo_expid=fc0c1555-a0b4-408b-b1d7-f719757a605f-1&btsid=0b0a187b16218893167077482ed4d5&ws_ab_test=searchweb0_0,searchweb201602_,searchweb201603_
i'm seeing these messages on startup, but the entities are unavailable and the device in the viz map is showing offline:
2021-05-24 15:46:15 INFO (MainThread) [zigpy_znp.zigbee.application] TC device join: ZDO.TCDevInd.Callback(SrcNwk=0xAA73, SrcIEEE=00:22:a3:00:00:27:3a:0f, ParentNwk=0x9355)
2021-05-24 15:46:15 INFO (MainThread) [zigpy_znp.zigbee.application] TC device join: ZDO.TCDevInd.Callback(SrcNwk=0xAA73, SrcIEEE=00:22:a3:00:00:27:3a:0f, ParentNwk=0x9355)
2021-05-24 15:46:17 INFO (MainThread) [zigpy.application] Device 0xaa73 (00:22:a3:00:00:27:3a:0f) joined the network
what could be going wrong here?
What matters is (still) your choice of Zigbee integration, the stick isn't relevant
You shouldn't be seeing anything like that on startup unless you power your devices on at the same time as HA
These messages are sent when a device joins the network
well, it was offline when i restarted HA
And you power cycled the device?
i'm going to use zigbee 2 mqtt
nope, it's hardwired. one of the famous hampton bay fan controllers
Then all that matters is https://www.zigbee2mqtt.io/information/supported_devices.html
What's the ZHA debug log contain about the device? https://www.home-assistant.io/integrations/zha/#debug-logging
@sour shadow yes problem with some of those bulbs from ali is that i don't see a brand
Then... you get to try your luck and add support yourself if necessary
It's well documented
can i assume i'd just need zigpy_znp here?
yes! @sour shadow may i ask , do you have zigbee bulbs? i'm thinking Wifi vs Zigbee Bulbs?
@frail shell Generally, don't tag people to ask for help - it comes across as bad manners, youβre demanding somebody answers you. Itβs different if youβre thanking somebody, obviously. If you do tag somebody keep it polite and respectful. Remember that everybody is a volunteer, and nobody has to help you, and people may block you.
Similarly, please donβt DM (direct message) people asking for help. It also comes across as demanding, and means that others canβt learn from what you do.
Finally, please keep tagging people in replies to a minimum. That too can become annoying very quickly and should be used only when it's necessary (such as if it's been a long time, or there's multiple conversations going on). When using Discord's new Reply feature it defaults to pinging the person you reply to, click @ ON to @ OFF to stop this - on the right side of the compose bar.
zigpy_znp|zha|zigpy
i just test a few zigbee bulbs and compare them with the wifi version i have here
and then i wait for activity? or you need that on startup?
The logging config won't take effect until you restart HA
But if ZHA is marking it offline then it's seemingly not responding to a checkin during or around startup
oops , Thank you
@frail shell When using Discord's new Reply feature it defaults to pinging the person you reply to, which can get frustrating for the target. Click @ ON to @ OFF to stop this - on the right side of the compose bar.

pff lol
thank you Tinkerer for your opinion π , then i should write it like this
can i assume this is the device not responding?
2021-05-24 16:01:57 DEBUG (MainThread) [zigpy_znp.api] Sending request: AF.DataRequestSrcRtg.Req(DstAddr=0xAA73, DstEndpoint=1, SrcEndpoint=1, ClusterId=0, TSN=14, Options=<TransmitOptions.ACK_REQUEST: 16>, Radius=30, SourceRoute=[0x9355], Data=b'\x00\x0E\x00\x04\x00')
2021-05-24 16:01:57 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataRequestSrcRtg.Rsp(Status=<Status.SUCCESS: 0>)
2021-05-24 16:02:00 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataConfirm.Callback(Status=<Status.APS_NO_ACK: 183>, Endpoint=1, TSN=14)
2021-05-24 16:02:00 DEBUG (MainThread) [zigpy_znp.zigbee.application] Request failed (Unsuccessful request status code: <Status.APS_NO_ACK: 183>), retry attempt 5 of 5
Yeah, 0xAA73 joined the network and is not responding to any requests
this thing was working perfectly for the last month and now it keeps going offline. no changes in hardware or placement π
Any way you can power cycle it?
yeah, breaker panel in the basement π
might that show something interesting in debug?
no mention of that address after power cycle
the last time it did this it was down for 2.5 days, but then randomly came back on its own overnight
if you do have any other suggestions, please do tag me as i'm stepping away for a bit
Devices should announce themselves after they re-join the network so I'm not really sure what's up with that hardware
yeah i don't trust it. might go nuclear and factory reset it again
Just received no-name Chinese 4-button Zigbee scene switch. Paired with ZHA with no problems. In Node-RED, using zha_events watching for the device_ieee, I can only see 2 of the 4 buttons fire a debug node. Push/hold and release fire on these 2 buttons but no double-click (documentation says supported). Not seeing anything for the other non-working buttons when using an events: all node. Tried reinterviewing device.
The other two buttons appear to work physically; each button has an LED that responds to press. One of the buttons that I am not seeing is used for pairing so Iβm assuming the buttons work.
Found similar device on zigbee.blakadder.com but in the 1-, 2-, & 3-button forms which work with ZHA. Added logging to configuration.yaml for ZHA. I have the log but I donβt know what Iβm looking at or what to do next. Itβs almost as if the 4-button switch is acting as a 2-button switch. It looks like the receiver is getting the button presses but not sure what to do with itβ¦?
Forget NR. What do you see in HA's events when you use those buttons/clicks?
https://paste.ubuntu.com/p/mkJDZWZwjy/ Lines 4, 12, 18, & 25 are what stand out to me. (Correlating with button presses: works, works, doesn't work, doesn't work)
my conbee ii comes in today. Excited to start migrating to it from my Hue bridge
I don't use ZHA but this looks suspect:
No handler for cluster command 1
It does say that for each of them though. The ZCL Request array is the same that I see in NR at payload.event.args
Just noticed the BUS Handling is different for buttons that work and don't work. They have an entity_id instead of a deivce_ieee
And I have a switch.tz3000_xabckq1v_ts004f_11766bfe_on_off that responds to the button presses but only as an on/off. (I can press 1, turns on; 2 turns off; but press 2 again, no change)
Nothing to worry about, it just means that there is no general handler for that command. It'll be emitted as an event.
Is this more Tuya stuff? What does the Zigbee device signature look like?
Signature: https://paste.ubuntu.com/p/zGmbR36JSK/
Looks like it recommends Tuya/SmartHome apps
Yup. Scanned QR codes and they go to tuya.com
Yep, that's Tuya
To update Zigbee2mqtt EDGEi s necessary to unistall the adon and reinstalled? or it will update after restart the addon?
Open an issue here with the device signature, you'll see other requests for devices with similar garbage names from Tuya https://github.com/zigpy/zha-device-handlers/issues
Make sure to include a few logs of you clicking buttons and such
So I'm looking through there and I see model TS0044 which seems very similiar and people seem to have same issue. Also looks like there have been updates to fix it. But mine reports as a TS004F.
Would the logfile I pasted work or are they looking for info from a different log somewhere?
Model and manufacturer are only sort of correlated with Tuya functionality
There are different classes of devices that share the same model name. It's a mess
if you are tinkering with the Z2M, it is better to install a docker image and container for the same.
I recently bought an ecosmart bulb with remote from homedepot it's this one https://zigbee.blakadder.com/EcoSmart_6ARCZABZH.html and it tries to pair with home assistant and my conbee ii, but it doesn't register any of the button presses.
I'm learning, it looks like I can hack it to work with perhaps a zha_event?
when i subscribe to zha_event, in the dev tools, and press the button it prints out events
description: ''
trigger:
- platform: event
event_type: zha_event
event_data:
command: 'off'
condition: []
action:
- type: turn_off
device_id: 7844e43b44c28bfc20fd3bdd61ff3d42
entity_id: switch.office_desk_lamp
domain: switch
mode: single```
this was my solution
you can trigger on event based on part of the event data
puddly: Support request #897 submitted
echobucket: I use Node-RED for my automation of zigbee devices through zha_events https://i.imgur.com/K8s8xlq.png
Question.. is enable_quirks enabled by default with ZHA?
Yes
I found a quirks file for my remote on github.
would this maybe not have made it's way into a release of home assistant yet?
This was the PR https://github.com/zigpy/zha-device-handlers/pull/211
back in Dec 2019
I mean I can hack it to work with event triggers but it would be nice if I didn't have to
Tuya is not exactly following the specs and that's why it detected it as a switch. For last two button presses there won't be a zha_event, but there is a state changed event for the switch entity
Adminiuga: Yeah. I thought that was kind of weird. It could also be because this device doesn't identify itself as other similar devices. Mine is a TS004F but others seem to be TS0044. The switch entity definitely messes with things.
What does the zigbee device signature for your remote look like?
@split vault posted a code wall, it is moved here --> https://paste.ubuntu.com/p/vKqgKZDhSs/
Looks like that's the quirk that you're using
well it's not correct I don't think
There's a "Turn on" button pressed option
and if I setup an automation for that, it never triggers
Have you tried furiously clicking buttons on the remote while clicking the "reconfigure" button once in ZHA?
no, π That sounds crazy, but I'll try it
(to keep the remote awake)
If that doesn't work, re-join it to the network and upload the joining log to https://paste.ubuntu.com/. Might give some insight as to why the remote isn't fully functional.
the remote works
like I press the button the an event comes through the system
but it's just not wired up correctly to the events showing up when you create an automation
So every button works, but you're saying that not all the device automation triggers are functional? https://github.com/zigpy/zha-device-handlers/blob/dev/zhaquirks/lds/cctswitch.py#L99-L135
yeah, basically
Which ones?
I can go into the event developer tool and press the button and see the on and off events firing
"device_ieee": "cc:cc:cc:ff:fe:a9:d1:5d",
"unique_id": "cc:cc:cc:ff:fe:a9:d1:5d:1:0x0006",
"device_id": "e6a8d173d7edf4f0d54efb8b258f637c",
"endpoint_id": 1,
"cluster_id": 6,
"command": "on",
"args": []
}```



