#zigbee-archived

1 messages · Page 171 of 1

radiant spruce
sleek cipher
#

Is it normal for the ZHA integration to take a long time to start up? I am using a conbee 2 stick.

molten linden
#

Email sent to anyone who ordered Dec 15 forward.

sleek cipher
#

Anyone have experience with this ZHA warning: 2022-01-06 16:03:44 WARNING (MainThread) [zigpy.application] Device is partially initialized: <DeconzDevice model='ConBee II' manuf='dresden elektronik' nwk=0x0000 ieee=------- is_initialized=False>

austere patio
sleek cipher
#

Home Assistant 2021.12.8

#

Had the same issue with 12.7

austere patio
#

It's nothing to worry about, should probably be downgraded from a warning to just info or debug

sleek cipher
#

I am having start up problems with ZHA, i thought it might be that.

#

taking 172.51 s to start.

austere patio
pearl atlas
#

anyone here using zigbee with socat or ser2net?

austere patio
#

What's not working?

#

Both are supported by both ZHA and Z2M

sleek cipher
cerulean kindle
#

hello people .. since a few day i face a huge delay in my zigbee.. especially for one button 😛

pearl atlas
#

do i have to repair all of my devices if i switch migrate from Conbee 2 to Sonoff Zigbee 3.0 Dongle Plus?

austere patio
#

Update the Conbee to the latest firmware. This will migrate your network settings to the Sonoff stick.

serene viper
#

Replacing my Wyze sense v1 contact sensors as I lost a few due to known low battery issue. Would you guys prefer RF 433MHz or Zigbee? I have both sonoff RF and Zigbee bridge, I just feel RF would give more range but I also want to think about future proofing my setup. Found a RF sensor which sends both open and close codes but doesn’t report battery status. Any suggestion or thoughts?

pearl atlas
#

zigbee is better. pick up some of the aqara motion sensors

sleek cipher
austere patio
sleek cipher
austere patio
#

You're getting a lot of TXStatus.NWK_ROUTE_DISCOVERY_FAILED statuses when the Conbee first starts up

#

But it receives packets fine

#

@sleek cipher I think this is just a Conbee "issue", it doesn't seem to persist routes so it may take a bit for it to "start up"

sleek cipher
#

That is too bad. :\ I should also mention I have a bulb that I dont always keep powered so could the route discovery issue be due to that? Starting Hass with the bulb on does not speed up startup time

royal star
hazy oak
#

I'm running Zigbee2MQTT on a Conbee II. Everything is working just fine, is it at all future proofing if I move to an Electrorama ZZH? Like would it be faster, or better handle more devices? (currently about 30)

hazy oak
#

OK, so just reviewing some of the previous conversations, it looks like the Conbee is not a favored device. I'll spend some time trying to back up and migrate while all of this is still fresh in my mind.

serene viper
royal star
obsidian sandalBOT
#

@chilly storm Rule #6: Please do not post codewalls (text longer than 15 lines) - use sites such as 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
chilly storm
#

@sour shadow , thanks I'll have a look 👍

verbal shale
#

any probleme?

#

for that price, seems a good deal

sour shadow
#

Tuya Wifi != Zigbee

violet dagger
#

but it's a good deal 😉

noble creek
#

Hoi!

Quick question, im a node red user, and have earlier before Z2M used Deconz, and later on ZHA for Zigbee integration, and was able to use deconz_event, and zha_event to scan all messages posted from the devices.

How do i do that now that im using Z2M, as there seem to be no dedicated z2m_event or mqtt_event bus?

sour shadow
#

There's no events, no, but typically you'd subscribe to a topic

#

Or # and get the firehose

verbal shale
noble creek
# sour shadow Or `#` and get the firehose

I havent gotten that far yet, i have just migrated my 40 devices to Z2M and noticed that none of my NodeRed automations work any longer. I figured i would just change the bus, but got a bit stumped as there was no documentation mentioning a bus 😛

#

But that would mean that i no longer can use the "Event: all" node in NodeRed right?

sour shadow
noble creek
#

And no, im not using a direct link from NodeRed to Z2M, as i have all the devices in Home assistant though z2m, i can simply access the devices and gets the states directly in NodeRed.

But for devices that dont have states, such as Ikea buttons, Aqara buttons, Osram buttons etc, one would have to read the messages and match for commands/ids/or other parameters in the json object, this is the part im having trouble with right now, as i simply dont understand how i should access the data flow.

@sour shadow you mentioned subscribing to a topic, this would most likely be the topic name in Z2m right? I named mine "ZigBee"

#

Ah right, ill check out the channel, thx 🙂

dense pilot
#

@everyone Hi,
I have a brand new aqara door/window sensor. The open/close state works normally, but I can't get any battery state. Anybody know how to get it?

sour shadow
#

Thankfully you didn't actually ping 84 thousand people there @dense pilot

dense pilot
#

ups

sour shadow
#

The blind use of @everyone is incredibly rude, on any server beyond just you and your friends

#

A little more thought will go a long way 😉

dense pilot
#

sorry, had no bad intensions

sour shadow
#

I didn't think there were, you just didn't think first shrug

#

However, to answer the question we also need to know which Zigbee integration you're using

dense pilot
#

ZHA

dense pilot
slate leaf
#

Hello, is there a way how to force ZHA not to use a quirk for a device?

mild radish
#

hey! 🙂 Migrated from SD-Card to an external SSD today. Everything works fine except for the Conbee II + deCONZ. I saw, after it was too late, that I shouldve taken a backup inside of Phoscon.

I dont have a big setup though, so no harm done there. However I am unable to find any devices now. I've removed deCONZ + the integration, reinstalled it and reset the dongle through Phoscon (Reset to de-couple from devices etc).

Still I am unable to find anything through Phoscon. Searches for 3 minutes and then I just get "Failed to connect". Any pointers on where I should start looking?

slate leaf
mild radish
jolly narwhal
#

Pair routers first

#

Then end devices

slate leaf
#

do you point on correct device in your configuration? I don't know how is it in conbee, but raspbee definetely need uart active in config and then also pickup correct device (/dev/ttyAMA0).

mild radish
#

Yeah, device is set to:
/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2430387-if00

mild radish
jolly narwhal
#

Pair any device that does routing

#

Bulbs, outlets, dedicated routers

slate leaf
#

If you have them. But basically any bulb is router

jolly narwhal
mild radish
#

Ah yeah no routers. I've got temp/humidity sensors + door/window sensors. But I dont have the Aqara Hub

slate leaf
#

Yeah, basically

mild radish
#

So basically: Sensor -> Conbee II -> RPi/Home Assistant.

mild radish
#

Whats the upside? I thought the entire point of having a Conbee was to be able to pair directly with devices. Most hubs you buy (Like the Aqara one) lets you connect to the devices etc through the hub/wifi.

slate leaf
#

Yes in case that you have lotta devices or end devices too far from the coordinator, but it will definetely work even without them

mild radish
#

I was under the impression that "mo boxes, mo problems".

jolly narwhal
#

Routers create a mesh

#

That communicate through multiple paths

#

The number of direct children of a coordinator is also limited

#

And your range and reliability will increase with a mesh

#

Currently you only have point to point communication

#

Also if the range is borderline without routers you will have battery drain from hell

slate leaf
#

Yes atxbyea is right and it is definitely good to know, once you will expand the number of devices, but if you have just few, like 5 sensors and as I said not so far from coordinator, you will be still able to control them. So just let's stick with this. Take one of that devices bring it closer to your coordinator and try to repair it

mild radish
#

Oh, ok 🙂 Did not know. Thanks! Will, in other words, have to be more careful as I add more devices not to add from too many platforms. Having 10 different boxes/hubs seems silly.

However, not the problem now - this worked fine before the migration. And the one I'm trying to pair first is literally 3 metres away from the Conbee.

jolly narwhal
sour shadow
#

Three meters of open air? With no WiFi interference? And the ConBee is on a USB extension cable, not on a USB 3.0 port?

jolly narwhal
#

Pair in its actual location

jolly narwhal
sour shadow
#

Routers good
Hubs bad

slate leaf
#

His question was how to get them back to hass. So yes bring them closer. If you succeed to repair them than you should follow the suggestions of atxbyea, which mean, buy some router

sour shadow
#

No, don't bring them closer

#

Do that, move it back, and bingo it doesn't work

mild radish
slate leaf
#

But you will find out the problem

sour shadow
#

WiFi isn't about "between" it's about RF - check the pins

#

Same for putting it on an extension cable

mild radish
#

Fair enough. But feels like we're looking at the wrong place, no? The dongle, the RPi and all the sensors havent moved. Only thing thats changed is -SDCard +External SSD (backup from SDCard installation, import on the External SSD).

sour shadow
#

The external SSD could be causing a drop in power, or more RF interference, or both

molten linden
mild radish
#

Drop in power is interesting. However I do have the original power supply meant for RPi 4.0, so should be more then enough to cover both.

RF interference however might be an issue.

mild radish
sour shadow
#

