#zigbee-archived

1 messages · Page 73 of 1

barren snow
#

when I originally searched for that I saw multiple threads on the forum talking about dim-on-hold and people essentially implemented it with loops on the HA side, which is less than idea imo

mellow geode
#

You basically need to do it that way for now if you don't want to "skip the HA layer".
A loop sending one message per second should be handled "easily" though. But yeah, it's not ideal.

barren snow
#

so what I'm thinking, correct me if I'm wrong, the transition in light.turn_on/light.turn_off would need to implement "stop transition" in order for all layers to have a single source of truth

red cedar
#

Ordered the dongle, it’ll arrive on Friday. I’ll hook it up to my container and see what’s what 😄

#

External antenna is nice seeing as I’ve got a bunch of much larger antennas sitting around in case I run into range issues.

barren snow
red cedar
#

Yeah… I’ve flashed a lot firmware and it’s always a measure 1000 times cut once process 😅

barren snow
mellow geode
barren snow
#

because I agree: sending random ZCLs and expecting ZHA to magically correct HA state would be .... slightly insane 😄

mellow geode
#

If HA Core would provide a way (service call) to stop a current transition, then ZHA could implement it somehow.
But the transition management of HA Core is limited for now. Like, when you turn on a light from 0% to 100% with a 10 second transition, most integrations set the target value immediately in the UI.
Otherwise, you have a bouncy slider and it will cause issues with ZHA special "turn off brightness" stuff, as the light remembers the target brightness when turned off and back on again during a transition.

red cedar
#

Am I reading right on the second page of those flash instructions that the person moved to the usb dongle (D: in their screenshots), put the python script directly on the dongle then executed it?

#

Reading/interpreting. The instructions don’t say to do that, just looking at the screenshot

mellow geode
#

What instructions are you looking at? (link)

red cedar
#

Looking at the instructions/screenshots it looks like they entered the bootloader mode then put the python script directly on the dongle (as it appears the dongle is presenting itself as some kind of mass storage device)

mellow geode
#

It won't.

red cedar
#

Was just looking at that git repo. Let me have a look at these instructions

barren snow
#

@red cedar also, don't be afraid of bricking the dongle - they have a bootloader in ROM

red cedar
#

That second set of instructions is way more clear. I’ll try those first. Love that they have a docker option as part of the instructions 😄

red cedar
dusk cypress
#

I didn't, I will try it today

winter cove
#

I have a Develco (whitelabled to frient) SIRZB-110 that is not working with the 1.9.3 firmware it was delivered with. I have recived the 1.7.1 firmware file from frient, but I'm not sure how I would go about getting it installed. I'm using z2m in my HA - anyone has any good ideas?

unreal vault
#

I am looking at the hardware recommendation page and can't find like a zigbee hub, I am running HA on a VM ontop of synology NAS, so looking for like a zigbee hub over wifi or ethernet if that exists

sour shadow
#

No hubs, just coordinators

rapid dawnBOT
#

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.

unreal vault
#

Thanks

manic wraith
#

i have a Centralite HA thermostat, and i got it in to HA via Zigbee2MQTT. I have it configured in heat-only mode (no A/C for now) however HA still displays it as if it has both heating and cooling, with separate heat and cool setpoints, a button for cool mode, etc. How can I get rid of the cooling stuff?

cold hazel
#

Hi Guys, I'm having hard times with my HomeAssistant. I have RasPi4 + HA, zigbee2mqqt, mosquitto docker containers. It worked properly so far with 14 devices, but after adding 2 new ones, other 2 disappeared. To speed up: issues started to arise. I found out that CC2531 adapter is not recommended so I bought SonOff ZBDongle-P. I decided to clean up configuration.yml of the zigbee2mqqt, update docker images to 'latest' (I was running images from 2023.01) and start over.

Sensors: in zigbee2mqtt I can see entities properly (sensors show battery, temperature, humidity, voltage) but in HA I can see them as "MQTT Sensor: 21,9 °C", "MQTT Sensor: 68.62%" etc.
Sockets: I have 2xIKEA(E1603/E1702/E1708) and 2xOSRAM(AB3257001NJ) and they expose State (ON/OFF) (and Power-on-beavior for IKEA) visible in zigbee2mqtt (I can ON & OFF them via zigbee2mqtt admin panel) but State entity is not visible in HA. It shows 2 hidden entities for OSRAM (linkquality & update state). For IKEA I can see 2 hidden entities (linkquality & power-on behavior) and 2 visible entities. Configuration: Power-on-behavior(ON/OFF/toggle/previous), Diagnostics: Update state = Idle.
'update state' entities for sockets are readonly (there's no switch in UI as it was previously) and they don't change the state when I switch socket in Zigbee2MQTT

I'm not sure where I should look for the issues though. Is there any compatibility table for Zigbee2Mqtt+HomeAsstant+Mosquitto?
I'm also not sure in version 2023.01 and CC2531 adapter I saw entity names properly (temperature, humidity etc) and with latest docker images I can just see "MQTT Sensor" entity names.
Not sure what to do with sockets either.

Does anybody have any idea what I could check?

sour shadow
#

What version of HA?

#

What version of Z2M?

cold hazel
#

Home Assistant 2023.7.0.dev20230626
UI version: 20230626.0.dev - latest

Zigbee2MQTT version: 1.35.1 commit: 9eaaa0f
Coordinator type: zStack3x0
Coordinator revision: 20210708
Frontend version: 0.6.151
Zigbee-herdsman-converters version: 18.9.0
Zigbee-herdsman version: 0.30.0

mosquitto version 2.0.18 running

sour shadow
#

Your HA version is still terribly outdated, and is the source of your problem

#

HA releases an update every month, numbered for the month

#

You should be on 2024.1.x by now

cold hazel
#

that's a very good point, thanks. I guess I'll need to look for some other HA docker image for raspi, as this is the 'latest' one

sour shadow
#

That's not the latest

#

Use the official image and the :stable tag, as shown in the HA docs

#
ghcr.io/home-assistant/home-assistant:stable
cold hazel
#

yeah, I had "image: "homeassistant/raspberrypi4-homeassistant:latest" in config instead of "ghcr.io/home-assistant/raspberrypi4-homeassistant:stable". I changed that and fired docker-compose to update everything. I'm not sure where and why I got the previous image, it was installed 3y ago. thank you very much for your help. I hope that the HA update will do the trick

sour shadow
#

That was deprecated ... 6 months to a year back

#

Though, if you're not actually reading the release notes you'd have missed that

balmy fossil
#

sorry a quick question - is it normal that Sonoff ZBDongle-P flashed with a router firmware is being detected (by Z2M) as "Custom devices (DiY) ti.router"?

sour shadow
#

Yes

balmy fossil
#

thanks. I was little bit worried because ZBDongle-E is detected as ZBDongle-E even after flashing with router firmware

cold hazel
brave nacelle
#

anyone else have experience with centralite thermostats just randomly showing up as 'not available'?

#

(centralite pearl)

twin walrus
#

Hope you can give me some advice on moving away from my Philips Hue Bridge over to Zigbee. I'm getting a SkyConnect (hopefully tomorrow) to get more out of some of the Zigbee devices (e.g., remotes) and be able to move away from the Philip Hue Bridge. Probably going to go with Zigbee2MQTT...
I expect that I'll need to re-add all my Hue devices once the bridge has been taken out, but I'm willing to put in that effort.
What is the best migration strategy?
I think I saw somewhere that it's wise to first remove all the devices from Home Assistant that are currently connected through my Hue Bridge, so that they can be included more easily into the new Zigbee network... Can anyone confirm? Any tips on how to proceed? Will be much appreciated if it means getting the transfer done without too much hair-loss... Thanks!

smoky anvil
#

Qq, is it normal that my device in pairing mode has to be close to the skyconnect when pairing? I can't pair them far away, but I can when next to it. Funny enough.... I can take the same device and place it anywhere in the house after pairing and works with no sings of signal issues.

#

Just wondering if this is normal behavior?

austere patio
smoky anvil
#

Now things work just fine but pairing has to be done close to the device

austere patio
#

How close is close? Do you have other routing devices (i.e. bulbs and outlets)?

smoky anvil
#

I have a huge Phillips hue network that I am migrating very slowly

#

Close as in I have to be at least withing 10ft or so from it

austere patio
#

What are you joining? Bulbs or sensors?

#

And what integration are you using? ZHA or Z2M?

smoky anvil
#

But yes my home is filled with everything Phillips hue. Everything else is zwave which is just a few devices and the rest is wifi

smoky anvil
#

On and off plugs

austere patio
#

For the ZHA integration, download the diagnostics JSON and upload it to a code hosting site (e.g. https://dpaste.org)

smoky anvil
#

Ok. Give me a few and will do.

smoky anvil
#

There it is.

#

Right now all plugs are offline because I unplug them, (They are seasonal plugs)

#

Also the Skyconnect is in an open spot on top of my desk. only thing next to it is a VoIP phone and about 3ft down is a smartthings hub that I am trying to face out. (Damn thing is like a roach... once its there... its hard to get rid off lol)

#

ohhh and I think is also important to note that I am using USB passthrough as this is hosted in a VM enviroment.

snow goblet
#

Hi everyone. Does anyone have experience with the GE Zigbee Rocker Switches? I have several that are used in my setup for lights, and they work great. There are a couple that are used to switch on/off an outlet from the wall switch. And when those are in 'off' they make a quiet squealing noise. Is there something specific to wall outlets, like are they higher amp than light fixture wiring?

twin walrus
smoky anvil
#

the plugs work just fine before because they are close to the hue bridge.

tawdry blade
#

hello, please are there any reliable RGB E14 bulbs using zigbee? i am tired of seeing unresponsive wiz devices (they use wifi)

sour shadow
#

For what country?

tawdry blade
#

Slovakia (German Amazon ships here)

main ruin
#

the hue ones should work nicely if you can afford them at the quantities you need

main ruin
#

alternatively the ikea ones (TRÅDFRI) probably also work just fine

sour shadow
#

For good quality light you want Hue, Innr, Gledopto, or Tradfri

tawdry blade
#

tuya.. it's a line of products, right?

sour shadow
#

Sort of

#

They sell firmware, designs, cloud services, etc to others who "make" their own stuff as part of that ecosystem

tawdry blade
#

thanks, useful to know

sour shadow
#

Some Tuya stuff is decent (Moes for instance), lots is utter junk

tawdry blade
#

hmm.. hue e14 is 66 EUR for a single bulb, wow

sour shadow
#

You're getting good quality light though - higher CRI than from cheap crap

main ruin
#

66 seems a bit high for an e14 one tho

main ruin
#

amazon lists those for 43 / 85 a pair

#

or 15 for the white only ones

tawdry blade
#

yeah, will keep looking and probably will give it a shot. i have two wiz bulbs which are constantly giving me headaches.

main ruin
#

you may be more comfortable with the ikea or innr ones

#

they should be around 15 bucks each for rgb

tawdry blade
#

can't find rgb in ikea

#

just whites

red gate
#

Hi everyone,

I'm brand new to HA,

Please, may you help me to pick a ZigBee USB device?

rapid dawnBOT
#

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

smoky anvil
#

Hue lights are rock solid.

sour shadow
#

Tradfri CCT (white) are good, though I hear their RGB isn't as good

red gate
red gate
sour shadow
#

Well, somewhat outdated, but also not massively

#

Tube is still a great choice

#

The links are all still valid

#

Current EZSP is also still good for ZHA

tawdry blade
#

thanks for the tip, ordered 4 hues from amazon.de - wonder how they'd compare to wizz's

red gate
#

2021 > 2024 ?

#

Hue is shutting down btw

sour shadow
#

What?

#

Source?

red gate
#

They said they aren't doing the Bulbs - CES

sour shadow
#

Philips Hue has decided to stop production of the Lightguide triangle- and globe-shaped bulbs

#

Not all bulbs

red gate
#

ah, not was they said at CES

#

thanks for clearing that up

tawdry blade
#

how shall a zigbee device perform inside a full-metal mailbox? should i even try? (thinking of detecting a mailman opening the box)

sour shadow
#

Badly, probably

#

Signals don't travel too well through metal

red gate
sour shadow
#

If you're DIY handy you could solder an external antenna that goes outside the box

ashen ibex
#

Has anyone configured window sensors and heating thermostats via direct binding. From my understanding I should be able to bypass the coordinator and let them communicate directly.

mellow geode
#

Unless both devices support that, it won't work. Are you talking about the Aqara temp sensor and Aqara TRV "binding" you can do with their native bridge/app? That still uses the hub too.

ashen ibex
#

But for me it's totally unclear which circumtances needs to be met.

mellow geode
#

Unless both Tuya Zigbee products support direct binding, but I'm very sure both don't

ashen ibex
#

@mellow geode Is there any documentation which device support which binding?

mellow geode
#

But you can't bind (window) sensors with a thermostat

smoky anvil
# austere patio What are you joining? Bulbs or sensors?

Network has gotten much better and stronger as I keep adding devices. Small trick was to add the Ikea repeaters. They are ugly asf but definitely helped expanding my network to dead spots as well as allowing me to add devices from anywhere in my home. so far so good

ashen ibex
#

Anyhthing I can do to debug following: When I change my thermostat on the device itself it's alsmost instantly updated on ha. When I try to change the value from haI get a tiemout.

signal relic
#

is it normal for new devices to take a while to work in zigbee2mqtt? I have aqara sensors that pair fine but take several minutes or more sometimes for the sensor values and battery to properly show in the UI

mellow geode
#

For Aqara devices, yeah. They send some "special messages" instead of conforming to the Zigbee standard, so their attributes can't be read when paired initially.

signal relic
#

any way to nudge it along or do I just wait?

mellow geode
#

On some devices you can press the button once and it might trigger a report. Otherwise, cause a drastic change in temperature/humidity or just wait.

signal relic
#

thanks

grim igloo
mellow geode
#

That's to keep it awake, so ZHA can try to read attributes, set up binding, and set up attribute reporting. However, for those old/global Aqara sensors, this all isn't required, as they don't care.
For some years now, ZHA will skip all of that configuration if it detects one of those sensors. Theoretically, this "keep pressing buttons during pairing" isn't required anymore. But it may still help in some instances.

grim igloo
#

it seems to help for me with z2m for pairing them still (aqara 1.2)

signal relic
#

I'm struggling with an aqara motion sensor at the moment. Most of the other devices don't take too long but this one is taking forever

idle moth
#

zigbee2Mqtt:
moes thermostat seems to be spamming my zigbee network ( updating 10 to 20 times a second) and it seems to crash the network every 24 hours that didnt happen before this device. is there any way to stop it from doing this? ( i tried debounce 1 but that doesnt work)
In the log this is the message it sends multiple times a second:
debug 2024-01-26 14:19:36Received Zigbee message from '0xa4c1384dbffac70e', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0],"type":"Buffer"},"datatype":4,"dp":36}],"seq":265}' from endpoint 1 with groupID 0

