#zigbee-archived
1 messages · Page 43 of 1
Read at some site selling it, promoting z2m support. But looked at official site and noticed that it also supports zha. All good!
And I thought some dongles would be compatible with either z2m, zha or both.
That is the case, for varying levels of compatible
Z2M works best with TI coordinators, and sometimes badly with EZSP ones
ZHA works fine with either
Also noticed that I got a door and window sensor. They would not work as I understood?

All clear, thanks!
Why would they not work?
@sour shadow you said Aqara devices are generally not the problem, except the P1 door/window sensors which won't work with a CC2652 coordinator
Oh, sorry. Cc2652. Forget it
Also, that's one specific sensor, to extrapolate from that to every door and window sensor is .... impressive
If you have an OG Aqara, or an E1, or T1, then those are all fine with the CC2652 coordinators
The P1 motion sensor is also fine
The problem is exactly what I said, nothing more
My first dive into zigbee, overwhelming at start but starting to get the hang of it. Thanks for your patience 🙂
I just did a backup/restore from HA blue with SkyConnect to HA yellow. I'd like to try to use the built-in zwave from yellow, but that doesn't work. I see this in the logs:
Error setting up entry SkyConnect Multi-PAN for zha
and
Couldn't start EZSP = Silicon Labs EmberZNet protocol: Elelabs, HUSBZB-1, Telegesis coordinator (attempt 1 of 3)
Is there a way to rename all ZHA entities for a device without having to manually rename each entity? In other words if I have the device name as "Bedroom Light" all of the entities of that device would start with "bedroom_light". For instance lets say the Bedroom Light has an entity called select.signify_netherlands_b_v_lct014_start_up_behavior when the Device is renamed to Bedroom light the entity becomes select.bedroom_light_start_up_behavior
If you change the overall device name it usually prompts to rename the entities based on the new name
It always does it unless one of the device’s entities has already been renamed
There's currently an issue with special characters. Some Hue lights for example have "Signify Netherlands B.V." as the manufacturer.
The . gets converted to a _ for the entity, but apparently that causes issues when renaming the device and thus doesn't rename the entity ids properly.
If you first rename the entity to the prefix of the entity id: so signify_netherlands_b_v_lct014 in your case for example WITHOUT pressing the "rename entities" button, then open that dialog again and enter a proper name (with pressing the rename button now), it should rename all entities properly
(pretty sure this isn't a ZHA bug though, but rather something else in core/frontend)
@mellow geode Thanks for the response I think maybe I didn't explain well enough. The automatically assigned entity_id is select.signify_netherlands_b_v_lct014_start_up_behavior and I want to rename it to select.bedroom_light_start_up_behavior. In this case the device that contains this entity is Bedroom Light and contains about 10 entities and I would like to rename all the entity_id's at one time instead of manually renaming all 10 of them. This is possible with Z2M but I have opted to use ZHA going forward. To be clear though it was a function of Z2M not of HA I just wondered if there was a way to accomplish this natively in HA. It's just a lot of renaming otherwise
What's the name of the "Device" right now? Just Bedroom Light?
And all entity IDs have signify_netherlands_b_v_lct014 as the prefix?
Can anyone suggest a child friendly door bell? For ZHA? Son wants one for his room so was hoping to set up some automation with it...
I'm UK not sure on price
Do you need an actual doorbell, or just a button that you can then use to trigger an automation in HA that'd play a sound?
Oh yeah haha I guess a button could do? They have an alexa kids so could have that trigger a doorbell sound?
You spoil me with your wisdom!
I'm just lazy
my HA Yellow Zigbee setup is acting weirdly.. when I add a bulb (I put that one in pairing mode), it adds all kinds of others bulbs that are already added, sometimes multiple times, causing them to flash all the time
why would it add stuff that's already added?
I had a similar issue with a cheap ewelink plug. If any endpoint interacted with it it would reset and go into pairing mode. I don't know why it was doing it but I ended up having to remove them from the network as they were causing instability. What kind of lights are you trying to add?
Hue. Different types
I haven't used hue bulbs before, I don't know what might be causing that. The only thing I can think of is if they're trying to update their firmware
@tropic depot @austere patio The Z-stack crash was due to ser2net. I flipped a bunch of breakers today and zero issues directly connected on 20221226.
(and damn these Inovelli switches are hard to pair even with a working zigbee coordinator)
I closed out the ticket and mentioned that I dont understand how ZHA is at fault with the 20230410 firmware
Driver warz
you do have the newer release of them right? not the original
?
from inovelli?
they should be then
they dont seem to stay in pairing mode long enough .. the blue light only pulses for like ten seconds
i have no issues pairing them
They’ve had a hardware revision not just firmware updates?
the original release had a hardware issue
Are the original all getting recalled?
they were all replaced by inovelli
I see
ah ha. someone else reported issues with 20230410 z-stack. they cant OTA because the stick falls over.
I deleted my ZHA integration with my HA skyconnect and want to move to Zigbee2mqtt. My Skyconnect shows up and I can pass the USB through to my VM and shows up on on the host and my windows pc, it won't let me update it firmware and is not listed in the hardware info of Home assistant.
aware im like 8 hours late, but laziness is the mother of invention
Is there a way to limit the number of OTA updates at the same time?
turn off OTA and forget about it? 😄
nah i mean like concurrent requests but for OTAs, since over N otas they dont seem to comlete and go into a loop
Oh I see
I mean turning it off would also fix that right xD
I only manually update when there's an issue
So I have an Aqara vibration sensor
Their temp sensors are great
Vibration sensors are fiddly at best, and I've tried having Amazon replace it, and no luck
Both of them at the highest sensitivity won't pick up my dryer vibrating, but also they do this thing where they just stop reporting anything after like 15 minutes
what uhh, what causes this
[02:56:40:170772] Info : Connecting to Secondary...``` (repeats ad infinitum in the silicon labs multiprotocol addon)
fixed by a physical reboot of the skyconnect, not fixed by `usbreset` in proxmox
Does anyone know of a sensor that could work with my dryer like this that doesn't suck?
have you tried increasing the sensitivity
nvm
i cant read
Yup, have it at 1 which apparently is most sensitive
Also tried 21, the other end, and seems 1 is the most sensitive
But no dice on dryer vibration
did you do it yourself or did you use a blueprint for it
I haven't done anything with automations yet
i mean the sesnitivity change
Just checking to see if I can get the sensor to work like I want first
just asking cause i used a blueprint for it and it didnt seem to register
There's also the whole thing about after 15 minutes it just... stops reporting anything and Zigbee marks it as last seen at X time and such
oh the other thing you need to do is you need to press the pair button on the sensor when changing sensitivity otherwise the vibration sensor wont actually pick up the change
So I'd preferrably like a sensor that doesn't just stop working
and ofc make sure to use the manufactur override code
Oh that's stupid as fuck
just aqara stuff yknow
personally i bought the sensor and have no problems with it, id check for other causes then the device itself. maybe its your coordinator, idk. im using the skyconnect and it works perfectly
I have the Sonoff USB Zigbee 3.0 one
For reference, the Aqara temp sensors I have work and report fine
eh i used to use that one but i retired it before i got this sensor
And because I have better antennas in a bin, I put a beefier antenna on it too
Last seen 40 minutes ago apparently
¯_(ツ)_/¯
you sure it has a strong connection with your coordinator?
atually looking at my network it looks like mine is actually connected through my tuya mmwave sensor lmao, have heard aqara devices are notoriously picky about routing through other devices
I think so
But even if I bring it back to my desk which is 6 feet from the coordinator, it doesn't come back
have you tried tapping the pairing button
Several times
Trying to re-pair it now, and it's in pairing mode
HA wants nothing to do with finding it a second time
with other aqara devices ive had trouble pairing that would be fixed by swapping out the battery
personally id just suggestion enabling debugging and seeing if you can figure out whats going on. dunno any other vibration sensors myself
Literally every Google result is like "use this Aqara one"
Do you have sensitivity set up on both in and out, or just in?
just in
you can check to see if it set by pressing get attribute, if it set it should read corectly
No it does not read those attributes
Neither the one I replaced or this one do, anyway
which agian, you have to tap the sensor while its trying to read the attribute
otherwise it wont report the alue
Some attributes it reads, most don't
by tap i mean the pairing button
press read attribute, tap pairing button, should read
It does not
I can read stuff from the MotionCluster just fine
But the VibrationBasicCluster doesn't read anything
are you zha or z2m
zha
i can read motioncluster just fine but for vibration i need to press read, phyiscally tap the pairing button once on the sensor, and the value should appear
I've tried many times. It does not
unsure then. perhaps its the coordinator or something. but that is the proper process to read/write to the vibration cluster
It seems like it writes just fine
Just wants nothing to do with reading it back
Definitely not the coordinator
Signal is -32 on the sensor according to Zigbee, but it did the thing where it dropped again and it hasn't seen the sensor for 20 minutes
But like I said, the temp sensors work fine, and stay working
And those didn't require me to constantly tap the pair button when in pairing mode, they just paired after I held it for 5 secondsa
So the coordinator is fine
it seems to me that z2m is faster on supporting new devices, is this overall true or have I just been unlucky? (for example ikea vindstyrka z2m seem to support voc whereas I can't get that reading using zha)
It depends
Is that new device Zigbee standards compliant? If so it'll just work with ZHA.
In the more likely case that it's not entirely compliant, or only partially compliant, then ZHA will need a quirk - but Z2M will need a converter either way.
Z2M simply has a wider user base, which usually means that devices get support faster, but not always (see the Aqara T1 cube)
I just started looking at zigbee stuff because of Ikeas smartblinds, I went with z-wave five years ago. Is that a recurring problem that things are not up specced to zigbee standards even for big companies?
Oh yes
Most companies treat the spec as vague guidance only
There's a reason Zigbee is cheap... companies don't have to bother with certification
Zha definitely has slower device uptake. But if you're willing to search the zha GitHub for some custom quirks Ive found that zha compatibility comes a month or two further down the line than z2m. It really does feel like gamble though when they'll be merged into core
I know z2m and supports a lot more obscure devices though
Z2M does allow you to add your own support, and that's how anybody develops support for a new device. It means you can often add a custom converter from a GitHub issue while waiting on the release
yeah I started looking into how hard it would be to contribute/hack something by yourself but that documentation was better for z2m as well.
My understanding is zha is meant to just be simple and easy to understand and z2m has more tinkerer ability (no pun intended)
Well... ZHA is part of HA, and Z2M just happens to support HA...
What other applications are there for z2m. I know that it's mqtt so theoretically a lot more devices could support it but other than home assistant when would someone ever want to use it
Plus anything that supports MQTT
I've seen more than a few people use it for their own in-house or home-brew platform
TIL homekit supports mqtt
Well, it doesn't, but HomeBridge does
so its zha-device-handlers issue page where I would open an issue if a device is missing an entity?
Yes but Search for the device First because you might find something
What are the best recommendations for zigbee routers?
Depends on what country you're in, but the Innr plugs work well
Slovenia, EU
Wouldn't it be nice if we had feedback of a device suddenly going offline ...
You can write an automation for that
I use a template sensor (https://github.com/DubhAd/Home-AssistantConfig/blob/live/template/unavailable.yaml) to simplify the automation
Templates are for advanced users... am trying to get there. Went to ZHA coordinator and under connected devices ... device showed connected ... but had to dig down to find the device unavailable. Unfortunatly it was a router device that had other devices connected to it. Looking at the network diagram showed devices connected to it but the device itself showed offline. The only way I became aware of it was the blinking light on the device ... oh the horror.
Well... the good news is that you can pretty much copy and paste that template into your own config
Don't you need to change the entity values ... and how does the template display thie info
More for #templates-archived ... but
{{ states|selectattr('state', 'in', ['unavailable'])
``` find all unavailable entities
|rejectattr('entity_id','in',['media_player.living_room_tv','sensor.unavailable_entities','binary_sensor.return_train_status'])
``` reject those with an `entity_id` that matches
|rejectattr('entity_id','match','^device_tracker\.|^binary_sensor\.trains_|^.*_old|^sensor\.tasmota_car_|^media_player\.forked_daapd|^media_player\.owntone_|^.*([\._]home|^sensor\.here_weather_|[\._]other|_hws_|_next_alarm|minecraft|accuhome|espresense_|plex_|roku_x00200y5s7lx|^weather\.|.kelsie_|_train_|_time_to_home|\.sky_q_)')
``` reject the entities that match those substrings/regexs
|list|length}}
``` count how many there are
That's then a number that's the state of the entity
Alternatively
|map(attribute='entity_id')|list|join(', ')}}
``` turn them into a list of the `entity_id`s, that's an attribute listing them all
Remember ...Templates are for advanced users... am trying to get there. Thanks
And that's why we have a #templates-archived channel so you can learn
They're really not that scary
My hope was to draw attention to a ZHA platform that would give us realtime feedback into problems
You could add your vote to an existing feature request on the forum, but given that it's smarter to solve it at the HA level, not the integration level... don't expect those to go anywhere.... ever
OK.. Just trying to get a stupid kitchen light to work .. went from wifi switch to zigbee. Only to find creating a zigbee network unstable in this part of the house. I still don't know why this part of the house is causing so much trouble. Can you suggest some tools to help
The standard starting point is to check for interference/RF noise on your chosen Zigbee channel
There are pinned messages on various ways of doing that
Graphing your mesh and finding bottlenecks may also help
Am using the default channel 15. I have a wifi analyzer on my computer that only goes to 14 which is standard on 2.4 range
My wifi network is 4
You realise that Zigbee and WiFi channel numbers aren't the same?
no I did not ...
You realise that you've carefully chosen the worst possible channels for both, ensuring that you're going to have major issues?
I'd start by scrolling to the second oldest pinned message and reading the link there, then work your way through the other pins
back to channels... what does zigbee channel 15 relate to
😀. well ok then
Rather than having me regurgitate it for you, you can read it yourself 😉
Sorry for bump, but did you manage to get this working? I'm having the same issue with two E1 roller shades and z2m and haven't found a solution anywhere.
Actually yes! Turned out my sonoff dongle had too old firmware on it. Once i updated the firmware the E1 started working as it should!
ooh that might be the case for me then. Did you have to re-pair all devices?
no
i've got a zigbee device whos battery jumped to 0% and its still sending attribute updates but not responding to any requests from zha
is this just...normal low battery zigbee behavior?
Yes
Hi. I`ve been struggling long time to update a thermostat with local file. Followed this Wiki: https://github.com/zigpy/zigpy/wiki/OTA-Device-Firmware-Updates
Turned out I needed to put "otau_directory: /config/zigpy_ota/" instead of "otau_directory: /config/zigpy_ota"
Is this something just for me, or have something changed so Wiki also should be corrected?
hmm, it should work perfectly fine without the trailing slash
Not that it should matter, but you're running Home Assistant OS?
Nope.
I just set up 2 Aqara motion sensors. I have a sonoff hub. They connected to the zigbee home automation add on. They showed detected as soon as I set them up but now they do not detect motion. Am I missing something?
did you connect them then move them far away?
what is a sonoff "hub"? is this a sonoff P or E usb dongle?
Sometimes my Zigbee network just falls apart and I wish I could make it not happen. I think there's something wrong with the SkyConnect honestly.
What do you mean by "falls apart"?
Basically every device drops off. Everything is offline and stays offline, with like 3 minor exceptions. And it's not the wifi, that was the first thing I tried
Post some debug logs please. It's a little hard to help out without info. What devices don't drop off the network? Which ones do?
puddly have you seen people complain about fp1 not resetting properly?
i found some reddit suggestions saying hold down reset for 5 seconds or 10 or 10 then 5
Not that I've seen
seemed to magically work after like 50 attempts holding it down for like 13 seconds
it was fun
does zha support the regions now btw?
I'll post logs tomorrow because I'm about to head to bed.
@carmine hamlet you use z2m with the fp1 right? were you able to set multiple regions without issue?
I don't use regions
based on what i'm seeing that might be for the best. i'm following directions and even looked at a tutorial showing the same flow and seems it loses my region if i add a second.. and then the second also doesnt seem to do anything. gonna play more and see if i'm just goofing up somehow
okay that wasnt it. so once one region becomes "unoccupied" which comes after "leave" then it seems to be able to retrigger "enter" for another region
i think i need to use mqtt explorer instead of logbook for my sanity
i do not know if this is what isbeing reffered to but when i hear sonoff hub i think of the sonoff zigbee bridge
yea tis a silly thing
ok i take that all back. the fp1 regions are actually working great. just took some trial and error figuring out what the sweet spots are for each "zone" you choose
is the fp1 worth the extra over the tuya one for the extra stuff that it offers
Tuya shouldn’t exist
@austere patio did you see the Z-Stack issue where they're pointing at ZHA?
So after restarting HA a few times, I had ZHA detecting a switch for a few minutes, but now it's dead again
It literally won't notice button presses on a device that's touching it
I added a router basically right under the SkyConnect and it seems to be recovering. But I'm convinced there is a bug somewhere that causes the ZHA or SkyConnect to get twisted around and stop working. There was already a router within 60cm of the SkyConnect, so more than likely it was the act of adding a device that knocked it out of it's stupor
You’re already using a USB extension, right?
Thanks for this, updating the firmware fixed the issue for me too. It appears and seems to update properly. Woop!
hi guys
I've been trying to find a solution or identical situation on forum and no luck with key words. Which I believe to have already happened to others.
In my zigbee I have 3 Aqara's leak sensors. 2 of them are reporting as "unknown" when comes about the actual sensor data, if moisture or not.
Today I removed one and added again, to see if would fix. I start to wonder if is a battery issue, even though reports back 100% battery
You can try putting fresh batteries, sometimes the ones they come with are depleted
Or try updating your coordinator firmware - that could be why you dont see the sensor data.
will give it a try as first approach to change battery the
thanks
The other thing to do ... trip them - get their contacts wet and then dry them off
When I first paired my leak sensors (to Z2M) they were unknown until I tripped them and the system knew what they were doing
that's a quite fast check
I took out the battery and added it again. Wet the sensor and bam, back to live
thank you guys
good day,
i installed some Heimann smoke senson 2 weeks ago via Zigbee2Mqtt...
within the zigbee page i can see the devices, i also see the sensors but they dont appear in the ZigBee Dashboard.
since yesterday one of them appears in the dashboard as well - but only one of them.
Anyone aware how to have all of them in the dasboard? its just a beauty mistake....because all the sensors seem to work...but i want to have it beautiful
its this one:
https://www.zigbee2mqtt.io/devices/HS1SA.html HS1SA-E
Can someone please help me. Out of nowhere my zigbee2mqtt start having delays. I noticed when I looked at the log that there is a lot of messages non stpp being published by different devices which causes my action to get in the qeue and thats where the delays is. But how can I stop this? It seemns to go away for a few hours if I restart zigbee2mqtt
A few exaples:
17T21:47:49+08:00","linkquality":83,"power":0,"power_outage_memory":"restore","state":"ON","update":{"installed_version":-1,"latest_version":-1,"state":null},"update_available":null,"voltage":239}'
Info 2023-04-17 21:48:52MQTT publish: topic 'zigbee2mqtt/Luz Cozinha', payload '{"brightness":254,"last_seen":"2023-04-17T21:48:51+08:00","level_config":{"on_level":"previous"},"linkquality":69,"power_on_behavior":"on","state":"OFF","update":{"installed_version":587806257,"latest_version":587806257,"state":"idle"},"update_available":null}'
Info 2023-04-17 21:48:56MQTT publish: topic 'zigbee2mqtt/Luz Quarto', payload '{"brightness":127,"last_seen":"2023-04-17T21:48:55+08:00","level_config":{"on_level":"previous"},"linkquality":76,"power_on_behavior":"on","state":"OFF","update":{"installed_version":587806257,"latest_version":587806257,"state":"idle"},"update_available":null}'
Info 2023-04-17 21:49:29MQTT publish: topic 'zigbee2mqtt/Interruptor Toni', payload '{"action":null,"battery":87,"last_seen":"2023-04-17T21:49:28+08:00","linkquality":145,"update":{"installed_version":587699761,"latest_version":587699761,"state":"idle"},"update_available":null}'
Info 2023-04-17 21:49:34MQTT publish: topic 'zigbee2mqtt/Interruptor Quarto', payload '{"action":null,"battery":60,"last_seen":"2023-04-17T21:49:31+08:00","linkquality":72,"update":{"installed_version":587699761,"latest_version":587699761,"state":"idle"},"update_available":null}'
Info 2023-04-17 21:49:34MQTT publish: topic 'zigbee2mqtt/Interruptor Toni', payload '{"action":null,"battery":87,"last_seen":"2023-04-17T21:49:32+08:00","linkquality":142,"update":{"installed_version":587699761,"latest_version":587699761,"state":"idle"},"update_available":null}'
Changing Frequency on Sonoff Zigbee 3.0 Dongle - P ... First deleted ZHA Integration... Added the following lines to config file...zha:
zigpy_config:
network:
channels: [25] ... Added ZHA integration ... It worked!! ...Also .. chart to determine best freq .. #zigbee-archived message
Nah bruh I hope you don't expect anyone to read this
I try to read some logspam while having my morning coffee ☕️
Yes I'm using the extension it came with.
Sorry, its basically the example of the log
it keeps adding these lines non stop. And I dont know why. And its not one device only. It only stops when I restart the addon. Any idea?
It’s good practice to upload walls of logs or code to dpaste.org and share the link here
Sorry about that. Will make sure I will do this next time. But can actually someone help me out?
Recommendations for budget friendly Zigbee LED strips? Been using TP Link Kasa and having issues with them becoming unresponsive occasionally
I'd recommend buying a controller and strips separately. If you want "real" recommendation you should say what kind of strips you're looking for
I've got the Zigbee 3.0 Gledopto controllers and they work really reliably
Do I have to wire my own strip in with those? Looks like just the controller module
"Wire" in the simplest of terms
We're not talking soldering skills here
I can just buy this RGB strip to connect to the controller right? https://www.amazon.com/BTF-LIGHTING-Multi-Colored-Non-Waterproof-Bedroom-Decoration/dp/B08R3G56WL/ref=pd_bxgy_sccl_2/138-2874926-9317911?pd_rd_w=3SaOo&content-id=amzn1.sym.6ab4eb52-6252-4ca2-a1b9-ad120350253c&pf_rd_p=6ab4eb52-6252-4ca2-a1b9-ad120350253c&pf_rd_r=JTDJ2NNR09KEBTS6BRJP&pd_rd_wg=E9gXH&pd_rd_r=bbabc553-9aa1-46bb-9d56-74abfa48d601&pd_rd_i=B08R3G56WL&th=1
Always just bought the strip with the controller built in
Yes
@mellow geode Is there a known issue pairing certain aqara sensors like the zigbee 1.2 aqara window sensors directly to old hue bulbs such as https://www.zigbee2mqtt.io/devices/9290022268.html
Mine wouldn’t pair no matter what I tried but as soon as I changed to All it paired right away
Should work fine. What coordinator are you running?
sonoff p dongle
And you didn’t migrate from another stick (that’s not TI based)?
nope
setup z2m and it's been running smooth with the p dongle adding devices as i go
funny enough it joined with another of the same generation hue bulb on the other side of the wall from the one it didnt join to (i just checked that on the map)
Huh, maybe just Aqara funkiness then
Any cheap and reliable Zigbee newtwork extender that works with ZHA? I have seen one on aliexpress that works with z2m but no mention on ZHA
your idea of cheap may vary, but https://zigbee.blakadder.com/routers.html has a variety of options (anything with the home assistant logo has been tested with ZHA). Or, you could get mains-powered devices like smart plugs or light bulbs, which generally also serve as routers (IIRC, Sengled brand smart bulbs are the main exception)
I'll have a look ,thanks!
Stay away from the tuya one on that list it’s been known to black hole traffic
that one was the cheapest one :/
What about this one? I think it's 9USD on aliexpress https://zigbee.blakadder.com/easyiot_ZB-Router.html
Is using Zigbee in flat reasonable, or should I just disregard this option?
From what I've read there could be following problems:
- My RPI is using external HDD via usb3, this requires me to grab long usb 2.0 cable for dongle and try to creatively hide it, in same room router is placed.
- It interferes with WiFi, and my workstation is not connected via ethernet. Router is place in central spot of flat, while behind fairly thick walls so it's hard to find (recommended in documentation) 5m anywhere.
- Neighboring WiFi occupies channels 1, 4, 11. I live in Europe.
I seems that all this together could cause strong interference from ZigBee and WiFi collision, but maybe I am overestimating possible problems. For now I think only about some door sensors + ESP32 controlled leds + temperature sensors, but I don't know how much I will want to do in future.
do you really use 2.4ghz wifi anymore?
even so zigbee is so little traffic it wont matter. You get more interference from a microwave or your neighbors wifi than zigbee will introduce
for reference I can pick up at least 10 2.4ghz networks in my house, and I run 3 different zigbee networks and the zigbee is usually rock solid anyway
Try it out and see if it works. Zigbee channel 20 should be sitting between WiFi 4 and 11, and likely will be auto-selected by your Zigbee integration during the formation scan.
but if you have a pc on 2.4ghz do yourself a favor and buy an adapqter that isn't from 1999 and has 5ghz where it wont matter lol
I don't have any Zigbee devices purchased, neither a dongle to avoid unnecessary costs
or 6ghz even ha
It's impossible to predict. There are 17+ 2.4GHz WiFi networks near me and Zigbee works fine 🤷♂️
You'd have to have some serious interference for it to not work
Okay, awesome, thanks!
also do yourself a favor and don't cheap out if you can. You usually get what you pay for
Is there any way to swap one sensor for another in HA and have it continue logging as the initial sensor, instead of as a separate one?
I bought a new Hue Motion sensor, but one of the outdoor units, to replace an indoor unit I had installed outside.
I'd like to put the new sensor in place and have it continue logging the info under the same name and dataset of the old sensor.
I think you can delete the original sensor, and then rename the new sensor entity_id to the old entity_id. I believe that will preserve the history according to one of the recent webcasts.
Do not try to rename the original sensor first before deleting it, or its history data will go with the renamed entity_id.
Make a backup first if you're concerned about losing the data though
that sounds right
Cool. That's what I figured I would need to do, but I didn't wanna try without getting some confirmation before. Thanks for your input!
Any recommendation on an affordable humidity sensor? Looking at the SONOFF SNZB-02
Xiaomi BLE temp/humidity sensors are like $5. Work great if you have a bluetooth proxy like any ESP32 around.
Here's a nice review of a bunch of different models: https://digiblur.com/2023/03/13/testing-24-temperature-humidity-sensors
What will be the downside of using BLE?
I'm trying to migrate to a new USB TubesZB coordinator and I cannot get the IEEE address from my other coordinator to stick - it just reverts back to the original. I've put the adapter into BSL, I can flash and verify firmware through ZigStar and cc2538-bsl, and it acts like it programs the IEEE address, but it just doesn't stick
Only thing I can think of is its not a mesh, so you may need multiple BLE proxies depending on what kind of range you're triyng to cover. My house is full of ESP32 projects in various places so that's no problem for me. Otherwise I think they are great value.
Only time I would consider something else is if you already have like a really robust zigbee mesh, than maybe you would consider a zigbee device.
Indeed I already have a zigbee network.
Not sure if it will introduce more interference if I am adding another BLE network
Well then you'll have to consider if you want to pay more for a zigbee device(s).
BLE isn't really a network and creating interference wouldn't be a concern, it just chirps out a couple bytes of data every few minutes, basically nothing.
I do have a few ESP32 project laying around the house. Adding BLE is also an option for me
those will work fine, then you don't need any new hardware other than the sensors
How is the battery life?
year-ish on a coin cell, probably varies depending on settings. there are supposedly new firmwares that are even better you can OTA
What integration are you using?
z2m, but I haven't actually started it with this coordinator
I just haven't seen the new IEEE address reflected in either tool
I'm pretty sure it works, it just doesn't read the secondary IEEE when writing it
You can see two successive runs of cc2538-bsl there with a new IEEE address, and yet the second time it still reported the original
same with ZigStar - write the new IEEE address, and the old one pops back up
ah, so it's writing the secondary?
Try forming a network first and see what the reported IEEE is: pip install zigpy-cli && zigpy radio znp /dev/serial/by-id/usb-1a86_TubesZB_971207DO-if00-port0 form && zigpy radio znp /dev/serial/by-id/usb-1a86_TubesZB_971207DO-if00-port0 info. Re-flash it to delete the network.
I expected the primary to change, but perhaps that's wrong
ok, yeah, looks like it took
that's confusing
thanks for the pointer
Saw this in my logs
Something to be concerned about?
Source: runner.py:179
First occurred: 5:00:18 PM (1 occurrences)
Last logged: 5:00:18 PM
NCP entered failed state. Requesting APP controller restart
What coordinator are you using?
Skyconnect zha
Multi-PAN or normal Zigbee firmware?
That error can mean one of many things so it's hard to tell. It just means that ZHA had to re-connect to the coordinator, either because the serial port was closed, or because the firmware reset. Without more logs you can't tell what happened. How are you running it? VM?
HAOS
HA OS on what?
If you disable allow join on ZigBee2mqtt will it still let existing devices rejoin?
I checked the logs and I keep accidentally stealing my neighbours lightbulb
Is there a way to only allow devices I've already added?
It looks like they've already returned it once the poor people lol
I use my Phillips Hue motion sensors with a SONOF USB coordinator within HAOS. A few days ago one motion sensor stopped working, i thought the batteries were empty so i replaced them with new ones. After that the sensor didnt want to reconnect to my HA. SO i thought, ill reset it and re-add it to HA.. well, rip, it doesnt doe that anymore. Is there a way to fully reset a phillips motion sensor besides holding the 'setup' button for about 10 seconds? or does anyone have suggestions what i can do?
The light is blinking orange for pairing mode when i reset it, does that for like 3-5 min, and then it stops. In the meanwhile im searching for it with the Zigbee automation intigration, but nothing shows up.
This seems like an interesting test of zigbee. Quite curious now what happens when two zigbee networks intersect
If you didn't delete the device, sometimes it will rejoin the network but not show up in the pairing dialogue, so make sure to check that it's not already in your zigbee devices
I did delete it to reconnect it. Its still 28 devices. I had 29 devices.
I have changed coordinators and have re-paired almost all my devices. But if I re-pair "Office Light", the entire zigbee2mqtt crashes. How can I "remove all memories" from a device, so it does not re-pair but just pair from new.
I hold my aqara vibration sensor right up next to the router i want it to connect through and still it goes for the main coordinator anyway.
Use the option to pair via that router
Condo complex so hopefully tradfri devices can channel hop appropriately?
My ceiling has 8 hue ceiling lights which I am attempting to turn off when a button is pressed
When the button press event is triggered
it turns off the lights
but often misses one or two lights
the same happens for the turn on process
Any advice?
how?
With the dropdown in the Z2M UI?
OMG i did not know that existed! Thank you!
Everybody ignores it
haha
I think it needs sparkles or something
for sure! It's exactly what i need with these finicky aqara devices that decide to live their own lives
Put them all in a zigbee group and automate off that
That sends one multicast across the mesh instead of 8 unicasts which cause the behavior you’re seeing
8 unicasts isn't a problem though, they should all (eventually) work. Sounds like interference to me. What coordinator are you using?
It was a problem for me with 7
I can do 30 without issues, it just takes about five seconds
Well they all turn on but there’s multi second delay
That’s not acceptable in my book
Instant in a zigbee group
And synced together as dumb lights do
Hi all, I made my first steps in the world of zigbee dev boards to overcome some solution gaps in the ready-made offerings. I managed to get my US-100 ultrasonic sensor connected to a c2530 board in a first trial/error activitiy and was wondering if others re using this too AND/OR if there are other options to develop zigbee alike esp. https://ptvo.info/
For an end device it'll be fine
If you can do a bit of dev..nrf52840 dongle can be programmed. Nordic easy examples (and their devzone support) can get you started. Otherwise the Ti CC2652R sensortag has enough gpio to build your own...they come inbuilt with temp, acceleration etc sesnors
Hey all, I migrated my Hue lights to Z2M, bringing over around 26 lights. Now when I have automations that turn off rooms, I'll sometimes get a straggler. For example, my end of the night automation turns off 6 rooms, and I'll have 1 or two Hue lights that don't end up turned off. I checked the lights, they are in the room, and a manual turn off of the straggler works, so it's in the mesh properly. Is this just a matter of one piece of the system getting overwhelmed? Should I add a couple of seconds delay between room off commands?
Use a Zigbee group
Are you using Z2M groups?
No, HA rooms.
I'll take a look, thanks!
Use Z2M Groups - one command to rule them all rather than spamming your mesh
I just explained why above
Thanks for the response... appreciated and I forgot to mention that I am a bit of a noob on this, via aforementioned website I managed to program a board with my limited knowledge so this seems easy. I would not know how to progress with other solutions. ptvo is sort-of straight forward with a gui and pre-fixed stuff (although limited) @near echo
any other websites that can help me on zigbee dev boards?
I imagine the Hue Hub used to take care of it that way.
It does things different and worse
My next challenge is to figure out a replacement for the nice dynamic scenes it had.
Dynamic?
It had scenes prebuilt with a designer color pallet, and it would cycles lights in a room through the colors.
So the forest walk one would be shades of green, and each light would work through the colors in a rotation.
I see
What are your best and cheapest Zigbee light bulbs picks? I don't mind ordering from aliexpress, etc. Just want the best bang for my buck.
I need some Whites, and some color. All dimmable.
https://diyhue.org/ maybe you want this
Well. Pvto is a closed source project and not sure if he started supporting the cc2652 boards
he did post new stuf recently 2023
but it is indeed on the 'old' boards...which I did not even know they were old before you and others mentioned it above
as he made a nice set of pages, it is easy-ish to get started
but I also donot want to use a Trabant if I can drive a Golf
in short: my main challenge is ignorance
it would be nice if a esp-similar solution / dev existed on zigbee
or maybe it does: see above ignorance
Buy cheap and regret it - that's what I did. The Ikea range are not too expensive and they work well (better than cheap chinese stuff - transitions work etc,) - also have the previous mode for power re-application. Nothing worse than having a powercut in the night and all your lights defaulting to ON lol
Not in a configuration like thing you are expecting as of esphome. Some dev is needed for Zigbee. Lets hope with thrrad/matter hype, something like esphome will come for thread atleast
Matter over Thread is no different from Zigbee and is arguably more rigid. It's just a different approach than ESP stuff, you can't get around learning the internals if you want to make something that's actually Zigbee and not a custom protocol on top of Zigbee primitives.
there is a working (I think) implementation of esphome for thread (via nordic nrf) - it's documented in the forums. the dev seems to come and go though. around the beginning of the year there was some beginning talk of how to get it merged into esphome proper. 🤷🏼♂️
sounds promising if dev comes more and goes less
Though if you just use Thread, that's a different scenario, since it doesn't care what application layer is running
But apps over thread can directly use the tcp/ip unlike zigbee. Say using COAP. So if you have a emqx like broker runnign in your betwork and you can build a coap client, you can just talk using ciap /mqtt-sn. But yeah making it more like esphome is challenge, i think
guys any guide to update zigbee firmwareof ikea components through ZHA?
Enable IKEA OTA in the config (https://www.home-assistant.io/integrations/zha/#ota-firmware-updates) and either power cycle the devices, or just check back tomorrow. Be aware that some devices (namely remotes) change their functionality with new firmwares so unless you have a reason to upgrade, I would just leave them alone.
@molten linden known issue with the round poe coordinator just stopping responding ? came home from vacation and it just keeps both LEDs lit if I replug it 🤔
do you get a green led?
Both the CHRG1 and PWR1 stay on
nothing else
Didn't respond to ping at least, so I replugged it, same LEDs
might have to hook it up to serial
no green means ethernet isn't connecting. can you try a reflash of esphome binary over serial/usb - need to slightly removed from case
you can't use powered ethernet and usb at same time
🔥
but can use unpowered ethernet and usb. just be sure it's not powered.
aye, I'll give it a shot over USB
you can at least see the serial console log that way too, I suspect you are going to see something like this esp_eth: esp_eth_driver_install(215): init phy failed
we should take this to a thread or dm too for troubleshooting
so i just add this to the config.yaml and thats it?
zha:
zigpy_config:
ota:
ikea_provider: true # Auto update Trådfri devices
Yes
is there a way to see in the logs something?
you can at least see the serial console
Not without a flood of logs, unfortunately. Enable https://www.home-assistant.io/integrations/zha/#debug-logging but only set zigpy.zcl: DEBUG and you can see progress. OTA will be in the frontend...eventually.
It takes a few minutes per bulb and an hour or two for a battery-powered device
no need to add ikea URL then..... thanks!
now I can't for the love of Dog get zigbee2mqtt to use the old ZZH 🤔
as long as you have a current backup in the z2m config folder I'd recommend trying to reset the zzh completely and let z2m restore it on startup.
hi! new here. is this the right place to talk about ikea and dirigera integration?
yeah, I've reflashed the zzh with two different versions of koenkk firmware @molten linden so now I'm trying my cc1352 instead
what's the z2m error?
Using '/app/data' as data directory
Zigbee2MQTT:info 2023-04-18 19:35:57: Logging to console and directory: '/app/data/log/2023-04-18.19-35-57' filename: log.txt
Zigbee2MQTT:info 2023-04-18 19:35:57: Starting Zigbee2MQTT version 1.30.3 (commit #24c6b2e)
Zigbee2MQTT:debug 2023-04-18 19:35:57: Using zigbee-herdsman with settings: '{"adapter":{"concurrent":null,"delay":null,"disableLED":false},"backupPath":"/app/data/coordinator_backup.json","databaseBackupPath":"/app/data/database.db.backup","databasePath":"/app/data/database.db","network":{"channelList":[20],"extendedPanID":[221,221,221,221,221,221,221,221],"networkKey":"HIDDEN","panID":6756},"serialPort":{"path":"/dev/ttyUSB0","rtscts":false}}'
Zigbee2MQTT:error 2023-04-18 19:35:58: Failed to start zigbee
Zigbee2MQTT:error 2023-04-18 19:35:58: Exiting...
at SerialPort.<anonymous> (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/znp/znp.ts:146:28)
at /app/node_modules/@serialport/stream/dist/index.js:112:18
Using '/app/data' as data directory
very little helpful 😄
not sure it's liking the serial port
I've tried the /dev/serial/by-id too, but it is hard to know if it works inside the container when the z2m container restarts immeditatly
if you were able to flash it, serial coms to it would be working okay. so has to be container passthrough I would think
maybe baud rate?
I've never used baud rate with texas intruments boards
cc1352 gives same non helpful error message
so is probably container passthrough
Guess I'll try privileged 
aye, privileged worked
🤢
currently 0 devices are joined

never lost devices going from cc1352 - zzh - tube
so this is weird
Changed the ieee address?
trying that now
I've never done that before when migrating at least
which makes it even weirder
I deleted config dir
and restored it from backup with zzh stick
now it works
I tired restoring the coordinator backup json multiple times from the same backup, no avail
probably the database and backup out of sync
after a few reboots
yeah
now that I'm up and running again the wife will be happy, since I'm leaving the country for work for three days 😄
now to examine the tube poe a bit more
anyone been using this Salus SP600 smartplugs? getting some conserning behaviour that if they lose connection to zigbee2mqtt (or the zigbee controller really) they seem to power-cycle? Dunno if anyone has seen this behaviour or better, knows how to get them to cut that shit out 😄
So, I have a "Sonoff Zigbee 3.0 USB Dongle Plus" and have configured about 10 devices to it. Over the last couple of months, they've just been dropping their connection and have become "Unavailable" - Now literally none of my Zigbee devices can be reached. I've just updated my HA and HA Plugins from their December 2022 versions to the latest, I've reconfigured my Zigbee stick with an a new config backup - the backup from December 2022 gave an "unknown error" when importing.
Any ideas what to do?
Post a debug log (https://www.home-assistant.io/integrations/zha/#debug-logging) of the backup failing to restore. Do note that Zigbee backups aren't something you can roll back to if they're for the same network, since they don't include any information about connected devices and only the network settings themselves.
Ok, I didn't know that - would a full reconfigure, after the plugin and OS update, be more feasiable?
But the backup/restore was for the same network...
hmm
ZHA backups don't store anything that would allow you to jump back to a point in time. Think of it like restoring a backup of your WiFi network: all it would contain is the network name and password, it won't make old devices reconnect.
@austere patio Thanks for the insight - I'm just gonna go for a full reconfiguration then
What version of the Sonoff Zigbee dongle are you using? Does ZHA start up after a full HA restart?
Can anyone recommend Zigbee puck lights for under cabinet lighting? So far I only found one seller on Aliexpress.
Hey all, I’m looking to start adding zigbee devices to my home assistant through zigbee2MQTT
I was thinking about ordering the sonoff zigbee 3.0 dongle, which to my understanding is the zigbee coordinator. So this will allow me to connect all supported devices listed here: https://www.zigbee2mqtt.io/supported-devices/
@austere patio Now that you ask about it, I actually checked the log after the most recent restart, it does look at bit weird reguarding ZHA 😕
[0xD431:1:0x0b04]: async_initialize: all attempts have failed: [TimeoutError(), TimeoutError(), TimeoutError(), TimeoutError()]
[0xD431:1:0x0b04]: async_initialize: all attempts have failed: [DeliveryError('Request failed after 5 attempts: <Status.NWK_INVALID_REQUEST: 194>'), DeliveryError('Request failed after 5 attempts: <Status.NWK_INVALID_REQUEST: 194>'), DeliveryError('Request failed after 5 attempts: <Status.NWK_INVALID_REQUEST: 194>'), DeliveryError('Request failed after 5 attempts: <Status.NWK_INVALID_REQUEST: 194>')]
Looks like the stick is functional so it's not a firmware problem
about version, is "Sonoff Zigbee 3.0 USB Dongle Plus" not specific enough? Is there revisions?
There are two completely different sticks with the same name 😄
That is the first one
how weird about two versions - are one of them prone to be less reliable?
@ashen compass Yes, that's correct - all those devices should be able to connect to the Sonoff dongle
Yes but not in any way that's affecting you. You mention having ten devices: which ones?
Thanks, and I won’t need any additional hardware?
-> I have rpi4 with micro SD
That's all I have as well 🙂
afaik, that dongle and HA can replace the need for any propritary Philips Hue/Ikea/whatever gateways and just connect directly
Okay that’s what I was thinking too. Thanks!
Hi all, i've got the skyconnect set up in home assistant and have a zigbee device registered with it, however i'm trying to set up the multiprotocol support for thread, and when i try in the hardware settings, it says "The hardware options can only be configured on HassOS installations."
please tell me that thread isn't only for the purchased hardware
I am running my instance in docker
Hassos runs on many platforms https://github.com/home-assistant/operating-system/blob/dev/Documentation/boards/README.md
he's confused with how to switch to multipan i think @tropic depot
Should I be able to get events in Home Assistant for devices that I have bound in Zigbee2mqtt?
I'm using Zigbee2mqtt+Mosquitto addons in Home Assistant on a Raspberry Pi 4B with a Sonoff USB 3 Plus. I'm learning about Zigbee groups and binding by trial and error 🤯 Question: I've bound an IKEA shortcut button to two light devices (in the UI: Zigbee2mqtt > Devices > IKEA Shortcut Button > Bind). Now the controller [zigbee2mqtt] does not log any on/off events. I tried to also bind the button to the controller [coordinator] but that failed.
No events, state changes or MQTT messages
No MQTT messages related to on/off get logged after the button on/off cluster is bound to the lights
Thanks @sour shadow - I'm not sure if you asked me a further question, or just told me "no, you don't get any events or MQTT messages after binding"? 😕
I'm telling you that you get no events
ZHA works with events, Z2M doesn't
Z2M works with MQTT - you get MQTT messages and state changes of entities
If you bound a button to a light you may not get any more updates from the button, depending on whether it's bound to the coordinator or not
Either way, ensure that the lights are bound to the coordinator
Edit: yes the lights are bound to the coordinator
I have tried to bind the button to the coordintor as well as to the lights, but I get an error:
Error 2023-04-19 10:51:59Failed to bind cluster 'genOnOff' from 'Test Button' to 'Coordinator' (Error: Bind 0x84fd27fffeaac9a4/1 genOnOff from '0x00124b0024c0c196/1' failed (AREQ - ZDO - bindRsp after 10000ms))
Error 2023-04-19 10:51:59Failed to bind
@drifting flare When using Discord's Reply feature it defaults to pinging the person you reply to, which can get frustrating for the target. Use Shift + click on the Reply option, or click @ ON to @ OFF to stop this - on the right side of the compose bar.
You have to change this every time (thank the Discord devs for that).
You have to wake any end device to configure/bind/whatever it
Then check they're configured to report when they turn on/off
Yes, I can see that in the device history in home assistant
@drifting flare you don't
@drifting flare have to
@drifting flare ping me on
@drifting flare every fucking reply
Question: I've bound an IKEA shortcut button to two light devices (in the UI: Zigbee2mqtt > Devices > IKEA Shortcut Button > Bind). Now the controller [zigbee2mqtt] does not log any on/off events
You said it wasn't reporting on/off... now you say it is... which?
I want to get the button press as an event in Home Assistant (via Z2M) even though it is bound to the lights in Z2M
I think that your reminder to wake the device before clicking bind might be the missing clue
OK - thanks, that was it. I had not woken the button before clicking Bind in the Zigbee2mqtt UI. I've seen the messages coming from the bound button now, and they got through to Home Assistant to trigger automations (even if the light has no power), which is what I want.
Can I call a Z2M device effect from a Home Assistant automation?
I have some bulbs added in Zigbee2mqtt, and they support effects like Breath (a double blink/flash) . I can trigger the effect either from the Z2M UI, or from the light control on my default Home Assistant dashboard. I can't see a way to call them in a Home Assistant automation though. Is that possible, perhaps with script?
https://www.home-assistant.io/integrations/light#service-lightturn_on ... look for effect
Thank you! Effect is right in the GUI, and works as wanted. I'd been trying to use Device, and ignoring/unaware of Service.
Hi, I just updated to HA OS 10.0 and now Zigbee2MQTT won't start. It times out trying to talk to my Zonoff Zigbee 3.0 dongle. I've tried the things in the URL referred to by the error and it seems ok, ie. I don't have ZHA and I can write to the USB-port. It worked before on 9.5 and the only change was upgrading HA OS to 10.0.
Zigbee2MQTT:error 2023-04-19 16:26:41: 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:58:27)
at Controller.start (/app/lib/controller.ts:101:27)
at start (/app/index.js:107:5)
Any suggestion where to look next?
Yes, several times. 🙂
It is there in the hardware list, the dongle that is. Tried to reattach it too. As well as using it in Zigbee2MQTT through /dev/ttyUSB0 and the "/dev/serial/by-id..." with the same result.
hi, i wanted to get a zigbee device for my home assistant setup, my current one isn't properly supported in zigbee2mqtt and doesn't allow me to add an install code for my bosh device
i was looking at the sonoff zigbee dongle and couldn't help but notice they have two variants
the older -p is listed as supported in zigbee2mqtt
the newer -e variant is listed as supported by zigbee2mqtt on the manufacturer's site, but on the zigbee2mqtt site it's listed as "experimental"
from this it would be obvious to take the older -p variant
however i read some users saying that it's more likely that the -e variant will get matter support in the future
my question is, what does "experimental" mean? will is and isn't supported? will i be able to add install codes?
Are you currently using a Conbee? Yes, the -P stick does support install codes, as does the -E. But I suggest you just buy a second stick for Thread (for Matter), they're not that expensive.
yes i'm currently using a conbee II, i bought it before i even knew what zigbee2mqtt was
I don't see a reason as to why i would need to get a second stick for matter? wouldn't one stick be perfectly capable to support both matter and non-matter devices?
Not quite. Multiprotocol support requires special (somewhat experimental) firmware and an addon to communicate with the stick. Z2M would no longer talk directly to the stick anymore. Using a separate stick for Thread is simpler because Z2M would have its Zigbee stick, and OTBR would have its Thread stick.
oh, all right, i didn't know that
thanks :)
Pretty weird. Reverted to 9.5 and restored a backup but it still didn't work. Same error.
Re-flashed the Sonoff stick with the same firmware that was already on there and now both HA OS 9.5 and 10.0 works.
So false alarm I guess. 🙂
Magic
that error is magic too. it appears out of thin air
Guys I really need help with Zigbee2MQTT on home assistant. I setup and everything is super smooth. Then every few hours (sometimes a whole day), I start having big delays on any actions that I do, such as pressing switch and turning on lights. I looked at the log and seems that a lot of devices go crazy and start publishing messages MQTT non stop, then my actions kind of get in the queue and thats where the delay comes from. How I can prevent this? It just happened now. I noticed the delay, when I pressed, went to the logs and things were popping up.
Here are the logs https://dpaste.org/xS9eT. Any idea on whats going on?
As you can see it all started with my action to turn on the lights at "Info 2023-04-20 07:46:49MQTT publish"
Whats everyones favorite zigbee smart button?
Please someone help me. How do I set this Aqara motion sensor up.
https://a.aliexpress.com/_mNmHB9W
I followed guides online. Bought a sonoff e dogle. The dogle shows up in HA and even identifies the sensors. But they just say unavailable
I’ve spent entirely too much time trying to figure out why they won’t work
unavailable means they haven't been seen by the controller
they aren't super reliable, so some of that is expected.
https://zigbee.blakadder.com/Aqara_RTCGQ11LM.html Not sure if the pair 100% completed but worth a shot if you haven't tried it
If you're having problems pairing, try keeping the device alive (press the button every second) after pairing started, until pairing completed
Also, what Zigbee routers do you have, and which one is it connected to?
When it first connected it briefly said detects motion, gave battery % etc.
@nova crest I’ve read that before and tried that but it did not work
@sour shadow I bought a sonoff zbdongle-E
Right.... so no routers then?
Did you at least put the dongle on a USB extension cable?
Did you pick the Zigbee channel with the least interference?
Is it in the same room as the "dongle" (aka coordinator)?
I have an ax110000 for an internet router but not sure what a zigbee router is
No I don’t have an extension cable but I tried when it was right next to it and it didn’t work

Zigbee is a mesh network, you need Zigbee routers
You also need a USB extension cable if that computer has any on-board USB 3.0, WiFi, or Bluetooth
Or pretty much anything else, but those three will absolutely kill Zigbee
If you've got WiFi stomping all over your Zigbee channel then that's also not helping
Can you also download diagnostics for the ZHA integration and upload the JSON somewhere (e.g. https://dpaste.org/ )?
And, if it's more than about one drywall away then it's probably too far from the coordinator
I’m searching to figure out what you mean by zigbee router and what I need. I’ll get a usb extension but I don’t know if that’s it since It’s 5 inches from the dongle and won’t show available. But has no issues connecting initially
The USB extension cable is to move the coordinator away from interference sources. If there's a lot of noise coming from a USB 3.0 port, it doesn't matter how close the motion sensor is, because the coordinator will not reliably be able to hear it.
The top pinned message shows this really well
Is there an alternative way to set up the Aqara sensors without zigbee
I’m just too lost at the moment
No, they communicate exclusively over Zigbee
Start by uploading your diagnostic information, use a USB extension cable, and see if you have another battery for the sensor to try out.
Settings -> Devices & Services -> the three dot dropdown menu for ZHA: https://i.imgur.com/XoXGW1W.png
If you have something longer, use that. If not, 0.5m is better than not having one.
I don’t have ZHA but I have SONOFF Zigbee 3.0 USB Dongle Plus V2, is that the same?
Yes
404 Snippet not found
@austere patio I converted your message into a file since it's above 15 lines :+1:
At least channel 25 is ... not as bad
ZHA picked the best channel it could (25), but it's probably still too noisy. Use a USB extension cable.
Im sorry I dont understand. 25 what?
You Zigbee channel number is 25. From the energy scan above, you can see that the channel has about 60% utilization. but nearby channels are 99% utilized, so your coordinator is in a really noisy environment.
So you should use a USB extension cable
wow. surprisingly using the end of a microusb cable opens the aqara battery compartments the easiest
I'm finally getting around to moving refactoring my MQTT stuf and noticed this guy in my configuration.yaml What exactly is this?
- platform: mqtt
name: Bridge state
state_topic: "zigbee2mqtt/bridge/state"
icon: mdi:router-wireless
This is a sensor correct?
Depends on what heading it's under, but probably
Awesome thank you Tinkerer!
Is there any way to prevent particular devices from acting as routers on a mesh? I have some Inovelli switches which I installed and since I put them in my mesh performance and reliability has been destroyed. I want to rule them out.
Router designation is dependent on the devices that you buy. For instance, zigbee switched outlets that plug into the wall (sonoff) are routers. Even so, some manufacturers that plug in to the wall are not routers. You need to read the fine print.
Not possible, unfortunately
The only work around I've found is to remove them from the network, let it stabilize for 24hrs and then add them back a day at a time. This helped me with a few ewelink plugs with poor reception
Ah, in this case I suspect Inovelli blue switches rae breaking routing on my network ..
Do you have ota updates on? I had sonoff switches that were bugging out until they finished their updates
No, they're fully updated. They're dropping their children and causing tons of issues with my network. (I think.)
Hmm
As soon as I started installing them my network started having problems, I thought it was due to ser2net - wasn't. Thought it was the CC stick, so I switched to Embernet stick and the issues still persist.
Use a sniffer and check out the packet capture, it's unlikely that they drop child devices
@austere patio I am capturing traffic as we speak.
I'm curious how it will go
@tropic depot suggested it may be the Inovelli's, hence why I was asking about removing them as routers. I might just drop them from my network and see what happens.
Are they fully up-to-date?
yes, 2.14
Since I installed Inovelli's I've had problems with a number of hue lights, my hue motion sensors, my aqara water, door sensors.
Example: the hue light will still respond to the switch its bound to, but it wont respond to the mesh and everything behind it is unresponsive too. if I power cycle it, it will start to work again.
That's something a packet capture would clarify
@austere patio for sure, i dont know what to look for exactly, though. ive alreayd sent one pcap to @tropic depot
Correlate it exactly with specific events and shoot it over to me or him (make sure to include your network key), I'm sure something specific will show up. Make sure to also include the NWK and IEEE addresses of the affected devices.
how does one coorelate exactly when an issue occurs? like if i try to use a light and it doesnt turn on via HA, its been off the network for awhile.
Well you have your HA instance up and the logbook, just note exactly when this stuff happens. It's not obvious from the PCAP without a ton of searching.
ok
Whats the best way to debug delays with zigbee devices?
How about select_option failing for setting state on power on? I see a stack trace, but I dont see any ZHA event that corresponds to it.
The log you linked to contains neither so I'm not entirely sure what you mean
@austere patio https://paste.pfak.org/NIFnwd but how do i coorelate it with a specific event?
140636718836288 seems to occur every time a select_option for StartupOnOff fails
would it be totally outrageous for a zigbee plug that is otherwise working normally, to suddenly stop reporting consumption data to HA?
It's apparently been broken a while so I don't know if a HA update broke it or something else
Nothing you can do outside of using a USB extension cable with your coordinator and moving 2.4GHz WiFi/other interference sources away from your Zigbee network.
I guess a better question is that, if i can see values changing live in DeCONZ, then there should be a way to get them to show up in HA right?
Why usually when I restart zigbee2mqtt delay goes away, and everything runs super smoothly for few hours? I cant for the love of god figure what is happening. Surelly is a problem with the addon because I don't need to do anything other than restarting just the addon and the problem goes away. Can someone please try to help me?
@limpid finch what's your stick
Its a Sonoff Zigbee Dongle Plus
I have flashed with the latest firmware already. Any idea?
Wow. Did you ended up solving it?
I somewhat solved it by making my vm reboot once a day
And you are still doing it?
That's interesting. You never found the reason then?
My machine is fast so it only makes 1-2 minutes downtime
My wild theory is some kind of memory leak or similar on the stick itself
Did you knew that by restarting the add on things would solve it? I thought at the start that I had to reboot my vm as well
I noticed if I throw alot of commands at it, it bogs down pretty bad
I was wondering this. Because I noticed that the problem starts happening once I start messing with HA
Yeah it doesn't handle rapid fire commands well at all
To be fair I was trying to make a light show with all my bulbs
Which is about 30 hue color bulbs lmao
I also have a power plug that sends a lot of messages to Zigbee2mqtt when my washing machine is running. Do you think this could also bog it?
Possible
Do you know I can can set to send "less messages"?
I have 2 zigbee outlets that do the same and no real issues there
Where I noticed the big issue before I started daily reboots is my zigbee motion sensors would sometimes delay by like 30 seconds
Also did you try running ZHA? You are the first person that is having the same issue as me
I looked everywhere and couldn't find a single post about it
Mine is zha
Directly connected to the machine with usb extension cable etc etc
Running in VMware VM with more power/ram than 99% of setups
This really answers a lot of my questions. Thanks for the help
Seems that the issue is the stick then. But uts weird. A lot of people have the same one and I dont see they complaining about it
what can I do to make zha/z2m as robust as can be?
I know cutting power to routers is bad and no go. I saw devices falling off and also z2m neglecting comms with devices for whatever reasons. Situation is a little bungalow in the woods, cutting power is a must as security precaution. I still want them to reconnect when I return and the sensors (most battery) should keep working
On the zwave side though
I got the aeotec stick 7
And I couldn't be happier
This thing is a beast
But what happens if during the day you have a lot of commands sent at once. Dont you have to restart vm mid day?
No
I just don't try to make it into Christmas lights anymore lol
Under "normal" usage I don't have any issues since the automated daily reboot
Cool!!! Do you know if we flashed another version of the firmware the problem could go away?
Also you said about memory leak. Is there a way that we can see this? I don't know if thats your case. But my delays keep building up until a restart. Like it never get better, only worse over time
@sterile sleet why must you cut power. I'm curious
@limpid finch truthfully I have no idea, it's just a theory
That's what it kind of behaves like
I don't know if it is or not
the building is made out of wood, the cabling is 30 years old. I don't want to power all of it when nobody is there in winter
And I don't know enough about zigbee inner workings to debug it myself
So why do you need anything active when nobody is there
And there is no power
bad stick makes you all kind of trouble in zigbee world, what stick is it?
Im on the same boat as you. Can you confirm about the thing that I say that only gets worse over time? It doesn't get better until the restart. Looks linke it builds up
I have cameras watch wildlife and also a birdnet pi running, at this point I just want a zigbee mesh to use cheap sensors
@limpid finch yeah for sure
@sterile sleet what are the cameras connected to
Are you trying to get notifications or something?
memory leak highly unlikely for that effect alone, as said the coordinator is the most important
Great thanks a lot. Looks like Im not crazy or doing anything wrong then. If you are running ZHA on a really nice computer. That throws all my theories that was that add on the issue
why concerned? its directly connected with a good cable to the fuse box.
Which coordinator do you have? Do you know what can be causing my issue?
@sterile sleet no like what are you using to view the cameras
ha
I assume you want the sensors to view them remotely or something
Or to let you know there is footage
Its a Sonoff zigbee dongle plus 3.0.
Seems like its really Common in the market so I wonder why they dont face this issue
I just want to connect hue motion sensors and their temperature sensors to get a sensor for temperature inside. And I don't want them to occasionally fall off. guess I'll just try they work fine at home
Ah I see
yep that is a common coordinator, no idea why you have lag building up over time but sure someone else can help you debug with that stick
most of the routers, coverage is fine though
Bulbs?
yes
Yeah that sounds tricky
indeed
My only solution would be to replace the bulbs with endpoints and not routers
I think sengled is endpoint only
Then build a router network with things you can have battery backup power on
see thats where the project gets expensive 😄 and I am a cheap dog
Or even solar/battery
To be fair a cabin the woods would be easy because mo interference
maybe I go wifi in that particular case
So you could in theory remove all the bulbs
And leave only routers with power on HA
And then restore a backup and put the bulbs back when you're in cabin
When you remove them from. The controller just make sure the bulbs are not powered
I really appreciate both of you helping me out. Getting really desperate since I tried a lot of things already. I will go with the vm restart strategy. But would love to know how to understand more about rhis problem
Or else you will have to reinclude the bulbs manually
Because ha tries to reset the bulb
When you exclude
Or just make two zigbee networks
Get a hue bridge for bulbs
And then zignee stick for the always on network
lol thats perfect I have a gen 1 laying around
so I can keep my battery devices on zzh and the bulbs on the bridge so that I can just yank the power to the bulbs
no need for any more gen, the 1 is good enough for that
Fair enough
And just slap a router on an old car battery to bridge any gaps
Bahaha
@limpid finch unless you're going to become a zigbee programming expert don't sweat it
I'll likely try some other sticks and see how they do too
That's cool I would love to hear how do you go. If you strategy of rebooting vm everyday works I will let you know as well!
2 more things. How do you setup you vm reboot? Trough oracle?
And also, did you realise if you close and restart vm software the usb doesn't show up. You gotta physically remove it and insert again. Or reboot the whole computer
@limpid finch no with VMware you can auto connect removable
Also you can use a scheduled task with VMware or HA can do it too
They really need to allow images in these channels
Check DM
Dead simple automation to reboot host
Also stop using virtual box is just.. BAD
Thanks will check it out, messaged you
The energy_scan output looks really useful. Does the measured energy include all possible interference (2.4GHz wifi, microwave oven, DECT handset, ...)? And, I have a Sonoff USB 3.0 Plus setup in zigbee2mqtt - could I get an energy scan even if I'm not using ZHA? (https://github.com/zigpy/zigpy-znp/blob/dev/TOOLS.md#energy-scan)
Are there any good mmwave zigbee sensors. In the us
Aqara FP1 works well, Tuya do two that're better in some ways and worse in others
Thanks I'll check out.
do you use either of them?
Is the mmwave response time significantly faster?
There's plenty of reviews out there that compare them
yeah reading one now
I have the FP1, it's fine once you understand how to use it
There's two main Tuya options, one is broadly the same as the FP1, one is .... not as good
Yeah, that's not a bad review
Thanks
TBH I'm happy with my FP1
I use it in my home office and have found it to be damn good - at least once I moved the desk fan back a little so it wasn't in direct line of sight from the sensor
i can't remember the name of it, but there was a super sensor coming out that can track multiple people
and even if you're sitting or standing
yeah im eager to drive that one and see what it can do
Very occasionally the FP1 will be slow to turn off, or somehow detect people through the wall, but only if they're leaning up against the wall
I have a bunch of really cheap sensors i use for non essential stuffs that actually work ok
They take aaa batteries which i have tubs of refillables
For how cheap they are I can't complain
but there's a few I want super fast response times on. I'll try the FP1
Can't find it on amazon though. Shucks
For simple motion sensors I find both the Aqara P1 and the Linkind motion sensors are reasonably priced and snappy
Yeah not a fan of aliexpress either
lol
at least with amazon i know if shit doesn't work I can send it back no issues
I'll just wait for the FP2
it looks better too
Apparently on taobao they are $8 each
You just need a translator
Does taobao mean conterfeit garbage? kekekek
It’s pretty common with Ali e stuff to be super cheap to the mainland facing site taobao
But people can still order from there
there are fowarding services but add to the cost obviously
they will but it for you, take pictures of it then pack and ship
for most taobao stores yes
Bummer
they only ship to mainland china
Is there a problem with Zigbee2mqtt with Operating system 10?
A guy I knew in china was telling me about them and linking to deals
Didn’t realize I could never actually buy them lol
you can it's just not as easy
lol
I was keeping my eye on something through wegobuy
but ended up with an alternative
some one in another discord used it for pnp feeders 😉
I've seen a few people with MQTT broker issues and needing to update the Mosquitto add-on
The logs - as always - will tell you if that's your problem
I check it now
We bought a dumb version of that for a previous dog. It took about an hour before they had it in pieces and ate all the food
That's a good thing 😄
my wife bought a chinese bullshit wifi one
Which I scolded her for of course
And locked it away on it's very own VLAN
attached to a smart outlet to kill the power when it's not in use
kkekek
Ah yea prob a good way to save funds on stuff like that
You're a knowledgeable lad, do you know of any type of vehicle presence sensor?
That isn't home brew
I have an automation that opens my garage door automatically based on my location but for security purposes it's off most of the time unless I switch it on, usually a few blocks from my house

I tried using wifi but it's just way too slow given it has to authenticate and all that
There's a bunch of options, but no Zigbee ones
I do have a working setup with a zwave button though
So now a zwave remote functions as my garage door opener lmao
put some innoveli bulbs outside and it works great
There was a SmartThings Zigbee presence sensor, but that was discontinued years ago
Anyone know if it's possible to wake an Aqara door sensor (lumi.sensor_magnet.aq2) to attempt a reconfiguration in ZHA, without removing and re-pairing entirely?
I've got one that goes unavailable shortly after pairing and does not come back
Older generation Aqara sensors do not accept configuration so the "reconfigure" button will do nothing
well dang
They just join the network, briefly allow their model name to be read, and then send updates whenever they feel like it
I wonder what's going on with this thing in the first place. It dropped offline probably almost a year ago and I assumed the battery had died. Threw a new battery in it yesterday and it was still unavailable, so I removed and reconnected it
Then it worked for a little while and went unavailable again
Aqara sensors pick their parent router at random. Find the device closest to where the door sensor will be installed (e.g. a bulb in the same room), permit joins only through that specific device, then re-join it to your network
Oooh I forgot that I could do that
There is one routing device within about 15' and everything else is about double that distance. And the sensor is out in the porch, through a metal door and lots of old plaster.
Any way you can install a Zigbee porch light?
Oh, wait. The porch light bulb is a routing Zigbee light 🤦♂️
I guess I'll remove and re-pair from that one directly
Just put ZHA into join mode from that bulb, and reset the sensor?
Awesome. I hate renaming entities
Cool, it's back online. Just gotta wait a few hours and see if it stays that way
Thanks for the help 👍
Also I swear these two sensors didn't previously show temperature in HA. Am I crazy, or was their maybe a quirks update that added it?
Yeah, they have a very low-quality temperature sensor on their chip (as do Aqara motion sensors, buttons, etc.). It was previously hidden but it's now visible because people found it useful.
Yeah, for me the temperatures are not very meaningful with both sensors on exterior doors, but that doesn't stop me from bringing more pointless data into one of my dashboards 😀
Integrate all the things
hi guys, @austere patio helped me a couple of days ago with the update of ikea zigbee devices but unfortunately it seems not to be working, i put the relevant parameters in config.yaml but nothing happened... any directions on how to force the updates?
How do you know nothing happened?
There's currently no feedback in the user interface, the lights just update on their own in the background
hi again puddly! well. i looked at the version of the devices and nothing changed basically..... maybe it does not get reflected there?
basically the number on the firmware... thats were i looked at
It should be accurate, but these devices don't receive OTA updates frequently so it could just not have had any OTA updates. What firmware version is it showing?
almost forgot... i also saw in here:
ok i cant paste a picture here.... but i saw the ws_build_id in the cluster attributes
i have a styrbar remote control in 1.0.024 version of the firmware
The exact version will be OTA > current_file_version
the number of the current_file_version under OTA cluster is 65572.
What's the device's model name (the exact one shown in the same device info section)?
Styrbar Remote Control N2
ok so this is copy paste from de device section
Remote Control N2
by IKEA of Sweden
Connected via Zigbee Coordinator
Firmware: 0x00010024
Hmm, maybe it doesn't check for OTA updates on its own. Strange. You can manually trigger an OTA notification like this: https://github.com/zigpy/zigpy/wiki/OTA-Information-for-Manufacturers#testing
Ignore the first section, the screenshot is the only necessary part. You should keep the device awake when sending the command.
yes! i tried that as well... now that i see it i did not put 0 on the last three fields.... i will try again.... should i wait also a day to see a change probably?
You can follow the progress in the debug log, it'll take an hour or two
Make sure to also set the query_jitter to 100
Question -> I am migrating from Hue to Z2M. I moved a Philips Hue remote which used to register button clicks 1-5 ... now it only shows up as holds and clicks. I read somewhere ZHA will give you the 5x tap feature - can anybody confirm thats the case?
this is what i get in te log:
2023-04-21 14:33:11.050 DEBUG (MainThread) [zigpy.zcl] [0xD301:1:0x0019] OTA query_next_image handler for 'IKEA of Sweden Remote Control N2': field_control=FieldControl.HardwareVersion, manufacturer_id=4476, image_type=4555, current_file_version=65572, hardware_version=1, model='Remote Control N2'
2023-04-21 14:33:11.051 DEBUG (MainThread) [zigpy.zcl] [0xD301:1:0x0019] OTA image version: 581, size: 218698. Update needed: False
2023-04-21 14:33:11.051 DEBUG (MainThread) [zigpy.zcl] [0xD301:1:0x0019] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=True, *is_general=False), tsn=6, command_id=2, *direction=<Direction.Client_to_Server: 1>)
2023-04-21 14:33:11.052 DEBUG (MainThread) [zigpy.zcl] [0xD301:1:0x0019] Sending reply: query_next_image_response(status=<Status.NO_IMAGE_AVAILABLE: 152>, manufacturer_code=None, image_type=None, file_version=None, image_size=None)
What do you have in your config file? It looks like the IKEA provider isn't enabled.
exactly this:
zha:
zigpy_config:
ota:
ikea_provider: true # Auto update Trådfri devices
ledvance_provider: true # Auto update LEDVANCE/OSRAM devices
salus_provider: true # Auto update SALUS/Computime devices
inovelli_provider: true # Auto update INOVELLI devices
thirdreality_provider: true # Auto update 3REALITY devices
otau_directory: /config/zigbee_ota # Utilize .ota files to update everything else
And you restarted HA after modifying the config?
No, they all work concurrently. Everything is correct according to the log, including the manufacturer ID and the image type. The problem, however, is that the response should have been "no update is needed", not "no image available". This points to either the IKEA OTA provider not loading, their URL being blocked, or HA wasn't fully restarted.
Look for zigpy.ota in your Home Assistant log file. What shows up?
2023-04-21 15:34:24.163 INFO (MainThread) [zigpy.ota.provider] Trådfri: OTA provider enabled
seems ok
What about DEBUG (MainThread) [zigpy.ota.provider] Trådfri: Finished downloading firmware update list?
let me see if i find something like that...
Feel free to send over the whole log file and I can take a look
no lines related to downloading
seems that the file is too big...
@austere patio
wellp that aqara sensor I was having trouble with just failed to report an open and close event, but at least it hasn't gone unavailable yet. Guess I'll wait and see what happens still.
And replace it with something else entirely if it doesn't behave
Try swapping in a fresh battery too. Their battery percentage is not reliable.
Oh yeah, it's brand new as of yesterday, since I figured it had gone offline due to dead battery
Though the 1632s I bought were random brand from Amazon so I might have to put a meter on it to verify
pretty much nothing I have reports battery correctly/often enough, whether it's zigbee or zwave. Which is kinda annoying.
Is there good documentation somewhere on how to get ZHA working with SkyConnect? I haven't had any luck since it auto-updated the firmware a while back.
If you tried to use multi-PAN and want to migrate back to normal Zigbee firmware, use the web flasher: https://skyconnect.home-assistant.io/firmware-update/
Then it will work with ZHA normally again
Thanks - I'll give that a try.
How long should it take? It's been at 0.0% for ~5 minutes.
No - connected to my desktop not the HA server
What browser are you using?
Chrome. v112.0.5615.121
And the web flasher was able to detect the currently running firmware and let you select new firmware to install?
Yeah - I selected the top choice for Zigbee.
Does it give you the option to download a debug log?
No - just stuck on the Installing firmware pop-up with progress 0.0%
Hmm, that's strange. I would unplug it, reload the webpage, and plug it back in to try again.
Ok - updated drivers to latest from the website, even though my computer was detecting SkyConnect with the older drivers. Showing Currently has Multi-PAN (RCP) 4.2.2 installed.
Firmware has been successfully installed. Thank you!!
I switched to ZHA from deCONZ cause I was having issues with this smart plug, but I seem to be having similiar issues with ZHA. I can manually read an attribute from the manage zigbee device page, but it does not seem to updated on it's own. Any ideas?
disregard, google fixed my problem 🙂
share with the class - people often come in here months later and search to see if anyone else had the same issue as them
I found this reddit thread that recommended a reconfigure: https://www.reddit.com/r/homeassistant/comments/sbwi0y/sengled_e1cnb7_not_emitting_power_measurement/
did the reconfigure and it just started working, simple as that 😄
Well my problematic aqara sensor went unavailable again, so I guess I gotta double check these batteries
is there anything i can do to "fix" a device who gives terrible battery readings? aka inaccurate or inconsistent
hey guys, i've not done anything with zigbee yet but want to - i was looking up various options and found the skyconnect zigbee usb dongle - how well does that work with HA and things like aqara door/motion sensors? i don't know what other things i would use that are zigbee yet - should i get something else like a sonoff equivalent?
Get a proper one (https://www.zigbee2mqtt.io/guide/adapters/)
man i always wanted to get this before they discontinued it
the skyconnect works well, but i wouldnt get it unless youre planning on getting thread devices or just straight up want to future proof. i would get any recommended device above but make sure you check out whichever one you decide to buy first
Hi guys, beginner question. I have installed sonoff zbmini l2. I paired it through zigbee2mqtt, I use sonoff zigbee dongle E. And now I have no control on it. It doesn’t respond to any command. I see it is connected but doesn’t respond. Any ideas what to check? Cheers
i'm always down for getting something to future proof even if it's a bit more upfront now - but i care more about how well it works out the box - sounds like the skyconnect isn't a bad option?
it depends if youre going z2m or zha. skyconnect is on the recommended list for zha, which makes sense as it was purpose built to run multi protocol with zha and t hread, but its still experimental on z2m. anything on the recommended list is a good choice provided you know how to connect it and flash it (if necessary). take a look at the recommendations for z2m or zha depending on your integration of choice
I havent sadly.. i just bought a new one.. i was tired of throubleshooting it.
get a switchbot to tap on the pairing button every hour 😂
I have a Rpi4 and I bought Sonoff Zigbee USB Dongle, but in Zigbe2Mqtt there is always this error: 502: Bad Gateway
Look at the pinned messages
If you're getting a 502 from an add-on then the add-on isn't running.
On Zigbee2MQTT a common cause is having only one Zigbee coordinator/stick and also having enabled ZHA or deCONZ.
So where's solution?
Did you check your add-on logs yet?
Did you check your add-on logs yet?
what are add-on logs?
but in Zigbe2Mqtt there is always this error: 502: Bad Gateway
no i have it
No shit
z2m is short ok
[16:15:33] INFO: Preparing to start...
[16:15:34] INFO: Socat not enabled
[16:15:35] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:info 2023-04-22 16:15:42: Logging to console and directory: '/config/zigbee2mqtt/log/2023-04-22.16-15-42' filename: log.txt
Zigbee2MQTT:info 2023-04-22 16:15:42: Starting Zigbee2MQTT version 1.30.3 (commit #unknown)
Zigbee2MQTT:info 2023-04-22 16:15:42: Starting zigbee-herdsman (0.14.103)
Zigbee2MQTT:info 2023-04-22 16:15:43: zigbee-herdsman started (resumed)
Zigbee2MQTT:info 2023-04-22 16:15:43: Coordinator firmware version: '{"meta":{"maintrel":3,"majorrel":2,"minorrel":6,"product":0,"revision":20180507,"transportrev":2},"type":"zStack12"}'
Zigbee2MQTT:info 2023-04-22 16:15:43: Currently 0 devices are joined:
Zigbee2MQTT:info 2023-04-22 16:15:43: Zigbee: disabling joining new devices.
Zigbee2MQTT:info 2023-04-22 16:15:43: Connecting to MQTT server at mqtt://localhost:8485
Zigbee2MQTT:error 2023-04-22 16:15:43: MQTT error: connect ECONNREFUSED 127.0.0.1:8485
Zigbee2MQTT:error 2023-04-22 16:15:43: MQTT failed to connect, exiting...
Zigbee2MQTT:info 2023-04-22 16:15:43: Stopping zigbee-herdsman...
Zigbee2MQTT:info 2023-04-22 16:15:44: Stopped zigbee-herdsman
Zigbee2MQTT:info 2023-04-22 16:15:43: Connecting to MQTT server at mqtt://localhost:8485
Zigbee2MQTT:error 2023-04-22 16:15:43: MQTT error: connect ECONNREFUSED 127.0.0.1:8485
There you go, it can connect to your broker
how do i fix this?
- Don't use
locahost- usecore-mosquitto - You are running the Mosquitto add-on?
yes
Then (1) applies
so mqtt://core-mosquitto just this?
With the right port number
That is specified below?
Well, I don't know what you've done with your broker
You know, hopefully
The default port for MQTT is 1883
It doesn't still work with neither
Your broker is working?
nope, again same error
You've tested it with something like MQTT Explorer?
I'll try
Well, different error if you actually changed things
Obviously you'll need to use the IP of the host running the broker
Zigbee2MQTT:error 2023-04-22 16:23:35: MQTT error: connect ECONNREFUSED 172.30.33.0:8485
There isn't addon MQTT Explorer
It's software you install on your laptop/desktop/whatever
Drop the two words into your favourite search engine
I downloaded it, now I have MQTT connection in app