Yeah, but you've changed the RF environment

slate leaf
#

I had similar issue week back while having another device plugged in to USB. Once a time I have lost all devices. After unplugging it, no Issue

mild radish
#

Damn, allright! Cant really unplug the external harddrive though... but with a USB-extension cable I could possibly provide enough distance between the dongle and harddrive. Which could help then I guess?

#

Sorry for my lack of knowledge regarding RF, never really had any issues with that with other types of tech. But Zigbee/Z-Wave is completely new to me. Is it fair to say that they are more "fragile" in terms of RF?

jolly narwhal
#

Not if done properly

#

But requires a few steps

#

In the end it will be more reliable and flexible

mild radish
#

Allright. Thank you so much for all your help @jolly narwhal @slate leaf @sour shadow @molten linden 🙂 Awesome community.

Multiple leads for me to follow up on and make improvements upon.

scarlet vigil
#

Hello all - I'm looking to use ZHA so I can ditch my SmartThings and Hue hubs. I'm just wondering how well the network is at self repairing if a router goes offline? Most of my routers will be bulbs, and while we just leave them on all the time and let HA turn them on and off, guests sometimes turn them off. I don't have an issue with them on Hue, but I don't know if that is due to ZigBee or something propriatory on the Hue hub.

spice kelp
#

i just got a new router to extend my mesh, but none of my existing end devices are routing through it after a couple days. is the best course of action to re-pair devices to have them pick a new router? I'm on Z2M

jolly narwhal
jolly narwhal
sterile sleet
#

driving to ikea. is there anything fancy new in the zigbee area I should get?

jolly narwhal
#

Very little new

spice kelp
jolly narwhal
#

Yes, i think you can do selective pairing in z2m now too

#

Never used it

slate leaf
#

Hi all, am wondering if I can setup in Zigbee2MQTT on my TRV local_temperature_calibration and local_temperature then shows as calibrated, then turn off the ADDON and turn on ZHA Integration the temperature is not calibrated, does it mean Zigbee2MQTT is computing the value out of the device?

eternal pawn
#

Hey just got my Sonoff Zigbee 3.0 Usb dongle, i wanna use zigbee to mqqt.

  1. Created a new user for mqqt and added it to the config
mqtt:
  base_topic: zigbee2mqtt
  user: mqqt_User
  password: xxxxxxx
  1. Looked up my USBport where the dongle is: /dev/ttyACM0

and added it to the config
(device got found by HA)
3) installed mosquitto broker
I get this error when starting:

