#zigbee-archived

1 messages Β· Page 25 of 1

sour shadow
#

I'm pretty sure that your problem isn't what you said it is, and isn't what you think it is

#

||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||

spark star
#

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?

spark star
lilac wharf
#

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

spark star
#

Thank you @lilac wharf

abstract rapids
#

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

peak moth
#

I'm having trouble trying to bind a lutron aurora to hue bulbs using ZHA, it's just stuck spinning. Anyone have any ideas?

molten linden
#

@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

peak moth
molten linden
#

If you want to control more than one bulb, put them in a zigbee group, and the. Bind the aurora to the group

peak moth
#

To be clear the dimming was working, but now it isn't

molten linden
#

The on/off and level control

peak moth
#

I got an The device reconfiguration failed. Additional information may be available in the logs. when trying to reconfigure.

molten linden
#

I can’t remember if the aurora can bind to more than one device. I reset it and try the group approach

wide crater
#

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:
crisp depot
#

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?

austere patio
wide crater
peak moth
molten linden
#

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

peak moth
molten linden
#

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. πŸ€·πŸΌβ€β™‚οΈ

peak moth
#

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!

golden sun
#

@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

balmy fossil
#

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

solid inlet
#

Woaa... Just found the HUE effects candle & fireplace Maybe old now, but so cool. Wonder if it's hard on the bulb?

placid heron
solid inlet
balmy fossil
#

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

hollow chasm
#

The remotes are much slower it seems. My up/down blinds remotes took over 2 hours to update

placid heron
#

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:

Should that work normally or am I missing something?

sour shadow
#

Pick one of the three and explain what's not working

#

Each of those lists a bunch of actions they expose

placid heron
#

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.

sour shadow
#

There should be an _action entity

placid heron
#

That's exactly that what I would expect, I'll re-check in HA.

sour shadow
#

Check the device page

#

Maybe it's not enabled

placid heron
#

Is it possible that I just have to wait for a few minutes until all actions/entities appear via Zigbee2MQTT?

sour shadow
#

It should appear at the same time as everything else

#

Here's something similar on my setup

placid heron
#

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
lilac wharf
#

Wait...are you looking in the Device trigger section of the automation UI?

placid heron
lilac wharf
#

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

placid heron
#

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.

sour shadow
#

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 πŸ˜›

hollow chasm
#

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

placid heron
#

That would be okay for me, but I don't have this action :/

sour shadow
#

Stop looking at device triggers

#

(that's applies generally across HA)

#

Use state triggers on the entity

placid heron
#

I already checked the available "States" in HA for and there I have only the following:
-1
Up-to-date
Unavailable
Unknown

sour shadow
#

Don't trust the UI

placid heron
#

haha πŸ˜„

sour shadow
placid heron
#

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".

hollow chasm
#

What entity are you using?

placid heron
#

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 ❀️

placid heron
#

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

hollow chasm
#

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

lilac wharf
#

in the case of zigbee2mqtt, the states are known

placid heron
#

I can just tell you what I experienced πŸ˜„

lilac wharf
#

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

sour shadow
lilac wharf
#

if you ever replace that device with something similar, it's not as easy to change it in the config

hollow chasm
#

The states are known by Z2M, but that does not appear to be exposed to HA, hence them not showing up in the UI

sour shadow
placid heron
lilac wharf
placid heron
faint zephyr
#

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 ?

molten linden
golden sun
austere patio
faint zephyr
austere patio
#

What happens when you just restart Z2M?

faint zephyr
#

it sticks to the error

austere patio
#

So you have to reset the coordinator

#

What do the ESP32 logs show (the webpage where you flashed firmware)?

faint zephyr
#

only if i unplug the coordinator and plug it back in it works for X amount of time then it's the same

faint zephyr
austere patio
#

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?

faint zephyr
#

ah yes one sec please

austere patio
#

I think there is also a reset button on the webpage, see what happens if you push that

faint zephyr
#

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

jagged estuary
#

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?

faint zephyr
sour shadow
#

The thermostat is in the same room as the coordinator, or one immediately adjacent?

jagged estuary
faint zephyr
#

i read on github Koenkk uninstalling the zha intigration might resolve the issue but i don't have the zha integration never used it

sour shadow
#

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)

