#zigbee-archived

1 messages · Page 188 of 1

scenic shuttle
#

I've FIXED this now - it was simply interference. Connected the CC2531 via a USB extender and all is good in the hood! Actually, I used a USB to cat5 <> cat5 to USB extender as that's what I had lying around - put in a 2m cat5 and all good - but any proper USB extender should do the job I guess.

sour shadow
#

Do plan on upgrading that CC2531 at some point soon

#

The more devices you add, the worse it's going to perform, and you can expect it to simply lock up at random

pulsar apex
#

So a friend of mine gave me a ZZH zigbee usb stick. I am running HA on a raspberry PI 3. Can someone point me in the direction on how to set it up?

sour shadow
#
  1. Connect it to a USB 2.0 extension cable
  2. Pick one of ZHA or Zigbee2MQTT - see the pinned messages
pulsar apex
pulsar apex
#

So I've set it up, and added my aqara door sensor.

#

But it isn't showing up under my devices

#

under Zigbee2mqtt, it is updating the contact sensor from closed to open, so its reading properly

bronze prism
#

also make sure you have ticked/enabled the home assistant integration within zigbee2MQTT, the docs explain it i recall

#

and also make sure you have set up your MQTT broker (most people use mosquitto)

pulsar apex
#

I followed the youtube video I posted

#

Still not showing up under devices

#

I wish I could show screenshots

pulsar apex
radiant fiber
#

I have the same problem 😩

molten linden
unborn orbit
bronze prism
pulsar apex
queen sparrow
#

So I recently purchased a Aqara Wireless Mini Switch (button). I have installed the bspranger device handlers from GitHub. I have the Aqara door and leak sensors and those all work fine, but for some reason this new button only has a Battery Indicator in HomeAssistant... I can load my SmartThings app and see when the button is pressed, but for some reason that information is not available in HA, the only option I have when creating an automation is "when battery level changes". I have tried the Button (old firmware), Button (new firmware) and Wireless Switch device handlers and it is the same for all of them. Has anyone gotten this to work?

hot tendon
#

You automate it via it/s events. Look in devices and the automations, click (+) and all will be revealed

lusty yew
#

https://sonoff.tech/product/diy-smart-switch/zbmini/ This says it runs off of 100-240VAC, it runs fine off of 12VDC too. It also ran at 24VAC. The output was obviously the same as the input.

I have one on my doorbell now, it's running at 12VDC off of a random power supply I had. It's triggering a relay to ring the doorbell. The doorbell button is wired to the switch input on the ZBMINI and toggles the doorbell with the doorbell button as if the ZBMINI wasn't there, and also sends the status to HA. I guess I can also ring the doorbell from HA now too but I don't really see a need for that. I had it wired up directly with with the 24VAC doorbell power at first but the transformer's voltage dropped whenever it was ringing the doorbell and rebooted the ZBMINI.

solid inlet
#

On many sensors I've seen a "tamper" property. Is that usable for anything? I have not gotten any of them to change from "off" to anything else... Just curious

torpid shadow
#

Hi! I've bought two TubesZB POE adapters, and I wanted to use them both in my home. The reason I have two is because I want to have one in the main house and one in the garage. The garage has ethernet, but is out of reach of the zigbee signal from the main house. I noticed that ZHA only allows a single instance, so how do I configure zigbee in both the main house and the garage? Do I have to use two instances of zigbee2mqtt, one for each location? Or can one be flashed as a router and communicate with the coordinater over ethernet?

tall pike
pulsar apex
#

My zigbee door contact sensor sensors show up as unknown when viewed in devices, but if I view it under the Zigbee2mqtt, it displays if its closed/open. Any ideas?

mellow pike
#

nvm , found this " The ZigBee chip being put into our switches can be converted to Matter via a firmware update. We wanted to get a head-start and produce them in ZigBee 3.0 so that they’d work with Hue (as that’s a huge market for us with our smart bulb enabled light switches) and then once Hue, Google, Amazon, Apple, etc move to Matter, so will we."

solid inlet
queen sparrow
bronze prism
queen sparrow
#

Same, just the battery

bronze prism
#

hmm not really sure then.. i assume when you press the button nothing changes on the page..

queen sparrow
#

Not in HA. In my SmartThings app it shows that the button was pressed.

pulsar apex
#

Is anyone able to hop on chat so I can share my screen so we can troubleshoot this issue? I feel like its something so minor but I just don't know what

pulsar apex
#

I'm going out to the workshop. If anyone is willing to hop on chat, just @ me please so I get the notification.

twilit narwhal
# queen sparrow Not in HA. In my SmartThings app it shows that the button was pressed.

When you look at the device you get entities attached to that device, the button press is not an entity, it is an event. If you wanna see something try going in developer console, events, listen to « * » and then press the button. Be aware that you’ll get a lot of stuff as you usually get dozens of events every few seconds but you’ll be able to find it. Once you get the event data you can automate with that.

#

Another solution is to search for a blueprint for your device. They contain the event description.

uneven ruin
pulsar apex
uneven ruin
#

change the name in z2m (make sure you click the update home assistant ID) and check that

quick hare
#

So my favorite brand for little ZigBee sensors went under (Konke), it was not perfect but close enough to perfection. They last long, they’re ZigBee 3.0 compliant and they have many parameters I can set. Unfortunately, the company stopped selling abruptly and I was not able to acquire more of their stuff. What is your favorite brand when it comes to door sensor and others sensors like motion, temperature, etc? I’m really looking for something as ZigBee 3.0 as possible. (I’m using ZHA)

queen sparrow
twilit narwhal
#

Ok but did you try to check if an event is triggered in the developer console?

#

I don’t know if the smart things hubs reroute events to HA

uneven ruin
#

sure

pulsar apex
#

K give me 15, just out in the shop, gonna head to the office

pulsar apex
uneven ruin
#

OK I feel old I should know what to do now

#

lol

pulsar apex
#

definitely know more than I do lol

queen sparrow
twilit narwhal
queen sparrow
feral zephyr
#

Hi guys, I've recently installed the new version of Z2M, I could only see the "Bad gateway" signal after it. Since I do not have a lot of device, and my USB dongle has not been updated since a long time, I completly re-installed the MQTT add on as well as Z2M after I had updated my dongle firmware. Now everything seemed to work perfectly.... ish.. I added my devices on Z2M without any problem BUT I cannot find those added devices in the Configuration->Devices&Services->Devices. Can someone help me please ?

bronze prism
#

maybe re-add the MQTT integration or check the IP of the broker in HA?

#

also you might need to re-enable the HA integration within Z2M

feral zephyr
daring spear
#

I'm trying to connect IKEA Styrbar to my zigbee2mqtt but it never even shows up. Any ideas on what to do?

feral zephyr
#

have you check if this device is compatible with Z2M ?

daring spear
#

Yeah, I have another IKEA Styrbar thats working

feral zephyr
#

checked*

#

I have had lots of bugs with Z2M lately, maybe it's the case here

daring spear
#

Yeah could be... I'll continue to try every other day or so, maybe it will work eventually

bronze prism
daring spear
#

Ill check the link and see

bronze prism
#

i have the older remote and i found i have to try a number of times to get it to work.. sometimes instead of pressing the button 4 times, I found holding the button to work

#

make sure it's close to your zigbee hub/dongle too

feral zephyr
night maple
#

I just picked up 12 cree ZigBee bulbs for $4 each at a furniture store, they had racks of them and so far they're great. I was tempted to buy out an entire display box 🤓

#

I hadn't seen any connected bulb for less than 8, ever before I think

violet magnet
#

Are Aqara's devices just... flaky?

#

I have a temperature sensor and a leak sensor that pair up fine, appear fine, then at some point in the next day or two just stop reporting

hot tendon
violet magnet
#

😦

#

Is Sonoff better?

storm palm
#

What is the best way to work with a zigbee remote control especially one that does dimming? Is there any way to "Link" together 2 devices?

molten linden
violet magnet
hot tendon
remote patio
#

seems like 6 or more xiaomi zigbee devices died at the same time. I can't tell if it's due to the coordinator firmware or the router firmwares

#

how does zigbee pairing work.. if I pair ir in one place and move it elsewhere will it connect through a different router?

remote patio
#

two of my routers say they have not been seen for 4 days according yo z2m

#

I don't know if that means anything

vale yarrow
#

Under the network tab of ZHA what should be the values for: Default light transtiontime, Consider mains powered...... , Consider Battery powered.......

#

When i installed it all the boxes were empty?

frank marten
#

Hey everyone,
I've got 3x Ikea Tradfri shortcut buttons, I set them up last weekend connected to Z2Mqtt & HA. All working well in that respect.

I noticed today that the battery remaining is all over the place - 98%, 65%, and 16% respectively. I've clicked them probably a few dozen times so not expecting to blow through a battery in week. Is there any configuration I should be aware of in Z2M that could be affecting this (e.g. asking that the device calls in frequently), I found a tab under Reporting for the devices that appears to be setting a frequency for reporting battery state (batteryPercentageRemaining min rep: 3600, max: 62000). I guessing that reporting battery state should not wipe them after a week.

Is it possible that the batteries were just off when I purchased them? Seems unlikely from Ikea but possible I suppose. Any thoughts on how to understand where power usage is going on these devices, I don't see many events coming through to HA but perhaps it's just maintaining the connection to the Conbee device that is killing it?
Thanks!