storm ibex
#

Does anyone have suggestions for zigbee GU10 RGB lights that are not Hue?
Im fed up waiting on nanoleaf and trying to find options.

molten linden
tall wyvern
#

was looking at some track lighting online and it offers zigbee but it's tuya. another option is 2.4ghz wifi. is tuya that bad that i should give wifi access to this track lighting?

sour shadow
#

Tuya Zigbee isn't always bad

#

Does really depend on the model though

tall wyvern
#

gotcha okay. i can get a sample first i think

red cedar
#

would this be the right place to ask about using the zigbee2mqtt container with a HASS container? just want to make sure before I ask

carmine hamlet
#

Yes

sour shadow
#

Yes

#

See, what he said

carmine hamlet
#

Yes

rapid dawnBOT
#

@red cedar I converted your message into a file since it's above 15 lines :+1:

sour shadow
#

You got the ports the wrong way around

#

host:container

#

If you'd taken the time to check the container logs you'd have seen it complain at you 😉

red cedar
#
Zigbee2MQTT:error 2024-01-26 08:20:39: Exiting...
Zigbee2MQTT:error 2024-01-26 08:20:39: Error: Error while opening serialport 'Error: Error: Not a tty setting custom baud rate of 115200'
    at SerialPort.<anonymous> (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/znp/znp.ts:146:28)
    at SerialPort._error (/app/node_modules/@serialport/stream/dist/index.js:82:22)
    at /app/node_modules/@serialport/stream/dist/index.js:118:18```

container logs are complaining about something different 😉
#

checking that url

sour shadow
#

Well, duh 😉

#

What device is it trying to open?

#

||/dev/null||

red cedar
#

I don't have one hooked up right now

sour shadow
#

Well, then Z2M won't start...

red cedar
#

ah, so it can't start at all without a device hooked up. that's good info. thanks 🙂

sour shadow
#

That's why the Z2M docs tell you you require a coordinator, and an MQTT broker, before you begin

red cedar
#

thanks for the help, I'll keep building out the compose file until my dongle arrives in a few hours 😛

sour shadow
#

If you use healthchecks then this checks that the UI is up:

    healthcheck:
      test: ["CMD", "/usr/bin/wget", "-q", "-O -", "http://127.0.0.1:8080"]
      interval: 60s
      timeout: 5s
      retries: 3
red cedar
sour shadow
#

Nah, you can have Docker do healthchecks on containers

#
CONTAINER ID        IMAGE                                      COMMAND                  CREATED             STATUS                   NAMES
20553b52a99a        koenkk/zigbee2mqtt:1.34.0                  "docker-entrypoint.s…"   6 weeks ago         Up 3 weeks (healthy)     zigbee2mqtt_new
red cedar
#

ahhh ok.

sour shadow
#

You can use that in tools like container-mon to report if a container has problems

clever cedar
#

Guys, I'm locating my coordinator (SLZB-06) on the roof of my apartment 75sq meters (16cm thick concrete walls)

This coordinator has a 5db detachable antenna, so I was thinking If changing the antenna to a better one could make the difference?... I want the best possible connection

tropic depot
#

I have played w/ high gain antennas on the coord a bit… it’s tough to say if there is any benefit. It could adversely affect routing because the coord may pick up stuff that routers should

#

But I don’t have any definitive proof either way

clever cedar
tropic depot
#

I thought it hurt more than helped

clever cedar
#

thanks!, I'll try some zigbee repeaters then, any recomendations?

#

also I'm thinking about cutting out my 2.4ghz Wifi and use only the 5ghz

tropic depot
#

I have ~185 zigbee devices and ~80 WiFi all living together fine

#

And 20 or so zwave

grim igloo
#

80 wifi...

tropic depot
#
  • interference from a few dev networks for ZHA… so not sure it’s worth dropping 2.4Ghz WiFi
tropic depot
grim igloo
#

like 5 APs?

tropic depot
#

Nah… 2 Amplifi Aliens w/ Ethernet backhaul

#

They handle the load just fine

grim igloo
#

i still went out of my way to minimize interference by putting my wifi AP on channel 11 furthest away from my zigbee coordinator on 25

tropic depot
#

Yeah that should be done

#

But ditching it altogether isn’t necessary

grim igloo
#

imo it's not really possible to ditch when so many IoT things are 2.4 only

tropic depot
#

Yep

grim igloo
#

i am trying to downsize on my ~60wifi devices between 4 APs for better airtime fairness tho

clever cedar
#

I have 1 Unifi U6 Lite for less than 10 Wifi devices on my apartment on channel 4 and 60zigbee devices on channel 25

#

most of my neighbors uses channel 1

tall wyvern
#

any recommendations for presence detection sensors that can be built into the ceiling?

grim igloo
#

channel 4...

clever cedar
#

yeah... no one uses that one for wifi

grim igloo
#

ya cuz channel 1 and 6 are bleeding into it

clever cedar
#

most of my neighbors uses 1, 6 and 11

clever cedar
#

yeah I know...

#

for the moment this is the channel with least interference

lofty stag
#

is it possible to find this device ????
No response to 'CommandId.aps_data_indication' command with seq id '0x67'

sour shadow
#

is that from ZHA, Zigbee2MQTT, deCONZ, something else?

lofty stag
#

ZHA

sour shadow
#

The complete error will help people help you

lofty stag
#
Logger: zigpy.application
Source: runner.py:188
First occurred: 23:43:26 (2 occurrences)
Last logged: 23:43:26

Unknown device AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x87A2)
#

the question is how to find out whic is this device?

tall wyvern
#

i was looking at zigbee receptacles that can work in USA but found a limited selection. is the idea that you should just use a zigbee module device? i was thinking it would be good if it could do on/off and power monitoring. i dont know if the modules can do monitoring as well. not sure if monitoring is the right word but power consumption over time?

main ruin
#

Some might offer that functionality

#

However zigbee, in-wall and possibly high current loads as a combination isn't something advisable

tall wyvern
#

that makes sense, the ones i've found so far have been wifi

main ruin
#

wifi likely doesn't make a difference in this equation. Tho personally id trust shelly gear more than some random tuya switch

#

Theoretically you could use one if those switch replacement modules which are intended for lights to smartify an outlet

#

Just don't have a physical switch connected to them. But they may not necessarily have energy monitoring functionality or last long switching high or inductive loads

tropic depot
lofty stag
#

yes, I know but how to find which device is it ??

#

have to look one by one ?

tropic depot
#

You can use that

tall wyvern
mellow geode
river hatch
#

Hi. How do you put Philips hue into pairing mode

mellow geode
#

The bulbs? Mostly by resetting them with TouchLink (hold first and last button next to the bulb until it starts and stops blinking)

#

Newer bulbs are supposedly also resettable by power-cycling 6 or 8 times or something

grim igloo
river hatch
#

That's annoying. Looks like there's no power cycle reset

lofty stag
#

it only takes 30'' to add them to ZHA

#

am still on 12.3
any update for the beta??

river hatch
lofty stag
#

0x87A2 doesn't show anything on ZHA highlight devices

#

No response to 'CommandId.aps_data_indication' command with seq id '0x23'
No response to 'CommandId.aps_data_indication' command with seq id '0xef'
No response to 'CommandId.aps_data_indication' command with seq id '0x95'
No response to 'CommandId.aps_data_indication' command with seq id '0xc2'
No response to 'CommandId.aps_data_indication' command with seq id '0x44'

mellow geode
#

It'll also reset when removed from a network ("Remove Device" from ZHA)

river hatch
river hatch
mellow geode
#

Do you have a Hue dimmer?

lofty stag
#

No response to 'CommandId.aps_data_indication' command with seq id '0x23'
No response to 'CommandId.aps_data_indication' command with seq id '0xef'
No response to 'CommandId.aps_data_indication' command with seq id '0x95'
No response to 'CommandId.aps_data_indication' command with seq id '0xc2'
No response to 'CommandId.aps_data_indication' command with seq id '0x44'

rapid dawnBOT
#

@red cedar I converted your message into a file since it's above 15 lines :+1:

red cedar
#

so it makes sense that it's not able to connect. what I'm wondering is how can I point it at the mqtt container to handle this? I looked in the configuration.yaml for the container and see the server directive there. could I/should I specify it there? or is there a better way? happy to share the docker-compose file I'm running.

#

changing the IP changes the logs to say not authorized... I guess I should be able to find some way to shove the auth for mosquitto into the config... googling now

#

ok got it. front end is loaded, no more errors

red cedar
#

ok, I'm missing something (clearly). I've got zigbee2mqtt up, I've got mosquitto up. I added zigbee2mqtt to my HA panel. homeassistant is set to true in the zigbee2mqtt.

I grabbed a zigbee device to try to add it to HA. set zigbee2mqtt to allow parining, set the device to pairing and it paired with zigbee2mqtt, but it's not showing up in HA. I'm sure I've missed something dumb. Does anyone have any quick pointers? I know there's lots of different things that may be required to troubleshoot (logs, etc), but I imagine this is something silly I've missed.

#

ah... got it. had to add the mqtt thing. device shows now

river hatch
river hatch
#

zigbee2mqtt question

I was updating some hue lights and they hang for hours. So I restarted my z2m setup and now its stuck at 0% Remaining time. Is there a correct way to cancel and retry updates?

balmy fossil
#

im not sure if this is a good channel. But ive got a bricked ZBDongle-E which i think i need to reflash using JTAG interface. Do i need to use the official TI JTAG debugger for flashing (100>USD) or are there some cheap alternatives for example on Ali?

river hatch
#

Hi. I was trying to use the IKEA buttons in z2m. I wrote some blueprints for zha that I was trying to adapt but I keep getting empty states from z2m. It also seems that a long press only occurs once so I guess I need a loop?

Can someone provide me an example of how to loop until the state is no longer long press, and also if anyone knows of a way to deal with the empty states?

river hatch
balmy fossil
willow bronze
#

Is there any way to migrate from ZHA to Zigbee2MQTT through backups files or any other way?

#

i would really like to avoid re-pairing

#

(the reason I want to migrate is poor device support in ZHA)

twin walrus
#

I'm trying to get my SkyConnect working with Z2M (first installation, received it yesterday), but I'm unable to connect to the device, getting

Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)

An ls -la /dev/serial/by-id shows that it's connected to /dev/ttyUSB0 and I've specified that in the Z2M config (port: /dev/ttyUSB0), but just keep getting the above error... Anyone run into anything similar?
Edit: typo's

river hatch
river hatch
twin walrus
#

I'm just getting started (trying to move from Philips Hue to SkyConnect, without much luck so far...)

#

Is using these devices (e.g. SkyConnect) from a USB (powered) hub a problem???

ashen bluff
twin walrus
# ashen bluff Please share the whole log and your config.

Config:

data_path: /config/zigbee2mqtt
socat:
  enabled: false
  master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
  slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
  options: "-d -d"
  log: false
mqtt:
  server: mqtt://core-mosquitto
serial:
  port: /dev/ttyUSB0
zigbee_herdsman_debug: true
ashen bluff
#

And the config file itself.

twin walrus
#

Weird, that's showing:

serial:
  port: >-
    /dev/serial/by-id/usb-Nabu_Casa_SkyConnect_v1.0_2cd0cb25ba9aed11a2467c08a8669f5d-if00-port0
#

(which I tried, also without luck)

ashen bluff
#

Please note that SkyConnect is only experimentally supported in Z2M. Make sure ZHA is disabled.

twin walrus
#

Yeah, I understood that, but also heard people have been using it with success... I have a device I believe not supported by ZHA but is by Z2M...

tropic depot
#

Hopefully soon that will be a thing of the past… we are working on making device support much easier to add for ZHA

twin walrus
#

Okay, think I fixed it... I was missing the adapter: ezsp config and the user/password entries for mqtt config...

leaden canyon
#

<@&330946878646517761>s Is it possible to split this channel into ZHA and Zigbee2MQTT? Most problems aren't related to Zigbee, but to the implementations.

sudden fern
#

There is a specific Discord server from Zigbee2MQTT for specific support from their end.

leaden canyon
#

@sudden fern I think, the 2023.12 and up versions of HA broke some stuff for the zigbee implementations, so the issues should be handled here.

tropic depot
#

Splitting the channels would cause even more confusion and it would split folks trying to support users IMO

#

I see no advantage to creating additional channels

frigid mica
#

Yeah, no, it's not going to be split

ocean onyx
#

anyone here ever tried plugging in a ZB-GW03 to a 2.5G switchport? mine keeps experiencing link drops when i do so, and there's no 1G port in the location i want to put the thing..

main ruin
#

I don't think ports rated for higher speeds would cause any issues

ocean onyx
#

in theory... in practice i've had occasional issues with 2.5G ports

main ruin
#

Especially as the onboard eth is 10/100m

ocean onyx
#

like, with other devices too

main ruin
#

That sounds more like the switch isn't good kinda issue

ocean onyx
#

the drops happen with another 2.5GbE dongle i have too

#

well. hmm. let me see if it happens if i use a different cable shrugs

main ruin
#

2.5gbe dongle?

ocean onyx
#

i connected the GW03 to my computer via a USB ethernet adapter to debug just now since it kept dropping when connected to my switch

#

and the link also kept being lost

main ruin
#

Weird enough

#

That shouldn't be an issue with non speed matching ports in particular
Maybe the firmware or entire zb hub is no good?

ocean onyx
#

i doubt it's firmware, the ethernet is handled in hardware by a dedicated chip on this thing

#

yeah, it really hates 2.5GbE ports. i just plugged it into a 1GbE USB ethernet adapter and it works fine.

#

sigh. i'm replacing that 2.5GbE switch with a managed one soon; maybe i'll try disabling autonego and seeing if that works (or maybe that new switch will miraculously work fine)

main ruin
#

It's particularly weird as it should drop to 100m

ocean onyx
#

it does autonego 100M

main ruin
ocean onyx
#

but the link just flaps every now and then. and.. weirdly enough, it seems like traffic makes it stay up longer

#

i should just solder on some UART headers so i can see what's going on on the device.. but i ran out of solder lol

main ruin
#

You could also try and trick it into half duplex mode by snapping the wires

#

But that's not a good solution either way

shadow tartan
#

Bought the new Moes contact sensor to try it out. So far so good.

#

I might give Yolink 1 more month, maybe. If there is still no news of the hub 3 and this Moes sensor is working well, I'll probably load up on them at AliExpress.

shadow tartan
#

I like them, they're very tiny like the Aqara sensor.

#

Want to see how they are after a month though before I decide to load up on them

#

But they're only $5 on AliExpress. So it's very cheap to get everything I need if I commit.

sour shadow
#

Cheers, always good to know alternatives that work, and aren't from companies that have gone bust/pulled out of the market

main ruin
#

Isn't that also just tuya

shadow tartan
#

Yes, but it's Zigbee. You're not tied to Tuya.

main ruin
#

Maybe they work nicely, but if it's tuya and heavily discounted that's usually not the best sign

shadow tartan
#

It's not that it's heavily discounted. Almost everything on AliExpress is cheap.

#

I bought 6 Zigbee buttons from there. 4 being Aqara buttons. They've all been working fine.

main ruin
#

It's most definitely not all bad

sour shadow
main ruin
#

good to know

gleaming jay
#

Can anyone recommend a mains-powered zigbee device like a wall light switch that works well with aqara sensors? I’ve got a pretty good network in my home but still manage to lose aqara sensors every few weeks

barren snow
barren snow
#

is there some [in]sane way to discover what a TuYa-complaint device can accept as parameter without guessing? For example some switches allow disabling double-click to avoid delay in single-click scenarios, but how to discover such options if one doesn't have spec from [random Chinese] manufacturer?
...or do I need to buy a TuYa hub and do reverse engineering/sniffing?

barren snow
tropic depot
astral seal
#

Hue are some of the best router devices you can get your hands on, but I've never had any issues with my Aqara end devices routing with those or really any of the various makes of devices I've got.

grim igloo
tropic depot
#

The ones that are BT + Zigbee… I don’t have any from before that

shadow tartan
#

About Aqara motion sensors, can it distinguish people from a moving door for example?

#

I'm thinking about replacing my Yolink sensors and I have one in my porch area. I like the fact that it doesn't go off every time a leaf blows by.

#

The only other motion sensor I own is my Kasa motion switches. And they go off when I open the door to the bathroom.

#

Which is fine in that instance. But not something I want in an outside setting.

sour shadow
#

PIRs all work the same, based off of "moving" IR

#

There's plenty of good articles that explain the mechanics

shadow tartan
#

I thought that too. But my Yolink motion sensors really don't go off for a moving door. Only when they see a person.

sour shadow
#

Tuned differently maybe

shadow tartan
#

I've even poked out a stick to test it and it didn't go off still.

sour shadow
#

Well, no PIR will detect a background temperature stick moving across the background at the same temperature

#

Take a heated poker though...

shadow tartan
#

I only have my kasa motion switches to compare to my Yolink motion sensor. So I have no idea how every other sensor works.

sour shadow
#

Google for how PIRs work and you'll learn the basics

shadow tartan
#

Hmm okay, maybe the kasa motion switch isn't PIR? I guess that may be the difference?

sour shadow
#

No idea, or as I said it could be tuned differently

shadow tartan
#

Yeah I think your conclusion is probably right.

barren snow
#

@shadow tartan if you want to distinguish things you want something with 24Ghz radar where you can fine-tune energies. If you want even better detection you're only left with image analysis and cameras

shadow tartan
#

I just want something that works like my Yolink motion sensors if I decide to replace them.

#

No way to know unless I get stuff and try them though I guess.

radiant temple
#

Can anyone recommend me GOOD thermostat? I have TS0601 and it is literally crap. It can't work properly in just simple auto mode. And it does not expose setter for valve position....

sour shadow
#

Can anyone recommend me GOOD thermostat

cold obsidian
#

I hive the TS0601 Vavle (from Silvercrest). There is a "Binary ONE" and "Binary Two" in the Details in Zigbee2MQTT.
I wonder what for this switches are.
If I toggle the Binary ONE, I see "NOST" for a second in the display of the valve, then it switch back to show temperature.
If I toggle Binary Two, I see no change at all.
Any Idea what for this swtiches are?

rapid dawnBOT
#

@rose musk I converted your message into a file since it's above 15 lines :+1:

sour shadow
#

The path is wrong

#

You said it was ttyUSB0 and that's clearly using ttyACM0

rose musk
#

Im confused why tho the configuration of Zigbee2mqtt is set to

port: /dev/ttyUSB0

sour shadow
#

The add-on requires you to set that up in the add-on UI from memory

carmine hamlet
#

Maybe needs to map the path into the container

sour shadow
#

Please @rose musk look at your image more carefully

rose musk
sour shadow
rose musk
sour shadow
#

Read the heading in the image above

#

Does that say serial?

rose musk
#

i hate my fucking life

shadow tartan
#

I googled Yolink Hub 3 and came across some guy who said that Yolink told him it'll be available by the end of the year.

#

Aside from the many broken promises, this year just started.

#

That's enough for me, I finally ordered 10 new Zigbee sensors.

fluid prism
#

since a couple of hours, zigbee2mqtt have stopped working for me, not sure what has changed

#

but in z2mqtt I get this

Zigbee2MQTT:info  2024-01-29 20:27:16: MQTT publish: topic 'zigbee2mqtt/luz_tele', payload '{"linkquality":45,"state":"OFF"}'
Zigbee2MQTT:error 2024-01-29 20:27:22: Publish 'set' 'state' to 'armario_juanjo' failed: 'Error: Command 0x9035eafffe50e225/1 genOnOff.off({}, {"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: 'MAC channel access failure' (225))'
Zigbee2MQTT:debug 2024-01-29 20:27:22: Error: Command 0x9035eafffe50e225/1 genOnOff.off({}, {"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: 'MAC channel access failure' (225))
    at ZStackAdapter.sendZclFrameToEndpointInternal (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:415:23)
    at Queue.executeNext (/app/node_modules/zigbee-herdsman/src/utils/queue.ts:32:32)
Zigbee2MQTT:info  2024-01-29 20:27:22: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"Publish 'set' 'state' to 'armario_juanjo' failed: 'Error: Command 0x9035eafffe50e225/1 genOnOff.off({}, {\"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: 'MAC channel access failure' (225))'","meta":{"friendly_name":"armario_juanjo"},"type":"zigbee_publish_error"}'
#

I am unable to change the state of any device... any idea what might be wrong?

#

or to be more precise, most of the time I am unable to change state of devices, and sometimes it changes the state, but it takes like 5 or 6 seconds. previously was instant

tropic depot
#

Looks like interference

#

Mac channel access failure

fluid prism
#

hmmm, that is strange, I havent changed anything on the zigbee frequency

#

wifi 2.4GHz is as always :-s

#

is bluetooth on the same band???

sour shadow
#

Yes

#

And many other things

smoky anvil
#

has anybody try to pair ikea zigbee repeaters with ZHA?

tropic depot
#

I used to have several and I can add one to dev for testing

#

What’s up?

smoky anvil
#

just confirming if they work

tropic depot
#

Yep

smoky anvil
#

and you did 🙂

#

Thanks!

tropic depot
#

Though I’d recommend you get something functional

#

Like smart plugs or something else you can use if you are going to buy them

smoky anvil
#

oh I have them, several of them... plugged in doing nothing lol

tropic depot
#

The third reality smart plugs w/ energy monitoring are awesome

smoky anvil
#

I have their smart rollers and came with it

smoky anvil
#

Thanks again

tropic depot
#

Any time

raven jewel
#

I have some of the repeaters set up for my parents (where they don't want/need smart plugs, or where they don't really have space for those), and they work just fine.

fluid prism
# sour shadow And many other things

interesting. so today I have started using a new computer on the same place where the zigbee coordinator is located, and I am using bluetooth headphones... looks like that that is what is producing the interference :-s

storm ibex
#

What is everyones take on ZHA vs Zigbee2mqtt? I am just getting started and if i should switch to Z2m, would rather do it now before getting more devices in.
Only considered it as this mmwave sensor i connected doesnt seem to have any of the presence stuff in ZHA (just basic motion?) but seems its available in z3m

fluid prism
#

I started with ZHA and it works fine. however there are some stuff I dont really know if ZHA supports. For example, I have several coordinators, since I have several zigbee networks, and with z2mqtt I can just change the mqtt topic for each network and integrate everything on HA, not sure if you can get something like that with ZHA

#

also, I had some devices with tasmota and that time, and they were integrate using mqtt, so I decided to use z2mqtt and have everything through mqtt

sour shadow
#

Mostly comes down to personal preference really - functionality wise they're broadly similar

high knot
#

So if i’ve come across a zigbee device that doesn’t work in ZHA, is there any steps that I can do myself to try and get it supported? Some sort of probing commands?

#

Its a Tuya thermometer/hydrometer

#

Only entities are LQI and Rssi

raven jewel
#

You probably need a quirk for it, lots of Tuya devices are like that.

high knot
#

So enable custom quirks, then repair?

raven jewel
#

Well you'll have to get the quirk for that device.

high knot
#

seems if i want it to work i need to switch to z2m

high knot
austere patio
#

You don't install quirks, they come pre-installed with ZHA. This is just what ZHA calls code to deal with non-standard devices. If your device is useless without someone reverse engineering it (i.e. most Tuya stuff), you just have to wait for someone to do that.

high knot
languid sky
high knot
#

seems its working in z2m now

#

but not zha

#

i bought a zigbee relay as well so i guess we'll see if that one works

#

going to wire it up now

#

seems to be working

#

gonna see if i can do some research on how to reverse engineer this

#

or even just port the z2m code

high knot
#

Seems to be working, if only i got a supported probe

#

Relay works though, powered directly off C wire, going to wire it control heat now

#

Plan is to use this with HACS Better Thermostat addon

north willow
high knot
#

how did you make it work in ha

#

zigbee2mqtt?

high knot
#

reading more I see that apparently it will start working normally as long as command 0x0003 is sent over 0xef00 cluster

#

I dont have a drop down option for 0x0003 in ZHA, is there a way I can type a custom command?

mellow geode
#

Did you check the clusters UI menu? (Device page -> three dots -> Manage Zigbee device -> check for Tuya manuf cluster)

#

So, with the next HA version, it should be relatively simple to make a quirk for that device. You can likely use zigpy/quirk-generator to generate a stub quirk, replace CustomDevice with the Tuya EnchantedDevice implementation. That'll send Tuya specific commands during pairing. But you'll also need to set tuya_spell_data_query = True to send the new 0x03 / query data command (like seen in #2940).

mellow geode
mellow geode
#

huh, there are two issues opened in the repo for the exact same sensor

high knot
#

oh lol, interesting

celest wolf
#

I am getting errors when trying to reset my Zigbee adapter. Out of no where my Zigbee radio config was reset. Trying to restore auto backups all fail.

high knot
#

trying to get the stub generator working right now

celest wolf
#

I tried to install esphome on my Raspberry Pi that's running HA. When I went to add the esphome integration I noticed that my ZHA integration was complaning about an error. It wanted me to try to restore an automatic ZigBee network backup. But, when trying to install the backup I just got a popup window with the word Error.

high knot
mellow geode
#

There's no quirks bump yet. If you want to experiment, you can try to replace the zhaquirks package with the dev branch from the quirks repo. (but only do that if you really know what you're doing)

#

But we'll get everything ready later today/tomorrow for the beta release

high knot
#

I can wait a bit, ive set my thermostat to read my dyson fan instead

#

When the beta rolls out i’ll see if i can figure out how to build the ha docker container, otherwise ill wait

river hatch
#

Zha had a "unavailable after X time" feature. This cleaned up any zigbee lights I had physically turned off for my lights on template.

Does z2m have this feature?

sour shadow
#

Yes

#

Under the heading of availability in the Z2M docs

supple roost
#

Hi, i currently use a conbeeII and ZHA. I bought a skyconnect to replace it. Will i need to redo all my zigbee devices? Or will it just recognize them as the same devices?

regal pumice
#

Anyone test these out?

Their generic zigbee smart relays with power monitoring

#

I'm very tempted to buy bulk

#

Open to alternative suggestions

#

I'm also looking at this 3 gang zigbee 110v switch

#

Was hoping to use with it ha just Esclusively for automations, no load so fingers crossed that it'll work independently since it has neutral.

#

Any thoughts?

main ruin
#

Id buy one and do some load cycle testing on them to see if they fail

#

If stuff checks out to work nicely then it's time to bulk buy

simple ruin
#

Hi, just tried to connect my TuYa TS0210 vibration sensor with zigbee2mqtt but there is a notification popping up which says that the device is not supported. I read a lot of comments which tells that this vibration sensor should work. Any ideas or workarounds to solve this?

sour shadow
#

What version number of Zigbee2MQTT?

simple ruin
sour shadow
#

Then it's not an outdated Z2M that's te problem

#

Try re-pairing it, keeping it awake

north willow
# high knot zigbee2mqtt?

Yeah, zigbee2mqtt works great, just cant figure out how to change the display to show F instead of C

high knot
#

They take 5-32v input though

#

Work fine in ha/zha though

jovial blaze
#

Has anyone else ever had issues with the Tradfri 5 button remote just rapidly eating batteries and then losing connection because it’s dead? I just replaced it yesterday and it’s dead today

simple ruin
sour shadow
#

Then probably you've got a Tuya special

#

They're well known for producing devices with the same identifier but different internals and behaviour

regal pumice
regal pumice
main ruin
#

Could imagine running a high load device which is tisnt bothered by power losses like an electrical heater and then have an automation turning it on and off every couple seconds

regal pumice
#

What reaction would I see?

#

It failing if the components are poor?

main ruin
#

At worst the relay would fail in one of various ways (you'd likely want some more protection in that testing setup) or some measurement could be off or it effectively doesn't behave in a way you'd like

#

You really don't want to buy and put a bunch of those up and figure out they fail in a month on more reasonable usage

#

At best you find someone having done such tests online as this could very well be a fire hazard

regal pumice
#

I'm currently running 4 of these, just noticed their 10 amp and I've got them on a 15amp circuit.

Doubt that'll be an issue though since the loads aren't pulling that high individually

high knot
#

Ordered from here

#

They have another model it seems

regal pumice
regal pumice
#

The WD02 looks like another choice

#

Acording to the github they have energy monitoring

regal pumice
#

Would I be crazy to buy 10 for 60 bucks and then stress test them.. if one fails send em back 🤷

#

There seems to be an ihsw02 model floating about

#

Which might be a repeater too

#

I wish there was more documentation on this stuff

knotty spoke
#

Hey,

I'm having a problem with my TuYa ZY-M100-24G https://www.zigbee2mqtt.io/devices/ZY-M100-24G.html
motion sensor. Can you help me fix it? The motion sensor does not detect any movement after modifying parameters (motion sensitivity, fading time, detection distance max). 'Target Distance' constantly shows 0 and does not update.

Home Assistant Core: 2024.1.5
Supervisor: 2023.12.1
Operating System: 11.4
Frontend: 20240104.0
Zigbee2MQTT Version: 1.35.1-1
Device Info: TuYa ZY-M100-24G

I tried to switch to Zigbee2MQTT Edge version and I had the same result. I unnpaired and re-paired the device and still the same. I found a similar issue on GitHub, but the solution didn't work for me. https://github.com/Koenkk/zigbee2mqtt/issues/18237

Can anyone give suggestions or advice for a similar problem? I'd appreciate any help you can offer!

rough geyser
#

If this is not the right place to ask, please point me in the right direction!
But: I have an IKEA DIRIGERA hub already and is now falling in love with Home Assistant. Therefore I have bought different zigbee devices and a Sonoff USB stick to do some testing before I make the final switch.
Now my question is: Am I able to run with both the IKEA hub and the Sonoff stick simultaneously, or will they radiowise interfere with each other? I.e., can two zigbee coordinators co-exist with each their own set of devices?

sour shadow
#

Yes, as long as they're on different channels you'll be fine

rough geyser
#

Thanks

celest wolf
austere patio
austere patio
tall wyvern
#

If I have some hardware that only works with tuya hub, is it possible to connect the tuya hub to HA?

sour shadow
#

if that's Zigbee hardware you don't need the hub

#

(and don't want it)

tall wyvern
#

Got it thank you, I'll take it there in the future

sour shadow
#

Just remember that all Zigbee hardware works with ZHA or Zigbee2MQTT, no matter what they claim

lime locust
#

I have one lidl/silvercrest zigbee button which seems to go into sleep mode , because 1st press often doesn't work , anyway to fix this ?

sour shadow
#

Replace it with something not Tuya

lime locust
#

any pro buttons recommendations ? planning on replacing all light switches in the house ...

sour shadow
#

Aqara ones work fine, and the new T1 version is even Zigbee 3.0

celest wolf
sour shadow
#

See the second and third pinned message

patent gazelle
sour shadow
#

The fix would almost certainly be to the converter

patent gazelle
#

Not exactly sure what that means. I do know this does impact all of my Aqara plugs. Looks like an issues with ZHA as well.

#

Maybe there's a different way to interperet the data in MQTT?

sour shadow
#

Well, ZHA and Z2M are two completely unrelated software stacks, so ... yes

patent gazelle
#

Thanks for the info.

celest wolf
#

I have finished flashing the Zigbee adapter.

austere patio
#

Network formation refused: there is too much RF interference. Make sure your coordinator is on a USB 2.0 extension cable and away from any sources of interference, like USB 3.0 ports, SSDs, 2.4GHz routers, motherboards, etc.

celest wolf
#

Well, the raspberry pi with the zigbee adapter is in a closet 5 feet away from my wifi access point.

#

Can't really move it.

#

I can move the adapter to a usb extension cable to move it away from my raspberry pi wifi adapter

patent gazelle
warm parcel
#

I'm feeling so dumb with this question, I'm SUPER new to this; it's just one of those Zigbee USB adapters that I need to plug into the Raspberry Pi I have HA on and it should be fine, right? Aside from the actual other smart devices

#

Feeling a bit overwhelmed with so much out there as I'm dipping my toes in, sorry for the daftness

patent gazelle
warm parcel
#

Beautiful, just wanted to make sure

violet wave
#

@mellow geode thanks a lot !

warm parcel
#

@patent gazelle you are the best, thanks man

celest wolf
grim igloo
celest wolf
#

🤷 That's what I have.

#

Trying to restore a different automatic backup produces the same error.
2024-01-30 16:08:41.313 ERROR (MainThread) [aiohttp.server] Error handling request

mellow geode
# violet wave <@773609067264344105> thanks a lot !

Sorry for the long wait. HA 2024.3.x should be the version with your new implementation Tuya TRV implementation then.
(It was too late to merge and rebase the other PR for 2024.2.0 + there's a similar thing for a Danfoss PR we also need to do)

I'll wait a week or so after the official 2024.2.0 release to make sure we don't need to release any new patch versions for quirks, and then we can merge the quirks PR, bump in HA and rebase your HA PR. 😄

proud folio
celest wolf
#

I can't even setup a new network with my same dongle.

#

Is there a way to reset all ZHA settings and databases to totally start over? Every action in the radio config menu gives an error.

#
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1241, in async_setup
raise OperationNotAllowed(
homeassistant.config_entries.OperationNotAllowed: The config entry /dev/ttyUSB0 (zha) with entry_id 344c7c292d19251aab2e91c64913326d cannot be setup because is already loaded in the ConfigEntryState.SETUP_ERROR state```
tropic depot
#