jagged estuary
#

not exactly next to it, like a few meters apart

sour shadow
#

A few ... one, two, twenty?

jagged estuary
rapid dawnBOT
#

@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).

jagged estuary
#

oh sorry.

sour shadow
#

Assuming no walls, or at most one plasterboard/drywall wall, that should be fine

jagged estuary
#

πŸ‘

sour shadow
#

You do have to put it into pairing mode though, or it doesn't know it's supposed to be trying to join

jagged estuary
#

yup, got that

sour shadow
#

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

jagged estuary
#

Yeah I can't seem to figure out how to enter pairing mode in the thermostat.

hollow chasm
#

Look up the device on the Z2M website, they have pairing instructions for (almost?) every device

sour shadow
faint zephyr
#

press it for 10 seconds

hollow chasm
jagged estuary
#

What do I do now that it showed up and pressed the configure button?

sour shadow
#

Now you have a new entity or few in HA that you can add to dashboards or automation with

jagged estuary
#

Nice!

#

Is there a way to display the current temperature?

faint zephyr
#

it should report the temperature πŸ™‚ give it some time and look again sometimes attributes don't show up directly

jagged estuary
hollow chasm
#

You can see all the states and attributes in dev tools devtools

jagged estuary
#

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

hollow chasm
#

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

jagged estuary
#

Got it!

#

Looked at the devtools and apparently it isn't returning any current temperature information sadly

hollow chasm
#

It's possible it gets provided as a separate sensor

jagged estuary
#

Hm

#

Where would i find that seperate sensor?

hollow chasm
#

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

jagged estuary
#

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?

hollow chasm
#

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

jagged estuary
#

nope, didn't find anything

broken spade
#

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.

jagged estuary
#

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)

jagged estuary
#

a restart on both parties fixed it

jagged estuary
#

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?

mellow geode
#

The door sensor?

jagged estuary
#

The TKV

mellow geode
#

ZHA or Z2M?

jagged estuary
#

or what it's called, the thing you put on your radiator

#

z2m

golden sun
#

you sure it would belong on core?

pseudo torrent
#

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 πŸ™‚

tribal fable
#

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.

mellow geode
#

Z-Wave or Zigbee?

tribal fable
#

oh whoops. i meant to say zigbee actually

mighty river
#

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 .

mellow geode
tribal fable
#

zha

mellow geode
#

Do the smart plugs respond when you turn them on/off in HA?

tribal fable
#

nope

mellow geode
#

Does anything respond on your Zigbee network?

tribal fable
#

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

mellow geode
#

Did you check if there's anything in the logs?

tribal fable
#

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

mellow geode
#

Are you sure that you checked the logs?

tribal fable
#

.....

mellow geode
#

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?

tribal fable
#

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>')]

mellow geode
#

Well, that's good to know

mellow geode
#

If there is, ZHA likely can't connect to the stick, but if there isn't, that's good at least

tribal fable
#

oh. no not like that. it appears normal

mellow geode
#

And what Zigbee stick are you using?

tribal fable
#

the Nortek one with Zigbee and ZWave

mellow geode
#

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?)

tribal fable
#

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

mellow geode
#

That can happen if the coordinator is just then initialized (e. g. when replugged)

tribal fable
#

would that mean it lost info on all the other devices?

mellow geode
#

No, it's fine

#

But everything was still working at that point?

tribal fable
#

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"

mellow geode
#

On what system is HA running? (Raspberry Pi?)

tribal fable
#

RasPi

mellow geode
#

Is it running of an SD card or an SSD?

tribal fable
#

SSD

mellow geode
#

Is that a USB 3.0 SSD? Did you just add that recently?

tribal fable
mellow geode
#

Is that plugged in via USB?

tribal fable
#

yeah

mellow geode
#

Is the Zigbee/Z-Wave dongle plugged in directly to the Pi or is it on a USB extension cable?