Edit: I was able to find a thread (https://community.home-assistant.io/t/ikea-tradfri-batteries-in-the-remote-controls-are-quickly-discharged/109185/315) about this being a problem specifically for the Ikea devices so I think I will just need to read through this when I have the time, but it seems that the 16% low battery warning may not be accurate and perhaps nothing to worry about for now (it's not actually low battery)

oblique vine
violet magnet
#

For stuff the device supports but doesn't map to an entity in HA, check out Manage Clusters on the Device page. You can view/set all the known attributes from there

tall pike
tall pike
remote patio
#

what's the point of a mesh if these things can move around the mesh :/ wish I had bought zigbee light switches instead of wifi ones.. would have had routers all over the place

tall pike
#

When you mention Xiaomi sensors, you are referring to aqara? They are known to be sticky to the routers they initially pair with.

remote patio
#

also the buttons..

tall pike
#

If you know where the zigbee dead zone is, you can deploy a repeater there as a stopgap solution.

remote patio
#

there is a router there about 3 feet away :/

#

only thing that's changed recently is a firmware upgrade

uneven ruin
#

firmware upgrade to what?

remote patio
#

the sonoff usb firmware devices which have thus far been working great

oblique vine
kindred stratus
#

Forwarding from #automations-archived

Has anyone used the Ikea Tradfri motion sensor via zigbee2mqtt. I'm trying to figure out the illuminance_below_threshold_check seems to be always false in normal/dark environment. I want to only trigger if it's dark.

orchid ore
#

I have some light that can be controlled by 2 separate light switch. For example in my kitchen there is one switch by one door and another side of kitchen that can turn off on the light. Can this switch work ?

uneven ruin
mortal forge
#

MQTT integration can find all my devices on my zigbee2mqtt instance but only shows the entities Link quality and update status, so nothing to toggle the lights. Any idea's ?

mortal forge
uneven ruin
#

is this error just indicating a weak mesh?

#

Publish 'set' 'color_temp' to 'Living room bulb 4' failed: 'Error: Command 0xf0d1b800000595e6/1 lightingColorCtrl.moveToColorTemp({"colortemp":195,"transtime":450}, {"sendWhen":"immediate","timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Data request failed with error: 'undefined' (241))'

#

intermittent issue same command to 5 other bulbs was fine, doesn't happen with the same bulb every time

kindred stratus
spark iron
#

HI anyone know how to use mosquitto broker under configuration - publish a packet to control light bulb ? i have tried to put in the topic and payload however unable to ON & OFF the light[1:46 PM]Message 0 received on zigbee2mqtt/bulb/set at 1:46 PM:{
"state": "OFF",
}QoS: 0 - Retain: false

spark iron
#

any one have any ideas how come my newly added zigbee devices are not showing up under entities or devices on HA?[3:22 PM]how do i solve it ?

sour shadow
#

ZHA?

#

Zigbee2MQTT?

spark iron
#

zigbee2 mqtt

sour shadow
#

The usual problem there is that you haven't enabled Home Assistant support in Z2M

spark iron
#

how do i enable it

sour shadow
#

Tick it in Z2M's UI

spark iron
#

the device is aqara light bulb

#

under web UI setting ?

#
  • home assistant integration ?
sour shadow
#

Yup

spark iron
#

it is all ticked

#

but still can see my device on HA

sour shadow
#

Install MQTT Explorer on your Windows machine and use the same MQTT broker details that you use with Z2M

#

See if you can see topics under homeassistant/

spark iron
#

yes can see

sour shadow
#

Next thing to do is to go to configuration -> Integrations -> MQTT -> Configure_

#

Subscribe to # and see what's going on

obsidian sandalBOT
#

@spark iron Rule #6: Spam will not be tolerated, including but not limited to: self-promotion, flooding, text walls (longer than 15 lines) and unapproved bots.

Please take the time now to review all of the rules and references in #rules.

For sharing code or logs use https://www.codepile.net/ (pick YAML for the language) or https://paste.debian.net/ (pick YAML for the language).

sour shadow
#

Not sure why it's not seeing the devices then

#

Maybe try restarting Z2M?

spark iron
#

so technically when i added devices on z2m it should show as entity right

#

should i disconnect the device and restart ?

sour shadow
#

If you look at MQTT in Integrations it should say X devices and Y entities

spark iron
#

yes it doesnt have

lean creek
#

Hi, i will renew my Zigbeestick by my homeassistant. i have buy a Sonoff Zigbee 3.0 and change the name in the configuration.yaml for z2m. z2m is already started but i send commands. you know why?

#

The old own was a Texas Instruments CC2531

#

can everyone help me? I made all the stuff i found in 2 hours searching in the internet

sour shadow
#

I'm not sure what your problem/question is

#

Can you try to explain it in a different way maybe?

lean creek
#

I used along time the CC2531 Zigbee stick at my homeassistant, but now i get more and more problems with my devices. so i buyed a new own, a Sonoff Zigbee 3.0. I pluged into the raspberry and have changed the Port in the config. The problem is: i can send commands to my devices. must i connect the devices again?

sour shadow
#

Particularly copy the ieee address of the old adpter into the new one?

lean creek
#

i try, i doesn`t found the faq thanks

nocturne geyser
#

Is salus best uk plug for Zha that measures power?

devout sundial
#

Hello! Does anyone else get “ghost” lamps in home assistant when using switches with automations?

mortal forge
#

Whenever updating my homeassistant to anything past 2022.3 , my zigbee2mqtt lights are uncontrollable in HA. Have I missed some kind of breaking change?

#

All my lights show up and even renames in zigbee2mqtt immediately sync to homeassistant, but I cannot turn them on/off in HA

sour shadow
#

Is there anything in the log file for HA?

mortal forge
#

Not really anything useful/related at first glance

#

Let me remove the MQTT integration and re-add it (again), so if something pops up in the logs

sour shadow
#

I'm just starting my 2022.4.5 install to check it

mortal forge
#

I came from 2022.3.8 but need to update to 2022.4 for mushroom card support

sour shadow
#

2022.4.5 works fine for me with Z2M

mortal forge
#

Re-adding the MQTT integration immediatly finds all my devices, but they cannot be controlled

mortal forge
sour shadow
#

WTF...

#

Let me upgrade and test

mortal forge
#

so if I use image: homeassistant/home-assistant:2022.4.5 it works

#

if I use image: homeassistant/home-assistant it doesn't

sour shadow
#

You should be using :stable not untagged

#

homeassistant/home-assistant will be the same as :latest - aka the most recent build of any nature

mortal forge
#

What does untagged download? Beta?

sour shadow
#

Roll of the dice

mortal forge
#

Aaaah, that's why

#

my god

sour shadow
#

The docs are pretty clear about using :stable

mortal forge
#

another valuable time consuming lesson learned 😄

sour shadow
#

2022.4.7 works for me

leaden grotto
#

how to cast generic camera to chromecast enabled tv?

sour shadow
mortal forge
sour shadow
#

You may well have got a dev build that was broken

queen sparrow
scarlet temple
#

It seems everything that is a might switch has gotten very expensive. Anyone running the zbmini with regular switches or have a brand recommendation? How well does all that fit in a traditional 1 gage?

storm palm
#

Is there any way to log the zigbee messages from 1 device?

austere patio
#

What integration are you using?

storm palm
#

ZHA

#

the issue I am having is there is 1 relay that is randomly turning on and in the logbook it also shows it was turned on

austere patio
#

Not really but you can filter the logs and search for the device's NWK address

storm palm
#

Where do I even find the NWK address? I was trying the other day to wireshark the connection but I couldn't find a way to decode the messages

austere patio
#

Click on the device, it'll look like 0xABCD

storm palm
#

Yes but I don't see a log

austere patio
storm palm
#

No, but even if I do where is this log file stored?

austere patio
#

/config/home-assistant.log

nocturne geyser
#

Are salus plugs still best uk plug for zha
Thet has power management

bronze prism
#

hi I recently got an IKEA smart bulb and connected it to HA via zigbee2mqtt - for some reason when I run an action with a transition, a colour temperature and brightness, the bulb ignores the transition and just turns on immediately. If i remove the colour temp it works fine. any ideas on what i can check?

twilit narwhal
jovial aspen
#

So I set up Z2M on a VM last week, just to play with it. All vanilla settings, including panID. When I tried to join new devices to it, they joined to my production instance of ZHA on Home Assistant instead...

hot tendon
#

Have you tried turning pairing off on the HA machine?

still raptor
#

Hey everyone. I live in a 260m2 apartment with brick/concrete walls. And I have just a few zigbee devices (2 blinds motor, 1 sonoff mini zigbee, 2 yale smart door locks and a few pir sensors). My server is located in one extreme of the apartment and the devices that can connect directly to the sonoff 3.0 zigbee dongle that I use as coordinator, work flawlessly. The problem is with the other devices. I don’t have that many devices that work as router, so I bought another 2 sonoff dongles and flashed them as routers.

#

They are almost in a straight line, my coordinator, the first sonoff router, the sonoff mini, the second router and one of my blinds motor.

#

The problem is that every now or then, the sonoff mini or one (or both) routers disconnects.. and everything that is beyond that will become offline

#

The sonoff mini I can check the history in HA and if sometimes disconnects and re-connects dozens of time in one day.

#

My main question would be, is there any device or something that would connect to the zigbee devices that are far away and “convert” to wifi. I have a pretty robust wifi network (3 ubiquiti wifi6 access points) and I now that I wouldn’t have problems with wifi communication (I have almost 100 wifi iot devices working without any problems)

#

Or how could I fix this disconnecting issue without having to bury myself even more into zigbee devices

hot tendon
still raptor
#

I’m using zigbee2mqtt

hybrid cloud
#

Coming over from smartthings here, I'm trying to figure out if I should integrate my ZigBee devices with zha or zigbee2mqtt. I don't really understand the benefits and disadvantages of them, so I'd love to hear about it

sour shadow
#

Very simply:
ZHA: Part of HA, tightly integrated
Zigbee2MQTT: Decoupled

#

If you like all your eggs in one basket, go ZHA. If you don't, or you want to use your Zigbee mesh with more than just HA (like a test HA install, or something else), go Z2M

jolly python
#

If you‘re concerned wether your devices are all compatible get z2m

mighty river
#

My intention is to use Aqara Motion Sensor

sour shadow
#

You need a coordinator, yes

#

No hubs - Home Assistant is your "hub"

obsidian sandalBOT
#

@brittle briar Buy something CC2652 based. This list is a good one, both Tube and Electrolama have been proven to have excellent customer service. The current generation of EZSP sticks (see here for some) are also a good choice for ZHA.

Anything CC2530 or CC2531 based should be avoided - they're old, slow, and only suitable for a dozen or so devices. The Sonoff ZBbridge isn't advised since it uses WiFi (built in interference causing stability/reliability issues), and the HUSBZB-1 uses an older chipset so should be avoided.

Finally, the ConBee range are fine with deCONZ, but experience with ZHA and Zigbee2MQTT appears to be mixed.

mighty river
mighty river
#

big Range of Sticks 😟

sour shadow
#

Sure, but your choices are mostly down to budget and geography

#

If you can, buy one of Tubes range

#

If you're in the UK (or Europe) then Electrolama is also a good source

mighty river
#

ya, do i need the debugger really?

sour shadow
#

Not for the CC2652 based sticks

#

If you're daft enough to buy a CC253x based stick then you do, but you'll also need to replace the stick within a few months

mighty river
#

😆 thats not my intention. I think i go with the Lama one 😉

bronze prism
#

@sour shadow thoughts on the Aqara FP1?

tropic depot
#

I tried to get them last week... finally found them on ALI

sour shadow
tropic depot
#

but they canceled the order

sour shadow
#

Not sure why you think I'm the only person who has any thoughts on that device though

tropic depot
#

I really want to get a few of these to mess with

bronze prism
bronze prism
sour shadow
#

Sure, but there's thousands of hardware devices out there for that, tens of thousands... I don't know them all in depth

tropic depot
#

it was ~160ish USD for 2

#

but they canceled it... I don't think they are supposed to ship them to the US

sour shadow
#

A lot of their stuff is supposed to be China only

tropic depot
#

yeah

bronze prism
#

ah okay.. they are pricey indeed.. i wonder if they work through walls?

sour shadow
#

Which is annoying, given how good it is

tropic depot
#

agreed

#

for the new tech at least

sour shadow
#

Even the old stuff is good, for the price

tropic depot
#

oh absolutely

hybrid cloud
#

I heard there are some compatibility devices for some devices with zha. Is this true and/or a big problem?

sour shadow
#

Worlds better than Sonoff zany

tropic depot
#

just puts onus on the user to ensure that everything is compatible

sour shadow
#

That means that it looks like Z2M has more/wider device support, when the reality is that ZHA does

tropic depot
#

when things are spec compliant

sour shadow
#

So, 0.1% of the time 😛

tropic depot
#

when they aren't Z2m kills us because the community is larger

#

EXACTLY

#

lol

bronze prism
#

ah ok lol

tropic depot
#

we ultimately get support... just takes a while

hybrid cloud
tropic depot
#

that was the original thought

#

to Tinkerer's point above... in practice not many companies follow the spec

sour shadow
#

Ultimately the biggest difference IMO is that Z2M supports more than just Home Assistant, and ZHA is part of Home Assistant

hybrid cloud
#

What else do people use z2m with? I'm having a hard time really seeing why you'd want to control devices from multiple hubs

sour shadow
#

There's those, plus other things that aren't documented there, plus of course people can roll their own software to interact with it

hybrid cloud
tropic depot
#

I can't guarantee anything

#

but we are over 18k reporting users

hybrid cloud
#

Fair, fair

worn zephyr
#

Hey, so I’m currently experiencing a problem with a hue light that is connected to my raspberry via deconz (conbee II).
I have this automation that should turn it on and then off after 15 seconds with no motion:
https://paste.debian.net/hidden/dbcbc582

The problem is, that it just sometimes (like once a day) doesn’t turn it off. The trace shows it goes over the turn off command, but the light still stays on.

I have something similar with blinds (also same gateway) in my room. I control them with a scene and sometimes it only puts one up or down and I have to activate the scene a second time.

austere patio
#

Is your Conbee on a USB 2.0 extension cable?

plain jewel
#

is there someone who can help me

#

with deconz ( conbee II )

obsidian sandalBOT
#

Don't ask to ask, just ask your question. Then people can answer when they're around.

When you do ask a question, try to provide as much background detail as possible. Ask yourself these questions first so that others don't have to:

  1. What version of the Home Assistant are you running? (remember, last isn't a version)
  2. What exactly are you trying to do that won't work?
  3. Is the problem uniform or erratic?
  4. What's the exact error message?
  5. When did it arise?
  6. What exactly don't you "get"?
  7. Can you share sample code, ideally with line errors where the error occurs?
plain jewel
#

i have try zigbee2mqtt its not my thing so i switched back to deconz... reconnected all my devices one by one

#

i have them online , i changed the light buttons on ha dashboard... but now i can swithc lights on but the go off after a second

#

and lights won't response

#

inside deconz is works great

#

but HA dashboard nothing

#

before everything works also with deconz....

#

i reload the deconz app, restart the machine nothing works

#

21:49:09:453 0x0C4314FFFEC5674B error APSDE-DATA.confirm: 0xE9 on task

#

21:55:34:626 emit event/tick: 0x00178801099c1d2e
21:55:34:630 emit event/tick: 0x001788010b0414bb
21:55:34:634 emit event/tick: 0x00178801099bdc3c
21:55:34:638 emit event/tick: 0x00178801099be4db
21:55:34:689 0x00178801099C1D2E force poll (2)
21:55:34:693 0x001788010B0414BB force poll (2)
21:55:34:699 0x00178801099BDC3C force poll (2)
21:55:34:714 0x00178801099BE4DB force poll (2)

#

when i push a group out inside HA dashboard i get this

uneven ruin
ocean cloak
#

Any suggestion for a smart device to use as an extender? I don't want to just buy something purely for extending and would rather get something that acts as one but also serves a purpose

#

Sorry and by extender I mean something that acts as a repeater

grim gulch
#

what are the advatages of zigbee2mqtt vs the default zigbee intergration (if wrong channel point me in the right direction please!)

ocean cloak
# grim gulch what are the advatages of zigbee2mqtt vs the default zigbee intergration (if wro...

I haven't noticed too much of a difference since switching over recently. Here are some things off the top of my head that I did notice:

  • z2m UI is nice to see all your devices in 1 place
  • ZHA maybe seemed a little more reliable? I've had one motion sensor drop off the network a few times. Not really a large enough sample size though
  • z2m seemed more complete at least out of the box as it offered me entities and control that zha didn't have. For instance a motion sensor allowed me to control it's timeout and sensitivity with z2m and zha didn't. It also showed more entities on my vibration sensor for tilt angle
  • I've noticed in node-red that I get multiple "on" events from motion sensors whereas zha just sent me one for when it detected motion and one for when it timed out. Hasn't caused me any problems though.

The general sentiment seems to be that z2m is more advanced but zha is simpler. I started with zha since I didn't have mqtt set up at the time and was just starting to use HA. Once I got more comfortable I moved to z2m and I'm glad I did so far

visual kelp
#

Greetings all,
I have a Ha instance in my house on a virtual server and a remote raspberry connected to my home network with some custom pythons sending messages to the MQTT. Is there a way I can create a ZigBee network on that remote location ? From what I understand the only way to "create" a coordinator is to have an antenna connected to the HA. I would like to use Z2M.

austere patio
#

Both Z2M and ZHA can connect to serial ports exposed with ser2net or socat. If your remote location has any sort of device capable of accepting a USB stick, you can do it that way. Z2M has docs for getting ser2net setup.

#

Or use an Ethernet-connected PoE coordinator

barren ridge
#

Will the SONOFF Zigbee 3.0 USB Dongle Plus work with brands such as Aqara, Fibaro and Nedis?
I feel a little overwhelmed with all this info

austere patio
#

The latter two I don't know but the Aqara Zigbee stuff works fine

visual kelp
austere patio
barren ridge
visual kelp
austere patio
#

Or you can do what I mentioned above with Z2M running on your remote Pi and directly talk to the stick plugged into the same Pi

visual kelp
#

Thank you, puddly. I'll try to find some examples in the net for that integration !

visual kelp
#

Now I feel ... Hmmm ... Stupid 😫

severe linden
#

I have one of the ethernet zigbee bridges (ZB-GW3) that I'd previously flashed with ESPHome firmware to expose the serial port for HA. I'd initially had ZHA, but it wasn't compatible with all my devices. I changed to Z2M and recently bought some RGB bulbs. This exposed some kind of delay/connection issue. Thinking it was some issues with ESPHome I flashed to tasmota for this device. (found here:https://github.com/vahempio/Tasmota-for-eWeLink) That's proving to be worse! So...Right now...I have Z2M, Tasmota on ZB-GW3. I have 2 devices paired. One is a multi-sensor (pir, lux, temp/humid, tamper), and one is a contact/vibration sensor. RGB bulbs removed/off in case the router parts are causing problems. The issue I'm seeing is if I keep interacting with my sensors eventually the whole thing just comes to a halt....eventually it'll rapid-fire through updates...settle for a bit, then start all over freezing up. HELP!!! I'm starting to wish I didn't try to start moving to zigbee, but my WiFi is starting to have issues too....

obsidian cipher
#

Anyone know what chip the aqara fp1 is using?

obtuse charm
#

Having issues with Unraid HA VM and Conbee 2 after a power loss. In Phoscon I see the Firmware = Not connected. In deconz mesh I am unable to connect to the conbee. though it is detected and displayed in the drop down as an option. I have tried detaching and attaching the usb gateway but no luck. now that i type this, this might be an unraid support question. I loaded the gateway on a windows device and was able to connect to the device just fine. Curious if anyone else had seen this issue recently.

plain jewel
#

hi there i have on deconz. 4 hue filament lights and a hue dimmer remote. when i use dim buttons i configure it change brightnise: dimming up and on / dimming down and off but when i use this button its going straight from 100 to 1 and when i puse more dimming up it go's straight to 100 ..... why isn;t it stopping when i release the button ?

jovial aspen
hot tendon
#

@jovial aspen well you must have turned it on.

tropic depot
#

It’s only on in 60s increments. It can’t be turned on and left on

jade garden
#

Hey everyone. So I'm looking for can-less color changing lights w/ zigbee and the only one I seem to have come across is https://www.moeshouse.com/products/zigbee-smart-led-downlight-smart-led-dimming-round-recessed-spot-light-7w-10w-rgb-2700k-6500k-w-c-light-compatible-with-philips-hue-smartthings?variant=39331508125777 Now personally idk anything about these and really don't want any of my data going to a third party so wasn't sure if anyone knew anything about this product or something I'm looking for. I'd go Hue, but they don't sell can-less options sadly

sweet prawn
#

I have some old Hue bulbs and a number of newer Tradfri bulbs under zigbee2mqtt. If the Hue bulbs' switches are flipped off and on, they go full brightness despite last level. The Ikea bulbs always go to the last level. I have some dimming automations at night. I'd like the Ikea bulbs to operate like the Hue bulbs after power cut. Can this be done?

true girder
#

Anybody have any experience in the XHK1-UE keypads? I've seen a few people get them to work with ZHA but still not exactly sure how it works. I have 3 of these things so It would be nice to have working in HA.

queen sparrow
uneven ruin
sharp granite
#

These are actually working quite well - battery draining alert appears to be false, they’re still showing but not disconnecting. Only one that stopped logging possibly a reception problem. Wonder if there’s a way to recalibrate the battery level sensor or disable the alert?

#

Is there a way to export zigbee temp sensor data as text/csv?

austere patio
ocean cloak
uneven ruin
#

yeah, I think they both have different default channels

austere patio
#

15 for ZHA, 11 for Z2M

ocean cloak
#

Ah ok. Well it's been ok I think since last Friday

uneven ruin
jade garden
#

Gotcha I just never heard of this company name or anything like that and I don't like my devices being connected to the outside world. What I'm not 100% sure on is if that it requires their hub or can I use the official Phillips Hues one

uneven ruin
#

ZigBee is ZigBee, you can even use a ZigBee stick for home assistant and cut out hue

true girder
#

Are the sonoff usb dongles any good?

#

I've seen the conbee but people seem to have issues with it

jade garden
uneven ruin
#

Oh tuya, yeah it's complicated

jade garden
#

Did you even see the link? Lol

#

That's what I'm saying it blows my mind that a zigby can less fall RGB light doesn't exist but a Wi-Fi based one dies however I am extremely concerned with the amount of noise 24 lights would make

mighty river
mellow geode
# jade garden That's what I'm saying it blows my mind that a zigby can less fall RGB light doe...

Tbh, I’m not sure what exactly you’re talking about but no Zigbee light can talk to the internet ever.
If you get a Tuya hub (which you really shouldn’t), that hub can and will talk to the internet.

If you just get a Zigbee stick and use ZHA or zigbee2mqtt, it won’t talk to the internet. (Many Tuya devices have compatibility issues but lights should be fine)

I’d advise against getting Tuya WiFi devices though. (They’ll talk to the internet and aren’t easy to integrate into Home Assistant without using their cloud services.)

#

They Tuya Zigbee devices might work with a Hue Bridge, but there’s no guarantee they’ll work with anything

#

Maybe get one Zigbee light to try(?)

crude otter
#

i use sonoff based wifi devices (with SonoffLAN) but have been switching as much as i can to ZHA and ZigBee based stuff

#

i also have any WiFi IoT stuff on its own VLAN

#

The 'S' in IoT stands for 'security' 😛

tropic depot
#

PSA: if there are any brave ZHA users with larger networks or folks who had the issue with long startup times caused by offline mains powered devices please try beta 1

#

We made changes that should speed up entity availability post restarts

ashen pollen
#

Hey I am having problems setting up my new home assistant zigbee setup.
The funny thing is I got it working as a test setup and now it just stopped working
(A lot of text but i tried a lot already)

Details:

Now the Problem:
After all this i started putting the one that worked in a electrical box in my wall. I am 99% sure i did everything right (I am a electrician) but I have to Note i have accidentally force turned of the pi 2 times when switching of the breaker. Now i wanted to test the setup and the device showed up as offline in the integration. I thought repairing would probably help but after removing it it was not found anymore. After trying more standard stuff like restarting and reinstalling everything and looking at the logs i still couldn't find any clue.
You might be thinking now i probably ruined the zbmini! (Well its possible), but i have 3 more! So i rebuild the initial test setup with a new one and still could not get it to find the device. I really have no idea what changed. Is it possible that those 2 unsafe shutdowns killed the raspbee 2? Or am i missing something? I am going mad here.

sour shadow
#

What's in the logs for Zigbee2MQTT?

ashen pollen
sour shadow
#

That's why #rules points you at code share sites for sharing logs 😉

ashen pollen
#

Oh sorry

sour shadow
#

No obvious issues in there

#

How far away is the ZBmini from the Raspbee?

ashen pollen
#

My test setup is literally next to the server so...

sour shadow
#

There's no metal case on the Pi?

#

No large amounts of metal next to the Pi either?

ashen pollen
#

Nope

#

Normally i try stuff like this myself, and the fact that everything worked at the beginning and now not probably means i broke something. I just don't know any way figuring out what exactly is wrong.
Its definitely not the zbmini. I have tried all 4 brand new ones now. So its has to be something on the pi.
Do you think resetting everything (reinstall hassos) is faster than searching for a error?

sour shadow
#

It's unlikely to help you

#

Either:

  1. The Raspbee is broken in some way
  2. You've got interference
#

Since you chose a Raspbee you're unable to move the coordinator away from the Pi

#

(Raspbee is a terrible choice IMO)

#

So, check your Zigbee and WiFi channels to start with

mellow geode
# tropic depot PSA: if there are any brave ZHA users with larger networks or folks who had the ...

The state restoration on ZHA lights happens really fast now (which is a nice improvement). However, normal Home Assistant light groups seem to take quite some time before they become available.
I‘m guessing the polling that happens in the background still "halts" the rest of Home Assistant initialization(?)
The banner is still shown that "Home Assistant is starting". I haven’t confirmed whether that’s actually caused by ZHA though

tropic depot
#

we have 0 impact on regular light groups

#

All entities are added to the system instantly

#

I’ll look though… you’re talking non zigbee groups right?

ashen pollen
#

(I can still send back the raspbee so its an option)

obsidian sandalBOT
#

Buy something CC2652 based. This list is a good one, both Tube and Electrolama have been proven to have excellent customer service. The current generation of EZSP sticks (see here for some) are also a good choice for ZHA.

Anything CC2530 or CC2531 based should be avoided - they're old, slow, and only suitable for a dozen or so devices. The Sonoff ZBbridge isn't advised since it uses WiFi (built in interference causing stability/reliability issues), and the HUSBZB-1 uses an older chipset so should be avoided.

Finally, the ConBee range are fine with deCONZ, but experience with ZHA and Zigbee2MQTT appears to be mixed.

ashen pollen
#

Ok thanks.

night maple
night maple
#

They're soft white and not color tunable. They were a snap to set up with my ConBee using ZHA, I have a light group of 5 set up and so far they're very responsive. No noticeable delay dimming or on/off.

solid hollow
#

Is there a path to backup my ZHA network on my old stick and move it to a Z2M on my new stick?

lofty bridge
#

I use a Sonoff Zigbee 3.0 USB-Stick with the newest beta-Version of Home Assistant (2022.05b0). My Zigbee-Devices are working (most of them) but the Stick is shown as "device is offline" in ZHA-Map. I´m confused. Any Ideas?

sour shadow
radiant apex
#

is EFR32MG21 good coordinator to buy today? I think I should replace my CC2531. And EFR32MG21 is cheaper than CC2652.

sour shadow
#

If you're using ZHA then maybe

#

If you're using Zigbee2MQTT then buy a CC2652 based device

radiant apex
sour shadow
#

Maybe as in ... it's not a terrible choice, depending on which one you buy

sour shadow
#

No idea

#

Tube and Electrolama are known to be good sellers

radiant apex
#

thanks

sour shadow
#

Oh, that one you linked has a single 2 star review...

radiant apex
austere patio
#

I wouldn't buy the cheapest possible coordinator you can find, it's the one thing connecting your computer to your Zigbee network. The CC2652 sticks for the most part all use pre-made modules so their RF performance should be very similar to one another but some also have quality issues, like improper soldering, that can make them either not work or have other issues.

radiant apex
#

any differences between CC2652 flavours? like CC2652R1 or CC2652P?

austere patio
#

Not really

#

One has a power amplifier but turning up the transmit power won't really make your network behave any differently so it's effectively the same

austere patio
#

Makes no difference 😄

radiant apex
sour shadow
#

Doesn't matter

#

No difference

#

The most important thing is the quality control of the maker

austere patio
#

Your coordinator and the device have to be able to both communicate with one another in both directions. You coordinator can transmit "louder" but that won't let it hear your devices from further away

austere patio
#

Realistically, if you have only three devices and at least one of them is a battery-powered end device, the CC2531 may work fine for now if you put on a USB 2.0 extension cable

#

Do you have any routers (bulbs, outlets, etc.)? Or only sensors?

radiant apex
#

Could I tell on ZHA to my EndDevice which router is more reliable (like prioratise on my zb network)? My problem is that Konke battery PIR is losing connection.

austere patio
#

The integration can't really control connections like that

#

Devices connect to whatever router they want once they're on the network but you can control which exact router they initially join if you factory reset the device and then permit joins only through the router you want it to join

radiant apex
austere patio
#

Try a USB extension cable if you're not already using one. I think the CC2531's firmware may also have to be updated to 20211115 or newer for selective joining to work. If it's anything older then the coordinator will always be permitting joins in addition to the device you specify.

radiant apex
austere patio
#

Not possible. Once it's on the network, the device can move around if it wants to.

radiant apex
#

Z-Stack_3.0.x

austere patio
#

I don't think it's maintained, downgrade to Z-Stack Home 1.2

radiant apex
sour shadow
#

Zigbee 3.0 firmwares are not recommended for the CC2530 and CC2531 (since those are not powerful enough)

#

You took a bad situation and made it worse

fierce helm
#

I use the same FW, it got updated not long ago (weeks)

#

But yeah, that's on the Sonoff USB 3.0

sour shadow
#

Different stick 😉

austere patio
#

That's 3.x.0. Confusingly named, the 3.x.0 (really 4.x and 5.x now) is unrelated to the 3.0.x firmwares

fierce helm
#

yup, I use the 3.x.0 and not 3..0.x.. confusing

radiant apex
radiant apex
sour shadow
#

I recommend buying a CC2652 based coordinator

#

Until then, the source routing firmware is (in my experience) slightly more stable, but still pretty far from stable

radiant apex
fierce helm
#

I've only tried that one, but I can recommend the Sonoff USB 3.0.

sour shadow
#

There seems to be some quality control issues with those

fierce helm
#

ah? do tell!

sour shadow
#

Some general build quality issues - badly connected antennas - and a number of reports of corrupted NVRAM (I think that's what it was)

#

I know some of the ZHA devs are following the situation

fierce helm
#

I see! so it's kinda hit or miss if you're gonna get a defect stick, that sucks

tropic depot
#

the NVRAM stuff is beyond weird

#

does seem to be mainly sonoff sticks

#

and the new Aqara P1 Motion sensors are NOT standard compliant

#

but they have the certification on the box... smh

#

they are Zigbee 3

#

have no illuminance cluster or Occupancy cluster but they support both... fun stuff

uneven ruin
#

I have one of those that just got delivered, I was going to play with it and see whats up

tropic depot
#

I have it working... wont have time to add it to ZHA for a few days but it is nearly identical to the E1

uneven ruin
#

I'm running z2m 😦

#

I'll look at their support for the e1

#

Can I upgrade my zigbee stick firmware directly from my Homeassistant device? (Running Homeassistant OS)

#

or do I need to pull it and do it on my PC?

uneven ruin
#

figured it out

tropic depot
#

just hasn’t been released yet I think

uneven ruin
#

cool I can wait

#

thanks

twilit narwhal
smoky jewel
#

Hi everyone, i have a strange issue where none of my zigbee2mqtt devices are showing up in homeassistant

#

interestingly, some other devices using mqtt are showing up

sour shadow
#

Did they ever show up?

smoky jewel
#

Yeah they did at some point

#

i can see in the zigbee2mqtt logs that it's working. i can see the updates existing in the broker but it's not being picked up by homeassistant

Apr 29 11:58:28 zigbee-vm npm[1046]: Zigbee2MQTT:info  2022-04-29 11:58:28: MQTT publish: topic 'zigbee2mqtt/ikea button 2', payload '{"action":"","battery":100,"linkquality":45,"update":{"state":null},"update_available":null}'
Apr 29 11:58:28 zigbee-vm npm[1046]: Zigbee2MQTT:info  2022-04-29 11:58:28: MQTT publish: topic 'zigbee2mqtt/ikea button 2/action', payload 'off'```
sour shadow
#

Make sure that Home Assistant integration is enabled in Z2M

smoky jewel
#

it is

sour shadow
#

And they're both using the same broker? You can see the messages from Z2M in HA?

smoky jewel
#

They're using the same broker indeed

#

i don't think i can see the messages in HA for some reason

sour shadow
#

Then that suggests they're not using the same broker, or either Z2M or HA isn't actually talking to the broker

smoky jewel
#

well

#

i've got 3 things speaking with the broker, 2mqtt and 1 plejd addon

#

the plejd addon messages are being picked up

#

but not the z2m

#

ok so tiny bit of progress

#

if i listen to "zigbee2mqtt/ikea button 2" for example

#

i can see the information in homeassistant

sour shadow
#

Check the homeassistant/ topic for any Discovery messages from Z2M

smoky jewel
#

ok so i listen to homeassistan/ and then just push a button or something?

sour shadow
#

Well, no, restart Z2M at that point

smoky jewel
#

aha

#

nope, deathly silent

#

the log spits out a tonne of info though

#

as in, the z2m logs

steady marsh
#

Hello there,
I have switched HA from the OS version to the Core version (Docker). Before I was using ZHA and now I am thinking about switching to Z2M. However, I have read that Z2M is much harder to install/use than ZHA. Do you think it would be worth the effort or should I use ZHA again?

sour shadow
#

It's very much a personal choice though

smoky jewel
#

ok i solved it

sour shadow
#

And the solution was?

solid hollow
#

Z2M: Don't you need to add the MQTT integration as well into HA?

sour shadow
#

Yes

smoky jewel
#

the solution was changing the base topic to two different ones

uneven ruin
#

just saw a z2m error from failing to update a bulb that says "failed with status '(0xc7: NWK_TABLE_FULL)' (expected '(0x00: SUCCESS)'))'"

#

Odd, cause I'm using the latest firmware

#

thinking I may have just flooded the network at that moment

worn zephyr
mighty river
#

Does Zigbee2MQTT contain a mqtt server or do I need to run one separately first?

hot tendon
#

Z2m does not have a built in mqtt server. What sort of ha installation do you have? Os/supervised have addon for mosquitto.

dapper tartan
#

Hey Anyone got any experience with ikea tradfri switches? I basicly jsut want them connected to my hue hub . but it looks like in order to pair them I need to use touch link and I need to pair them to a speciffic bulb? But I don't want to do that I just want it on the network then HA can handle the rest

near echo
dapper tartan
# near echo You would need a zigbee co-ordinator likes the ones mentioned here <https://www....

Wait MQTT works without HA? I thought HA controled all of it. Also Can u plz help me undersatand the ZHA hardware stuff?

So the hue hub uses Zigbee, but as I understand the hue hub can't be used with ZHA, which is required for Z2M. So if I buy one of these Usb sticks and plug it into my HA server, What exactly will happen? Will it act as a separate zigbee hub with a separate zigbee network? Or is a cordinator a diffrent thing to a hub? Also why can't I use the Hue hub for this? Thanks

near echo
# dapper tartan Wait MQTT works without HA? I thought HA controled all of it. Also Can u plz hel...

You might want to read about HA more. HA is just an engine with a fantastic automation capabilities and UI to go by. It is integrated with various other technologies & products and hence it works so beautifully. MQTT is yet another software which integrates. HA itself does not require MQTT, it can work on its API. ZHA is a part of HA. While Z2M is a seperate software. The link between HA & Z2M is MQTT. Hue hub is proprietary has its own zigbee software can be directly integrated to HA https://www.home-assistant.io/integrations/hue/ However, the beauty of ZHA and Z2M being open source that almost all the Zigbee compliant devices can be connected. So when you buy those zigbee dongles which contain the zigbee hardware, the Z2M and ZHA can use that and become "hub". Then you would not need your hue hub at all. All your hue "end devices" like lights, switches (or from all other vendors) are directly connected to ZHA or Z2M - see supported devices for Z2M https://www.zigbee2mqtt.io/supported-devices/#v=Philips. So if you buy Ikea lights, you would not need Ikea hub, just pair with Z2M and they are available to be used in HA or in NodeRed or any other automation softwares. Hence a Ikea switch can trigger hue bulb for e.g without needing 2 hubs

dapper tartan
#

So with MQTT I saw the subscribe and publish moddle, but how does that work without HA ? Like if I want to press a switrch to send out a signal to activate all lights, done they have to be subscribed in HA for that to happen?

near echo
#

MQTT is just a broker that helps the software like HA or Z2M create topics and pass messages for the devices. The Z2M starts by connecting to MQTT broker and you could just use any other MQTT CLient to pass messages to specific queues that Z2M hosts to control your devices , see here https://www.zigbee2mqtt.io/guide/usage/mqtt_topics_and_messages.html#zigbee2mqtt-bridge-request It is just that HA can connect to the same MQTT broker and intreprets the messages and presents as a good UI. A similar approach is also done by OpenHAB or NodeRed automation engines as well

dapper tartan
#

Oh I see

near echo
#

ZHA is different since it is an integral part of HA. So if HA goes down so does ZHA

dapper tartan
#

Cuz I was planning on using mosquito and Node red which run inside my HA to do it

dapper tartan
near echo
#

and also have total local control, since hubs from Tuya and such vendors always report back to their servers somehow & somewhere

dapper tartan
#

Gotcha

#

I alredy got ikea lights and they worked perfectly with the hue hub, but it seems their accesseories don't

#

I tried with a mootion sensor and it was not fun

#

And I'm switching my main lights to Lifx cuz I got a crazy deal

#

and I like how i can have animated lights

near echo
#

with proprietary hubs, you have little control, and at mercy of their software updates. Hence, buying your own dongle and switching everyhinfg to ZHA or Z2M, you are in complete control, including your privacy

dapper tartan
#

Cool

#

But do I lose app control like that?

#

OR do I still use both hubs?

near echo
#

lose app control you mean mobile apps from Hue or Ikea? Yes, but why do you need them? HAs mobile Ui is great and customizable to your liking

dapper tartan
#

I dont have the mopbiole app yet

#

doesn't it cost money?

#

Also will my google home still work with the devices?

near echo
#

your google home is integrated to HA. All the ZHA or Z2M devices are entities in HA, so they still work. HA Mobile App is free - just like HA. And if you have not tried HA mobile app yet, then you are in for a treat! there is so much you can do.

dapper tartan
#

Oh I thought I needed HA+ or whart ever it was called to get an account for the mobile appo

near echo
#

Look you probably need to read the HA docs more to get what it has to offer. HA runs as a "server" in your own home. The HA mobile app connects to "your" server.

#

so the UI you create in HA web - is the same UI you would have in HA mobile

dapper tartan
near echo
dapper tartan
#

Do you mean public IP or static IP?

near echo
#

Dynamic Public IP.

dapper tartan
#

ah

near echo
#

BAsically the question is are you able to get back to your router on the public ip. If yes, then you could setup a port forward for your HA server and have it connected via Free DNS services like duckdns.

#

You would also need to have a small script running which updates your public ip (if not static ip) back to your duckdns

dapper tartan
#

Oh neat, I didn't think that was possible with a constantl;y changing IP{

near echo
dapper tartan
#

TBHanks, I'll probs look into that later tho, after I get other stuff setup

near echo
#

and really check that Mobile app. One of the coolest feature is that mobile device itself becomes entities. So your charging, location and all other details are available in HA and you could use them for automation, like using location you could create zones in the provided map and send Alerts when entering / exiting those zone. Switch off the charger when mobile is 80% charged, etc

dapper tartan
#

Neat

#

GPS will murder my battery tho

ripe herald
#

Quick question, the Tube PoE coordinator, is that network interface a 100Mb full duplex or a 1Gb interface?

#

Every time I restart home assistant I loose connection to all Zigbee devices as well as the Tube coordinator. I then have to power cycle the coordinator and then reboot home assistant to get them back. However I do not get them all back...This all started with Home Assistant update 2022.4 and after 2022.4.4 it became a bit better but still not working as it did in 2022.3.x. Now it is so unstable and causing automations etc not usable.

oblique vine
#

IN Z2M all exposes such as color_tempn color_xy are available, but in HA the created device do not have the relevant entities to control the device (only switch on/off is available)

#

how to proceed ?

ivory hound
#

@oblique vinethink you have to report this to zigbee2mqtt

maiden axle
#

I have defined different scenes per group within the Zigbee2MQTT add-on.
Can anyone tell me how I can use those scenes withing HA automations now? The scenes won't show up when I create an automation.

ivory hound
#

@maiden axle let me search that for you

#

10 seconds later

#

To recall the scene send a command to zigbee2mqtt/[GROUP_OR_DEVICE_FRIENDLY_NAME]/set with payload {"scene_recall": SCENE_ID} where SCENE_ID is a number (e.g. 1)

maiden axle
ivory hound
#

no idea, I am not using the ui, only did so first month when started to use ha

maiden axle
#

Alright, thanks. Sometimes it's just confusing with the GUI when things are not made very intuitive. But I understand it's not alyways possible because the devs have to keep it kind of "general".

crude otter
#

is there some kind of outdoor rated zigbee repeater thing?

#

i have sensors in my yard and in the detached garage and they often disconnect/drop out

hardy pawn
#

Hi, everyone! I've been searching with google for about 2 weeks now, and finally decided to ask here, since I didn't find any solution to my problem. I hope, somebody here can help me out.

My setup: HA OS, zigbee2mqtt and mosquitto installed as add-ons, for testing, I'm using a tuya zigbee powerplug.

When I enabled "Permit join" on the z2mqtt webpage, the plug got detected and also correctly got configured as HA device, I was able to add it to my dahsboard, read all values, turn it on/off, the full shebang without problems.

Since I'm still testing zigbee2mqtt I did all this on my test-platform, which is a virtual machine. After restarting said machine, my all my smartplug entities show up as "unavailable". When I look at the properties at the z2mqtt webpage, everything is there, I'm able to turn in on/off, ....
I read about all the problems with z2mqtt starting before HA, and so on, but even restarting z2mqtt once HA is running, does not solve my problem - the entities show up "unavailable".

The funny thing is this: after restarting zigbee2mqtt I can see in the log that it's updating "zigbee2mqtt/bridge/state" to "online", but this message never shows up when I listen to the topic in the MQTT integrations "Configure" page. There, I always see "offline" as last message...

HA configuration.yaml is only configured like this:
"mqtt:"

obsidian sandalBOT
hardy pawn
#

I really don't have any clue anymore, why the state of the plug does not get updated at the device/entity level..

maiden axle
#

Zigbee2MQTT:
As desribed in the official documentation (https://www.zigbee2mqtt.io/guide/usage/scenes.html#creating-a-scene), both ways to create a scene withing Zigbee2MQTT (scene_store and scene_add) are also possible via the frontend. But I'm just not able to find the frontend for scene_add, only for scene_store.
Am I blind or dumb or both of it? Can anyone tell me where the setting scene_add is located in the Z2M frontend?

gentle locust
#

hi guys,
i plan on adding HAOS to my home and decided i will either use a Digi XBee 3 or a conbee2.
Since i want to use osram smart+ products, tradfri and aqra, which zigbee option should i install?
pls ping me if u can help me.
THX

native prairie
#

Hi All, I'm trying to configure my zigbee2mqtt and was watching youtube videos, and under the configuration tab the Options (list where I put in port and username and stuff) looks entirely different from the videos. So I was wondering if I can find a template somewhere?

leaden grotto
molten linden
# ripe herald Every time I restart home assistant I loose connection to all Zigbee devices as ...

On zha? The beta should improve startup of zha significantly. You can watch the coordinators web ui to see the serial connection tries if HA starts and connects serial with the coordinator then disconnects there is an issue somewhere . If stays connected it’s just the HA startup wait 🤷🏼‍♂️ and next ha version will make this much shorter. (Debug logging can give more details too)

mellow geode
#

Can confirm the latest 2022.05 betas are awesome for ZHA

gentle locust
mellow geode
#

I haven’t encountered any major issues yet

#

(Always make a backup before though)

gentle locust
#

ok

austere patio
gentle locust
#

i can attach an external antenna to it

austere patio
#

I would steer away from the XBee and would not recommend buying a Conbee. You can get a CC2652P stick with an external antenna for cheaper and it's better supported.

gentle locust
#

ok

#

yeah i think ill stick to the conbee

austere patio
#

Be aware of its limitations. It has some seemingly-unfixable startup issues for some people and is very sensitive to interference (and has no external antenna).

gentle locust
#

ok

#

maybe ill also by an SONOFF Zigbee 3.0 USB Dongle Plus and then test which one suits my needs

gentle locust
#

Ok,
New question:
Since i live in Germany i need Smokedetectors which are DIN EN 14604 certified.
Does anyone know smoke detectors which can be integrated into HAOS via zigbee or zwave(if no zigbee Alternatives) WITHOUT a bridge or gateway from the manufacturer

twin pond
#

Hello
After my CC2531 died I got 2 Sonoff 3 Sticks and want to run them both - one on ZAH (which works fine) and the 2nd on ZigBee2Mqtt - to have choice for each sensor.
Do not get ZigBee2 MQTT running - ZAH is fine but currently 4 of my sensors do not work, but worked fine under ZigBee2MQTT with the old stick.
Does anybody have a hint for me? Thank you

sour shadow
#
  1. What sensors? What does "not work" mean?
  2. What's the problem with Z2M?
simple sentinel
simple sentinel
#

For context TuYa has a bad rep in our circles

austere patio
mighty river
#

Hi, does anyone has just add the new Aqara P1 Motion Sensor in HA? I tried today, but the Informations about Battery Level etc. were not shown. I connected the sensor with Conbee II and ZHA. Has anyone the same problem?

sour shadow
#

Somebody's already mentioned it's not exactly standards compliant, so it's going to need a quirk

mighty river
#

oh ok

vale gate
ocean cloak
#

After I moved from ZHA to zigbee2mqtt all of my Aqara sensors batteries are just reporting 100%. Why would the behavior have been different on ZHA?

ocean cloak
austere patio
ocean cloak
austere patio
cyan atlas
ocean cloak
cold finch
#

Hey!
Has anyone got some experience with the E18-MS1-PCB from EBYTE. I'd like to design some circuits for sensors. Do you program the chip using a CC Debugger from TI or is there an easier way? And does it work with ZHA or Zigbee2MQTT. Sadly I find very little information regarding this topic on the internet... If anyone knows a website to recommend, I'd be very thankful!
Thanks! :)

twin pond
jolly python
#

Why you still want to use zha then? Two networks with two mesh are not as good as one network with one mesh

wet rapids
#

Hi friends, i currently have my zigbee network setup using ZHA and a combee 2 stick. Sometimes i have some delays in one of my sensors. It turns out that i should change my zigbee channel from the default to something like 25 which has the least overlap by the WiFi signals here.

Now for this i have to basically rebuild my zigbee network.

The question: should i consider going to zigbeemqtt or should i stay with ZHA.

I have no problems with ZHA so far, but considering i need to redo my zigbee network anyways,this would be the moment to switch, is that would bring somsort of benefit

Any opinions?

sour shadow
#

If you're sticking with the ConBee, stick with ZHA

wet rapids
#

It's not fit for zigbeemqtt anyways?

sour shadow
#

Do put it on a (USB 2.0) extension cable though

wet rapids
#

Yeah i have done that

sour shadow
#

Experiences on Z2M with it seem to be more mixed than with ZHA

wet rapids
#

So if one would want to switch, a different coordinator would also be required?

sour shadow
#

I'd recommend it

obsidian sandalBOT
#

Buy something CC2652 based. This list is a good one, both Tube and Electrolama have been proven to have excellent customer service. The current generation of EZSP sticks (see here for some) are also a good choice for ZHA.

Anything CC2530 or CC2531 based should be avoided - they're old, slow, and only suitable for a dozen or so devices. The Sonoff ZBbridge isn't advised since it uses WiFi (built in interference causing stability/reliability issues), and the HUSBZB-1 uses an older chipset so should be avoided.

Finally, the ConBee range are fine with deCONZ, but experience with ZHA and Zigbee2MQTT appears to be mixed.

crude otter
#

I'm a fan of the Sonoff Zigbee 3.0 Dongle Plus thing, except, that possible NVRAM corruption thing

wet rapids
#

Hmm might want to consider replacing the conbee2 stick

crude otter
#

which has bitten me once so far.

sour shadow
#

Yeah, you're not the only person... seems to be some QC issues

#

I've also seen reports of the antenna being poorly attached

crude otter
#

for now, im just doing regular backups

#

and i have another stick sitting in its packet still as a replacement

wet rapids
#

Why you're a fan of this stick if they are prone to fail?

crude otter
#

well packaged, the right price, and zigbee 3.0

sour shadow
#

As with most things Sonoff, it's cheap

#

Sadly as with most things Sonoff, it's cheap for a reason apparently

crude otter
#

i think i paid $10.99 AUD?

#

something crazy anyway

wet rapids
#

Yes, but if they are unreliable it will cost more if you need to keep replacing them

crude otter
#

well, i havent replaced it

#

it just freaked out once (so far) and i simply restored a backup and was back up and running

wet rapids
#

Ah

#

Just to be clear, the conbee problems you are describing also applies to the conbee2 stick?

sour shadow
#

I've seen more issues reported with people using the Conbee range on Zigbee2MQTT than on ZHA

wet rapids
#

Ah i will keep using ZHA

#

If changing the channel does not fix the delay problem (happens only in the evening for some reason) I will switch coordinator aswell

#

Thanks for the help

crisp forum
#

Hey, anyone got experience with docker and zigbee2mqtt? I'm having some issues getting the frontend to work. I migrated it from my unraid server to a seperate raspberry pi running docker and all my devices work fine but I can't get the frontend to work

sour shadow
#

Are you use the Docker command line, or a compose file?

crisp forum
#

command line

#

I just pulled the container and copied my db file and others across

#

all devices are working fine but can't get frontend for some reason

sour shadow
#

You have added the ports to the command line?

crisp forum
#

ah

#

no

sour shadow
#

There you go...

crisp forum
#

that might be it :)