You need to remove the other instance of ZHA

violet wave
mellow geode
#

nice!

mellow geode
#

Reloading ZHA might be enough too (if you can do that at this point)

proud folio
celest wolf
#

In the settings it wants me to restore the backup. But, when I try to restore it I just get a blank menu with the word Error.

grim igloo
#

i think this is considered self-doxxing :x

#

network_key should stay private

celest wolf
#

Alright, good to know.

#

This whole situation is so frustrating.

drifting flare
#

The other thing to be aware of is that those Aqara sensors sometimes drop off the zigbee network and you'll need to press the little button on the side to have them rejoin.

proud folio
#

Intresting, thanks for da info:)

shadow tartan
#

So I got a new presence sensor and moved the old one to another room. But the old one was also a zigbee router that a contact sensor was connected to.

#

I checked the network and it say the contact sensor has a 0 LQI with that router now. But it still works perfectly fine.

#

Does that mean it's connected to the coordinator again and just isn't updated? Can it work just fine at 0? Is it something else?

main ruin
#

If it still works just fine there is fairly little to worry about. It should jump to another router or the gateway when it seems to be optimal to do that

charred pawn
#

Hi, I'm looking into testing https://github.com/zigpy/zha-device-handlers/pull/2888 I tried to just use the cutom quirks way sensors quirks get loaded but I get "ImportError: cannot import name 'EnchantedDevice' from 'zhaquirks.tuya' (/usr/local/lib/python3.11/site-packages/zhaquirks/tuya/init.py)" it seems the custom quirks doesn't overide the tuya/initi.py ... Does someone have a pointer on how to use a dev branch of zhaquirks in a home assitant installtion the safe way ?