tribal fable
#

directly

mellow geode
#

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

tribal fable
#

i've never had a problem with Zigbee though and not using extension. and i tried that and it changed nothing.

mellow geode
#

How long was the extension cable?

tribal fable
#

like a foot

mellow geode
#

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)

tribal fable
#

just curious since ive been on an SSD for several months

mellow geode
#

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

tribal fable
#

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.

mellow geode
#

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

grim igloo
#

are you in a house or apt?

#

maybe your neighbor got some new mesh system that is shitting over your entire 2.4ghz spectrum

tribal fable
#

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.

grim igloo
#

iirc old plasma screens are known to interfere with 2.4ghz but maybe an old wives tale

tribal fable
#

well, the thing is, i got rid of the old non-Smart TV (plasma) which everything was fine

grim igloo
#

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

mellow geode
#

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

grim igloo
#

yeah easy to test

tribal fable
#

there's actually only one USB 2.0 on the new TV

mellow geode
#

Ah, the Fire TV remote is Bluetooth for example, so the Fire TV will have its Bluetooth radio on

grim igloo
#

did you do an environmental scan before choosing your zigbee channel btw?

tribal fable
#

no. at the time didn't know zigbee was 2.4.

grim igloo
#

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

tribal fable
#

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

mellow geode
tribal fable
#

@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?

mellow geode
#

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)

tribal fable
#

yeah. 15

#

looking at at all of my local area 2.4 in WiFiMan and everything is 11 or below for channel

mellow geode
tribal fable
#

oh

mellow geode
#

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)

tribal fable
#

26 would look more appropriate then

mellow geode
#

Yeah, but some devices are not compatible with channel 26. 15, 20, and 25 are generally recommended

tribal fable
#

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

mellow geode
#

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

tribal fable
#

yeah. reading through that right now haha

grim igloo
tribal fable
#

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

mellow geode
#

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)

tribal fable
#

what's Download Backup for? is that used with Migrate Radio?

mellow geode
#

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)

real creek
#

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?

mellow geode
#

ZHA or Z2M?

real creek
#

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

carmine hamlet
#

what the heck is this?

mqtt2zha UI

lilac wharf
#

zigbee2mqtt I assume

hollow chasm
#

zigbee2mqtt2zha

glossy lintel
#

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 ?

sour shadow
#

There's no default channel of a Zigbee stick or hub

glossy lintel
#

how is this working then ?

sour shadow
#

There's a default channel for Zigbee2MQTT, which is covered in their docs

#

Also in their docs is how to change the channel

glossy lintel
#

ok, and is there a way for me to check which chans are in use ?

sour shadow
glossy lintel
#

ok I check te pinned messages πŸ™‚

#

hi @sour shadow by the way, good morning πŸ˜‰

sour shadow
glossy lintel
#

hah now that I changed my channel to channel 1 on the wifi router, my zigbee hub disconnected completely

sour shadow
#

If you're using the default channel of 11 then ... that's why

glossy lintel
#

well, I now forced wifi to use channel 1

#

good point is, I have no neighbors

sour shadow
glossy lintel
#

I'll dig this thanks

sour shadow
#

Zigbee 11 != WiFi 11

#

(again, detailed in the pins)

glossy lintel
#

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"

sour shadow
glossy lintel
#

ok so I did not understand it correctly

#

I should try to use a zb channel starting around 19 to be safe, right ?

sour shadow
#

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

glossy lintel
#

ok, damn, sooooo many issues

#

I think I ran into each possible issue since I started using zigbee

#

hahaha

#

thanks for your help btw

last grail
#

@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.

glossy lintel
#

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!"

sour shadow
#

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)

glossy lintel
#

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

sour shadow
#

Did you then restart Z2M?

glossy lintel
#

yes I did it twice

sour shadow
#

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

glossy lintel
#

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 ?

sour shadow
#

No

glossy lintel
#

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 :

sour shadow
#

Look in the UI

faint zephyr
#

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

glossy lintel
#

@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 ?

molten linden
faint zephyr
#