sour shadow
#

I'd also highly recommend moving to compose files

crisp forum
#

Ok, I'll have a look into that

#

does it make everything work a bit more easier?

sour shadow
#

Well, you have a file containing the config for your container, one that you can easily back up and also allows you to see what you did

crisp forum
#

that sounds pretty good!

#

Thanks!

simple sentinel
#

Hallowed be the docker-compose

silent glen
#

hello, how do you guys monitor your zigbee networks? I have a small network of temperature, contact, motion sensors. Using z2m. What I do is monitor the last_update time of at least 5 sensors and if none was updated in the last 30 minutes, my network is probably down and send alert to telegram. Is there a better way?

uneven ruin
#

why would your zigbee network be down?

silent glen
#

well, technically, not the whole network, but more of the nodes and the repeaters on the 2nd floor of the house has lost connection to the coordinator on the ground floor.

ivory hound
#

you can use trigger on last_update > 1h

#

for trigger

#

you can also use zigbee2mqtt option also to achieve something similar

#

and for notification use telegram as notify service

#

all you want is duable

#

just consider zigbee sensors are battery devices that report on intervals over 1h sometimes

#

for zigbee2mqtt u can use:

availability:
  active:
    timeout: 10
  passive:
    timeout: 240
#

that will make your routers offline if they do not respond in 10 minutes