#
    at SerialPort.<anonymous> (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/znp/znp.ts:146:28)
    at SerialPort._error (/app/node_modules/zigbee-herdsman/node_modules/@serialport/stream/lib/index.js:198:14)
    at /app/node_modules/zigbee-herdsman/node_modules/@serialport/stream/lib/index.js:242:12```
#

trippel checked the port

raven jewel
#

Use the serial ID instead of the port, it'll be much more reliable.

candid jewel
#

• I have two Aqara motion sensors.
• I'm using a Hass.io VM and passing through my USB dongle (Nortek Gocontrol HUSBZB 1)
• I am using ZHA. When I hold the button on the Aqara motion sensor, it successfully adds the device and shows status at that time.

The issue is that the device never updates again. The "Last Seen" doesn't change from the original pairing time.

Battery is over 70%
using core-2021.12.8

Anyone have any idea what could be the issue?

austere patio
jolly narwhal
candid jewel
#

welp.. after going through the process of updating the firmware of my usb stick, swapping batteries, rolling back and forward home assistant.. I realized that..

Holding for 3 seconds doesn't enter pairing mode.. it resets the device.

jolly narwhal
raven jewel
#

Well, that would be a problem

jolly narwhal
#

It is just repair tbh

#

Unless you mean a button on the stick

eternal pawn
#

@jolly narwhal ls -lla /dev/serial/by-id: no such file or directory

jolly narwhal
eternal pawn
#

will check the link from reosemary

jolly narwhal
#

Then you have no serial devices

#

Plug in and out and do a dmesg

#

Did anything get registered?

eternal pawn
#

new usb device found, idvendor=10c4, idproduct=ea50, bcdevice = 1.00

#

product: sonoff zigbee 3.0 usb dongle plus

#

now i just take the serial number ?

#

fcbaf5dda9c9eb199bfc914f1d69213e ?

jolly narwhal
#

So no serial device detected

eternal pawn
#

with dmesg

jolly narwhal
#

Is it flashed?

eternal pawn
#

i find the usb device

#

with the serial number

#

i guess i missunderstood "pre-programmed"

#

from the recommended zigbee2mqtt website

#

will work myself through the flashing instructions

#

yickes xD

jolly narwhal
#

Oh did we forget the trailing /

#

ls -lla /dev/serial/by-id/

eternal pawn
#

yep

#

we did

jolly narwhal
#

That's what you get for typing on a phone

eternal pawn
#

lrwxrwxrwx 1 root root 13 jan 7 18:50 usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_plus_fcbaf5dda9c9eb199bfc914f1d69213e-if00-port0 -> ../../ttyUSB0

jolly narwhal
#

That'll be the path to use

eternal pawn
#

so i should use ttyUSB0 instead of ttyACM0 ?

jolly narwhal
#

No

#

Use the full /dev/serial path

eternal pawn
#

/dev/ttyACM0

#

/dev/ttyUSB0

#

then

jolly narwhal
#

No

analog lark
#

/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_plus_fcbaf5dda9c9eb199bfc914f1d69213e-if00-port0

jolly narwhal
analog lark
#

Felt pity on you using your phone. 🙂

jolly narwhal
#

Even one handed

#

The life of having a baby on the arm half of a day

analog lark
#

Now if the monkey had 10 thumbs that would be me...

eternal pawn
#

no errors when starting up

#

ty guys

jolly narwhal
slim wedge
#

I'm trying to understand how to use Binding with ZHA. I've got a Wall Switch and two RGB Bulbs, and I wanted to set up the switch to bind on/off, but I want to make sure the binding is a "one way" control where the switch controls the state of the lights, but the state of the lights doesn't control the switch.

Is that the normal behavior of binding?

#

I'm trying to make sense of what to select in the "Manage Clusters" menu to set up binding of the switch to the light bulbs, but I'm not understanding it

tropic depot
#

go to the device card for the remote

#

manage clusters

nova quest
#

hey is it possible to force my zigbee device to only connect to the controller via another zigbee device, and vice versa? Right now I installed a new zigbee device and a few of my existing ones want to route through it, but the connection isnt that stable on that route so I'd like to have them NOT take that route, and instead go straight to the controller as it used to.

tropic depot
#

in the bindable devices dropdown select the light

#

click bind

#

and make sure you wake up the remote so it accepts the command

nova quest
#

or any article on zigbee clusters and binding would help in my understanding as well. (I assume)

tropic depot
#

zigbee self manages nwk routing

nova quest
#

hmm, ok.

#

I guess I just need to determine why the new device connection is so bad (it's outside and in the cold, but it worked fairly well when I first installed it)

slim wedge
tropic depot
#

doesn't exist

#

i never finished it

#

:S

#

that entire dialog needs a makeover

#

but it isn't high up on the list of things to work on atm

slim wedge
#

can it be queried somehow?

tropic depot
#

there is a way to query the device I think... but also not implemented yet

slim wedge
#

heh, ok. And, can I bind the switch to multiple devices this way? Just pick the device, click BIND. pick the other device, click BIND again?

tropic depot
#

use a group if you are gonna do that

#

create a zigbee group w/ the devices you want to control together

slim wedge
#

I'm used to Z-Wave Association Groups where you have to add all the deice ID's to the group on the device at once

tropic depot
#

then bind the remote to that

#

steps are a bit different

#

go to the ZHA config page

#

then the group tab

slim wedge
#

I do have a Zigbee group for the two lights

tropic depot
#

perfect

slim wedge
#

Group Id: 0x0002

tropic depot
#

go to the device page for the remote

#

manage clusters

#

select a bindable group

#

then tick the boxes for the functions you want to bind

#

then bind group and wake the remote

slim wedge
#

I have the switch and the lights all turned on right now, is "wake" something different?

tropic depot
#

wait is this a hard powered switch?

slim wedge
#

they each use Mains power so not a battery device or anything

tropic depot
#

not a remote?

#

ah

#

just let it rip then

slim wedge
#

sweet.

#

Ok, I'll go plug these into the a non-switched outlet and see what happen!

tropic depot
#

cool GL

nova quest
#

@tropic depot thanks for everything you do sir

slim wedge
#

So, I picked the group, a checked the options to bind "OnOff" and click BIND GROUP. Then I went over to the wall switch and toggled the switch off, and on but the lights are not changing. 🤔

#

The OnOff ID is 0x0006 with the Endpoint value of 2, if that means anything? heh

tropic depot
#

anything in the logs?

#

put debug logging on (you can see how in ZHA docs)

#

do it again

#

and post the log somewhere I can get to it

slim wedge
#

Is it normal for the controller to show "offline" in the Visualization for some reason? heh, maybe I should restart HA or something. I just added this switch last night and I can control them from HA so I am not sure why the controller would be offline.

tropic depot
#

that's fixed in dev

#

it isn't offline

#

ignore it

slim wedge
#

alright, cool

undone eagle
#

How to send photo? I have a problem with pairing zigbee module

#

One is like not being supported and other is ok

#

One zigbee model is TS110F when other is TS110E

#

QS-Zigbee-D02-TRIAC-2C-LN

slim wedge
#

I see this too
2022-01-07 13:26:59 DEBUG (MainThread) [zigpy.zdo] [0x0098:zdo] 0x0098: Bind_req 5c:02:72:ff:fe:cc:bc:92, ep: 2, cluster: 6 to group: 0x0002 completed: [<Status.SUCCESS: 0>]

tropic depot
#

so it says it works...

slim wedge
#

Looks like the command to turn off the switch here maybe?
2022-01-07 13:27:20 DEBUG (MainThread) [zigpy_deconz.api] Device state changed response: [<DeviceState.128|APSDE_DATA_REQUEST_SLOTS_AVAILABLE|APSDE_DATA_INDICATION|2: 170>, 0]

#

And is this saying it doesn't know what to do with an Off?
2022-01-07 13:27:20 DEBUG (MainThread) [zigpy.zcl] [0x0098:2:0x0006] No handler for cluster command 0

#

Probably better to share the whole log since I've never seen this before, heh

tropic depot
#

what coordinator do you have?

dapper horizon
#

Hi guys,
I updated my zigbee2mqtt from 1.18 tot 1.22. and I cant add my ikea tradfri lights.
they show up in my logs but wont be added to my entity list.

slim wedge
#

dresden elektronik ConBee II

sleek cipher
#

I have an aqara vibration sensor that Ive paired with ZHA. I am looking to access the tilt degree value. Currently I have a template that reads the zha_event. However this resets with HAss resetting. Is there any way to set these values as attributes within the sensor?

jolly narwhal
dapper horizon
#

ha

#

I'm using a sheppard stick

#

hmm when I go to the zigbee2mqtt frontend they show up

jolly narwhal
#

Sheppard WhiteGuyBlinking

#

Sounds like a mqtt auto discovery issue

royal star
#

99% of zigbee problems could honestly be solved by using a 1352 or 2652

dapper horizon
#

it always worked great

#

but I think it has to do with that I upgraded my Z2mqtt (from old branch to new)

#

(cc2531 that I'm using btw)

jolly narwhal
#

Yeah that is horrible

sour shadow
#

Yes

dapper horizon
#

but in my case it's hassio that's being the problem

jolly narwhal
#

Not likely

#

Rather mosquitto or integration configuration

dapper horizon
#

in the z2mqtt ui it does show them and they work

#

but hassio doesnt show them

jolly narwhal
#

Yes

#

Then it is mosquitto or integration issue

slim wedge
# tropic depot so it says it works...

I had to poke at it a little more, but it turns out if I just do the Device Binding for both of the lights, it actually works... ?! So, I'm not using the Group Binding. I did try to "unbind" the group too, but all I did was...
configuration / integrations / configure zha / devices / select my wall switch / manage clusters
device binding / select lamp #1 / BIND
go fiddle with the wall switch, and the lamp turns off and on with the switch
device binding / select lamp #2 / BIND
go fiddle with the wall switch, and BOTH lamps turn off and on with the switch
¯_(ツ)_/¯

wispy pecan
#

Hey guys, i received my Sonof 3.0 Zigbee Stick today and connected my first Xiaomi Lumi (Humidity Sensor) Is there a way to change the update interval as in how often i get the device status?

sour shadow
#

Unlikely - they'll report as the values change "enough"

alpine cipher
#

Hello everyone, previously when I updated my Z2M firmware, I was advised to unpair and pair all of my routers. I'm now planning to move from 20210708 to 20220103 both zStack3x0. Do I need to foresee the same ?

wispy pecan
#

Ahh ok

sour shadow
alpine cipher
#

thanks !

wispy pecan
#

Anyone else using these sensors by chance? On the Device List its flashing red % and it reports battery lvl NA% Does this mean its not exposing thins? I also tried changing the batteries as they came with batteries already installed and active

jolly narwhal
#

Mine expose that fine

#

Using z2m at least

slim wedge
#

Enbrighten 43076 Zigbee in-wall switch doesn't support multi-tap gestures. Is that something you only get with a dimmer switch?

#

I have an Enbrighten Z-Wave wall switch that does double taps, so I figured the Zigbee would too. Maybe I'm holding it wrong?

eternal pawn
#

is there a min. LQI thats adviced

sour shadow
#

If the device isn't working the LQI is too low

eternal pawn
#

ok

#

xD

sour shadow
#

You can't compare the numbers since they're calculated differently by different chipsets, and different manufacturers

#

20 might be bad, or just not great, or just fine

eternal pawn
#

alright makes sens

#

e

#

ty =)

jolly narwhal
#

Less Quality Indication

dapper horizon
sour shadow
#

Did you enable Home Assistant support in Z2M?

dapper horizon
#

yes

slim wedge
balmy prism
#

Hi, I'm having trouble setting up my slaesh usb coordinator (https://slae.sh/projects/cc2652/) with homeassistant OS, hoping someone can help me take a look
I have mosquito broker and zigbee2mqtt installed

seeing this in HA logs: https://pastecode.io/s/u0ux318a

presumably, due to the coordinator being unavailable, zigbee2mqtt also fails to run: debug lvl log with zigbee_herdsman_debug: true - https://pastecode.io/s/8kf7qz3x
Zigbee2mqtt UI shows empty device list (iirc, the coordinator should be a device in here)

spark summit
#

Hej, I'm using the slaeh's CC2652RB zigbee stick on a RPI4 with a 50cm cord with ZHA as the integration of choice. I'm wondering why I get so bad LQI values. I have just two green devices being two radiators connected to a switch device. They are further away from the coordinator then the switch and in the same room having a much lower LQI and everything else is either red or grey. How can I find the reason for the network quality being so low?

austere patio
#

Unless you experience actual performance issues or devices "disconnect", I wouldn't worry about LQI or the colors in the visualization

#

But there really isn't much you can do to increase LQI between devices aside from adding more routers or re-joining end devices through specific routers and hope they don't switch parents in the future

spark summit
#

I have some devices that won't join. They are quite far away, but I have other devices in the same room being connected already and reacting fast to commands.

austere patio
#

Do you have any routers?

spark summit
#

Most of my devices are.

austere patio
#

When you say "LQI", do you mean the numbers on the links between nodes in the visualization, or do you mean the LQI value displayed in the device page?

spark summit
#

I would say from 25 devices about 15-20 are routers.

#

The numbers on the lines in the ZHA visualization.

austere patio
#

Do you have a WiFi network on a nonstandard 2.4GHz channel (i.e. not 1/6/11) or using more than 20MHz channel width?

spark summit
#

I have two WiFi routers. Both running on channel 1 and ZigBee on 25. I didn't explicitely set the channel width, but I will try that.

austere patio
#

If you didn't it's probably going to use 20MHz, but WiFi 1 and Zigbee 25 are on opposite ends of the spectrum so it shouldn't matter

spark summit
#

That's why I chose those.

austere patio
#

That being said, unless you explicitly re-formed your network on 25 or set the ZHA channel config before ever using your adapter, it will be on channel 15

spark summit
#

I set it to 25 before setting it up I think. Can I see the actual used channel somewhere?

austere patio
spark summit
#

Okay then I restart. Logging is activated but probably already gone as it's logging that much 😂

#

channelList=<Channels.CHANNEL_15: 32768>

#

Looks like I didn't manage to set it to 25 ^^

#

But that would explain some problems I had before. I just recently switched from WiFi channel 6 to WiFi channel 1.

#

Guess as I don't have that many devices, I'll just do a re-setup of everything.

still raptor
#

Hello. Can anyone help me with this problem I’m having. I had a sonoff cc2531 zigbee dongle with zigbee2mqtt. It worked fine. I upgraded to 2 of the new sonoff 3.0 dongle and flashed them with the firmware on the zigbee2mqtt tutorial (one as coordinator and the other as router). I started having problems saying the same pan_id was being used, and eventually I uninstalled zigbee2mqtt and I was able to make it connect. But I can’t find any devide. Neither the ones that previously worked with the old dongle, neither the newly flashed router.

#

I tried installing back the old dongle and I can pair the devices again, but not the new dongle as router. I have re-flashed them with the stable and the latest firmware without any changes to this problem

#

What could it be?

austere patio
spark summit
#

Okay, I'll do that.

#

And then configuring this is right, is it?

channel: 25 # What channel the radio should try to use.
channels: [25]

austere patio
#

Yeah

spark summit
#

Even though I don't know what the second argument is for...

lilac wharf
austere patio
spark summit
#

But thank you. It's a good note and I will change the one in the office to 6 again.

still raptor
#

Does anyone has any tips for my problem?

#

I’m stuck in this for 5 hours

austere patio
#

What problem is that?

austere patio
#

Have you tried flashing the two Sonoff CC2652Ps as the opposite type?

still raptor
#

Yes

#

And reflashed as the same type as well

#

I just reinstalled the old dongle and after erasing the coordinator_backup.json and the database (and changing the port in the conf), my device showed up instantly in pairing mode.

#

But the router didn’t, again

austere patio
#

It's not unheard of for the Sonoff dongle to have issues like this

still raptor
#

Is there any possible fix?

#

And both devices..

austere patio
#

I don't think it's a software or firmware problem

still raptor
#

I opened the case and there is a switch and 2 buttons. The switch position could have something to do with this?

austere patio
#

Switch is only for toggling flow control for the serial port, if you can connect to the dongle it makes no difference

#

Not sure, you're not the first to report the Sonoff just not working despite devices joining fine with other coordinators

still raptor
#

Got it. So.. nothing I can do, it seams

#

I will try a refund from itead then

austere patio
#

Do you have the antennas screwed in properly?

#

Correct connector type?

still raptor
#

I think I do. I think applied that much force on them, but they are in.

#

What connector?

austere patio
#

I'm just wildly guessing, I doubt they'd send the wrong antenna type

still raptor
#

Oh, yeah, its the right type. I just reflashed them. All to coordinator. Will try again last time

#

The other problem I always have is that when I switch from the old to the new, after I start zigbee2mqtt, I keep getting 502 bad gateway

#

Just happened now

#

And then I get that most likely network with the same panID or extendedPanId already exists nearby

#

Well.. look at that.. it worked

#

It found my device..

#

I will try turning the other one into a router

#

Just changing the firmware and plugging it should make it show up? Or should I do something else?

austere patio
#

There should be a procedure to get it to enter joining mode but maybe not

still raptor
#

Let me try

#

It showed up

#

Just like that

#

I THINK I know what could happened. I use a nuc with proxmox for HA. And I have a smb server with a external hd connected to it. I left the dongle over the hdd… the magnets must have interfered with the signal. Even tho the old one was in the same spot with no problem

austere patio
#

That is very possible

#

And would be the root cause of the "pan ID conflict" error

still raptor
#

Well.. good to know. I could have spent 20 minutes in this, but lost 6 hours because of a misplaced hdd.. the more you know

#

Thanks for the help!

jovial aspen
#

i'm seeing some really weird behaviour in all my zigbee kit today

#

lights flicking on/off/on/off/on/off when i try to turn them on or off

#

sensors reporting being connected, but not updating (on movement detection for example)

#

contact sensors taking multiple seconds to update when a door opens or closes

#

some of my motion sensors that do trigger, get locked in 'motion detected'

#

some zha_events, like a single button press on an aqara button aren't being detected, but a double press on the same button works fine!

#

this has all just started happening in the last hour or two

#

i've reloaded ZHA, restarted HA core and rebooted my HAOS box

edgy minnow
#

Sounds like a zigbee network signal issue to me....How many devices in your network?

jovial aspen
#

60

edgy minnow
#

Any primary routers between coordinator and rest of devices gone offline?

jovial aspen
#

nope

edgy minnow
#

Anything showing in your logs?

jovial aspen
#

my routers are all hue bulbs, they're all on

#

nothing ZHA specific

edgy minnow
#

I suggest you turn on the ZHA debug logging

#

that gives way more detailed information and you will see every command issued and received etc.

#

What device are you running HA on?

jovial aspen
#

rpi4

#

up-to-date everything, haos, core, supervisor

#

i haven't changed anything since this morning either!

edgy minnow
#

logger:
default: info
logs:
bellows: debug
zigpy: debug
zhaquirks: debug
asyncio: debug
homeassistant.components.zha: debug
homeassistant.core: debug

#

add the above to your config file

#

then reboot

#

thats the first step towards learning what the issue is and then hopefully solving it.

jovial aspen
#

ok done, restarting now

edgy minnow
#

any new sources of interference in your home? E.g. is your wifi on auto-scan for 2.4ghz? This could cause random interference if your router started to broadcast on channells that overlap zigbee

jovial aspen
#

this is because i said "zigbee was generally reliable" yesterday

edgy minnow
#

the ZHA logs will give us more info

#

give the network some time to reform. Then go press a few aqara buttons and see if issue persists. The log will then capture what is going on.

jovial aspen
#

ok what am i looking for

#

huh

edgy minnow
#

send me a copy of your log and I will take a look for you

jovial aspen
#

so the light that was flickering, i turned it off at the switch and back on again, now my button is working again

edgy minnow
#

Ahh

#

so you had a device in a funny state that was causing the issue most likely

jovial aspen
#

so one dodgy router and the whole zigbee network goes to shit

edgy minnow
#

think of it this way. A zigbee network is like a room full of people. But instead of trying to all talk together. Each person passes a message to the next quietly.

#

thats called unicast communication

#

Zigbee then supports multicast which is where a person shouts out a command for EVERYONE to listen.

#

example would be you have 30 lamps and you want them all to turn on together you send a multicast which is 1 message instead of sending 30 unicast messages.

#

Now every router in your network supports both. If a router crashes or gets in a funny state. It can start broadcasting rubbish or delay commands reaching from your switch to your hub.

#

Zigbee is great but you really need to watch out for when devices fall off the network.

#

getting them reset quickly is important

jovial aspen
#

everything seems to be working again now

edgy minnow
#

That router was the cause of your issue then

jovial aspen
#

🤞

edgy minnow
#

BTW make sure to turn off the ZHA logging. Otherwise you will fill up your space very quickly

#

I am sure if you looked at the logs you will see the mac address for that bulb will have all kinds of errors listed

jovial aspen
#

ha yeah i'm doing that now

edgy minnow
#

Do you use ZHA groups?

jovial aspen
#

no

edgy minnow
#

they are handy if you have a room like my kitchen where i have 6 gu10 RGBCCT bulbs in ceiling. Creating a ZHA group those 6 bulbs shows as a single entity

#

and they work much faster

#

Plus you dont have to add each bulb when making an automation

jovial aspen
#

i probably only have two rooms where a handful of bulbs would need to be grouped

#

but thats a good tip

edgy minnow
#

I have an ikea stand lamp that takes 3 bulbs. Again its a life saver in this situation

#

for 1 lamp i have 4 entities. Group Entity and entity for each bulb

#

Just so you know if you start to play with ZHA groups. Sometimes if a device falls off the network and its part of a ZHA group. When you reset the device you should check that it hasn't left the group.

#

Anyway have a nice weekend. Glad you got sorted!

jovial aspen
#

cheers!

jolly narwhal
#

I do groups per room

vestal atlas
jolly narwhal
#

So I have 9 ZigBee groups

alpine cipher
#

hello everyone

#

i just did an update of my z2m firmware on my zzh stick and now i'm getting Error: SRSP - SYS - ping after 6000ms

#

i've checked if i have the right port

#

by using the following command : ls -l /dev/serial/by-id

jolly narwhal
#

Have you tried unplugging it?

alpine cipher
#

yes

#

reboot the rpi

#

put it in a different USB port on the RPI

#

I don't know what to do next

#

debugging is put on

jolly narwhal
#

Have you tried reflashing it?

alpine cipher
#

doing that now

#

that did the trick

#

other question

#

i have a reserve ZZH stick for if something goes wrong

#

would it pair with my devices ?

jolly narwhal
#

No, you would replace your current stick if it fails

#

You can flash it with router firmware

#

And use it as a router in the meantime

tepid gulch
#

Hello all

#

I search people to be help me to start with ZibGee

#

ZigBee

#

I have start a docker container with an Home Assistant, add my Sonoff usb to this, and connect a plug

#

I can switch it on/off, but normaly this plug can display the power

#

but I can't see it in home assistant, I would be confirm that is not possible due to this plug or my fault

jolly narwhal
tepid gulch
jolly narwhal
#

With privileged you don't need to specify the usb port

#

The container sees all

#

Afaik, i don't use it

tepid gulch
#

the first start it don't see the usb port

#

the 8th start that work lol

jolly narwhal
#

If you exec into the container, can you see anything under dev ?

#

Also, what is the output of docker ps -a

#

I suspect you have created multiple containers

tepid gulch
#

yes many container

jolly narwhal
#

You should move to docker compose

tepid gulch
#

but I don't know how remove it

jolly narwhal
#

You need to delete all the other containers preferably

#

docker rm name

tepid gulch
#

I'm use home assistant core in normal time, this docker is juste for test on my desktop

jolly narwhal
#

And you need to map an actual folder for your config, not what you pasted above

tepid gulch
jolly narwhal
#

If no other containers are running

#

It should now exist inside the container

tepid gulch
#

only one container now

#

but my question is about device configuration

willow bronze
#

Hi, I have this device and I want to change its power on behaviour. https://zigbee.blakadder.com/Tuya_TS011F.html
Currently, after a power loss, it defaults to on, and i want to default to the last state.
I have another one like this which I previously configured via the official app to do that, and I see that in that one, there is a cluster named:
TuyaZBOnOffAttributeCluster (Endpoint id: 1, Id: 0x0006, Type: in)
In that cluster, there is an entity power_on_state (id: 0x8002). In it, the value is PowerOnState.LastState.
In the new smart plug, the same entity's value is PowerOnState.Off.
If I try to change that and set it to PowerOnState.LastState via "set zigbee attribute", if I press Get zigbee attribute after using Set, it still returns the old Off value.
What am I doing wrong?

jolly narwhal
#

Now you setup the ZHA integration if that is what you intend to use

tepid gulch
#

It's the same device @willow bronze

willow bronze
#

Yes it's the same device

#

they are identical

tepid gulch
#

sorry, I have the same device, and I would like see power 🙂

willow bronze
#

?

tepid gulch
#

I'm newbee on ZigBee

willow bronze
#

wdym you want to see power

tepid gulch
#

In HA I see : "manufacturer": "_TZ3000_bfn1w0mm",
"model": "TS011F",

#

the seller say we can see power consomption on this

#

but I don't see it on HA

willow bronze
#

i see electrical measurement data on that

#

are you using zha

tepid gulch
#

yes

willow bronze
#

which HA version

tepid gulch
#

Zigbee Home Automation

willow bronze
#

Home Assistant version

tepid gulch
#

2021.12.8

willow bronze
#

Which zigbee stick

tepid gulch
#

a Sonoff key

#

ZNP = Texas Instruments Z-Stack ZNP protocol: CC253x, CC26x2, CC13x2
par ZHA

willow bronze
#

Which sonoff

#

oh i guess the plus one

tepid gulch
#

Sonoff Zigbee 3.0 USB Dongle Plus

willow bronze
#

well, try to remove the device from the list and repair too

tepid gulch
#

I waiting the end of the scan

#

Did you already open it (to see electronic circuit inside)?

willow bronze
#

No

#

why would I

tepid gulch
#

I have open it to see how it's design, but I'm realy septic on my device can see power

willow bronze
#

from what i can see, opening it up would be destructive

tepid gulch
#

need glue yes

#

but not destructive

#

this a screenshot after pair it

tepid gulch
willow bronze
#

on youtube maybe

#

then look at the circuit board yourself

tepid gulch
#

I thing the missing some composnant to measure power

#

can you make a screen shot of your device screen?

#

what's your reference on product? mine is BSD33

willow bronze
#

reference&

#

?

tepid gulch
#

model

#

sorry

#

I'm french 🙂

willow bronze
#

where would I find this model

#

on the package?

#

on that i see a label with WHD09W-EU-ZIGBEE

tepid gulch
#

on my is write under the plug

willow bronze
#

one sec

#

bsd33, same

tepid gulch
#

can you send me a link where you bye it?

willow bronze
#

aliexpress

tepid gulch
#

in fact my only interest for this device is the power monitoring

willow bronze
#

i bought 2 of them from different sellers

tepid gulch
#

thank I will order another one from this seller

#

maybe more chance that have monitoring power

#

thank for you picture

#

waiting 10 more days 🙂

willow bronze
tepid gulch
#
  1. Electricity statistics

View energy reports to properly track energy usage around your home. Know which devices consume the most energy, and make plans to save energy and electricity bills.

tepid gulch
#

no

willow bronze
#

might be a good idea to get one, maybe the issue is in firmware

tepid gulch
#

it's need to use it?

willow bronze
#

no but

#

it's needed to update the firmware

#

and change options like power state default

#

when my first one arrived the tuya hub updated the firmware via OTA

tepid gulch
#

I can ask to a friend that use tuya

willow bronze
#

also check whether power monitoring shows up there

#

if it doesn't work even there, you should contact the seller for a refund

tepid gulch
#

I already contact the seller

violet dagger
#

they tend to sell the device with the same shell with and without power monitoring

willow bronze
#

yes but the product page only has the power monitoring variant

violet dagger
#

yeah... product page does

#

product doesn't

#

the seller is not an electornics expert, they just sell the stuff and you probably bought from a reseller selling all kinds of goods

tepid gulch
#

yes, in the worst case, I would give it to a friend

violet dagger
#

ask for a refund since the device isn't as promised

willow bronze
#

yeah but make sure you make screenshots showing it has no power monitoring

#

in the smart life app

#

not going to buy it if you show zha ui

tepid gulch
#

I can't see it in smart life app

#

ok

#

I will ask to my friend

willow bronze
tepid gulch
#

he has a tuya/wifi bridge

balmy prism
sleek kiln
#

I have noob question. anyone has a yaml code (or link) to add a 'permit join' card to lovelace? I would like a button to turn on/off permit in the frontend. Can't find a code online

jolly narwhal
#

For zigbee2mqtt?

fringe dune
jolly narwhal
heavy basalt
#

Is it possible to view full default device configuration?(Zigbee2mqtt) I cant find anything in files

rocky sleet
#

Hi, i searching where to put external converter for Zigbee2Mqtt
i have some xxxx.js file but I'm not familiar with supervised HA file system, i put SSH support and i can connect with WinSCP to inject .js file....but where ?
as i figured out, is some containerized system with virtual environments for each container, but how to find where is zigbee2mqtt plugin (installed with HACS) placed, and how to reach it to "add support for unsupported zigbee device"

#

today i made hacked lidl gateway, and it work, but i still don't have lidl remotes other function than battery level

#

https://paulbanks.org/projects/lidl-zigbee/#pcb-side-b i did that, i expected it will see his own remotes as is same brand, but obviously it is about how h.assistant handle protocol in zha or z2mqtt i have 3 zb handlers, TI stick, hacked lidl gw and original lidl gw (only that i could obtain these days

uneven ruin
#

zigbee2mqtt has a directory under config

#

put the js file there

#

config/zigbee2mqtt/devicewhatever.js

#

thats what I did

rocky sleet
#

i did too, but it throw errors

#

same dir where is yaml config

uneven ruin
#

probably an issue with your file then

rocky sleet
#

external_converters:

  • lidl.js
#

is that entry correct ?

uneven ruin
#

"external_converters": [
"ledvance.js"
],

#

thats mine

#

I'm no yaml expert

rocky sleet
#

doublequotted ?

#

wit give try

uneven ruin
#

my configuration.yaml has {} around all my options and all option names are doublequotes ""

#

and aything referencing a file is similar to the example I posted

rocky sleet
#

do you have supervised Home Assistant with zigbee2mqtt as HACS installed plugin ?

#

or manually installed ?

#

i tried your way but it give me lot yaml errors

#

ok, it seams that lidl.js was too complicated file, i tried with some LITE sample, and it not stuck, but now need to study how to make something what work

#

conclusion, yaml config was ok, and placement folder is ok, but content is not working from zigbee2mqtt github, probably too complex

jovial aspen
#

how do i tell what zigbee channel i'm using?

#

ZHA

uneven ruin
austere patio
jovial aspen
#

slaesh

austere patio
jovial aspen
#

erg debug logging

#

i'll just take your word for it 🙂

austere patio
#

Unless you previously used the coordinator with Z2M, in which case it'll be 11

jovial aspen
#

nope

#

just shifting the last of my 2.4ghz wifi devices off onto an IoT wlan today, so i can shift its frequency away from my zigbee freq

royal star
#

Use channel 26, interference problems solved 😉

tepid gulch
#

@violet dagger and @willow bronze , Sellers proposition refund half price on paypal account without any discution (I think he know that the product isn't conform), I have open a dispute to ask full refound.

jovial aspen
#

whats this now

willow bronze
#

i never agree to paypal it's almost always a scam

tepid gulch
#

maybe because it's wifi and use tuya integration

willow bronze
#

yes it doesn't apply to ZigBee at all

#

I guess your friend didn't get a power measurement menu either?

#

via the hub

tepid gulch
#

I don't see my friend yesterday, I will give it tomorow. Aliexpress accept the refund, I will offer to my friend.

eternal pawn
#

I found the topic request: https://www.zigbee2mqtt.io/guide/usage/mqtt_topics_and_messages.html#zigbee2mqtt-bridge-requestzigbee2mqtt/bridge/request/permit_join
I want to create a button in HA to open the Joining for pairing.
Sadly I cant find an example in the doc and I dont know how to use the right syntax
I need zigbee2mqtt/bridge/request/permit_join
with the wanted payload {"value": true, "time": 120}

button:
  - platform: mqtt
    name: "mqtt_permit_join"
    icon: mdi:signal
    command_topic: 
"zigbee2mqtt/bridge/request/permit_join"
    payload_press: {"value": true, "time": 120}

Sorry for noob question

eternal pawn
#

so how would I add the payload ?

sour shadow
#
    command_topic: "zigbee2mqtt/bridge/request/permit_join"
``` for a start
eternal pawn
#