OTA I'll try the usb one now

faint zephyr
#

it's a snug fit but got it was wurried i would brake the antenna kabel

faint zephyr
#

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

glossy lintel
#

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))

faint zephyr
molten linden
#

after 15 minutes it disconnected again

sweet ridge
#

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?

young rune
sweet ridge
young rune
mighty river
#

Hello

young rune
#

The second I would disconnect them from the Hue they would pop right into ZHA from the Conbee.

lilac wharf
young rune
#

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

lilac wharf
#

With enough properly-placed zigbee routers it should work (although it's not an ideal situation)

dusk python
#

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

young rune
#

I do! I just need my wife to no turn them off at the switch.... until I can replace the switch lol

dusk python
#

Inovelli Blues

lilac wharf
#

and if -70 was actually your worst value then that would be fine

young rune
#

Sorry most at -70 to - 80

young rune
dusk python
#

Is anything lutron actually zigbee?

lilac wharf
#

tbh -80 isn't that bad for zigbee

#

it's not great but not horrible

young rune
#

Hmm, maybe routing issue then

#

No, the Claro switch uses the Lutron hub

lilac wharf
#

it could certainly be better though, don't get me wrong

dusk python
#

As long as you have bulbs or switching outlets near your controller they should be routing

lilac wharf
#

-70 or higher would be better

#

what materials are your walls/floors made of and what's the layout like?

dusk python
young rune
dusk python
#

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

young rune
#

ooo I did not think about that!

dusk python
#

You have to re-pair everything to do it tho

#

But might be worth it in your case regardless

young rune
#

figured... that may wait until weekend.

#

My other idea was to migrate over to z2m from ZHA

dusk python
#

don't most people go the other way? lol

#

Oh wait I read that backwards

#

Yeah

#

You might as well do both haha

young rune
#

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

dusk python
#

That and just make sure you have bulbs/outlets near your controller to help relay messages

young rune
#

Thanks for the input! Just need to find time to make the switch

dusk python
#

Question: does anybody make a waterproof zigbee remote of any kind?

#

Or am I gonna have to build it myself

uneven raptor
#

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?

dusk python
#

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

uneven raptor
#

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.

dusk python
#

Have you checked the logbook while pushing buttons on it?

#

I presume you're watching zha_events in dev tools and not seeing anything?

dusk python
#

It's some kind of bad bind?

#

Bizarre

#

I wonder if that's why my one knob doesn't work

uneven raptor
#

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! πŸ˜…

muted bison
#

hello. anyone can suggest me a zigbee usb stick i can plug on my raspberry pi 3b+?

burnt wave
#

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)

quiet cedar
grim igloo
surreal nacelle
#

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

burnt wave
grim igloo
#

z2m requires a login to login to the mosquito addon tho

peak moth
#

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.

burnt wave
grim igloo
#

right

sour shadow
grim igloo
#

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

dim moon
surreal nacelle
grim igloo
#

i think based on your paste above you are using the P dongle like me because there is no v2 in the serial

burnt wave
#

yes

grim igloo
#

in your link above you have adapter: ezsp which i'm pretty sure is required for the E dongle not the P

burnt wave
#

great, I'm going to try

grim igloo
#

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

burnt wave
#

I deleted the code adapter: ezsp

#

I dont understand this: "changing the pan id and extended pan id and your network_key" πŸ˜΅β€πŸ’«

peak moth
#

@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)

grim igloo
#

basically z2m ships to everyone with the same numbers and is therefore insecure unless you change the three things i said above

molten linden
#

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

burnt wave
#

@grim igloo my new yaml is ok?

grim igloo
#

That has multiple lines I’m not using idk

dim moon
burnt wave
surreal nacelle
#

i dont think so according to google

austere patio
#

There isn't

dim moon
grim igloo
surreal nacelle
#

applicable

dim moon
surreal nacelle
#

I am using ZHA

austere patio
dim moon
surreal nacelle
dim moon
#

ok

burnt wave
#

@grim igloo maybe I need to uninstall the addon and start again?