#

and sensors offline if they do not respond in 240 minutes

silent glen
#

Got it. Thanks. I’ll look into the zigbee2mqtt config

plain latch
#

evening folks

#

I've got some IKEA shortcut buttons attached via z2m, and they seem to be working fine for single press and long press events

#

however, I can't seem to get the double click events to work

thick zealot
#

Anyone else use the Hue outdoor motion sensor

thick zealot
plain latch
#

let me check

#

yes, I'm getting a "state changed" event for the button

#

maybe it's something about the "Awesome HA Blueprints" controller blueprint that I'm using

mellow geode
lucid pagoda
#

I'm sending a time sensitive command over Zigbee mesh and can't know when it was received. I have to predict small delays and correct them in the script.

Possible delays and remedies:

Delay 1: HA seems to send Zigbee commands in batches or only every second to prevent mesh overload, but I'm not sure when or why. Anyone know more on that?

Remedy 1: Is there a way to reach the timestamp when the coordinator sent the command? Currently I only see when the script command runs which may not correlate

Delay 2: The Zigbee mesh might be overloaded and slow

Remedy 2: I was thinking to use a command I can check to emulate a round robin I/O and to record that time to determine current congestion. But even if I can do this it goes a bit against sound logic to congest the mesh further just to check congested it is... So maybe there's a better way?

