#zigbee-archived
1 messages · Page 83 of 1
addons are "appdaemon", "duck_dns", "file_editor", "filebrowser", "home_assistant_google_drive_backup", "matter_server", "mealie_omni", "mosquitto_broker", "samba_share", "studio_code_server", "influxdb", "grafana", "home_assistant_google_drive_backup_influxdb", "esphome", "ssh_web_terminal", "homebridge", "docker_wyze_bridge"
i restarted back into regular non-safe mode and things do seem to be fine, for now at least
Hey! is the SkyConnect recommended nowadays? Or are there better options?
TBH, I've been setting up a friend's home with a sky connect, and I am not too impressed, but it may be environment related..
hey all - any suggestions for a zigbee stick for a HA raspberry pi installation?
https://www.amazon.com/gp/product/B09KXTCMSC/ - would this still be the go-to?
it's what i use now for another install
virtually every currently recommended hub uses the same chipset, but only skyconnect directly funds the development of homeassistant. it is highly unlikely that the skyconnect performs worse than other products. so yes, the skyconnect is still recommended nowadays, nothing has changed.
What issues do you have with it? Works just fine here
I just noticed t he Zigbee ZHA visualization shows some dotted line connections with arrow heads between nodes. These seems to only between router nodes, not end nodes. Are those new? I've never noticed them previously. What do those indicate? Is there a comprehensive guide the visualization? Al lmy nodes are green except one router which is gray
There was a PR on the frontend repo recently that added that.
I think the PR description explains some of those new visuals a bit
OK .. thanks I'll check it out
IMO, you can mostly ignore the visualization if everything works as expected
I figured out the gray node was selected 🤦♂️
The range seems to be quite short, compared to the experience I have with my elelabs stick. But again, could just be the environment or bad devices (the endpoints, not the stick)
Why is there just no alarm sensor that’s zigbee. I’m feel like there is a big gap in the market to make a zigbee alarm pir. Like you get with Pyronix or Visonic kits
There's several zigbee PIR motion sensors. None of them are inherently 'alarm' sensors because they don't include any onboard logic
Update - Tried to add the bulb again and it knocked off another device and started the error storm before it was added. After adding it, I cycled it and the mesh crashed. I killed it...and tried adding a smart plug (to see what would happen) and it went right in without any drama. Not sure if it was the specific bulb or all Phillips Hue bulbs.
Hi everyone
I have a new zigbee device, an EV Charger called Amina S that can be controlled thru ZB instead of cloud dependece as most of the others so called smart chargers.
Not surprisingly (as it think it is the first charger with zb support) it will need a quirk to fully work in ZHA.
The very basic works out of the box, as on/off and energy meters, but a lot of attributes is missing.
First I thought I maybe could find some documentation or guide to create a qurik by myself, copy something else as a template etc. But serveral days of searching make me belive that creating quirks is equal do dark magic or cold fusion. A lot of talk, but no stuff 😉
Is there anyone who have a link to a guide or similar, or is it just to wait it out until someone gets feeling and look at my Device Support Request in github?
I can't help you with this but that's a pretty cool product!!
Hope it comes to the US at some point
Yeah, the idea is brilliant. I really hate products that depends on cloud connection, but I still want some smatness.
Do you have documentation about the device's nonstandard clusters, commands, and attributes? Or have a manufacturer hub that the device can connect to?
Yes, I have the documentation from manufacturer and included this in the Device Support Request.
Document is here
https://doc.clickup.com/9004130215/p/h/8cb07x7-18308/c750786359b035a
What I understand there is just one cluster that is Amina specific.
for the other clusters there is a lot of attributes that I can see under ZHA Manage Device, but doesn't get any Entities.
I’m having trouble again. My HA install was working just fine, but recently it started getting flaky again. I have two primary scripts: one to turn everything on in the morning, and one to turn everything off at night. They will both fail to get everything in the script. For a while, the last device I added simply refused to get turned off during the off script. It drove me nuts. But if it was just that I wouldn’t mind. Now it’s whole banks of devices.
These devices aren’t unavailable either. I can almost always turn them off manually, but the script keeps missing them.
What should I look at first?
The EV charger pretends to be a light bulb, where you adjust the brightness between 6 and 32 to control the amperage 😢
at least they document it 🤷🏼♂️
<envisions accidentally grouping it in your "disco party lights" group>
i had this issue when too many commands were being sent through a single node. You can either put in a delay and send commands at different times or try splitting devices up between router devices.
I have the strangest thing, im running zigbee2mqttt on a NUC with a Sonoff stick(USB). when i unlug the rj45 on the NUC the zigbee devices stop working
could this be some setting?
That’s definitely a possibility. I already have a 1 second delay between every command, which I would hope would be enough. In fairness, it’s about 40 things that are turning on.
By router devices do you mean multiple zigbee controllers? I thought I could only have one per network.
I also remembered that I have a 10 second delay in the very middle of my script, in addition to all the dozens of other 1 second delays
I mean a mains powered device that works as a repeater. I use the add devices via this device.
I’ll need to check, but I’m pretty sure most of my devices are repeaters. At least 40 of them are outlet plugs
What i did is paired most of the devices in each room to a repeater in the room and that one talks directly with the main stick
How is that accomplished? I thought the network created its self
basically each room has a device that everything in that room pairs to
Open up one of the mains powered devices. click on the 3 dots then add devices via this device
But don’t they still create their own mesh?
it depends some dont like to let go of what they initially paired to
Also, some of the devices are pretty much within sight of the primary cooridnator
like aqara
I can see the map of my zigbee network and they’re all connecting to nearby devices
how many devices and what stick are you using?
to do this youll need to reset whatever device youre re-pairing. You factory reset the device itll go into pairing mode when its re-paired it will keep all the same name the only thing it loses is the location
Yeah, I like idea that they try to use zigbee standard for most functions.
But just this "dimmer" is one of many cluster/attribute stuff that still doesn't get accepted by ZHA and get an actionable entity 😭.
The manufacturer specific cluster that handle some alarm messages etc I didn't expect to work out of box, but I actually hoped that the ampere adjustments (aka dimmer 😎) would have worked.
Ehhh, they should have used a custom cluster for everything. This isn't a bulb and can't be treated as one ("all timing related stuff may result in the car disabling charging"). Now it's going to be at the mercy of any end-devices that send group commands to control bulbs (i.e. your IKEA dimmer will control your charging current 😄).
ZHA won't create entities for every ZCL attribute and command (otherwise, every device would have many hundreds of entities, most of them useless). You'll first have to fully map out the custom cluster commands and attributes. After that, you can create a quirk that exposes functionality.
about 45 identical Zigbee plugs. The stick is a POE powered coordinator I can’t remember the brand but I’ll look it up. I’m using ZHA
It’s the SMLight SLZB-06
@austere patio could I trouble you for some insight? I’m not sure why things stopped working. I didn’t change anything that I can think of.
Luckily I don't have any dimmer remotes, but even if had I belive I would need to bind to a group?
Either way, I still can't find any guide or similar of how and end user actually can create a qurik.
In my desperation i started to chat with Copilot to see if it could help me a bit forward, and after some discussion it provide this, but just for one cluster and it attributes and commands.
Is Copilot even on the right track?
@soft mirage I converted your message into a file since it's above 15 lines :+1:
Hi. Can I ask for help in configuring the zigbee usb adapter? I don't know which type of radio I should choose.
I use this adapter:
https://www.aliexpress.us/item/1005006039319431.html?gatewayAdapt=4itemAdapt
That's not a coordinator and won't work as one.
lol
It could be a bad or defect device that spams your ZB network with messages.
Read an intresting article how some guys in sweden did to idenitfy suspects in their zbnet by logging in grafan the number of messages a device sent.
Seemed smart.
Here is the article (in swedish) https://automatiserar.se/forbattra-zigbee-natverkets-forutsattningar-med-grafana/
You bought a Zigbee router device
You need to buy a coordinator
so this one will work as signal extender ?
Yes
Aka router in Zigbee terms
But you still need a coordinator to make your mesh actually work.
that make sense. I used it this way with my hubitat hub. Now i want to start over with home asistant
Hmm. I could definitely see that. That was my main problem when I bought a ton of plugs with power monitoring. They were spamming the hell out of the network. But this feels different this time. That resulted in unavailable devices and everything just ground to a halt. This time, all the devices are completely controllable. The script just…stops.
Hubitat has it's own built in coordinator. You can still use this device, but you'll have to buy a coordinator first. Something like a Sonoff Dongle-P or something.
- "blog.ceard.tech/2019/11/zigbee-and-home-assistant and ..."
- "github.com/Koenkk/Z-Stack-firmware/tree/7398d834eb3a790..."
- "I just set up some addons for doing Firmware updates to TubesZB ..."
- "For Zigbee and WiFi coexistence see [this article](supp..."
- "New video from home assistant demonstrating USB zigbee interfere..."
- "If you're setting up Zigbee2MQTT then: 1. Upgrade your CC2652 to..."
- "Bellows - Zigbee Channel Scan pastebin.com/bk1hN0Et"
- "Fixing a corrupted SQLite database isn't something that can easi..."
- "HUSBZB-1 fw update cheatsheet. SSH into your HA machine and then..."
- "github.com/zigpy/zigpy-znp/blob/dev/TOOLS.md#backup-and-..."
- "A good write-up of how the Zigbee mesh works: linkdhome...."
- "community.hubitat.com/t/xiaomi-aqara-devices-pairing-ke..."
- "Reddit - homeassistant - How to update your IKEA or Ledevance f..."
- "From github.com/zha-ng/zigpy-znp/ pip install git+https..."
- "For device options, see www.zigbee2mqtt.io/supported-de..."
Huh... I thought we had a coordinator list in the pinned... 🤔
There used to be one, but it was outdated
Ahhhh, gotcha
Damnit! I keep forgetting to reach out to him... Thanks for the reminder... again lol
I just checking dongle from sonoff. which version is better, P or E ?
What does it show in the trace for the script?
P
???
I’m a newbie. I don’t know how to see that
The E is better for ZHA, for some value of better
Better to just not buy Sonoff
The P has known hardware and firmware problems
The E is mostly free of those, or was, but maybe isn't any more
I just found it…
Kinda off topic for here, but go to Settings>Automations & Scripts>Scripts>Choose your script and click TRACE in the upper right hand of the screen.
Yeah it says it stopped because a device did not respond.
Huh... good to know. I'll update my list.
How do I get it to continue even if one device fails?
There's a continue on error option
#automations-archived can tell you all about that if you don't spot it in the docs
You'll need to edit it in YAML mode (3 dots, Edit in YAML) and at the very end, add continue_on_error: true (https://www.home-assistant.io/docs/scripts/)
I just tried this and it gives an error when I try to save: extra keys not allowed
Hop over to #automations-archived
I’m there
Ok, so 45 ThirdReality plugs. How many other routers do you have (plugs, switches, bulbs, etc).
none
those are the only zigbee devices I have on the network. oh except for two Aqara buttons
Z-Stack support is no worse than EZSP, I'd put them on the same level
When the script fails, have you looked in the logs to see if there are any error messages? What I think is happening is that when the script runs, it sends out a flood of commands (even with the 1 sec delay between calls). If there is any kind of interference (which because we're talking about arcade machines makes some sense), some of the plugs may not be receiving the commands.
I’ll check for the errors the next time it fails (probably tonight at closing). And yeah, interference is real bad around here
Where am I looking for the errors?
It will be a message along the lines of <EmberStatus.DELIVERY_FAILED: 102> (or something similar).
I mean where do I find those?
Settings>System>Logs
Ok I'll look there
My guess is that you'll have a couple of those. If that's the case, I'm not 100% certain how to reduce the interference since you are already on a POE coordinator. Maybe moving it to a different location or something along those lines.
Yeah that’s why I got that. I’ve positioned it to the best possible location - though still not ideal - to reach all the devices. I don’t think I’ll do much better. I just wish I knew why I’m able to then send a command to the devices and they respond right away…
Probably because of that script... You might want to increase the delay a bit and see if that helps.
That's my thought at least. Can't say I've ever seen a script like that before lol
No more than 16 requests are sent out at a time with Z-Stack (unless you changed the default) so the total number of outgoing requests shouldn't matter. If even after 5 retries a device isn't reachable, something is wrong routing-wise in your network. Are the same few devices always unreachable? Or is it random ones?
It changes day to day. One of the newest ones I added seemed to always get missed at closing. But it does seem to break down around the same 3-4 machines.
I’ve added some much larger delays, and also the continue on error line to each call in the script. I’m curious to see how closing goes tonight.
It's still only experimentally supported. Do with that what you will. The website has a list of recommendations.
How often does the LQI stuff update in ZHA?
What LQI stuff are you referring to?
Link Quality Index in the Visualisation bits.
I'm also confused about what it means - cos 188 = yellow line, but 60 = white line
but 91 = red line
are there any resources on using an ezsp ncp as an end device or router? I'd like to experiment with exposing some values on my server as a set of zigbee endpoints using an SL zigbee dongle
Hi, I migrated my Z2M from Unraid to Proxmox LXC, did a straight copy from all configiration files as well as the database. When starting up Z2M on my new Proxmox, I have 0 paired devices 😦 why? Same stick, same hw, same everything
Permissions maybe, or you didn't copy everything over
I'd guess you missed the coordinator backup
Nope, it’s there. What about PANID/network keys?
That's all in the config and backup
If nothing shows as paired then you missed the database or the coordinator backup, or both
ehm, lol.. tried again, now TWO of ~60 devices appear? wtf 😄
Ah.. it takes some time to get every device tied to it, case closed. Thx Tinkerer
Am I right?
For me when I migrated everything appeared at startup, as expected
Something smells bad here, only 3 devices appears, tried multiple backups from my Z2M Unraid container
I posted part of it in the automations channel. I'll see if I can find it now. It's very basic. Just turns on a device, waits a second, then turns on another device. Does that 45 times or so. Not really anything to optimize
Post the text, not image of the text.
@shell frigate Please use a code share site to share code or logs, for example:
- https://dpaste.org/ (select YAML for the language, and consider picking a longer expiry)
- http://pastie.org/ (select YAML for the language)
- https://paste.debian.net/ (you guessed it, select YAML as the language)
Please don't use Pastebin, since it can randomly add spaces to the main view. Please also don't share text as images since it makes it harder for people to help you. Remember that others may have colour blindness, impaired vision, etc.
So - I'm trying to compare two antennas on my coordinator....... Here's the logged LQIs:
https://imgur.com/7SdFeX0
how can I tell if its better or worse? lol
ah - direct link: https://i.imgur.com/7SdFeX0.png
I changed the antenna at ~9:12pm
Hi, how can I check the link quality for each device and also how can I see a map like that https://i.imgur.com/gprHEVj.png ?
I'm using ZHA
hi are the Aurora AOne Zigbee 13A Plug-In Adaptor Smart Socket (ZigBee 3.0) a router or not
I'd expect so
The only mains powered things that aren't are 2-wire switches/dimmers, Sengled bulbs, and the Aqara FP1
is there anywhere to check before I buy
if they work I could replace my eve plugs that are thread and just have zigbee devices and control them with ha
They'll work
I'm trying to do everything from ha and replace my hubs
my current setup is as follows
Apple tv 4k > 5x eve plugs
aqara m2 hub > aqare h1 (no neutral), aqara wireless mini switch
I want to remove the two hubs and use ha to control them and thought replacing the eve plugs with zigbee alternative would be best
I'm new to all this and want to start using ha in the future
Buy Innr plugs, they do ones that report power use, and ones that don't, and are well known to be solid routers
What coordinator are you using?
The Sonoff P
For that coordinator, LQI is just rescaled RSSI. The graph is only measuring the RX signal strength on the coordinator side, not the actual quality of the link (i.e. retries and packet loss).
ah, right - so its only an RX signal strength?
There's also no noise floor to compare it to so it's really hard to say much from LQI alone with the -P
I would pick some device with which communication is unreliable and see how it behaves with/without the antenna
hmmm gotcha.
right now, it seems to work just about everywhere
I mean, its tough, as there doesn't seem to be clear winner / losers in the different antenna changes.... One is the stock - which I think is 3db gain? The second one I changed to is a 10db gain antenna
If you don't have a difficult environment it probably doesn't matter 😄
probably lol
note that antennas don't magically get more gain somehow; they work by making the signal stronger in one direction and weaker in a different direction
typical dipole-like antennas with more gain means the signal is stronger horizontally, and weaker vertically
the advertised gain means "in the direction that this antenna is designed for, the signal is x dB stronger than a theoretical same-power-in-every-direction antenna"
will this help me make a custom quirk? https://gist.github.com/Bluscream/fd5f6502a372e7080c55107f7c029056
so if I use ha could I use the same automations
when I leave home turn off tv plug and laptop plug
when I arrive home turn on tv plug and laptop plug
10:00 turn tv plug on
0:00 turn tv plug off
9:45 turn off fan
30 minutes before sunset turn on lights on
Sure, and better ones than those 😛
yeah, all of those things are possible with HA automations
HA allows you to use the sun elevation, which is usually better than a fixed time offset
(unless you live near the equator when it matters less)
but problematic near the poles, where the sun might never hit the elevation you use as the trigger, or never set at all ;)
those are just my automations with apple home
HA's automations can use, and be based off of, anything HA can integrate with/know about
For instance, only turn the TV plug off if you're not watching the TV
Or turn it off when the room isn't occupied and the TV is off
Or whatever you can think of
cool
i cant even find the device identifier TLSR82xx in the submitted quirk https://community.home-assistant.io/t/how-to-listen-for-button-presses-on-zigbee-remote-control/722016/4?u=bluscream
seems like others have similar issues :c https://github.com/zigpy/zha-device-handlers/pull/2646#issuecomment-1915438550 even with z2m https://community.home-assistant.io/t/eglo-connect-z-with-home-assistent-cant-find-a-way-to-make-them-usable-with-my-home-assistent/378439/9
Has anyone else an issue with left-right longpresses on an Ikea Remote not working anymore after the recent Z2M integration update?
That's at least the first thing I noticed today, not sure if there's more. Haven't restarted Z2M or Home Assistant yet tho.
In the Z2M logs it does print an "ArrowRelease" action, but it never comes through to my automations somehow
Even after restarting Z2M and HA it won't work 🥲
On 1.37.0? There's a known issue for Ikea remotes that's fixed in the dev branch.
What options are there for Zigbee remotes that take AA or AAA batteries? I think the only one I've found is the Ikea Styrbar
The only one I know of is the Ikea one. There might be some Tuya ones, but Tuya Zigbee is... meh (imho).
Can I get some help? I have a NAS running homeasistant on a VM. I need help with my skyconnect dongle. It was working previously in my odroid XU4 but Im having trouble migrating it to my terramaster NAS. I have an error after I go thru the migration wizard. "failed to connect".
I figured it out. For anyone with the same issue you need to create a USB Passthrough device on your VM. Controller type: pixx3-uhci Device: Sky Connect. Device Oder:1002 Hope that helps.
I've asked this on #integrations-archived and was advised to come to this channel.
I have Z2M running in HA with a slae.sh coordinator on /dev/ttyUSB0 and thought I'd play with ZHA by adding a Sonoff TI-based Zigbee dongle on /dev/ttyUSB1. When setting up ZHA, HA offers /dev/ttyUSB1 as a coordinator choice but subsequently fails to connect to it. Serial speed defaults to 115200 and flow control to none.
Any ideas why this might be so?
Is it showing a /dev/serial/by-id/[device] option?
As I mention in the other channel, what you are trying is doable. Just verified through a few other threads.
Yes. /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_062dc740f63aec11a3079e957a0af07f-if00-port0
Try that one
Okay
I just plugged my Sonoff P in and can confirm it connected with @forest cobalt suggestion.
The full path gives me the same error message. I left the link speed and flow control at their default settings. Should I try a different physical USB port?
yes and avoid USB 3.0
See pins here for why.
are you using the usb ports directly on both coordinators?
that's like inviting two ex girlfriends to your wedding
Love the analogy, I believe he is.
i think it's wrong cuz technically there are only two coordinators
so it's like inviting two exes to dinner
https://youtu.be/tHqZhNcFEvA 30 second clip showing the usb 3.x interference on a zigbee network
From my understanding, it's still doable as long as they aren't the same devices. If both are /dev/serial/by-id/ it can cause a conflict.
That last part makes no sense.
/dev/serial/by-id/... is just a symlink to /dev/.... Check with ls -l /dev/serial/by-id/.
It’s the opposite you want to specify the full path man
I said from my understanding...
Moving the dongle to another port did not help though my sole 2.0 port is the slae.sh and the rest are all 3.0.
And I am using the full paths even though, as @Impact points out, it is just a symlink to /dev/ttyUSB*
so you are indeed using the ports themselves not usb extension cables?
cuz that's a no no
The slae.sh is on an extension cable but not yet the Sonoff. I was thinking I'm not at the point of experiencing the crosstalk issues yet but will dig around for an old USB 2.0 hub to use as an intermediary tomorrow since I don't have any USB extension cables at this time.
It should still install the device. The extension cables are suggest to reduce interference.
nah sometimes the interference is so high the stick just doesnt connect to zha/z2m
not gud yo
Another experiment would be to temporarily put the Sonoff on the extension cable and see if the installation succeeds
either way i wouldnt run multiple meshes
It won't hurt to test.
but i also have multiple wifi 2.4ghz APs so i made sure to pick a zigbee channel that was furthest away from interference from my wifi 2.4ghz AP that would bleed over into it
Absolutely. It is just to experiment.
I run two SLZBs on Z2M and to test, I plugged a spare Sonoff P directly in my NUC. It added via ZHA and 2 networks are running. Just additional info for you.
Switching the two coordinator locations did not help. I will try reflashing the Sonoff tomorrow though the two were at the same firmware level the last time I checked.
Thanks everyone
Hey. We just got an Aqara T1M (https://www.aqara.com/eu/product/ceiling-light-t1m/)
I am running Z2M as my Zigbee Home Assistant controller of choice.
The light main light and the ring light connects up fine.
However, when i am using transitions on the main light it seems not to respect the seconds i provide, this is both using scenes or using light.turn_on directly.
From looking around i cant find evidence it should not support it.
I have also tried tinkering with the Z2M property transition. And it also looks like from the docs that it should support it:
https://www.zigbee2mqtt.io/devices/CL-L02D.html#transition
It feels like it have some sort of transition, but it kind of maxes out on ~5seconds. So setting values to 0 seems like relably make it turn on off instantly. But i would like slower transitions, like with all my other lights.
Any ideas to what i might try, or what could explain it?
It's not uncommon for the max transition to be short, that's a hardware limitation usually
You'll need to have a script that does a series of no more than 5 second transitions
Thanks for the reply!
Any ideas on how we can figure out what that max transition actually is?
You appear to have done so already
Start at 4 seconds, and then work up in half second increments
@opal marsh I converted your message into a file since it's above 15 lines :+1:
- The dongle is on a USB extension cable?
- You're on a channel clear of WiFi (yours and the neighbours)?
- What Zigbee router devices do you have?
- What are the make and model of those problem sensors?
-
Yes, USB 2.0 port of the Pi > USB Extension Cable (2M) > Zigbee Dongle
-
How do I check for this? I'm asking because if I manually use the buttons from within HA to turn on/off the lights, for example, it works instantly but the movement sensors detect me (they flash when I move in their range) but don't report back to HA.
-
A few spotlights from Lidl, a few mains powered switches (circuit switches) TS0001 by _TZ3000_zw7yf6yk; and a router in my attic SA-003-Zigbee by eWeLink, this one sits in the middle of the house, in the attic while the rest of the routers are spread out.
-
TS0202 by _TZ3040_bb6xaihh; TS0202 by _TZ3000_lf56vpxj two types of movement detection sensors, both battery powered and per AliExpress "ONENUO Tuya Zigbee Mini Smart PIR Motion Detector" and "Tuya Zigbee PIR Smart Motion Sensor"
And as for the ones that connect via ZHA but don't expose anything:
"Color: 5.8G Zigbee Ceiling - Tuya WiFi /Zigbee Human Presence Detector Smart Human Body PIR Sensor Radar Detector Microwave Motion Sensors" and "Color: GB 16A ZigBee - ZigBee 3.0 Thermostat Temperature Controller Water/Electric Floor Heating Gas Boiler GA/GB/GC Smart Life Tuya Alexa Google Home" - those two for instance work with Z2MQTT
I can link the AliExpress product page(s) if needed
Hence my questions if I should just start clean with Z2MQTT, sell what doesn't work natively with ZHA, run Z2MQTT and ZHA, not really sure what's the best approach honestly
When buying stuff on AliExpress I look through the reviews and a few people report that it (the product) works with either ZHA or Z2MQTT
- That's in the ZHA diags from memory, plus WiFi scanner apps on your phone
Tuya... oh boy
Your problems are unlikely to be down to ZHA, but to your devices and/or interference
The next thing to do is check that you've got routers near those end devices - no more than 6 to 8 meters away and one wall
I'd also try pairing them to a nearby router
I see, so "Tuya" no good. I'll do a better job at researching when buying stuff.
I'm buying from AliExpress because at the local retailers I can only get stuff from AliExpress but at 2-3x the price.
Looks like it's on channel 25 and per the app on my phone, in my country for WiFi 2.4GHz it only reports from Channel 1 to 13 so 25 should be fine?
I do have a router nearby, 4 of them. 3 are the Lidl spotlights at unde 3 meters and a circuit switch that inside the wall at ~5 meters. That's how close they are to the zigbee dongle.
The battery powered devices have a router at a maximum of 2 meters and between routers there isn't more than a 4m of distance.
I'll get to it, I'll pair the problematic movement detection sensor to their closest router and see if that helps.
Tuya is cheap. Tuya is often shit
Also, WiFi channel numbers and Zigbee channel numbers are not the same
Look at the pinned image
Using said image and looking at the wifi analyzer app on my phone, Zigbee Channel 25 is the least congested one
I've added them via their closest router, redid the automations and now they both work, hope they'll keep on working.
Regarding "Tuya" and me shopping on AliExpress it's hard to take EVERYTHING on the product page at face value beside the "Zigbee" and "WiFi" versions of the products.
I saw some lists that list the compatibility of devices with ZHA, Z2MQTT but for some of them the picture is identical of the one provided on the product page and they (the product listings) don't list other key words that could help me see if it will actually work as intended.
That's the nature of shopping on AliExpress and I knew the risks so not surprised by that.
There are many other brands that are less of a shit show, well, other than Sonoff
Xiaomi's original range have quirks you can work with, but the newer E1/T1/P1 ranges are pretty solid
The only other thing to do is change batteries
That's the first thing I do, I'm using rechargeable ones but sometimes I also need luck for stuff to work.
I'll do inventory of everything that I have installed, that I was planning to install and replace what does not work natively with ZHA.
Overall there are only two things that were a little more expensive, the mm wave movement detection sensor and the thermostat, luckily I buy one of each to see if they work and then order more.
Thank you for your help!! Now I know what I need to do
Oh, one more thing, does it matter if it's branded as Aqara or Xiaomi when looking for Zigbee devices?
Seems like "Mijia", "Aqara" and "Xiaomi" all show up when searching for "Xiaomi zigbee <device type>" on AliExpress
Rechargeables may not work well, the lower voltage is a problem for most sensors
The newest Tradfri devices are an exception - they only work well with rechargeables
Xiaomi is the company, Aqara and Mijia are ranges/sub-brands
I have an Ikea Trådfri bulb connected to HA via Zigbee2MQTT. I can see all its controls inside Zigbee2MQTT but I get no relevant entities in HomeAssistant. (Version 2024.2.1)
If you look at the MQTT integration, you don't see the bulb listed?
I do, but it doesn't have anything useful
can I not paste pictures here? anyway, I do see the bulb as an MQTT integration but no way to turn it on or off or to change brightness/colour
@wise lantern 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.
https://imgur.com/a/wn331j1 these are all the entities I get relevant to my bulb
Hmmm, so if you go into the device settings, do you see something that says "Disabled entites" on the Controls block?
It should be something like "+x entities not shown"
Oh yes, I could enable the effects... But I don't need effects if I can't even switch it on or off 😅
It's the only control that I see
And I enabled one "MQTT Select" which only contains Identify... Nothing else disabled
Hmmmm, it almost sounds like the MQTT discovery message is malformed. So, a couple things off the top of my head... Try renaming the device in Z2M to something different. If you are on 1.37.0, you'll need to go into Settings and set Home Assistant name there. That should generate the MQTT discovery topic again. If that doesn't work, remove the device from Z2M and re-pair it again.
I both renamed it and changed the Home Assistant name but... Home Assistant doesn't see the new name. Restarting the Zigbee2MQTT container in case that wakes something up...
okay, no. I'll remove and re-pair.
Yeah, option 2. Seems like something is stuck in the MQTT discovery topic.
Realistically, what's the range on a Zigbee smart plug? Like this one. https://www.amazon.com/THIRDREALITY-Zigbee-Smart-Plug/dp/B0BPY5D1KC?th=1
I had one about 20' away from two other plugs of the same brand, and it originally had excellent LQI, but now keeps going offline. It's just going through one wall. Does it really need to be closer or is there some other issue?
Still the same 😦
The ThirdReality plugs, while usually stable sometimes have issues. Most times just unplugging it from the wall and plugging it in again seems to help with that.
Hmmmm... bad bulb perhaps? I'm not sure. You said that in Z2M you can see all the controls?
Yes, I can see and use all the controls in Z2M.
hmmmm... Yeah, I don't know, tbh. I've never seen that. The only other thing I can possibly think of would be to remove the light and then use something like MQTT explorer to remove the topic from both the zigbee2mqtt topic and also the homeassistant topic.
Yeah I've been finding that out.
I was having issues a few weeks ago with Z2M, my ConBee II, and the 7-8 ThirdReality plugs I have (no other Zigbee devices besides those).
I basically re-built the network slowly, adding one new device each day. Got up to 4 and that one keeps having problems, just unplugged it and plugged it back in and it's fine now. Which makes me wonder if the ConBee wasn't the issue to begin with, maybe these plugs are just going offline too much
Eh, the CB2 is kind of a crap coordinator now a days (IMHO... some will disagree with me). But, the TR plugs are REALLY chatty as well. I would say to debounce them, but that wouldn't really affect the CB2 performance at all.
A second bulb behaves the same...
So today I updated HA OS again and lost devices from panel and from the mqtt group. #zigbee-archived message
Which logs do I search for what to find the reason they dissapear?
https://imgur.com/a/rESlAFZ
I am tired of adding devices back to mqtt un groups
what would be the appropriate setting for that in Z2M? (debounce)
On the settings tab (in the device), you can set the debounce settings. But, they won't really help here as it doesn't limit the traffic between the device and the coordinator. Although, an interesting though just came to mind which is that you could set the reporting to be a bit more relaxed. Downside is that you won't get power/energy usage as often. Upside, that might reduce the traffic to the coordinator... I think
I really don't care about energy usage on these, I just happened to get the ones w/ the energy meter but they're just attached to some lamps so it's 99% just for on/off control
Ok, then try to adjust the reporting for activePower, rmsCurrent, and rmsVoltage and see if that helps or not.
Don't go with huge changes, start small, monitor and see if it helps.
Would disabling that reporting all together have any negative effects? Basically just On/Off enabled?
I don't think it would, tbh. The devices should just stop reporting at that point.
Didn't realize that Aqara was a sub brand of Xiaomi. Interesting!
Xiaomi is a bit Tuya like in that they also license the brands for others to use, and have a cloud service, but they seem to put a lot more effort into quality control than Tuya (who don't seem to have any)
I have some aqara temp/hum sensor squares that I got a long time ago, and they worked great! But then I got a Home Assistant Yellow and I migrated my ZHA over to the built in radio. Since then, these sensors will not stay available on the (very robust) zigbee network. Anyone have ideas?
How old are their batteries?
Evening, I've just bought 2x Frient devices (Smoke Alarm) (Motion Detection). However, both the smoke alarm and motion detector are showing 'Unknown' on temperature and on the motion detector Illuminance is also showing 'Unknown'
rejoin them maybe they failed to interview correctly
Will try that now
Worked perfect
sweet
some stuff you have to keep awake by pressing buttons to get them to join correctly
otherwise they half join i guess
Hello! I'm eyeing some of the new ikea bits that came out, and will be within range of an ikea briefly. I have HA setup at the moment, is it worth it getting their bridge, and if so, is there a way of pointing HA at it for non-ikea zigbee stuffs?
Personally I would avoid the Ikea stuff, but you shouldn't need their hub. You can use it, but there isn't really need it. As for pairing other things to it, I think you can?
I was mostly eyeing the Parasoll - but it looks like ikea wants you to buy their Dirigera hub, and at $60usd that's a bit too much when I can just get a dongle and stick it in my pile of thinkcentres
I would just go the route of using your own coordinator.
Gotcha. Any recommendations?
For a coordinator? Anything from Tubeszb, Zigstar, or the Sonoff Dongle P or E.
new ikea zigbee stuff?
"new" is a relative term, within the last 6 months
i actually hadn't seen these
nice
hopefully better than aqara and have good battery life
oh wow AA batteries!
Yep! I'm going to check them out in store, but I may end up buying some
Keep us posted on how they perform. If they fully implement the zigbee protocol I'm probably going to recommend them over aqara
why avoid ikea?
Well, in my own experience, IKEA stuff just wasn’t stable at all. They’ve gotten better with firmware updates, but in general, they just haven’t been that good. Plus, some of their newer stuff seems to have issues as well.
Currently trying out a few of the PARASOLL contact sensors...hopefully they're good in the long run because the form factor is handy for a few of my use cases
P A R A S O L L
Does typing it like that make them work better? lol 😂
I updated my HA instance last night and now my HA instance crashes with zigbee conbee2 pluged in and doesn't boot up (cannot reach Home assistant)
. Not sure why, is anyone else facing anything similar? I'm not able to find an open issue.
I'm using the ZHA add on with the conbee2
I loose some devices at every HAOS core or other update. Yesterday's update was big one on device removal from group as well.
As new user I have not figuerd it out yet
my devices remained but HA refuses to boot with my zigbee module pluged in. I even reverted to the backup and it's doing the same thing.
okay this is odd, it works now. I flashed the latest firmware on my Conbee 2 and it works. so odd
Crossposting a little:
Recently migrated from a stand-alone container on a Ubuntu Server to HAOS add-on and while I did not need to re-pair my devices
I have gotten this in my log trying to e.g. switch a lamp
Any ideas what's causing this bahaviour?
IT seems to be working right after reboot, and stops after a while...
Full log message:
```Publish 'set' 'state' to 'Corner' failed: 'Error: ZCL command 0x001788010bf512345/11 genOnOff.off({}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (SRSP - AF - dataRequest after 6000ms)'`
I'm guessing you're using Zigbee2MQTT then?
Yes, correct.
Hello! Zigbee failed for me today, with the control panel showing it can't load the integration, because the USB device is not available, displaying the full /dev/usb path to the sonoff adapter. I did try replugging it and passing the usb device again through proxmox again, but HA still can't see it. Interestingly, it did open a single window cover before the incident. Any idea where the problem might be?
Hi, I was changing home network yesterday by switching the IPSs router to Bridge mode and adding Unifi Express as mine main Wifi Router device.
I have HA installed on raspberry pie with Sonoff Zigbee Dongle Plus connected on usb extension cable.
Im using Zigbee2MQTT to control my zigbee devices. But since the change, the devices are not receiving any updates in HA.
In Zigbee2MQTT when I for example press button, I see at the device an action being triggered. Also in the Z2M addon log I see payload being send. But nothing on the actual device and entities in HA.
I have tried restarting everything: HA, Addons Mosquitto and Z2M and reloading the MQTT integration. Nothing helped.
Can you please help me figure this out?
THanks!
unplug and re-plug usb device solved it
Which Sonoff - the P, the E, or another model?
the P kind
At first I thought it might be related to the 2024.5.2 update, which I only just did like yesterday, but the update notes don't really mention anything zigbee-related and rolling back to 2024.5.1 doesn't fix it
Try re-flashing the firmware on the stick
They're known to sometimes have corruption issues
tbh I have no idea how to do that even :p It was working out of the box
The Z2M docs have you covered
It does show up on my desktop under lsusb as Silicon Labs CP210x UART Bridge, but not on the HA supervisor
maybe it's some driver issue?
No
Please run
apk add usbutils
lsusb -vvt
➜ ~ lsusb -vvt
/: Bus 001.Port 001: Dev 001, Class=root_hub, Driver=uhci_hcd/2p, 12M
ID 1d6b:0001
/sys/bus/usb/devices/usb1 /dev/bus/usb/001/001
:(
plugged into the desktop it does show up and does create /dev/ttyUSB0
|__ Port 006: Dev 004, If 0, Class=Vendor Specific Class, Driver=cp210x, 12M
ID 10c4:ea60 Silicon Labs CP210x UART Bridge
/sys/bus/usb/devices/1-6 /dev/bus/usb/001/004
I can't paste screenshots, unfortunately, but 10c4:ea60 is for sure the thing I'm passing to the homeassistant vm in proxmox
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.
Have you tried detaching it and running lsusb -vvt on the node?
Never mind. It has the same id.
if by node you mean proxmox then yeah, it does show up there too, I've just checked. If it didn't, it'd show in the panel that it can't find the device
(like with that other thing I don't have plugged in right now https://imgur.com/Z6YZ3Th)
Hello, I have pretty basic question. I opened HomeAssistant on my iPhone and it is asking me to login. I don't remember ever to register, so my email & password that I enter is wrong. How do I find my account details?
you do create a user on the first setup and it forces you to pick a password iirc, but #installation-archived would probably be more appropriate
It forces me to enter user & password, with no option to "I forgot my password" Or something like that
How is this #zigbee-archived related?
i am trying to add all of my Zigbee devices to HomeAssistant
Can you share a picture of your VM's Hardware tab? Also try to run lsusb directly in the VM's console.
You have to enter login first.
lsusb in the VM console gives the same output as through the SSH via the terminal addon. Just that hub thing shows up
When I open the app I find my HomeAssistant server. When I click on it, I get to the login form
Sorry, I can't find a way to upload a picture here
That was not meant for you.
https://www.home-assistant.io/docs/locked_out/ (also #installation-archived) This is not zigbee related.
Have you tried cold booting the VM? I just tried this with a WiFi stick and it's not detected until I rebooted (initiated via PVE so it's a proper cold boot).
Not sure why that is needed for HAOS. My debian VM immediately shows it 🤷
Thanks
I've tried a full restart through the HA panel only, but I'll give VM a reboot through proxmox a try. One second
That only restarts the HA Core docker container: #general-archived message
➜ ~ lsusb -vvt
/: Bus 001.Port 001: Dev 001, Class=root_hub, Driver=uhci_hcd/2p, 12M
ID 1d6b:0001
/sys/bus/usb/devices/usb1 /dev/bus/usb/001/001
/: Bus 002.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/15p, 480M
ID 1d6b:0002
/sys/bus/usb/devices/usb2 /dev/bus/usb/002/001
|__ Port 001: Dev 002, If 0, Class=[unknown], Driver=cp210x, 12M
ID 10c4:ea60
/sys/bus/usb/devices/2-1 /dev/bus/usb/002/002
/: Bus 003.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/15p, 5000M
ID 1d6b:0003
/sys/bus/usb/devices/usb3 /dev/bus/usb/003/001
🙏
that worked PHEW
:p
Yay. This should not be needed though 😡
good to remember
I kind of assumed the HA vm would pick up USB changes
I was under that impression too a few minutes ago before I tested it.
yeah, sorry for bothering you. Replugging the stick and rebooting the VM should have probably been the first things for me to try 😬
but I was kind of under assumption that since proxmox passes usb devices to running VMs dynamically, and it did work for me on other occasions, it'd work with the zigbee adapter
like that other thing I have passed through is a vanilla usb serial adapter for flashing esp8266 and it does get picked up dynamically by HA addon when plugged into the host 😓
I've replaced the batteries with good ones; they still immediately drop off the network. They have never reported 100% battery even with brand new; but the new ones were reporting 60% battery before dropping off
From time to time I lose all my zigbee devices. When I look at the zha integration it says “failed setup, will retry”. What log under System would give me the details of what is going on?
What integration are you using?
ZHA
Can you enable debug logging, reload the integration, re-join the sensor, and wait for it to drop off?
ok, I'll do that.
Hiya, having a weird zigbee2mqtt issue - just added a bunch of temperature sensors but nothing is showing up in HA, is there a way to force re-discovery?
Restarting Z2M will republish all devices to MQTT
HA will see anything that's published to the discovery topic
Will give it ago once my trv has finished updating its firmware
Sorted, cheers
Time to install them all around the house then 🙂
@mellow geode I commented on an issue where I couldn't get your quirk to send ir codes with a ts1201 using a xbee as the coordinator https://github.com/zigpy/zha-device-handlers/pull/2336#issuecomment-2054171137 any idea on it
Hello, I need some option
I'm new to zigbee world, because I bought a smart knob switch from Meos
Got already the Sky connected gateway and today come some zigbee repeaters
But they are not making a mesh with good signal...
But I also got a lot of iot from Philips hue
Should I change my hus things to zigbee? Will I have the same options on HA from devices pairing on hue bridge or in zha?
Hi, sorry if this is the wrong place but I am looking for some help adding a unbranded zigbee relay to z2m
hue bulbs work great for a zigbee mesh but you cant do music syncing for rgb stuff. otherwise i think there are no downsides. i have like 40 hue bulbs on zigbee2mqtt working great
Thanks i’ve trie that but the issue I have is on pairing the device, it does not show any brand name or model
so when I try to apply the custom definitions, nothing happens
I don't use that.
The important to me is not to have extra delays from click on switch and see the action on light
I noticed when I try the matter on philips hue a improve response speed from actions, but the lack of battery display on HA made me revert it
Hello, is anyone familiar with custom zha quirks? I'm trying to get a quirk working for a AduroSmart Eria scene switcher, the quirk loads and all but it does not seem to match the device. Any ideas?
Heeey! Just migrated from ESXI to Unraid - made a new install and got everything but the ZigbeeStick... its detected but for some reason it wont work :/
Maybe me that are tired and missing something, but did this log show any fix for your problem?
I think I have similar annoying issue.
Running HA in a Virtualbox VM on Windows 10, everything is fine until HA needs a reboot. Like after an update. After that my zigbee integration is failing and can't find my Conbee2 stick (forwarded usb)
It is still listed as connected hardware, not visible in windows.
Only solution for me is to either reboot host/windows server or log in on my server to kill the VM service and restart it again.
No super big issue, but still annying. Especially since my z-wave stick works fine after HA reboot, also with forwared usb
What I've learned from that story of mine is that one - what HA refers to as a restart (either after an update or picking the reboot option in settings) is actually just restarting the docker container, not the whole virtual computer and two - apparently passed through USB devices don't get picked up again if they disconnect and get plugged back in while the VM is running :p
The Conbee II physically resets its USB interface (effectively unplugs itself and plugs itself back in) if you ever stop communicating with it for more than 60s
How long do your reboots usually take?
If both my zigbee stick and z-wave stick would behave the same way I would agree - It is was it is.
But since my Z-wave/Zwave JS integration never fails after reboot it fells more that the problem is in the Zha integration
Never clock them, but my gut say slightly less than 60 sec
If you can log into the HA Docker container and edit a package, try tweaking this number by changing the 2 to a 20 and see if the problem happens again: https://github.com/zigpy/zigpy-deconz/blob/6135c058f90c6fccb576858327a4e526dac94f7f/zigpy_deconz/zigbee/application.py#L88
No Docker, only HassOS in a VirtualBox Vm. Can I find that setting in HassOS?
trying to configure z2m with the zbdongle-e returns SRSP - SYS - ping after 6000ms, ive tried all of the troubleshooting steps https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html#error-srsp-sys-ping-after-6000ms but i keep getting hit with the same error
-e is a efr32, you have to specifiy ezsp (depreciating) or ember (requires 7.4.x fw) in the config
7.3.x fw? version of what?
coordinator FW
HA OS is built with Docker containers. You can access them if you disable privileged mode in the Advanced SSH addon.
Hi. I managed to configure the zigbee adapter from sonoff to my rpi and now I would like to pair the first device which is mhcozy zg-005-rf. Has anyone had experience with such devices? Is pairing trouble-free?
let me find the link
https://github.com/xsp1989/zigbeeFirmware/blob/master/firmware/Zigbee3.0_Dongle-NoSigned/EZSP/ncp-uart-sw_7.3.1.0_115200.gbl
so from this site i got the ncp-uart-sw_7.3.1.0_115200.gbl file
thats the version that fits in the 7.3.x requirement but based on another guide i found it doesnt specify if its compatible with z2m
im going in assuming it works
I am lost... my ConBee 2 Stick gets found: as "/dev/ttyACM0 - ConBee II, s/n: DE2294450 - dresden elektronik ingenieurtechnik GmbH" i select it and HA is "working/loading for about 60 secs. As type I choose "deCONZ = dresden elektronik deCONZ protocol: ConBee I/II, RaspBee I/II" - devicepath is automatically detected as "/dev/ttyACM0" (wich seems to be right) speed is autodetected to "115200" but it just says "Connection Failed"... 😦
use /dev/serial/by-id/[device name]
what was the command to get the device name again? Not a heavy Linus User here 🙂
ls /dev/serial/by-id/
so in my case "/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2294450-if00"
Yup
sadly i get the same error 😦
Hmmmm 🤔 Is it plugged into a USB2 port?
not sure tbh - it worked on that port with esxi tho - i just switched to unraid today 🙂
uhm so i decided not to use zigbee to mqtt for my zbdongle-e, however when using zha, when i try to configure the coordinator, the whole think just crashes. my vm freezes, the cli is unresponsive, etc etc. what is the problem here???
Ahhhh, are you running HA through docker or a VM?
Nope. Keep it on USB2.
Hold on, let me look at something. I think you have to pass it through.
Crap, I can't find it now, but somewhere in the VM settings, you need to make sure that the conbee is passed through.
I don't run any VMs on my Unraid server, so I can't find the setting for it.
Did that 🙂
its in the VM setting without VMs you wont be able to find it
but since I unplugged it to check if its 2.0 oder 3.0 HA doenst find it anymore 😄
Yeah, you'll have to restart the VM for it to find it again.
yep worked
Hmmmm... That's weird though... I'm not sure about why it would fail the connection.
since you said 2.0 is preferred - the usb controller on that vm is set to 3.0 .. maybe chaging that could help?
Maybe, but doubtful. I found 2 older articles, but seems similar to what you are seeing:
https://community.home-assistant.io/t/unraid-vm-conbee-ii-stick-dev-path-change-configuration-problem/411424/15
https://forums.unraid.net/bug-reports/prereleases/6100-rc16100-rc2d-usb-passthrough-to-vm-not-working-correctly-manual-xml-solution-available-r1555/
Looks like the solution might be to use /dev/ttyUSB0? I'm not sure.
Actually, when I had HA running as a docker container on my Unraid server, I think I had to use that for my z-wave stick as well.
gonna give that try after the reboot for usb 2.0
its not 2.0 or /dev/ttyUSB0 😦
I don't have any answers then besides maybe looking through the articles I sent. I can confirm that HA running in docker worked for me, but only with my z-wave stick. Never tried it with a zigbee usb stick.
okay ty 🙂
one last question :
<serial type='dev'>
<source path='/dev/serial/by-id/<yourusbid>'/>
<target type='usb-serial' port='1'>
<model name='usb-serial'/>
</target>
<alias name='serial1'/>
<address type='usb' bus='0' port='4'/>
</serial>
is that " <source path='/dev/serial/by-id/<yourusbid>'/> " part my ID: /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2294450-if00 again?
rebooted ha multiple time, still no difference
what could be causing this?
ive allocated sufficient ram to my vm running inside of windows, afaik i havent done anything that would make the vm crash the second the coordinator is called, interacted with
@sick panther I converted your message into a file since it's above 15 lines :+1:
@forest cobalt - pinging you again in case the reformatting of the bot broke the notification 🙂
Hold on. I’m mobile atm.
no need to hurry
Yeah, that should be right.
i got the addon, but i am not familiar with ssh commands.
how do i edit the package?
I need some help getting a " FUT089Z" remote working under ZHA
According to:
https://zigbee.blakadder.com/MiBoxer_FUT089Z.html
it should work under ZHA but I am not getting any events/buttonpresses
is there a command to "clean up" devices and their entities (what is in core.devices/entities_registry files? There are a ton of deleted devices and entities and I would like to start fresh without nuking my mesh networks. I saw them while trying to figure out how to remove an orphaned zigbee device entry that I just can't get rid of... grrr I delete it from the device file and it comes right back. While there is no ieee address in the GUI, in the file it is reported with all ff:ff:ff... so I tried the ZHA Toolkit device remove with that ieee address and it did not work;
I have a few SNZB-02D sonoff temperature sensors and some of them stopped reporting temperature. Interestingly, when I press the button on the device, I'm seeing [2024-05-11 17:50:42] debug: z2m: Received Zigbee message from 'LedTempSensor3', type 'commandToggle', cluster 'genOnOff', data '{}' from endpoint 1 with groupID 0 in the logs, so the sensor is definitely connected to my zigbee network, and also the temperature on the display looks correct. However, the device is not sending other zigbee messages whith temperature data, like for example another one does:
[2024-05-11 17:50:56] debug: z2m: Received Zigbee message from 'LedTempSensor1', type 'attributeReport', cluster 'msTemperatureMeasurement', data '{"measuredValue":2590}' from endpoint 1 with groupID 0
LedTempSensor1 on average reported every 2:26min and max interval was 4:36min today. LedTempSensor3 didn't report temperature at all!
This is not an isolated device, but a bunch of sonoff temperature sensors. I don't have anyh issues with other zigbee devices (switches, bulbs, smartplugs, ...)
Does anyone know how to debug/fix the issue?
Can i ask if zigbee devices could have a delay on being read by HA or NR?
Had this issue for over a year with a huge delay with devices regarding temp etc when we had an update for HA and NR and not changed since. seems like some say they fixed it but no idea /info on how
Going to be switching soon from SkyConnect/multi-pan/ZHA, to 2 coordinators. SkyConnect will be thread only, and second coordinator will be the SMLite SLZB-06 ethernet coordinator in zigbee mode only. The device seems to support ZHA and Z2M, but most use it with Z2M. Just curious how the coordinator behaves with ZHA. Switching to Z2M is an option, but only if I really have to, guess time will tell. I presume a migration will be the easiest, then just flash the SkyConnect to thread only.
I try instll and run mqtt today, but I noticed a information about the need to upgrade skyconnect firmware to +7.4(ember)
But when I start mqtt it gives two warnings about delivery of broadcast
Is this a current know bug?
I am strugling hard right now to get my Sonoff -P dongle working with Zigbee2MQTT. It is "Failing to connect" and i have tried just about every combination of getting this to work but i cant seem to figure it out
I made a really detailed reddit post about it here: https://www.reddit.com/r/homeassistant/comments/1cpy22q/zigbee2mqtt_sonoff_dongle_flashingother_issues/
If anyone could please help me and tell me what stupid mistake i am making so i could sleep tonight it would be greatly appriciated haha
"ember" and "ezsp" are the wrong type of driver for your adapter
What should i have there?
ezsp and (coming) ember are for the Sonoff-E
no
-P is fine?
yes
https://github.com/Koenkk/Z-Stack-firmware/tree/master/coordinator/Z-Stack_3.x.0/bin This is the right firmware for my device too right
yes
Thank you man you just saved me hours..... i knew it was somthing simple
Hi! Am interested in getting some Hue outdoor fixtures, had some control questions and my google searches weren't getting me too far. I want to use HomeAssistant for my automations with the lights and sensors, and i know Hue has their own hub that utilizes Zigbee + their own cloud. I saw there was a Hue addon for HA, my question is if i need the hub or could I use a Sonoff stick or something instead, or is there a better way to approach this whole thing as right now i havent bought anything Zigbee or Hue related yet.
I just started the same process..... I was going to go with the hub and not deal with the Zigbee Stick.... however i really needed things exposed in HA fully, such as Aqara switches, so i needed them to work with Zigbee2MQTT, and honestly even tho ive only had it working for less than an hour if you want to do all your automations and scense and everythign in HA its worth it to use Zigbee2MQTT.... but like i said im new to it so take it with a grain of salt
So you have Hue devices working with Zigbee2MQTT via the hue hub or a stick + HA?
Sonoff stick?
Yeah
Gotcha
Which caused headaches
so theoretically... u can use a hue fixture without their hub?
or is that only certain bulbs/devices?
the research is already giving me a headache 😂
my use case is i want the switches to still work as "switches" but i really want smart bulbs too cause i plan to have the lights be daylight lights when i turn them on if its day and warm light if i turn them on at night, using HA + ZigbeeMQTT + Aqara Switches is the only way ive found so far haha so im testing it now
Yeah
so kinda
hang on let me send you the reddit post i made asking that same question 2 days ago lol
Super helpful post, thanks for sharing. This comment caught my eye.
Do you care about the features offered by the hue hub? (their built in scenes, Hue Sync) If so use the hub. If not (and assuming that you have other zigbee devices/plan to, use Zigbee2MQTT
Without reading too deep into it, it sounds like a stick + Z2M would work just fine, but what headaches have u run into? If needed we can take this to another channel that suits the topic better.
(Since u mentioned earlier there were some headaches) unless that has to do with the aqara things
Yeah ill pm you
Is some one able to have mqtt with ember, on skyconnet, working?
Here's a brain teaser... If anyone has any suggestions, please.
Latest HA (tried restore to 2024.5.1.), Latest Zigbee2MQTT (also, restored to 1.37.0).
Devices just stopped updating in HA and now are Unavailable.
Zigbee2MQTT is working normally, and I can control devices there.
BUT funny thing is that if I subscribe to a topic in HA of for example motion sensor, that's "unavailable", I can see updates to it. So HA also get's messages from MQTT.
As stated, tried all of the restarts (HOST, just core, MQTT,...) restore of backups etc, but nope, nothing works.
Everthing works, but, it doesn't work 🙂
Checked the HA log file?
I've seen that happen when you set the Z2M url field to something that's not a URL
But Z2M is working OK and I can subscribe to topic in HA to see updates. It just doesn't auto.discover devices and update them.
Everything is at latest version (HA at 2024.5.3, Z2M AddOn at 1.37.1-1).
MQTT is external in Docker.
And ... did you check the log file?
Sorry, yes - have one error I can't figure out -(starting stream in 5 minutes so multitasking )
No ACK from MQTT server in 10 seconds
It's not in log now as I've restarted it. I think this one pops if I kill/restart HA.
Yes, that's in HA
You may need to change the MQTT log level to info to get more out of it
I need some help from someone more knowleable than I
I purchased a an aqua switch 'Remote Wireless Switch H1' but I believe triggers are missing such as double click and long click plus home assistant doesn't know which button on the switch is pressed
I'm using the integrated home assistant ZigBee integration with the sonoff dongle. Has anyone come across this issue?
Actually let me rephrase that. The triggers appear when I create an automation but if I double click it or long press home assistant doesn't recognise it in the logs as a double click or long click
does the switch have a 'delay' setting?
if the delay is 0 that usually disables any double press functionality
Can't see that it has
what switch is it
Is multi pan (zigbee + threa) supported by home assistant?
Yes, but you shouldn't use it. It's not well supported and there are issues with it.
I read it as the chip EFR32Mg21 having issue. Not HA
The chip is fine. It's the Multiprotocol software that has issues.
And silabs recommends using EFR32MG24 for the multi pan
The software still has the same issues though
Home connect using EFR32MG21
Doesn't really matter for that.
Ahh so the home assistant software still having issue with multi pan?
This is super unfortunate
I'm looking for a mini PC with built in zigbee radio, but that is so hard to find
For Home Assistant's ZHA integration, the Zigbee part of Multiprotocl will look like a regular Zigbee stick mostly. That's not the issue.
The Multiprotocol software itself (addon for HA) has issues and the firmware for the dongle is different, too. It also has some issues.
AFAIK, development on Multiprotocol is somewhat frozen at the moment.
Currently, it's preferred to use a stick (like the SkyConnect/ZBT-1) for just Zigbee. For Thread, you can use Thread border routers you already have (newer Apple TVs, Nest Hub Max) or a separate SkyConnect/ZBT-1.
Why don't you want to use an external coordinator/stick?
It doesn't look as elegant. And I'm planning to start a small business selling this as a service
Yeah SkyConnect/ZHA/Multi-pan is a bit wonky now. It's usable, but not perfect. Namely for me, I get the NCP failures, daily, but it automatically recovers so you don't really notice, except perhaps a few seconds delay for it to come back. Sometimes it does not automatically recover, and you need to reboot your host on HAOS. So, works, but but perfect 👌
is there a way to disable the color function of a zigbee light that only has color temps or should that even show up?
Are there simple troubleshooting steps for ZHA documented somewhere? All my devices are suddenly (since last HA upgrade I assume) unresponsive, but everything seems to be ok when looking at the UI. Motion detectors simply do not fire, trying to repair those devices not working either.
I have the zzh stick, and it has been working for some years very reliably
I have the zzh stick, and it has been
Hi guys I'm wondering if there are any Temp/ Humid Sensors that are cable bound (no battery)?
Also the very ugly https://www.zigbee2mqtt.io/devices/TS0601_smart_air_house_keeper.html
I'm using Conbee II with ZHA
Can anyone suggest a light switch for UK? Ideally one with dimming option
1-gang, 2-gang and 3 gang
Pretty much need to re-do whole house 😢
edit: also I think no-neutral is a requirement too
nice thank you
hmm unfortunately it doesn't support decimal points precision i will keep searching
The ugly Tuya does
true but can't find it on amazon -.-* any link where i can buy it?
@iron wolf 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).
AliExpress, where you find most things a fraction of the Amazon price 😉
I do have a bunch of aqara window/door sensors (MCCGQ11LM) and they frequently go UNAVAILABLE .
Anyone familiar with a remedy against this ?
has anyone had issues with sonoff temp/humidity sensors? I have 3 sitting in front of me, the humidity on A) 49.3% B) 56.3% C) 62.7%
i could see if one of them was off by a few, but all 3 😦
Check the pinned messages
Usually it's between bad router choice, and letting them pick the device to pair through
I would not start a business around selling multi-PAN 😄
Hello everyone,
I'm reposting here after a first message in #integrations-archived , I was told it would be more related to a mesh problem.
I have a docker installation on my unraid server (HA + Z2M + Mosquitto). I have an ConBee II connected to a 1m USB extension lead
On HA, I've added HomeKit integration to bring up the devices I've chosen. On Homekit, I created a Good Night scene that turns off all the lights. It works well, all the lights turn off correctly. Except that on HA, I sometimes have a light that's always indicated as on (when it's actually off).
And indeed, if I look at the device history, it's still on since yesterday. In HomeKit + Z2M it's also indicated as on.
Does anyone have an idea for making my installation more robust and synchronizing reality / HomeKit / HA correctly?
the rgb color selector shouldn't show up on a light that is color temperature only. If it does, that probably means that the bulb is incorrectly providing a color selection cluster, which means that a device specific quirk might be needed to sort things out. Next steps depend on which zigbee integration you're using.
Ok, my friend is using the integrated zigbee home automation integration for HA yellow
ZHA, ok. You'll want to go to https://github.com/zigpy/zha-device-handlers/issues and see if there's already an issue open for your device, and if not open a "Device Support Request" issue. The issue form will provide instructions for fetching the required device signature and diagnostic information.
Hello everyone,
Hey guys, any one got suggestions for zigbee motion detectors with a fast response to movement and clear detection quickly under 5 seconds. I brought one recently but it's set to clear detection after a min which is just too long for my needs
Sounds like you really want a combo PIR and mmWave
PIR is great for fast detection, and mmWave for accurate occupancy
Has anybody managed to get hardware flow control working on the sonoff sticks?
there is a huge github issue thread but i cannot figure out if it is actually enabled or not?
It should be (IIRC, it was in the release notes), but judging from the issue you linked, I'm going to say it's probably not fully working yet.
i cant find it in the release notes
people keep mentioning that its in the release notes but i cant find anything of the sort haha
You're right... I thought for sure I saw it in the release notes a while ago, but I can't find it either now.
Actually... NOW I know where I saw it... there was a forum post about it: https://community.home-assistant.io/t/iteads-sonoff-zigbee-3-0-usb-dongle-plus-model-zbdongle-p-based-on-texas-instruments-cc2652p-20dbm-radio-soc-mcu/340705/61?u=code-in-progress
apparently you still need to compile yourself
not worth the effort, for now
now to decide between zha and z2m
cc2652, for context
Personally, Z2M all day long.
My IKEA E2001/E2002 button stopped working in latest version of HA. I remove it and tried to add it again but it gives me this error - Failed to configure '0x04cd15fffe73f4b1', attempt 3 (Error: Bind 0x04cd15fffe73f4b1/1 genOnOff from '0x00124b0024c8b761/1' failed (AREQ - ZDO - bindRsp after 10000ms) at Object.start (/app/node_modules/zigbee-herdsman/src/utils/waitress.ts:63:23) at /app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:691:28 at Queue.execute (/app/node_modules/zigbee-herdsman/src/utils/queue.ts:35:20) at Endpoint.bind (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:464:13) at Object.bind (/app/node_modules/zigbee-herdsman-converters/src/lib/reporting.ts:43:9) at configure (/app/node_modules/zigbee-herdsman-converters/src/lib/ikea.ts:143:17) at Object.configure (/app/node_modules/zigbee-herdsman-converters/src/index.ts:172:21) at Configure.configure (/app/lib/extension/configure.ts:121:13) at Configure.onMQTTMessage (/app/lib/extension/configure.ts:55:21) at EventEmitter.wrappedCallback (/app/lib/eventBus.ts:174:17))
Hi everyone. I have been running HA with a Homeseer ZNet for a couple of years now and want to add Zigbee. I bought a Sonoff Zigbee Dongle and followed the directions on Homeseer on adding it to the ZNet but I am getting a “Failed to connect” in the ZHA integration during the configuration. Has anyone here successfully added the Sonoff Zigbee stick to the ZNet?
hmm restarted zigbee2mqtt and it's working now...
Just to add here is the document that I followed: https://docs.homeseer.com/products/z-net-integration-with-home-assistant
I know this is a longshot, but has anyone ever flashed a Sonoff zigbee dongle with the 'router' / extender driver using an Apple silicon Mac? I've found instructions for doing so using Windows and Linux, but both are a pain in the ass for me to set up just for this, so I was hoping that the process had been improved since 2022 (when the guide I found was written) ... ?
I updated the firmware in my Sonoff-P dongle on my AS Mac
the only thing I recall having to do was install the CP2102 serial drivers
Oh cool, thanks for the quick response! That's a good lead although it does seem that flashing it with new (router) drivers may be more complicated; I'll see
Oh huh. I wonder why people were having such trouble / going to such great lengths on the forums in 2022? Good to know, thanks.
Pretty sure I did. this looks familiar: https://vandalen.dev/post/how-to-update-sonoff-zigbee-3-0-zbdongle-p-usb-firmware-using-a-mac/
Super helpful; thanks so much!
install these drivers: https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers?tab=downloads
and use the dev node that it exposes, not the one that shows up without them. You'll get two dev nodes and only one will work
Thanks again! Currently installing python ...
is there a way to extend zigbee up to 1000ft
Short answer, hell no
Long answer - run a network cable and a second coordinator at that remote location
Smart answer - use a different technology, like LoRa
I'm trying to migrate from a conbee2 stick to a SLZB-06M POE stick. When I do the zha migration then pan id is changed - is that normal?
Coordinator IEEE that stayed the same after the migraiton, but the channel changed from channel 15 to 20. I can't actually control any of my devices though following the migration so I know it hasn't worked.
My conbee is on firmware 0x26720700 btw!
never mind, looks like after about 15 attempts it "just worked" :/
Well, my 'tuya' zigbee button arrived today.....
managed to make a quirk for it, and now a PR to add that quirk into the main zha-device-handlers github repo 🙂
seems to work perfectly now 🙂
single press / double press / long press seem to work
Awesome, PRs are really appreciated!
Hi. Is there a way to wipe the Z2M configuration from the UI? Like when replacing the controller and re-pairing all the devices?
Stop Z2M and then delete the files in the (Z2M) config folder
Optionally just delete the database and coordinator backup
I'm sniffing my zigbee traffic and it seems that most devices are in fast polling mode
is there a way to tell ZHA to send the stop fast poll command ?
or is it enabled by default to limit latency ?
ho I see it's part of the PollControl cluster's commands
so actually my devices are not in fast poll but rather in short poll mode for a long time
Which ones?
_TZE200_hue3yfsn TRVs mostly, I see my ikea frytur blind doing the same
in wireshark I see "data request" packets every second for those
that's a lot of traffic 😦
actually both my ika fyrtur do that, short poll every sec while the short poll interval is set to 4 in the pollcontrol cluster
the TRVs don't have the PollControl cluster. those are Tuya devices
@austere patio aren't data_request supposed to be answered by data_confirm messages ?
Any best practices or tips for adding a smart switch as an extender / repeater? I've paired it and put it where I want it to be permanently; should I bring the devices that were having connection issues closer and/or re-pair them, or anything like that, or should I just wait for the network to (hopefully) repair itself?
Those are low level packets and are well outside of the realm of any radio software. It's done by the firmware of routers or the coordinator. When you "send" a packet, routers will queue it until an end device sends a data request (or it can be directly delivered to a powered device)
After upgrade to 2023.5.3 I get this error for a specific light. What could be causing it?
Failed to call service light/turn_on. Failed to send request: Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>
Logs, not sure how to read this:
Ljus - Motion - Antons Kontor: Choose at step 1: choice 1: Error executing script. Error for call_service at pos 1: Failed to send request: Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102> Ljus - Motion - Antons Kontor: Error executing script. Error for choose at pos 1: Failed to send request: Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102> Ljus - Motion - Antons Kontor: Already running Ljus - Motion - Antons Kontor: Choose at step 1: choice 2: Error executing script. Error for call_service at pos 1: Failed to send request: Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>
mhh ok but that's what I get when sniffing with a second zigbee token, those are definitely sent over the radio
I mean that it's handled by the firmware. It's traffic that the firmware responds to, not the software controlling the stick. It's normal background traffic.
Would it be better to use Z2M groups rather than HA Helper Groups for lights?
Yes
Sometimes anyway
Z2M groups result in broadcasts, which can cause problems, but may not
for me, anything that I need to control together gets a Zigbee group
I am using a custom quirk to get my Aqara H1 switch working via ZHA. This works well. However I just got a second H1 and when pairing it via ZHA this new one isn’t using the quirk. Anyone know if there’s a way to force it to use the quirk?
Okay great, I will use Zb groups from now on, I hear they communicate better than HA groups also
they will be faster and have less popcorning
The only limitation I'm seeing, is not being able to nest a group inside another group?
Upstairs and Downstairs for example
yes, that's a downside
Alrighty, guess I'll have to use HA for that for the time being
Thanks for your help guys
I've switched channels and rebooted HA completely. Any leads?
What do you mean by broadcasts?
the limitation is really more about the penalty to the bandwidth of your mesh since zigbee group calls get sent out 3x. i still use them myself without any issues but people have talked about running into issues with their mesh using zigbee groups due to the increased traffic
Would it be noticeable like say around 30 (growing) different zb devices, or with a much larger network?
I have around about 12 router devices so far
I have 120+ devices and I don't have any issues with it
try it and see if you see performance degradation
the instantaneous coordination between devices is worth it
Good to know thanks, I will migrate all rooms bar one as I have a wifi switch there : ±
i have 11 zigbee bulbs in my kitchen and they all perfectly turn on with automations. i notice a difference because if i ever use siri the lights are 100% out of sync every time
i passthru zigbee groups to homekit but siri calls multiple zigbee groups at once causing the issue i think (3 bulbs in a zigbee group for chandelier, 7 in a group for cans, one on its own in a fixture)
I wouldn't trust Siri for anything tbh, can't even find or pronounce my room name lol
it's an additional way to control things it's not something i use all the time
I've noticed using Zigbee groups in cards, it doesn't report the correct state and brightness info
Just off and on
Works fine with HA groups
Hello, I’m using some ikea rgb light bulbs, and having the issue of when turning the bulb on with a certain color, it turns on with the previous for a second then changes to the desired color.
For example it’s off and I want to turn it on as red, it turns on as white for a second then change to red. Is there a way to fix this?
There is a setting in Z2M in the exposes that says “ Execute if off:
Controls whether color and color temperature can be set while light is off”
But it only works when changing the color from Z2M but not the HA service
I'm using Conbee II with ZHA
Can anyone suggest a light switch for UK? Ideally one with dimming option
1-gang, 2-gang and 3 gang
Pretty much need to re-do whole house 😢
edit: also I think no-neutral is a requirement too
Download ZHA diagnostics. What does it show in the energy_scan section?
So, this is kind of strange, I've got an ikea bulb which supports color change commands with the "ExecuteIfOff" option bit set, but ZHA doesn't seem to be using that feature? I have to enable the "enhanced light color/temperature transition from an off-state" option to get it to turn on to a specific color, and from reading the code that seems to enable a workaround which this bulb doesn't need.
Hmm. looking at the code, it seems like ZHA sets the color before turning on the bulb only if the "ExecuteIfOff" bit is set in the options attribute - but doesn't indicate whether or not the feature is supported, it just contains the default options that the MoveToColor, etc. commands will use if options_mask is not set.
I'll have to double check but I don't think we actually utilize the options bitmap, it's just parsed
so hmm. I could probably make this work by writing 1 to the options attribute, so MoveToColor commands have the ExecuteIfOff option set by default?
yep, that did it.
so yeah, ZHA is deciding whether or not to set the color prior to turning the bulb on by checking whether the "default options" in the options attribute happens to have ExecuteIfOff set, but it could instead be using options_mask/options_override to set that option on the command unconditionally.
i guess i should poke through some older zigbee specs to figure out if there's a way to detect whether the ExecuteIfOff option is supported.
well, huh… This bulb reports the cluster revision on the color control cluster as 1, but it includes the Options attribute that was added in cluster revision 2 :(
I suspect that the presence of the options attribute (regardless of what bits in it are set) might be sufficient to determine whether the bulb will accept color commands with ExecuteIfOff supported in the OptionsOverride field.
Along with the note that the options attribute is writeable (tho with the note that it "is meant to be changed only during commissioning"). It might make sense for ZHA to set the ExecuteIfOff behaviour to be used by default.
checked a philips hue bulb, and it has the same thing - reports cluster revision 1, but implements the options attribute and supports changing color while off.
my newest ikea bulb does actually say revision 2 :)
Hoping to get some assistance. My ZHA devices are refusing to install the new update, returning the error: ```Failed to call service update/install. Update was not successful: <Status.FAILURE: 1>
I am using a SONOFF Zigbee 3.0 USB Dongle Plus V2, which is attached to a USB extension (approx 10 ft away).
Looking at the visualization, I have several unhealthy links. Does anyone have any advice for optimizing and repairing this system?
If you can write options (so ExecuteIfOff) to 1 and the attribute is written successfully, then ZHA will magically switch to using that.
Yes, I did that on all my bulbs and it worked.
But ideally it shouldn't be necessary
Yeah, I wanted to write that attribute on all bulbs when pairing, but some Tuya bulbs have seem to have weird behavior when that's set, so I've opted not to default to it, yet.
There's this old/related PR too: https://github.com/home-assistant/core/pull/86197
There's also some more information on how ZHA uses that feature here: https://github.com/home-assistant/core/pull/84874
i was confused by the name of the execute_if_off_supported function when i was trying to figure this stuff out, tho. since it doesn't check "supported", it's actually checking whether the execute if off option is enabled by default (i.e. will be used on commands that don't override the option).
it's actually checking whether the execute if off option is enabled by default
It's checking if theoptionsattribute includesExecuteIfOff, hence "execute if off [commands are] supported [and can be sent now]". It doesn't have to be enabled "by default".
I do agree that the name can be somewhat confusing.
i.e. will be used on commands that don't override the option
Hmm, not sure what you mean with this?
the various "move to" color commands have parameters options_mask and options_override. you can use those to override the default options in the options attribute (mask sets which ones you're overriding, override sets what they're being overridden to)
Oh, yeah. ZHA doesn't use those at all. ZHA would still need to know if the light supports it. That can only be (safely) done by writing/checking the options attribute.
I don't think the option overrides are useful for ZHA(?)
probably not, really, since i think ZHA would want the "ExecuteIfOff" behaviour always.
It's still on my imaginary list to eventually improve the UX for this. I think we can default to "on" for most lights (except Tuya?)
so you could flip a switch and make everyone's life a little better except for tuya users? could we vote on that? 
but yeah, the other thing i mentioned - that the options attribute was added to ZCL in cluster revision 2, but i have a bunch of bulbs which implement it even tho they claim cluster revision 1, is kinda weird.
i guess the thing about setting the attribute is that it would only apply to newly added devices (and possibly also manually reconfigured ones?)
interestingly, in the matter integration they don't touch the options attribute, instead they're adding optionsMask and optionsOverride on every command.
Some parts of "reconfiguration" are done to mains-powered devices in the background when ZHA is loaded. So, it should apply to existing devices, too. (if we go this route eventually)
This is probably the way forward (since older devices should ignore unknown fields) but I haven't tested it in a real network. I suspect some random device somewhere will crash 🙂
The problem is that the color command needs to be sent before the "move to level with on off" command (if "execute if off" is supported, otherwise: afterwards). If we don't know what the device supports, we don't know when to send the color command.
Haven't looked into the Matter integration to see how they deal with this (if at all?). But they'd need to know if the device supports it, too.
they can just get away with assuming every device support it, which zigbee can't do :/
Sorry, one more question, could someone please do a sanity check of this Z2M config?
serial: port: tcp://10.10.25.102:6638 baudrate: 115200 disable_led: false adapter: zstack rtscts: false advanced: transmit_power: 20 log_level: debug
I replaced SNZB-06M with Zigstar UZG-01 yday, wiped the Z2M configuration, copied the config from Zigstar's config generator... and it doesnt work
but "telnet 10.10.25.102 6638" connects
[09:10:45] INFO: Starting Zigbee2MQTT... [2024-05-15 09:10:47] info: z2m: Logging to console, file (filename: log.log) [2024-05-15 09:10:47] info: z2m: Starting Zigbee2MQTT version 1.37.1 (commit #unknown) [2024-05-15 09:10:47] info: z2m: Starting zigbee-herdsman (0.46.6) [2024-05-15 09:10:47] error: z2m: Error while starting zigbee-herdsman [2024-05-15 09:10:47] error: z2m: Failed to start zigbee [2024-05-15 09:10:47] error: z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions [2024-05-15 09:10:47] error: z2m: Exiting... [2024-05-15 09:10:47] error: z2m: Error: spawn udevadm ENOENT at Process.ChildProcess._handle.onexit (node:internal/child_process:284:19) at onErrorNT (node:internal/child_process:477:16) at processTicksAndRejections (node:internal/process/task_queues:82:21)
firmware seems to be OK: [10914740] | [ZBVER] Rev: 20230507 Maintrel: 1 Minorrel: 7 Majorrel: 2 Transportrev: 2 Product: 1
spawn udevadm ENOENT sounds like it's looking for a /dev/ path
Try changing the log to debug
arghhhhh, i figured it out by checking the yaml
i pasted the output of config generator to serial: field in Z2M
but serial field input is already below serial: and config generator adds another one
Even if i restart HA my Zigbee AVATTO ME167 thermostats are not working. I had to manually restart the Z2M addon. Can someone help me?
Hi everyone 👋🏼
I'm getting firmware update notification for my IKEA Rodret dimmer switches. I hit a button on the switches to wake them up and then hit install in HA. However, that always fails with error "... Update was not successful <Status.FAILURE: 1>". Any hints on this one?
I have to admit that I haven't had the time yet to check the logs. I wonder if I should simply turn off firmware updates alltogether. 🤔
Even if i restart HA my Zigbee AVATTO
@mighty river sometimes it helps to hit the button right after instead of before; other than that, make sure it's got a fully charged battery.
Batteries are full, but I'll try that button trick. Thanks 🙂
(reading helps... lol need more coffee)
I am back 🙂 same issue, still not resolved. I have a zigbee device that has no mfg, device name, no nothing, and even the remove option is not there (no menu). I tried deleting it from device registry as I've done in the past - after disabling zha - but it actually isn't removed. When I open the registry up again, it is back. How do I enforce my edit?
@forest cobalt you'll be proud - I wrote my first quirk 😄
man that is going to be me soon
Psh, you think I'm that easily impressed? 😉 (I kid... nice! I'll look at it in a bit)
to be honest, it was only changing the device type LOL
I'm proud. Seems like a daunting task
the rest worked as-is on the quirk for another device.
just the device type is different.
There's probably a better way, like maybe if the device type part of the quirk was an array or something
but I don't know if it can do that
I have 4 devices that I need to write quirks (or otherwise implement some manufacturer-specific behavior) for. But Amazon delivered the wrong product that I ordered for testing it so waiting for the test device to arrive so I can start to figure this out
if class TuyaSmartRemote004FSK(EnchantedDevice): could have something like:
DEVICE_TYPE: [zha.DeviceType.DIMMER_SWITCH, 0x0000],
I dunno why my device ID is 0x0000
but it is
dear EU friends. Im desperate for a Zigbee plug switch compatible with UK shaver socket (or european Type C/EuroPlug socket) - https://files.ekmcdn.com/circuitsupply/images/ml-accessories-sf8909mw-screwless-dual-usb-a-c-shaver-socket-5v-dc-2.4a-shared-in-matt-white-95310-p.png?w=570&h=9999&v=D0741976-91A2-40D3-B624-20159A2C06F2. Alternatively a slim in-line switch to install on cable would work, but without dimming (the only in-line one i found was a dimmer)
does anyone know anything like that?
i know that Type F plugs should be compatible, but at the same time they are too chunky - with two completely unneeded "recesses"
Is there a similar fix for Z2M?
There is a setting in Z2M in the exposes of the device that says “Execute if off:
Controls whether the color and color temperature can be set while light is off”
It works, but only when controlling the color from the Z2M dashboard. Meaning, that if I go to the bulb page in the Z2M dashboard, set it to white then turn it Off, I can choose the color Red (while it's Off), and when I turn it On, it turns On as Red directly.
But if control the bulb from HA using the "light." services it doesn't execute while it's off. for example, if it was set to White then I turned it off, then I called the service to turn it on as Red, it turns On as White then changes to Red.
Did that work? I’m having the same issue with smart outlets.
Well, I got a progress indicator (which I didn't before), but I don't think it actually updated.
I have been thinking it may be interference reducing the link budget and causing the updates to fail. But I cannot verify this, unless someone here has a method.
OTA unfortunately requires nearly 100% reliable communication between the device and your coordinator, as the device drives OTA, not the coordinator
I have trouble paring my Bosch Thermostat II with ZHA currently. Are there any known issues with the current core version?
It always used to be hard to get this one paired with the install code, but now it is not recognized at all anymore. I tried with two different coordinators on two differen HA installations
@austere patio Someone has taken over the quirk for this thermostat btw and done a pretty good job implementing everything. Unfortunately I can't test his changes now https://github.com/zigpy/zha-device-handlers/pull/2808
What coordinator are you using?
Sonoff Zigbee Dongle II
How specifically are you joining it with the install code?
With the zha permit
Always used to work, but even without he install code the device was at least discovered, which it isn't at all now
Looking for some input on zigbee Switches. I seem to be between Inovelli Blues and Aqaras.
My plan is to implement them with Z2M and run them in "Detached" or "Smart Light" mode... which both of these seem to support (I bought an Aqara switch to test this and from the research ive done seems it works with Inovelli as well)
The thing pushing me towards Aqara is price, the thing pushing me away is Build quality and no "Real" support for 3 way switches
The thing pushing me to Inovelli is what looks like better build quality and support of 3 way switches pushing me away is price
Although its a $15 dollar ish price difference and im buying like 14 of them so its not too much (Aqara ~$500 and Invoelli ~$700) I am already spending way too much money on the just smart lights and smart switches so wanted to see if anyone has any input on inovelli being worth that 200 difference
Inovellis are good. Like REALLY good... BUT... yeah, the price makes them hard to swallow sometimes. I got lucky in my house and have no 3-ways, so all of mine are Aqaras. But, if you do have to support 3-ways, there's no reason not to use both. Go with Aqaras for the places where you just need a normal switch and Inovelli for the 3-ways.
Honestly I feel like the 200 dollars is worth it to have the whole house be the same haha
lol that’s fair too.
@balmy fossil How you like Zigstar UZG-01 so far? I'm considering getting it and where did you get it from I'm curious
what light bulbs doe you have so far, guys?
I have Hue, Innr, and a few Sengled light strips. But the majority of my lights are actually Wiz bulbs (WiFi).
I see I see
My zigbee bulb ratings based on quality plus zigbee behavior : tier 1: hue gap 2: innr really big gap 3: ikea 4: welink/itead, geledpoto, Ledvance really big gap 5: tuya, Sengled, Osram
Tbf, I hate my Sengled light strips. I’m slowly replacing them with the Aqara light strips.
Do tell on what's wrong with sengled lights?
they don't act as routers, they don't behave in some networks. those are my gripes.
As @molten linden said, but also, they seem to love to drop off my mesh every few weeks. Some people have good results with them, but I never did.
I could never get them to stay on my network more than 18 hours
did a lot of sniffing, and am conviced it's firmware issue, that only occurs in some meshes
That’s how my bulbs were. The light strips are marginally better.
Mine haven’t gotten a firmware update in a LONG time.
I checked a few months back
there was none
(meaning I used the app and a proxy to look at the json).
lol you did more than I did. I just got pissed off and ripped them all out except for these last few strips.
I had customer with the issue. seems super comon if using a zstack router
Wow
Wait.....i was researching where to buy hues.....philips is discontinuing hues? Its what popped up in google feed
they spun it out to a subsidiary? - Signify (a few years ago now) they still put Philips on the box though 🤷🏼♂️
What is the difference between the Inovelli blue series - Smart Dimmer and the Inovelli blue series - On/Off .... like can i not have them function as on off and they are dimmer only or?
Like i see some adverstise it as on off or dimmer but on their website they are seperate
Anyone has used this device before? https://www.zigbee2mqtt.io/devices/VZM31-SN.html i was wondering how good it works
Hahah thats what im looking at rn too!
ah lol i just noticed that!
I have one but i was wondering about what other people experience is with them has been
I have the dimmer one and i have it set up with smart bulbs, on off only, with double clicks to actiavte another smart bulb.
I also have one setup with non smart bulbs and it works great as a dimmer
Yeah i plan on doing that too but i dont want the dimmer i want the on off
so they are different
When i got mine the on off was for sale yet so im guessing its new and is only lacking the dimmer functions
idk doe
but the zigbee2mqtt site only shows the dimmer one and the fan one.
Yeah i think the on off are new.... but amazon has "on/off or dimmer"
but seems weird on off are the same price as dimmer??
If you have smart bulbs then the on off is fine, i think the dimmer all it does is change how much electricity is sent from the switch to the bulbs so you can dim regular dimmable bulbs
Yeah but if you can put the switch in a "Smart Bulb Mode" can you put it in a "On off mode" ?
or a "Dimmer Mode"
yes
Oh is it configurable in Z2M?
yeah, i was going to send you a screenshot but my home assistant update just finished so its restarting 😂
Hahah if you could when its back up that would be dope
im between the aqara and the inovelli rn
I got it from tindie, but ask me in a week or so for the opinion
I haven’t even paired all my devices today
Inovelli seems like the play cause of the 3 way switch for some of my situations
So is 3 way for having 3 switch 1 light or 2 switch 1 light?
2 switch one light
Do you have neutral wires?
But im kinda confused with them cause they have an "Aux" switch but idk what it really does
yea i do
Your good then
Well i do an im redoing all the eletriucal in my house so
But idk how it works
like does it actually work like a real 3 way would,... or are the switches just talking to eachohter
I think the 3 way switch requires neutral cus i never got it to work on my setup where i only have neutral in the bathroom for some reason.
But yeah it works like a normal 3 way
Cause if the switches are just talking to eachother and one is really in control then every smart switch is able to do 3 way hahah
depends on if you are using smartbulb mode or not
In smartbulb mode it probably just toggles the bulb, then if you are using normal bulbs it probalby works as expected
Yeah im gonna use it in smartbulb mode but would prefer if i wanted to i could default to real switches
and would like the 3way to workl like normal
You cant upload screenshots on this channel
Send PM?
@wicked spire 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.
Hello, I have a problem with an Aqara H1. This is displayed to me as a light entity. I usually change this in the configurations.yaml.
It works on one switch and not on the other? Do you see an error? Or should I do it differently altogether?
Button WCOG Aqara = OK
Button STUDIO Licht = don´t show switchonly light
zha:
zigpy_config:
ota:
ikea_provider: true # Auto update Trådfri devices
ledvance_provider: true # Auto update LEDVANCE/OSRAM devices
salus_provider: true # Auto update SALUS/Computime devices
inovelli_provider: true # Auto update INOVELLI devices
thirdreality_provider: true # Auto update 3REALITY devices
#otau_directory: /config/zb_ota_auto_update # Utilize .ota files to update everything else
device_config:
ieee-54:ef:44:10:00:a1:af:ef: # Button WCOG Aqara (light to switch - format: ieee-endpointId)
type: "switch"
ieee-54:ef:44:10:00:a1:ae:74: # Button STUDIO Licht (light to switch)
type: "switch"
custom_quirks_path: /config/custom_zha_quirks/
The -1 at the end (or e.g. -11) for the endpoint ID seem to be missing for both. One might have a quirk which already changes the device type automatically, other one does not
Although I’ve only looked at the YAML on mobile (which looks horrible here). Not sure if there are other issues too
Pretty sure there's some missing indenting there
the device_config entries dont seem legal to me
not sure if the spec says :_ or just : being enough to make this a key
Probably should be a space after ieee-54:
@sweet imp I converted your message into a file since it's above 15 lines :+1:
@sweet imp I converted your message into a file since it's above 15 lines :+1:
Which of the two Sonoff Dongle Plus sticks did you buy?
The P or the E?
The P is zstack, CC2652 based, and the E isn't
unfortunately the problematic E
There you go
And you didn't tell Z2M that 😉
The log shows very clearly it's assuming zstack
The FAQ in the error message would have helped you
I come across the info that this one is flaky and at least needs some extra config
Not flaky, just needs you to follow the docs
Any adapter really requires a read of the docs, but the auto-detect works often enough that people tend to skip that part
I see the documentation is extensive. I hoped auto-detect will take care of it but this dongle is not one of them. These Sonoff dongles look pretty much the same, I should pay more attention when ordering.
I undestand "ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2" is not enough info to determin if it's P or E.
Well, you said E, so follow the link I posted 😉
That tells you everything you need to know to get the dongle working with Z2M
There's a reason it was posted after all 😛
yes it's E because I checked on the order
@sweet imp 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).
apologies, got sidetracked
I added
adapter: ember
ok, now I have "
error: z2m: Error: NCP EZSP protocol version of 8 does not match Host version 13"
does it mean I have to flash the dongle?
I bought one of these Zb mmWave Human Presence sensors (https://www.aliexpress.com/item/1005005935585882.html) for the Kitchen, but it's quite slow and inaccurate. Should I accompany it with a Motion Sensor, or just use ESPresence instead? thanks
Did you tune the settings on it?
Yeh, I increased the Large/Medium/Small detection distance zones to their max, so L: 10m, M:6m, S: 5m with 10x motion sensitivity on all, but hasn't made much difference tbh, not sure if I'm doing that right?
Yeah, you are... probably just Tuya being Tuya. You could add a PIR sensor or just get better mmWave sensors that aren't Tuya. Some of them (like the ceiling mounted ones) seem to work ok while others just don't.
I wanted to replace the PIR with this, looks like I'm back to square one lol. Kitchen is fairly large ( around 24ft) so I thought it'd do the job tbh, but looks like I need both. I'm wondering if ESPresence would be an better option? I have a few esp32 devices laying around, so I could make use of them
The higher quality mmWave sensors typically have a range of ~6m (sometimes a bit more in perfect conditions). The cheaper Tuya ones say they can hit 6m, but rarely will they hit that. Plus, the high cooldown on detection really sucks. ESPresence might be better in this situation.
Ah yeh, typical chinese cheap device claims. I will try ESPresence to see if it makes any difference, if not will invest a better quality Zb mmWave sensor, cheers
I understand you guys upgrade firmware of the dongles and other Zigbee devices every so often, right?
I am just trying to understand the maintenance part of it e.g. you configure the system and for how long can you just leave it before the next scheduled maintenance. I reckon it's monthly if you don't fiddle with it, add new devices.
For MY use case, I don't upgrade firmware unless there is something that directly affects my devices or ccoordinator. Otherwise, I follow a strict "if it ain't broke, don't fix it" attitude.
I like this approach too. So HA is pulling these containers from the cloud but it does not force update on restart on anything like that so as long as I don't update I could just leave forever. In that case only the security side of things could get compromised after longer period of time.
is it advised to move the home Wifi to 5Ghz not to interfere with Zigbee?
That won't hurt, at least as long as all your kit supports it
Whether it'll help also depends on your neighbours 😉
If I'm understanding you correctly, that's two different subjects. HA addon updates are different than Zigbee firmware updates. The former can get updated much more often than the latter can. For Zigbee/coordinator updates, if there are security flaws found, usually a firmware update will be released. But, banking on that is a crap shoot lol
In addition to what Tinkerer said, you can keep your 2.4ghz, but you need to make channel decisions on both your APs and your Zigbee networks. You want them as far away from each other as possible. I have a LOT of 2.4ghz devices (81 right now) and no problems with interference.
right, ok so for 2.4Ghz fixed channels no channel on auto/channel hopping. If neighbour APs are on Auto they should move away from my fixed channels. So I pick the last for Wifi, 1st channel for Zigbee, neighbour APs would go in the middle if they are on Auto so I would have to double check their frequency
what is the minimum recommended distance between Zigbee dongle and AP?
Correct... There's not much to be done with neighboring APs, however, if you have enough routers in your mesh, you can usually overcome most transient interference. And def no auto-channel hopping on your APs. Also, when choosing your Zigbee channels, depending on the gear you have, you will probably want to stick to the "common" channels (11, 15, 20, 25).
I don't think there is a recommended minimum distance. My coordinator is about 12 feet from the nearest AP and I don't have any issues. Obviously you don't want them sitting next to each other, but >10' seems like a good starting point.
BUT, and this is something a lot of people don't think about, if you can turn down the power on your APs, that helps too. Most Zigbee coordinators only broadcast at 5dbm. Having a close AP that is blasting out higher than that can cause interference as well.
right, AP from my ISP does not allow to change power. I can only change the channel, mode and channel width 20/40MHz
I think mode is about power but I cannot set it just to b or g, it has to be n or mixed g/n or b/g/n
In that case, try to separate your channels as much as possible and put as much distance between the coordinator and the AP as possible. Also, if you can more routers, that will help too.
right, and moving AP to 5GHz isn't beneficial
Well, as long as every device on your network supports that and you can actually disable the 2.4ghz radio (which a lot of consumer routers don't actually do; They just mark the SSID as hidden and leave the radio on), then sure, it'd be beneficial.
yeah you're right, when I think about it I still have some devices that are not 5GHz compatible, I would have to hard wire them. In that case I keep them at a distance, defo not the same cabinet, perhaps I keep it on a different floor
Like I said, if you set your channels right and have enough routing devices, you should be fine without having to do all the extra networking work.
Hi, I'm looking at the cheapest zigbee dimmer controller that either sends 0-10v or does PWM
This is to interface with a meanwell led driver LCM60 that accepts one of 3 options for dimming:
- 0-10V to the dim- and dim+ pins
- Applying additive 10V PWM signal (frequency range 100Hz ~ 3KHz)
- Applying additive resistance:
I found the aqara ZNTGMK12LM but it seems that's no longer being made and the prices seem to be quite high on taobao
IIRC, the Aqara H1 dimmer does PWM. Not 100% certain on that though.
ah sorry wasn't clear, it's to put inside a ceiling light, so don't actually need controls just to expose the dimming through zigbee to home assistant, just a module
The only device that I can think of that satisfies what you want would be something like the Shelly 0-10V dimmer. But, it's WiFi, not Zigbee. https://www.shelly.com/en-us/products/shop/shelly-plus-0-10-v-dimmer
Thanks, yeah I'll consider it if I can't find anything
Hello, does anyone know if the Aqara Single switch module T1 (with neutral) SSM-U01 supports any meaningful sort of binding? I'd like to have one operate some Hue bulbs, and if the coordinator goes down, I still want it to work via the wall switch.
It should support binding. Not sure what you mean by "meaningful" though.
if it supports binding the onOff cluster
Z2M or ZHA?
Z2M
I can't find anything "official" in the docs about it, but technically you should be able to bind on the onOff cluster for both the relay and the bulb(s).
the bulbs do support it, I tried, but I managed to buy a generic Tuya switch that doesn't support binding the onoff cluster, see: https://www.zigbee2mqtt.io/devices/TS0001_switch_module.html
Hence my question 🙂 - I'll just buy the Aqara one and return it if it doesn't support binding.
Gotcha. I don't have the T1, so I can't test that, but I do have the wall switches and they all bind. Sooooo, yes?
Hi, do you know if https://darkxst.github.io/silabs-firmware-builder/ works in Chromium browser(it supposed to be Chrome)? I tried it on my system but after connecting to the Sonoff dongle it said:
The running firmware could not be detected.
Make sure the USB port works and if you are using a USB extension cable, make sure the cable can transfer data. Unplug the Sonoff ZBDongle-E and plug it back in to reset and try again."```
It's plugged in directly to a USB port of my computa
I pressume I need to do it on a Windows machine where I can get Chrome
not much in the debug log:
2024-05-16 19:02:04 emscripten zigpy.serial[42] DEBUG Opening a serial connection to '/dev/webserial' (115200 baudrate)```
What operating system are you using?
GNU+Linux
What specific OS?
@sweet imp Let's continue the discussion here. If you want to open a thread, that would work too. Moving it to DMs hides it from other people running into the same issue.
ok, I upgraded the dongle's firmware from 6.10.3.0 to 7.3.1.0 on a Windows machine
it upped the protocol version from 8 to 12 but the host expects 13
error: z2m: Error: NCP EZSP protocol version of 12 does not match Host version 13
I am trying to set up zigbe2mqtt addon in home assistant with sonoff zigbee model P dongle.
I red a lot of documentation and watched a lot of youtube videos but I don't understand the reason that it does not work..
here is the log:
[2024-05-16 22:08:17] error: zh:ezsp:ezsp: Connection attempt 1 error: Error: Failure to connect at SerialDriver.resetForReconnect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:347:19) at SerialDriver.emit (node:events:517:28) at /app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:348:22 at Queue.execute (/app/node_modules/zigbee-herdsman/src/utils/queue.ts:35:20) at SerialDriver.openSerialPort (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:108:13) at SerialDriver.connect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:63:13) at Ezsp.connect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:353:17) at Driver.startup (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/driver.ts:164:13) at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:124:29) at Zigbee.start (/app/lib/zigbee.ts:62:27)
Do you have something like adapter: ezsp or ember in your Z2M configuration.yaml?
If so, remove that. You don't want that for the -P model, only for the -E Sonoff dongle.
here is my mqtt config:
server: mqtt://localhost:1883 user: MQTT_user password: MQTT_user
serial:
port: >- /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_66937df64e45ed11b450d18f0a86e0b4-if00-port0
no adapter: ezsp or ember in the config
is that copy and pasted from the add-on UI's separate boxes?
You may need to specify zstack then
do I need to flash the usb stick?
Probably not
you mean that I need to add this:
serial: adapter: zstack
Well, are you using the add-on?
yes
Then you just put the second line in, along with your port line
adapter: zstack
port: >-
/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_66937df64e45ed11b450d18f0a86e0b4-if00-port0
It still gives errors:
[22:14:48] INFO: Socat not enabled
[22:14:58] INFO: Starting Zigbee2MQTT...
[2024-05-16 22:15:22] info: z2m: Logging to console, file (filename: log.log)
[2024-05-16 22:15:22] info: z2m: Starting Zigbee2MQTT version 1.37.1 (commit #unknown)
[2024-05-16 22:15:22] info: z2m: Starting zigbee-herdsman (0.46.6)
[2024-05-16 22:15:24] warning: zh:ezsp: Deprecated driver 'ezsp' currently in use, 'ember' will become the officially supported EmberZNet driver in next release. If using Zigbee2MQTT see https://github.com/Koenkk/zigbee2mqtt/discussions/21462
[2024-05-16 22:15:33] error: z2m: Not connected to MQTT server!
[2024-05-16 22:15:33] error: z2m: Cannot send message: topic: 'zigbee2mqtt/bridge/state', payload: 'offline
[2024-05-16 22:15:33] info: z2m: Disconnecting from MQTT server
[2024-05-16 22:15:33] info: z2m: Stopping zigbee-herdsman...
[2024-05-16 22:15:33] error: zh controller Failed to disable join on stop: TypeError: Cannot read properties of undefined (reading 'permitJoin')
[2024-05-16 22:15:33] error: z2m: Failed to stop Zigbee2MQTT
To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks.
```yaml
example: here
```
Don't forget you can edit your post rather than repeatedly posting the same thing.
Somehow you've still got it using ezsp
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.
Any idea on what I could do?
I've seen others report this problem, they were editing the wrong file
this is my Zigbee2MQTT entire YAML:
> data_path: /config/zigbee2mqtt
> socat:
> enabled: false
> master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
> slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
> options: "-d -d"
> log: false
> mqtt:
> server: mqtt://localhost:1883
> user: MQTT_user
> password: MQTT_user
> serial:
> adapter: zstack
> port: >-
> /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_66937df64e45ed11b450d18f0a86e0b4-if00-port0
I use only the web UI
Back ticks - use #botspam to test, and remember you can edit your post above
Rather than re-posting walls of text 😉
Is there any other files I need to change besides the Zigbee2MQTT config?
No files, just use the pretty add-on UI
anyone? 🥹
Why did you break it? Try removing the stick and plugging it back in again.
@fierce parcel #zigbee-archived message
Hello everyone. I have a problem with the Zigbee integration. I restarted my NAS, and now I no longer have access to my Zigbee devices. Reconfiguration is not working. I am using an extension cable. Can you help me?
ZHA or Zigbee2MQTT?
ZHA
Yes thank you
Check your Core log
I trying to understand past conversation. It look like using group use more brandwith
I m not sure if it's something worth to explore
More bandwidth? No. Groups in Z2M is still a single call to the coordinator and then it send out calls to the devices in the group.
Broadcasts can cause problems on some meshes, but it's a case of try them and see
so what is the value to use z2m groupe ?
All devices are controlled as one
My dial switch is very slow when I try to dim 20 lamp in once, I thought using z2m group can improve it
Wait. Do I need to remove ZHA to use zigbee2mqtt?
I m already using helper group everywhere
Yes
And every light has a separate command sent
So, helper groups are kinda the same, but not. It still sends out 20 commands.
With a Zigbee group only one command is sent