austere patio
burnt wave
austere patio
#

It worked in the past?

burnt wave
#

yes

austere patio
#

And then it just stopped with this NVRAM error?

burnt wave
#

I dont know. Maybe I did something wrong

austere patio
#

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.

grim igloo
burnt wave
#

I have no idea

grim igloo
#

Guess we’d see that in logs

austere patio
#

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

grim igloo
#

Prob not a bad idea to update fw on it anyways

austere patio
#

But maybe Z2M changed up its startup code lately, I'm just guessingπŸ€·β€β™‚οΈ

burnt wave
#

And how to reflash the stick?

grim igloo
#

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

burnt wave
#

great, thanks so much! @austere patio and @grim igloo Im going to do that you explained to me and I'll tell you

muted bison
grim igloo
#

we're all using home assistant here lol

muted bison
muted bison
grim igloo
#

yea it's supported there too

young rune
#

I am having a similar issue with the Z2M and Herdsman not starting

grim igloo
#

using haos and z2m addon?

#

do the same thing as guy above, post yaml minus mqtt login info to dpaste.org and share here

young rune
#

Correct, I am attempting to migrate from ZHA to Z2M. I am assuming my Conbee may still be locked to ZHA

grim igloo
#

ah cant help there i'll let someone else jump in

young rune
#

Is there a place to pull the yaml from dev tools?

grim igloo
#

post your error to dpaste.org and show here. it might be as simple as zha using the stick so z2m cant use it

young rune
#

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.

young rune
#

oh boy now my conbee just vanished off of haos lmao

fleet raptor
#

Any recommendations for smoke detectors? It seems amazon has no aqara ones.

young rune
#

I would definitely still keep a few "dumb" smoke/co detectors up is my only recommendation on that

fleet raptor
grim igloo
#

are they interconnect and wired + battery?

fleet raptor
#

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.

grim igloo
#

and do you have zwave mesh or only zigbee?

fleet raptor
#

zigbee only

#

no wiring for them

grim igloo
#

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

wraith tapir
#

Hi and hello. I have the new SkyConnect dongle. But nothing of my Zigbee stuff comes up when i configure. Am I missing something?

fleet raptor
#

I have the dumb ones set up already. I just need smart ones.

#

I read that as "Skynet" dongle.....

grim igloo
#

if that helps expand your options

fleet raptor
#

Maybe I should find them and then ask if this is a good brand here or one to avoid.

heady orchid
#

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.

fleet raptor
#

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.

heady orchid
#

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

grim igloo
heady orchid
grim igloo
#

i do not know

#

i'm from murica we just assume everyone on the internet lives here

young rune
grim igloo
#

line 11 is pretty obvious

#

it's either not seeing the stick or unable to use it

young rune
#

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

grim igloo
#

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

young rune
#

I will keep digging!

hardy crane
#

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 ?

young rune
grim igloo
hardy crane
#

I would leave the mqtt section completely empty

young rune
#

You mean the MQTT section in the config?

faint zephyr
#

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

grim igloo
#

he's using zigbee2mqtt he needs to provide a login to his mosquitto container

young rune
#

That got it working!

faint zephyr
#

Depends on his setup I used to run it without login also then i was informed that not safe

hardy crane
#

As I read he's using HAOS so Z2M and Mosquito addons. Supervisor handles credentials on the backround automatically

grim igloo
#

i dont believe that is true

mellow geode
hollow chasm
#

You don't fill in any MQTT credentials on HAOS

hardy crane
#

You can however manually set user/pass in the addon's config but it's not necessary. Defaults are fine

young rune
#

Finally into the UI for it!

hardy crane
#

especially setting the topic and address is redundant since those were the default values

young rune
#

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

hardy crane
#

Is a migration possible? I don't actually know πŸ˜„

#

assuming by migration you mean move to Z2M without repairing

young rune
#

lol yeah

#

well

#

actually I assumed I would have to add everything again

faint zephyr
#

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

young rune
#

lol two seconds too late! just blew it all up after nothing was showing to join Z2M

grim igloo
faint zephyr
#