sour shadow
#

I assume that you're using ZHA?

lucid pagoda
#

I think so

#

The more popular option

sour shadow
#

That's not how any of this works...

lucid pagoda
#

And Zigbee 3 coordinator

sour shadow
#

There's no flag against ZHA that says it's "more popular" or "less popular"

lucid pagoda
#

I'm using the Zigbee add on

#

Not sure

#

Checking

sour shadow
#

Well, if you're using the Zigbee integration that's ZHA

#

If you're using a Zigbee add-on then that could be Zigbee2MQTT or deCONZ

obsidian sandalBOT
#

#integrations-archived integrate Home Assistant with devices or services, or provide functionality within Home Assistant.

#add-ons-archived provide additional software or services, which an integration could possibility integrate with. Add-ons are for Home Assistant OS and Supervised only, other install methods can install software other ways.

lucid pagoda
#

Device info
EZSP = Silicon Labs EmberZNet protocol: Elelabs, HUSBZB-1, Telegesis
by ZHA

#

You were right

#

Integration* not add-on

#

I need to learn the terminology better

#

It would make it much easier for me to develop on HA

sour shadow
analog flicker
#

Anyone recently moved from ZHA to Z2M? I also want to get away from my HUSBZB and get dedicated zigbee stick. Which would you recommended doing first? and is there a good guide or method for switching from zha to z2m?

