#zigbee-archived
1 messages · Page 35 of 1
Yeah so apparently you don’t press the setup button on the back but instead hold the first button for 3 sec 😂
lmao
Instantly paired, my dumb ass went thru 4 remotes to figure that out. Not sure how I even got the first one to pair
well now you have 5 remotes to play with haha
No I decided to open up the manual in the box
I only need two, so the rest are going back and probably work just fine lol
i never suggested to rtfm cuz i figured you did lol
How are you all using zigbee with a dedicated dongle or going for the wifi version and keeping these in a vlan with no external internet access?
Looking at getting some primarily for temps and humidity around the house ti start with. But will slowly move more things to this
Like the in summer when I get off the train tell the AC to start up if over a certain temp
You mean the sonoff Wi-Fi bridge thing? That is an abomination
Anyone have any experience with the IKEA tradfri devices, specifically the single shortcut button. I can get it to connect to the ZHA integration but HA doesn't get any events or data when it is pressed.
You might b3 correct sorry still learning
A zigbee dongle connected directly to hass or a PoE coordinator is the most common method
The PoE coordinators are neat cuz you can put them in a more central location than wherever your hass install may be
The main problem with that (the sonoff zigbee Wi-Fi bridge device) is you’re going from a low power mesh to a Wi-Fi next hop interface which is at best adding latency. It also uses an old bad chipset
You really need a zigbee mesh (wired devices repeating signal) before adding sensors (end devices that don’t repeat)
Most people use bulbs and or light switches to extend their mesh
Is that one of those USB dongles
?
Sonoff zigbee usb dongle sorry if im nit using the correct names for things
I only have a small two bedroom unit. But the heat difference between each room can be very noticeable.
Do you have a link to something I could read up on?
I originally thought a second cheap method network for zigbee and mqtt only. This is a very big rabbit hole I have found myself in and want to get it mostly right the first time if possible
are you already using home assistant?
there is no segmenting zigbee it's not over IP
you'd segment whatever lan-connected IoT devices you use and home assistant itself if you want
Running in a docker container
Oh that makes more sense
That sounds like a mesh issue to me. What coordinator are you using?
SkyConnect, on home assistant os on rpi4, wired lan, with a few-foot USB extender
Are you using a SSD?
No, SD card; is that a significant improvement? Is there a way to do that with a regular rpi (as opposed to a cm4, was looking into a Yellow but cm4s are hard to come by and I already had an rpi)
No, I was asking about the SSD because it's a known interference source that can affect mesh operation. How many lights are in your normal light group?
I have 5 rooms with groups of 4-6 lights, plus 10 more rooms with one light each, no nesting
So you have issues toggling four lights at once?
("rooms" includes things like the rear stairwell or back yard or basement)
Or all 40 at once?
Just 4 at once
Not doing anything with the entire set at once
E.g. I have a chandelier in the hallway with 5 candelabra bulbs, often one or two will stay off or on
The most egregious example is that when I'm using a group for the single light in my half bath, it often just doesn't turn on or off at all, and the automation will have triggered and triggering it manually again will succeed (usually)
It's actually one of the closest bulbs to the coordinator too
That definitely sounds like a mesh issue to me. Is your coordinator near any other interference sources, like external HDDs, 2.4GHz routers, mesh systems, etc.?
Somewhat near a (wired) AP, but it's like 3 feet away from any other devices (that's one of the ones that's about 3 feet away though)
Did you migrate to the SkyConnect from another coordinator, or was this mesh built with the SkyConnect?
Built with SkyConnect
One note: I might have set some bulbs up in a different location and then plugged them in
What type of bulbs are they? I would also move it further away from the AP if you can. If you're handy with the command line, I would also suggest running an energy scan (https://github.com/zigpy/zigpy-cli#performing-an-energy-scan) from the SkyConnect.
Almost all are the newest sengled ZigBee ones, but there are a few problematic first-gen hue bulbs. I am and can try that. Is there a way to tell the mesh to reconstruct itself from scratch, or does it do that automatically?
Oh, that would probably be why
The hue ones, or the sengled?
Sengled bulbs don't act as routers and don't mesh, they act as end devices. I think @mellow geode knows a lot more about first gen Hue though.
What’s the model number of the Hue bulb?
I think "LCT001" or "LCA003" (those are listed in the device info, just not sure it's the model)
Hmm, I think they’re ATmel based. Not sure if they’re really "first gen" though. Are they made out of metal and glass or just plastic?
Also, if you know how, can you check the sw_build_id attribute on the Basic cluster for the Hue bulb? (You can use the "Manage Zigbee device" -> Clusters dialogue on the device config page when clicking on the three dots)
They were very very annoying to re-pair, but haven't been completely awful since
The bulb that’s most near to your coordinator, is that a Hue or Sengled?
Basically, the Sengled bulbs don’t repeat your signal
Yeah understood; is there a ballpark ratio I need? Should I be putting smart plugs between end nodes?
Sengled is very close, maybe 15 ft; hues are maybe 40 ft through walls where WiFi signal isn't strong (old victorian, so lead paint and prob chicken wire)
If you have some Zigbee smart plugs, that's not a bad idea
Ooh or should I switch a few sengled and hue bulbs?
That's what I thought of, yeah
ZHA has a network visualization, can you send a screenshot of that? (ZHA -> Visualization tab at the top) (might need to upload to something like https://imgur.com/ -- just to give me a rough idea of your network) (also don't worry about the colors too much) (how to open that: https://imgur.com/a/AjwSeuV)
Problem is that the hues are color and the sengled aren't bleh
LCA003 is like a fifth gen bulb. That has a Silicon Labs chip and should be very good. (There's also likely an update available if you haven't done one recently)
reading the sw_build_id on both Hue bulbs would help to know what version they're on (and what chip they're using) (how to read sw_build_id: https://imgur.com/a/VZxnsta)
I didn't know one could update these (at least not manually), I'll look into that
They can be updated with ZHA
Hmm, yeah. All (completely round) circles are just end-devices (so they don't extend your Zigbee network). Everything else looks fine though
If you can read the sw_build_id of all Hue bulbs that you have, that would be interesting.
The LCT001 is really a complete first-gen bulb. I've heard that they sometimes cut-off messages when relaying them, but I don't have a first-gen bulb to test. (Can help you to update it though)
oops didn't select the attribute
Almost there, in the second dropdown (where it says alarm_mask, select sw_build_id then read)
yeah 😄
okay, that's the latest one for that bulb. Did you migrate them from a Hue Bridge recently? (or update via Bluetooth for that newer model)
That bulb is basically a "perfect repeater"
Yeah I did migrate them recently
ah, they might all be on the latest version then. (still interested what firmware is running on your LCT001/first-gen Hue bulb though)
C (one of the first-gen ones) refused to report back
still online and functioning though
But you can't control it at all, right?
I can control it just fine
Can you try to read the attribute again?
tried four times
weird
Are you controlling it via a Zigbee group or using the dedicated light entity?
ah, yeah. ZHA groups use a different way. The individual one will likely fail
yeah, I have a similar Hue light on my network that causes trouble and constantly drops offline (using a TI coordinator)
Bulbs with firmware starting with 67. have an older TI based chip IIRC(?) They seem to always cause trouble lol
I'll have a look really quick
fun, if you were going to replace all your lights with new ones, what would you look for? I'm not the cheapest person in the world, but with ~40 bulbs to (gradually) replace I don't want to pay the hue premium if there are others that have meshability and good quality LEDs and aren't literally 10x the price of the sengleds lol
does anyone publish whether devices are meshable?
basically all are except Sengled bulbs
haha great
I guess I understand why they're so cheap now 🙃
they also don't get nearly as warm as I'd like
hmm, I basically have Hue lights everywhere I use smart lights. (the newer ones/box with a bluetooth symbol mean they're all "new-gen")
IKEA lights should also be fine if you update the firmware on them using ZHA, although there are a couple of small issues with them (depending on the model though)
well I'll keep an eye out, prob going to wait until thread ones come out before upgrading but I'm more informed now, so thanks!
(Cheap) Thread bulbs will probably take a while. Philips Hue will stay with Zigbee for the foreseeable future. Pretty sure that IKEA also took the route of just using Zigbee with their new Hub (and exposing that as a Matter bridge)
(or maybe get a couple now for the mesh coverage, then upgrade the rest later)
oh interesting, I heard about hue sticking with zigbee on the existing bulbs but I guess I assumed their next gen would have thread
yeah, I have no problem toggling like 15 Hue bulbs (without using a ZHA group). It takes two seconds but should work
regarding Hue and Thread bulbs: https://matter-smarthome.de/en/interview-en/we-dont-have-plans-to-build-thread-light-bulbs/
interesting i was not expecting that
i figured we'd all eventually move from zigbee to thread with our existing meshes as some quote thread as zigbee 3.1
For Hue specifically, the chips in old bulbs don't support Thread at all. So having two separate mesh networks would just complicate the whole situation with Zigbee/Thread. (suddenly some bulbs can't be reached, as the devices in between are in the Thread network and not the Zigbee network and so on)
Manufacturers will likely always want you to use their hub. And for Matter, they just make that the "Matter Bridge". (see: Hue Bridge, IKEA DIRIGERA hub, Aqara hubs, ...) (<- those hubs all use Zigbee and not Thread atm)
well now i dont feel as crazy for having a zwave light switch mesh and a zigbee bulb mesh lmao
i mostly did it cuz the options were pretty limited for zigbee switches (this was before inovelli blues)
but also cost... half the price for zooz zwave over inovelli blue zigbee switches
@thorny plover back to your original problem quickly. If possible, try moving the new-gen Hue bulb near the coordinator (LCA003).
And for the non-responding one, it'll likely start responding eventually. Try re-pairing it maybe, but I also have issues with similar older bulbs (in the worst case, put them back on your Hue Bridge lol). ZHA groups will always work though (but cause a lot of network traffic)
Yeah I'm just gonna get a couple 1600 lumen hue bulbs and put those closer, I want warmer lighting as an option for sleep mode and brighter options for daytime anyway. I might just replace the non-responsive one and other 1st-gen with another 5th gen if I can find one used or something (they're dimmer and slightly different color which was annoying me anyway)
do note that the 1600 bulbs are a bit larger
The 1100 and 800 bulbs are the same size
good to know, I don't think that should be an issue
any reason to avoid cheap ones on ebay? there are some for like half the price
used ones or new ones on ebay?
they say new, not sure if there's some older model I should be aware of https://www.ebay.com/itm/225420795921?epid=7051100068&hash=item347c206011:g:7sYAAOSwS7ViTJrK
It has the Bluetooth symbol, so it's basically good. Looking at the packaging, it's not the completely latest generation (newer packaging shouldn't have "100W" -- just 1600), but still very new.
You can basically buy all Hue bulbs these days and they're fine.
I'm still looking into your non-responding bulb. The "hardware platform" (100b-xxx) or the image type id would help.
... or maybe even the FCC id
Actually, could you try the following:
- enable ZHA debug logging (https://i.imgur.com/wuRMymb.png)
- execute this service call: https://dpaste.org/iGM3o/raw (replace
IEEE_HEREwith the IEEE of a responding first-gen LCT001 bulb) - disable ZHA debug logging (same menu) -> should prompt you for downloading the logs
- search for
OTA query_next_image handler forin the logs (starting from the bottom and with LCT001) and send the line here
there should be something like image_type=264 in that query_next_image line (which might give me some further insights into what chip your bulb is based on)
2023-02-15 18:57:15.435 DEBUG (MainThread) [zigpy.zcl] [0xEC1A:11:0x0019] OTA query_next_image handler for 'Signify Netherlands B.V. LCT001': field_control=FieldControl.0, manufacturer_id=4107, image_type=256, current_file_version=1124099330, hardware_version=None, model='LCT001'```
perfect, thanks! I'll have a look
Meh. Hardware platform (SID) is ZGB_100B_0100. They're TI-based (likely a CC2530) and similar to old Philips LivingColors lights.
I have a similar TI-based Hue light (first-gen Hue Bloom light that's hardware-wise basically identically to the Philips LivingColors Bloom light (of which I also have one lol)) that keeps dropping off.
It might be some compatibility issue with a non-Hue device on network. I'm guessing it's the same issue you're having with the first-gen bulbs.
(I wasn't able to solve that drop-out issue yet. I've read one report by someone else a while ago and they claimed it possibly got introduced with a buggy firmware update, but I don't know about that.)
(Also, to correct an earlier statement of mine: Before, I also mentioned something about firmware versions starting with 67. being TI-based. That's not entirely true.
The first-gen Hue Go lamp is internally referred to as a LivingColors variant and uses an ATmel Chip (they work fine) and also has a firmware version starting with 67.)
Well, I'll look out for coming Hue firmware updates and post them in the index.json file here: https://github.com/Koenkk/zigbee-OTA
(For ZHA, you currently need to download all files from links containing meethue.com and put them in a separate directory specified in your configuration.yaml and you can then update the bulbs using the service call I've given earlier. There are some wiki entries explaining this in more detail: https://github.com/zigpy/zigpy/wiki/OTA-Device-Firmware-Updates
Note: You don't need to do this at the moment, as your bulbs also seem to be up-to-date)
(ZHA updates will also become easier in the future ... at some point)
Isn't this a first-gen bulb?
Awesome, good to know, thanks!
Yes, the LCT001 you have is the very first Hue bulb. But Philips/Signify had "connected lamps" before Hue which were called "LivingColors" and the first Hue bulbs are somewhat similar to those.
Has anyone had any problems with zigbee at all? during any restart all my zigbee devices fail to reconnect on the yellow
I'm guessing you're using ZHA?
yes
Silly question: when replacing batteries do you have re-pair stuff?
No
Is there any way to get ZHA to poll a device to check if its state is actually correct?
I have a couple of Aqara Door Sensors that work (the majority of the time) but sometimes, it seems like, the state change isn't getting reported to HA. For example, here's my front door sensor. HA thinks the door has been open for the past 25 minutes but, in actuality, it was only open for a few seconds. History seems to show this is relatively common. (Distance shouldn't be a problem as I live in a small apartment with multiple Zigbee repeaters scattered throughout; distance between sensor and coordinator is about 25' going through one interior wall.)
was closed 7:17:28 AM - 1 hour ago
was opened 5:54:39 AM - 3 hours ago
was closed 5:54:06 AM - 3 hours ago
was opened 5:54:02 AM - 3 hours ago```
Im trying to pair the zigbee 3.0 usb gateway with SNZB-04 WINDOW/DOOR sensor and nothing is found when pairing, insert battey and add device scan finds nothing... Any advice?
"long press reset button on the device for 5s until the LED indicator flashes three times, which means the device has entered the pairing mode, and be patient until pairing completes."
Did you put the USB stick on a USB extension cable?
You can't really poll battery-powered end-devices (at least not Aqara ones) and you also wouldn't want to.
It's likely that you have some sort of mesh connectivity issue. In the ZHA visualization map, did you check to what router (or coordinator) the sensor paired to?
its the sonoff zigbee 3.0 usb dongle plus v2 gateway, I have it paird to a snzb-02 temp sensor fine, the snzb-04 door sensor has no pair button, i think you just put the battery in and that puts it there. Stick is plugged directly into Pi. and when tryign to scan for it, it is within 2ft of dongle....
Looks like the door sensor is talking to my eWeLink SA-003 (Sonoff SNZB-01) plug and then to the coordinator. Distances: ~7' same room and then 20' one interior wall straight, respectively.
pi4
@torpid burrow When using Discord's Reply feature it defaults to pinging the person you reply to, which can get frustrating for the target. Use Shift + click on the Reply option, or click @ ON to @ OFF to stop this - on the right side of the compose bar.
You have to change this every time (thank the Discord devs for that).
- Put it on a USB extension cable
- The sensor absolutely does have a pairing button
Long press reset button for 5s until the LED indicator flashes three times, which means the device has entered pairing mode
Let me try this. thanks for the help, could it be interference close to the pi?
Using a USB extension cable is recommended to combat interference coming off the Pi.
USB 3 is great at stomping all over Zigbee
It's mentioned in the Pins for a reason

OK I've done this and now it pairs, I hadnt seen the PIN, super helpful, thanks both of you! I'll review the pins for known issues and tips. Thanks !
Hi, I ran into some issues with zha and some IKEA tradfri devices: I’ve added three tradfri lights when i try to setup the default behavior on power on it won’t follow that (off on power on) I also tried to setup some scenes but those aren’t recalled. I’m a bit at a loss where to start with troubleshooting
Also I tried to bind an e1524 remote to an group to which I added two of the lights
An ikea on/off switch did vind fine but the e1524 won’t
So I recently got the skyconnect module and prior to that had Phillips HUE hub with a few bulbs. I just moved those over to ZHA/Skyconnect. Is there any value in keeping the HUE hub or just get rid of it now that I have ZHA/Skyconnect?
All IKEA remotes on newer firmware versions can only be bound to multiple single devices, not groups.
For the power on behavior, did you also set start up level correctly? (255 is "restore last level", 254 is full brightness, and 0 should be off)?
Ah no I just choose from the dropdown
Hi! Im looking for a "smart" way to get around a fixed amount of time i set my light to turn on when a sensor is triggerd. The situation now is quiet basic: I enter a room, sensor picks it up, turn on a light for X minutes. When i leave the room the light stays on for the remaining minutes. So im trying to think of something that will turn the lights off when i leave the room. Does anyone have any suggestions?
I set all to off and 0 but still switches on when together switch
I am migrating from HA OS on pi to HA container on WSL .
Do I have to set up my zigbee network from scratch again..?
Tried moving the zigbee backup files to the new server but then it was linked to another ip and zigbee2mqtt did not even start.
I guess i could try changing my internal ip to what my pi had but that would break all my other configurations and I m not even sure it would work.
I have 50+ devices, would prefer not to to set it up once again..
With backup files I mean the z2m db and coordinator files.
I dont think i can can restore an HA OS backup on an container?
zigbee2mqtt logs just said that it was trying to connect to 192.168.1.162 which is not my ip anymore
what config is that? cause the only json file in that backup did not include any ip at all.
is it the db files? and how would I change that? got no experience with db files
I was kinda chocked to see that there is no restore function in zigbee2mqtt ? Or am I just worthless at looking maybe haha..
I just assumed there was since there was a backup function
The config for Z2M
The backup... well, Z2M doesn't have a backup function
You do the backups, you do the restores
Edit Z2M's configuration.yaml with whatever tool you prefer - or if you use the add-on you can do it in the add-on UI
z2m does offer backup in the UI.
and I dont have addons since im using on container.
But I guess i could change the IP on the broker on the pi before i do the backup and move the files.
Well, you have configuration.yaml for Z2M, hopefully
That's the file that has the MQTT config, that's causing it to try to connect to 192.168.1.162
Update it, correct the entry
I also worry that you're not taking proper backups, but that's a problem for future you 😛
Hello,
I installed several plug sockets around my house, planning to populate each plug socket with it’s own Sonoff Zigbee Dongle Flashed with router (repeater) firmware
But before I go on buying several Sonoff Zigbee Dongles
Is there a better option for Extenders you recommend?
I’m doing this because my home doesn’t have neutral and no-neutral devices don’t have router firmware
So putting routers/extenders everywhere around my house was the best option to extend my Zigbee network
So how do i do an proper backup? cause the pi is still working. I just want to migrate
However you normally back up your computers @primal ridge
I use rclone and rsnapshot
someone has a sonoff dongle v2 ( E version ) with zigbee2mqtt? does your coordinator changed the name from "sonoff_iteaddongle***" to "QinHeng Electronics USB Single Serial" ?? after a reboot system from home assistant, my dongle changed the name (both in HA and host environment)
Is anyone here using Tuya TS011F_plug_1 plug with power measurement? Is it normal that they constantly "ping back" the Zigbee network even if nothing is happening? They usually report something back in intervals of a few seconds. I have one plug Xiaomi SP-EUC01 and it's acting normally, in idle mode reporting back once in a few minutes. Any idea?
How do you determine it "pings back" to the Zigbee network? Can you send the log output?
At the moment, ZHA polls all plugs every 30 seconds
may I PM you?
yes
I'm getting a couple meshing ZigBee devices today (thanks for all the help with that TheJulian!) and I want to make sure my mesh network rebuilds itself given the new nodes; does this happen automatically or is there a command I can use to trigger that?
This usually happens automatically within 24 hours. Some devices stick to their endpoint though
@placid cape I converted your message into a file since it's above 15 lines :+1:
OK.. Did not know I had a 15 line limit.. TLDR: I don't have a color slider with my LEDOPTO GL-C-008P
2 different devices and 1 delete and re-add. What could/should I look at or am I wrong and don't get one?
You can post screenshots on imgur if you think it would help.
Whether or not you get a color selector depends on the "supported_color_modes" attribute of the light entity. "xy" or "rgb" would indicate a color bulb, otherwise there is color_temp, brightness, and others. What does your light say in devtools?
KK give me a few to find that. Have not used devtools yet? before.
Seems like it should support color: https://zigbee.blakadder.com/Gledopto_GL-C-008P.html
Is the device on, and where are you looking that you expect to see the color selector?
Here in the device controls?
https://imgur.com/a/KVe0AF9
Could try clicking the light entity
Ohhh FFS I had no clue it was there.. Everything has been in my face right there..
Thank you .. Stupid user tag can be added now.
I'm looking for something to tell me when a water level falls below a certain threshold
has anyone per chance seen something like this out there in zigbee world?
I'd maybe look for a float switch, which you can wire to a dry contact sensor. A lot of door/window/water sensors have a pair of terminals you could attach a dry contact sensor to.
hmm this would be to monitor water level in a barrel
but you've given me some ideas
maybe i can just put a float in the barrel, thread some fishing line into it and drill a tiny hole in the lid
put a contact sensor on the outside
attach one end to the line
the other to the barrel
A float switch like a PVC one used in hvac would work
if it sinks low enough it pulls it 🙂
https://home-assistant-guide.com/guide/how-to-build-the-easiest-zigbee-chair-occupancy-sensor/ then wired to this sensor’s pins on the back
thanks 🙂
i've also noticed a trend with hygrometers
they seem to die/malfunction easily
i've got several aqaras and sonoff's
Hi guys, I have two Linkind Zigbee bulbs connected through a sonoff bridge and SonoffLAN integration. From my dashboard, the light card can control them, but the status of the card does not update for anywhere up to a few minutes, but it does update eventually, so there seems to be a problem with a delay in polling the status. Any ideas?
Ah... you're using Sonoff LAN
I mean.. it exists.. so it should work right? 😄
Well... Sonoff...
The first thing to do is to see if you're using the cloud or local connections for those
It's even worse... I'm using the ewelink app. But, the status updates perfectly in the app. So it must be some issue with the app talking to HA. But it's odd as there is never any delay in the blub turning on or off from HA, only the card status.
Anyone got any tips on dealing with a noisy neighbourhood for 2.4G? 1,6,11 are all a smidge under 50% utilization. I have one AP on 11 downstairs which is fine, but the AP upstairs is on 1 and devices are having a hard time staying connected to the AP. It's also wreaking havoc on my Zigbee networks. After doing a scan, looks like it might be a single offending AP in the neighbourhood. It's set to CH2, HT40 and looks to be on high transmit power. Default device name SSID too 😦
Worth trying to disable my downstairs AP, set upstairs to 11, and increase transmit power to try cover the whole house?
Don't increase the transmit power, it rarely helps
Will try just moving both to 11 and see if that improves anything. My Zigbee networks are 11 (Conbee ZHA) and 25 (Hue).
Might even see if I can find the owner of that TP_Link router and ask them to drop the transmit power. It's stronger than my own signals, and I'm right under my AP!
Sorry, you're right. 15 and 25 respectively. Was mixing my channels up again.
Got a strange one - have a bulb that I removed from Z2M to re-interview it. It had transition set to 2 in the device specific settings. Now I can't seem to reset it. Previously it was on/off 5 times but off now takes 2s .... and it's not resetting the bulb. Anyone think of a way to reset it lol
To quantify - without power it take 2s for the bulb to go off.
Don't worry about that, just follow the process
I've tried about 30 times 😦 It just won't go into pairing mode 🤷♂️
What device? An IKEA bulb?
I'll leave it unplugged for a while - maybe it will start behaving 🤣
No, a Lonsonho ZB-RGBCW
I'm not sure - I'll plug it in and give it a whirl ....
Hi guys! I am experiencing problems when I switch my TRVs from comfort to eco mode. They seem to take for ever to stop heating despite the temperature reported is higher than eco. My setup: Home Assitant, mosquito, zigbee2mqtt, Moes TS0601 TRVs (firmware v87) with the usual USB connector dongle with external antenna. Everything is up to date. I did adjust the TRVs and despite this the valves seem to be open to some degree despite reported to be closed. Is there a way to start adjusting the valve other than from the valve itself? Any idea how to solve the problem?
Anyone managed to pair a Moe's scene switch with a Sonoff Zigbee bridge? I put it into pairing mode, ewelink finds the device and says "1 Device Found", then I click "next", and it changes to "0 Devices Found" and just goes back to home screen 😫
I'm not using any USB at all.
wasn't in response to you, sorry.. but if you are using the sonoff wifi bridge same principle does apply due to the wifi
Ah ok haha. Thanks. It's the same situation on every attempt though so something must be up with the switch 😔
New video from home assistant demonstrating USB zigbee interference with and without an extension
https://youtu.be/tHqZhNcFEvA
Wow
switches out his usb 3 extension cables to usb 2
Lol
That's a really great demonstration.
hi there, I got aqara water leak sensor and it did detected a leak I had earlier today, but since then even after drying them it is stuck on Wet status.
What can I do? I tried to soak them in the water and dry again
I like how the buttons go clickity clack
If you can edit/repost that as a single post, I'll pin it
Tube already posted it above lol
Ye
Go watch this totally not a rickroll
G o t t e m
I spread it on twitter and mastodon 🤪
Hi. I tried to connect Silvercrest plug from Lidl with Home Assistant.
Pairing worked great also On and off works fine. What I noticed here is that HomeAssistant does not know the last state of the device. So apparently it can not read the current state of the device? How could it be fixed?
eh? Home Assistant! ^^"
zha!
I also use the SkyConnect Usb
Here is the debug info https://gist.github.com/lublak/ac901001a54eb2abf4e47898e4013a3d
Only it shows off in HomeAssistant (but it is on)
after removing it twice and add it again it works now. Magic o-o
I don't know if that is necessary, I think the interference is the signal going through the cable, not the cable itself. I could be mistaken.
If your usb3 cable is plugged into usb2.0 port it's all good.
There's no such thing
After speaking with puddly we both agree the intel white paper linked in the channel pins is referring to the usb 3.x ports themselves
Yes
Actually it's the port, cable and peripheral device that "radiate" the 3.0 noise.
In the intel paper
There is
3.0 just radiates out of wherever it is
Port, cable and device
Regardless what you just said contradicts what you said above
How can this be true if the 3.x ports also cause interference?
(The extender becomes the live port)
Well, the issue is the antenna, not the cable. If the antenna (ie zigbee radio, bt device ) absords 3.0 noise you have an issue
Hence the extension
The 3.0 port interfere anything that is close to it and is an an antenna
Last I checked, cables are not antennas
This is my point
I’ll quote your profile here ‘falk you talking about’
Lol

If you think about, it makes sense.
And I've been using 3.0 cables on 2..0 ports since I started 1.5 years ago with conbeeII (now skyconnect) and Aeotec Z-Stick 700
No issues
I have a question about an Aqara temperature, humidity and pressure sensor... I had a zigbee (I think) problem like 4-5 days ago, where non of my devices were reacting any more. But after a quick restart of my HomeAssistant Raspberry-Pi everything was working again. But yesterday I noticed that two of my Aqara sensors are still not sending new data any more. But they should be in good coverage of my zigbee signal. Also bringing them next to my Gateway (a sonoff stick) did not help. When I press the little button on the sensors, it blinks blue but still... it's not sending new data. I can't imaging both broke at the exact same time, so I guess it's some softwarebug. I am using zigbee2mqtt. Does anybody have any idea how I can get the sensor to send data again? I don't really want to loose history data, so I held back from just re-pairing the device...
I occasionally have the same issue with those sensors + ZHA. I just re-pair them (without removing them before re-pairing) and everything goes back to normal. I have ~10 sensors and a random one goes out every ~2-3 weeks
Cool... I tried that repairing without first removing and it worked... was afraid i might loose history data... but worked like a charm! thx!
Somewhat similar to g-dog's question: Who here uses tradfri shortcut buttons? I'm very happy with the general functionality and use them as light switches in every room, but they keep being unreliable. One will work just fine for weeks and then I'll have to press it like 5 times until it starts working again, or sometimes it just stops working for days unless I re-pair them and sometimes randomly start working again. With ~15 of them around the house, that means at least one of them is down at pretty much any given time. I have zigbee bulbs in every room so the mesh should be strong. Anyone had similar experiences and might have some ideas of what I could try to deal with this? ZHA with a conbee stick.
Not all zigbee bulbs act as repeaters. I use Sengled bulbs and they do not act as repeaters per their design. The engineers' logic is if the bulbs get turned off at the switch then they will not longer be able to repeat the signal and some other devices may have difficulty communicating with the network. https://support.sengled.com/hc/en-us/articles/115010871308-Do-any-Sengled-Zigbee-devices-act-as-Zigbee-repeaters-
I use a several different buttons. Tradfri shortcut and remote, Sonoff, and Aqara. I have occasional issues with them (but not to the extent that it seems you are). In fact, I noticed yesterday on of my Tradfri remotes was listed as unavailable even though I had just replaced its battery three days prior. I pressed once and it didn't do anything. Second time it worked and battery status was reported. In fact, I just checked battery statuses and four of my Tradfri remotes are listed as unavailable...
I have two battery-state-card cards that I have configured to show batteries under 50% and the other shows unavailable devices. A button push on each of the Tradfri remotes resurrected them and they're now longer reporting as unavailable.
You should be able to re-pair without losing your history, provided you don't remove the device from HA. I've had to re-pair some of my devices before but usually during a battery change.
Could anyone possibly help with getting zigbee2mqtt to work with skyconnect? I have done the following:
- Download mosquitto broker
- Downloaded zigbee2mqtt custom repository
- Pressed the configure, submit, and start buttons for mosquito broker
- Went to the configuration section of zigbee2mqtt and specified the port by the id of sky connect and put the adapter: ezsp
- Hit start on zigbee2mqtt
I keep getting “failed to start zigbee” logs for zigbee2mqtt. I am not sure what I am doing wrong here
Need the full error
@high turtle I converted your message into a file since it's above 15 lines :+1:
Sorry I was grabbing it. Hopefully this copied over correctly
Well tbh the SkyConnect (like all other EmberZNet coordinators) isn't a great choice of adapter to use with zigbee2mqtt
But is it on an extension cable and away from sources of interference?
Yes, it is on a 6ft usb 2.0 extension cable
Is there another adapter option besides ezsp possibly?
No, that's correct, the config options are here: https://skyconnect.home-assistant.io/faq/#is-zigbee2mqtt-supported-by-skyconnect
Still nothing unfortunately. I added the - baudrate: 115200 rtscts: true because I did not originally have that
Did you perhaps set up the ZHA integration when it was discovered?
I am attempting to switch over from ZHA to zigbee2mqtt so I deleted the ZHA integration, ignored the new discovery of it, and have restarted my pi. I did just see I still had the thread integrations present from originally setting up ZHA so I deleted those as well just in case something odd was screwing with z2m because of those.
I have this as my server - server: mqtt://core-mosquitto:1883
Is there possibly another server?
If you're using the HA Addon for Mosquitto, that would be the correct address
The error you're getting is for your adapter though
I just switched back to the original usb extender which came with skyconnect to see if maybe that helps. I am at a loss
No luck either with the original cable
Probably a stupid question, but how do I know / make sure my Aqara temperature/humidity sensors readings (via zigbee2mqtt) are „recent“ and not from 2 months ago bc it went offline?
ZHA or Zigbee2MQTT?
For Zigbee2MQTT enable availability (https://www.zigbee2mqtt.io/guide/configuration/device-availability.html#device-availability)
Zigbee2mqtt. Thank you!
Do I need to create template entities for everything based on this availability to make sure I get recent or no states, or does enabling availability already fo this for me?
The entity will either have the state, or will be unavailable
That's how availability works
Great! Ty!
Hi, I just updated zigbee2mqtt and it is not starting anymore with this in the logs.
[19:59:13] INFO: Socat not enabled
[19:59:15] INFO: Starting Zigbee2MQTT...
/app/node_modules/zigbee-herdsman-converters/index.js:91
if (converter.options) {
^
TypeError: Cannot read properties of undefined (reading 'options')
at Object.addDefinition [as addDeviceDefinition] (/app/node_modules/zigbee-herdsman-converters/index.js:91:23)
at new ExternalConverters (/app/lib/extension/externalConverters.ts:15:17)
at new Controller (/app/lib/controller.ts:84:58)
at start (/app/index.js:106:18)
I suspect this may have something to do with the "options" setting of socat which currently is options: "-d -d". But I don't recall modifying those.
Apologies if this is the wrong channel, but zigbee seems the most specific of the channels related to the question.
Looks like a bad custom converter
I have no clue what what means. Where would I start resolving (or investigating) that?
You don't also have ZHA installed by any chance, do ya?
Even if disabled.
I do not have Zigbee Home Automation in my integrations. My only disabled Integration is Roborock S7's. I did recently install shellys.
I do see
"LCA006.js"
],```
In the *backup* configuration.
But I see nothing like that in the configuration page of z2m.
It is also in /config/zigbee2mqtt/configuration.yaml but not in the config page...?
I have found the file and do actually recall it now.
It is for a (back then) unsupported philips hue light fixture.
Did the syntax for these custom converters change perhaps?
I don’t know I was just interpreting the error
With the external converters section disabled it does indeed load, so that's progress! Thanks for that.
New question:
As of Zigbee2MQTT 1.30.1-1 my converter for the Hue LCA006 no longer works.
https://pastebin.com/TZ6SRPvz
Not sure I can help as I'm a beginner too, but It's working for me. A couple of mistake I made:
- I forgot to create a home assistant user when configuring the Mosquitto integration https://github.com/home-assistant/addons/blob/master/mosquitto/DOCS.md
- I had to remove devices from ZHA individually. For each device I enabled ZHA, removed the device, then disable ZHA.
After doing that, I was able of adding devices in Zigbee2MQTT.
That's in the zigbee configuration file, right ? in the 'advanced' section?
There is a "Last Seen" setting in the "advanced" panel of the UI, and I thought it was the availability setting, but it is not writing the right setting in the configuration file :/
Yes, Z2M's config, not HAs
You either just add the one line (if you want to use the defaults) or the block
Is there a best Zigbee USB stick to get? I've searched and read and lots of opinions
Depends, are you going to be using ZHA or Zigbee2MQTT?
The pins have the answers, but if you want to use Z2M then buy something CC2652 based
Was looking at the Sonoff 3.0 plus as it's available on Amazon
There are build quality issues, there's a batch (I don't know how to identify it) with NVRAM corruption issues
Depending on the seller both the p and e dongles are called plus lol
Look at the chipset in the specs
I just realized that, so the important thing is to make sure it has the CC2652?
If you want the p dongle for z2m ye
That’s what I use
If you want to use zha then probably go with the skyconnect or the tube PoE coordinator
How does one decide which to use?
PoE is great, if you have PoE infrastructure already, and want to put the coordinator more centrally than where your HA host is
Z2m has far more documentation with a mostly updated list of devices that work with it. Zha simplifies things and does not have a gui control panel just some tie in ui elements in hass
Easier to watch a couple YouTube videos of people configuring zha and z2m then decide for yourself
A lot of them are outdated skewing towards z2m tho
Like a lot of zha complaints that helped me choose z2m no longer are issues
As a 3 weeks or so HA user I’ve not had any problems from ZHA with a conbee. Nearly 30 devices in my zigbee network. Mixture of IKEA, Aqara and randoms.
Any reason why you have a custom converter? It should be natively supported (LCA006 is used for multiple Hue model IDs, so at most the image/description is a bit off, but that shouldn't matter)
Is there such a thing as a mains powered zigbee extender?
Anyone use these to extend range?
Innr Smart Outlet Plug, Works with Philips Hue, Alexa, Hey Google, SmartThings (Hub Required) 10A, Zigbee Smart Plug, 1200W Outlet, Plugs 2-Pack, SP 224-2 https://a.co/d/2fShNSe
most zigbee devices act as an 'extender' since zigbee is a mesh network, but yes, outlets also have that functionality
Yea the devices I’m having issues with are all battery powered. I don’t have any mains powered zigbee unless I keep my converter hue bulbs on all the time.
You shouldn't really power-off router devices (like Hue bulbs), as it will impact your Zigbee mesh and might even cause batteries in end-devices to drain faster (as they might constantly switch parents)
But yeah, everything mains-powered (that's not a Sengled bulb) should extend the range of your Zigbee network
Yea I've adjusted my automation to keep the switches powering the hue bulbs on all the time and just turn on/off the bulbs.
I vaguely recall having either a RGBWW Hue lamp that was identified as a WW or vice versa.
I have 20 battery sensors and 7 smart plugs. Currently looks like all the battery sensors are connected to the coordinator. Should I repair them and force them to connect to the router instead?
Are they aqara zigbee 1.2 devices?
yes
I read the max number of connected devices is 20 for coordinator, is that true?
cox i am having 27 devices now and seems everything is still working
Sounds almost exactly like this FAQ entry: https://www.zigbee2mqtt.io/guide/faq/#i-read-that-zigbee2mqtt-has-a-limit-of-20-devices-when-using-a-cc2530-cc2531-adapter-is-this-true
It depends on the chipset and firmware
so I can just leave it as is till I see issues lol
Still not a bad idea to re pair forcing better routers for them
They might migrate back to coordinator they might not
Aqara yoloswagbbq420
when I repair should I pair it to specific router or just add it as normal and it will pick the best route?
Specific
sometimes I feel like the "best" route to me may not be the actual best route
The closest should be the best
I have an aqara door window sensor on my mailbox and I paired to the closest bulb
It hasn’t migrated yet lol
It might if it’s feeling frisky tho
thanks for the advise. I also read that not all router can handle aqara/xiaomi devices
I mean routers
Doesn’t matter tho
some router cannot see aqara devices
I haven’t heard that
due to the "custom" implementation of zigbee
Where are you hearing these things lol
this is kind of old though
Also found this https://github.com/Koenkk/zigbee2mqtt/discussions/12237
Some devices should be steered clear from
There’s been a few devices that blackhole routes
I saw the Third Realty gen 1 plug doesn't seem to work. I just bought the gen 2 though and it seems to be pairing with my sensors without issue. Not sure about how stable it is. Just want to make sure it works before I miss the Amazon return window lol
Iirc one was sonoff routers but it’s been a while since they’ve come up here
I try to stick to mostly hue routers and aqara end devices cuz they’re cheap
But it’s more like ‘avoid 5 devices and the rest are okay’
Avoid 5 devices?
Like there’s only a handful of bad boys the rest are safe
Do you have the list?
No sorry
Iirc the rule of thumb is avoid sonoff devices except their coordinators though
I started with Aqara only sensors at the beginning and had been using the xiaomi hub. Recently migrated to sky connect and kind of regret getting Aqara stuff lol
Nah that should be fine
I have like 8 of their sensors with hue bulbs as repeaters
No issues at all
You can post zha logs if you’re having issues
Prob won’t get any replies til morning
Great. Thanks for all the info.
I saw third reality is certified to work with home assistant
I hope their stuff should have no issues
If you have the funds I’d buy zigbee 3.0 new gen sensors from aqara tho
Yeah that’s my plan. I had those sensor a while back
For new sensors I will for sure go for zigbee 3 certified
Do you have any recommended smart plug?
Weird
Does it have to be zigbee?
I have multiple meshes in my smart home. Zigbee, zwave, Wi-Fi, Bluetooth
Yes. I want to used them as routers as well
I choose Wi-Fi for plugs with energy monitoring instead of putting that traffic on my IoT meshes
I want to stay away from Wi-Fi to not overload my network router. I was using Kasa plug before
Well kasa suck
They are cheap lol
I have multiple wireless access points in my house and have plenty of bandwidth
I use sonoff s31 Wi-Fi plugs flashed with esphome firmware
If you need zigbee plugs I’d buy hue but they do not do energy monitoring only on off
Thanks for the advise 🙏🏻
Yeah hue is overpriced to me lol
I have no hue stuff since I just use smart dimmer
I use hue bulbs and zwave switches to control them with home assistant
Not super common
All hue devices are controlled with Zigbee2mqtt not hue hub
I highly recommend their motion sensors
Hue one?
I’ve had 4 for 3+ years running with still over half battery
Reporting motion temp and lux every 30 seconds
And motion retriggers every 30 seconds which is lowest retrigger time of any battery zigbee sensor
Still overpriced at $40 each but damn if they don’t work well
I am already using Aqara motion sensors
These do temp and light level too
Just to control hallway lights. Don’t need a lot of them
I am using ecobee to get temp all over the house
Yuck
I got burned by ecobee sensors too
$40 each they really suck lol
$50 now they went up over Covid
Using some algorithms to figure out if natural light is enough for interior
Much better to integrate better sensors with hass but I already have them
I rely on them to “better” regulate the thermostat temperature 😂
Other than that I don’t use temp reading that much
For $50 each you can buy much better sensors
The only benefit to ecobee ones is you can use them if hass is down
Now experimenting the new LD2410 sensor for occupancy instead of motion sensor
Not familiar
Agreed but others won’t work as well with the thermostat
Anyways I already have those and running lol
Sure they will
Ecobee can be paired with home assistant via HomeKit controller
And then you can use any sensors to handle hvac
No ecobee cloud
Just lan only
No follow me ecobee bullshit but frankly it’s useless
You can do it all better with hass
Ya I googled it I remember seeing those
Can sense static object which is a huge plus
Yeah. Similar tech but 10x more expensive lol
Yeah. May be the FP2 will fix all the issues
Doubtful
Diy will always be better I just can’t afford to throw money at alie every couple weeks
Contrary to my name I’m a terrible sellout
I like DIY stuff too so I didn’t get the FP1
I bought two cuz I had $100 open on PayPal credit and life is short
Nah
He’s just taken a couple known pieces of hardware and let his dad mash them together on a pcb using open source firmware with esphome
Cool but not for me
Yeah you can definitely make your own version
~~hey im trying to fix an issue with a particular sensor in zha, here it says to "import the foundation package", but im not really sure where to find this function in zha, any pointers?
https://github.com/zigpy/zha-device-handlers/issues/2190#issuecomment-1427118281~~
figured it out but since adding this, now motion doesnt work at all, but occupancy still works fine
Is there any difference if I use CC2652P as a router or regular plugs and bulbs?
The router fw for the cc2652 generally can support more end devices. Ikea mains powered devices support about 5 end devices, cc2652 can do 50 for example.
hi everyone, new to th HA world. i have set it up and booted with conbee stick in a usb 2 port and on an extension, HA see's it and when i press configure and set it up i just get an error in the log and the conbee 2 stick doesnt work. please can anyone help?
What is that error?
Error setting up entry ConBee II, s/n: DE2662548 - dresden elektronik ingenieurtechnik GmbH for zha
12:30:19 PM – (ERROR) components/zha/core/gateway.py
Couldn't start deCONZ = dresden elektronik deCONZ protocol: ConBee I/II, RaspBee I/II coordinator (attempt 1 of 3)
12:30:19 PM – (WARNING) Zigbee Home Automation - message first occurred at 12:30:09 PM and shows up 3 times
No response to 'Command.read_parameter' command with seq id '0x07'
12:30:19 PM – (WARNING) components/zha/core/gateway.py - message first occurred at 12:30:09 PM and shows up 3 times
Check the log file (home-assistant.log) for more than the UI may show you
how do i see that file?
It's in your config folder, so ... however you access your files already
If you haven't then see https://www.home-assistant.io/common-tasks/os/#configuring-access-to-files
i still cant see a reason why
i dont know what to do
Is that all there is in the error log? Does it work with their official software?
it doesnt work at all
Have you tried flashing it?
i did yes
thanks for the info! 🙂
Is anyone seeing problems with adding switches in HA 2023.2.5? I have been working on installing some Martin Jerry and Sonoff switches this weekend and interviews are not ever completing. I've used both these switches plenty of times before. I wonder if it is me or there is a bug in the latest update.
Hey guys!
I come here for advice on the aqara cube using ZHA
I've set up the hardware and imported and tried multiple blueprints and it simply doesn't register
Which version of the cube, original or T1?
I wans't aware there were two version, give a minute
It's easy to spot - the T1 has numbered dots
Possibly the T1 has different events and the blueprints are for the original
Aha! Makes sense
I've a vague memory that the T1 also has two different modes
Sorry to nag, but I'm stuck finding the Zigbee2MQTT configuration.yaml file, I've exposed my server over SMB and installed the file editor Add-On but can't see the "data" folder I expect
Maybe wrong channel to ask for help??
Today almost all my zigbee stuff stopped working. just a few works.. i use zigbee2mqtt with conbee 2.
i get theese error messages in zigbee2mqtt logs:
Zigbee2MQTT:error 2023-02-19 21:27:24: Publish 'set' 'state' to 'Frans Taklampa' failed: 'Error: Command 0x54ef4410001b9a6a/1 genOnOff.on({}, {"sendWhen":"immediate","timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (no response received)'
Anyone knows why ? XD
I had some issues with zigbee too today but I use ZHA. Found a bug report which mentions problems after reboots. Proposed solution in the ticket was to reconfigure the zigbee controller keeping the current network settings. This solved it for me.
thanks, but what do u mean with "reconfigure the zigbee controller keeping the current network settings" ?
My english is not very good. how to i reconfigure the conbee stick ?
ZHA and Z2M are unrelated
For ZHA you would configure the integration, select migrate radio and follow the dialogs to reconfigure the controller.
But absolutely no idea if that is an option for you as you are using Z2M.
G'day everyone.
I'm having a heck of a time with my IKEA Fyrtur blinds. I switched from Deconz to Z2M at least 6 months ago hoping reliability would improve. The main problem is they don't seem to report their state/position consistently. My question for the channel now is if there's any fix for this or if introducing the IKEA hub into the equation would improve the reliability.
Should I trust the LQI reported in ZHA?
My battery sensors has higher LQI when connected to a further away coordinator than a closer router
No
So I should keep them connected to the closer router instead
if you have a skyconnect "LQI is calculated from RSSI and a few other factors so it reasonably represents the link quality. On other sticks, LQI is just RSSI rescaled." - puddly #zigbee-archived message
I do have a sky connect but when the sensor is connected via a router is the LQI just a rescaled RSSI?
I think for sensors the LQI is basically just that. The link is in one direction and there's no extra information beyond what the last-hop router sends
What are your people's favorite zigbee devices?
Buttons because they're family friendly
Lux sensors
Hey, I just can't get SkyConnect to work with HomeAssistant running i Docker on a NUC with Ubuntu on it. Fresh Ubuntu install, HASS config from a backup. When HASS UI comes up, I'm getting the "SkyConnect" was discovered, but when pressing Configure, it only says "Failed to probe the usb device".
The device /tty/USB0 is mapped into the container.
I seem to be missing something obvious here.
Configuring ZHA from Devices directly fails too.
Edit: I actually got it working by skipping the discovered SkyConnect and going to Settings > Devices and Integrations > Add new > Zigbee Home Automation > Manual > and selecting baud rate 115200 and Hardware, instead of the default baud rate and Software. At no place was this documented.. ?
Can anyone help me locate Zigbee2MQTT's configuration.yaml direectory?
If you're using Docker it's wherever you mapped it to
I'm using HA OS on a Pi
So... add-on then
Is it not available in that case?
Sure it is, but how you run software changes how you find things
There's at least 3 or 4 different ways of running Z2M
Understood
Even though I should be running add-on the only addons I can see listed in my instalation are Mosquito Broker, samba and FTP
I don't know if I understood correctly
Well, if you're running the add-on it'll show in the add-on menu
Is integration another way of running Z2M? I see my Zigbee devices listed under my USB adapter on the integration panel
That's ZHA
Oh man, I have my terminology all wrong
Thanks for that
I'll gather my thoughts and "don't panic" 👍🏻
Hmm the Ikea hub will probably play nicer with the Ikea blinds, but I would not recommend it as each ZigBee net can only have one coordinator. So if you hive off the blinds to the Ikea hub, you would have a very small ZigBee net with probably worse reliability issues.
For the Ikea blinds, after pairing them with zha, I found that I needed to Manage ZigBee Clusters, navigate to the position cluster and click Read Attribute. Repeat with the battery cluster. And finally reconfigure the device. After that, the blind's attributes all report fine. Not sure if the procedure is the same with Z2M though.
How do you get a device (specifically Sonoff SNZB-02 temp sensor) to give more frequent temperatures in Zigbee2MQTT?
Is it in 'Reporting', if so what do the columns "Min rep interval", "Max rep interval" and "Min rep changes" mean?
"Rep" would be "reporting" and "reportable", it controls how often the device will report when a change occurs. It'll report at least once every "max rep interval", no more than once every "min rep interval", when "min rep change" occurs.
It's so random, the temperature changes either every 2 mins or 3.5 mins etc
Does the reporting not refer to the temperature changes more the time stamp in say the mini-graph-card?
That's the way it should work. For example, if you set the minimum interval to one minute, the maximum to one hour, and the minimum change to 1C, then the sensor would report whenever the temperature changes by 1C, but no more than once per minute. If the temperature doesn't change, it will still report in an hour.
Does it count in minutes or seconds the columns currently read:
Min rep interval = 5
Max rep interval = 1800
Min rep changes = 20
The timestamps in the graph are exactly every 2 hours if that helps
The time is seconds
1800 seconds doesn't represent 2 hours. Is the mini-graph-card dicatating the 2 hours readings?
Well, the Sonoff sensors are pretty crap
I don't know they appear ok, setup and operation in Zigbee2MQTT was simple.
@lunar lion When using Discord's Reply feature it defaults to pinging the person you reply to, which can get frustrating for the target. Use Shift + click on the Reply option, or click @ ON to @ OFF to stop this - on the right side of the compose bar.
You have to change this every time (thank the Discord devs for that).
They work... right until they don't
Also they appear to ignore the reporting you've configured 😛
What would you recommend changing the reporting to for the temp sensor in Z2M?
My Aqara devices don't support changing the reporting, but their default reporting works
Depends on what it supports really
Iirc there was some hack you could do with sonoff sensors to make them report down to like 1 second?
If I could upload a screenshot I would. I've set it up in Z2M so it's really dependant in there I guess
The Aqara units report changes of 0.5c or about once an hour
Please use imgur or other image sharing web sites, and share the link here.
Image posting is blocked in most channels to discourage people from sharing text as images. Sharing text as images assumes that everybody sees the world as you do, which isn't the case. Some people are colour blind, or have visual impairment that means they can't make sense of an image of text.
How does your settings window look for your Aqara sensors?
Empty
Surely that means Sonoff has a greater range of flexibility? Any thoughts on the setting in the image?
Well... you're fighting to get the Sonoff reporting enough, and I didn't have to fight the Aqara
Also, the Sonoff's are well known to simply stop working
Had Sonoff door sensors for a while and they never seem to fail. Any before I accept any form of defeat I'll play around. The temp does refresh and I guess really that's all anyone wants.
What is the correct way of starting over with ZHA? I know i can just remove the integration but will that make me start from 0? I use sky connect.
After several changes of coordinatiors my zigbee network is just a cluster f.. 😅
What isn't working? There usually isn't any benefit to resetting from scratch unless you are changing channels
Hello. Anyone ever ran into an issue with a Sonoff Zigbee USB3 controller where pairing just seems impossible? I just bought one to replace a SkyConnect which I just can't get to work reliably with my setup. The ZHA migration process seemed to go fine but I can't pair anything at all. Controlling everything appears to work fine.
Right now I cannot even add new units and half my network falls out. I don't really care to investigate. Just clean up and redo the right way with new extenders.
Remove ZHA, delete /config/zigbee.db, and set up ZHA again. It'll ask if you want to erase settings.
Ahh okey. Its not too big of a job. 30 devices, noted all the entities names. Changing extenders too.. sp120 plugs is horrifying.
If you delete just zigbee.db and then "reconfigure" ZHA without restoring a backup (so erasing network + creating a new one), it'll create a new network whilst keeping all your device and entity names (as they're stored in HA's .storage)
I have a question about sky connect and the usb extension cable. I had a dongle plugged in to my computer running zigbee for years. But Sky Connect's included extender wasn't even long enough to allow me to use it - I had to buy a 6-foot extender. Is this normal? I.e., why was old stick able to work plugged in direct and the SC cannot?
included extender wasn't even long enough to allow me to use it
Did no devices pair or what were the symptoms?
Also, what stick did you use previously?
A question about Zigbee binding: when I bind a switch (Hue dimmer or IKEA Tradfri) to a bulb (Hue or group of Hue), the switch works but ZHA never seems to notice the light has changed state (on/off, dimming, anything). Is this normal / is there a usual workaround for this? Before I knew that binding was a thing, I just had a bunch of automations connecting button presses to bulbs; do I need to go back to that if I want HA to notice changes?
The symptom was no devices would pair. I previously used the HUSBZB-1 combo zigbee/zwave stick
Older Hue bulbs don't support attribute reports (so they can't tell ZHA "dimmed to 30%" for example). ZHA polls Hue bulbs every 3 to 5 minutes IIRC.
Newer Hue bulbs that do support attribute reporting (mostly the ones with Bluetooth functionality included) should properly change the on/off state and brightness in the HA UI. (Color and color temperature attribute reports are not parsed, as the color_mode attribute isn't reportable per spec and so ZHA wouldn't know what color mode the light is in)
ZHA could/should probably catch the events from the remote itself and then poll the lights (I think that's how Z2M does it).
Hmm, were there any interference sources nearby the original location? (Like USB SSDs, active USB 3.0 ports, APs/routers/other WiFi devices, Bluetooth dongles, ...)
M3t4l like a rack
Nothing moved. I unplugged the HUSBZB from the USB port, plugged in the Sky Connect extension to that same port and then in HA, it saw the stick and set up ZHA, but when I would try to add devices, nothing would pair. I went to the store and bought a 6-foot extension, tried that and then it could pair all of my devices just fine
Thanks, I'll look into that. I'm starting to dabble in HA development so maybe that's something I can try to fix myself and make a PR. Do you know whether ZHA will have retained (or can find out) any idea of which devices are paired together, or whether I would need to poll all lights? Or I guess I'll go dig into what Z2M does too 🙂
Hmm, I don't think bindings are tracked at the moment (might be wrong though)
Maybe it was just the location of the SkyConnect. (metal, USB SSDs, APs/routers/.. nearby)
But if it works using a longer extension, that's good.
Is this where I ask about zigbee2mqtt? Cause its stopped allowing devices entirely.
I got a sonoff usb 3 plus e something or other
"SONOFF Zigbee 3.0 USB Dongle Plus-E Gateway"
Ah
Yeah... what I said about bad choices...
Use ZHA instead
Or buy a CC2652 coordinator
Give me some decent hardware choices. I am trying to use my Synology NAS which is SUPPOSED to work but is only giving me headaches for anything but file sharing
cool, thanks
@haughty burrow 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.
done with ZBdongle-e
thank God the seller didn't ask for the return and gave me a refund.
going with the P now
let see how it goes
What was wrong with the E?
not too much info out there
at last, I was able to flash the firmware, configured it in HA, paired an aqara motion sensor, but looks like the dongle is malfunctioning as not getting any sensor data.
I have two sonoff zigbee dongles that seem to do just fine
E or P?
ZBDongle-P
I'm glad to hear that.. hopefully I'll do fine also.
I might suggest reflashing it, assuming it's a claimed supported dongle.
I'm willing to try to help with that, but I don't entirely know what I'm talking about.
I just had success flashing myself and might offer what looks to be accurate for which versions to flash.
Heya folks, I've got a new device today which has support for a certain feature when used through zigbee2mqtt, but not through ZHA. How would I go about adding that myself, or requesting it's addition into the platform?
I think I know what I'm doing, it's just that there is more support for the P.
thanks for the offer, you'll see me here sharing my progress.
what feature?
I'm looking to expose control of the LEDs on a wall socket; https://www.zigbee2mqtt.io/devices/AU-A1ZBDSS.html
that sounds like an #automation task.
but also see the options for the config file.
I'm not sure I follow
Heya, I just got a shiny new SkyConnect. Flashed it through the web updater and then rebuild my ZigBee network from scratch. Everything worked until I restarted HA. Now the ZHA logs show this. https://pastebin.com/kCThDkpw
I've worked it out with some reading around of zigbee2mqtt definitions, but I'm not sure how to make a control for it in the HA dashboard. For reference, it's in the clusters under LevelControl (Endpoint id: 1, Id: 0x0008, Type: in) and the command is move_to_level (id: 0x0000) specifying the level as a value between 0 and 255 (0 being off) and a transition time of 0. If anyone can suggest how I can expose a control for this, presumably with some custom quirks, I'd be super happy 😄
Is there more in the logs?
What machine are you running HA on? (/what installation of HA are you running: Docker, Home Assistant OS, ...?)
That's what comes up when filtering for ZHA, and it's running on a raspberry pi.
2023.2.5
Supervisor 2023.01.1
Operating System 9.5
Frontend 20230202.0 - latest
If you want, you can PM the full logs and I can have a look
Otherwise, you could try to reconfigure ZHA in the UI -> reconfigure the current radio -> ... -> keep radio network settings(!)
if you're running on linux and running HA as a systemd service, it should be like: journalctl -u unit.service
the problem was identified and resolved
In Zigbee2MQTT docker, I'm supposed to see the USB dongle there as a router right? I'm troubleshooting why nothing is working and noticed it's not there. But if I yank the dongle, the docker shuts down cause it says it was disconnected.
It would be a coordinator, and no, you won't see it in the list
oh right, coordinator. Ok so it's not there. When I try to load a map, everything failed to execute LQI. So something is up with it
coordinator was fine, had to reset the first router and add it back into the network. Stuff like that should not happen...
Does ZHA support per-endpoint/per-cluster binding? Case in point, I have an IKEA 5 button remote. I want to use the center button for toggling a Miboxer LED driver (i.e. OnOff cluster binding), but the other buttons for other functionality. Is that doable?
can anyone recommend a good co2 meter?
i use this one: https://www.zigbee2mqtt.io/devices/HS1CA-E.html
not sure how "good" it is... luckily had no opportunity to test it yet. 😄
That's co not co2
trying to measure co2 ppm for exhaust activation
appreciate the forthcoming disclaimer stickpin 🙂
@brave nacelle actually @dim moon is right, this is the CO sensor not a CO2.
@brave nacelle but look at this sensor: https://www.zigbee2mqtt.io/devices/HS3AQ.html
@wet socket thank you! 🙂 checking it out
I am using Zigbee2MQTT on a separate Raspberry Pi. Is it possible to pair a device not with the coordinator, but with a bulb?
@slender yarrow yes, you have an arrow close to the button "Permit join (All)", press on the arrow and select device through which you want to pair through.
When using 'all', does it not work? Do I need to choose a specific bulb?
You don't but you asked how
ok, so there must be a problem, cloud it be an old firmware in the bulbs?
new guy question: Does zigbee (or zwave) require / use/ need a wifi signal in the home in order to work? I don't yet have a smart home but will start building one soon and when I read on the internet about smart homes including zigbee, I see a loose use of terms that would suggest zigbee uses the home's wifi. this confuses me since I also read that either zigbee or zwave requires a separate hub (this makes me think it doesn't care if there is wifi available or not).
I'm asking as I'm trying to decide how many wireless access points I need.
Zigbee does not use Wifi. It can create a mesh.
In fact Wifi 2.4ghz is not good for Zigbee 🙂
Zigbee could care less whether I have a good wifi signal or not is what you're saying. In fact, you're saying a strong 2.4 GHz signal could interfere with zigbee. correct?
This causes me to wonder if my HA will be located in my basement, how close should my zigbee devices be in order to extend it's mesh into my workshop which will be a separate building about 30-40 feet away?
I'd definitely use two outdoor mains-powered devices: one on each building, preferably line of sight, to connect the two halves of the mesh
https://www.metageek.com/training/resources/zigbee-wifi-coexistence/
30+ feet could be stretching it. Zigbee is low power
do you mean like a light switch?
An outdoor bulb in a fixture would be ideal
You have to be careful with switches because a no-neutral switch will not be a router.
thanks. I'm going to make sure my electrician knows I want a neutral wire. I did not know before I started planning this that a no-neutral wire home was an option.
I guess it can depend on where you live etc. My house was built in 1662 (well finished in 1662!) so the wiring is er ...... interesting as obviously wiring didn't exist and 3-4ft thick walls don't make it easy.
Hi, I have the following Zigbee light switch module. I am facing the following issue: Normally it works, but sometimes the commands to turn on/off the light from HA are ignored by the device, but the status of the light is updated (if I turn on/off the light from the wall switch, the status in HA is inmediately updated). Any tip to start investigating?
https://www.zigbee2mqtt.io/devices/TS0012_switch_module.html
Enable debug logging and see what happens if you trigger the switch via Z2M: https://www.zigbee2mqtt.io/guide/usage/debug.html
I am using ZHA, can I do the debug from it?
What coordinator are you using?
EZSP = Silicon Labs EmberZNet protocol: Elelabs, HUSBZB-1, Telegesis
What specific radio?
EFR32MG21 Zigbee 3.0
That's the chip 😄. I mean, what exact product are you using?
Is it on a USB 2.0 extension cable?
puddly you wouldnt touch these chinese knockoff coordinators right?
no, directly attached to the RPi USB port
I mean if it works, it works. Some people have reported really bad QC issues where components weren't soldered correctly.
yeah
That's one of the first things Z2M suggests in the starting guide: https://www.zigbee2mqtt.io/guide/getting-started/
not really fair to link him that since he's using zha
Check out https://skyconnect.home-assistant.io/connectivity/. It applies to your radio too.
My bad. I was going off that link to Z2M to deduce they use it
ok, I will try with the USB extension cable
I tried this Zigbee dongle as it was 3.0 and fast delivery. Any recommendation for a "good" coordinator at this moment?
If you can't send but can receive, it's likely because the coordinator is in a position where it's being affected by interference
Swapping hardware won't do much
ok, thanks, the USB extension cable makes sense
also my WIFI router (with 2.4GHz) is really close to the RPi
I tought was a problem with the end device, considering that I was able to see the status update but the command did not work...
that one is using the new chip which is fine for zha i just wouldnt suggest it due to build quality issues with low-cost chinese stuff from ali-e. if you want a PoE coordinator that might be a better option for you if you want to place it in a more central location
https://github.com/zigpy/zigpy-cli#performing-an-energy-scan gross... do an energy scan
Maybe you could change/lock the channel your WiFi uses
I already did that, Zigbee is using 11, my 2.4 GHz is using 13
puddly is it too much work to add an energy scan option into zha?
It's a problem for both devices, see the linked video. The coordinator won't transmit if there's enough noise. To confirm, can you download diagnostics for the ZHA integration and look for PHY_CCA_FAIL_COUNT?
that would be so much nicer than people needing to use cli and download stuff to use it
Eventually. The CLI tools are WIP.
https://www.metageek.com/training/resources/zigbee-wifi-coexistence/ most charts are only showing 1-11 (cuz it's rare people are using 11+ and they're illegal outside the usa)
kinda seems like you've given your zigbee coordinator every chance to fail bro
"repr": "Counter(name='PHY_CCA_FAIL_COUNT', _raw_value=0, reset_count=1, _last_reset_value=1)"
How long has ZHA been running (i.e. last reboot or integration reload)?
I reloaded the integration 15 minutes ago, and I tried to send the command to the light at least 20 times 🙂
Try the USB extension cable and move your coordinator away from your router, it should help
Based on the following link, I thought the WIFI 13 and Zigbe 11 were good friends:
https://www.metageek.com/training/resources/zigbee-wifi-coexistence/
yeah i derped
still good to do an energy scan tho
and iirc there can be interference across a big spectrum when you're super close regardless
puddly would know more about wireless shenanigans
yes, I will follow your suggestion regarding the USB extension cable and the WIFI router, and will do the energy scan
I'm pretty sure 12 and 13 are not something you want to use in the USA:
In the US, 802.11 operation on channels 12 and 13 is allowed under low power conditions ... Per recent FCC Order 16–181, "an authorized access point device can only operate in the 2483.5–2495 MHz band when it is operating under the control of a Globalstar Network Operating Center and that a client device can only operate in the 2483.5–2495 MHz band when it is operating under the control of an authorized access point"[87]
energy scan last of course
Thanks a lot for your help guys!
I am in Europe, in fact my Router was in channel 13 with the setting in Auto
do you not run into issues where certain devices wont join to it?
I forces to 13 to be as far as possible from Zigbee 11
Ah, my mistake. The AliExpress link you posted earlier auto-redirected to the .us domain for me, which is new.
I had issues in the past with some ESP32 (NSpanel SONOFF) devices, maybe that was the reason...
i would bet money on it
i use zigbee channel 25 and put my wifi access point using 2.4ghz channel 11 farthest away from it
but i also chose this based on interference from neighbors
yeas, that was my last resort, as changing the WIFI channel is much easier that the Zigbee channel
word
I assume that in order to change the Zigbee channel I need to re-pair all the Zigbee devices right?
See https://github.com/zigpy/zigpy-cli#changing-the-network-channel. It's not seamless and if you're in a noisy environment, some routers won't receive the broadcast to change channels. But usually like 80% of devices migrate, depending on what brands make up your network.
I can't seem to bind or unbind ZigBee devices (I tried just unbinding from the controller, as well as binding to a zha light group), and nothing is in the logs, but a red exclamation point shows up after a minute or so; any idea where to look to debug?
Make sure your device is awake. If it's a battery-powered device, click buttons on it before/during/after trying to send any command to it
is there a downside to switching hue lights over to zha? do i lose the ability to update? they lights i had being spotty are much more stable on zha thats for sure so far
I have a problem getting a conbee ii stick to work with a fresh install of HA on a raspberry. I have an error log, but no clue how to read it. Anyone willing to give me a hand figuring out what the problem is? (And how do I share an error log?) The stick is recognized, I have put it on an extension USB to avoid interference. That's about as far as I'm getting.
You can upload the full error log to https://dpaste.org/. Make sure you've not installed both ZHA and deCONZ.
Thanks. This is the error log: https://dpaste.org/RTNQ1
Do you have the deCONZ addon installed?
no, I haven't
So just Zigbee Home Automation?
correct
Can you double check? The error says that the coordinator just stops working during startup. That usually means that something else is trying to access the serial port.
there's no deConz in my add-ons
And no Zigbee2MQTT?
Adguard, DuckDNS, File editor, NGINX, Node red and Terminal&SSH
that's all
no automations in node red yet. In case that matters.
How old is the Conbee?
a few weeks
it worked fine until my SD failed. Fresh installation on an SSD. Wont install on the new installation.
Oh, that would make sense then
The Conbee can completely crash due to environmental RF noise
Try a second one 😆
You probably need a powered USB hub
I'd assume that the SSD + ConBee is more than the Pi can push, and possibly the SSD alone is
Lost count of how often "Zigbee" problems have been solved by adding a powered hub...
well darnit
The Conbee specifically can just "stop working" due to RF noise, with SSDs being the worst offender out there
I have an extra pi laying around here. Any use in that? Trying to think of some options that won't come down to 'buy more stuff'
Put a metal pot over your SSD and see if that helps
Or put the Conbee in a metal pot, just to see if it starts up
you can search conbee here and see the plethora of issues people have with them and follow ups from people happy they switched to another coordinator
The only other thing I can suggest is trying to flash newer firmware to the Conbee (via Phoscon or https://github.com/dresden-elektronik/gcfflasher), if yours shipped with something very old. But it doesn't seem like your Conbee is disconnecting, just resetting.
there go my dreams of a tinfoil case for my Zigbee Pi setup
dont-let-your-memes-be-dreams.jif
no dice. Bummer.
ever-so-slightly off topic, running from ssd is a better option than sd card, right?
Yes
What would be a better alternative for the conbee, any suggestions?
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.
Skyconnect or tube PoE coordinator if you’re using zha
thanks!
I tried that but no avail; are there logs for this anywhere?
I connected the ZigBee dongle through the USB extension cable and now the situation is even worse, 90% of my light devices are showing that problem (light state is updated but commands are not received) before it was only one of them 😅
Is the USB extension cable shielded?
If you have multiple to choose from, try another. Some cables are worse than others.
Z2M: I have IKEA curtains (TREDANSEN) with the open close buttons. I used to be able to push open button while it was opening to make it stop but that suddenly no longer works. If I press down button while it's closing it stops like it used to. So to stop it midway while opening it I have to first press open, wait to desired level, then press close close. Ideas?
I will try, anyway I am considering replacing my chinese ZigBee dongle to another chinese bit from a well know brand 🤣
It is a good choice?
no
I am referring to the EFR32MG21 version. In ZHA webpage appears as recommended:
https://www.home-assistant.io/integrations/zha/
the e dongle is okay for zha but it's usually not suggested
that is an out of date list unless it's been updated recently
that's why the linked list above is pointed to here
The Sonoff v2 stick is no worse than any other based on the same chip, from what I've seen
The CC2652P (v1) is the only one with rare settings corruption issues
i wasnt aware they had a v2 of the p dongle
V1 is the CC2652P, V2 is the EFR32MG21
I'm not sure why they called them V1 or V2, they're completely different sticks
yeah
I just got a V1, I had to flash the firmware, the one it came with wouldn't pair anything at all
Flashing it involves taking it to pieces a bit at well
it's suggested to upgrade them to latest stable before using them anyways
no it doesnt
you can flash with python without taking it apart
oh, I wish I'd know that before 🙂 All the guides I found involved taking the case off
how many times have you seen this btw? like a handful or quite a bit?
Dunno, maybe 10-15 times
But it’s using an older chip same one used in their Wi-Fi bridge so it’s not a great choice right?
I think they're both series 2 chips (EFR32MG21), not sure which specific version is in each
Tube has said before it was the old one I thought
tube you have a notification for your name?
the MG21 has been out for over 2 years at this point so 🤷🏼♂️
Anyone using the MG24 yet?
why lol
feel like it's more end device centric than coordinator
unless just passing packets for mult-protocol
So totally un related. I flipped a bunch of circuits over the weekend (as they aren't well labeled) while putting in some inovelli switches (and swapping out an old one
my routing tables got all screwed. unicast commands would fail, group would work, then unicast would work then shorty after fail again
end devices that do stuff - lock, shades, valves would not respond to commands unless manually triggered first some how
turned off source routing this am and am now mostly back to working. the question is do I turn source routing back on 🤔
Odd. Have you tried restoring a backup? That will leave the current network, which should clear everything
well in between I tried a 7.2.1 build and then have since rolled back due to the issues I was having. I think it was more the routing devices than coord.
I was contemplating killing all the power to the house for a bit
so in theory the coord was wiped when I did those, it restores backup as I don't version the app right in the fw builds.
Did you program it over serial? That never clears USERDATA for me.
yes, yea user data you have to use a specific command with commander I did it on my old coord successfully the other night - it reverted it back to it's original ieee
oh I get why you said that now.. with newer FW unless I update the APP version to a greater number than the last installed in the FW build the network data gets wiped.
run bellows info pre flash and after to confirm
Interesting
Hello i am trying to readd a Philips hue motion sensor. the "9290012607" But each time it joins using zigbee2mqtt it joings and is instantly disabled and doesnt work
Also the LQI is shown as N/A and the power as ?
Possibly. Go to a router and click the three dots -> add device via this device -> then reset your sensor
They might jump around, but at least for older Aqara sensors this helps.
Do note that older Aqara sensors are a bit picky about their parent
With ZHA, you can also force a refresh of the network map. Click the button in the top right and, depending on your network size, the next time you reload, you'll see the current status.
would a smart electrical outlet work just as well?
If it's outdoor-rated, it won't hurt. I think a bulb will have better range.
ugggh. I told my electrician that I wanted LED lighting throughout with smart light switches and 'dumb' lights.
That's not a bad combination either, as otherwise you'd have to have both smart switches in dummy mode and smart bulbs (if you want color temperature control).
maybe not the right channel for this question, but the Hue bulbs I'm seeing look like they are designed to fit a standard incandescent fixture. Are there others?
Most zigbee bulbs are normalish in size.
I always forget lightbulb sizing rules, but there are a lot of options for “normal” sizes, because there’s a lot of consumer demand for them.
Any recommended zigbee vibration sensor to detect if my dog scratching a thick metal door? from Aliexpress preferred
probably the cheap aqara ones
I would be surprised if the aqara ones worked for that, depending on how big the dog is/how loose the door is. It often stopped detecting even my washing machine spinning. Maybe they're configurable though and I just couldn't figure that part out
Aqara devices are notorious for not playing super nice with other zigbee routers.
My motion detector falls off network regularly. It hates the nearby ikea light bulb.
When working with zigbee groups, is there a means to identify why the group is not generating an entity? I redid my entire HA zigbee setup in favor of zigbee groups, all was fine, except my son's room which has two zigbee devices in it (arguably the simplest setup). Yet no matter what I do, it never shows up as an entity, thus I can't tag the group in an automation. Wildly confusing.
zha or z2m?
zha
even if I create a group with the switch in, it doesn't show up (no smart plug). If I create another group with the smart plug but no switch, it still doesn't show up. Yet I added two dozen other devices to various groups and they were all solid on the first try.
I thought maybe one of the devices was "poisoned" or something so tried to work with them individually with groups but same thing.
zha groups need a minimum of two devices or they wont create iirc
feature not a bug
they do that cuz zigbee groups do a multicast instead of a unicast per device so one device being in a group is worse than just calling it directly
that part makes sense - I had trouble finding an exact number on it but a group would imply it can't be to a single device
but i use z2m so i have no experience actually configuring zha
it'd be helpful if it, ya know, said that though lol
the docs are editable i think
Even still, a warning that you're under threshold and the group won't fire would make the most sense.
not sure who to report that to :/
I used to have three Zigbee networks (Hue x2, HA x1) but collapsed one of them (Hue). I am now in the slow process of collapsing the Hue one and managing everything under Z2M. If I introduced the Ikea hub, I would just put it in the room where the 5 covers are. I was hoping someone who currently has the Ikea hub would comment on the reliability of the blinds when connected to the hub.
actually I wonder if it requires 3 devices
i dont believe so
I just added a bogus smart bulb to the group and it created an entity
when I added the group with only his 2 devices, no entity was created
might've encountered a fun edge case bug
eh I'm able to repeat it - 2 devices in a group, no entity. 3 devices in a group, entity created automatically
i'd open an issue with the blinds on z2m repo if you think it's an issue with z2m instead of putting them on a hub and causing more interference
i'd restart hass and confirm it's still happening just for funziez
That's a good point, the problem has been happening long enough that HASS has definitely been restarted.
lol
Same thing
I'm on cold medication, ie: not firing on all cylinders.
Makes no sense - another group is only 2 devices and works fine. But this particular group with these particular 2 devices, no dice.
@mellow geode you around to help with a zha group possible bug?
I wonder if it needs a minimum of two of the same type of device in the group
What two devices are in that group? One light and one switch?
@oak pike can you crunch all that down into one comment for ease of diagnosing
1 switch, 1 smart plug = no dice.
1 switch, 2 smart plugs = good.
2 smart plugs = good.
Yep - if I start a new group, 1 random bulb, 1 random plug, does the same thing, so it's not isolated to these "devices" in particular but their types, it seems.
ah look at that
so minimum of 2 devices in the same domain (e.g. type)
I guess that's the minimum requirement, as adding 3 devices (2 of same type, then 1 random of a different type) still works in the group fine.
Yeah, I'm not sure if that's a bug or intended though (to file a bug: https://github.com/home-assistant/core/issues/new/choose)
But for two devices, it's not really ideal to create a Zigbee group anyway.
A HA light group(?) might also work just fine and doesn't cause a lot of broadcast traffic.
So for Zigbee groups, every device gets the on/off/... command. The ones that are not part of the group, just ignore it.
This is of benefit if you have a couple of devices in each Zigbee group, but four two devices, you could just use a HA group (which then sends two unicast messages only to those devices).
My physical wall switch seems to generate it's own parent id and user id is always null/none.
Is there another way to determine if the automation was triggered by a physical button press or by another automation?
@dull bramble doesn't it notate that in the history section?
I don't think so.
@mellow geode I'm tempted to assume it's intended based on how this is worded. I read that as it being the minimum threshold required.
I was hoping to set a condition that the state change was from a certain id or something
@mellow geode I'm inclined to believe that one multicast call on the network is arguably lighter than two single direct-to-device calls (unicast?) if the threshold is 2 devices of the same domain. Otherwise I'd assume that the threshold for minimum device count would be at whichever point multicast becomes more efficient on the network call.
How many devices do you roughly have one your network?
One broadcast call (for two devices) will cause a lot more traffic than two unicast messages
I'd say in the neighborhood of 20-30 individual devices. I'd have to head count them.
I'm not sure how it works exactly, but certain Zigbee stacks even duplicate a broadcast call up to three times, so they can make sure it's sent. (ACK'ing for broadcast calls exists I think, but isn't really great?)
But still, it causes a lot more traffic
For two devices, I'd just use a HA group if possible
It's funny because I went down the group rabbit hole as per a suggestion on HA subreddit. I was having situations where like, switch + 2 smart plugs, you hit switch and only 1 smart plug would fire. Turn off, back on, and both would kick on. It was like one of my plugs would be in a deep sleep and hitting the switch twice would get it to fire on 2nd try, but of course the expectation is it would work on the first try.
for me even having two devices in a zigbee group with z2m is better than calling them in a lightgroup in hass
they are "in sync" more
Hmm, I can turn on/off like 20 bulbs with unicast calls. It takes ~2 seconds (so a slight delay) but everything still turns on/off properly
Might be worth looking into your network performance then (if multiple calls are lost)
Also, what coordinator are you using?
Another example - got 3 kids, each have a smart plug tied to LEDs under their beds. Consistently 2 of the 3 would kick on. The fix? Two triggers -- one at 7:30:00, another at 7:30:05. I felt that was silly as I was doing that kind of crap with more and more automations when I was noting misfires. So... I wound up on groups.
Nortek zigbee/zwave stick
this is really an interference issue disguised as a hass group issue
ewwwwww
i'd just get a good coordinator man
that thing hasnt been suggested for like 2+ years