put it on GENERATE πŸ™‚

grim igloo
#

i created an issue on github about how it's crazy it ships insecure like this and it got closed lol

faint zephyr
#

well it's not unsafe unsafe

#

but not good practice

fleet raptor
#

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

young rune
faint zephyr
#

i use the Smoke detector ZSDR-850

grim igloo
faint zephyr
#

works great on zigbee don't know if you can get them in the us do
edit : i found them on amazon us πŸ™‚

grim igloo
#

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.

faint zephyr
#

Or use a poe device that you can put on it's own place

#

away from evrything

young rune
#

I bumped it up to 20

grim igloo
#

he's already got a coordinator

young rune
#

luckily I ran cat as soon as I bought the house so most stuff is hardwired

faint zephyr
#

just saying the options πŸ™‚

young rune
#

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

grim igloo
#

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

untold rain
#

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.

grim igloo
#

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

carmine hamlet
#

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...

grim igloo
carmine hamlet
#

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

young rune
#

lol this thing hates me today.... now my Conbee just vanished from HA

grim igloo
#

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

carmine hamlet
#

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

carmine hamlet
#

multiple lights in a room/space turning on and off at different times when you want them to be synced up

#

delays/latency, essentially

grim igloo
#

I’ve never had zwave bulbs only switches and used zigbee groups for bulbs so not familiar with those woes

carmine hamlet
#

it beats multicast ZWave in performance, in IMHO

carmine hamlet
grim igloo
#

Well yea I had that issue using lightgroups instead of zigbee groups

#

And overloading the hue bridge before ditching it

fast sentinel
#

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

faint zephyr
#

Do you have a hue light switch ?

#

If so use it to reset the light completely then try rejoining it to zha

fast sentinel
#

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

fair mountain
austere patio
#

Go for it, you can always downgrade

fair mountain
austere patio
#

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)

fair mountain
#

Huh. That must be new. Thanks! πŸ™‚ "New-ish"

lilac wharf
lilac wharf
unborn orbit
runic coral
#

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

last grail
#

So only the blinds and every evening between 5pm-11pm?

fair mountain
fair mountain
#

I still get delays and I have ~164 devices on my network.

peak moth
last grail
#

I'm thinking a baby monitor perhaps...

violet magnet
#

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.

runic coral
#

But yes only one single blind

#

Nah the lqi was around 155

#

And I just added another router and lqi increased to 208

last grail
#

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...

runic coral
#

The lqi increased to 255 ... let's see if this stays stable

last grail
valid wharf
#

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?

last grail
runic coral
#

I mean there is a student dorm nextdoor

last grail
#

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??

runic coral
last grail
#

Are the blinds presented as covers in HA?

runic coral
#

yes

last grail
#

so cover.mysterious_racoon_controlled_blind???

#

Is your recorder/logbook configured to include covers?

#

What's the retention period for your logbook?

runic coral
runic coral
runic coral
#

but nothing which occured during the night

last grail
#

Recorder default is 10 days:

purge_keep_days integer (optional, default: 10)

last grail
#

Is the blind AC or battery powered?

runic coral
#

battery powered

#
battery
Remaining battery in %
70%
last grail
#

that would rule out an AC interruption causing it to open, if that's even a default behavior on power restore...

runic coral
#

it's not performing one single action

#

it's like: close - open - close - open ... in a 1s interval interrupting the previous command

last grail
#

Oh so it's not even responding after it mysteriously opens?

#

got to be a hardware fault!

runic coral
#

ok thanks

last grail
#

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...

runic coral
last grail
#

from what I have no idea...

last grail
runic coral
#

semi

#

but it's ok my boyfriend removed them during the night

#

he was kinda angry at me

last grail
#

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...

runic coral
#

thanks! will try

last grail
#

Only too glad to be sounding board!

muted bison
#

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

restive sparrow
#

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

muted bison
#

i got mine 2 hrs ago and it worked out of the box

restive sparrow
#

Nice. Okay. I'll probably just go that route for now. Keep it simple

sour shadow
#

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