brave cedar
lucid pagoda
#

Ok, let me rephrase my question then using the right terms

brave cedar
#

All, quick question. Is there a way to bulk disconnect / remove all devices in ZHA so that the zigbee device goes in unpaired mode (if supported by the device)

brave cedar
analog flicker
#

Is there a way to export a list of all devices, node, and entities? I have SO many devices and automations

#

It would take me days to redo it all

brave cedar
analog flicker
#

I can backup from ZHA to Zigbee2MQTT?

sour shadow
#

Not officially, no

analog flicker
#

So you'd just do it manually? write down everything?

sour shadow
#

That's the only way I know of

#

You can at least edit the entity_id to put things "back"

analog flicker
#

I feel like when I did the zwave to zwavejs there was a dev service that would list all device, entites and nodes

sour shadow
analog flicker
#

I guess it's possible to setup zigbee2mqtt along side zha and move stuff over one by one?

brave cedar
#

that is what I'm doing now 🙂

analog flicker
#

way better idea. then I don't have any downtime.

#

What zigbee stick did you go with?

obsidian sandalBOT
#

Buy something CC2652 based. This list is a good one, both Tube and Electrolama have been proven to have excellent customer service. The current generation of EZSP sticks (see here for some) are also a good choice for ZHA.

Anything CC2530 or CC2531 based should be avoided - they're old, slow, and only suitable for a dozen or so devices. The Sonoff ZBbridge isn't advised since it uses WiFi (built in interference causing stability/reliability issues), and the HUSBZB-1 uses an older chipset so should be avoided.