charred pawn
mellow geode
#

Just install the HA beta that comes out later today

tall wyvern
ashen bluff
#

Most non-battery powered devices are.

sour shadow
#

The exceptions are mostly two-wire dimmer/switches and Sengled bulbs

charred pawn
tall wyvern
languid sky
#

Whining time: Zigbee was supposed to be local, easy and stable -> so far it is the source of my biggest frustrations and disappointments :/ Nothing works OOTB and when I hack my way to make it work, it does not work reliably.

Compare that to the WiFi stuff, which "just works", especially on Tasmota.

austere patio
#

Did you buy cheap Tuya devices?

languid sky
# austere patio Did you buy cheap Tuya devices?
  • Sonoff Dongle–P coordinator (CC2652 by Texas Instruments)
  • 6x Sonoff SNZB-02 temp&humid sensor (TH01 by eWeLink)
  • 2x Tuya buttons (22WZ; TS0041 by _TZ3000_mrpevh8p)
  • Pclab socket (Tuya; TS011F by _TZ3000_w0qqde0g)
  • Ketotek thermostat (TS0601 by _TZE200_6rdj8dzm)
  • Tuya Human Motion Sensor (TS0202 by _TZ3000_6ygjfyll)
  • ZHA
austere patio
#

Tuya + Sonoff explains it 😄