muted bison
#

i don't doubt that but i will have to go through an unprecedented path for me

sour shadow
#

New firmware fixes bugs, improves/adds device compatibility, and improves performance

muted bison
#

bugs like the one thanks to i can't change led light colour automatically?

sour shadow
#

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?

muted bison
#

the latter

#

the first one is working smoothly

sour shadow
#

The latter being service calls, or device actions?

muted bison
#

device actions

sour shadow
#

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

muted bison
#

"Start-up current level" is not what i'm looking right?

#

cause that's what's not working rn 🀣

sour shadow
#

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

muted bison
#

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 )

sour shadow
#
- service: light.turn_on
  target:
    entity_id: light.whale
  data:
    color_name: 'blue'
muted bison
#

and there's nothing there about changing colour

sour shadow
#

Use the service call

#

If you keep picking the device action you'll not get many options

muted bison
restive sparrow
#

I ended up flashing the stick and using mosquitto / zigbee2mqtt etc

#

Works well πŸ™‚

glossy lintel
#

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/

sour shadow
#

Sounds like a problem with your VM

glossy lintel
#

if I connect the shell, I cannot go further than /dev

carmine hamlet
#

is something else trying to open that device?

glossy lintel
#

there is no more /serial in there

carmine hamlet
#

oh

glossy lintel
#

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. 😦

carmine hamlet
#

what firmware version do you have on that dongle?

glossy lintel
#

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

sour shadow
#

recommended isn't a version number

glossy lintel
#

"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....

fair mountain
#

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.

glossy lintel
#

yup

#

stopping the vm, and restarting it, and it's back to normal

#

one more thing to investigate

#

huray

#

πŸ™‚

fair mountain
#

may I suggest setting up udev rules to hot plug the USB device to your VM?

young rune
# glossy lintel yup

I have been having so many issues with doing USB passthrough to VM I just ended up ordering a standalone box for HAOS

quiet cedar
#

I did the same.

#

Well, I got rid of the vms and ran the container on the bare metal host.

young rune
#

Went with the ODROID N2+ seemed to be highly rated

fair mountain
glossy lintel
solid inlet
#

Just found that several add-on's now have a signed sign. Will all supported add-ons eventually have this too?

dusk crest
#

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

mighty river
#

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.

hot knoll
#

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)

abstract rapids
# mighty river Evening. Longterm HA user but new to zigbee. I am using ZHA with SkyConnect... M...

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/

smoky fjord
sour shadow
#

How have you tried to flash it, and what firmware did you try to flash it with?

smoky fjord
#

i used uniflasher from TI
but i dont know which device i selected
CC1352P2_CC2652P_launchpad_coordinator_20220219.hex

@sour shadow

sour shadow
#

Then you flashed the right firmware

trail gorge
#

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?

smoky fjord
#

Then you flashed the right firmware

mighty river
sour shadow
last ruin
#

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?

glossy lintel
#

@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 ?

sour shadow
#

Did you bother to read the message from Z2M?

#

That and the Z2M FAQ

glossy lintel
#

yes and i'm asking confirmation

#

its ok with the backup file removed

sour shadow
#

Well... you don't really have a choice

#

Either you do what it says or ... Z2M ain't gonna start

glossy lintel
#

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

#

...

cursive bobcat
#

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

glossy lintel
#

hahaha the LQI levels are even lower now I switched to 25

#

seriously....

dusk crest
# dusk crest So I'm having a problem with a couple smart bulbs by innr that sometimes just ge...

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

glossy lintel
#

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

austere patio
glossy lintel
#

it's not a conbee

#

it's a sonoff (silicon labs model) key

#

and yes, it is plugged using an extension cable

austere patio
#

I was replying to another user but the same question applies to you too πŸ˜†

glossy lintel
#

my bathroom on/off switch that had 18LQI value now has.... 0 LQI value ^^^

#

hahaha ok sorry @austere patio ^^

austere patio
#

@glossy lintel Do you have a Python environment handy or the ability to enter the Home Assistant Docker container?

glossy lintel
#