Finally, the ConBee range are fine with deCONZ, but experience with ZHA and Zigbee2MQTT appears to be mixed.

brave cedar
analog flicker
#

thanks tink!

brave cedar
#

I wanted something that kept being online when I restarted HA or etc. Can't say it will be better, we will see in a couple days

analog flicker
#

I haven't had much issues with the huszb but sometimes things get hungup and stuck, not to mention its pretty outdated

brave cedar
#

I had a lot of issues with my ZZH!, tried everything from repairing, changing channels, firmware updates, extension cables and etc

analog flicker
#

grabbing the sonoff zigbee 3.0 usb

obsidian sandalBOT
lucid pagoda
#

Oops

obsidian sandalBOT
#

@lucid pagoda Rule #6: Spam will not be tolerated, including but not limited to: self-promotion, flooding, text walls (longer than 15 lines) and unapproved bots.

Please take the time now to review all of the rules and references in #rules.

For sharing code or logs use https://www.codepile.net/ (pick YAML for the language) or https://paste.debian.net/ (pick YAML for the language).

lucid pagoda
#

I'm sending a time sensitive command over the mesh and I can't know accurately enough when it was received. So I have to predict the main possible delays and correct for them in the script.

#

My setup

  • ZHA EmberZNet EZSP Zigbee 3 coordinator on
  • HAOS on RPI4
  • Standard USB Serial Zigbee HA integration
#

Possible delays and remedies:

Delay 1: Does HA send Zigbee commands in batches or in >= 1 second intervals?
Remedy 1: Reach timestamp when coordinator sent the command? I only see when the script passed the command

Delay 2: The Zigbee mesh might be overloaded and slow

Remedy 2: Use a command to emulate a round trip I/O to estimate current congestion? It goes a bit against sound logic to congest the mesh further just to check how congested it is... Is there s a better way?

#

I'm still learning HA lingo so correct me please if I got anything wrong

sour shadow
#

Yes, we all saw it ... it's still accessible in the bot link - you don't need to send it again

analog flicker
#

I don't know if this is offtopic, but would a usb 3.0 cable be any better than my usb 2.0 extension cable for a sonoff zigbee usb 3.0 adapter?

lucid pagoda
sour shadow
#

You should read the pinned message about Zigbee and USB 3.0 interference

lucid pagoda
analog flicker
#

I have a 2.0 extension cable.. i'll keep it.

lucid pagoda
analog flicker
#

read the pin, good lookin out.

austere patio
lucid pagoda
#

From an Xiaomi Opple Button. They have good reaction time

austere patio
#

I'm not too familiar with the modes on that button but are you trying to tell exactly when a command was received by the coordinator, sent by the button? Or are you using the coordinator to send a command to the button and want to know when it was received by the button?

lucid pagoda
austere patio
#

So the button is sending the command

lucid pagoda
#

Yes

austere patio
#

The serial data is parsed and the event data is sent directly to Home Assistant. Are you saying the timestamp is inaccurate? The total time from button press to logging should be a few milliseconds

#

I guess a better question here would be, how are you measuring any inaccuracy?

lucid pagoda
# austere patio The serial data is parsed and the event data is sent directly to Home Assistant....

I'd have to use some electronics to check the actual delay I guess but it's usually pretty quick. But especially when you have more devices on the mesh or if devices move / leave / join and the mesh needs to heal, it seems to take longer for a few times. There are other cases too like if a command goes out to a bunch of devices other commands might be delayed. That can be because of parallel / single modes which I also don't know in and out

#

I would guess that the coordinator is always trying to get input as fast as possible but that HA manages outgoing commands to ensure mesh stability

austere patio
#

If you're pressing a button there usually aren't any commands being sent from the coordinator, the button just sends a report and goes back to sleep

lucid pagoda
#

But the script is triggering a device

#

That's where I'm more concerned about the delay

#

Say a bulb

#

And I need to know in HA exactly when it actually started up

#

After the button press. So that's my issue. To isolate possible delays on input and output

#

I suppose input is less of an issue

austere patio
#

So you want to know when a bulb receives and reacts to a command, after the coordinator sends it?

lucid pagoda
#

Yes

#

I will probably also need to know if the switch input has any delays but:

  • best to focus on one thing at a time and
  • output is probably more problematic
  • understanding output will probably be enough to understand input
#

So when the script passes light.turn_on command with enitity_id, brightness, etc, are there any guarantees that that line will delay until the coordinator actually pushes the radio signal?

#

Assuming the coordinator FW is stable and hardware condition is good, system voltage stable, etc

austere patio
#

That should be the current behavior

lucid pagoda
#

That would be great. It would eliminate a complete check

austere patio
#

