#zigbee-archived
1 messages · Page 63 of 1
I've been using zigbee for a while now without an addon
I just need to understand how things mesh, if they are meshing.
afaik, everything is connecting through my main coordinator
and that may be part of the problem(s) I'm facing
afaik, zigbee handles meshing automatically if your device(s) are capable of acting as routers
battery devices, and bulbs aren't routers, but things like smart plugs and switches often are
actually I think my bulbs may be routers too
omg
I didn't know I could "visualize" the network
it looks like everything is connected to everything for the most part
ah good. I was going to say that I know Zigbee2MQTT has a map feature, but wasn't sure if you had that available too
that should show you the device routers and endpoints
I don't think this is efficient
is there a heal network option?
There's no heal option for Zigbee
so I guess, should I maybe be manually specifying the routers that things connect to?
Ah, thanks. Guess I was confusing that with Z-Wave
You can, but devices may change if they want to
for instance, the button in my kids bedroom could connect to the bulb in their bedroom, which could connect to the plug in the bathroom that's between it and my SONOFF Zigbee 3.0 USB Dongle Plus V2
You also should for Xiaomi's Zigbee 1.2 devices, since they're known to be weird
because something isn't right.
idk that I have any xiaomi
is there a way to change the pathing without rejoining the device and breaking all the automation?
Re-joining won't break anything
I’m broken inside does that count?
hmm, yeah, everything seems to be connected directly to the dongle
I think I'm going to wait until I finish my proxmox HA project and migrate HA to docker before I go about reconnecting everything.
Thank you. Would a copy of the same quirk, but modified override the existing?
Hello, first time messaging. I have been using HA and zigbee for a few months now. I have a TI Sonoff 3.0 and a few temp and motion sensors from aqara and a few door sensors as well. I have recently updated to OS 11 and it caused my system to crash and I had to restore a backup. Once I restored only about half of my zigbee network resored and I cannot reconnect to the others. I have deleted the entities in an attempt to readd them however when I try to readd a motion sensor by holding the button and adding new zigbee device there is no reaction on the system. I am at my witts end, is there anything else I can do to help debug or resolve the issue? Also I am using ZHA integration
Custom quirks take priority over integrated ones, so yes. You can check if a quirk applied by checking the device page. Then expanding the info panel on the left. The "quirk" section at the bottom should exist and not start with zhaquirks. if you're using a custom quirk.
enable_quirks: true and database_path: /config/zigbee.db can be removed as well. They're not required, since ZHA is configured through the UI since some time.
Just this is enough: https://github.com/zigpy/zha-device-handlers/discussions/693#discussioncomment-857274
That’s great. I do not see the prefix, so it must be applying. Thank you so much.
Just curious, what's the issue with your fan?
Hi, I have 2 lights in a single lamp that sometimes refuse to work. There should be enough other lights nearby for stable mesh. LQI is 150. Any ideas how I would go about diagnosing this? Using Z2M. Any help is much appreciated!
Did you ever figure it out?
Is there a database or list where I can look up what kind of device type a the product is? End device, router or coordinator. Or is that already somewhere on zigbee.Blakadder.com or zigbee2mqtt.io and I'm just not seeing it?
all mains powered devices are routers as a rule unless they aren't like Sengled bulbs
coordinators are coordinators, they cannot be other devices unless you change the firmware
Thanks, that was fast. I am thinking about getting some aqara e1 light switches and read somewhere that those are not acting as routers
only the ones with no neutral which isn't mains powered
Sengled bulbs, no-neutral switches and dimmers, and the Aqara FP1 aren't routers - other mains powered will/should be
Thanks
I have maxed my 50 items on hue hub today I was wondering is there a better zigbee bridge or should I keep buying hue? Also there are a bunch of firmwares going around for these Zigbee2Mqtt, Zigbee2Tasmota is there a go to one? Is the stock good?
I was considering the Tasmota just to maintain the “stack” since all my physical switches are flashes with tasmota now
Don't use the Tasmota one 😉
Z2M or ZHA are the better options
(Z2M for me, I like my decoupling)
Just by a decent supported coordinator (not the Sonoff-P)
Is there a big issue with it?
Also just wondering if it was possible to do inspections of the zigbee network. I saw this video a while back on zigbee protocol and the guy used some software to see all the devices on the network the coordinators routers etc and it showed the signal strength. If possible I want to see that for my stuff my Hue Dimmer Switch V1 batteries die too fast and posts suggests its either a bad connection or bad batteries
Ok so i'm looking for what to choose for a zigbee relay module, i had considered the zbmini l2 from sonoff but the fact it's an end device is a no go since i need to cover the entire house with them. i was looking into other sonoff's but the otherzigbee one they have supports only rocker switches, while i'd prefer to use momentary buttons so i can wire multiple of them.
so basically my requisites are zigbee router relay that supports momentary switches. is there any good brand module with these characteristics?
It's just not in the same class as ZHA or Z2M IMO - and both ZHA and Z2M can give yo uthat pretty graph you're talking about
what coordinator do you suggest?
For Zigbee2MQTT any CC2652p (or CC2652) based stick is a good choice. Those are also a good choice for ZHA, which also supports the EmberZNet sticks (see here for some details). Don't pick the cheap CC2530/CC2531 sticks, and avoid the Sonoff Zigbee bridge since Zigbee and WiFi aren't friends. If you're not using deCONZ avoid the ConBee and RaspBee devices.
Depends on whether you're using ZHA or Z2M
right now i'm planning and testing but i think i'm liking z2m better
Then CC2652 based
thanks
what's teh actual advantage of using one of those instead of the sonoff-p which i have now?
well
glad to know ahahah, so they're known to be problematic?
i see, i'm glad i bought one recently 🥲 i had the impression it was one of the better one but seems i was wrong
Interesting thanks a ton just got the Tube coordinator lets see if this helps my Hue remote woes
I will be sad to let the sick Hue app go though
You have the solution to everything xD
I've been here long enough to remember about 10% of what goes on 😛
Well let me trouble you with this would you also happen to know how to get the white/yellow color wheel in HA like it exists on the Hue app
You mean for the white temperature?
Yes
?
is this the right channel to ask for this or should i ask in hardware?
You just need people who can answer the question to be online
And maybe to mention your country
oh sure, i'm in italy so it's gonna need 230v, i can buy whatever off aliexpress
@sour shadow sorry to be a Pain but would you also happen to know about 433Mhz devices?
You realise you can just ask the (right) channel a question and then anybody could answer?
433MHz is not Zigbee
I know
Can you point me to the right channel for it I will just post the question there
Thanks
Hey guys my zigbee network went down again with this "lost serial connection" message, reloading ZHA and rebooting HA core did nothing. I had to unplug the USB and plug it back in. Why does this happen? Skyconnect/multi-pan/HAOS-RPi/ZHA
Far as I can tell they did a failed update for the zha integration, and reverted it back quickly...but the usb hub device needs to physically power off (or unplugged) to initialize again...
Its a very finicky integration...thats for sure
It's a known issue with multi-PAN firmware. Silicon Labs is aware of a few of the bugs and is hopefully going to fix them in the near future.
well update 1023.10.4 broke ZHA and thats confirmed...
That was unrelated to multi-PAN
Silicon labs supporting a 20 dollar device...I doubt it
thanks! Its good to know that its a know issue. Right now I'm running 4.3.0 on my SkyConnect, I was planning on updating to 4.3.1 RCP-Multipan but guess it won't make a difference now.
@jovial lion I've had these lost serial connection issues for a while now, its not new for me, usally it recoveres itself, but on rare occassions, it does not like it did above and I have to take action.
Their chip and their firmware, it doesn't matter who manufactures or sells the device. It just takes time to figure out how to reproduce the crashes people experience.
Hey all, I'm hoping someone can help me with an issue I'm having with my Zigbee controller. I'll try to be as brief as possible
- I have a Conbee II USB stick for the controller
- It was previously plugged into a Raspberry Pi running HASS, and I was able to get it to work with Zigbee2MQTT
- I'm transitioning to a VM on a Proxmox server, running HASS OS
- I've installed Mosquito and Zigbee2MQTT on the new server
- I've plugged the USB into the server and done USB Passthrough. The device seems to be recognized by the HASS VM
- I've tried setting the serial in the Z2MQTT config to
/dev/ttyACM0which is what worked on my previous setup, and I've also tried putting in the full path, which includesusb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2475988-if00but I still get the same timeout error.
Anyone have any suggestions? I'm at a loss here
I was getting a timeout error on that recently as well after upgrading to the most recent firmware. downgraded to the release before that and the timeout went away.
Did you remember to use a USB extension cable?
So I did try it with a USB Extension cable and still didn't work, but I'll try messing with the firmware and see if that helps!
Newer ConBee firmware doesn't play well with Zigbee2MQTT
The Z2M docs on the ConBee mention this
I posted this question about a week ago and didn't get a response...thought maybe it was too late at night. So, I'm posting for reconsideration. I do updates on Monday of each week for the past couple of weeks I've had a couple of zigbee devices go haywire. After I do my updates and the server restarts one of my Singled bulbs and a Third Reality Button (which is set up via automation to on/off the Singled bulb also both in the same room) don't work for about a day. For example, after the server restarted today those devices don't work. They show up in the UI but HA can't turn the bulb on/off (but Alexa can!). Then, in about 24 hours the combination works just fine. How can I go about troubleshooting this. Zigbee2MQTT. Thanks in advance!
how to reset a sonoff zigbee 3.0 dongle to pair again with home assistant
i am switching from zha docker to zigbee2mqtt home assistant as it has more features (mainly because it supports a prescense sensor)
Ok, so I think I was able to make the ZBDongle-e to work and set it to channel 25 in ZHA, but I still need to add my other ZBDongle-e as an extension/router... I already flashed it with Z3RouterUSBDonlge_EZNet6.10.3_V1.0.0.gbl but I can't add it as a device in my network it simply does not appear when looking for new devices. Do you guys know if there a specific step to pair a ZBDongle-e router?
Hi. i think im at the right place regarding Zigbee2MQTT, i get a error message saying Error: Error while opening serialport 'Error: Error: No such file or directory, cannot open /dev/ttyACM0'
i have changed from a RPi to a laptop and now using ProxMox
More context needed. Make sure the coordinator is passed through to the VM and you use a /dev/serial/by-id/ path
OK. i just looked in Proxmox and now added USB " Use USB Vendor/Device ID " and added my Conbee adapter
shall try restarting the session now
UP N RUNNING, thanks guys. im a bit tired now
im jealous
cant get it to work at all
NEVERMIND THE MAGIC SYSTEM RESTART MADE IT WORK 😄
Hmm. Gledopto rgb controller won't reset
They're very fussy about getting your timing spot on
So ive seen
One of mine I gave up on, but the Pro unit hasn't ever been a problem (all two times I've reset it)
Hello, I am having an issue with my zha integration. I have a few aqara motion,temp, and door sensors. I updated to os 11 and my system crashed, I restored and got it up and running again however about half the devices do not reconnect. I have tried deleting the entities and re adding them but no matter what I do it is not re adding the lost sensors. I have about 8 that are working without issue and about 7 that are no longer working. I use the sonoff 3.0 coordinator.
I think it happened around 10.2 so I am not sure if it is the same issue posted above with the 10.4. I recently updated it to that and my 8 devices still work and there is no change but the 7 ohters (2 motion sensors, 4 temp sensors and 1 door sensor) still do not work
i have a zy-m100 presence sensor but its presence doesnt get updated as its stuck on away
however the presence state does get updated (moving, present,none)
how do i update the firmware or something to get presence sensor to update so i can automate ite
How long did you wait before deleting things?
you need to power cycle the zigbee coordinator, just turn off the computer and turn it back on
then try pairing
if you have any zigbee routers turn them off for troubleshooting
I waited about a day, I have power cycled a few times and currently do not have any more routers. Do I need to power cycle for an extended period like 30 min or something?
ZNP = Texas Instruments Z-Stack ZNP protocol: CC253x, CC26x2, CC13x2
by ZHA
Sonoff 3.0 I got on amazon
no idea how to reset that one
see if you can manage the dongle with zigpy
the zigpy reset command might work
yeah zigpy supports managing that dongle, it's the znp
hmm I will look into it and try to give it a try
Looks like that worked and I am able to re add them again thanks!
im surprised that work tbqh
Hey folks, I'm new here.
i've installed the Mosquitto broker from the addon store. Then, I click configure on the MQTT integration and get Failed to connect.
Any help would be appreciated!
Get the logs from both the addon and the integration to see if you can spot some errors
https://hastebin.com/share/suwexebufo.yaml
This is what I see while the Mosquitto broker addon is running!
that looks good, now go in settings>system>logs after trying to setup the mqtt integration and see what's there
Under what subsection am I looking at logs for?
There's HA core, Host, Supervisor, etc..
shoudl be ha core
Nothing is being generated under HA core. but a bunch of stuff under Supervisor, and host
Did you start the add-on?
Just installing the add-on isn't enough, you need it to be started (running)
Yes, I had clicked start before sending you the log
[00:27:42] INFO: Successfully send discovery information to Home Assistant.
``` suggests that MQTT is already set up in HA
Can I pm you?
Keep it in the channels, that's why they exist
Interesting. Under settings>devices&services, I see MQTT under the discovered section with options to ignore or configure.
Configure it?
I end up here when I click configure
hi all,
Im looking into a zigbee controller dongle and found the sonoff ones. Now im wondering which one to buy. I see the ZBDongle-E and the ZBDongle-P. But which one is better?
I have the ZBDongle-P, and I'm struggling to set it up!
The P has known hardware issues, don't buy it
To be fair, you haven't reached that point yet... you're still trying to get MQTT working 😉
Try installing MQTT Explorer on your laptop/whatever, and see if you can connect to your broker
Oh dang!
I can't wait to get there then 🤣 .
pfoe, thnx! The P is like €17,- more expensive. So i was wondering if it is a newer and / or stronger model?
Older
For Zigbee2MQTT you want something CC2652 based, like the P, but not the P 😉
For ZHA, either EZSP or CC2652 based
I am able to connect from MQTT Explorer.
My Mosquitto Broker logs say New connection from <xxxxxxx> on port 1883. Client <unknown> closed its connection.
Ok, then we can troubleshoot your MQTT integration
It should auto-set up, that's kind of the point of the way HAOS and the add-ons work, but I've seen a few people with your problem
Manually pointing it at core-mosquitto may work, or you may need to enter a username and password (any valid HA user will work)
ZHA worked without a problem earlier. I have now deleted it and restarted to make sure it doesn't interfere.
ZHA has nothing to do with MQTT
That's like saying that you've cleaned out the coffee cup so the car should start without problems
Thank you for the quick response. Then it will be the E 🙂
Anything else i need to know before buying a zigbee supported smart light and trying to connect it to HA using this dongle?
You've read the pinned messages?
You've got a practical range of maybe 6 to 8 meters from the stick to the first router device, your bulb needs to be that close, or you need to have some (Zigbee) routers
You need a USB extension cable
etc etc
oh really? My home server is a bit further away then 6m to the room i want to place some smart lights.
Then you need some router devices
any suggestions?
Or.... i got a rpi with pihole running in that area. Is it possible to stick the dongle in the rpi and reach it with my ha?
Netherlands
You're missing the point of Zigbee being a mesh network
hmz, looking at that innr plug. I got a Shelly plug S since a while. Does that work too?
is that a Zigbee plug?
idk xD
Well... then idk too
googled it: those devices are hub free
but as i understand those zigbee devices need to form their own sort of wifi (mesh) network to operate and cover larger areas? So every device that supports zigbee also functions as a extension of that?
Or only some devices like plugs and not lights alone?
I added a username and password under core_mosquitto's login configuration.
- username: <username>
password: <password>
I see the same Failed to connect.
Interestingly though, under the supervisor logs, I see ERROR (MainThread) [supervisor.services.modules.mqtt] There is already a MQTT service in use from core_mosquitto
You've looked at the list of already configured integrations?
The #integrations-archived channel may be better able to help you with this, you'll find more people who know the MQTT integration over there than in here
I will try my luck there!
Thank you for all your help thus far 🙏
Hey guys, I just got a sky connect and now need to find some sensors to use with it
I definitely want some door sensors - I've heard good things about the aqara door sensors and was wondering if that's still the recommended option or if there's something better?
Some of these zigbee devices are giving me no end of issues
Managed to get the device to rejoin, worked perfectly for about a minute, and now is unresponsive
been fine for over a year, no network changes and then all of a sudden, problelms
wtf, and now they're randomly working again
I thought i saw a tool to scan for the best zigbee network, but cant find it now. Anyone got any pointers?.
Aqara, particularly the E1 and T1 ranges, are good. You'll also need (Zigbee) router devices though
What's the difference between a router and a sky connect?
Are routers the mid points?
Read the top pinned message
Ok, read it and it makes sense
Cool, so I just need to find some routers that will work in Aus
Hey cool, Ikea has a zigbee repeater that's a normal plug on one end and a usb on the other! Great way to extend AND charge my phone!
General question :
Is there good zigbee deals for black friday ?
like on Ali ?
or Eu shops ?
general answer: yes
I got two IKEA Tradfri shortcut buttons. They are placed 15 cm from eachother. One is controlling a Aquara plug, the other one is controlling three IKEA Tradfri bulbs. I have used a blueprint to make the automations. I am running with ZHA. The funny part (not) is that the button controlling the light bulbs randomly (almost every time) turns on the Aquara plug) and If I double press quickly it turns off the plug again (not programmed like that). The other button is set up to turn on/off the Aquara plug by toggling the button, and this button does only that. Have anybody else experienced that a IKEA shortcut button is turning on something it is not programmed to turn on. If so have anyone found any ways to solve the problem?
OK, going to come back to this because I've been at it for days now and still can't get it to work.
After posting the other day I flashed the firmware to the recommended version, I'm still getting the timeout error.
HASS definitely sees the stick because it shows up when I run lsusb and it has read/write permissions. All my devices show up when I use ZHA, but I keep getting this error in Z2MQTT. Anyone else run into this?
Update. I'm an idiot.
I spent literal days going through the troubleshooting and guide, and somehow missed a troubleshooting tip that told me to add
adapter: deconz to my config. I added that and nwo it's working
Imma ping this, still looking, i'm starting to believe it does't exist
Aqara? Not sure if they support momentary, but that'll be documented
OK next step quick question because I don't see any documentation/guides on it, and I want to make sure I don't mess something up.
Transitioning from the old server to my new one, can I just unplug the dongle, plug it into the new one, and copy over the zigbee config file?
I tried deleting a device (Hue bulb) and now I'm having trouble getting it back into pairing mode, so I'm wondering if I can just copy the rest over
On Z2M, not ZHA?
Yes, Z2M
Then you have to copy over all the stuff in the Z2M config folder, except the logs
Gotcha. OK so configuration.yaml, databases.db, and state.json. I'll try that, thanks!
Plus any other files, plus if you're using add-ons you need to clone the add-on config
(the add-on splits the config for Z2M between the files and the UI)
Hmm OK yeah maybe it's best I don't try to mess with that and just reset everything manually lol
yeah i had checked those, it's not said explicitly but the wiring diagrams and the lack of istruction on how to switch mode suggests they don't support that
Oh, wow, thank you so much will look into that
the aqara door/window sensors are rock solid it's not even a close contest
are you talking about scanning for channels? you can do that with the energy-scan command in zigpy
look for firmware updates for your dongle. for the sonoffs there are flash methods that don't require taking the case off
This is also done by just downloading diagnostics from the ZHA integration itself. The same data is in the JSON.
cool didn't know that i'm ZHAless 😂
Has anyone had any luck using a ADT Smarthings (zigbee) Carbon Monoxide Alarm White - F-ADT-CO-1 with zigbee2mqtt? I am looking for a zigbee smoke detector for my Kitchen that doesn break the bank and these see to be pretty inexpensive off of eBay.
I mean that's not a smoke detector, it's carbon monoxide, but for $20 it's worth a try
The smoke detector from the same line is F-ADT-SMK-1
Also cheap on eBay, but I can't find anything on people using them with ZHA or Z2M
If you're lucky, it'll just work, but my guess is that if it doesn't it probably intentionally doesn't follow the Zigbee specs in ways that are intended to make it not work without the ADT branded Smartthings hub and would need a little work to work with z2m or ZHA.
Hey guys, I'm looking at getting some of the aqara door sensors for my sky connect and just want to be sure in getting the right version before I buy
Is it this one? I can't see any model number and there's so many listings that I can't tell for sure? https://www.aliexpress.us/item/1005004725628121.html?spm=a2g0n.productlist.0.0.102e6717DImUro&browser_id=dbdf2b24044048368e6ec802774c08b8&aff_platform=msite&m_page_id=dbdfbeeccb18b64b41d16f96dcf5183a16a501a2c5&pdp_npi=4%40dis!AUD!42.76!30.79!!!26.72!!%402103228816982016074214747ecbaa!12000033961135915!sea!AU!2798627282!&algo_pvid=44620391-2566-4b01-9cdc-9a003b5edaa3
Is there an alternate model that you would reccomend?
E1, T1 models are newer and also work with ZHA.
Every sensor except the P1 door sensor should be fine. If you get the P1, it would be easy to add a quirk though
How can I tell the difference between the t1 and e1? Is it on the listing somewhere and I'm just blind?
I can’t open the listing rn (without a VPN), so idk
Does it have a model number somewhere?
Got it now, seems to be the (old) standard model
It’s fine
I couldn't see a model number on the listing
So the e1?
No, there is the old/standard (Zigbee 1.2) model. Then, there’s a newer T1 and E1 model.
All those three look the same
Well that's not confusing at all 😛
So should I be looking for the e1/t1 versions instead? Is there much of a difference? These are my first zigbee devices so I'm not 100% sure about it all
It probably doesn’t matter. The newer models are a bit better when their parent becomes unavailable.
How do I tell the new models apart though if they look the same and don't have a model number on the listing?
You can try searching ali for aqara e1 to maybe get some listings actually selling those.
Ok I think I found a cheaper version that seems to be it? https://www.aliexpress.us/item/4000713894535.html
That looks like the old/normal model
Ach, I thought because it said it's the global version it was the e1
Global is the "old variant"
E1 is supposed to be China only (but newer)
T1 was initially China only too, but a slightly updated T1 is now rolled out to Europe
Boo for being confusing
Nah I'm actually looking for a reliable Zigbee smoke alarm myself.
Hi Guys, my name is Eric. I'm a dev @ dresden elektronik and i am tasked with integrating the ConBee III into the zigpy-deconz plugin.
The issue right now is, that the current deconz implemententation of zigPy assumes a baudrate of 38400, but the Conbee III is running on a 115200 Baudrate
I copied the implementation of zigpy-xbee so that a baudrate can be supplied via the config file.
But i am quite a newbie when it comes to python development (mainly a C programmer myself) and i am having truble setting up a testbuild to test my changes
could someone have a look if what i am doing makes sense, and maybe help me set up a dev env
Hi everyone, I have a question, yesterday I have search and try a lot of thing but nothing works so, i would like to know if somebody can help me to setup a PiZigate+ V2 on a Raspberry Pi 4 ?
I've follow the documentation but there is no directory name "/boot" for made the modification that are needed : https://zigate.fr/documentation/compatibilite-raspberry-pi-4-b/
I've tried to go to "integration" and add ZHA, I tried to connect vian the /dev/ttyAMA0 but it's not working ...
hi all,
Someone told me in here that in order to get zigbee lights to work from a greater distance i need routers in between. He advised the inrr plugs.
Now i want to order some more stuff at once and was wondering if there is a particular brand of light bulbs that has your preference when it comes to zigbee supported smart light bulbs?
As always... what you can buy depends on your country
Hey guys, quick sanity check but apparently the aqara e1 door sensor was made for use in the Chinese market - I assume if we go with sky connect through ha that I don't need to care about that?
Yeah, it’ll work fine with that everywhere
That's the case for pretty much every Zigbee device - they all work
Awesome, I thought so from what I've heard about zigbee but a lot of posts online were saying otherwise!
There are sometimes compatibility issues, but they're rare
With the zigbee hub?
Coordinator, but yes
Usually with the ConBee or TI coordinators, needing a particular firmware version
Ah fair enough
Some devices don't like TI coordinators (Terncy), and some only work on the ZLL channels (11, 15, 20, 25)
Sorry, its in the netherlands.
Most common lights i see are hue, innr, eria, gledopto, woox, prolight, rextech, Eglo
Hue good but the most expensive, Innr good, Gledopto good, those are the ones I recognize.
I'm gonna hazard a guess that maybe two of those are Tuya white label stuff.
Tuya sell cloud services, and firmware, to hundreds/thousands of companies, probably also design specs based off of how often you see identical hardware with a different logo
Tuya stuff is often cheap and nasty, though some can actually be pretty good
ah oke
I see its listed on the website. Woox is Tuya.
hue, innr, eria en gledopto aren't
Hi, I have a TuYa TS0011_switch_module that refuses to join. I've installed the included resistor and the devices behind it power on fine now, and when I long-press the reset button the switch blinks once, but doesn't join or anything. Any ideas why that might happen? I've tried placing a working zigbee power socket really close to it to see if that helps but to no avail
I'm trying to follow this guide to set up HA and a Sonoff Zigbee Dongle P on Ubuntu 22 https://medium.com/geekculture/home-assistant-docker-zigbee2mqtt-3d8e0ba02d10
Container seems to work, but the issue is that the folders created for mosquitto are locked with some permission access so I'm unable to create the config file there. Any pointers? My composer code is exactly the same as the examples, except for my folder locations being under user/documents
They even managed to paste the YAML without formatting and with smart quotes
So much for geek
I removed the quotes and fixed the formatting at least :p
The folders in your mosquitto volume are owned by user 1883, use sudo to access them and/or create a user with that UID
any way to not have that happen at all? folder owner is listed with "user #101882" as owner if that has any relevance
Well, it's designed to run that way
Your option would be to run a different image, one that allowed you to specify the user, if that's what you want
The occasional use of sudo shouldn't be a problem though
I see, I'm new to linux as well but I'll give sudo a try
Unless the image has an option to run as another user you just have to adapt
Just adding user: xyz to the compose file usually works. Other choices would be setfacl and other permission things
Damn gledopto wont reset 🥹
They're very fussy about timing
I'll give that a go too 👌
@sour shadowhow would i time it? its connected to the outlet, with a meanwell psu inbetween
Hello all,
I have a strange problem with my ZHA integration. Since some days, a new light automatically pairs to my ZHA integration. I think it's one of my neighbors lights.
I'm wondering, how the light can connect to my ZHA zigbee network, without starting the pairing mode.
I already deleted the light some times, but it still reconnects.
Do anybody have a solution for my problem?
Been having issues with my HUE bulbs recently, and upon logging into their app, I saw an announcement that they'll require creating accounts soon. So if I want to ditch them completely, does anyone have recommendations of zigbee bulbs (white-only and rgbw) that are reliable with HA? Is there a list that is maintained somewhere?
I'm getting closer on my docker HA zigbee2mqt setup, but my zigbee2mqtt container wont run and prompts me with "no such file or directory" for the sonoff p-dongle I'm using. I've tired both /dev/ttyUSB0 and the complete path but neither works
The Hue bulbs can be paired directly with HA provided you have a Zigbee dongle, they work really well, they're extremely reliable, and are great router devices.
Does the user the container is running as have access to serial devices? Are you adding the volume to the configuration correctly?
answer to first question is probably no, so how would I make sure that it does?
I'm following this btw: https://www.zigbee2mqtt.io/guide/getting-started/#installation
@Tinkererhow would i time it? its
Did you check the path on the host, and map that path into the container?
the path of the adapter? yeah, I checked that
And you mapped the /dev/serial/... path? Or something else?
Would help us to help you if you shared what you did 😉
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.
well, I did mention that I tried both dev/ttyUSB0 and the complete serial path, aka dev/serial/by-ID/"the adapter"
Please share the Z2M config and compose file/Docker run command line
Please also confirm that you've nothing else running that may use it - no ZHA in HA, and no Modem Manager installed
aight, give me a sec
What coordinator are you using?
I do have a HA container in the composer, but I haven't done anything to set it up thorugh the GUI. would that start running ZHA and using the dongle by default?
What exactly to you mean by coordinator? I'm using ZHA with "ConBee II"
The 'Conbee II' is your coordinator
Before you delete the light, are you actually able to control it?
I wonder if it just doesn't get the "remove from network" request. So it never resets and joins again when it hears your network again
compose file: https://dpaste.org/N9KGx
config file: https://dpaste.org/q3Njx
No, I'm not able to control the light. When I try to turn if off, I get an error message.
In general I'm wondering, how it's possible that a light can join my zigbee network without activating the pairing mode in HA.
Can you post a screenshot of what the light looks like if you go to its device page? Or post a link to its diagnostics JSON?
Sadly I just removed the device some minutes ago 😦
Should I write you a message, when the device is back again? It can take some days
Sure, feel post info about it here and feel free to tag me
how it's possible that a light can join my zigbee network without activating the pairing mode in HA.
It's possible that it once joined your network ("grabbed the key") when your network was open to joins. Now, it no longer hears your network most of the time (hence it doesn't respond to turning on/off), so you also can't tell the light to "factory reset" itself.
That's why it appears to re-join your network. It never actually left the network though (when you remove it).
i got a unraid build with a vm running HA os . is there a way to update the firmware on the homeassistant skyconnect without unplugging the usb stick
Use the Silicon Labs Flasher addon
Make sure to disable ZHA first
@austere patio Thank you, I'll do it
@mellow geode Thank you for the explanation 🙂
@austere patiohow do i disable that?
Go to the list of integrations, find Zigbee Home Automation, click the cog icon, and disable the config entry from the drop-down
Why do you want to upgrade the firmware?
i shouldnt? thought it would not hurt
I meant if you're upgrading to try to solve a specific problem, or if you're just trying to get the latest version
nah just trying to get latest version
anyone got an idea on this
So I can ditch my bridge? I was able to migrate 3 of my 5 HUE bulbs to work with my Sonoff zigbee stick directly, but two remain finicky. They are maybe older models?
What's the exact issue? Do they not respond sometimes? Can you download the device diagnostics file from the finicky bulbs and upload it here: https://dpaste.org/ then send the link?
Hi all
I have a rpi4 with sonoff zigbee 3.0 dongle running homeassistant os. I added 11 zigbee devices without problems so far through the ZHA integration and have been controlling lights without any issues for a couple of days.
Now I want to add a remote: the Ikea E1743 on/off switch that usually ships with smart bulbs, with two buttons that you can also long press for dimming.
I paired it by pressing the pairing button four times, after which it shows up in home assistant. However, it doesn't show any entities and does not cause automations to run.
What can I do to find the problem?
There's no problem, that's a remote and you just get events
How can I check if I actually get events?
I made two automations: basically pressing the button should trigger an action. On the left, pushing the Lumi button triggers my roller blinds to go up/down and it works just fine. On the right, pushing the Ikea button should toggle a light, but this one does not ever trigger.
So that's why I think there actually is a problem...
one sec. trying to send a screenshot
developer tool, events tab, in listen for events, put in zha_event then hit listen
trigger the buttons and you should see events
screen shots not gnerally allowed, use imgr or similar
Ah ok, thx
I tested it with the Aqara button and see the events when I listen for zha_events, but when I try it with the Ikea button I get nothing
It likely didn't pair correctly. That seems to happen quite a bit with IKEA remotes.
Start a reconfiguration from the UI on the device page, then continue pressing a button on the remote whilst starting the reconfiguration.
The reconfiguration UI should show green checkmarks for most clusters/attributes
I tried that a few times already, but only get green checks for binding, reporting. In the table with cluster/binding/reporting I don't get any green checks, only orange x in many cells...
Hmm. The sensor likely doesn't receive the messages then
I just added two other Ikea remotes, type 1766. They look exactly the same except for the icons for on/off are replaced with open/close. They work just fine 🧐
They might be on different firmware
Trying to add my Tubes Zigbee Network Controller
Instructions say to use ZHA, manual, EZSP
Then my ip is:
socket://192.168.1.169:6638
And says to use:
Port Speed 115200
Software Flow
When I try to add it home assistant pops up and says restore a network or create a new one.. I click create a new one and it just pops up and says error
Update: I rebooted both the zigbee device and Home assistant. This time when I opened home assistant it was auto configured. I clicked on create new network and got the same error message. 😕
There might be some more information in the logs (home-assistant.log)
Also, what HA version are you running?
You can enable debug logs for ZHA by adding this to your configuration.yaml: https://www.home-assistant.io/integrations/zha/#debug-logging
Then, restart HA, try to set up the coordinator again.
Log output should contain more information. Feel free to DM it to me if you can't see anything obvious
It just wont even try to connect now
2023-10-25 17:01:41.334 INFO (MainThread) [zigpy.serial] Using pyserial-asyncio-fast in place of pyserial-asyncio
is the only thinkg I see, and not even sure if zigpy is zigbee lol
I found four of those square Ikea remotes in my home 🙂
- Type 1766 - Firmware: 0x23079631 - Very responsive, always works
- Type 1766 - Firmware: 0x23079631 - Not very responsive, but sometimes it works
- Type 1743 - Doesnt say anything about firmware at device info -
- Type 1743- 0x23079631
Apparently they run the same firmware, so the difference between the types really is only the icon/appearance. But since (1) is very responsive and (4) is never responding and they are on the same firmware, that probably isn't the root cause...
Heres is the log I got if anyone is good with zigbee cordinators
2023-10-25 17:12:53.397 INFO (MainThread) [zigpy.device] [0x0000] Got Node Descriptor: NodeDescriptor(logical_type=<LogicalType.Coordinator: 0>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AlternatePanCoordinator|FullFunctionDevice|MainsPowered|RxOnWhenIdle|AllocateAddress: 143>, manufacturer_code=43981, maximum_buffer_size=82, maximum_incoming_transfer_size=128, server_mask=11329, maximum_outgoing_transfer_size=128, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=True, *is_coordinator=True, *is_end_device=False, *is_full_function_device=True, *is_mains_powered=True, *is_receiver_on_when_idle=True, *is_router=False, *is_security_capable=False)
2023-10-25 17:12:53.399 INFO (MainThread) [zigpy.device] [0x0000] Already have endpoints: {0: <zigpy.zdo.ZDO object at 0x7f62424b10>, 1: <EZSPEndpoint id=1 in=[] out=[] status=<Status.NEW: 0>>}
2023-10-25 17:12:53.399 INFO (MainThread) [zigpy.device] [0x0000] Initializing endpoints [<EZSPEndpoint id=1 in=[] out=[] status=<Status.NEW: 0>>]
2023-10-25 17:12:53.400 INFO (MainThread) [zigpy.endpoint] [0x0000:1] Discovering endpoint information
2023-10-25 17:12:53.469 INFO (MainThread) [zigpy.device] [0x0000] Already have model and manufacturer info
2023-10-25 17:12:53.470 INFO (MainThread) [zigpy.device] [0x0000] Discovered basic device information for <Device model='EZSP' manuf='Silicon Labs' nwk=0x0000 ieee=68:0a:e2:ff:fe:8d:84:be is_initialized=True>
2023-10-25 17:12:59.905 INFO (MainThread) [zigpy.util] Optimal channel is 25```
Device info will only show the firmware version if the device requested at least one OTA. You can send an ota_notify command via the clusters UI to update that
(You'll need to press a button whilst doing so)
I found something at manage device -> clusters -> OTA -> commands, but ota_notify is not in that list
image notify
Would it be a good idee to install Zigbee2mqtt next to ZHA and use both at the same time? Maybe the remotes work better with Zigbee2mqtt ?
If you have multiple coordinators and are careful about the channels it's possible
You'd need two coordinators for that. For now, I would try to get it working with ZHA. The remotes are supported
It's just likely they aren't configured/paired correctly (not bound)
Yes, image_notify is there, but asks for a manufacturer_code, image_type and new_file_version
You should still be able to press the "send command" button. Or just enter 0 and so on in the fields. Should be fine
Whilst pressing the button in the UI, press a button on the remote, so it can wake up and receive the command
I do actually have a spare CC2531 stick with Z-stack firmware which I was using before the Sonoff Zigbee 3.0, but using two sticks is not really the most elegant solution. Also I'm not sure if I have any usb ports left on this raspbery
I'll try, thx
Otherwise, for the remotes that aren't working, can you put in a fresh battery and then allow joins in HA and just re-pair them? (press button four times quickly)
Make sure your coordinator is away from interference sources (like WiFi APs, metal, USB 3.0 devices, SSDs, Bluetooth devices, ..)
It's basically required to have it on a USB extension cable
Otherwise, messages can get lost and that could be why some remotes aren't pairing correctly
Hmm yeah I just put in a battery fresh from a pack that I bought last week. Also the coordinator is on an extension cable, although it's quite near my chromecast and speaker with wifi, so maybe there is still too much interference. Maybe I need to switch the wifi to a different channel too then.
Thanks for your help. Going to bed now
If you download the diagnostics file for the ZHA integration, you can see all interference levels on the different Zigbee channels at the bottom of the file.
What version of Home Assistant are you using?
Beta 2023.11.0b0
Can you enable ZHA debug logging and send me the log file of it failing to form a network? https://www.home-assistant.io/integrations/zha/#debug-logging
I’m sorry disregard
Got this mixed up with another Channel
Updating to the beta fixed the issue 🙂
I updated my sonoff zigbee coordinator and now all my zigbee devices show up... as offline
Seems like it fixed itself after about 2 hours
So I'm still struggling with "no such file or directory" when trying to set up my sonoff dongle and zigbee2MQTT by following the official guide: https://www.zigbee2mqtt.io/guide/getting-started/#installation
composer file: https://dpaste.org/XH4JO
zigbee2mqtt config file: https://dpaste.org/q3Njx
Any ideas? The device is owned by root, accessible by the dialout group which my ubuntu user is a part of
Yeah... you need to read up on compose files 😉
devices:
- /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_ae56619dd312ec11bc5723c7bd930c07-if00-port0:/dev/ttyUSB0
That maps /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_ae56619dd312ec11bc5723c7bd930c07-if00-port0 on the host to /dev/ttyUSB0 in the container
serial:
port: /dev/ttyUSB0
``` would be your Z2M config
I'm still getting "no such file or directory" on the device path after changing that tho
so the problem arises when it tries to read that path on the host
Then time to pop open a shell in the container to see if the device is mapped
docker exec -it [container-id] bash
Might be tricky entering it as the container will likely restart
the container isn't running tho, cause it gets a startup error on the device path
What's the exact error you're getting now?
I'm using docker desktop so when I try to restart the container there I get
"Error: (HTTP code 500) server error - error gathering device information while adding custom device "/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_ae56619dd312ec11bc5723c7bd930c07-if00-port0": no such file or directory"
when I run the compose file from the terminal I get a similar one there: Error response from daemon: error gathering device information while adding custom device "/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_ae56619dd312ec11bc5723c7bd930c07-if00-port0": no such file or directory
Well... that's still not using the right path
So... doesn't look like you updated anything 😉
hmm, must be something I'm missing cause the files are set up exactly as you wrote it there
where should my configuration file be? same location as the compose file?
if I understood the guide correctly I was to put it the compose file in /Docker and config in /Docker/zigbee2mqtt-data.
No, the config file goes in the Z2M folder
/home/eirik/Documents/Docker/zigbee2mqtt-data
hmm, perhaps I'm doing something wrong in running it. I've opened /Docker in terminal and ran docker compose up -d
Well, your files aren't in /Docker but /home/eirik/Documents/Docker
Also make sure that you stopped the Z2M container
I'm on dekstop ubuntu, so I'm in that folder yeah, I go there by navigating to the folder and choosing open in terminal
just wanted to shorten it while explaining :p
I delete all the containers every time I try again after a change
Something went wrong, because it's still using the old config
Please share (again) the current config for both compose and Z2M
aight, one sec
Just run it without -d so you can CTRL+C to stop it and also see immediately what happens
[+] Running 3/3
✔ Network docker_default Created 0.0s
✔ Container zigbee2mqtt Created 0.1s
✔ Container mqtt Created 0.1s
Attaching to mqtt, zigbee2mqtt
mqtt | 1698315558: mosquitto version 2.0.18 starting
mqtt | 1698315558: Config loaded from /mosquitto-no-auth.conf.
mqtt | 1698315558: Opening ipv4 listen socket on port 1883.
mqtt | 1698315558: Opening ipv6 listen socket on port 1883.
mqtt | 1698315558: mosquitto version 2.0.18 running
Error response from daemon: error gathering device information while adding custom device "/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_ae56619dd312ec11bc5723c7bd930c07-if00-port0": no such file or directory```
Can you run
grep -sRi serial /home/eirik/Documents/Docker/zigbee2mqtt-data
Z2M is still looking at a file other than the one you shared
that just returned /home/eirik/Documents/Docker/zigbee2mqtt-data/configuration.yaml:serial:
Try this then or change serial to ITead
cat /home/eirik/Documents/Docker/zigbee2mqtt-data/configuration.yaml
The idea was to find where it's referenced
could it be that it's not reading the file at all? cause I'm not sure how it could be reading a different file, since that shouldnt exist
sorry, I don't think I'm following there. where should I be changing serial to ITead?
In my last command: <#zigbee-archived message>
Gotta go now but also share the cat thingy
ahh, that didn't return anything
That returned the config file ```eirik@eirik-server:~$ cat /home/eirik/Documents/Docker/zigbee2mqtt-data/configuration.yaml
Let new devices join our zigbee network
permit_join: true
Docker Compose makes the MQTT-Server available using "mqtt" hostname
mqtt:
base_topic: zigbee2mqtt
server: mqtt://mqtt
Zigbee Adapter path
serial:
port: /dev/ttyUSB0
Enable the Zigbee2MQTT frontend
frontend:
port: 8080
Let Zigbee2MQTT generate a new network key on first start
advanced:
network_key: GENERATE```
does the information here tell me anything useful? my user is a member of the dialout group at least, but not sure if the information for the serial path tells me anything new
crw-rw---- 1 root dialout 188, 0 okt. 26 11:28 /dev/ttyUSB0```
```eirik@eirik-server:~$ ls -l /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_ae56619dd312ec11bc5723c7bd930c07-if00-port0
lrwxrwxrwx 1 root root 13 okt. 26 11:28 /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_ae56619dd312ec11bc5723c7bd930c07-if00-port0 -> ../../ttyUSB0```
Z2M runs as root so it has access to the device, but for some reason your config file isn't being read
Swap the Z2M entry in compose for https://dpaste.org/PxJCk and do docker compose up zigbee2mqtt
same error with that entry
Then... you're messing up the basics, because that entry won't start Z2M
hmm, not sure what to make of that. What am I messing up here?
I edited the z2m entry to match what you linked, ran the command as you wrote it and the response in terminal is exactly the same as before
pretty close to just giving up and trying to set up HA OS on a virtual machine instead :p
It's odd, because when I map a device that doesn't exist Docker throws an error, but I've also never had it not read the config file
But also, when I make that change, I get an ls from /dev
✔ Container zigbee2mqtt Recreated 0.0s
Attaching to zigbee2mqtt
zigbee2mqtt | total 0
zigbee2mqtt | lrwxrwxrwx 1 root root 11 Oct 26 11:49 core -> /proc/kcore
...
Having issues with Zigbee2MQTT set up. Trying to move over from ZHA and using a Sonoff Zigbee USB Dongle E, which I now see is experimental. I cannot get past
Zigbee2MQTT:info 2023-10-26 12:43:06: Starting Zigbee2MQTT version 1.33.1 (commit #unknown)
Zigbee2MQTT:info 2023-10-26 12:43:06: Starting zigbee-herdsman (0.19.0)
Zigbee2MQTT:error 2023-10-26 12:43:27: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2023-10-26 12:43:27: Failed to start zigbee
Zigbee2MQTT:error 2023-10-26 12:43:27: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2023-10-26 12:43:27: Exiting...
Zigbee2MQTT:error 2023-10-26 12:43:27: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
at ZStackAdapter.start (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:103:27)
at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:132:29)
at Zigbee.start (/app/lib/zigbee.ts:60:27)
at Controller.start (/app/lib/controller.ts:101:27)
at start (/app/index.js:107:5)'
yeah, I just get the error right after "attaching to zigbee2mqtt" so it just stops right there
My config is
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
serial:
adapter: ezsp
mqtt: {}
serial:
port: /dev/ttyACM0 ```
Read the adapter docs for Z2M
Which says that your compose file wasn't changed
how is that possible tho? cause it is changed :p
if I open the compose file, I see the changed code
added that already
and it responds to other changes, like including HA or not etc
No, you didn't
and if I change the serial path to just /dev/ttyUSB0 it changes the error to match that path
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
serial:
adapter: ezsp
❌
serial:
port: /dev/ttyACM0
adapter: ezsp

thank you so much - stupid mistake!!
hi, trying to install z2m but failing on configuration. I run HAOS and installed Mosquito add-on and z2m-addon, everything is latest version. On saving the z2m config get a "Failed to save add-on configuration, Invalid dict for option ‘serial’ in Zigbee2MQTT (45df7312_zigbee2mqtt)."
My serial path is "/dev/serial/by-id/usb-Silicon_Labs_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001-if00-port0" without the quotes.
Someone any ideas what goes wrong?
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.
Share an image of the add-on settings
mmm, seems to be something with the UI. Now that I use the yaml configuration is saves ok.
Now let's see if it will start up.
It worked, sorry for bothering you. must have been a glitch somewhere.
Hey All - I'm trying to figure out an issue - hoping someone can assist:
- I have MQTT setup for my network - I've got about ~30 routers/endpoints on a network.
My issue: I'm trying to connect an IKEA bulb: LED2003G10 to 2 AQARA Endpoints: WXKG11LM (1 button clicker) and RTCGQ11LM (motion detector).
It connects to the network and paired and found the connection. However - after I tinker with other connections - both endpoints don't stick around.
Is there an issue with Ikea bulbs that it only connects to 1 Endpoint device?
i yhave a lot of problems with my Zigbee2MQTT interface. electric meter stops syncing from Frient. says im using 3505W but its not hehe
so its not reporting..
Zigbee2MQTT:info 2023-10-26 17:53:54: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"Publish 'get' 'pulse_configuration' to '0x0015bc001b0216a0' failed: 'Error: Read 0x0015bc001b0216a0/2
I ended up doing this to fix my issue :p Proxmox, HA OS on a vm and I got my zigbee2mqtt sorted in no time👌
i have done a backup reboot on my Proxmox VM, still no sign of working. in "map" there is no lines
Wondering peoples thoughts - right now I have a HUSBZB for both zwave and Zigbee connected to my home assistant device. I ordered a Sonoff Zigbee dongle-E. My devices are at max 30 feet from the dongle, it’s 3 feet from the computer and router. I have a very unstable network right now. Is it better to connect this Sonoff to my HA computer and migrate the coordinator over from HUSBZB or flash router software and place it somewhere in the house? I already have Sonoff S31 plus as routers and the network is still unstable.
I’d use the Sonoff-E as the coordinator. Probably update the firmware before though. There’s some "Sonoff-E update page" that’s based on work for SkyConnect (but with -E firmware)
The official Sonoff firmware is also fine, but there are some improvements in the newer (custom) firmware
The Sonoff plugs are known to be really crap routers, they're probably the source of your problems
100% i've seen people move off sonoff plugs and magically problems go away
Ah, @topaz burrow. If you're using ZHA with the Sonoff plugs, you should update to the current 2023.11.0 (b0 or b1) Home Assistant beta. There's was an issue that was fixed that caused the plugs to crash
Really?? Yes using ZHA and it’s always the devices connected to the plugs that keep dropping.
I’m going to test the beta today. Tysm. If it doesn’t work out of curiosity, I ran out of usb ports on my mini pc. Big issue running a usb hub to connect the husbzb for zwave and Sonoff for Zigbee with 5 foot extension cables?
You're using HA 2023.10.x at the moment?
Yeah I think .10.5 or the latest
Yeah, take a backup and upgrade to the beta. Then, see if the network is still stable after an hour or so.
https://github.com/home-assistant/core/issues/101291 for the report.
Will try the beta but if not any way to force the plugs to not route or I would just have to get rid of them? lol
Thank you! Checking it out today for sure.
There are no way to change Zigbee routers to "not route" sadly. You can get rid of them or put them on another network (with Z2M for example).
Buy something that doesn't suck is the only way
I'd try the beta first though and see if the behavior improves.
Sadly pretty much everything Sonoff makes seems to have problems
true lol
Really? Dang I clearly didn’t do my research I thought they were touted as the problem solvers of the Zigbee world lol
Sonoff sensors are known to be problematic (don't update, badly calibrated, ...), but they don't break other devices at least. Sonoff plugs (and other mains-powered devices) also have a bad reputation for routing issues and so on
Honestly I could remove all the plugs and just move some wifi ones in instead. Have too many plugs cause I replaced them with the Sonoff thinking it’d make the network stronger.
Will try the beta and if not then remove the plugs and if not I’ll just setup a new coordinator. Thank you both
Their sensors are not great, I have a couple of the temp/humidity sensors and the humidity function sucks and they have occasional connection issues, I won't touch their contact sensors and buttons because of the experience with those sensors and the overall bad rep, but I've got three of the S31 Lite ZB plugs and two zbmini-L2 switch modules and never had any problems with those. Ymmv I guess.
lol and i have heard Sonoff is good stuff, atleastfrom sweden forums
Zigbee is finicky I guess. All the hate on wifi products but my wifi devices have been way more solid than my Zigbee. Too bad it uses so much power and can’t get door sensors that leverage wifi without massive batteries.
Most of the beef people have with WiFi products is the relative lack of local only options, whereas Zigbee is local by default.
Did some more research on these, looks like most of the ADT Smartthings sensors aren't even Zigbee, they use a proprietary frequency in the 900 MHz range.
I wonder if the new Sonoff presence sensor will cause routing issues
I think the beef with wifi is using ISP routers that crap out on 15+ devices
I only have one battery powered WiFi sensor (a tuya contact sensor that I bought by mistake) , but I think that it's pretty typical in taking several seconds to wake up and reconnect to the network when it gets a new event. The Zigbee version is instant.
That's normal for wifi battery sensor, they need to connect to wifi first
Yup, so, that's the reason for /my/ beef with WiFi products 🙂
At least the battery powered ones
That's called unrealistic expectations
🤷♂️ I did say I bought it by mistake! For some reason the eBay listings were for Zigbee/WiFi and I had to choose the correct version as an option. (And I swear the listing I bought from was just wrongly listed and didn't even have the option)
I didn't think about that problem because I wouldn't be caught dead using whatever garbage my ISP is foisting on people now.
Yes the wifi fear is still being spread
Is it possible to use a second Zigbee USB on system for redundancy/fallback?
Kind of screwed if my SkyConnect just dies one day
I have a feature request for HA/ZHA teams 🤤
There's a forum section for that
I was joking but I'll take a look
I wasn't
I installed one of those Jasco switches today, very nice quality
Better than the Leviton dimmer I removed
Has never happened as far as I can tell so I wouldn't worry
give it time
My favourite aspect of WiFi vs Zigbee is that I can control which devices connect to which acces points in my WiFi network - I haven't found any way to stop Zigbee endpoints swapping to inappropriate router devices yet :/ Multiple zigbee networks perhaps?
any good advice on updating the firmware on IKEA FYRTUR? I have managed to get to 50.5% once, but all attempts so far have aborted. I am using ZHA. Is the firmware update process more robust with mqtt2zigbee or IKEAs own gateway?
Got the itead dongle with the C26something chipset, latest coordinator firmware
I've always found it frustratingly slow and unpredictable. With the IKEA Tradfri gateway I just needed to let it get on with things, and it would happen "eventually"
My experience is mainly with the endpoint controller/button type devices
With Z2M, there is at least UI to control starting the process, but with battery devices again I found it a bit unpredictable. Fresh batteries helped, and bringing them closer to the coordinator helped (hard for motorised blind if you've already installed it!)
I added a USB extension to the dongle instead. 10cm distance between dongle antenna and FYRTUR now.
also switched off the not yet decomissioned Philips Hue hub.
newly charged battery
Sounds close enough. You have the Sonoff ZBDonle-P I guess (CC2652P), which is the same as me
yeah
With the battery devices I think I ended up clicking them every few seconds to keep them awake - I don't know if your blind would be "sleeping"
ZHA permits starting the process via the web UI, but after the process has aborted once, I need to restart the blinds for it to start again. And now it tries updating automatically.
dunno. But with a 40 byte upload every three seconds and a 250k upload, we're talking several hours...
(taken from memory, math may be slightly off)
Summary of my advice then:
- yes it does sometimes take several attempts.
- it's very slow
- if there's an automatic option, leave that on for a week and see if it just does it for you
I don't use ZHA, other people might know better 😄
thank you for chiming in anyways. good to know that it is supposed to be as slow as I observe it.
(Try touching the controls of the blind every few seconds, or few percent of the update)
does z2m (or zigbee in general) have a concept of restarting a firmware download from a given offset?
🙂 ok
@trail gorge I converted your message into a file since it's above 15 lines :+1:
If the device supports it, it will be done automatically. Devices are the ones that request image blocks at specific offsets during OTA, they're not pushed by the server.
I see.
But here, the download is aborted. And then nothing more appears to happen unless I powercycle the blinds
Can you get a debug log? You can manually re-issue an image notification command via the cluster management UI in ZHA
sending the image_notify command ends up flashing a NWK_NO_ROUTE message
But if the device itself aborts the OTA, there's no way to resume it
noted
Ah, a Conbee. What parent router are the blinds using?
So you have just those two devices on your network?
no, that would be a lie
I have three 'Namron' zigbee dimmers as well.
and I actually have two fyrturs
Any other routing devices?
I have a Hue hub. also disconnected from power.
I have 11 Hue bulbs. currently disconnected from power
so unless the dimmers are routing devices, no
Can you upload diagnostics JSON for one of the dimmers and for the ZHA integration itself?
I'll look into what that entails, and give it a try.
@austere patio as an issue in github, or just a dpaste?
Just as a paste
I triggered another update again. currently running. But interestingly, the blinds are not listed as connected devices under the coordinator device?
just the three dimmers
They aren't connected directly to the coordinator in that case and are connected via a dimmer
the map shows the blinds as a 'free-floating' device.
Heya - I'm using ZHA and want to use the normal "Automations" to simply control my Hue bulbs, with Hue dimmers.. The problem is that the bulbs to not turn on or off totally synchronised. Sometimes it even feels like it only turns one bulb on at a time 😅
Does anyone know what is going on? I am just using the Light service targeting an area as seen on the screenshot. 🙂
(I have also tried putting the bulbs in a group, and targetting that entity.. Exactly the same results.
is the map unable to visualize that the blinds are connected via a device?
Can you also upload diagnostics JSON for the integration?
The map is built from data reported by your other devices, scanned every couple of hours (or on-demand in the visualization tab if you hit the button). If it's not shown as connected, your dimmers don't report that info.
Any quick guide to where I find that? I'm in the ZHA integration now, but see no JSON diags
Oh
Download diags?
Yes. For the integration itself, not any specific device.
@austere patio thank you for your kind assistance.
Got confused after seeing your name in there haha
Just tell me if you need any clarification
It doesn't look like your ZigBee channel is congested. Did you recently reload the integration? Or is this after you triggered the delayed on?
I only have two Hue dimmers on it right now. They are controlling Hue bulbs, which is from the Hue integration. I recall remembering to try and reload the integration and then restarting HA, but nothing changed. Not really sure what you mean by the last part sorry (Or is this after you triggered the delayed on?)
@austere patio https://bpa.st/O3ZA and https://bpa.st/HHGQ
Hmm, let's take a step back here. The diagnostics info you posted is for the ZHA integration. You're also using the Hue integration? ZHA directly controls a USB coordinator, it is entirely independent from Hue. Unless you're actively using a Hue hub, you don't need the Hue integration.
(USB is on an extension cable so it is away from the computer and the ports and such. JFYI)
All my Hue stuff, EXCEPT for two Hue dimmers, is via the Hue integration. So HA controls my Hue hub via the Hue integration. The two dimmers I have, is conntected via the ZHA integration (via the USB coordinator). I use those to control the other devices (the bulbs)
According to the log, your ZigBee channel (15) is 85% congested, so you should be getting a warning on startup. Any nearby Wifi networks on channels 2-5?
need to ressurrect my unifi console. not impossible
Hmmm. So which integration is currently controlling the lights you're turning on/off? Are you using ZHA to turn off a smart bulb by turning off its smart dimmer?
channel 2, yes
That would be a problem and likely causing interference issues preventing the OTA from reliably completing. Move it to 1, 6, or 11, or at least towards the upper end (6+) so it doesn't overlap with ZigBee.
Uhmm - I guess the Hue integration just creates devices in HA right? So because all my Hue stuff is on the Hue bridge itself, that integration then gives me all the devices on that bridge, right?
I have then reset two Hue dimmers, which ZHA is now connected via ZHA.
Does that answer your question?
thank you very much, very much appreciated.
It just because I have not gotten around to reset all my bulbs yet, so they are still on the Hue bridge instead of ZHA
Sort of. In the light service call, which device or entity are you controlling?
I would first narrow down your problem by individually targeting all the devices in an area provided by a single integration, to see which one is having issues.
If I'm understanding what you are saying, which I'm probably not hehe, then I feel like that is what I'm currently doing? 😅
Unless you mean, that you think I should reset all my bulbs, and connect them to ZHA itself instead of having the devices through the Hue integration?
From what I can see, ZHA just controls two dimmers, with your other 47 devices controlled by Hue. When you target your office and turn on all its lights, are any of the ZHA-controlled dimmers in there? Or is it all Hue bulbs controlled by the Hue integration?
ZHA only has two dimmers yes. Which controls bulbs only from the Hue integration yes
So what I'm trying to control (the bulbs) is only one integration (Hue integration). But I am controlling that with a dimmer which is controlled by ZHA
If the bulbs and the dimmers are in the same room, both are being turned on/off at the same time. I would control just the bulbs or just the dimmers to see which is reacting slowly. (It's also not a good idea to turn off smart bulbs like this, as it breaks routing and also prevents you from turning the bulb back on without using the dimmer)
Sorry, there was an angry baby hehe.
Just running the automation itself to turn on the bulbs, gives the same result - non-synchronised turning on of multiple bulbs. So I guess it nothing to do with the dimmer.. But that is also just sending the command to HA that it should fire the service I guess?
I'm not sure what you mean by it's not a good idea? Everything is controlled by HA. I can easily turn off the bulbs with the dimmer, and then turn them on again with some other device.
Guess the only thing I can do/try, is to reset the bulbs so they are not a part of the Hue bridge, and then connect them via ZHA instead.. Then I also get the good mesh network. But maaaybe an angry wife that can't use the Hue app anymore 😅
how to setup the 3rd tuya equipment ? i try to use help doc ,but i app/data/extensionfexternally-loaded.js :34
const exps: Expose[] = [e.water_leak(), e.battery_low(), e.battery()]:
SyntaxError: Missing initializer in const declaration
at new Script (node :vm: 100 : 7)
at createscript (node : vm: 265:10)
at object.runInNewContext (node : vm : 306 : 10)
at loadModuleFromText (/app/lib/util/utils.ts :152:8)at loadModuleFromFile (/app/lib/utilfutils.ts:159:12)
at 0bject.getExternalConvertersDefinitions (/app/liblutil/utils.ts:169:25)at getExternalConvertersDefinitions.next (<anonymous>)
at new ExternalConverters (/app/liblextension/externalConverters.ts:12:20)at new Controller (Iapp/liblcontroller.ts :84:58)
at start (/appindex.js :106 :18)
Hello, I am new to HA. I am starting on a RPI with a Zigbee Stick and a radiator thermostat. My issue is that HA / ZAH does not show the correct entities. It shows Switch / Switch1 and Switch2. so i need to install or change a quirk... I am hoping to get some pointers. Where can i get a Zigbee device signature? Where can i look at / change active quirks? is it a good idea tro install zha-toolkit?
@mellow geode Hi! Some time ago you helped me with an issue in ZHA.
Now I'm currently trying to figure out an issue with a quirk you made in August (and edited last week) for a Xiaomi Module. In essence, I think the quirk isn't applied (maybe my Module has a different signature than what's in the quirk). Would you mind helping me debug?
If there's other ZHA / zigpy Experts here feel free to chime in.
Yes, it's the T1 Relay. It works in General, but if I'm reading the quirk correctly, it should allow me to set switch_type (which I need to finally ditch Z2M). However I can't seem to set switch_type and also no quirk is shown in the ZHA Device Info.
https://github.com/zigpy/zha-device-handlers/issues/1231
https://github.com/zigpy/zha-device-handlers/blob/dev/zhaquirks/xiaomi/aqara/switch_t1.py
I suspect maybe the matching doesn't work to my Relay, as the quirk already has a second matching in it, so maybe there's more Signature Types out there.
Can you upload your signature to https://dpaste.org/ ?
https://dpaste.org/BHWvY Here you go.
I'm a bit confused about the signature matching stuff in quirks but I'm sure you can easily figure it out.
That was fast :D
I'll be right back.
Anyone in the UK know of any GU10 Zigbee RGBWW lamps?
Gledopto or Hue
omg it works. Thank you so much! Now I can finally migrate to ZHA.
Maybe for the future a Dropdown for the type would be nice like with on/off memory but it shows in Advanced Zigbee Config, so I can use it.
Stuff like that can be exposed as a config entity in ZHA (example from an FP1): https://i.imgur.com/fz1tCFs.png
There needs to be a slight modification to both ZHA and zha-quirks though
Can you list all possible switch types? (and their value)
I would love to know how I get that type of output
In the quirks there are cluster_id's that are defined, but are outside what are in the specs. Does anyone know if these are assigned by the zigbee alliance, or are they just randomly chosen by the vendor/zigpy?
I think 1 is toggle and 2 is momentary.
in z2m only these two exist also.
I opened the device in HA, then clicked on the three dot menu and on 'manage zigbee device'. then the signature tab\
thank you!
can you tell me where you put the custom quirk?
ok. i need to add a folder /config/custom_zha_quirks/ and add that to the configuration
They're somewhat arbitrarily chosen by the vendor
Exactly! Add it to the config under zha: and then restart HA. Remember to name the Quirk something.py. The .py ending is important.
What's the manufacturer and model number of the thermostat? Assuming it's a Tuya one (manufacturer starting with _TZ), it might not be easy
example YAML for custom quirks: https://github.com/zigpy/zha-device-handlers/discussions/693#discussioncomment-857274
@austere patio still working on restoring my unifi console, so I can figure out which of my APs are transmitting on channel 2. In the meantime, is there any way to force a device to not act as a router? Kind of curious why my dimmers take on the FYRTUR blinds, as the coordinator is in the same room as the blinds. And the dimmers are on a different floor.
FYI, Zigbee channels aren't the same as WiFi: https://www.metageek.com/training/resources/zigbee-wifi-coexistence/
I have been informed about this.
is there any way to force a device to not act as a router?
no
my devices use zigbee channel 15, wich is in conflict with wifi channels 2-6 or something
Kind of curious why my dimmers take on the FYRTUR blind
Do you think the dimmers pick the blinds as the parent? The blind is battery-powered, right? (so not a router)
the dimmers appear connected to the coordinator. the blinds are not
yet, I have adopted the blinds and can initiate a firmware update.
UniFi Network should give you a warning when you try to set a WiFi channel that's not 1, 6, or 11. Those are the ones you want to stick to (at 20 MHz frequency!)
Ah, you mean they just don't show as connected in the topology? It's not live and only updates every few hours
I am reasonably familiar with wifi
right
@austere patio Sorry to ping you, but thought you maybe would like to know what it all ended with..
I factory reset the bulbs and connected them via ZHA instead.. Everything works perfectly now. So I guess it's either the Hue hub being slow or the Hue integration being slow/buggy.
So ZHA in itself is working perfectly. This is of course also the best, since all the bulbs in my home then can make the perfect mesh network I guess. Only downside is how I tell my wife that she cannot use the Hue app anymore haha.
Thank you for your time. 🙂
I have multiple APs, need to figure out which one to disable. Redid my kvm setup a few weeks ago, and my unifi vm was apparently not named 'unifi'. So I need to restore a couple of candidates to find the right one.
😕
Does anyone know how I can under one second in the transition with lights? 😅
The shortest duration should be 0.1s. Does 0.5 not work?
Yeah, it'll work like you did it. It's a frontend issue that it shows the "red line".
Wow I'm dumb - could've at least tried to save it before asking here.. It does work, it's just a frontend bug yes. Thank you haha
Should probably be reported as a frontend issue. Don't think that's been done before
True
does the value of 'query_jitter' matter a lot?
Shouldn't matter. It's only used for broadcasts IIRC
I have put my APs at ch2 and ch6 to minimum tx power. we'll see if that is sufficient to make the fw upgrade go through. (spoiler: it wasn't)
anyone ever seen zigbee firmware upgrades for HZC products?
looks like an OEM
do opensource zigbee devices exist? end-devices, that is?
People have built their own, yes
Curious why you're using channel 2 and not 1 for your WiFi AP?
Because he likes his WiFi networks to have collisions with each other without any of the safety nets designed to help prevent that
Me too. the result of unifi auto-optimizing. 'Nightly Channel Optimization'. Beats me.
The automatic part is removed in newer UniFi Network versions.
Just set 1, 6, or 11 manually
I have three APs. Will disable the one most likely to be a source of interference. But will let stuff be for some hours to see if the blinds gets drawn as 'connected' to the coordinator. LQI is listed at 218 for the blinds, so not entirely convinced RF is the issue.
Also, after the transfer has aborted, the device is unresponsive. Needs a powercycle before it responds again. That sounds more like an issue with the (current) device firmware having crashed?
any opinions on TRÅDFRI vs DIRIGERA vs .... none of them? pondering buying a second-hand TRÅDFRI gw
why?
If the tools and processes I have at hand don't appear to work out, it may make sense to look at other tools and processes?
Does anyone know if I use skyconnect can I turn my SONOFF Zigbee 3.0 USB Dongle Plus into a range extender to work with the skyconnect?
Yeah if you flash the router firmware
cool, will do, thanks
Those Sonoff Zigbee plugs btw for anyone curious absolutely caused all the Zigbee dropping issues on my network and 2023.11.1b doesn’t seem to fix it at least not for me.
Not sure if anyone else has s31 plugs as routers and had better success but after unplugging them all my network actually works again
is there anyway to log all zigpy communications with a specific device to a logfile outside of the main homeassistant log?
Not really unless you write something yourself. For what purpose do you need it?
I am trying to develop a quirk on my active system, and the quirk that already exists clones another quirk from the same vendor and that is causing my logs to fill up. I only have a single version of the new device, but ~20 of the devices the current quirk clones....I just wanted to minimize the logs so I can actually work toward a solution.
Hmm. Ideally, you'd have a dedicated development HA instance (and coordinator) for that, but that's not always possible without the hardware of course.
Just for reference, what's the manufacturer and model of the device you're trying to add a quirk for?
You could grep the ha log to another file with using the NWK and ieee of the device you are interested in..
(Do note that not all messages might be catched in that case, as some (especially quirks and HA ones) don't include the NWK address at the start.)
Yeah, it’s not perfect
Inovelli
Fan?
Their light switch is the VZM31 and the new Fan controller is the VZM35
Yea, I was looking at the Fan
I have a bumch of the light switches.
If the device already has a quirk, but the entities aren't created, there's currently a ZHA issue: https://github.com/home-assistant/core/pull/102924 (I just looked at 6 minutes huh) (and https://github.com/zigpy/zha-device-handlers/issues/2640)
Its not just that. It seems they used the same cluster_id on both devices and it is causing an issue when doing enumeration of the attributes as its tryign to hit one the light has but the fan does not.
Yeah, that's what the PR would fix.
zigpy failed silently at one point when it couldn't find an attribute, so it's possible that's why the issue only appeared now.
As a workaround, you could either patch your ZHA instance with the code from the PR or create a custom quirk that adds all the attributes to your device. Both "solutions" aren't ideal at all though
Oh wow. that is modifying core. I thought it would just be an issue with the quirk.
Yeah, currently only HA core (ZHA) has the ability to (properly) initialize attributes on configuration/pairing. Custom entities can only be created by modifying ZHA as well (at the moment at least).
@mellow geode btw. do you need anything else from me for the T1 (specifically exposing the switch_type as a button) ?
Also an unrelated question: I stumbled upon another issue with a Device Quirk which has an open PR that won't get merged due to missing tests.
Is there any way community members can send a cup of coffee over to the devs, so they may add the tests and merge the PR?
Sadly I'm lacking the skills to add something useful to the PR myself.
You're in Norway? Which I assume uses the EU WiFi channel set, so you have up to channel 13, so you have a bit more space to play with than the usual channel 1, 6, 11 (US rules) advice. If you fix your 2.4GHz channel width to 20MHz then 1, 5, 9 and 13 are non-overlapping for you. Don't use channel 1 on any of your APs and then your Zigbee channels 11, 12, 13, 14 and almost 15 are all clear of your WiFi.
I have a Tradfri gw - it just works, but as I mentioned before, zigbee updates weren't/aren't an interactive process. The "check updates" button in the UI just checks to see what updates are available and doesn't seem to force any end device to start taking them. They did eventually get done for me. I've never used a Dirigera, but I guess if I was buying now that's the one I'd get for the future. The Tradfri does seem to be very lower power consumption though (less than 1W) which I like 🙂
You only need to turn off the 2.4GHz for that AP 🙂 Do you have a lot of traffic on 2.4GHz? How much could you force on to 5GHz?
The other advantage I get from having an IKEA gw for some of my devices is that they connect to Google Home for "Hey Google turn out the light"
I have a fair bit of ESP devices running Tasmota distributed across the house. Need to keep 2.4G active
Sure, that can only be generating tiny packets of data?
I had a Nest doorbell that in the UK would only use 2.4GHz
I've moved to a PoE Reolink now.
yeah. But my bluetooth LE thermometers are spamming data continuously.
Again, compare that to a pair of Bluetooth headphones streaming audio, not a lot of data
And BT spreads itself across the whole 2.4GHz spectrum anyway
You can control what is on 5GHz, and use sensible channel widths and channels for 2.4GHz, and the position of the APs perhaps
A bunch of smart devices shouldn't really be bringing down your Zigbee network
I am not convinced it does, but puddly tells me that my debug report shows that the RF environment is busy.
Could be your microwave, bad electrical connection, "noisy" power supply, badly screwed on coordinator antenna?
DECT phone?
I observe that the blinds still report presence after an aborted download, but I can't poll anything from them.
(Do they work?)
interestingly, they became unavailable 7 hours ago, when I was sound asleep
I'll powercycle them and see if there is anything new
Your log shows which channels are busy: "energy_scan": { "11": 35.68627450980392, "12": 0.0, "13": 18.431372549019606, "14": 14.117647058823529, "15": 85.49019607843137, "16": 29.80392156862745, "17": 61.1764705882353, "18": 55.68627450980392, "19": 60.0, "20": 75.68627450980392, "21": 3.9215686274509802, "22": 31.372549019607842, "23": 87.05882352941177, "24": 3.9215686274509802, "25": 2.7450980392156863, "26": 38.431372549019606 }
You'd want to capture that log again if you've been changing anything like WiFi channels
But as an example, in that log 25 looks very quiet. If you only have a small Zigbee network at the moment why not set it up again, do the scan and choose a channel that is quiet?
BTW, as far as I know the Tradfri gateway uses channel 11 and you can't change it.
powercycling the blinds does not appear to bring them online again. if there is a software issue on the current firmware, battery may have drained?
Maybe. At least you can recharge it 🙂
Do you live close to neighbours with lots of wireless kit?
If I can get it up and running without customizing the zigbee defaults, I think I'd prefer that.
no
Sorry, I've got to go now - people are annoyed that I've not fixed the shoe cupboard to the wall properly 🙄
If you believe your energy scan results then the ZHA default channel is currently the worst choice for you. Use ch 5, 9, and/or 13 for your 2.4GHz, 20MHz channel widths. Rescan the channel usage. I have 4x 2.4GHz APs in my home and I just alternate channels 9 and 13. (Yes, there are some very dumb WiFi smart devices that can't use channel 13, I have only 2 of those, they connect to the APs on channel 9)
For exposing the entity, I just need some time to do it.
And which PR?
What’s a better motion sensor? I’m tired of these ikea ones randomly eating thru batteries in 2 weeks
Please read the channel description
This is the PR for my IR Blaster:
https://github.com/zigpy/zha-device-handlers/pull/2336
It's nearly done and seems stuck because some tests are incorrect.
I hear a lot about the Sonoff Dongle E's being crap. Not my experience. At least when using them as routers (flashed with router firmware) . I'm running HA on a Yellow so I selected the E's to create battery backed routers because because they use same wireless chip used in the Yellow. I have two E's running for weeks connected to a USB PS with a backup 1200 mAh battery and my ZHA network is stable and reliable. No nodes dropping off. My mains routers are INNR outlets, or Hue bulbs. My Zigbee net is not large - only 29 devices. I've been running HA 11 beta (from b1->b2) for few days. No anomalies detected
It's still on my eventual todo-list. Just haven't found time yet.
Ideally, the attribute / command defs should be switched to the new zigpy format. Those should also be referenced then (instead of just by id).
And we should really have some kind of test (that tries to send an IR code and see if the "Zigbee message" is as expected and nothing errors out).
It's likely coming from people using Z2M for which the ezsp driver that's used for these is still experimental and buggy
Ahhh that makes sense. Unfortunately a lot of comments lack detail.
maybe there should be #zigbee-archived-zha, and #zigbee-archived-z2m to prevent information cross-contamination if there's that much difference
I feel like there's already too many channels. It would also dilute things. Too similar
Yeah perhaps. And, z2m issues would be posted in zha vice-versa so clarity would not likely be improved
I just flashed the router firmware on to a ZBDongle-E to use as a router alongside my ZBDongle-P in a Z2M network - will it likely be trouble free to pair them together?
I've found that channel scan returns vastly different values over time. This probably because most Wi-Fi routers dynamically select the best channel. Just use 25 and be done with it or you'll just be chasing phantoms.
Does anyone here make use of "Remote Home-Assistant" ( https://github.com/custom-components/remote_homeassistant ) + Zigbee? To manage & connect two HA locations?
Out of curiosity, what would be the ideal solution?
Currently, to implement it in ZHA
weird problem. my ikea buttons keep going rogue
they work if i reconfigure them
then they stop working again
I have tuned my rf environment and made a shield around my dongle and the FYRTUR electronics. LQI: 247 and channel 15 at .. 0.0 ? ok.
How should I read frequency_band=<FrequencyBand.Freq2400MHz: 8>, ?
Is there any reason to suspect the RPi4 not providing enough current for the coordinator/dongle? dmesg does not suggest any issues.
Any considerations regarding using USB2 vs USB3 ports for the dongle? I currently use a USB extender for the dongle, I could remove that and use a longer UTP cable between switch and PoE dongle powering the RPi.
log from last attempt at https://paste.gentoo.zip/JTa9oFfh OTA starts at 2023-10-29 19:52:09.393
I notice the ota handler starts retransmitting at around the 2% mark
As long as the port and cable aren't both USB 3.0 you'll be ok. The problem comes if you use a USB 3.0 cable in a USB 3.0 port
file_offset=4640 is where things are starting to deteriorate.
And if I use a USB2 port I am safe either way?
I'll not complain if I ever have to recover an ethernet switch via zmodem again
If anybody is looking for a Zigbee Fridge or Freezer monitor take a look at at the MACREO ST4. The manufacturer says it requires their hub, but it paired with the Yellow using ZHA without their hub. It shows up as unk_model/unk_manfacturer. It uses a DS18B20 sensor on a very thin cable so it can fit between the door seal without creating an air leak and has a rechargeable 1800 mAh battery. I just added it so I'll report more info later . Maybe one of the Zigbee wizards can figure out how to enable it's features like it's built-in over-temp beeper and battery status
I wouldn't mind one, although seems no availability on the UK for the ST4, apparently there's an ST5 though, wonder if that's also zigbee
says MOCREO Hub required, so I'd hazard a guess it is, wonder what the difference is between the ST4 and the ST5, but yea have been thinking on this exact problem, I know some people throw the Xiaomi ones in but the cold hurts the batteries
ST5 is Bluetooth
ah right, good to know, not getting that then 😂
I have a zigbee + SkyConnect + Silicon Labs related question. Goal is I want to be able to use hue-thief (or other similar zigbee tools) from my host machine, as part of connecting a Hue to my zigbee (ZHA) setup.
My SkyConnect I previously moved to the Thead+Zigbee firmware.
Does anyone know how to get at the socket to connect to the Silicon Labs instance from the host machine? Eg I'd like to be able to hit it from socket://homeassistant:9999 (homeassistant resolving to localhost on the host itself).
My zigbee setup in HA works fine (mostly). Thread also works fine.
Go to the multiprotocol addon's config and enable the advanced port configuration. Type in 9999 into the Zigbeed port field and save. It should then work as you intend.
any chance you can tell me where that config is, and/or the name of the field? I was looking for something like that earlier and can't find it.
It looks like the device itself aborts the OTA, it isn't a connection issue. Do you just have the normal IKEA OTA provider enabled, or are you sending a specific image file directly?
is it EmberZNet EZSP/Ash?
Yes, that's the one
dang, wasn't connecting when I tried that, but let me give it another go after a full ha stop / start cycle.
Just to confirm, that'll expose it as 9999 on the host network?
Indeed. Make sure ZHA is disabled, as otherwise neither will work
good call, that might've been it
you da man dawg, that was it (ZHA)
just the regular provider. I am not specifying a file.
I have replaced the image in the zigpy_ota folder with a slightly older version now. Shortened the USB cable, moved stuff back to a USB2 port, and a crap attempt at shielding the dongle and fyrtur electronics. (together)
currently at 15%, 40 bytes every 2.1 seconds. We'll see.
Now I guess I should reset my question to: has anyone ever connected a Hue bulb to a SkyConnect + SI labs directly? I'm running into a whack-a-mole of issues here.
Trying to use hue-thief, and now can at least have it start connecting to the 9999 port (thanks for the help on that), but hitting one error after another. I'll keep trying to tweak the code, but if anyone's done this I'd love to hear about it.
What issue are you running into?
So, why is it that you can't find Zigbee light switches that are stand-alone pieces anymore? And why is it not as easy to find Zigbee devices like you used to?
Question from an RPi first-timer. I just purchased a zigbee antenna (sonoff) -- do i just plug it into the RPi and find it in integrations menu in Home Assistant?
Do I need to like restart the RPi? Is there a firmware installation step? Can't seem to find a video on youtube
Pretty much: https://www.home-assistant.io/integrations/zha/
zigbee antenna (sonoff)
Sonoff makes different coordinators with different chips. I assume you meant coordinator when you said antenna.
There'a also other choices than ZHA, see channel description and pins. The E model from sonoff isn't recommended for Z2M for example.
Can't seem to find a video on youtube
I find that hard to believe. If you searchhome assistant zigbeeyou're bound to find something
the yt videos just skimmed over it... cuz you're right -- just plugging it in worked lol, no additional steps needed 💀
thanks!
TL;DR: Can a SMA extension cable be used with the Sonoff dongles instead of a USB extension (to avoid interference)?
Recently changed from a Nortek HUSBZB-1 to Sonoff 3.0 Dongle Plus. I used an extension docking cable but with the Sonoff's external antenna, I'm wondering if I can just use a magnetic SMA mount. This way, the dongle can stay inside the rack cabinet but just the antenna is outside.
https://paste.debian.net/1296682/
My zigbee radio suddenly won’t connect and all devices are unavailable
Tried restarting the HA with a full reboot and also tried rebooting the poe radio
There’s other logs but I think that one is the one that explains it? ^^
Are you using ZHA?
Yes
Maybe the ip of the coordinator changed from 192.168.1.36 to ...
Had similar issue twice within the past week after restarting. I had to Migrate Radio, choose the coordinator, and keep network settings. Everything working now.
I’ll check
It’s assigned in the router, but now the routers saying it’s offline
Gonna go check
The tubez radios no longer blinking lights, they’re solid
You could see if nmap can find something with a command like this
nmap -T4 -v -p 6638 192.168.1.0/24
Changed the ethernet cable from one poe switch to another and now it works
Dunno if it was the poe switch connection/power, or just the act of rebooting the radio one more time
But Unifi was reporting its wired connection status was “E” which is just 10mbps
I hate how whenever this happens I have to repair some amount of zigbee devices’ connections
hey guys, i just got my skyconnect in the mail today and was looking things up and i just realised the computer i have HA running on through proxmox only has usb 3.0 ports
i've heard zigbee isn't great on 3.0 ports - is there something i can do to make sure i have the best zigbee network?
You can use a extension cable or a USB 2 hub to avoid most of the interference
i got a skyconnect which came with an extension cable, so i can give that a shot
is there a way to tell whether it's being affected badly by it? sorry if it's a basic question but this is my first zigbee stuff
You could run a energy scan. It's linked in the pins or description I think
ok, i'll give it a shot once it's all up and running, thanks!
Oh I forgot to mention. You could also use a ethernet coordinator
🥳 managed to update one of my blinds
but I have noticed something odd. http://fw.ota.homesmart.ikea.net/feed/version_info.json of the 6 files I have tested with, none of the downloaded filesizes matches what is written in the json. Most being off by 1000 bytes. ?? Anyone got a clue about why?
anyone else having issues with aqara temerature sensors loosing connection and going offline after a while?
Yes, happens to me sometimes and I have to re-add them to the zigbee network by putting Zigbee2Mqtt in to "permit join" mode and then holding the little button on the sensor for a few seconds.
I updated the firmware of my ZBDongle-P yesterday and home assistant was shut down for about 30 minutes. [4] of my [7] aqara THP sensors needed to be re-added after that. Otherwise one of them seems to need that every few months.
Yeah mine looses connection after a couple of hours
Are you using ZHA or Z2M? What coordinator and router hardware do they connect to?
How far away are the sensors?
Are you using a USB extension cable to keep the Skyconnect away from radio noise? That usually helps increase the range
And because the Skyconnect has an internal antenna people often report that it's helpful to have a reliable router device (like a zigbee switched mains plug) nearby.
... unless the extension cable is so long that the dongle suffers from brown-outs. 🙂
no clue how much power these dongles pull
Heh - did you learn that the hard way?
not sure what made my fw update go through in the end. did a bunch of things. shortening the usb cable and switching back to a usb2 port among them
ok. what about collecting information from the crowd about the used length of the USB extension cable. That should help to figure an optimal length.
That also depends on the quality of the cable
I'm using a 2m cable and I am facing sometimes messaged not being delivered.
Cheap crap will have problems long before a good quality one
ok, how to determine the quality of the cable? just via the price?
Nah
Though somewhat yes
Have you looked at the teardown and comparison of Apple's USB C cable?
I've got a 2 meter USB 3.0 cable (in a USB 2.0 port) that's been flawless - cost me about £20
I've also got a 1 meter flat USB 2.0 cable that's been flawless - cost me about £15
i use the cable that came with the skyconnect
and i have a router like 2-3 meter away
Any distance away from the computer or power supply is helpful. Mine are between 50cm and 1.5m and seem to do the job.
For quality "feels chunky"
Fancy braided outer is money not spent on metal wire 🙂
I use two of the cheapest 1m extension cables I could find. They cost 3€ (7€ now :() and work fine
my 2m cable brings the Skyconnect about 2.3m away from router and Pi4.
but as mentioned, sometimes messages are dropped.
Zigbee Energy information shows about 90-97%
You could run a energy scan: https://github.com/zigpy/zigpy-znp/blob/dev/TOOLS.md#energy-scan
I got the information from the ZHA diagnosis information
I haven't used ZHA yet
Hey guys. I've got this wierd problem with an Aqara wall plug. It keeps pairing with remotes close by. Two different kinds of Ikea remotes. Why? Anyone knows how I stop it?
Removing and repairing the remotes makes it go away, but after a few days or weeks, its back again.
An energy scan is unlikely to pinpoint issues with your USB connection. And as any noise emitted is likely to be bursty in nature, may or may not show up in the energy scan.
Best I could think of. Any suggestions what might be a more appropriate method?
just get a decent USB cable at around 1m, hook it into a USB2 port. If you control your wifi environment, use channels not interfering with zigbee.
RF can only approach an exact science with some niche gear and plenty knowledge and experience.
Longer cables will have some voltage drop. thinner cables are likely to a) be susceptible to interferenced and b) add to interference. I cannot quantify the extent of either. The quality of USB connectors also differs.
what a challenge! 😮
Wifi Channel: 3
Zigbee Channel: 14
is the difference big enough?
EU plug or other one? It’s an issue in the device firmware.
90% is pretty bad, and almost certainly the cause of your problems
:/
and I am looking for options to improve the situation ...
That's going to be moving the WiFi to other channels and/or moving Zigbee channels
There's a pinned image showing Zigbee and WiFi channels - you'll want to look at that
Because that tells me you don't understand the numbering
🙂 no doubt. I am new to it
Round one or square-ish one?
You’ll need to downgrade firmware to a version without the issue.
round one
Yeah, see the link I’ve sent then (you have the MAEU01 then)
For the firmware, use the firmware that’s at the bottom of the comment (links to another comment, header modified with v99)
Interesting. Don’t think I’ve ever seen that version before. You’ll need the header version of the OTA file to be at least v43 then. So just use the v99 one in the other comment. Will work fine for all versions.
I think there are also instructions for Z2M in the thread. You’ll just need to use a local OTA index IIRC
I just bought a random zigbee mmWave sensor which says it needs to be setup using Smart Life. I don't have a gateway registered in the smart life app as this is directly connected to home assistant. I managed to discover the device using ZHA but it doens't give any entities worth using... what should next steps be?
It's hard to find which model exactly it is, as I find several ones looking just like this one but all are branded as zigbee but mentioend Tuya in the description (hence the smart life app)
hi all,
Im still looking into making a start with smart lights. My server is rather far away from my actual living room so if i want to connect some smart lights i need some routers in the form of smart plugs. But i havent got any devices where smart plugs could be an addition to it. So i was wondering if the innr smart hub is compatible with HA? I cant seem to find any article about it.
My idea is to place the hub in my living room, connect the lights and let HA see the connected devices through the innr hub.
can I run z2m next to zha and have them use the same sonoff zigbee gateway perhaps? Maybe with Z2M I have better luck getting sensor measurements
Only one at a time
Tuya zigbee devices connect directly to ZHA or Z2M, you won't use the Tuya or Smart Life app
hi all,
yeah ZHA found it through auto discoery, but it only gives me LQI & RSSI, none which is useful to me
@drifting flare not quite sure what to do with this thing right now. Is there a way to get this one to behave wihtout having to throw out ZHA (too many things using it so that's not an option)
a second gateway seems a bit overkill for one device too
It will likely be supported "eventually"
If you can find the model/device id from the logs then searching might find some discussion or even temp work around
I think that ZHA lets you add "quirks files" for devices that do not have built in support (I might be wrong, I don't use ZHA atm)
seems to be right, found _TZE200_v6ossqfy from reading raw values from the device, this gave me a link to a guy with a quirk file that I will try. But now I'm questioning staying on ZHA at all. I use Aqara e1 TRV and need better thermostat for external readers, but this integration only supports Z2M. Is the move over a painful one or is it just re-pairing all zigbee devices @drifting flare ?
Anyone run into any issues with ZHA on the last OS/HA upgrade? I upgraded and now my network won't form, says its due to noise but it was running great for months, until I upgraded.
@drifting flare do I git clone zha-device-handlers dir or is it recommended to only handpick the files that seems relevant?
What's the most used cr battery in zigbee devices
The one you don't have
Fair enough
Usually aqara
Various
The door sensors have 1632, others are 2032 or 2450
Some even take two batteries
Sorry - I'm out of my depth with that question. @sour shadow might know
Is the battery life indicator in ha usually accurate
If I thought I could help then I'd have replied already. Tagging me in like that was pointless, and rude
Well, HA reports what the sensor tells HA...
So, yes, but probably maybe
Oh then the better question is the sensor reporting correctly 
Wich we would not know
And about the battery in it
And the temperature of the battery
My experience is that mostly it's rare to report 100% when dead
Of course it may also report 0% when working fine
Yeah. I think rn i need to look up my location of the USB stick cause feels like it the problem most of the time
Then batteries cause haven't changed in a, year or two
Most of my Aqara sensors get multiple years of battery life
The one outdoors on the garden gate almost certainly won't, but should be at least a year
Most of them is sub 10%
I usually replace once they're consistently below 20%
Guess i will do that
At least they're better than my Fibaro sensors that'd be dead at "100%"
What’s the latest and greatest zigbee coordinator nowadays?
'K sorry. I now remember you've told me similar before.
How do I request ZHA support for a device?
@floral plinth Buy something CC2652 based. This list is a good one, both Tube and Electrolama have been proven to have excellent customer service. The current generation of EZSP sticks (see here for some) are also a good choice for ZHA.
Anything CC2530 or CC2531 based should be avoided - they're old, slow, and only suitable for a dozen or so devices. The Sonoff ZBbridge isn't advised since it uses WiFi (built in interference causing stability/reliability issues), and the HUSBZB-1 uses an older chipset so should be avoided.
Finally, the ConBee range are fine with deCONZ, but experience with ZHA and Zigbee2MQTT appears to be mixed.
Just avoid the Sonoff P
Because nothing in my network is super important I let the batteries run down until the end device stops working. I replaced the 2 cr2032 cells in a an IKEA PIR at the weekend when it stopped working at 47%. The cells both measured 2.4V on a volt meter. The new cells measured 3.1V, and the PIR claimed 60%. I notice the device is reporting 47% again right now, so 🤷
I have a bunch of other IKEA shortcut buttons and PIRs that are shown as 1% in the Z2M dashboard (red battery icons) or as flashing battery icons (below 20?), and they've all been like that for weeks.
The only thing that I regret not changing in time are the Tile trackers on my keys.
wondering if there's a downside before i yolo and do this to all 4 of mine
i bought them to use in 3d printer enclosures then never built the enclosures
i already have them flashed to bthome fw and they're the only reason i even use esphome ble proxies lol
I'm not enthusiastic by the 5 min updates though
hi all, when using the web-based SkyConnect firmware updater, this screen that pops up when connects to the USB dongle is this:
is this telling me what my curent FW is or what I can update to thanks
Pretty sure that’s your current firmware
Change firmware should give you an option to install a different type of firmware. Selecting the same type should update it
4.3.2 or so is the latest one IIRC
You can check the NabuCasa/silabs-firmware repo though
thanks, so it seems I have the latest RCPMulti-pan version
https://github.com/NabuCasa/silabs-firmware#rcp-multi-pan
what is interesting, I don't remember updating to 4.3.1, but rather having 4.3.0
It might be that the addon flashes new firmware
that could explain it!
I am on teh ZBDongle-P but its still a little rough
There are well known problems with the hardware there
howdy all QQ
in the US (FCC) which channel is optimal for zigbee networks?
i have a lot of conjestion on 1 - 11 (wifi with multiple AP's blasting 2.4ghz)
i've heard channel 25 is king but has reduced power
thoughts?
or here's another thought - looking athte channel lineup
i'm thinking of clearing channel 1 on my wifi to open channel 11 on zigbee