hahah this is ridiculous !

#

0 LQI

glossy lintel
#

it's a HAOS instance

#

why ?

austere patio
glossy lintel
#

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

burnt wave
#

@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.

grim igloo
#

So it was a bad p dongle possibly nvram issue?

burnt wave
#

I think yes

#

because I did the same and everything works

grim igloo
#

Cool I’ll keep that in my back pocket if I see that error again

#

forgot the error tho

burnt wave
#

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?

dusk python
#

isn't that smartlife app garbage?

burnt wave
#

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

grim igloo
#

If they’re able to be integrated to home assistant then it would be silly not to

burnt wave
#

I have integrated them into HA through mosquitto broker

#

I guess it's absurd to integrate them through smartlife too

grim igloo
#

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

burnt wave
#

yes yes, smartlife = Tuya

grim igloo
#

We don’t do that here dot jpg

burnt wave
#

hahahaha, great

grim igloo
#

Anyways jump to another channel and we can suggest how you can cut the cancer out best

burnt wave
#

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 😎

grim igloo
#

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

burnt wave
#

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

grim igloo
burnt wave
#

🫣

grim igloo
#

It’s not 100% every device across the board, but it’s common enough that most people steer clear

burnt wave
#

Good to know it

#

I want to install zigbee switches in my home. What brand do you recommend? Sonoff zbmini-l is ok?

grim igloo
#

Also no lmao

burnt wave
#

so... what is the best option?

glossy lintel
#

@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

austere patio
#

Looks like you have a WiFi network on channel 1

glossy lintel
#

yes I do

#

all wifi devices are running on channel 1, I forced this

hollow chasm
austere patio
glossy lintel
#

idea was to use chan 1 for wifi ad chan 25 for zigbee

#

ok

#

lets try this !

austere patio
#

Should save you a lot of time re-joining devices

glossy lintel
#

ok I'm trying this now

#

thanks man πŸ™‚

burnt wave
glossy lintel
#

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

austere patio
#

I wrote down all of the reasons for choosing channels 15, 20, and 25 in the list above the output in the tool

glossy lintel
#

should I not pick that one ?

#

ok

austere patio
#

If you have absolutely no wifi nearby that you do not control, you can try to switch to a non-standard Zigbee channel

hollow chasm
austere patio
#

Otherwise, I'd stick to one of 15, 20, or 25, as they should fall between WiFi 1, 6, and 11

glossy lintel
#

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

burnt wave
austere patio
glossy lintel
#

@austere patio what's the full command to enter for change-channel -c 20 ?

austere patio
#

Same one you ran for energy-scan

glossy lintel
#

cool thanks

#

wow it outputs a lot of text

#

hmmm

austere patio
#

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?)

glossy lintel
#

ok because I got a LOT of errors πŸ™‚

austere patio
#

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

glossy lintel
#

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

austere patio
#

Interesting, maybe Z2M sets the channel mask == [channel]

glossy lintel
#

zigpy radio znp /dev/cu.usbserial-0001 change-channel -c 20

#

before

#

ah I will repair my devices....whatever.....

austere patio
#

It should still work

glossy lintel
#

ok

#

moving to Z2M now

austere patio
#

The channel mask isn't used in Z-Stack

glossy lintel
#

it's good to speak with someone so knowledgeable about all that

#

thanks

austere patio
#

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

glossy lintel
#

yeah got to restart my VM now, usb passthrough....

#

I had to use my mbp to use your tool πŸ˜‰

fair mountain
#

is best practice to upgrade a Z-Stack stick still to use cc2538-bsl on another machine to upgrade the firmware?

fair mountain
glossy lintel
#

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 ?

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

glossy lintel
#

not sure debug logs are enabled

#

damn, I already changed the channel to 25 today with no issue

#

what the...

austere patio
#

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

lilac wharf
#

It will warn you first though

austere patio
#

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

glossy lintel
#

ok....

#

I remove the antenna then

#

I have no metal pot...

#

ok I've removed the antenna

#

found a metal pot

#

restart z2m

austere patio
#

Same error?