yeah i did that

sour shadow
#
switch:
- platform: mqtt
  name: "Zigbee2MQTT enable join"
  state_topic: "zigbee2mqtt/bridge/config/permit_join"
  command_topic: "zigbee2mqtt/bridge/config/permit_join"
  payload_on: "true"
  payload_off: "false"
eternal pawn
#

can i do it with a button

#

with 120sec ontime ?

sour shadow
#

Sure, publish the required JSON

eternal pawn
#

is it just payload: "true" then ?

sour shadow
#
payload_press: '{"value": true, "time": 20}'
#
    command_topic: 
"zigbee2mqtt/bridge/request/permit_join"
``` ❌
#

Look at what I wrote, vs what you wrote

eternal pawn
#

button:

  • platform: mqtt
    name: "Zigbee2MQTT enable join"
    command_topic: "zigbee2mqtt/bridge/config/permit_join"
    payload_press: '{"value": true, "time": 20}'
obsidian sandalBOT
#

@eternal pawn To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks. Here's an example

Don't forget you can edit your post rather than repeatedly posting the same thing.

For over 15 lines you must use a code share site such as https://www.codepile.net/ (pick YAML for the language) or https://paste.debian.net/ (pick YAML for the language).

eternal pawn
#

yeah

#

i dont wanna google and copy it 24/7

#

thought i can do it without once

#

cant do it on german keyboard

sour shadow
#

We can't tell if you fucked up the formatting again if you don't

#

A button has no state_topic though

eternal pawn
#

so even for a button i need a turn_off Service?

#

button/turn_off. Service not found

#

why is it not in the doc

sour shadow
#

You had a state_topic entry, which isn't supported

#

now you have a broken duplicate command_topic entry

eternal pawn
#

no

sour shadow
#

Yes

#

Broken

eternal pawn
#

just command

#

edit it

#

after u said it

eternal pawn
#
  - platform: mqtt
    name: "Zigbee2MQTT enable join"
    command_topic: "zigbee2mqtt/bridge/config/permit_join"
    payload_press: '{"value": true, "time": 20}'```
