#zigbee-archived
1 messages Β· Page 25 of 1
||I'd even be willing to bet that this turns out to be yet another case of an incorrect url setting in Z2M's frontend||
I forgot to mention, I'm using zha.
Using ZHA I can add devices on the ZHA devices page or I can select the closest router and Add Devices Via This Device. Is either method recommended over the other for adding battery powered devices?
According to https://www.home-assistant.io/integrations/zha/#adding-devices I should be adding devices via the Configure menu and not the ZigBee devices page. What is the downside to doing it the way I did and should I reset and re-add my devices?
Generally, pairing devices in their intended location is all that needs to be done (you don't need to select a specific router to pair via). Even if you do choose a specific router for pairing, the end device might pick a different parent in the future anyway
But no, you don't need to re-pair your devices
Thank you @lilac wharf
Moving the hue lights out of the hue integration and into the ZHA integration helped reduce drop-off of many of my leaf nodes (battery powered sensors) - the best improvement I got was when I rebuilt the mesh from scratch starting with the plugs nearest to the coordinator then working out - then I paired the bulbs (nearest first), finally I did all the battery powered devices (nearest first) - I paired every device at its intended location
I'm having trouble trying to bind a lutron aurora to hue bulbs using ZHA, it's just stuck spinning. Anyone have any ideas?
@peak moth make sure the aurora is awake. I bind them from ha using my phone so I can click them as I issue the bind command
Thanks, I'm now some how managed to get it that one of the two bulbs I want is bound, but only the on/off functionality, dimming isn't working. I tried factorying resetting the switch and the on/off binding stuck somehow
If you want to control more than one bulb, put them in a zigbee group, and the. Bind the aurora to the group
To be clear the dimming was working, but now it isn't
The on/off and level control
I got an The device reconfiguration failed. Additional information may be available in the logs. when trying to reconfigure.
I canβt remember if the aurora can bind to more than one device. I reset it and try the group approach
Hey guys. I rebooted my HA and my zigbee dongle is apparently failing with this issue, any ideas?:
Error setting up entry SONOFF Zigbee 3.0 USB Dongle Plus V2 for zha
Traceback (most recent call last):
File "/usr/local/lib/python3.10/asyncio/tasks.py", line 456, in wait_for
return fut.result()
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Hi guys I am completely new to home assistant and just purchased a raspberry pi 4 awaiting delivery. But I'm looking for help to decide which zigbee light switches people are using I've seen a Few such as sonoff and tuya but which is best?
it works really great and works over poe
Can you post the full traceback? It sounds like your stick isn't communicating with HA.
Fortunately it started working again after rebooting and unplugging everything a couple more times. But thank you!
Thanks for your help, some reason this one isn't forgetting it's binding so I'm going to return this one and try with a new one. Lesson learned: no half measures, try directly for the group you want since undoing seems to be just as hard as doing
a full reset, I think it's 3 clicks hold then three more clicks hold (may want to double check that), should reset it and wipe the bindings
should that's what I did and I know it worked since it disconnected from my network but as soon as I connected it it started half-controlling the bulb again
odd. . I think the latest FW on the Aurora sends ON/OFF to a group address by default and the Level-control (dimming) is sent normally. maybe the bulb is responding to that group, maybe try removing the bulb from any groups. π€·πΌββοΈ
Idk, at this point it is re-packaged and I'm done trouble shooting for today, will try again with a new one.
Some how in all of this one of my bulbs got unpaired, so now I need to fix its configs.
Thanks again for all your help!
@tropic depot Hey, I don't usually go pinging developers, but I think I'm at the bottom of this rabbit hole and not many seem to know how to help. I think there must have been a mistake in the quirk for the inovelli blues, the "Issue Effect for All LEDs" action has an issue with the effect_type value in some cases. Such as, if you create an action and test just that action you get a string->int cast error. But running the whole automation works fine. I also noticed that the previous value in the dropdown for effect_type doesn't show after reloading the page. I would just work around this problem, except that the Node-Red device action seems to always run into this issue. I've been digging around various codebases for a few days now with no luck getting any closer to where this mistake might be. More details (logs, examples) here: #node-red-archived message
Ive got two Ikea devices (same model), according to Zigbee2MQTT those are running two completely different firmware version, but also there is no firmware update available for any of them. Why this might happen?
Is the OTA update function still working for Ikea?
The device is ICPSHC24-30EU-IL-1
The old ones are running 2.3.086 dated 20211025 and the one i just bought last week is running 1.0.002 dated 20181203
But when i try to update it Z2M says that there is no update available
also have a similar problem with Zigbee repeaters (Ikea E1746) - those actually show that there is an update available but after updating the version doesnt change
and Z2M is still reporting that the devices can be updated
Woaa... Just found the HUE effects candle & fireplace Maybe old now, but so cool. Wonder if it's hard on the bulb?
Hey together, is it normal that a OTA firmware upgrade of an IKEA E1743 (https://www.zigbee2mqtt.io/devices/E1743.html#ikea-e1743) via Zigbee2MQTT needs ~3 hours?
Not unreasonable I suppose. My HUE takes between 15 and 40 minutes. I guess it depends on the size of the firmware
for me updating ikea devices regardless of the model usually takes 30-40 minutes
but OTA takes a heavy hit on zigbee mesh bandwidth
so if there is a lot of other traffic or a weak mesh then 3 hours doesnt sound unlikely
The remotes are much slower it seems. My up/down blinds remotes took over 2 hours to update
Thanks for your replies!
Actually I'm struggling with migrating from ZHA to Zigbee2MQTT with "device features".
I have some IKEA TRADFRI devices (in this case remotes) and the following doesn't support any "command" (on, off, dimming, right, left) via Zigbee2MQTT but it works via ZHA:
- E1743 https://www.zigbee2mqtt.io/devices/E1743.html#ikea-e1743
- E1524/E1810 https://www.zigbee2mqtt.io/devices/E1524_E1810.html#ikea-e1524%252Fe1810
- E2001/E2002 https://www.zigbee2mqtt.io/devices/E2001_E2002.html#ikea-e2001%252Fe2002
Should that work normally or am I missing something?
Pick one of the three and explain what's not working
Each of those lists a bunch of actions they expose
Okay, we start with a E1524/E1810:
- Battery
- Update available
- Linkquality
- Update state
There are no other entities, so, I can't click any button on this remote, because it isn't recognized by Zigbee2MQTT.
That's exactly that what I would expect, I'll re-check in HA.
Is it possible that I just have to wait for a few minutes until all actions/entities appear via Zigbee2MQTT?
It should appear at the same time as everything else
Here's something similar on my setup
These actions are popping up one after another now for me.
After pairing:
- ... update availabilty changed
- ... becaume up-to-date
- ... got an update available
- ... battery battery level changes
After ~10 Minutes also:
- "arrow_right_click" action
- "arrow_left_click" action
- "brightness_down_click" action
- "brightness_up_click" action
After ~12 Minutes also:
- "toggle" action
Wait...are you looking in the Device trigger section of the automation UI?
Sorry, yes.
Yes, it exists
Then you're good if the action entity is where tinkerer said
As to why they don't show up in the automation UI right away though...no clue, I don't use that. You can use state triggers with it without those actions showing up in the UI though
But why is there still something missing for triggers if I compare it with ZHA?
Example:
With ZHA I'm able to use "arrow_left_click" and "arrow_left_click_long" (these names aren't correct maybe) and with Zigbee2MQTT there is only "arrow_left_click" available.
Because ZHA isn't Zigbee2MQTT?
These are two different pieces of software, developed by different people, with different goals and requirements
That's like asking why OpenHAB behaves differently to Home Assistant π
arrow_left_click, arrow_left_hold, arrow_left_release
There's no long press because it's hold and release, meaning you can use it as a dimmer instead of just getting a single action firing from a long press. You'd have to automate it to detect when the hold action fires, then loop until the release action is triggered. Or if you just want the long_press functionality, do something on hold and ignore release
That would be okay for me, but I don't have this action :/
Stop looking at device triggers
(that's applies generally across HA)
Use state triggers on the entity
I already checked the available "States" in HA for and there I have only the following:
-1
Up-to-date
Unavailable
Unknown
Don't trust the UI
haha π
https://www.zigbee2mqtt.io/devices/E1524_E1810.html#action-enum lists the possible states of the _action entity
Okay, I'll try that. Thanks alot until here!
When I use the "State" trigger and change the "To" to "toggle", nothing happens. The trigger will not be executed
"Attribute" and "From" are just empty. Only "To" is set to "toggle".
What entity are you using?
Oh boy, thanks π
With the correct Entity it's working. I used "update.remote_living_room" instead of "sensor.remote_living_room_action"
yeah, thank you very much @sour shadow, @hollow chasm & @lilac wharf for your support. You're awesome β€οΈ
Uhm, btw ... It's strange, but I also heard something about that in a video on YouTube ...
Now all actions appears in the "Device" sections for triggers.
In the video the guy is talking about you have to wait for a few minutes until all actions will appear in triggers for devices
I believe that only applies to integrations where the states would be known, e.g. your thermostat's integration would have heating, cooling, fan, etc. My remotes have been in HA for a few weeks now and the _action entities don't have any states in the automations UI, so either MQTT isn't exposing a full list of possible states or it may not work regardless
in the case of zigbee2mqtt, the states are known
I can just tell you what I experienced π
i know, i'm saying i find it strange that they don't appear right away
then again, like we've said before, Device triggers aren't a great choice anyway
Okay, but why exactly?
The actions likely aren't published in a way that HA can use them - only by sending those actual states does HA get to know them
if you ever replace that device with something similar, it's not as easy to change it in the config
The states are known by Z2M, but that does not appear to be exposed to HA, hence them not showing up in the UI
- Limited functionality
- You can't replace a device like you can an entity
Okay, yes, I see that point.
agreed, but it just seems strange to me 
If someone from you is able to understand german, you can check out this video, just to clarify my source:
https://youtu.be/PR-ugz1uLWc?t=830
After some time running my z2m gows down :
Zigbee2MQTT:error 2023-01-08 17:30:38: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
when i open Mqtt Explorer it's still up and running fine.
the only thing i found so far to fix this isseu is to unplug the coordinator and plug it back in.
any insight in this ?
try reflashing the esp32 handling the tcp serial link - do it over OTA first if still presists do it over serial/usb https://github.com/tube0013/tube_gateways/tree/main/models/current/tubeszb-cc2652-poe-2022#esp32-flashing
As well, if anyone else has any ideas, please let me know
Can you open a HA Core bug report with steps to reproduce it without using node red?
isn't that what i did already to get it back up and running again ?
What happens when you just restart Z2M?
it sticks to the error
So you have to reset the coordinator
What do the ESP32 logs show (the webpage where you flashed firmware)?
only if i unplug the coordinator and plug it back in it works for X amount of time then it's the same
newbie : where can i find these logs ?
You posted an example of them in your thread a few days ago
What do the logs show if you just restart Z2M, without rebooting the coordinator?
ah yes one sec please
I think there is also a reset button on the webpage, see what happens if you push that
when it "crashes" herdsman says unplugged stopping herdsman
it runs fine at startup and only happens after x amount of time the device suddenly disapears while mqtt explorer had no issue talking to it
Hi people! I recently bought a SONOFF ZigBee Hub and one Aqara Radiator Thermostat because of a recommendation. I've seen people manage to connect those two too and I have set up Mosquito, ZigBee2MQTT and everything else. I just don't know how to connect the thermostat to HASS as it doesn't show up in the Z2MQTT devices list while permitting joining.
What do I have to do in order to pair those devices?
it comes back online without any issue
You've put Z2M into pairing mode, and enabled pairing in the thermostat?
The thermostat is in the same room as the coordinator, or one immediately adjacent?
i got a long USB cable and put it directly next it. The instructions manual doesn't show how to put it in paring mode afaik, let me check again.
i read on github Koenkk uninstalling the zha intigration might resolve the issue but i don't have the zha integration never used it
Directly next to it is ... possibly not ideal
Like yelling in somebody's ear isn't a good idea
Instead you should pair them in their final locations, so that things work (or don't because you don't have a strong enough signal)
not exactly next to it, like a few meters apart
A few ... one, two, twenty?
3.5m
@jagged estuary 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).
oh sorry.
Assuming no walls, or at most one plasterboard/drywall wall, that should be fine
π
You do have to put it into pairing mode though, or it doesn't know it's supposed to be trying to join
yup, got that
Of course, the other thing to do is ensure you're using a channel other than the default of 11, and that you're clear of WiFi interference
Yeah I can't seem to figure out how to enter pairing mode in the thermostat.
Look up the device on the Z2M website, they have pairing instructions for (almost?) every device

press it for 10 seconds
Guessing it's this: https://www.zigbee2mqtt.io/devices/SRTS-A01.html
Yup that worked! Thanks!
What do I do now that it showed up and pressed the configure button?
Now you have a new entity or few in HA that you can add to dashboards or automation with
it should report the temperature π give it some time and look again sometimes attributes don't show up directly
https://upload.skyslycer.de/firefox_POyXoSc44K.png This is what I'm currently seeing
You can see all the states and attributes in dev tools 
Ah, I'll check that. Is there a way to remove the top thingy from my dashboard?
I ideally only want the pretty thing there xD
You can either hide or disable the entities, or make your own dashboard. As you add lots of things, the auto-generated dashboard will become an unusable mess
It's great for getting started, but long term I'd recommend building your own dashboard
Got it!
Looked at the devtools and apparently it isn't returning any current temperature information sadly
It's possible it gets provided as a separate sensor
You can filter the list of states by name, so if the device got named thermostat, you might have climate.thermostat, sensor.thermostat_temperature, etc
doesn't seem like it
local_temperature: Current temperature measured on the device (in Β°C). Reading (/get) this attribute is not possible.
that's on the site
why's that?
You might be able to find a bug report on the Z2M Github page that has more info. My guess would be some sort of compatibility issue that prevents them from retrieving the value
nope, didn't find anything
Hello there!
I have received my SkyConnect yesterday, and I set up ZHA with a ZLinky. Configuration and association were a breeze...
But now I need to update my ZLinky with OTA update... And... It's failing.
I just found out that it is reporting null mvVolts, null windows open and calibrated null too
it isn't reporting anything at all
what can I do about that? (it does change the stuff that i can change too like set temperature)
a restart on both parties fixed it
My Aqara E1 doesn't seem to be reporting correct local temperatures. It sat on 21,4Β°C for like an hour now
Is there anything else I have to enable for it to work properly?
The door sensor?
The TKV
ZHA or Z2M?
the steps are just have an inovelli blue switch and use that action, but sure
you sure it would belong on core?
I need to do a complete OS rebuild of the NUC HA (supervisor docker) it is running on. I have backups of HA but not entirely sure what's the best way to backup/restore zigbee2mqtt and avoid having to repair all my zigbee devices. I'm using Sonoff zigbee 3 USB dongle. I've seen Lewis's video but that was a year ago so really wondering what's the latest and best way to do it now that we are in 2023 π
So my Zigbee controller has a visualization that shows devices are connected with lines and some without lines. all of them are labeled as "Device is Offline", including my smart plugs that obviously can't run out of battery power.
Is it just likely that my controller got borked and I just need to reset everything?
and start from scratch
one time while troubleshooting, i took the controller out of the USB port and plugged it back in and it tried to reconnect it as a device.
also, tried a few times to get a Leviton paddle switch I have to reconnect as well and it would never even show up to sync with.
Just wanted to get any thoughts if possible before i start all over.
Z-Wave or Zigbee?
oh whoops. i meant to say zigbee actually
All of my zigbee devices have departed from the devices page on Zig2MQTT
Ive checked the Addon is running, but the log shows 0 devices - have restarted addon too for good measure .
I have 3 devices, so not a total pain to re-add them - but but but ..... what else should I try .
And what integration are you using? (ZHA, Z2M, or deCONZ)
zha
Do the smart plugs respond when you turn them on/off in HA?
nope
Does anything respond on your Zigbee network?
toggle sets on "on" for a couple seconds then goes back to off
nope. nothing is responding anymore
and it feels like it all happened at the same time
Did you check if there's anything in the logs?
i saw nothing of note in the logs
at first i thought it was batteries, but then started noticing a bigger problem. some devices would be set to unavailable.
i wasn't thinking it was so wide-spread so wasn't paying super attention at the time.
problem now is that all associated devices are being marked as unavailable and there no longer any events found
im leaning towards repairing everything
re-pairing lol
Are you sure that you checked the logs?
.....
Check them again to be sure. There will be something in the logs if a device is offline and can't be initialized or if ZHA can't connect to the stick.
Also, what does the ZHA integration show on the HA integrations page? Any errors? Is it red or blue?
so the red circle with a Z logo will be colored different? it's red right now
seeing this for the first time. I've seen Ember before, but hadn't noticed zha associated with it, so didn't realize there was a relation:
2023-01-08 16:27:25.975 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x5AD0:1:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
Well, that's good to know
I meant if there was a red outline or something like this: https://i.imgur.com/1y3tFX8.png
If there is, ZHA likely can't connect to the stick, but if there isn't, that's good at least
oh. no not like that. it appears normal
And what Zigbee stick are you using?
one time while troubleshooting, i took the controller out of the USB port and plugged it back in and it tried to reconnect it as a device.
What do you mean by "reconnect it as a device"? Did you re-run the ZHA config flow (and possibly reset the stick)? (Was that when the ZHA network stopped working?)
like. i was running the pairing tool and then when i plugged it back in and got to my PC, the coordinator was showing up like a device to be paired
That can happen if the coordinator is just then initialized (e. g. when replugged)
would that mean it lost info on all the other devices?
i honestly can't remember now (it's been a few days), but the devices i know should be re-pairable, like the two Smart Plugs and the Leviton paddle switch won't show up at all when trying to repair them, but they had been disconnected (and failed to re-pair) before I ever unplugged the dongle.
despite the battery operated ones acting up (so very possible it was just battery issues for those) these other devices disconnected and won't repair, long before I started messing physically with the adapter itself.
so i started thinking the issue was something bigger. since all devices said "Device is offline"
On what system is HA running? (Raspberry Pi?)
RasPi
Is it running of an SD card or an SSD?
SSD
Is that a USB 3.0 SSD? Did you just add that recently?
https://smile.amazon.com/gp/product/B01N6JQS8C
the one most people have been recommending on YT
Is that plugged in via USB?
yeah
Is the Zigbee/Z-Wave dongle plugged in directly to the Pi or is it on a USB extension cable?
directly
2.4 GHz dongles (so Zigbee dongles) basically always need to be on a USB extension cables.
USB 3.0 will cause interference in the 2.4 GHz spectrum and can stop your Zigbee stick from working.
Try to get a USB extension cable and plug your Zigbee stick into that (and put it away from both the Pi and the SSD)
(Then restart HA) and see if your Zigbee network starts working again
i've never had a problem with Zigbee though and not using extension. and i tried that and it changed nothing.
How long was the extension cable?
like a foot
Should be enough in most cases. If you have like a 3ft one to test, that would be better
But make sure it's always plugged into an extension cable, even if it that's not your main problem
This is basically the no. 1 issue here (Pi users using an SSD with a Zigbee coordinator directly plugged into the Pi)
just curious since ive been on an SSD for several months
Yeah, perhaps there's more read/write activity going on at the moment or it was just slightly re-positioned
Zigbee sticks always need to be on an extension cable basically. That's also why the HA SkyConnect stick includes one extension cable in the box for example
then i must have just been getting super lucky until all of a sudden. lol
because i even needed an extension cable to get some relays connected for ZWave and that worked for them. but i removed those devices and went with a different solution, and went back to plugged in, with still no problems for months with the Zigbee devices.
so confused how everything was fine. but, I will get an longer extension and try that.
Also make sure that the dongle is away from any WiFi access points (routers) or other 2.4 GHz devices (Bluetooth dongles, ...)
If the issue persists with a longer extension cable, check the logs again for any messages
dont forget away from metal enclosures like a rack
are you in a house or apt?
maybe your neighbor got some new mesh system that is shitting over your entire 2.4ghz spectrum
well, how about this? i contemplated this but wasn't sure.
one other thing that changed is that i got a new TV. so basically the Rpi is sitting on the TV Stand with a Fire TV. so a modern Smart TV. I had a 12 yo Plasma before.
I did think maybe it could be interfering so I turned the WiFi off.
iirc old plasma screens are known to interfere with 2.4ghz but maybe an old wives tale
well, the thing is, i got rid of the old non-Smart TV (plasma) which everything was fine
maybe it was interfere with some ham bands instead
right
so the pi is next to a tv which itself has usb ports
sounds plausible for interference there
Smart TV + Fire TV might cause interference with (WiFi and) Bluetooth (maybe the remote is Bluetooth) or it's just sending out BLE stuff for pairing with phones.
Extension cable for the Zigbee stick should mostly solve that problem (if it gets it far enough away from the interference sources), but if that still doesn't help, you could also try unplugging the Fire TV and Smart TV
yeah easy to test
there's actually only one USB 2.0 on the new TV
Ah, the Fire TV remote is Bluetooth for example, so the Fire TV will have its Bluetooth radio on
did you do an environmental scan before choosing your zigbee channel btw?
no. at the time didn't know zigbee was 2.4.
what router/aps do you have
maybe they have a setting to allow them to roam to a better channel/band width / power
that would make sense here too since you said it worked before
well, i think an easy thing to do might be to move the RPi downstairs and plug it in to an Ethernet port I have down there
like i said, no problems without an extension cord until the last week or so.
so maybe i get lucky and it is the TV
(Still, you should always use one with Zigbee coordinators. Especially so if you have an SSD. It always degrade the performance, sometimes it still works partly though)
@mellow geode so I did just try with that one foot extension. I have another one foot extension. should I try adding that in? there is 0 close by interference downstairs and everything is acting exactly the same.
so if 2 ft doesn't work you think should I just reset the ZigBee coordinator and start over?
Try with the two USB extensions. You can check logs again then.
If you also can't re-pair any devices, it really looks like an interference problem though.
If you're starting over, you want to use the "Migrate Radio" option on the ZHA config option and just reconfigure the current radio and then "Erase current network settings and form a new network", then re-pair everything.
(Deleting the ZHA integration and re-adding it will not reset your radio generally. That "Migrate Radio" option will reset the radio though (if you select that option) and you'll need to re-pair all devices, but they will show up with the same devices and entity IDs, so automations won't break)
Also, what does "Channel" on the ZHA config page show? 15? (Integrations -> ZHA -> Configure)
yeah. 15
looking at at all of my local area 2.4 in WiFiMan and everything is 11 or below for channel
Zigbee and WiFi channels have different numbers: https://www.metageek.com/training/resources/zigbee-wifi-coexistence/
oh
Zigbee channel 15 is mostly between WiFi channels 1 and 6, but the sideband lobes still affect it a bit
(The graphs assumes that everyone uses WiFi channel 1, 6, or 11 (which is what should be done), as other WiFi channels conflict with themselves otherwise)
26 would look more appropriate then
Yeah, but some devices are not compatible with channel 26. 15, 20, and 25 are generally recommended
oh Ember is the firmware for this dongle. i see the correlation now...lol
should i try a firmware update?
not to fix issue, but just to get updated?
oh geez that looks like a chore...lol
The HUSBZB-1 is somewhat dated at this point and runs an older version of EmberZNet. ZHA uses the "bellows" library to communicate with it (ZHA also uses zigpy).
There are firmware upgrades available (not to the newest versions of EmberZNet, as those are not supported anymore, but yeah, it won't help with your issue rn).
I never had that dongle myself, so I can't give you instructions, but some firmware files are here: https://github.com/walthowd/husbzb-firmware
yeah. reading through that right now haha
bad assumption thanks to lovely shit mesh devices like eero :x
just per chance i didn't mind starting over entirely., what would be a newer, recommended dongle be?
the SkyConnect?
it is nice that it can be updated through HA itself
The SkyConnect should be good, yeah. CC2652 based sticks are also good
(Note that update functionality of SkyConnect though HA is not yet implemented, but it ships with a fairly recent EmberZNet release)
Itβs just a Python script to update it atm (update shouldnβt be needed yet)
what's Download Backup for? is that used with Migrate Radio?
It downloads a backup for the ZHA network settings (like your network key and so on)
Migrate Radio can also be used to restore that (instead of resetting the network)
Hello.
I have a sonoff zigbee dongle perfectly functioning.
I am trying to pair an Aqara door & window contact sensor (MCCGQ11LM). The device is recognized but i do not get any information ... All is unknowm. How can I solve this?
ZHA or Z2M?
Actually I resolved. You do not have to change the name of the device from the mqtt2zha UI
You have to chabge the name after
what the heck is this?
mqtt2zha UI
zigbee2mqtt I assume
zigbee2mqtt2zha
gents, I have a channel question
my zigbee devices comes and goes, (by this I mean they are reachable for a moment, then not, then reachable again)
lately, I noticed my 2.4g wifi network has the same behaviour
I forced my 2.4G wifi to channel 1
(now)
my router was previously running in auto mode
I hope this will fix the issue (as I guess the router was somehow scanning the channels?)
which may have interfered with my zigbee network. ?
so now I have another question
which is the default channel of the sonoff zigbee hub ?
and as I am transitioning, how can I configure the zigbee channel inside Z2M ?
There's no default channel of a Zigbee stick or hub
how is this working then ?
There's a default channel for Zigbee2MQTT, which is covered in their docs
Also in their docs is how to change the channel
ok, and is there a way for me to check which chans are in use ?

https://github.com/zigpy/zigpy-znp/blob/dev/TOOLS.md#energy-scan is likely what you want if you've got a CC2652 based stick, if not you want the top pin
hah now that I changed my channel to channel 1 on the wifi router, my zigbee hub disconnected completely
If you're using the default channel of 11 then ... that's why
https://www.zigbee2mqtt.io/ -> Guide -> Configuration -> Zigbee Network
I'll dig this thanks
I can read that, but I seem to understand (I hope I'm not wrong) that using channel 1 for wifi 2.4, and channel 11 for zigbee, seems to be a safe bet
and yes I'm reading the docs
"+ Zigbee channels 15, 20, 25 fall between WiFi channels 1, 6, 11"
I'm guessing you didn't actually look at any of the pictures then
ok so I did not understand it correctly
I should try to use a zb channel starting around 19 to be safe, right ?
Well, yes, but no
You should generally speaking use one of 15, 20, or 25 (or maybe 26 if you're in Europe and all your devices support it)
You should however conduct a scan for WiFi and see which (Zigbee) channels are likely to be quiet and then conduct a Zigbee scan if you can
ok, damn, sooooo many issues
I think I ran into each possible issue since I started using zigbee
hahaha
thanks for your help btw
@sour shadow
Quite a while ago I found that chart...very useful! I am in a network crowded townhome complex. 2.4 ch 6 was the busiest.
I chose ch 1 for my 2.4 and 25 for z2m since it's a little more outside 2.4 ch 11 as compared to zigbee ch 11 and 2.4's ch 1.
ok so I'm back asking a question to people who uses TRADFRI and sonoff sigbee devices in EU
do you know if these devices are coimpatible with channel 26 ? π
I meant 25 sorry π
I added this to my conf :
socat:
enabled: false
master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
options: "-d -d"
log: false
mqtt: {}
serial:
port: >-
/dev/serial/by-id/usb-Silicon_Labs_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001-if00-port0
advanced:
channel: 25`````
so last line, to tell Z2M to use channel 25
(my 2.4G wifi network is forced on channel 1, and I have no neighbourgs thanks god) π
I restarted Z2M
but strangely, all my previously paired devices are still reachable (???)
I mean, the documentation is clear : "Changing the Zigbee channel requires repairing of all your devices!"
Channels 11, 15, 20, and 25 are pretty universally supported as they're the ZLL channels
(some Zigbee devices can handle a channel change, but it's not something you can rely on)
ok, it's weird, because as you can see, I added channel 25 to my conf
and restarted Z2M, and all my zigbee devices seems to pair
Did you then restart Z2M?
yes I did it twice
If you did change the channel Z2M will have told you to delete coordinator_backup.json
and will have refused to start until you did that
hmmmm
well it didn't
I simply added
advanced:
channel: 25
at the end of my yaml
and was able to restart Z2M with no issue
also, I cannot see the channel listed when adding log_level: debug
as Z2M is acting strangely, and sometimes needs a full restart of the VM, let me do this one more time.
and shall I rename coordinator_backup.json for safety ?
No
ok I keep it like it is
and do reboot the VM
hmmm even after a reboot, devices are pairing fine
I cannot see the used channel even with the debug level enabled
here is the full log :
Look in the UI
i updated the tubeszb-cc2652-poe-2022 again with the latest firmware and still the same thing happens. after X amount of time :
Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
the only thing i found so far that resolves the issue is restarting the whole coordinator then it comes back to life without any problem at all. but i already know it will only run for X amount of time.
attached it to a other cable now to see if it's maybe a faulty network cabel attached to the device
@sour shadow I can't find it but as for now, I was able to pair most of my devices and have no more wifi loss. It looks like switching to channel 1 on my wifi router (and eventually changing to channel 25 in Z2M) stabilized things (for now)
ok so now I have 4 on-off switches from sonoff paired, and I also paired a hue smart button. Do anyone have a nice blueprint that makes it possible to put all the on-/off switches on on first press, then off on next press ?
Did you flash with esp32 OTA or with serial/usb? If not serial please try that. I think I sent a link before
OTA I'll try the usb one now
how do i remove it partialy from the case without braking it ?
it's a snug fit but got it was wurried i would brake the antenna kabel
https://paste.debian.net/1266631/ i get a error
Unexpected error: The firmware binary is invalid (magic byte=3A, should be E9)
used a other usb port now i got it done
Hard Resetting...
Hard resetting via RTS pin...
Done! Flashing is complete!
now i'm having troubel getting it back in it's casing π€£
okay i'ts back in it's case and online
so let's see if it holds up
I got my devices paired finally
and now I reated a group in Z2M, I was able to put all my basement's on/off switches in the group
but impossible to add my hue button :
Failed to add from group (Command 0x001788010895ae96/1 genGroups.add({"groupid":1,"groupname":""}, {"sendWhen":"immediate","timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Timeout - 16592 - 1 - 20 - 4 - 0 after 10000ms))
after 15 minutes it disconnected again
after 15 minutes it disconnected again
I'm currently running zigbee2mqtt for all of my zigbee devices (mostly hue bulbs, and then an assortment of sensors and buttons). It is usually pretty solid, but will occasionally crash.
I'm thinking that using a hue hub for my bulbs may improve reliability for my lighting. Has anyone run two z2m and hue hub together? Any issues with interference?
I am working on the same thing currently! I am still learning all of this but in my messing around it was no good having the hue hub and ZHA in my case. I am looking at moving to z2m currently.
What was the effect of having ZHA and Hue running at the same time? Non-responsive devices on both networks? One worked and one did not? Did you look into different zigbee channels on the ZHA network?
I could never get a Hue bulb that was already connected to my Hue Bridge to connect to my Conbee II Zigbee stick
Hello
The second I would disconnect them from the Hue they would pop right into ZHA from the Conbee.
That's expected. Zigbee devices can only be on one Zigbee network at a time.
Thanks! That is what I assumed after a little playing around.
My issue now is signal strength I think. My "Hub" aka Conbee is up on the third floor attached to my home server.
Most of my devices are sitting at -70 or higher RSSI
With enough properly-placed zigbee routers it should work (although it's not an ideal situation)
As long as you have some mains-powered repeaters it'll work
My zigbee network looks like it's casting a spell because the controller is off to one end
I do! I just need my wife to no turn them off at the switch.... until I can replace the switch lol
Inovelli Blues
higher or lower? higher would be -70 as the lowest with -65, -60, etc. as higher values
and if -70 was actually your worst value then that would be fine
Sorry most at -70 to - 80
I have been looking at these! Was trying to decide between them or the new Lutron Claro
Is anything lutron actually zigbee?
it could certainly be better though, don't get me wrong
As long as you have bulbs or switching outlets near your controller they should be routing
-70 or higher would be better
what materials are your walls/floors made of and what's the layout like?
If you got the inovelli blue it would only improve your zigbee network
Just ordered one lol!
Wood frame house so nothing crazy. I do have three finished floors I am working with but its not a huge distance
Did you ever change your zigbee default channel from 15?
Some people have wifi interference and need to bump up to 25 that is out of wifi range
ooo I did not think about that!
You have to re-pair everything to do it tho
But might be worth it in your case regardless
figured... that may wait until weekend.
My other idea was to migrate over to z2m from ZHA
don't most people go the other way? lol
Oh wait I read that backwards
Yeah
You might as well do both haha
Yeah, I wanted to start on z2m but I was having issues passing the conbee 2 from unraid to my HA VM
So got a friend involved and he only knew ZHA
but I think now that I solved the USB issue I may give the z2m setup another shot
That and just make sure you have bulbs/outlets near your controller to help relay messages
Thanks for the input! Just need to find time to make the switch
Question: does anybody make a waterproof zigbee remote of any kind?
Or am I gonna have to build it myself
I've tried google this issue but I have gotten any straight answers yet. I have a IKEA trΓ₯dfri shortcut button and just synced it to zha, but there seems to be no events firing when I press the button, making it pretty useless. Anyone had this issue?
Just make sure it's not doing like z2m and updating/clearing a text sensor value
But I've gotten bad ikea stuff, I have one symphonsik knob that doesn't emit any events after it's paired
Thing is, I've had this button for a long time. I've just switched from deconz with conbee 2 stick to zha with skyconnect and it was working fine in deconz.
Have you checked the logbook while pushing buttons on it?
I presume you're watching zha_events in dev tools and not seeing anything?
Yes. Exactly.
Oh
Tried instruction from this thread https://www.reddit.com/r/tradfri/comments/t1pdqi/tradfri_shortcut_button_not_working_with_home/
Seemed to work
It's some kind of bad bind?
Bizarre
I wonder if that's why my one knob doesn't work
I guess so. But since the button has one purpose I guess that works. I just hope it doesn't desync with battry change
You should try it! π
hello. anyone can suggest me a zigbee usb stick i can plug on my raspberry pi 3b+?
Hi! can anybody help me setting zigbee2mqtt, please??
I'm desperate π«£ .
I followed all the steps and now nothing happens π
These are the only lines in the register:
[16:58:42] INFO: Preparing to start...
[16:58:42] INFO: Socat not enabled
[16:58:43] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:info 2023-01-09 16:58:46: Logging to console and directory: '/config/zigbee2mqtt/log/2023-01-09.16-58-46' filename: log.txt
Zigbee2MQTT:info 2023-01-09 16:58:46: Starting Zigbee2MQTT version 1.29.1 (commit #unknown)
Zigbee2MQTT:info 2023-01-09 16:58:46: Starting zigbee-herdsman (0.14.83)
@muted bison i use https://www.home-assistant.io/skyconnect/ and have ~40 devices (mostly Hue and Aqara) connected to it - but NOT with a Pi 3b. Not sure how much that will impact things. Some people swear by these: https://www.tubeszb.com/.
sonoff p dongle is what i use and suggest. there's a list here: https://www.zigbee2mqtt.io/information/supported_adapters.html
what zigbee coordinator and copy/paste your yaml (of the z2m addon) to www.dpaste.org (sans your mqtt password)
Any - anybody an idea why my new AQARA Smoke Detector only shows 2 entitys in HA? It only shows Iaszone (which never changes even if smoke is detected and the alarm sounds) and Identify - LQI and RSSI are deactivated. The sensor should have multiple entitiys like Alarm test, blink LED etc.
I am using ZHA by the way!
Model number: JY-GZ-01 AQ
My dongle is Zigbee 3.0 USB Dongle Plus.
And my yaml: https://www.dpaste.org/FWiSH
(I dont have the the password here; only in the confirguration of the addon)
z2m requires a login to login to the mosquito addon tho
Btw is there a new place to get phips hue firmwares? I have a LCA003 and I didn't see any firmware images for it on the spots the wiki linked to.
this message is for me?
right
Did you configure it with a username and password for MQTT?
the mosquito addon is a docker container which runs mosquito, then you need to actually give z2m a login to login to said mosquito addon
Have you tried removing it and re-adding it? Sometimes the interview goes a bit wrong π
yes π
yes i tried - i am using the Skyconnect Zigbee stick - everything else works perfect. For zigbee2MQTT the sensor should work fine (https://www.zigbee2mqtt.io/devices/JY-GZ-01AQ.html) i dont see any of the entities described on the page
how I should do this??
i think based on your paste above you are using the P dongle like me because there is no v2 in the serial
yes
so if that is the case, you can copy/paste mine and change your mqtt username, password, and serial id - https://www.dpaste.org/AmWjh
in your link above you have adapter: ezsp which i'm pretty sure is required for the E dongle not the P
great, I'm going to try
also it looks like you have permit_join true as well which i think is a bad idea to just leave on all the time
also
save yourself the trouble and actually set it up right now by changing the pan id and extended pan id and your network_key
so I must to paste this code in my yaml, right? and delete the mine https://www.dpaste.org/AmWjh
(and inserting my password)
I deleted the code adapter: ezsp
I dont understand this: "changing the pan id and extended pan id and your network_key" π΅βπ«
@molten linden my replacement Lutron Aurora arrives today, can you clarify if you successfully paired yours to a group before. I want to be extra careful since apparently I only get one try at this.
Also when you bound it, did you ever get home assistant to show you a success message? When I got mine paired to one bulb, it never showed a success message it just started "working"
Lastly what method did you use for keeping the thing awake during the binding, ie did you spin the wheel or spam the button or just push the button once before starting?
Thank you so much for all your help already!
(Btw you should make a post about getting it working on the forum, it seems like lots of people are having issues with it)
digiblur has a video explaining it if you'd prefer that medium
basically z2m ships to everyone with the same numbers and is therefore insecure unless you change the three things i said above
unfortunately I don't think there is any feedback in the UI, If you enable debug logging for zigpy it should show there.
basically, I create a zigbee group for the lights I want controlled.
then go to the aurora bindings, and pick that group, and check the onoff and level control options
then hit bind (repeatedly every few seconds) and at the same time spam the remote on/off button. I know it works when the lights start responding to the button presses
That has multiple lines Iβm not using idk
I assume the firmware on your stick is as required?
I cpopied only your code and this is the answer: https://www.dpaste.org/amzwR @grim igloo
is there a firmware update for the Skyconnect Stick?
i dont think so according to google
There isn't
Sorry, I don't know. All I know is that according to the page you linked it needs to be level or above : CC2530/CC2531: 20211115
CC1352/CC2652: 20211114
CC2538: 20211222
Conbee II: 0x26720700
Youβre using the z2m addon with haos right?
the stick dosnt use the CC-chip it uses the Silabs EFR32MG21 chips - therfor i dont think this is appicable
applicable
yes
If you are using Z2M then maybe hop over to their Discord channel?
I am using ZHA
Can you upload the device diagnostics somewhere?
ok, but you linked the Z2M page .....
can i PM?
ok
@grim igloo maybe I need to uninstall the addon and start again?
An error in AdapterNvMemory.init doesn't sound good. You may need to re-flash its firmware.
great, I think that I'm going to try all the proccess again, because I don't understand nothing. In any moment it worked, but now....
It worked in the past?
yes
And then it just stopped with this NVRAM error?
I dont know. Maybe I did something wrong
No, if that's the case, it's a know issue with the Sonoff stick. Its NVRAM randomly corrupts like this.
I have no idea why (did they purchase known-defective/knockoff CC2652P modules?), but you're definitely one of many to report the issue. Only way to fix it is to reflash the stick.
If it fails to start zigbee herdsman do you know if it throws those errors every time? Like could it be a mqtt auth issue and still have those errors cuz the herdsman didnβt start?
I have no idea
Guess weβd see that in logs
The traceback is in the NVRAM part of ZNP startup. I think it does a PING before actually starting, so if it got this far, the radio is definitely working and talking ZNP, just some critical portion of the NVRAM is not as expected
Prob not a bad idea to update fw on it anyways
But maybe Z2M changed up its startup code lately, I'm just guessingπ€·ββοΈ
And how to reflash the stick?
https://www.youtube.com/watch?v=4eYnURcDrWw i used this guide
i urge you to do what i said about changing network_key, pan id, and extended pan id before getting going. you cant change them later to make yourself secure without rejoining every damn device
great, thanks so much! @austere patio and @grim igloo Im going to do that you explained to me and I'll tell you
i'm using home assistant but i think it's compatible too, ty
?
we're all using home assistant here lol
this looks great, but i can't find a single store in italy who sells it and i don't wanna spend more money on delivery than on the product π€£
zha i meant
yea it's supported there too
I am having a similar issue with the Z2M and Herdsman not starting
using haos and z2m addon?
do the same thing as guy above, post yaml minus mqtt login info to dpaste.org and share here
Correct, I am attempting to migrate from ZHA to Z2M. I am assuming my Conbee may still be locked to ZHA
ah cant help there i'll let someone else jump in
Is there a place to pull the yaml from dev tools?
post your error to dpaste.org and show here. it might be as simple as zha using the stick so z2m cant use it
ahh crap I forgot I had to set the usb up as a serial to get the passthrough working... that may also be an issue.
oh boy now my conbee just vanished off of haos lmao
Any recommendations for smoke detectors? It seems amazon has no aqara ones.
I would definitely still keep a few "dumb" smoke/co detectors up is my only recommendation on that
I plan to but I wanted some smart ones as well so I can get a notification if there is a problem.
are they interconnect and wired + battery?
I am trying to find both a double switch light switch and smoke detectors and I know nowthing about good brands and brands to avoid.
and do you have zwave mesh or only zigbee?
there might be a zigbee version of this somewhere: https://www.thesmartesthouse.com/products/zooz-kidde-diy-smart-smoke-alarm-kit
otherwise there's mixed reviews on smart ones
i dont hate the idea of whatever dumb ones you want + one or two smart to alert when you're not home
there are also "listeners" for zigbee and zwave but i've heard they absolutely are not 100% accurate or at least can fail to work as expected
Hi and hello. I have the new SkyConnect dongle. But nothing of my Zigbee stuff comes up when i configure. Am I missing something?
I have the dumb ones set up already. I just need smart ones.
I read that as "Skynet" dongle.....
you can also buy any homekit ones you want even without any apple devices and pair them to home assistant directly with no bridge or w/e
if that helps expand your options
Maybe I should find them and then ask if this is a good brand here or one to avoid.
Hi. Can anyone tell me is aqara WS-EUK03 (smart wall switch, 1 gang, with neutral) double as zigbee router? Cannot find any info on aqara webpage.
I am told they do but I don't know how to confirm it.
I heard someone tell me that any wall powered item acts as a router.
So I've heard, but would like to confirm that as for those switches before buying
been trying to google it, but looks like 0 hits
mostly
if you can wait for them to get in stock the inovelli blue are probably the best out there
Do they have them in EU version?
@grim igloo Here is that log https://dpaste.org/ATPXM
and settings for z2m https://dpaste.org/zFPdU
Yeah, I assumed as much given the message. Thought I would post anyway.
Need to find a way to scrub the connection it has to ZHA somehow I assume
i've seen people get help with that here before but i've never done it so idk
you might have to restart, go to zha in integrations, disable it or ignore, then restart again (just guessing) but you should be able to find a written solution on the forums or by searching here
I will keep digging!
Is there some logic behing ZHA's naming? Like what's the reasong for a door/window sensor to be called binary_sensor.xxxxx__opening ?
Got the stick started up but now seem to be having mqtt connection issues. https://dpaste.org/N2gCW
ok download mqtt explorer and confirm you can login with the credentials you are giving it
I would leave the mqtt section completely empty
You mean the MQTT section in the config?
I stopped using ly hue bridge and sold it now I just use 1 ZigBee coordinator reduces chance of interfere and works great most of the time
?
he's using zigbee2mqtt he needs to provide a login to his mosquitto container
Depends on his setup I used to run it without login also then i was informed that not safe
As I read he's using HAOS so Z2M and Mosquito addons. Supervisor handles credentials on the backround automatically
i dont believe that is true
I think itβs based on the cluster/sensor entity thatβs created
You don't fill in any MQTT credentials on HAOS
i do
You can however manually set user/pass in the addon's config but it's not necessary. Defaults are fine
Finally into the UI for it!
especially setting the topic and address is redundant since those were the default values
Thanasis I am migrating from ZHA to Z2M btw if that changes anything going forward
I saw you noticed the HAOS part but wasn't sure you saw that
Is a migration possible? I don't actually know π
assuming by migration you mean move to Z2M without repairing
there is a video on youtube :" Backup and Migrate Your Home Assistant Zigbee Network!" i dont know if this actually works it should allow you to change coordinator and still keep all your devices and so on
lol two seconds too late! just blew it all up after nothing was showing to join Z2M
before you go adding everything you might want to go ahead and change a few things like pan id, extended pan id, and network_key
put it on GENERATE π
i created an issue on github about how it's crazy it ships insecure like this and it got closed lol
Are there any zigbee compatible smoke detectors in Amazon US?
I am looking through amazon and compatible device list as well and I can't find any.
I see first alert but no mention of if that is zigbee compatible
That is a bit out of my depth... not sure what or where those are
i use the Smoke detector ZSDR-850
https://www.youtube.com/watch?v=L9lC0Mse0K4 he goes over them here like halfway through i think
works great on zigbee don't know if you can get them in the us do
edit : i found them on amazon us π
also i'd do an environmental scan with wifiman or whatever you have available and then choose your zigbee channel based on results
i personally use channel 25 and put my channel 11 2.4ghz AP furthest from the zigbee coordinator
and since i dont think it's been said in the past hour.. plug your zigbee coordinator into a usb extender away from the usb ports on your pi or whatever, and also away from metal such as a rack.
Or use a poe device that you can put on it's own place
away from evrything
https://www.tubeszb.com/ great shop and great customer support
I bumped it up to 20
he's already got a coordinator
luckily I ran cat as soon as I bought the house so most stuff is hardwired
just saying the options π
That actually might be a good idea. I had a unused poe drop on my first floor that is in center of house around nothing else
they're expensive and often out of stock, that's about the only bad thing i can say about them lol
i highly suggest the tube PoE coordinator too
Hey all, i have an issue where my sonoff stick is not getting a /dev/serial/by-id reference, i cant see it in lsusb -v, /dev/serial/by-path, and /dev/ttyUSB* but it doesnβt populate the /by-id/ that i map to my container.
he's said before they're open sourced with full BOM and gerber files on github including stl files to 3d print a case in w/e color/material you'd like
I added a centrally-located plug-in module over the weekend and now it's in the center of my node graph and nearly every node has a route that goes through it :). I feel like my network is now complete...
No noticeable change in delay of automations tho?
I don't think they're all using it, but the routes show up
but who knows? Everything I do with Zigbee is much faster than ZWave
lol this thing hates me today.... now my Conbee just vanished from HA
My zwave mesh isnβt slow itβs just prone to fall over if you donβt actively avoid chatty devices
Which imo is kinda wild
I'm sure some of it is the devices that I'm using, but I'm surprised at just how much more "instant" it is. I started with Insteon, which is about as instant as it can be, and thought that nothing else beyond expensive Lutron could match it. Zigbee is pretty darn close
no popcorning that I can discern, especially when you create Zigbee groups
I came into ZWave when ZWave Plus was just becoming available and Zigbee when 3.0 devices were available, so I think both have taken time to evolve to a good, interoperable state
One thing is for sure - including/excluding ZigBee devices is much less fussy and more reliable than ZWave for me, which was a constant source of frustration
Popcorning?
multiple lights in a room/space turning on and off at different times when you want them to be synced up
delays/latency, essentially
The biggest thing for me is you can go into zigbee knowing almost nothing. Zwave requires you to actively seek out information for basic things
Iβve never had zwave bulbs only switches and used zigbee groups for bulbs so not familiar with those woes
it beats multicast ZWave in performance, in IMHO
It's a very common and noticeable issue with any single-cast protocol
Well yea I had that issue using lightgroups instead of zigbee groups
And overloading the hue bridge before ditching it
here's a fun one. joined a hue bulb to the network, stuck on 'interviewing', but logs show it 'joined' the network, but is not initialized. i can join it back to hue HUB, works fine there, but anytime i reset and rejoin zha, this happens:
https://pastebin.com/GcuSCw44
Do you have a hue light switch ?
If so use it to reset the light completely then try rejoining it to zha
nope no switches, was not bound to anything else. im resetting the light by joining it to the hue hub, then 'delete' there. there is no other option
https://github.com/Koenkk/Z-Stack-firmware/blob/6.10.01.01/coordinator/Z-Stack_3.x.0/CHANGELOG.md
"Improve performance/reliability for larger network (100+ devices)"
Do I care upgrade?
Go for it, you can always downgrade
Get a dimmer, reset.
Is the network backup in ZHA sufficient now adays?
You won't notice a thing when re-flashing (it auto restores the last valid backup when you plug in a coordinator without a formed network)
Huh. That must be new. Thanks! π "New-ish"
Oh god, don't even get me started on that. I used to have Zwave stuff and it was almost always a bitch and a half to get things paired.
Higher bandwidth of zigbee compared to zwave definitely helps (250 Kbps vs 100 Kbps)
I've been using it for a couple of weeks, has been working great
I so have zero to little knowledge about debugging zigbee issues. It happens that in the evening my IKEA zigbee blinds become unresponsive and it seems that these not executed commands are processed at once after some time (some hours).
LQi is > 200 and I am using zigbee2mqtt. Help and explanation on debugging such strange behavior is appreciated! Thanks
So only the blinds and every evening between 5pm-11pm?
lol not a microwave π
Were you having problems with any of the old builds?
I still get delays and I have ~164 devices on my network.
The zigbee group approach didn't work but I was able to get it for both using single device binds. The trick was to unbind it from the zigbee stick before binding it to the bulb. It is working perfectly now though, so I'm happy.
That would result is extremely crispy popcorn!!
I'm thinking a baby monitor perhaps...
Any idea what makes this happen: https://imgur.com/a/FXllzdm
I have a ZHA group with 4 switched outlets in it that turns on and off just fine, but if I add an Inovelli wall switch to the group I start getting this behavior where I turn it off and then it magically decides it's turned on. All the outlets and lights are still off, if I go through the individual devices HA knows they're all off, but for some reason it still thinks the group is turned on.
Itβs more night than evening β¦ happened at 2.30 yesterday
But yes only one single blind
Nah the lqi was around 155
And I just added another router and lqi increased to 208
2.30 am?? Forgive me but what commands would you be issuing to your blind at 2 in the morning?
I had occasional troubles with 2 of my Z-Wave blinds (almost weekly one or the other) and a couple times with 2 others over the last 6 months and the symptom was they were not open when I got up. But they were hard-offline requiring a ping to get them back online. The only thing I could possibly think of after countless exclude/include/factory reset/better zwave antenna change was I was doing a parallel poll of 6 blinds & 2 door locks for battery status at 12:30 am. I recently changed that automation to serially with 10 sec delays between. That was last week and so far, so good...
I am not issuing commands at 2.30am but the blind woke me up at this time
The lqi increased to 255 ... let's see if this stays stable
Do you have tech-savvy racoons in your neighborhood??? They can be very mischievous!
I do live in a 2mil city
Hi! I'm facing a weird issue with my zigbee network, hope I can find some help here.
I have an Aqara D1 3 gang smart wall switch (with neutral wire) (Z2M page:https://www.zigbee2mqtt.io/devices/QBKG26LM.html#xiaomi-qbkg26lm) that has been disconected from the network (when is not connected the indicator led blinks in red) and I have removed it from the network to pair it again, and now it does not connect.
I'm sure that the network allows to join it (double checked, both the webUI and in the yaml file) and I have rebooted a couple of times the zigbee2mqtt service, to see it makes any difference.
I have seen the logs and I don't see anything that could be a login attemp. What else I can try?
π€· possible
So the blind opened by itself... I can't see how that would be due to an offline state queuing commands without you knowing that it should have received commands and did not.
so what do you recommend?
I mean there is a student dorm nextdoor
Your logbook would show the commands sent from HA to the zigbee coordinator. If there's no entries since the last command you knew executed correctly and the mysterious 2am opening then it's not your HA/zigbee network from what I can deduce. I wonder if faulty smart blind hardware could somehow be the cause??
didn't find a blind related entry in the logbook
Are the blinds presented as covers in HA?
yes
so cover.mysterious_racoon_controlled_blind???
Is your recorder/logbook configured to include covers?
What's the retention period for your logbook?
default
yes
default settings
I do see some cover logs
but nothing which occured during the night
Recorder default is 10 days:
purge_keep_days integer (optional, default: 10)
That would tend to rule out HA:Zigbee as the initiator...
Is the blind AC or battery powered?
that would rule out an AC interruption causing it to open, if that's even a default behavior on power restore...
it's not performing one single action
it's like: close - open - close - open ... in a 1s interval interrupting the previous command
Oh so it's not even responding after it mysteriously opens?
got to be a hardware fault!
ok thanks
I suppose there might be RF interference causing that behaviour but I've not witnessed it before...
Is there a power button to shut it off, wait a bit and turn it back on?
If there is and it resumes on-off-on-off-on-off then it could be RF interference...
no, I can only remove the batteries
from what I have no idea...
easily?
semi
but it's ok my boyfriend removed them during the night
he was kinda angry at me
Next time, I would take it out, wait a bit and re-insert. If it resumes cycling then it's likely somehow RF related. If not, most likely a hardware fault that a power cycle cures, for a while.
But strange it's always in the wee hours and not any old time of the day...
thanks! will try
Only too glad to be sounding board!
Any help with this please?
i've philips lighstrip and i've connected them though the sonoff coordinator . i can manually change colours but none of the action available works on changing colours. i don't even get any of the registry event when i change colours but i do when i turn on / off the lights. what am i missing? i'm using zha
Hey ya'll. I'm looking to setup Zigbee with Home Assistant on my Truenas Scale NAS. I just bought a Sonoff Zigbee 3.0 USB dongle plus.
I had assumed it would be as simple as plugging it in, passing through the dongle to the home assistant chart and using it. But I guess i've got stuff to do with zigbee2mqtt and I'm seeing stuff about flashing devices on reddit.
Is there a relatively up to date guide I can look at that describes getting all this setup in home assistant?
Also not clear if i should be using ZHA or Zigbee2mqtt or something else. I'm happy to read up, but a lot of information is a few years old and i imagine things move pretty quickly.
Looking at it, maybe ZHA is what I should go with for now
if u use zha u don't have to flash any software
i got mine 2 hrs ago and it worked out of the box
Nice. Okay. I'll probably just go that route for now. Keep it simple
Flashing the coordinator is a Good Thing β’οΈ
It's not hard, and you can flash it on just about anything that can run Python - even Windows
i don't doubt that but i will have to go through an unprecedented path for me
https://github.com/Koenkk/Z-Stack-firmware/tree/6.10.01.01/coordinator/Z-Stack_3.x.0/bin is the current dev firmware that's looking very promising, but even if you just flash https://github.com/Koenkk/Z-Stack-firmware/tree/master/coordinator/Z-Stack_3.x.0/bin at least you know how to
New firmware fixes bugs, improves/adds device compatibility, and improves performance
bugs like the one thanks to i can't change led light colour automatically?
No, more like brand X falls off the mesh or the whole mesh crashes
Controlling a light is handled in your case by ZHA
Are you trying with the light card in the UI, with the light service calls, or with device actions?
The latter being service calls, or device actions?
device actions
If you're editing the YAML of those actions don't
Device actions are limited, use service calls for anything the device action doesn't support
"Start-up current level" is not what i'm looking right?
cause that's what's not working rn π€£
What?
What do you mean by Start-up current level?
If you're trying to pick a colour then use one of the many colour options in the service, which you can select in the UI
i'm trying to setup a basic automation. at 2 pm set the colour to blue
i created the time trigger now i need the action
i chose my device ( the lightstrip )
- service: light.turn_on
target:
entity_id: light.whale
data:
color_name: 'blue'
and there's nothing there about changing colour
Use the service call
If you keep picking the device action you'll not get many options
u're a god sent angel dude
I ended up flashing the stick and using mosquitto / zigbee2mqtt etc
Works well π
anyone else here has his / her usb zigbee sitkc that suddenly disconnects from z2m ?
Zigbee2MQTT:error 2023-01-10 18:22:07: Exiting...
Zigbee2MQTT:error 2023-01-10 18:22:07: Error: Error while opening serialport 'Error: Error: No such file or directory, cannot open /dev/serial/by-id/usb-Silicon_Labs_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001-if00-port0'
at SerialPort.<anonymous> (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/znp/znp.ts:146:28)
at SerialPort._error (/app/node_modules/@serialport/stream/dist/index.js:76:22)
at /app/node_modules/@serialport/stream/dist/index.js:112:18
this is happening randomly....
I have to reboot the VM in order to get it back on track
and yes, I did use /dev/serial/by-id/
Sounds like a problem with your VM
if I connect the shell, I cannot go further than /dev
is something else trying to open that device?
there is no more /serial in there
oh
well, I just did pair a new device....
and ran an automation (start the bathroom lights...)
and that's it
I'll restart the VM one more time, but it's weird
I'd rather see something stable as hell as Z2M is used to pilot my lights. π¦
what firmware version do you have on that dongle?
the recommended one, I have to wait for it to reboot to give you the exact version though
but I'd followed the guide and grabbed the recommended zstack version 2022something
recommended isn't a version number
"I have to wait for it to reboot to give you the exact version though"
π
damn a reboot is not enough, I guess I have to restart my whole unraid server, running the VM
might be due to the extension cable....not sure. This was not happening previously....
if you look at the VM host kernel messages it should give you an idea of what's going on
USB disconnect is occurring, this isn't a Zigbee issue.
yup
stopping the vm, and restarting it, and it's back to normal
one more thing to investigate
huray
π
may I suggest setting up udev rules to hot plug the USB device to your VM?
I have been having so many issues with doing USB passthrough to VM I just ended up ordering a standalone box for HAOS
I did the same.
Well, I got rid of the vms and ran the container on the bare metal host.
Went with the ODROID N2+ seemed to be highly rated
I just passed through a whole PCIe USB 3.0 controller (=
I'm running this VM on an Unraid host, a server running a shitton of other things actually. π I'll check if I can get why usb passthrough is getting nuts π
Just found that several add-on's now have a signed sign. Will all supported add-ons eventually have this too?
You wanted to ask that in #add-ons-archived
So I'm having a problem with a couple smart bulbs by innr that sometimes just get "stuck" in a state and don't respond to any more inputs. They do show as online and the switch in the interface flicks back to the state its in when trying to change it. FYI have my conbee II on 2m cord and am using ZHA.
My solution so far has been cutting power to them via the shelly and they go back to working normal for a few hours
Evening. Longterm HA user but new to zigbee. I am using ZHA with SkyConnect...
My Hue switches cause zha_events to appear unwanted in the Logbook although I excluded the zha domain in recorder and logbook.
My Hue motion sensors and lights do not have this problem. They are in the domain light and binary_sensor.
My Hue switches however are in the zha domain and are stateless devices. They cause an zha_event. These switches don't have an entity as such only entities for battery, update and binary_input.
Since it has no entity I am not able to exclude it. Am I right about this? Has anyone the same experience?
In https://www.home-assistant.io/integrations/logbook/ is written how to exclude Events. But ZHA does not respect this for my Hue switches. It does respect this for all other ZHA events from coordinator, Ikea devices and Hue motion sensors and lights.
Does anyone know if there are issues with the Aqara curtain driver E1 when updating firmware? It offers an update it downloads to 100% and after the update the number remains the same and it offers an update again... (I'm using zigbee2mqtt)
Hi @mighty river - I have raised an issue regarding this problem with the logbook and ZHA Events randomly appearing with no adherence to the fact that I have explicitly excluded zha_event from appearing in the logbook (well the recorder actually). It seems I am not alone in having this experience based on the responses in the GIT issue and the various mentions in the forum
https://github.com/home-assistant/core/issues/84590
What I expect is happening is that some of the logging events are being made without explicitly setting a 'domain' or 'entity_id' and the events are ending up in the 'logbook' domain as mentioned in the warning section of this page - https://www.home-assistant.io/integrations/logbook/
i have big trouble with my new zigbee stick from sonoff i think i have flashed the device wrong - is someone here who can help me please.
This device: https://www.amazon.de/dp/B09TNV1CZR?psc=1&ref=ppx_yo2ov_dt_b_product_details
Want to flash it for Zigbee2mqtt
How have you tried to flash it, and what firmware did you try to flash it with?
i used uniflasher from TI
but i dont know which device i selected
CC1352P2_CC2652P_launchpad_coordinator_20220219.hex
@sour shadow
Then you flashed the right firmware
Hey, I want to switch to a container version of HA, would setting up ZHA & just passing the zigbee stick to HA be enough or would I have to repair everything?
Then you flashed the right firmware
Thx. Looked through the ZHA code for βevent firedβ but did not find anything. Wonder who logs it. Wil continue on git.
It'll be enough if you copy over your backups
In z2m configuration.yaml I've set covers to have position_open at 85 so they don't go all the way up. If I have a switch with automation to open the blinds but also have a binding directly, will it ignore that setting?
@sour shadow I need your lights again.
I keep getting shitty LQI's
like, so shitty, I can't even control some zb devices
I have several repeaters etc.
wifi is running on channel 1
I was previously using channel 11 for zigbee and movedto 25 in z2m settings
but now I'm getting this error
Zigbee2MQTT:error 2023-01-11 15:19:00: - Channel List: configured=25, adapter=11
where do I change the adapter channel ?
do I have to remove the backup file and that's it ?
Well... you don't really have a choice
Either you do what it says or ... Z2M ain't gonna start
yep
I truly hope LQI will now be improved....I had a 40 LQI on one of my switches, suddenly it dropped to 18, and I was not able to control the device anymore
I'm out of ideas and resources
...
I bough an magic cube t1 pro hoping it would be more reliable than the original one, but I can't get it to pair, any known issues? github says it should be working
I run deconz as add on in ha supervised on synology, conbee II stick, version 2.19.03 / 19-9-2022, firmware 26780700
My problem here kind of got burried :)
So I'm having a problem with a couple smart bulbs by innr that sometimes just get "stuck" in a state and don't respond to any more inputs. They do show as online and the switch in the interface flicks back to the state its in when trying to change it. FYI have my conbee II on 2m cord and am using ZHA.
My solution so far has been cutting power to them via the shelly and they go back to working normal for a few hours
what to think about these values ?
as example -> when I was running Z2M on channel 11, the second line device had a LQI of 120, and it is literally next to the coordinator (like 1.5m)
could the coordinator have a problem ? as you can see I'm running several extenders already
and the coordinator is connected through a usb extension cable of course
Is your Conbee on a USB extension cable?
it's not a conbee
it's a sonoff (silicon labs model) key
and yes, it is plugged using an extension cable
I was replying to another user but the same question applies to you too π
my bathroom on/off switch that had 18LQI value now has.... 0 LQI value ^^^
hahaha ok sorry @austere patio ^^
@glossy lintel Do you have a Python environment handy or the ability to enter the Home Assistant Docker container?
it's running as a VM
it's a HAOS instance
why ?
So you can run https://github.com/zigpy/zigpy-cli#performing-an-energy-scan to see if 25 is actually a good choice
ok
I actually did use Unifi's tool (wifiman) in order to check tis
but a zigbee oriented tool is even better
not sure if I can run python in my HAOS VM ?
or maybe can I still access my zigbee stick even if its passed through my VM ? and run it under unraid then ?
I'll check that out
@grim igloo @austere patio @sour shadow I managed to install Home Assistant!!!! Thank you very much for your help β€οΈ I finally returned the Sonoff dongle and bought another one. And everything is fine π I re-did the installation and got no errors.
So it was a bad p dongle possibly nvram issue?
Cool Iβll keep that in my back pocket if I see that error again
forgot the error tho
I have a question, maybe you can clarify it for me.
Until now I had some Wi-Fi devices at home, many of them controlled from smartlife.
Now I just started the zigbee network, and I have already configured the devices with zigbee2mqtt.
My question is: Is it worth adding these zigbee devices to smartlife as well? Or do I just control them directly with Home Assistant?
isn't that smartlife app garbage?
I think Home Assistant it's better, of course. But I don't know if make sense to have the devices in the two places
What devices?
If theyβre able to be integrated to home assistant then it would be silly not to
But prob best to jump to like #general-archived
I have integrated them into HA through mosquitto broker
I guess it's absurd to integrate them through smartlife too
Needing to use some proprietary app or bridge or cloud is crazy if you can instead bring them into hass directly
Wait smart life is fucking tuya isnβt it
runs away
yes yes, smartlife = Tuya
We donβt do that here dot jpg
hahahaha, great
Anyways jump to another channel and we can suggest how you can cut the cancer out best
I'll keep the integration only through mosquitto broker
I'm just getting started on all this, sorry. I will make a note in my mind not to speak of Tuya again π . Until now it was what I used for some Wi-Fi devices... But I take note of you, who are pro π
Tuya is just shit, avoid at all costs, especially tuya zigbee devices cuz weβre trying to keep your mesh from wanting to commit sudoku
Anyone can go to tuya and say I have money make me this, then they half ass it, then customers get to deal with the fallout
But it is not good to use the devices either? even if you don't use the app? For example, I have configured an zigbee plug a while ago (brand Aubees). I have configured it through zigbee2mqtt, without using Tuya
Correct, often people will come in here with issues with their zigbee mesh and turns out itβs due to a tuya device skullfucking their mesh
π«£
Itβs not 100% every device across the board, but itβs common enough that most people steer clear
Good to know it
I want to install zigbee switches in my home. What brand do you recommend? Sonoff zbmini-l is ok?
Also no lmao
so... what is the best option?
@austere patio what do you think about this ?
thing is, it keeps refreshing the scan and displays different values for each channel
so it's hard to say which one is better then the other
Looks like you have a WiFi network on channel 1
That's going to depend on what country you're in, your budget, features you want (e.g. dimming), whether you have neutral wires in the switch boxes, etc
I'd switch to channel 20
Run the change-channel -c 20 command and update your Z2M config and backup files to reflect this
Should save you a lot of time re-joining devices
I'm in Spain, I have neutral wires in all the boxes and the budget is not a problem if it's worth it
thing is, why would you choose 20 as I can see it has highger values than other channels reported by zigpy ?
the one that reports the most empty (0%) values is 22
as far as I can see
I wrote down all of the reasons for choosing channels 15, 20, and 25 in the list above the output in the tool
If you have absolutely no wifi nearby that you do not control, you can try to switch to a non-standard Zigbee channel
Alright, I don't know anything about European products but that should be enough for somebody to give you a recommendation
Otherwise, I'd stick to one of 15, 20, or 25, as they should fall between WiFi 1, 6, and 11
ok 20 it is then, for the sake of testing
strangely I got better results using channel 11 than after switching to 25 !
and 11 was supposed to interfere with my wifi network somehow
Great, thanks. Tomorrow I was going to buy the sonoff zbmini-l π
Other way around. That big mountain of noise centered around Zigbee channel 13 is your WiFi network on channel 1 .
@austere patio what's the full command to enter for change-channel -c 20 ?
Same one you ran for energy-scan
You can ignore the warnings and errors. Z2M enforces its network settings so make sure to edit both its config file and the backup (I think it does EZSP backups?)
ok because I got a LOT of errors π
If it's about uninitialized devices, that's just zigpy quickly trying to identify devices talking to your coordinator
You can verify the network settings by running the info command
now this a great tool π
buuuut
is it normal I'm still reading this ?
Extended PAN ID: 00:12:4b:00:26:b6:9b:6c
Channel: 20
Channel mask: [25]
NWK update ID: 2
Device IEEE: 00:12:4b:00:26:b6:9b:6c
Device NWK: 0x0000
Network key: 01:03:05:07:09:0b:0d:0f:00:02:04:06:08:0a:0c:0d
Network key sequence: 0
Network key counter: 221441`````
channel mask 25 ?
i've ran
Interesting, maybe Z2M sets the channel mask == [channel]
zigpy radio znp /dev/cu.usbserial-0001 change-channel -c 20
before
ah I will repair my devices....whatever.....
It should still work
The channel mask isn't used in Z-Stack
Let me know if it works and if any devices don't migrate. You may have to wait like 10-20 minutes for some to start scanning and to migrate on their own, if they didn't receive the broadcast
yeah got to restart my VM now, usb passthrough....
I had to use my mbp to use your tool π
is best practice to upgrade a Z-Stack stick still to use cc2538-bsl on another machine to upgrade the firmware?
udev, dude.
Error: network commissioning timed out - most likely network with the same panId or extendedPanId already exists nearby ?
I did change to chan 20 in z2m advanced settings, rremoved coordinator backup blabla, restarted it
any clue @austere patio ?
Hmm. Try putting the coordinator under a metal pot or unscrewing the antenna
I think that only happens when Z2M tries to from a new network, check debug logs to see what it's trying to do
not sure debug logs are enabled
damn, I already changed the channel to 25 today with no issue
what the...
I think the problem is that "changing" it to 25 from within Z2M's config is actually just forming a new network on channel 25
It will warn you first though
While you did a channel migration, which asks devices to move to channel 20. If Z2M decides it's time to form a new network on 20 with identical settings, it'll cause issues due to other routers being nearby with the same settings
ok....
I remove the antenna then
I have no metal pot...
ok I've removed the antenna
found a metal pot
restart z2m
Same error?