There are multiple levels of ACKs so it will only "work" if the light really turns on (unless you're using group addressing)

#

Which again leads back to my original question, where is this concern about latency stemming from? Are you seeing a problem right now or is this more of a theoretical issue?

lucid pagoda
#

So I suppose it's network congestion.

So if for various reasons like in my previous message there's congestion, button press comes in, script runs, bulb action goes out but congestion delays light on and breaks sync too much. If I know the delay ahead of the light.turn_on command I can fix the sync.

#

Like bouncing through the mesh

#

I'm starting to see the answer just by bringing it up

austere patio
#

I guess you could continuously read an attribute on the target device (e.g. once per second) to roughly measure the time it will take, but I'm not sure if the round trip latency of a previous command will correlate with one of a future command

lucid pagoda
#

I mean the mesh creates a bunch of possible paths and is pretty dynamic so I would need to probe

lucid pagoda
#

I know there's a visualization of the mesh. IS there any way to get that info out of the module that's generating that map?

austere patio
#

You generally shouldn't see any appreciable latency if the wireless channel is free of unnecessary congestion

lucid pagoda
#

Seems like I sometimes have congestion. Not sure why though

#

I moved to Zigbee 3 to improve this. It allows more devices

sour shadow
#

My experiences with both my Zigbee and Z-Wave meshes is that you can't really take anything from a one off delay

sour shadow
#

I'll have ages of no problems, and then one device will lag... once, and be fine again, or not

austere patio
#

Network-wise there's really no difference between Zigbee 3.0 and previous specification versions. I would focus on trying to figure out what "latency" here means. If you are using the ZHA default of channel 15 and have a noisy WiFi router on channel 1 or 6 (or worse yet, on some channel between them), try moving it

lucid pagoda
#

Yeah, seems that way to me as well sometimes. Can't fix it but have to find a way to predict it, at least for some paths

sour shadow
#

I don't think you can't really predict it in any meaningful way

austere patio
#

Make sure your coordinator is plugged into a USB 2.0 USB extension cable and away from all sources of interference

lucid pagoda
#

Right, 2.4Ghz channels, but you can't really predict that. Someone can open a mobile hotspot near your house which can be enough to make problems there

sour shadow
#

It's like predicting drive times ... you can get an idea of what the range of "normal" is, but there's always a day where that goes to hell

lucid pagoda
#

By drive times you mean network delays?

sour shadow
#

Drive times, like ... in a car on the road

lucid pagoda
#

🙂

austere patio
#

That's true but you probably want to take a look at it. Why keep your network on a sub-optimal channel if you can re-form it on a new one with a lower noise floor?

lucid pagoda
#

I'll look into moving to a freer channel but unless you can do ongoing auto channel selection that works well that will statistically turned to reality be an issue at random points for deployments

austere patio
#

I wouldn't use Zigbee for anything that mission-critical 😄

lucid pagoda
#

Is there a way to probe devices for delays?

sour shadow
#

Well, some channels are less likely to have problems of WiFi interference than others, but ... if it's a real problem Z-Wave uses a different frequency completely zany

austere patio
#

Read an attribute (e.g. the model name) and measure how long it takes to do so

#

The mesh is handled by device firmware for the most part so there's not much else you can do

lucid pagoda
sour shadow
#

There's no shortage of Z-Wave stuff, it just costs more

lucid pagoda
#

Costs also drive acceptance. Different story though. I know there are pros and cons to both

sour shadow
#

IMO with Zigbee you can reasonably expect more interference related issues than you'd have with Z-Wave

lucid pagoda
#

One of the cons

#

The whole system is Zigbee though

#

No way to change that

austere patio
#

I'm curious, what is this extremely latency-sensitive light bulb? How much of an unexpected delay are you seeing?

sour shadow
#

I can't say I see anything like the delays I get with Z-Wave on my Zigbee mesh though

lucid pagoda
#

It's for a machine. Bulb is an example. If it goes off it's not dangerous or anything, just messes up the sequence

austere patio
#

Zigbee is 100% the wrong choice for this then 😂

lucid pagoda
austere patio
lucid pagoda
#

If we can probe in advanced that there could be a delay it would work perfectly

austere patio
#

If your currently channel is unusually noisy, move the mesh to another one by leaving and re-forming the network

sour shadow
# lucid pagoda You get delays on Z-wave?

Z-Wave is lower bandwidth, so it's even easier to get a busy mesh and delays. Z-Wave JS is smarter than the old Z-Wave integration and handles a lot of it better, but ... it can still happen

uneven ruin
#

time sensative and mesh network are not really compatible

lucid pagoda
#

Lower BW than Zigbee 1.2?

lucid pagoda
#

Zigbee 3 devices generally seem to react much faster

uneven ruin
#

I love zigbee (91 devices and counting) but if I couldn't handle a little lag you'd have to go with something more "enterprise grade"

lucid pagoda
#

Depends on the FW of course

uneven ruin
#

which in DIY home automation isn't really a thing

lucid pagoda
uneven ruin
#

@lucid pagoda I just added two repeater/routers from Tube and fine tuned my antenaa postions

#

and fixed most of my issues

lucid pagoda
uneven ruin
#

I have a somewhat large house with a couple zones that were hard to get zigbee into with my original config

#

moved the coordinator 8 feet to the left so to speak and put the two routers in some hidden spots that bridged the gaps

lucid pagoda
uneven ruin
#

you need to dig deeper, why is the mesh healing all the time

ocean cloak
uneven ruin
#

mesh stability has nothing to do with the software

lucid pagoda
ocean cloak
#

Not sure why you responded to that message though. I wasn't commenting on reliability

lucid pagoda
ocean cloak
#

lol speak of the devil, my office sensor must've disconnected again and my lights just went out 😑

uneven ruin
#

the one downside to zigbee is you need to put some though into the mesh network

#

sensors disconnecting speak to larger issues

#

wifi interference, etc

ocean cloak
#

I don't have a big enough place to need mesh, although I could maybe do with one or two for a few sensors

tropic depot
ocean cloak
#

The sensor disconnecting is right next to my zigbee hub

uneven ruin
#

in the RF world, too close is worse than too far

ocean cloak
#

My zigbee hub is in my office and so is this Hue motion sensor

#

Well it isn't sitting right next to it

uneven ruin
#

go back to the energy scan suggestion

ocean cloak
uneven ruin
#

yes, if your zigbee channel and your 2.4ghz wifi channels are on top of each other you'll get some weird performance issues

ocean cloak
#

Why is this a problem all of a sudden with z2m? I had the sensor working flawlessly on zha for months

austere patio
#

Z2M changes the channel to 11, from 15

uneven ruin
#

z2m has a different default channel

ocean cloak
#

Ok so with that information what should I do? Change it back to 15?

sour shadow
#

Channel 11 is a terrible default

uneven ruin
#

do the energy scan that was linked above

#

it will tell you

ocean cloak
#

Ok let me scroll up, I jumped into this convo for unrelated reasons just recently lol

lucid pagoda
tropic depot
#

yeah no

#

Don’t use zigbee for that

#

Very bad use case

uneven ruin
#

bluetooth sounds better

#

direct to the PC

sour shadow
#

Or wired

lucid pagoda
#

It works well and already in place. No other choice. They just want better accuracy. Bad cut just needs a re-cut, no huge deal

#

Or used for smaller cuts instead

tropic depot
#

What is being cut

#

This feels like a safety issue 😂🤣

#

I don’t wanna hear that my hobby killed someone because a remote fell off the network

lucid pagoda
#

So they run on it and it's fine but want to improve margins and I'm interested in Zigbee stabilization because it's my favorite radio so I signed up for it 😎

ocean cloak
#

Do I need to disconnect z2m before running this?

lucid pagoda
austere patio
lucid pagoda
#

Believe in Zigbee! 😂

ocean cloak
#

Also if I'm connected via network would the envar be tcp://<ip>:<port> or socket instead of tcp?

tropic depot
#

Remotes are sleepy devices

#

And if they’re moving around that compounds the issue

lucid pagoda
#

off*

#

they*

tropic depot
#

You could wire real switches to your cut stations

#

Then they could just toggle the switch

#

🤷🏻‍♂️

#

that would probably be a lot more reliable

ocean cloak
#

Getting a timeout error

lucid pagoda
#

They don't really move. It's mostly the mesh healing from devices going on and off line

ocean cloak
#

I can see from my zigbee controller it seems to be connecting though?
[D][serial_server:103]: New client connected from <my ip>

lucid pagoda
#

I just need to find a way to probe mesh devices periodically and find the delay

ocean cloak
#

If that channel is so terrible why does z2m default to it?

lucid pagoda
#

That would cut 99% of errors

sour shadow
lucid pagoda
#

It's rare enough that mesh paths change so I just need to find when they do

ocean cloak
# uneven ruin go back to the energy scan suggestion

When I run that scan I get this error:
asyncio.exceptions.TimeoutError
with a bunch of lines below that looking like this:
error: CRC error in frame b'6f00000818930a0000212826cd741d3afe1c448100000004cd74022f017800c47e' (b'00c4' != b'2bc3')

#

[D][binary_sensor:036]: 'TubesZB Gateway Serial Connected': Sending state ON

#

Seems like it's connecting fine

obsidian sandalBOT
ocean cloak
#

So I should go with channel 25 then?

obsidian sandalBOT
#

@ocean cloak Rule #6: Please do not post codewalls (text longer than 15 lines) - use sites such as https://dpaste.org/ (pick YAML for the language), https://www.codepile.net/ (pick YAML for the language), or https://paste.debian.net/ (pick YAML for the language).

Please take the time now to review all of the rules and references in #rules.

sour shadow
#

25 is a good choice there

#

Doubly so as it's a well supported channel

ocean cloak
#

Debatably a "code wall" if it's 15 lines, but ok

sour shadow
#

19 lines of text... that's all the bot cares about

ocean cloak
#

command '~codewall' was invoked by: Tinkerer thought it was you

sour shadow
#

Yes

lucid pagoda
# tropic depot You could wire real switches to your cut stations

Not possible. I need to be able to probe specific devices to calculate the round trip time periodically. Should be possible.

Is there, for example in a bulb, any way to get a response? What about identify? Then I'll calculate response time and update a table

sour shadow
#

And the bot removed your mess... I'm reminding you to pay attention to the rules

ocean cloak
#

I'm kinda inclined to just use channel 15 if that's what zha was using since that worked flawlessly for me for months

tropic depot
ocean cloak
tropic depot
#

From zha to whatever you’re using

ocean cloak
#

Just heard good things. Generally seemed to be a little more complicated but also more powerful. I've been mostly happy with it so far. Has given me more entities and support for more devices

lucid pagoda
# tropic depot Why

Why to probe devices? So I can know the delay and compensate for it at the end of the cut.

ocean cloak
#

I have to re-pair all of my devices after changing channels, right?

austere patio
#

Yep

ocean cloak
austere patio
#

Though some I've heard migrate if you power cycle them

ocean cloak
#

I wasn't totally sure how to read the output, 25 generally seemed lower but it spiked just as high as others sometimes

austere patio
#

Sure

#

Or stick with 15 if it worked before

#

Doesn't really matter, it just seems like 11 may not be ideal

lucid pagoda
#

Is there a command to a Zigbee bulb that sends back any response to HA? That would allow me to predict mesh delays to that device. What about Identify? What does that do?

ocean cloak
#

Guess I'll give 25 a shot for now

tropic depot
ocean cloak
#

configuration-adapter mismatch

austere patio
#

You'll have to delete the coordinator backup most likely

ocean cloak
austere patio
#

I think in the same folder as the Z2M config

ocean cloak
#

coordinator_backup.json?

lucid pagoda
lucid pagoda
tropic depot
#

Welcome to the worst hobby of hobbies

ocean cloak
#

That seemed to do it. Odd that's a setting you can change in the UI but it requires manual intervention

#

1 down, time to run around my house

#

Just gotta 1 tap them. This is actually pretty easy

#

Should attach a switchbot to all my devices to automate it 😈

ocean cloak
#

Thanks guys. All reconnected on channel 25. Will see how the reliability is

toxic herald
#

A highly stupid question. But maybe I got it wrong. Zigbee should be a mash network. So A - B - C - A device A is connected to both B and C. And b and c is also connected. If quality of link between A_B is like 140 and B-C is 100.A-C have like 40. So message between A-C go through B then? Or do A-C talk to each other. The link should be better going over B. Asking because I have problem with devices that are far away. The one close always work me turns on and off, but the far away like C a few times per month don’t get the commands. Just want to understand how it works

lucid pagoda
#

Is there an existing tool or something I can install to inspect Zigbee traffic directly in HA without using a sniffer?

crude otter
#

so i have some zigbee sensors out in the (detached) garage.. and they sometimes drop off the network (i assume due to distance).. i have one of these things sitting in a drawer (https://www.aliexpress.com/item/1005003065087094.html) and wondered if there is a way to use it (with router firmware?) to help my situation.. or, some other alternative

lucid pagoda
lucid pagoda
crude otter
#

no

#

only battery sensors out there

lucid pagoda
#

That's your issue probably then

crude otter
#

i could swap out the wifi light switch for a zibgee one and see if that helps

lucid pagoda
#

Zigbee devices that have permanent mains usually keep mesh paths alive

crude otter
#

i still have my doubts that a mains powered zigbee thing will get a reliable signal back to the house

lucid pagoda
#

I had no issue with them. Just when guests cut off mains switches

crude otter
#

i have buried cat6 runs to the garage though

lucid pagoda
#

But how does that help? Your Zigbee coordinator is in the house, no?

crude otter
#

yes

#

i was just looking at this thing in the drawer.. its an ethernet connected zigbee hub

#

its sitting here, doing nothing

lucid pagoda
#

You just need something Zigbee, preferably Zigbee 3, close to the garage with permanent mains

#

But you'd have 2 hubs. Maybe, I don't know

crude otter
#

well, i was wondering if i could use router firmware

#

but i guess that wont help

#

i might as well use one of the wall switches i have here instead

lucid pagoda
#

Yeah, makes sense that HA would be able to interact through such a topology but have no idea

#

Would be interested in that though because that would be the way to go for large installations

crude otter
#

i think what would happen is..

#

the ethernet thing would be its own zigbee mesh

#

and need the tuya integration to work

#

or a 2nd network in z2m or something

#

for now, i might try to swap out the Sonoff Mini for a Sonoff Mini ZB

#

see if that helps with the mesh

lucid pagoda
#

Why Tuya? Pretty sure HA has an integration. I know it can connect to a bunch of hubs

crude otter
#

im more expecting the light (that uses the switch) to be less reliable then lol

lucid pagoda
#

lmk

crude otter
#

Z2M might be able to 2 several

#

but that seems messy

lucid pagoda
#

Not an extra mesh. An extra network device

#

Over LAN

crude otter
#

being able to bridge meshes via ethernet seems like a great idea for large area installs though

lucid pagoda
#

From your post this is probably the way to go but you'd need another HA instance. Sounds about right:

"I know that one approach would be to have several Raspberry Pi's as coordinators, each with its own PAN (personal access network, an isolated communicating group of Zigbee devices). I'd pair each Tradfri device with its nearest coordinator, and all the command and control would be MQTT over the LAN."

I would try the Zigbee relay switch you have with permanent mains first

crude otter
#

yeah

#

i could get my electrician friend to put another power point in, in the corner closest to the house as well i guess

#

and put a repeater in there too

lucid pagoda
crude otter
#

i remember buying it because i was sick of the zigbee->wifi thing sucking

#

but in the meantime, i got the Sonoff Zigbee 3.0 Dongle Plus thing, and used that instead

#

so that ethernet based one has been sitting since it arrived.. never used

near echo
#

I have been using sonoff zigbee 3.0 and it works great. You don't ceen need the extension cable since it has a sort of cover that manages interference

unborn orbit
#

Tube I can't find the image with jumpers on 2652 coordinator to switch between usb and ethernet. Can you link?

unborn orbit
#

nvm foun dit

#

On another note, just updated z2MQTT and now I can't access the webUI. All devices work, but just can't get into UI. Any idea how to fix?

hot tendon
#

@unborn orbit try clearing cache. Or just keep trying to open it, one of those worked for me 🙂

ocean cloak
#

Ugh having a frustrating night. I have a Hue motion sensor that I think has fine batteries but I'm trying to test new ones just in case, and now spontaneously the z2m frontend just refuses to load. Like I was literally just there a few seconds ago and it was working fine

#

Restarted z2m and HA completely

#

Well looks like it might've been the batteries. Now it's reporting 100% batteries as opposed to before when...it was also reporting 100% 😑

jolly python
#

How long have you operated the motion sensor with the old battery? They‘re lasting very long, like up to 5 years

crude otter
near echo
#

Nope. And the multiple sticks that me and my friends use. Never had the problem. In fact we are writing openthread on the dongle we got at cheap in bulk

crude otter
#

mine has only done it once

near echo
#

I think people still have bad experience from the earlier cc2351 dongles. But this "new" dongle is based on the TIs flagship standard of CC1352p. There isn't much around the stick as well to fail. I would have wish they provide some pinouts