#

that what i got atm

#

confic says its fine

#

if i click on it

#

Fehler beim Aufrufen des Diensts button/turn_off. Service not found.

sour shadow
#

I doubt buttons have states

eternal pawn
#

If the button works should i see in the zigbee2mqtt app on the top right the time remaining ?

#

ok when pressing the button its state gets set to the time the button got pressed: 2022-01-09T13:45:17.331553+00:00

copper rain
#

I migrated from HUSBZB-1/ZHA on channel 15 where devices reported ~255 LQI though the map was a mixture of green yellow and some red to the new Sonoff Dongle/Z2M. At first i was on channel 11, default transmit power. LQI values ranged from ~200 to ~20. I changed the channel to 25, and set the transmit power to 20 (I've flashed the new firmware). I'm still getting similar LQI values with some being as low as 10.

My questions are:

  1. Does ZHA report the LQI value the same way Z2M does?
  2. Should I try Z2M with channel 15 as that was what was successful with HUSBZB-1/ZHA? (I used the energy report directly from the adapter and channel 25 had the least amount of activity)
  3. Should I try the Sonoff adapter with ZHA?

I live in a one floor apartment (~1250 sqft) with 26 devices (19 routers).

I'm trying to figure out if this is an adapter, configuration, or ZHA/Z2M issue.

sour shadow
#

The sticks report LQI differently

copper rain
#

Ah, OK. Is the best way to test stability through just real-world application (lights turn on/off)?

sour shadow
#

Yes

#

I have LQIs ranging from low single digits up to the low 200s, and I've found that LQI has no bearing on anything

copper rain
#

Is there a way to have HA notify me if a Z2M message times out?

sour shadow
#

I don't think so

copper rain
#

I'm fairly new to Z2M, how would I know a command failed (other than using my eyeballs :))? I have a couple of roommates who are very patient 🙂

sour shadow
#

The log should have ERROR lines if that happens

copper rain
#

Those will log to config/zigbee2mqtt/log?

sour shadow
#

Possibly, not sure, I only look at the log file

#

Oh, you meant disk path, not MQTT topic

#

Yes, there 😄

copper rain
#

Awesome, thanks! Stopped me from re-pairing all of my devices two more times to diagnose the issue 🙂

eternal pawn
#

I dont get an error in ha or zigbee2mqtt with the button

#

still it doesnt work

#

any ideas ?

sour shadow
#

Well, if you've confirmed the message is published to the topic correctly, then ... no idea

eternal pawn
#

ok i didnt have to look it up

#

ty

#

cant see anything published that looks like my button

#

hm

#
  ###button to turn permit joining for mqtt on
  - platform: mqtt
    name: "Zigbee2MQTT enable join"
    command_topic: "zigbee2mqtt/bridge/config/permit_join"
    payload_press: '{"value": true, "time": 120}'```

https://www.zigbee2mqtt.io/guide/usage/mqtt_topics_and_messages.html#zigbee2mqtt-bridge-request
anyone got an idea why this is not working
#

ok got it @sour shadow somehow while chatting with you the topic got changed from zigbee2mqtt/bridge/request/permit_join to zigbee2mqtt/bridge/config/permit_join, after like 3-5 msg

#

ty for the work

gaunt forge
#

Hi All,
using a ConBee II with the DeConz-Integration however I now have ordered a Zigstar Stick V4 so I‘ll have to ditch DeConz.
Question is:
Should I go for ZHA or Z2M?
Looks like more people are recommending ZHA nowadays however Z2M has double/almost triple the amount of supported devices?!
Which one to prefer and why?

jolly narwhal
#

Do you want to run everything from the same host ha is running on? Either will work

#

Do you want to run a separate system / location for the coordinator

#

Z2M

#

I do Z2M because I believe ha should be HA, everything else comes from outside / other containers / other servers

#

Also Z2M lets you have multiple systems access the coordinator since it happens via mqtt

#

You can have production plus development system

edgy minnow
#

Hi guys,

Can someone point me in the direction of who can help setting up a new device in ZHA?

obsidian sandalBOT
edgy minnow
#

It is a zigbee thermostat. It works on MQTT, However I use ZHA.

gaunt forge
#

@jolly narwhal I‘m planning of having the coordinator running on the HA-Host. I was tending towards Z2M from my research but find many recent comments that ZHA is the way to go as it gets a lot of love from the HA-team while Z2M is not even a „official“ add-on to HA…

jolly narwhal
#

I don't even use add-ons

#

So I wouldn't know

gaunt forge
#

Sure thing if you have it running separately…

jolly narwhal
#

That isn't an add-on 🤢

austere patio
chilly storm
#

I have switched to Sonoff Zigbee 3.0 USB Plus dongle to use with z2m. It worked briefly but after i tried adding devices back in but they fail to interview and are being displayed as unsupported in the UI. They are Hue bulbs so they should work. An suggestions on what to check? i have flashed the dongle with the firmware as per the z2m support. The z2m UI seems to be configured correctly but I'm at a loss to the point of considering going back to hubitat lol! Any help would be greatly appreciated.

edgy minnow
#

@chilly storm Setup is easier in ZHA. I would try that first.

chilly storm
edgy minnow
chilly storm
austere patio
#

Device support between the two integrations works differently. Z2M has a whitelist and every device needs explicit support, so there is an exact number for how many devices Z2M supports. ZHA tries to work with every device and fixes broken ones, so it likely will work with new stuff with no changes. Unless it's Tuya.

solid rose
#

Z2M support lots more functionalities than ZHA, because of its nature. For example Thermostat. In Z2M you have the webpage where you can set all parameters, but in ZHA for every parameter there has to be a HA entity. And because of that not all parameters from zigbee device are integrated into ZHA.

uneven ruin
#

pairing is handled by the dongle, if your having pairing issues just changing the interface isn't going to do anything

#

"fail to interview" isn't being caused by z2m

rocky sleet
#

i have all 3 platform setup but this RC not perform triggers but only battery lvl when paired....

#

i can use them as hard-binded devices, but then i can't refresh status on HA and can't use automations etc...

uneven ruin
#

buttons don't have devices they have events in zha

#

z2m has an action entity iirc

#

let me find my button

rocky sleet
uneven ruin
#

what coordinater are you using for z2m

rocky sleet
#

i know, my IKEA button have zha/z2m triggers, but those lidl only bat.lvl zhey have registred triggers, but not work

uneven ruin
#

what do the logs show during interview?

rocky sleet
#

texas instruments cc2531 usb dongle

#

for z2m and on lidl-hacked is some Silicon Labs ARM-M4 CPU with integrated RF stack. (EFR32MG1B232.)

#

z2m i looking on external mqtt explorer... and there is no action...

#

lidl_RC
availability = online nothing els

#

i tried to make external converter for this device

#

but as it is already "supported" device this converter give exceptions, but it somehow do something...

#

but nothing successfull

#

if you checked my first link, there is description that on wireshark this RC use some uncommon command, and supported is probably some older model of rc, with older fw

#

2021-12-10 18:54:39 WARNING (MainThread) [zigpy.zcl] [0xd988:1:0x0006] Unknown cluster-specific command 253

#

from other hand, if i use zha event listener in devel>events, nothing fire out

#

but ikea rc give triggers for each press or hold

#

I bothering myself for days to figure out where i mistaking, but probably it is blind road for that device unless there is some way to make custom quirk/external-converter for device, as delivered one not working

#

i could use tuya cloud integration, but it work "glitchy" sometime it turn on sometime not (light would be turned, but on HA not each time is shown true status)

#

i'm not so deep in code to make it work, so probably best let them go for something else, and buy another (iex ikea, as this obviously working)

#

can i make fingerprint for external converter based on mac addr , or something so z2m not interfere with internal device definition... ?

#

home assistant supervised, not let me poke&peek much in containers, or at least i don't know how to "mess" with internal libraries

fading briar
#

I've just added my first Aqara Motion Sensor. Running ZHA. What's the difference between device_class: motion and device_class: occupancy and when would I want to use one or the other (or both)?

#

intuition tells me that I want occupancy to know when someone's in the room so the lights will be on. I just noticed that motion has turned Off, even though I'm sitting here. Is that the key difference?

#

If so, what's the advantage of motion and when would I want to use that?

lilac wharf
#

A true occupancy sensor can detect when someone is in a room even if they're not moving. The aqara motion sensor is just a motion sensor, but it has a fake occupancy entity that simply has, IIRC, a 10 minute cooldown as opposed to 60 seconds with the motion entity

sour shadow
#

About as useful as a chocolate teapot then

jovial aspen
#

Oh that’s how it works. Lame!

#

The motion cool-down is 180 seconds, unless you’ve done the soldering hack

sour shadow
#

Eh, 60 ISTR

jovial aspen
#

Istr?

jovial aspen
#

I swear mine are longer than 60

#

You can get temperature from these things?!

#

P.S. default occupancy timeout is 90 seconds

fading briar
#

Thanks, all.

#

Interesting since I saw the motion sensor turn off, but occupancy was still on. Not sure how long it was off, though, I didn't run a stop watch on it.

jolly narwhal
#

My aqara motion sensors have been flawless for years

solid rose
fleet chasm
#

If I have my HA installed in docker on rasp pi, do I need to somehow give access to usb port for my docker image in order to get my cc2652p stick working? I can't seem to be able to add any devices...

fleet chasm
#

If only I would realize this sooner... 😆

#

cheers

sour shadow
#

The good news is that you've learned something else about Docker today

jovial aspen
#

I know nothing about Docker and at this point I feel it may be too late

sour shadow
#

Pffft, I didn't learn anything about Docker until about 14 months ago

jolly narwhal
#

Heck, i didn't learn docker until Feb 2020, now I'm apparently a country docker and kube expert

#

Don't ask me questions

median lichen
#

zigbee is a mess on HA the latest months, had to do a full reinstall, and now after a few weeks it's not working properly. Again. I love HA, it's fantastic, but it is way too experimental imho.

fleet chasm
#

I spent... 36 minutes trying to figure how to give that access and I found no single straightforward answer

#

So I guess I will just... leave

jolly narwhal
median lichen
#

I use ZHA

jolly narwhal
austere patio
median lichen
#

It does recognize existing devices, but cannot add new ones

#

using conbee II stick

jolly narwhal
#

Latest Conbee firmware?

austere patio
#

Nothing interesting changed with the code that deals with the Conbee in ZHA for many months

#

Can you add devices if you downgrade to the last version that supposedly worked?

median lichen
#

Don't think so, tried to update that firmware in my previous install using deconz, but that also kept on failing

austere patio
jolly narwhal
#

You can update the firmware from Windows

#

Afaik

median lichen
#

Thanks, will try that update on win

jolly narwhal
#

That said, Conbee has a failing reputation lately

median lichen
#

Didn't know that... maybe I should look for another coordinator

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.

jolly narwhal
#

I'm waiting for my Poe tube coordinator

median lichen
#

Will try the update firmware first, if that doesn't help I'll just get a new stick

jolly narwhal
#

Also try puddlys steps if you can

median lichen
#

Yes, doing that now. (downgrading didn't help, using an extender cable also didn't help,)

austere patio
#

If downgrading didn't help then it's an environment problem that probably "happened" after you restarted the Conbee

#

You definitely want the USB extension cable though

median lichen
#

Not if it doesn't make a differece

#

after restart:

#

Logger: homeassistant.components.zha.core.channels.base
Source: components/zha/core/channels/base.py:428
Integration: Zigbee Home Automation (documentation, issues)
First occurred: 23:23:15 (1 occurrences)
Last logged: 23:23:15

[0x0000:1:0x0006]: async_initialize: all attempts have failed: [TimeoutError(), TimeoutError(), TimeoutError(), TimeoutError()]

austere patio
#

Debug logs contain all the info. The error message alone doesn't explain much.

median lichen
#

Big file...

#

2022-01-09 23:23:15 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x0000:1:0x0006]: failed to get attributes '['on_off']' on 'on_off' cluster:
2022-01-09 23:23:15 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x0000:1:0x0006]: async_initialize: all attempts have failed: [TimeoutError(), TimeoutError(), TimeoutError(), TimeoutError()]
2022-01-09 23:23:15 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x0000:1:0x0006]: 'async_initialize' stage succeeded
2022-01-09 23:23:15 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x0000:1:0x0000]: 'async_initialize' stage succeeded
2022-01-09 23:23:15 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x0000](ConBee II): power source: Mains
2022-01-09 23:23:15 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x0000](ConBee II): completed initialization
2022-01-09 23:23:15 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x0000:1:0x0006]: attempting to update onoff state - from cache: False

obsidian sandalBOT
#

Please use a code share site to share code or logs, for example:

Please don't use Pastebin, since it can randomly add spaces to the main view. Please also don't share text as images since it makes it harder for people to help you. Remember that others may have colour blindness, impaired vision, etc.

median lichen
austere patio
#

If you can upload the whole file after redacting personal info, that'll be more helpful

cerulean thorn
#

@jolly narwhal i got two poe tubes 😉

median lichen
#

Got the firmware updated on windows, that didn't help, neither did disabling several other integrations.... it's getting late here, will look further tomorrow

pine goblet
#

@molten linden hey I got an email for the Ethernet model back in stock but it says it’s still out of stock

#

Is this a bug?

molten linden
#

did you go through the link in the email?

#

w/ password

pine goblet
#

I don’t have a password

#

Ohhh I see

pine goblet
#

Been drinking so I missed the password in the email

jovial aspen
#

so how come the sonoff zigbee to wifi bridge is such a dud, but the aqara hubs (which are essentially the same thing - wifi and zigbee right next to each other) are not entirely terrible?

#

🤔

amber gull
#

Because the sonoff hub is: <HA><UNPREDICATBLE WIFI LATENCY INDUCING COMMUNICATION MEDIUM--> ZIGBEE>

And the Aqara hub is: <HA> <WIFI> <ON BOARD PROCESOR SUB 1MS LATENCY -> ON BOARD ZIGBEE CHIP>

jovial aspen
#

😬

#

if i were to backup my HAOS on my pi, spin up a virtualbox HAOS vm on my server, would my zigbee network transfer?

#

assuming i transfer my zigbee dongle to the vm host and filter it through to the VM

stray wolf
#

i got a sengled light strip (E1G-G8E) today. it paired easily in HAS using zha. it doesn't seem to change colors or turn off/on when i issue those commands, though. any idea why? https://i.imgur.com/LpKUSXt.png only shows these two entities.

tiny sierra
#

Hey guys,
i have a quick question. I currently use in my Home a Sonoff Zigbee Bridge (Flashed with Tasmota) to connect all my Zigbee devices with HA via ZHA. Because of the construction of our house, I can’t get the Zigbee signal to our garage (I can’t extend the signal via repeater, because there are no sockets between). My consideration is to install a second Zigbee hub and use Zigbee2MQTT. I have a WIFI-Signal there and could so connect it to my HA. Is this the best way to do it? To the best of my knowledge, I can’t connect a second hub to ZHA. Have you any advice for me? I am open to help.

violet dagger
#

its a way to do it if extending your network to the garage is not feasible

static trellis
#

Why am I getting an Availability: Disabled from my Xiaomi wireless switch? First I've seen of it...
I've added availability: true to my zigbee2mqtt config yaml file... doesn't seem to care about that...

violet dagger
jolly narwhal
#

Kontuya

#

Tuyke

vestal atlas
jolly narwhal
undone eagle
#

When zigbee 3.0 socket from tuya will be on default version on z2m?

#

Its on dev from may 2021

sour shadow
#

Probably June 2021

#

Make sure you're not stuck on 1.18.1

undone eagle
#

:o

#

Im stuck on 1.18.1

#

How to update? Theres no update

sour shadow
undone eagle
#

Nvm got it

rapid skiff
#

Anyone have a recommendation for one of the Zigbee2MQTT coordinators that I can use with an unraid docker?

sour shadow
#

Where in the world?

rapid skiff
#

US

sour shadow
#

Tube

rapid skiff
#

Yep month delay at least

sour shadow
#

The other option is random luck on EBay/AliExpress, or Sonoff

rapid skiff
#

Is sonoff generic zigbee?

sour shadow
#

Sonoff do a CC2652 based stick

#

They may not ship any faster though

rapid skiff
#

Thats fair

#

I was considering starting with that and upgrading to a tube one later

sour shadow
#

Eh, just buy from Tube and save the pain

rapid skiff
#

Fair enough

#

I don't need it right now

#

Luckily I can just hook up my lights to my google home in the meantime

sour shadow
#

If you're in a burning hurry a CC2531 will get you going

#

They're cheap, easy to upgrade from, and fine for a dozen or so devices

rapid skiff
#

Sounds good

#

Sounds like you can use an old coordinator as a booster? Do you just power it for that?

sour shadow
#

Flash it with router firmware and give it power, like any USB plug

rapid skiff
#

Neat

#

Any good color temp changing zigbee bulbs?

inner bay
rapid skiff
#

Just ordered this to test everything out

inner bay
#

i'm replacing my cc2531 for a cc2652

#

are you using it with a RPi ?

rapid skiff
#

Going to set up the Zigbee2MQTT docker on my unraid server

inner bay
#

was just going to tell you the RPi interferes with it so you would need an extension cord

#

then you're all good

rapid skiff
#

I have a small house so I'm not sure if I need an extension cord

#

If I do use one, whats the max length I can go?

inner bay
#

you misunderstand........if you were to use it with a raspberry Pi you would need a cord

#

but it doesn't apply in this case

sour shadow
#

Yes it does

rapid skiff
#

I mean if I want to relocate the coordinator but keep my computer where it is

sour shadow
#

Regardless of your hardware, a USB extension cable is a Good Idea

#

Unless of course you've got one of Tube's Ethernet connected coordinators

rapid skiff
#

Thats my plan in the future

#

Wire up POE somewhere in the middle of the house, cut a hole in the wall, and shove it in there

inner bay
#

i had to use an extension cord as the rpi interfere so much with it

sour shadow
#

Not just the Pi

#

Any computer

inner bay
#

oh ok

sour shadow
#

And, as mentioned in the pinned messages, USB 3 is Bad

inner bay
#

the 2.4ghz are too close to eachother ?

sour shadow
#

No, it's a general RF issue

rapid skiff
#

I don't have any wireless near my server area, but I can still use an extender

#

Or just go and relocate my server to somewhere that makes more sense, like under the stairs

sterile sleet
#

why is this even a thing? i mean, there is shielding, there are wifi usb adapters without trouble, heck does zwave have these issues?

rapid skiff
#

Oh right, was going to put it in a utility closet with my water main

#

Zigbee uses 2.4GHz right? So it would have the same problem as standard wifi

sterile sleet
#

yes

rapid skiff
#

Need to allocate different channels to avoid interference

sterile sleet
#

adjust your zigbee channels, not your wifi

inner bay
#

my zuigbee runs on 11

sterile sleet
#

as zigbee can do more channels and higher ones than wifi, i‘d leave wifi where it is and up the zb channel

inner bay
#

i was about but cba to pair everything over again

sterile sleet
#

yep thats the downside

sour shadow
#

Z-Wave dodges the bullet by being on different frequencies

sterile sleet
#

unfortunately the intel link isn‘t working anymore

rapid skiff
sour shadow
#

If you're using Zigbee2MQTT, the first check is is it on the supported list

rapid skiff
#

I can check but I doubt it is. Need to add my lights manually too

inner bay
#

i bought a sonoff zigbee 3.0 dongle

sour shadow
#

If you are having an unstable network, or if it fails to form a network at all, make sure that your Zigbee USB stick is not connected to a USB 3.0 port, and that you are also using an extension cable, to keep it far from any possible interference.

Using and extension and USB 2.0 port is also recommended by some vendors, like Dresden: https://phoscon.de/en/conbee2/install#connection

You can read about USB 3.0 interference on 2.4GHz devices here: https://web.archive.org/web/20210428073944/https://www.intel.com/content/www/us/en/products/docs/io/universal-serial-bus/usb3-frequency-interference-paper.html

rapid skiff
#

I found that, which is essentially the same thing that I posted. Only issue I see is this is 007 and the new one is 008

#

Guessing its possible to port that config to the new device?

sour shadow
#

I have the Pro version of that, it's really nice

jolly narwhal
#

I had two of those

#

Replaced them with tasmota devices

sour shadow
#

Which?

rapid skiff
sour shadow
#

Cheers, gives me something to experiment with

jolly narwhal
#

Easy to flash

#

Great value

sour shadow
#

I've still got a length of RGB-CCT strip, plus a spare 24V PSU, so ... project time 😄

rapid skiff
#

So I guess the best use case for these is a hardwired power supply with a zigbee wall switch?

inner bay
#

does cleverio lights work with zigbee ?

rapid skiff
#

Is there anything similar to that with zigbee?

sour shadow
#

I've seen stuff like that on the supported hardware list

rapid skiff
#

I'll just do a standard zigbee switch and do the control in HA like I plan on doing for the overhead lights

#

Interesting, so it looks like this pairs with the matching rgbww controller

buoyant ruin
#

Hi all. I have 3 Aqara humidity sensors connected via a Conbee II stick. The humidity readings on the sensors vary by 2 or 3%, even when the devices are stacked right on top of each other. Is there a recommended way to tweak the device values to be more inline? I have other humidity sensors, so I can figure out which device should be the control.

sterile sleet
#

you could make template sensors which represent your idea of „inline“

#

not sure about recommended but its possible

buoyant ruin
#

Yeah, that's generally what I was finding when searching around, but it felt a little clumsy to have the original devices with 'inaccurate' values still visible in the system. I suppose I could hide the originals once I had the template sensors dialed in to where I want them.

sterile sleet
#

you can also utilize the mean statistics sensor to get a inline value of all and use this value

buoyant ruin
#

Thanks for the suggestion. It sounds like a neat solution for a different problem I was having.

molten linden
rapid skiff
molten linden
#

thanks. you should hear from me in the next few days. truth is I have a limited number of cc2652 modules on hand, but more on their way to me now just a few days out. so should not be long.

rapid skiff
#

No worries, was just going off what the website said. Still excited to get one and set up a nice network

jovial aspen
#

Oh you’re the tube

#

🤩

jolly narwhal
#

🛁

pine goblet
#

Just got my shipping confirmation for my tube controller 😁

haughty saddle
#

hi to all, i'm using HA from some years and from a month i started with zigbee. i'm using a zonoff dongle plus and zigbee2mqtt 1.22.1

#

i added 2 trv and 2 thermostats, but i have some issues:

#

for trvs, just one exposes battery status

#

for temperature sensors, recognized model i not exact: i saw TS0201 instead of real WSD500A

#

ans also for those thermostats, a can't see battery status

#

how can i handle it?

gleaming totem
#

Can anyone recommend a good outdoor sensor for Canadian climates? Or a solution to monitor outdoor temp

spice kelp
#

is there a guide that explains how routes are back to the coordinator are determined? does it choose specific routes each time, is it sent to all available routers, etc?

jovial aspen
#

i believe it uses this method ^^

blazing tartan
#

or even zwave, tbh

copper rain
#

For some reason when I update zigbee2mqtt/configuration.yaml it always seems to revert on restart. What's the recommended way to update device_options?

tropic depot
#

@blazing tartan third reality has switches you can get that fully cover wall switches. They’re bulky but they work. I don’t know of anything similar to the switch bot ones

bronze apex
#

Hi guys, the Aqara door/window sensor, should I buy the MCCGQ11LM or MCCGQ14M? Not even sure the difference, what would you recommend?

sour shadow
#

11 is the original Zigbee 1.2 version

#

I suspect 14 is the new T1/E1?

bronze apex
#

Yeah 14 is E1, would you recommend I go with that?

#

Turns out 12 is T1 and 14 is E1?

violet dagger
#

does your coordinator support the firmware required for it?

sour shadow
#

If your integration and coordinator supports it

bronze apex
#

How would I know?

sour shadow
bronze apex
#

I've a CC2652B slaesh, so I just need to figure out what FW I have running on it then

jolly narwhal
#

That you can see in the webui of zigbee2mqtt

bronze apex
#

Thanks, I'm running 20210120 so looks like I need to read up on how to update, wish me luck haha

sour shadow
#

It's not hard, and it is well documented

bronze apex
#

Yeah I've found some documentation here on z2m.io with a link to the latest coordinator fw and flashing instructions so doesn't look too difficult

last ruin
#

After December update or so I've had issues with two Ikea Trådfri Range Extenders dropping out. If I replug them they start working again immediately. Ideas? Conbee II and deCONZ.