languid sky
austere patio
#

Sonoff sensors are just not good. They aren't reliable. Tuya devices also don't work out of the box 50% of the time because they all run a custom protocol on top of Zigbee. Stick to Zigbee 3.0 devices from other manufacturers.

languid sky
sour shadow
#

There's been many lists, but they all fail when nobody manages them any more

languid sky
carmine hamlet
#

There's no restriction on it as far as I know

sour shadow
#

Yeah, you're blocked because you always leave the ping on when using reply 😉

#

That way you don't have to remember, and I don't have to get pointless pings

languid sky
languid sky
molten linden
#

Some of the newer Sonoff sensors (generally round not square) seem much improved in my testing, their Temp/Humidity Display sensor also seems to be working okay. I started a list (with affiliate links) of stuff I use and like because why not, and maybe it's helpful to other, I use ZHA so anything here will definitely work with ZHA too. https://tubeszb.com/zigbee-products-i-use-and-like/

molten linden
languid sky
molten linden
#

those sound more related to interference or device issues on your mesh. official quirks or custom, just take the data coming from the device and translate it to something ZHA understands, and takes what HA/ZHA sends and translate it to what the devices understand. they are only needed when devices don't follow the zigbee spec. for which Tuya is known - most tuya based devices just use zigbee as a transport layer for their own data, completely ignoring the spec. a lot of times you can just transplant a zigbee module into a wifi one it will work, as tuya uses the same MCU in both, and just drop a zigbee radio in zigbee ones, and a wifi radio in those 🤷🏼‍♂️

shrewd locust
#

Hi, is there a plugin/module that makes it easy to update the firmware on Silicon Labs SkyConnect from within the home assistant?

languid sky
# molten linden those sound more related to interference or device issues on your mesh. official...

those sound more related to interference or device issues on your mesh.
hence me starting my today's whining with stating that Zigbee being disapointment –> no connection issues on wi-fi devices. i know that in theory Zigbee shall be better on all technical aspects -> but reality is that… well… maybe i'm unlucky or sth -> but i do have a lot of issues and fight them one at the time. lucky to have soooo muuuuuch time to spend on this 😛 (wish i could spend it on sth else ofc ;p)

shrewd locust
austere patio
#

You don't have to unplug it. It runs as an addon.

charred pawn
# languid sky Whining time: Zigbee was supposed to be local, easy and stable -> so far it is t...

Is this coparison fair? Wi-Fi device mostly use intermediate app or custom API, whereas zigbee offer standard measure for a huge amount of use case, but then some vendor started to do custom implementation for lowering cost and those are pretty known ... Tuya and Sonoff... I guess the wifi sensors you initially had were more expensive and from bigger brand/firms who probably spend more time or have bigger community isn't it ? ... Will probably see the zigbe 3.0 sensors getting more stable with espressif chip following standard and lowering cost .... as with their ESP8xx &ESP32 and the WIfi sensors in their time...

languid sky
languid sky
glossy narwhal
#

I could see it wasn't quite ready in ZHA at the time but I went ahead and ordered a TS0601 ZemiSmart energy sensor. I didn't expect it to arrive so soon but here it is. I had a quick hunt around and found this https://github.com/zigpy/zha-device-handlers/blob/4ce2de5f38bc24b2ee462d3cffa8252e572cb228/zhaquirks/tuya/ts0601_din_power.py which I think is the latest quirk? I've created a custom quirk directory, linked to it in configuration.yaml and restarted, but I can still only see LQI and RSSI. Have I missed something or grabbed the wrong file?

mellow geode
#

The quirk you linked is already included in ZHA, no need to install it as a custom quirk.
Search the issues with the manufacturer name (_TZ) to see if there’s a custom quirk for your model.

#

For some devices, it’s just adding the MODELS INFO, so the quirk is applied to your device too.

grizzled lichen
#

Hi everyone,
I moved to a bigger house, and some of my zigbee devices are not in the coordinator range (sonoff zbridge with tasmota) what would you recommend to extend the range?

ashen bluff
#

Non-battera powered devices between that can act as "repeater". Bulbs, plugs, whatever.

glossy narwhal
glossy narwhal
# mellow geode For some devices, it’s just adding the MODELS INFO, so the quirk is applied to y...

I added that value _TZE200_qhlxve78) into my copy of the quirk, and it miraculously it seems to work - what's the best way to get that incorporated (I'm waaay too dangerous to be editing that file and submitting a PR):

signature = {
    # "node_descriptor": "<NodeDescriptor byte1=1 byte2=64 mac_capability_flags=142 manufacturer_code=4098
    #                       maximum_buffer_size=82 maximum_incoming_transfer_size=82 server_mask=11264
    #                       maximum_outgoing_transfer_size=82 descriptor_capability_field=0>",
    # device_version=1
    # input_clusters=[0x0000, 0x0004, 0x0005, 0xef00]
    # output_clusters=[0x000a, 0x0019]
    MODELS_INFO: [
        ("_TZE200_byzdayie", "TS0601"),
        ("_TZE200_ewxhg6o9", "TS0601"),
        ("_TZE200_qhlxve78", "TS0601"),
mellow geode
#

Nice! You can try to edit that file and make a PR though. GitHub will fork the repo first, make your edit there, and you can submit the PR.
If there’s anything wrong with formatting, I can fix that later.
Otherwise, I can also make the PR later (if I don’t forget)

glossy narwhal
sleek bramble
#

I tried both, but in Z2M is Vallhorn is working out of the box, but Parasoll claims to be implemented, but doesn't react to triggers... So the last not working as should...

tall wyvern
#

Oh no... I'm thinking of using a lot of tuya stuff hahaha fortunately I'll test it on samples first before committing

limpid cloud
stoic thistle
#

Hello i hope this is the right channel if not please say so and i will move. Im Trying to setup Zigbee and i baught a Sonoff “ZBDongle-P” USB Plus. I have HA on a Truenas Scale vm with the usb Passthrough. USB Also shows up in HA. I updated HA to the neweset version and i tested it with the firmware it came with and with the neweset zigpy one. I also tryed to flip the switch on the dongle. Im stuck at serial port settings. It says Error every time.

rapid dawnBOT
#

@glossy narwhal I converted your message into a file since it's above 15 lines :+1:

mellow geode
#

uh, they shouldn't be created if unsupported. The Tuya stuff uses a LocalDataCluster and I've just noticed that I'm also getting "useless sensors" for my Aqara EU plugs (using a LocalDataCluster). I wonder when this happened

#

Ok, wait. You're seeing that in the reconfigure dialog, right?

#

That's expected. But do all the sensors that were created show values?

fathom ibex
#

Are more people experiencing issues with their zigbee devices on Core 2024.1.5 or 2024.1.6? My mesh of 40+ nodes has been pretty solid since I started using HA last year may: all devices, including my zigbee nodes, were responsive and generally just worked fine. But lately my zigbee devices don't seem to work even for a day anymore: after at most a day most zigbee devices don't respond at all any more, some respond only minutes after the command was given. Only after a restart of the zha integration the zigbee devices start working again, but within a day it all stops again. My other devices (90+ z-wave plus a dozen or so wifi) all work fine all the time. I don't know exactly when this started, so I can't give which version i had installed at the time, but I generally update to the latest version within hours after it's available for download. When I told a colleague about my problems, he said he had similar issues at his home with his zha too, so I'm wondering could this be a result of a recent change in the zha integration? My zigbee coordinator is a Zigstar GW connected over ethernet and this responds to any request i make to it over the network (ping and the configuration pages), even when the zigbee devices aren't working anymore.

barren snow
#

god damn xiaomi sensors... all of them paired to the coordinator ;D Is there a way to re-pair them to a router, or do I need to remove them and pair again with join allowed only on the desired router?

sour shadow
#

You don't have to remove them, just pair them via the chosen router

barren snow
sour shadow
#

Yes

#

Put Z2M in pairing mode, for that one router

#

Repeat the pairing process for the sensor

barren snow
#

interesting, I didn't know you can re-pair them like that 👌 Thanks

glossy narwhal
mellow geode
#

Ok, good. Seeing all attributes in the reconfiguration dialog is normal. That's just what the device could provide.
They all get checkmarks because the cluster is faked / "local"

glossy narwhal
#

Cool.

gleaming jay
#

I have a lot of issues with battery end-devices dropping off the network. When I look at the visualization map I see many times they are connecting to a router device that’s upstairs or something, rather than one that’s 6 feet away. Is there a way to clean this up?

#

When I initially pair a new device I always do it in place

raven jewel
#

Do you pair it directly through a router?

tall wyvern
#

Once the hardware is configured and working , is it possible to disable all updates for everything?

barren snow
tall wyvern
barren snow
tall wyvern
signal relic
#

anyone else have mosquitto setup in their docker compose file along with hass? mosquitto always fails to start after I reboot my server, but if I manually docker compose up it's fine. I can't tell why mosquitto won't start correctly right after a reboot

crystal axle
#

Hello Everyone, can someone point why is my custom ZHA Quirk isnt working/loading:
What I did:
Created a folder /config/zha_quirks/
Added ts004f.py --> Modified from https://github.com/zigpy/zha-device-handlers/blob/dev/zhaquirks/tuya/ts004f.py

Configuration.yaml
zha:
database_path: /config/zigbee.db
enable_quirks: true
custom_quirks_path: /config/zha_quirks/

Restarted HA
Added the device back

But dont see any of my configuration, doesnt look like HA has loaded the custom one.

molten linden
#

Enable debug logging it should give a hint to you as to why the quirk isn’t matching. Double check that the signature in the quirk matches your device as well.

crystal axle
#

on it..

crystal axle
#

Here is the log:
[zhaquirks] Unexpected exception importing custom quirk 'ts004f'
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/zhaquirks/init.py", line 458, in setup
spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/config/zha_quirks/ts004f.py", line 59, in <module>
from zhaquirks.tuya import (
ImportError: cannot import name 'EnchantedDevice' from 'zhaquirks.tuya' (/usr/local/lib/python3.11/site-packages/zhaquirks/tuya/init.py)

#

Lines thats causing the issue:

from zhaquirks.tuya import (
EnchantedDevice,
TuyaNoBindPowerConfigurationCluster,
TuyaSmartRemoteOnOffCluster,
TuyaZBExternalSwitchTypeCluster,
)

mellow geode
#

You're not on HA Core 2024.2.0 (Beta) yet, right?

#

So, for now, import EnchantedDevice from zhaquirks.tuya.mcu

#

Backwards compatibility is retained for existing custom quirks, so both the old zhaquirks.tuya.mcu and new zhaquirks.tuya still work with 2024.2.0, but since you're still running an older HA/quirks version, you'll have to import from mcu for now.

crystal axle
#

True I am on 1.6

mellow geode
#

You should be able to just add this at the top of your custom quirk then:

from zhaquirks.tuya.mcu import EnchantedDevice
#

and remove the EnchantedDevice from the other zhaquirks.tuya import.

#

Also, if you get the custom quirk working. Please PR it to the quirks repo.

smoky anvil
#

Is lutrson casetta switches confriemd to work with ZHA?

#

I would love to get rid of lutron hub

crystal axle
#

@mellow geode The solution worked.. Thank you so much...

mellow geode
#

Also, in your config, you don't need this, as it's already the default:

database_path: /config/zigbee.db
enable_quirks: true

crystal axle
#

If the customizations turn out good I will PR it.

charred pawn
#

Hi there, so beta'a out trying to get the tuya _TZE204_upagmta9 working, the beta is on I tried two variation of the quirks, I can see the new command "query data 0x003" in the managed zigbee menu. tried to issue the command manually but no chance ... Device still stuck as if command 03 was not sent.

#

just change class and added the tuya spell, tried on var04 and the original ink sensor:

    """Custom device representing tuya temp and humidity sensor with e-ink screen."""             
                                                                                                  
    # RelativeHumidity multiplier                                                                 
    RH_MULTIPLIER = 10                                                                            
    tuya_spell_data_query = True```
#

The quirls are picked up the temp and humidity entries are shown but "unknown" value...

rapid dawnBOT
#

@charred 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.
```yaml
example: here
```
Don't forget you can edit your post rather than repeatedly posting the same thing.

charred pawn
glossy narwhal
sour shadow
#

Yes

#

From memory you do that on the device page for the router, but I'm sure the docs or searching the channel will answer that

tropic depot
#

Device page, 3 dots menu, add device…

glossy narwhal
#

Thanks both

ivory delta
#

Hey there. I have a big problem, that ZHA and Conbee 2 give me an error after restart: TXStatus.NWK_ROUTE_DISCOVERY_FAILED
Newest Firmware on Conbee 2 wont be accepted by ZHA. Any ideas?

smoky anvil
#

@grim igloo You have experience with those zigbee contact sensors?

grim igloo
#

technically no i have the older cheaper worse ones

#

and i like them

#

i even have one in my mailbox to alert when i get mail

#

it uses a hue bulb as a repeater outside

smoky anvil
#

ohhh nice. Did you had to do anything to make it as a repeater or ZHA does it automatically?

grim igloo
#

i dont use zha but yeah it will manage the mesh itself

#

just dont kill power to mains devices, ever

#

if you use hue bulbs you need smart switches in smart bulb mode not dumb switches with relays that kill power

smoky anvil
#

can you elaborate?

grim igloo
#

devices depend on routes from nodes that arent offline

smoky anvil
#

I have a shit load of dumb switches

grim igloo
#

if jebus smited your neighbor you couldnt go borrow sugar cuz he gone

smoky anvil
#

LMAO

#

I see what you mean, what switches you recommend?, I have a few casetta around the house fuckers are expensive though, I am trying to move those to zwave ha once my stick gets here

grim igloo
#

well you have to make a pretty important decision

#

if you use zigbee switches, you can do what's called "binding" which allows you to directly associate (zwave calls it this) a light to a switch or w/e assuming they both have the same 'cluster' i believe

#

if you dont pair zigbee+zigbee or zwave+zwave, then you'll instead need to have home assistant as the middle man to turn lights on via light switch presses. that means if home assistant, zigbee, or zwave is down, your light switches dont work

#

the downside to the binding is there is no overriding it, so if you were to bind a light switch to a bulb, it would always do w/e you binded it to do like brightness 100%

smoky anvil
grim igloo
#

you couldnt make home assistant make a tap after 10pm 30% or whatever

smoky anvil
#

LMAO

grim igloo
#

it's really not

#

i've just given you lots of info to make an informed decision

#

it's not a hard decision

smoky anvil
#

well I have to invest.... thats what I mean

grim igloo
#

if you have money buy the $50 inovelli blue zigbee switches

#

if you are okay with not zigbee+zigbee then i like the zooz zwave switches. i personally pair them with hue bulbs but i know the limitations above lol

smoky anvil
#

got you and I appreciate this... I wish I would have talked to you 1yr ago. lmao. with that said, I dont think is that late

#

oh wow this inovelli switches are niiiice

grim igloo
#

i dont have any but people seem to really like them as far as build quality, firmware (well after some updates), and community + company willing to interact with the users.

smoky anvil
#

awesome, I just bought a 10pack

carmine hamlet
#

I have quite a lot of them

#

they're ridiculously configurable

smoky anvil
#

will let you know how it goes. Is there a selling forum around here? LOL I will have a shit load of stuff for sale

carmine hamlet
#

there were some issues with dimming for a while, but I think they've been resolved in the latest 2.15 firmware (for the dimmers, that is)

smoky anvil
carmine hamlet
smoky anvil
#

man thats awesome. I am so done with all this efed up companies locking you in and than selling out

#

one thing I wont be able to get away are from my blinds I guess. not sure if I am ready to replace my zwave custom blinds

#

I bought the ikea ones for another area and bought them when they went on special, killer deal and work awesomely!

grim igloo
smoky anvil
dusk cypress
#

Hi! I don't know if this is the right channel to ask but I was wondering where I could ask if it's possible to add support for a specific Zigbee lightbulb

kindred harness
#

Today i took a leap of faith and changed all my ZHA devices and automations to zigbee2mqtt ... So much work but the reward has his perks. much more stable network even after 60 minutes... in zha had so much delays between inputs and results. I'm glad i changed

copper oracle
#

I've added https://github.com/zigbee2mqtt/hassio-zigbee2mqtt to my add on repositories but it doesn't show up in the add on store, has anyone had this as well?

#

Not sure what I did but it's there now, lol

#

I'm now getting an error trying to start zigbee-herdsman (that's all it says) and the Z2MQQT guide isn't much help either since it doesn't have the error listed there. Anyone with an idea?

tawdry cedar
smoky anvil
#

Is there any best practice or better ways to handle device that are going to be offline? I have about 10 plugs that I use only during the holidays so at the moment they are plugged serving as repeaters but as soon as I get my new switches this can come out. Is that bad to do? Any good ways to handle this>

grim igloo
sour shadow
#

The best solution is probably to use something other than Zigbee

grim igloo
#

i almost suggested that, i am partial to the sonoff s31 flashed to esphome

sour shadow
#

Yeah, WiFi sockets would be the best solution here - and something running ESPHome/Tasmota is ideal

copper oracle
# copper oracle I'm now getting an error trying to start zigbee-herdsman (that's all it says) an...

I'm getting this row of errors;

Zigbee2MQTT:error 2024-02-01 21:28:49: Error: Failure to connect
    at Ezsp.connect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:364:19)
    at Driver.startup (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/driver.ts:158:13)
    at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:132:29)
    at Zigbee.start (/app/lib/zigbee.ts:60:27)
    at Controller.start (/app/lib/controller.ts:106:27)
    at start (/app/index.js:107:5)```

I've tried to search for a solution but nothing is really helpfull, even the m2qqt site doesn't have this problem listed
carmine hamlet
#

that's just saying that it can't open the connection to your dongle

#

what dongle are you using?

copper oracle
#

The Sonoff 3.0 plus

carmine hamlet
#

the E or P?

copper oracle
carmine hamlet
#

then you're using the wrong driver

#

the error indicates that you're using EZSP, which is wrong

copper oracle
#

So I'd need to flash a different driver on to it?

carmine hamlet
#

no, you need to fix your configuration in Z2M

#

under "Adapter"

#

either "auto" (like mine) or "zstack". And it also assumes that you chose the proper device path

copper oracle
#

I'm not getting that forinto the configuration since the add-on won't start at all, I've setup this; https://imgur.com/LYWdGY6

#

I've been following some tutorials on youtube to set this up, so that's what they told me to put in, along side with adapter: ezsp which I've now removed

#

Removing the adapter let to this error

Zigbee2MQTT:error 2024-02-01 21:39:22: Error: spawn udevadm ENOENT
    at Process.ChildProcess._handle.onexit (node:internal/child_process:284:19)
    at onErrorNT (node:internal/child_process:477:16)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)```
sour shadow
#

You need the path to the adapter

#

You just didn't want ezsp

copper oracle
#

But isn't that what I've setup under serial? The Port: location of the usb

#

Well nevermind, I've made a typo when removing the adapter...

dapper aurora
#

Hi all, I am trying to control the Sengled Zigbee Smart Outdoor Flood Light with ZHA and a SONOFF Zigbee 3.0 but it never pairs.

I am able to connect and control other Sengled Zigbee lights as well as other sensors without a problem. I tried moving Pi closer to the light and it made no difference. I also tried factory resetting the light multiple times to no success.

Do you know if that bulb is not compatible with ZHA and I should try zigbee2mqtt or should I replace the light? Thanks

smoky anvil
smoky anvil
#

I order 10 hahahaha that quickly escalated from 5 to 10

#

atm my hue stuff went back to hue until I get my shit sorted in ZHA

#

I see people love zigbee2mqtt so who knows, I might go that route, I am not vested in ZHA yet

full anchor
#

Are there goto zha coordinators? Skyconnect is very pricey and there are so many options idk what's to avoid etc

smoky anvil
#

To migrate to Z2M from ZHA all I have to do is unpair my devices and remove ZHA and add Z2M?

#

I only have a few plugs in my ZHA so is not daunting, just want to make sure that once I am in ZHA with one coordinator I am not stuck with ZHA for ever.

quick willow
#

I have a battery Moes Zigbee Ir blaster in Z2M. I have a Home Assistant automation to send an off signal to some lights at a particular time. However, when the blaster hasn't issued a command for a while, I think it enters a sleep state because I often have to issue the command a couple times to get it to process. Do I need my automation to repeat the ir command a few times to get it to work reliably?

tall wyvern
#

maybe a dumb question but i'm buying some power supplies for some track lighting from aliexpress (testing out how installation works/looks). the psu's look very sus hahaha would it be too crazy to install a zigbee temperature sensor near them incase one actually catches fire?

sour shadow
#

Smoke detector would probably be better, but a temperature sensor (as long as it doesn't melt) should work

tall wyvern
#

i have smoke detectors but these PSUs will be in the top of a cabinet hidden away. there will be some blocking material infront as well to totally hide them. i'm worried by the time the smoke escapes that it might be too late

limpid girder
#

Hi everyone, after about a year of use, from last night all the zigbee devices no longer work.
I have a USB withbee_II and zigbee2mqtt via mosquitto broker from which I see this repeated log:

Client <unknown> closed its connection

can someone help me ?

sour shadow
#

Check the Z2M logs

limpid girder
#

i check the z2m logs, i see only this like errors rows :

Zigbee2MQTT:error 2024-02-02 08:34:09: MQTT error: connect ECONNREFUSED 172.30.33.0:1883
Zigbee2MQTT:error 2024-02-02 08:34:10: MQTT error: connect ECONNREFUSED 172.30.33.0:1883
Zigbee2MQTT:error 2024-02-02 08:34:11: Not connected to MQTT server!
Zigbee2MQTT:error 2024-02-02 08:34:11: MQTT error: connect ECONNREFUSED 172.30.33.0:1883
Zigbee2MQTT:error 2024-02-02 08:34:12: MQTT error: connect ECONNREFUSED 172.30.33.0:1883
Zigbee2MQTT:error 2024-02-02 08:34:16: MQTT error: connect ECONNREFUSED 172.30.33.0:1883
Zigbee2MQTT:error 2024-02-02 08:34:17: MQTT error: connect ECONNREFUSED 172.30.33.0:1883
Zigbee2MQTT:error 2024-02-02 08:34:18: MQTT error: connect ECONNREFUSED 172.30.33.0:1883
Zigbee2MQTT:error 2024-02-02 08:34:19: MQTT error: connect ECONNREFUSED 172.30.33.0:1883
Zigbee2MQTT:error 2024-02-02 08:34:20: MQTT error: connect ECONNREFUSED 172.30.33.0:1883
Zigbee2MQTT:error 2024-02-02 08:34:21: Not connected to MQTT server!
Zigbee2MQTT:info 2024-02-02 08:34:22: Connected to MQTT server
Zigbee2MQTT:info 2024-02-02 08:34:22: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload 'online'

sour shadow
#

Great, so Z2M can't communicate with the broker, because the username or password is wrong

#

Did you configure MQTT in the Z2M add-on panel?

#

You're supposed to leave that entirely blank so the add-on auto-detects

limpid girder
sour shadow
#

Start by following the add-on docs and removing all of that

limpid girder
rapid dawnBOT
#

@limpid girder When using Discord's Reply feature it defaults to pinging the person you reply to, which can get frustrating for the target. Use Shift + click on the Reply option, or click @ ON to @ OFF to stop this - on the right side of the compose bar.

You have to change this every time (thank the Discord devs for that).

sour shadow
#

remove those lines

#

The username or password, or both, are wrong

#

The add-on docs tell you not to add anything there

limpid girder
sour shadow
limpid girder
#

sorry for the other message 😄 but the error in mosquitto broker is normal ?

2024-02-02 10:27:34: New connection from 172.30.32.2:47214 on port 1883.
2024-02-02 10:27:34: Client <unknown> closed its connection.

sour shadow
#

That's not really an error, but ... probably

limpid girder
#

but the error is repetitive for many times :

2024-02-02 10:41:34: New connection from 172.30.32.2:58634 on port 1883.
2024-02-02 10:41:34: Client <unknown> closed its connection.
2024-02-02 10:43:34: New connection from 172.30.32.2:44600 on port 1883.
2024-02-02 10:43:34: Client <unknown> closed its connection.
2024-02-02 10:45:34: New connection from 172.30.32.2:35908 on port 1883.
2024-02-02 10:45:34: Client <unknown> closed its connection.
..........

#

after i had remove the user and password in first time the object zigbee work well, but now i have this error :

Zigbee2MQTT:error 2024-02-02 11:06:30: Publish 'set' 'state' to 'Interruttore tavolo' failed: 'Error: Command 0x000474000094c735/1 genOnOff.off({}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (no response received (49))'

sour shadow
#

Again, that's not an error, it's not even a warning

sour shadow
limpid girder
limpid girder
smoky anvil
#

To migrate to Z2M from ZHA all I have to do is remove my devices and remove ZHA and add Z2M?

sour shadow
#

Yes, though it's not really a migration more of start fresh

smoky anvil
#

#truth

grim igloo
smoky anvil
grim igloo
#

What coordinator do you have for zigbee

smoky anvil
grim igloo
#

Rip

#

No reason to go to z2m then

smoky anvil
#

ohhhh

#

lol

#

not supported?

grim igloo
#

They’re “experimental” due to using a specific newer chipset

smoky anvil
grim igloo
#

My understanding is z2m devs are just focusing on cc2652p etc support cuz it’s been this way for a very long time

smoky anvil
#

welp, it is what it is.

grim igloo
smoky anvil
#

Cool, Ill buy that a tad down the road, I gues I can slowly migrate when I do, The fact that is PoE is freaking awesome because I can put it anywhere.

#

though I can possibly do the same with a USB over ethernet.

tropic depot
#

What is causing you to want to migrate?

#

Just curious

smoky anvil
#

Seems like Power users like it more

supple roost
#

I just migrated using https://skyconnect.home-assistant.io/migrate-zigbee-zha-only/
I did not get step 11.
**Solved by restoring manual backup: **I have since used Migrate again with only the SKyConnect plugged in and used a manual backup of my ConbeeII.
That time i got the question to replace IEEE, which i did. All seems to work fine now.

#

Gonna walk trough house now see if all sensors work 😛

rapid solstice
#

I have a question about the Aqara Relay T2 (https://www.aqara.com/en/dual-relay-module-t2/)
I use it to open and close my entry-way gate. The gate wants a short impulse, then it starts moving. So I can either have a button in HA to trigger an automation that will turn the relais on and then off again after half a second or so. That works.
But the relay also has an impule mode which works fine. In zigbee2mqtt i set it's operation mode to impulse and it will do the same, but inside the hardware. Nice.
But now my question. Even though the thing is in impulse mode I gives Home-Assistant a state of on/off. That seems to be wrong to me? It's on for only a couple of ms?!?
Am I miss understanding something?

grim igloo
#

https://github.com/Koenkk/zigbee2mqtt/issues/21162 FYI

Some people are having issues after updating to latest z2m release (1.35.2). some commenters are saying they are using a skyconnect or a conbee 2. i'm on latest with a tube poe coordinator with no issues at this time

supple roost
#

ehehehe i was earlier today contemplating ZHA or ZIg2mqtt. I just stayed with ZHA. Lucky me

#

Which reminds me it is dark out i should run trough home again past all motion detectors 😛

deep plover
#

im trying to use zha, I have the skyconnect dongle plugged into the pi, ive shut down the pi and plugged it in, restarted several times yet HA wont detect the dongle like I see it doing on youtube tutorials

#

and im using the extender to move it away from anything that could be interfering

woeful drum
#

Having issues starting Zigbee2MQTT add on.

[11:50:40] INFO: Preparing to start...
[11:50:40] INFO: Socat not enabled
[11:50:43] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:info 2024-02-02 11:50:50: Logging to console and directory: '/config/zigbee2mqtt/log/2024-02-02.11-50-50' filename: log.txt
Zigbee2MQTT:info 2024-02-02 11:50:50: Starting Zigbee2MQTT version 1.35.2 (commit #unknown)
Zigbee2MQTT:info 2024-02-02 11:50:50: Starting zigbee-herdsman (0.33.5)
Zigbee2MQTT:error 2024-02-02 11:52:00: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2024-02-02 11:52:00: Failed to start zigbee
Zigbee2MQTT:error 2024-02-02 11:52:00: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2024-02-02 11:52:00: Exiting...
Zigbee2MQTT:error 2024-02-02 11:52:00: Error: Failure to connect
at Ezsp.connect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:364:19)
at Driver.startup (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/driver.ts:158:13)
at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:132:29)
at Zigbee.start (/app/lib/zigbee.ts:60:27)
at Controller.start (/app/lib/controller.ts:106:27)
at start (/app/index.js:107:5)

rapid dawnBOT
#

@woeful drum I converted your message into a file since it's above 15 lines :+1:

sour shadow
#

Please don't re-post the same log like that

#

However... is ZHA enabled? What dongle are you using?

deep plover
#

for me?

sour shadow
#

No

deep plover
#

oh

sour shadow
#

You can reasonably assume that if people didn't use Reply then they're replying to the message immediately above

woeful drum
#

I have Skyconnect

rapid dawnBOT
#

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

sour shadow
woeful drum
#

Do you want me to respost or can you see my logs? My issue still persists

sour shadow
#

Everybody can see them

#

Did you make the mistake of using the multi-protocol add-on or firmware?

fathom hamlet
storm ibex
#

Wondering if anyone has any ideas on what I can check? With ZHA, I just removed skyconnect multipan and made it thread only, and put a sonoff dongle in for Zigbee.
When zigbee reloads all devices check in, then no more updates happen and you cannot control any devices, but they dont go unavailable. :S Its weird. I have also installed the latest firmware on it. There does not seem to be any specific errors in the log, so im completely lost at what to do next.

I.e. motion sensors all just stuck on "detected" and dont update, power monitoring points not updating.

Have tried changing channels just in case but made no difference

#

Just found an error that may be related
ile "/usr/src/homeassistant/homeassistant/components/zha/core/helpers.py", line 412, in get_zha_gateway
raise ValueError("No gateway object exists")
ValueError: No gateway object exists

harsh mango
#

okay at this point i am getting very annoyed. i was having issues with my previous HA install, and I figured i broke something during my first time setup, being new and all. now i recently reinstalled HA as a docker container, set everything up from scratch. i reconnected all my zigbee lights (ikea) and devices, and yet i am still plagued by stupid behavior. I have 4 bulbs as part of a light group, which is currently manually toggled ON, but when you run "bedtime" script, it will turn it off. for some reason in the log for the bulbs it shows they were "turned on" 18 hours ago, but no source is specified. the lights were never actually on, but in the HA UI, it shows as on. I had to toggle them off then on again. what could cause this?

austere patio
late wolf
#

Hello, I just made a brand new HA docker server with the Sonoff Zigbee controller.
I am running into an error every time i try to connect the device.
It just states "Unknown error occurred"

Looking at the server logs, it shows the following:

2024-02-02 18:44:39.322 WARNING (MainThread) [bellows.ezsp.protocol] Unknown application frame 0x59FD received: b'3f' (b'023a89fd593f').  This is a bug!

2024-02-02 18:44:44.926 ERROR (MainThread) [aiohttp.server] Error handling request

Any Suggestions? This is a fresh install
Log file: http://pastie.org/p/182x2NV9OL5lNDYXO9ef4X
Image: https://cdn.discordapp.com/attachments/682469683403948056/1203142944744284170/image.png?ex=65d0052f&is=65bd902f&hm=0ca5bb90a22f3d96adb9097415df595b8591923bb6e8e1a0b211ad82b934dd2d&

late wolf
formal jolt
#

so I've been messing with HA with ZHA for the past few days, and I just got a SONOFF Zigbee 3.0 USB dongle, and I've got it passed through to a VM and it works when I first scan for devices, but then after the first time I can no longer find any devices when scanning (but it does successfully add the first ones, and they continue to work). Is there something I'm missing here that I need to do to get it to scan correctly?

formal jolt
mellow geode
#

By "scan devices" you mean the "add device" window? And a new device in pairing mode just doesn't show up then?

#

Also, are you using the Sonoff-P or Sonoff-E dongle?

formal jolt
formal jolt
mellow geode
#

The -E is good for ZHA. -P is good for Z2M/ZHA.
You can use this to update to a newer/"better" firmware: https://darkxst.github.io/silabs-firmware-builder/
But your issue is probably something different (still, the firmware Sonoff ships isn't built with the best configuration)

#

Make sure you're using a USB extension cable on your stick to prevent interference.

#

If that doesn't help, download ZHA integration diagnostics, and upload them to: https://dpaste.org/
Then paste the link here.

formal jolt
formal jolt
mellow geode
#

ncp-uart-sw_EZNet6.10.3_V1.0.1.gbl is the firmware it ships with. Please try the one from the website I provided.

formal jolt
mellow geode
formal jolt
#

ack, TY I'll give that one a shot.

#

I'll go ahead and upload the log, but it looks like it initially worked after the flash and added one device, and then stopped detecting new devices when scanning again (so same behavior).

mellow geode
#

Can you upload the ZHA diagnostics file first?

#

You can download it on the integrations page -> ZHA -> three dots -> download diagnostics file

#

Also, you're already on the new firmware?

formal jolt
#

yeah that's what I meant was the diagnostics file, my bad, I just meant "log" in a generic sense. Yeah I'm on the new firmware. I was gonna send a screenshot, but I can't 😢

Firmware: 7.3.1.0 build 176

mellow geode
formal jolt
mellow geode
#

Can you grab the diagnostics from the integration, not of the coordinator.
Settings -> Integrations -> ZHA -> three dots on the right -> download diagnostics file

formal jolt
#

oops, my bad

#

one sec

mellow geode
#

See the energy_scan section at the bottom? Channel 20 and others are all way too high.
Interference is very likely your issue. Move the stick away from USB 3.0 ports / SSDs, WiFi APs, Bluetooth sticks, metal, …
Might need a longer extension cable

#

You can reposition your stick and then download those diagnostics again. If they’re still that high, try another position

formal jolt
#

yeah it's an apartment complex so it is fairly noisy. I can try repositioning and look again

mellow geode
#

You could also try to change the channel to 25. Might need to re-pair some devices though

#

But try to get the numbers lower first

#

11, 15, 20, 25 are the preferred channels. 25 is often the best, as it barely overlaps with 2.4 GHz WiFi

formal jolt
#

I take it that energy_scan is dBm?

mellow geode
#

Not really. It’s a percentage from 0 to 100 where 100 means "too much interference" (which can block the ability to send messages, but sometimes still allow receiving messages)

formal jolt
#

I tried moving it around and it hasn't done much so far (but I might have a longer cable, looking now), and I'm not super hopeful... usually there's like 90+ SSIDs broadcasting on 2.4Ghz in my area 😦

#

Unifi says 99:

26-50 of 99 Scans

mellow geode
#

Rather look at the energy scans than checking UniFi/WiFi scanner

#

If the values are barely changing, then yeah, try another (longer) cable

formal jolt
#

It is now hanging from the cieling, far from anything else (or about as far as it can be, anyway):
https://dpaste.org/SMfnY

#

(obviously I won't leave it hanging permanently, but I'm not gonna mount it using adhesive or whatever until I'm sure it's in a good place)

#

to me it looks slightly better overall in terms of numbers, but not like ... drastically better

#

Is there any way to get info on what type of interference it's receiving @mellow geode , or is that beyond the capabilities of it? I know the enterprise wifi APs can do it, but I'm guessing this can't

#

I only ask because I'm curious if my AP is a big contributor or not

rapid dawnBOT
#

@rough geyser I converted your message into a file since it's above 15 lines :+1:

rigid wagon
#

hi, i need desperate help getting my home assistant network back up running. zigbee is actually working fine, as i can control my devices from within zigbee2mqtt add-on. but all automations are not working.

rough geyser
rigid wagon
#

entity's that use mqtt are down all over the place and I don't know why...

#

however, zigbee2mqtt and frigate for that matter, are not showing any mqtt error messages.

#

i also see they are connected in the dashboard of EMQX.

#

if i change login data in config, they are spamming error messages, so i presume this is ok.

#

can it be that changing the base_topic makes entity's created not functioning anymore? is there a way to see the old base_topic?

#

here are mosquitto logs:

2024-02-03 13:34:03: New connection from 127.0.0.1:47442 on port 1883.
2024-02-03 13:34:03: Client <unknown> disconnected due to protocol error.
[13:34:04] INFO: Successfully send discovery information to Home Assistant.
2024-02-03 13:34:04: New connection from 172.30.32.1:47802 on port 1883.
2024-02-03 13:34:04: New client connected from 172.30.32.1:47802 as frigate (p2, c1, k60, u'frigatemqtt').
2024-02-03 13:34:04: New connection from 172.30.32.1:47808 on port 1883.
2024-02-03 13:34:04: New client connected from 172.30.32.1:47808 as zigbee2mqtt (p2, c1, k60, u'MQTT').
[13:34:04] INFO: Successfully send service information to the Supervisor.
2024-02-03 13:34:39: New connection from 172.30.32.1:56281 on port 1883.
2024-02-03 13:34:39: Client 4bx6u4dHOkyoBtAPNOaA8z disconnected, not authorised.```
rough geyser
rigid wagon
#

i restored a full backup and it did not help.

#

i guess i need to re-install the whole HAOS, and pray it works after restoring a backup.

rapid dawnBOT
#

@snow latch I converted your message into a file since it's above 15 lines :+1:

rough geyser
grim igloo
#

you dont want to move to where the controller is with the device, you want to pair in final location

#

are you using a usb extender to get away from interference with the sonoff dongle?

rough geyser
grim igloo
heavy latch
#

Has anyone recenly had an issue with zigbee2mqtt stopping on it's own without any reason in the logs?

grim igloo
heavy latch
#

I'm also tube poe 🙂

#

My issue happened before updating to 1.35.2

grim igloo
#

my z2m crashed and didnt come back up but i was making a lot of changes to my network and i think it didnt like that

heavy latch
#

It's doing it every 2 or 3 days, really strange after years of being rock solid

grim igloo
#

actually my last unifi OS update on my router killed z2m and i had to manually start the addon

#

i'd ask in z2m discord honestly

heavy latch
#

wow that's interesting

grim igloo
#

to diagnose something like that

grim igloo
heavy latch
#

Well, the thing is, I don't actually think it's z2m being the problem, as the only way to return it to operational is to restart HAOS

grim igloo
#

i think you need to diagnose while in a broken state

heavy latch
#

you're right

#

alas, I'm pretty good at solving problems and haven't been able to solve this one, so thinking it may require someone with very extensive networking knowledge (if it is to do with the coordinator), or koenkk himself, if it isnt.

#

Or, it's a bug with HAOS.

dawn sedge
#

Hello, I'm having some trouble trying to sync three light switches correctly. Let me explain:

One of the three switches is connected physically to the light. The other two only have current connected.
The light switches have this small led that turns on and off to let you know their status (pretty handy to have a small led at night to see where the switch is).
To keep that led status synced between the three switches whenever I press any of the three switches it sends a signal to the other to to tell them to change status.
As the "main" switch (the one that is connected to the light bulb) receives the signal it turns on and off the light.

This works without issues, the thing is that, if you turn on and off the any of the switches without waiting around 10 seconds the communication goes haywire and all switches start going on and off like crazy until I restart HA.

I have tried adding delays on node-red, telling node-red not to queue messages, adding conditionals to only change if previous state is the contrary to the new state and many other things...

Could anyone help me out?

mellow geode
heavy latch
#

I was going to suggest something about decoupling the switch from the relay inside, but the Moes don't work like that. You could try using an automation within HA rather than nodered, and see how that goes?

#

I guess you have something like, if switch1 = on, then set switch2 and switch3 to on

dawn sedge
#

i'll try. I'm pretty sure the issue is because of zigbee network delays. But there isn't much more i can do about that

heavy latch
#

and have switch 2 and 3 set switch 1 to on

#

(or toggle)

#

I used to use nodered for my stair lights (similar to you but just two switches), but now use the HA automation as it's much better these days than what it was

dawn sedge
#

I'll give it a try. It's pretty cumbersome to restart HA when a visit comes home and turns on/off a light and everything goes crazy

heavy latch
#

Anyhoo, I have to pop out and collect a parcel, have a try with that, and disable the nodered node. I'll be back later on. As for the delay, it's frustrating isn't it, with everything being local I would have expected little to no delay.

dawn sedge
#

yes... but wireless interference is no joke

heavy latch
#

My HA is running in a VM on an old macmini, was considering running it on a dedicated little intel nuc or something to see if that helps.

dawn sedge
#

I have it just like you but in a intel nuc (well.. a chinese mini pc)

#

But i really doubt that's of any issue

grim igloo
#

you guys should not be noticing a delay on your zigbee meshes

dawn sedge
#

I notice it at least when processing and running flows.

#

is there a way I can debug where the delays are?

#

or why is it "duplicating" signals?

dawn sedge
#

well, seems that the issue lies in node-red. I'm not having any problems using HA automations

shadow tartan
#

Man if I could start over I would have definitely bought at least 3-4 repeaters from the beginning before I connected any end devices.

#

Some of these devices are sticky and won't reroute despite me setting up a better path for them.

dawn sedge
#

you can force a path?

heavy latch
shadow tartan
#

But you can add devices straight to a router like a plug instead of your actual Zigbee hub.

#

I just don't feel like disconnecting and re adding devices since they still work despite the low LQI on some of them.

astral seal
#

You just have to permit join (z2m) or add devices via (zha) and hard reset the problem device. Zha or z2m will pick up the device and keep all the configuration.

shadow tartan
#

So I don't have to remove a device. Just put it in pairing mode again?

#

This keeps everything the same(like automations) when it's readded?

tropic depot
#

yep

shrewd saddle
#

I got deconz to connect and got some lights. But after trying to reload deconz it's just failing.
Logs: https://pastebin.com/a6e0apvc
Deleting it and readding it doesn't work either. It's stuck on failed to set up

elder surge
#

I need to repeat my Zigbee signal. Is there a good smart plug out there I can get to do that?

ashen ibex
elder surge
ashen ibex
# elder surge What is the best sonoff dongle to get?

My opinion. It's not that important. Currently I've Model E as coordinator and Model P as router. Afaik you might be able to use Thread/Matter with Model E, so it might be a little bit more future proof, but Model P is the older chipset which seems to be better supported.

#

For z2mqtt Model E is just experimental and lacking some features. I don't know about zhas support status.

elder surge
elder surge
#

I'm using ZHA. I wanted to test z2m but I also need to extend my ZHA lol

sour shadow
#

Also, for Z2M no Sonoff dongle is "best"

#

For routers any CC2652 based stick works well, but so does the Sonoff E

elder surge
#

Routers being the extender I need?

sour shadow
#

Yes, that's the Zigbee term for "extenders"

elder surge
#

Ok I'll probably need to get that then

sour shadow
#

Innr plugs are also a great option

elder surge
ashen ibex
sour shadow
#

Well... kinda have to be 😉

#

Only (mains powered) Zigbee devices can act as routers

elder surge
ashen ibex
#

Are there any smart plugs which are not main powered?

sour shadow
#

No

sour shadow
#

Did you actually bother reading my messages?

ashen ibex
#

In my experience none plug has the same performance as a coordinator/router dongle.

elder surge
#

Oh I thought innr was a typo not a brand

sour shadow
#

Innrs are solid routers

elder surge
#

Sorry I thought it was a typo

ashen ibex
#

I needed to pass the distance betweend one story. None plug could handle it, but my sonoff usb dongle could.

elder surge
#

Do you have to do anything special to make it become a router

ashen ibex
elder surge
#

The plug

sour shadow
#

No

#

Almost all mains powered devices are routers by default, and you can't turn that off