#zigbee-archived

1 messages · Page 83 of 1

hybrid cloud
#

zigbee does seem stable in safe mode, actually

#

addons are "appdaemon", "duck_dns", "file_editor", "filebrowser", "home_assistant_google_drive_backup", "matter_server", "mealie_omni", "mosquitto_broker", "samba_share", "studio_code_server", "influxdb", "grafana", "home_assistant_google_drive_backup_influxdb", "esphome", "ssh_web_terminal", "homebridge", "docker_wyze_bridge"

#

i restarted back into regular non-safe mode and things do seem to be fine, for now at least

golden vessel
#

Hey! is the SkyConnect recommended nowadays? Or are there better options?
TBH, I've been setting up a friend's home with a sky connect, and I am not too impressed, but it may be environment related..

brave nacelle
#

hey all - any suggestions for a zigbee stick for a HA raspberry pi installation?

#

it's what i use now for another install

dusk zenith
mellow geode
keen merlin
#

I just noticed t he Zigbee ZHA visualization shows some dotted line connections with arrow heads between nodes. These seems to only between router nodes, not end nodes. Are those new? I've never noticed them previously. What do those indicate? Is there a comprehensive guide the visualization? Al lmy nodes are green except one router which is gray

mellow geode
#

There was a PR on the frontend repo recently that added that.

#

I think the PR description explains some of those new visuals a bit

keen merlin
mellow geode
#

IMO, you can mostly ignore the visualization if everything works as expected

keen merlin
#

I figured out the gray node was selected 🤦‍♂️

golden vessel
white dock
#

Why is there just no alarm sensor that’s zigbee. I’m feel like there is a big gap in the market to make a zigbee alarm pir. Like you get with Pyronix or Visonic kits

prisma osprey
dry shadow
#

Update - Tried to add the bulb again and it knocked off another device and started the error storm before it was added. After adding it, I cycled it and the mesh crashed. I killed it...and tried adding a smart plug (to see what would happen) and it went right in without any drama. Not sure if it was the specific bulb or all Phillips Hue bulbs.

soft mirage
#

Hi everyone
I have a new zigbee device, an EV Charger called Amina S that can be controlled thru ZB instead of cloud dependece as most of the others so called smart chargers.
Not surprisingly (as it think it is the first charger with zb support) it will need a quirk to fully work in ZHA.
The very basic works out of the box, as on/off and energy meters, but a lot of attributes is missing.
First I thought I maybe could find some documentation or guide to create a qurik by myself, copy something else as a template etc. But serveral days of searching make me belive that creating quirks is equal do dark magic or cold fusion. A lot of talk, but no stuff 😉

Is there anyone who have a link to a guide or similar, or is it just to wait it out until someone gets feeling and look at my Device Support Request in github?

limber eagle
#

Hope it comes to the US at some point

soft mirage
austere patio
soft mirage
shell frigate
#

I’m having trouble again. My HA install was working just fine, but recently it started getting flaky again. I have two primary scripts: one to turn everything on in the morning, and one to turn everything off at night. They will both fail to get everything in the script. For a while, the last device I added simply refused to get turned off during the off script. It drove me nuts. But if it was just that I wouldn’t mind. Now it’s whole banks of devices.

These devices aren’t unavailable either. I can almost always turn them off manually, but the script keeps missing them.

What should I look at first?

austere patio
molten linden
#

at least they document it 🤷🏼‍♂️

carmine hamlet
#

<envisions accidentally grouping it in your "disco party lights" group>

ocean nest
upbeat geyser
#

I have the strangest thing, im running zigbee2mqttt on a NUC with a Sonoff stick(USB). when i unlug the rj45 on the NUC the zigbee devices stop working

#

could this be some setting?

shell frigate
#

I also remembered that I have a 10 second delay in the very middle of my script, in addition to all the dozens of other 1 second delays

ocean nest
#

I mean a mains powered device that works as a repeater. I use the add devices via this device.

shell frigate
#

I’ll need to check, but I’m pretty sure most of my devices are repeaters. At least 40 of them are outlet plugs

ocean nest
#

What i did is paired most of the devices in each room to a repeater in the room and that one talks directly with the main stick

shell frigate
#

How is that accomplished? I thought the network created its self

ocean nest
#

basically each room has a device that everything in that room pairs to

#

Open up one of the mains powered devices. click on the 3 dots then add devices via this device

shell frigate
#

But don’t they still create their own mesh?

ocean nest
#

it depends some dont like to let go of what they initially paired to

shell frigate
#

Also, some of the devices are pretty much within sight of the primary cooridnator

shell frigate
#

I can see the map of my zigbee network and they’re all connecting to nearby devices

ocean nest
#

how many devices and what stick are you using?

ocean nest
soft mirage
# austere patio The EV charger pretends to be a light bulb, where you adjust the brightness betw...

Yeah, I like idea that they try to use zigbee standard for most functions.
But just this "dimmer" is one of many cluster/attribute stuff that still doesn't get accepted by ZHA and get an actionable entity 😭.

The manufacturer specific cluster that handle some alarm messages etc I didn't expect to work out of box, but I actually hoped that the ampere adjustments (aka dimmer 😎) would have worked.

austere patio
#

Ehhh, they should have used a custom cluster for everything. This isn't a bulb and can't be treated as one ("all timing related stuff may result in the car disabling charging"). Now it's going to be at the mercy of any end-devices that send group commands to control bulbs (i.e. your IKEA dimmer will control your charging current 😄).

ZHA won't create entities for every ZCL attribute and command (otherwise, every device would have many hundreds of entities, most of them useless). You'll first have to fully map out the custom cluster commands and attributes. After that, you can create a quirk that exposes functionality.

shell frigate
#

It’s the SMLight SLZB-06

#

@austere patio could I trouble you for some insight? I’m not sure why things stopped working. I didn’t change anything that I can think of.

soft mirage
# austere patio Ehhh, they should have used a custom cluster for everything. This isn't a bulb a...

Luckily I don't have any dimmer remotes, but even if had I belive I would need to bind to a group?

Either way, I still can't find any guide or similar of how and end user actually can create a qurik.
In my desperation i started to chat with Copilot to see if it could help me a bit forward, and after some discussion it provide this, but just for one cluster and it attributes and commands.

Is Copilot even on the right track?

rapid dawnBOT
#

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

acoustic solstice
sour shadow
#

Signal Amplifier Signal Repeater Extender

#

🤣

forest cobalt
#

lol

soft mirage
sour shadow
#

You need to buy a coordinator

acoustic solstice
#

so this one will work as signal extender ?

forest cobalt
#

Yes

sour shadow
#

Aka router in Zigbee terms

forest cobalt
#

But you still need a coordinator to make your mesh actually work.

acoustic solstice
#

that make sense. I used it this way with my hubitat hub. Now i want to start over with home asistant

shell frigate
forest cobalt
#

Hubitat has it's own built in coordinator. You can still use this device, but you'll have to buy a coordinator first. Something like a Sonoff Dongle-P or something.

forest cobalt
#

Huh... I thought we had a coordinator list in the pinned... 🤔

sour shadow
#

There used to be one, but it was outdated

forest cobalt
#

Ahhhh, gotcha

sour shadow
#

MGM24 are the current "best" options

#

Tube does one

forest cobalt
#

Damnit! I keep forgetting to reach out to him... Thanks for the reminder... again lol

acoustic solstice
forest cobalt
sour shadow
#

Well, no

#

Don't buy the P

forest cobalt
#

???

shell frigate
sour shadow
#

The E is better for ZHA, for some value of better

#

Better to just not buy Sonoff

#

The P has known hardware and firmware problems

#

The E is mostly free of those, or was, but maybe isn't any more

shell frigate
#

I just found it…

forest cobalt
shell frigate
forest cobalt
shell frigate
#

How do I get it to continue even if one device fails?

sour shadow
#

There's a continue on error option

forest cobalt
shell frigate
shell frigate
forest cobalt
shell frigate
#

none

#

those are the only zigbee devices I have on the network. oh except for two Aqara buttons

austere patio
forest cobalt
#

When the script fails, have you looked in the logs to see if there are any error messages? What I think is happening is that when the script runs, it sends out a flood of commands (even with the 1 sec delay between calls). If there is any kind of interference (which because we're talking about arcade machines makes some sense), some of the plugs may not be receiving the commands.

shell frigate
#

I’ll check for the errors the next time it fails (probably tonight at closing). And yeah, interference is real bad around here

#

Where am I looking for the errors?

forest cobalt
shell frigate
#

I mean where do I find those?

forest cobalt
#

Settings>System>Logs

shell frigate
#

Ok I'll look there

forest cobalt
#

My guess is that you'll have a couple of those. If that's the case, I'm not 100% certain how to reduce the interference since you are already on a POE coordinator. Maybe moving it to a different location or something along those lines.

shell frigate
#

Yeah that’s why I got that. I’ve positioned it to the best possible location - though still not ideal - to reach all the devices. I don’t think I’ll do much better. I just wish I knew why I’m able to then send a command to the devices and they respond right away…

forest cobalt
#

Probably because of that script... You might want to increase the delay a bit and see if that helps.

#

That's my thought at least. Can't say I've ever seen a script like that before lol

austere patio
#

No more than 16 requests are sent out at a time with Z-Stack (unless you changed the default) so the total number of outgoing requests shouldn't matter. If even after 5 retries a device isn't reachable, something is wrong routing-wise in your network. Are the same few devices always unreachable? Or is it random ones?

shell frigate
#

It changes day to day. One of the newest ones I added seemed to always get missed at closing. But it does seem to break down around the same 3-4 machines.

#

I’ve added some much larger delays, and also the continue on error line to each call in the script. I’m curious to see how closing goes tonight.

tidal peak
#

Is sonoff zbdongle e reliable for z2mqtt?

#

And what about combee 2?

ashen bluff
#

It's still only experimentally supported. Do with that what you will. The website has a list of recommendations.

woeful elk
#

How often does the LQI stuff update in ZHA?

austere patio
#

What LQI stuff are you referring to?

woeful elk
#

Link Quality Index in the Visualisation bits.

#

I'm also confused about what it means - cos 188 = yellow line, but 60 = white line

#

but 91 = red line

gusty yarrow
#

are there any resources on using an ezsp ncp as an end device or router? I'd like to experiment with exposing some values on my server as a set of zigbee endpoints using an SL zigbee dongle

junior viper
#

Hi, I migrated my Z2M from Unraid to Proxmox LXC, did a straight copy from all configiration files as well as the database. When starting up Z2M on my new Proxmox, I have 0 paired devices 😦 why? Same stick, same hw, same everything

sour shadow
#

Permissions maybe, or you didn't copy everything over

#

I'd guess you missed the coordinator backup

junior viper
#

Nope, it’s there. What about PANID/network keys?

sour shadow
#

That's all in the config and backup

#

If nothing shows as paired then you missed the database or the coordinator backup, or both

junior viper
#

Ah.. it takes some time to get every device tied to it, case closed. Thx Tinkerer

#

Am I right?

sour shadow
#

For me when I migrated everything appeared at startup, as expected

junior viper
#

Something smells bad here, only 3 devices appears, tried multiple backups from my Z2M Unraid container

frigid mica
#

I'm interested in optimizing it

shell frigate
# frigid mica post your script

I posted part of it in the automations channel. I'll see if I can find it now. It's very basic. Just turns on a device, waits a second, then turns on another device. Does that 45 times or so. Not really anything to optimize

frigid mica
#

Post the text, not image of the text.

rapid dawnBOT
#

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

woeful elk
#

how can I tell if its better or worse? lol

#

I changed the antenna at ~9:12pm

fleet forum
proper imp
#

hi are the Aurora AOne Zigbee 13A Plug-In Adaptor Smart Socket (ZigBee 3.0) a router or not

sour shadow
#

I'd expect so

#

The only mains powered things that aren't are 2-wire switches/dimmers, Sengled bulbs, and the Aqara FP1

proper imp
#

is there anywhere to check before I buy

sour shadow
#

Not really

#

If it's a plug it's a router

#

I've seen none that aren't, not even Tuya

proper imp
#

if they work I could replace my eve plugs that are thread and just have zigbee devices and control them with ha

sour shadow
#

They'll work

proper imp
#

I'm trying to do everything from ha and replace my hubs

sour shadow
#

Innr are a better choice

#

But they'll work

woeful elk
#

heh - none of my light switches are routers 😐

#

they're all TUYA devices

proper imp
#

my current setup is as follows

Apple tv 4k > 5x eve plugs

#

aqara m2 hub > aqare h1 (no neutral), aqara wireless mini switch

#

I want to remove the two hubs and use ha to control them and thought replacing the eve plugs with zigbee alternative would be best

#

I'm new to all this and want to start using ha in the future

sour shadow
#

Buy Innr plugs, they do ones that report power use, and ones that don't, and are well known to be solid routers

proper imp
#

ok

#

thank you

austere patio
woeful elk
#

The Sonoff P

austere patio
#

For that coordinator, LQI is just rescaled RSSI. The graph is only measuring the RX signal strength on the coordinator side, not the actual quality of the link (i.e. retries and packet loss).

woeful elk
#

ah, right - so its only an RX signal strength?

austere patio
#

There's also no noise floor to compare it to so it's really hard to say much from LQI alone with the -P

#

I would pick some device with which communication is unreliable and see how it behaves with/without the antenna

woeful elk
#

hmmm gotcha.

#

right now, it seems to work just about everywhere

#

I mean, its tough, as there doesn't seem to be clear winner / losers in the different antenna changes.... One is the stock - which I think is 3db gain? The second one I changed to is a 10db gain antenna

austere patio
#

If you don't have a difficult environment it probably doesn't matter 😄

woeful elk
#

probably lol

distant flume
#

note that antennas don't magically get more gain somehow; they work by making the signal stronger in one direction and weaker in a different direction

#

typical dipole-like antennas with more gain means the signal is stronger horizontally, and weaker vertically

#

the advertised gain means "in the direction that this antenna is designed for, the signal is x dB stronger than a theoretical same-power-in-every-direction antenna"

silk vortex
proper imp
#

so if I use ha could I use the same automations

when I leave home turn off tv plug and laptop plug
when I arrive home turn on tv plug and laptop plug
10:00 turn tv plug on
0:00 turn tv plug off
9:45 turn off fan
30 minutes before sunset turn on lights on

sour shadow
#

Sure, and better ones than those 😛

distant flume
#

yeah, all of those things are possible with HA automations

sour shadow
#

HA allows you to use the sun elevation, which is usually better than a fixed time offset

#

(unless you live near the equator when it matters less)

distant flume
#

but problematic near the poles, where the sun might never hit the elevation you use as the trigger, or never set at all ;)

proper imp
#

those are just my automations with apple home

sour shadow
#

HA's automations can use, and be based off of, anything HA can integrate with/know about

#

For instance, only turn the TV plug off if you're not watching the TV

#

Or turn it off when the room isn't occupied and the TV is off

#

Or whatever you can think of

proper imp
#

cool

ember pine
#

Has anyone else an issue with left-right longpresses on an Ikea Remote not working anymore after the recent Z2M integration update?

#

That's at least the first thing I noticed today, not sure if there's more. Haven't restarted Z2M or Home Assistant yet tho.

#

In the Z2M logs it does print an "ArrowRelease" action, but it never comes through to my automations somehow

#

Even after restarting Z2M and HA it won't work 🥲

forest cobalt
#

On 1.37.0? There's a known issue for Ikea remotes that's fixed in the dev branch.

hybrid vale
#

What options are there for Zigbee remotes that take AA or AAA batteries? I think the only one I've found is the Ikea Styrbar

forest cobalt
analog jackal
#

Can I get some help? I have a NAS running homeasistant on a VM. I need help with my skyconnect dongle. It was working previously in my odroid XU4 but Im having trouble migrating it to my terramaster NAS. I have an error after I go thru the migration wizard. "failed to connect".

analog jackal
#

I figured it out. For anyone with the same issue you need to create a USB Passthrough device on your VM. Controller type: pixx3-uhci Device: Sky Connect. Device Oder:1002 Hope that helps.

west lagoon
#

I've asked this on #integrations-archived and was advised to come to this channel.

I have Z2M running in HA with a slae.sh coordinator on /dev/ttyUSB0 and thought I'd play with ZHA by adding a Sonoff TI-based Zigbee dongle on /dev/ttyUSB1. When setting up ZHA, HA offers /dev/ttyUSB1 as a coordinator choice but subsequently fails to connect to it. Serial speed defaults to 115200 and flow control to none.

Any ideas why this might be so?

forest cobalt
#

Is it showing a /dev/serial/by-id/[device] option?

mellow brook
west lagoon
mellow brook
#

I just plugged my Sonoff P in and can confirm it connected with @forest cobalt suggestion.

grim igloo
#

always use that full path

#

it'll save future you a headache

west lagoon
#

The full path gives me the same error message. I left the link speed and flow control at their default settings. Should I try a different physical USB port?

ashen bluff
#

See pins here for why.

grim igloo
#

are you using the usb ports directly on both coordinators?

#

that's like inviting two ex girlfriends to your wedding

mellow brook
grim igloo
#

i think it's wrong cuz technically there are only two coordinators

#

so it's like inviting two exes to dinner

mellow brook
ashen bluff
#

That last part makes no sense.

#

/dev/serial/by-id/... is just a symlink to /dev/.... Check with ls -l /dev/serial/by-id/.

grim igloo
mellow brook
west lagoon
#

Moving the dongle to another port did not help though my sole 2.0 port is the slae.sh and the rest are all 3.0.

And I am using the full paths even though, as @Impact points out, it is just a symlink to /dev/ttyUSB*

grim igloo
#

so you are indeed using the ports themselves not usb extension cables?

#

cuz that's a no no

west lagoon
#

The slae.sh is on an extension cable but not yet the Sonoff. I was thinking I'm not at the point of experiencing the crosstalk issues yet but will dig around for an old USB 2.0 hub to use as an intermediary tomorrow since I don't have any USB extension cables at this time.

mellow brook
grim igloo
#

nah sometimes the interference is so high the stick just doesnt connect to zha/z2m

#

not gud yo

west lagoon
#

Another experiment would be to temporarily put the Sonoff on the extension cable and see if the installation succeeds

grim igloo
#

either way i wouldnt run multiple meshes

grim igloo
#

but i also have multiple wifi 2.4ghz APs so i made sure to pick a zigbee channel that was furthest away from interference from my wifi 2.4ghz AP that would bleed over into it

west lagoon
mellow brook
grim igloo
#

yeah

#

it should justworktm

west lagoon
# mellow brook It won't hurt to test.

Switching the two coordinator locations did not help. I will try reflashing the Sonoff tomorrow though the two were at the same firmware level the last time I checked.

Thanks everyone

misty topaz
#

Hey. We just got an Aqara T1M (https://www.aqara.com/eu/product/ceiling-light-t1m/)

I am running Z2M as my Zigbee Home Assistant controller of choice.

The light main light and the ring light connects up fine.

However, when i am using transitions on the main light it seems not to respect the seconds i provide, this is both using scenes or using light.turn_on directly.

From looking around i cant find evidence it should not support it.

I have also tried tinkering with the Z2M property transition. And it also looks like from the docs that it should support it:
https://www.zigbee2mqtt.io/devices/CL-L02D.html#transition

It feels like it have some sort of transition, but it kind of maxes out on ~5seconds. So setting values to 0 seems like relably make it turn on off instantly. But i would like slower transitions, like with all my other lights.

Any ideas to what i might try, or what could explain it?

sour shadow
#

It's not uncommon for the max transition to be short, that's a hardware limitation usually

#

You'll need to have a script that does a series of no more than 5 second transitions

misty topaz
sour shadow
#

You appear to have done so already

#

Start at 4 seconds, and then work up in half second increments

rapid dawnBOT
#

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

sour shadow
#
  1. The dongle is on a USB extension cable?
  2. You're on a channel clear of WiFi (yours and the neighbours)?
  3. What Zigbee router devices do you have?
  4. What are the make and model of those problem sensors?
opal marsh
#
  1. Yes, USB 2.0 port of the Pi > USB Extension Cable (2M) > Zigbee Dongle

  2. How do I check for this? I'm asking because if I manually use the buttons from within HA to turn on/off the lights, for example, it works instantly but the movement sensors detect me (they flash when I move in their range) but don't report back to HA.

  3. A few spotlights from Lidl, a few mains powered switches (circuit switches) TS0001 by _TZ3000_zw7yf6yk; and a router in my attic SA-003-Zigbee by eWeLink, this one sits in the middle of the house, in the attic while the rest of the routers are spread out.

  4. TS0202 by _TZ3040_bb6xaihh; TS0202 by _TZ3000_lf56vpxj two types of movement detection sensors, both battery powered and per AliExpress "ONENUO Tuya Zigbee Mini Smart PIR Motion Detector" and "Tuya Zigbee PIR Smart Motion Sensor"

#

And as for the ones that connect via ZHA but don't expose anything:
"Color: 5.8G Zigbee Ceiling - Tuya WiFi /Zigbee Human Presence Detector Smart Human Body PIR Sensor Radar Detector Microwave Motion Sensors" and "Color: GB 16A ZigBee - ZigBee 3.0 Thermostat Temperature Controller Water/Electric Floor Heating Gas Boiler GA/GB/GC Smart Life Tuya Alexa Google Home" - those two for instance work with Z2MQTT

I can link the AliExpress product page(s) if needed

Hence my questions if I should just start clean with Z2MQTT, sell what doesn't work natively with ZHA, run Z2MQTT and ZHA, not really sure what's the best approach honestly

When buying stuff on AliExpress I look through the reviews and a few people report that it (the product) works with either ZHA or Z2MQTT

sour shadow
#
  1. That's in the ZHA diags from memory, plus WiFi scanner apps on your phone
#

Tuya... oh boy

#

Your problems are unlikely to be down to ZHA, but to your devices and/or interference

#

The next thing to do is check that you've got routers near those end devices - no more than 6 to 8 meters away and one wall

#

I'd also try pairing them to a nearby router

opal marsh
#

I see, so "Tuya" no good. I'll do a better job at researching when buying stuff.
I'm buying from AliExpress because at the local retailers I can only get stuff from AliExpress but at 2-3x the price.

Looks like it's on channel 25 and per the app on my phone, in my country for WiFi 2.4GHz it only reports from Channel 1 to 13 so 25 should be fine?

I do have a router nearby, 4 of them. 3 are the Lidl spotlights at unde 3 meters and a circuit switch that inside the wall at ~5 meters. That's how close they are to the zigbee dongle.

The battery powered devices have a router at a maximum of 2 meters and between routers there isn't more than a 4m of distance.

I'll get to it, I'll pair the problematic movement detection sensor to their closest router and see if that helps.

sour shadow
#

Tuya is cheap. Tuya is often shit

#

Also, WiFi channel numbers and Zigbee channel numbers are not the same

#

Look at the pinned image

opal marsh
#

Using said image and looking at the wifi analyzer app on my phone, Zigbee Channel 25 is the least congested one

I've added them via their closest router, redid the automations and now they both work, hope they'll keep on working.

Regarding "Tuya" and me shopping on AliExpress it's hard to take EVERYTHING on the product page at face value beside the "Zigbee" and "WiFi" versions of the products.

I saw some lists that list the compatibility of devices with ZHA, Z2MQTT but for some of them the picture is identical of the one provided on the product page and they (the product listings) don't list other key words that could help me see if it will actually work as intended.

That's the nature of shopping on AliExpress and I knew the risks so not surprised by that.

sour shadow
#

There are many other brands that are less of a shit show, well, other than Sonoff

#

Xiaomi's original range have quirks you can work with, but the newer E1/T1/P1 ranges are pretty solid

#

The only other thing to do is change batteries

opal marsh
#

That's the first thing I do, I'm using rechargeable ones but sometimes I also need luck for stuff to work.

I'll do inventory of everything that I have installed, that I was planning to install and replace what does not work natively with ZHA.

Overall there are only two things that were a little more expensive, the mm wave movement detection sensor and the thermostat, luckily I buy one of each to see if they work and then order more.

Thank you for your help!! Now I know what I need to do

#

Oh, one more thing, does it matter if it's branded as Aqara or Xiaomi when looking for Zigbee devices?

#

Seems like "Mijia", "Aqara" and "Xiaomi" all show up when searching for "Xiaomi zigbee <device type>" on AliExpress

sour shadow
#

Rechargeables may not work well, the lower voltage is a problem for most sensors

#

The newest Tradfri devices are an exception - they only work well with rechargeables

#

Xiaomi is the company, Aqara and Mijia are ranges/sub-brands

woeful elk
#

Interesting.....

wise lantern
#

I have an Ikea Trådfri bulb connected to HA via Zigbee2MQTT. I can see all its controls inside Zigbee2MQTT but I get no relevant entities in HomeAssistant. (Version 2024.2.1)

forest cobalt
#

If you look at the MQTT integration, you don't see the bulb listed?

wise lantern
#

I do, but it doesn't have anything useful

#

can I not paste pictures here? anyway, I do see the bulb as an MQTT integration but no way to turn it on or off or to change brightness/colour

rapid dawnBOT
#

@wise lantern Please use imgur or other image sharing web sites, and share the link here.

Image posting is blocked in most channels to discourage people from sharing text as images. Sharing text as images assumes that everybody sees the world as you do, which isn't the case. Some people are colour blind, or have visual impairment that means they can't make sense of an image of text.

wise lantern
forest cobalt
#

Hmmm, so if you go into the device settings, do you see something that says "Disabled entites" on the Controls block?

#

It should be something like "+x entities not shown"

wise lantern
#

Oh yes, I could enable the effects... But I don't need effects if I can't even switch it on or off 😅

#

It's the only control that I see

#

And I enabled one "MQTT Select" which only contains Identify... Nothing else disabled

forest cobalt
#

Hmmmm, it almost sounds like the MQTT discovery message is malformed. So, a couple things off the top of my head... Try renaming the device in Z2M to something different. If you are on 1.37.0, you'll need to go into Settings and set Home Assistant name there. That should generate the MQTT discovery topic again. If that doesn't work, remove the device from Z2M and re-pair it again.

wise lantern
#

I both renamed it and changed the Home Assistant name but... Home Assistant doesn't see the new name. Restarting the Zigbee2MQTT container in case that wakes something up...

#

okay, no. I'll remove and re-pair.

forest cobalt
#

Yeah, option 2. Seems like something is stuck in the MQTT discovery topic.

heady sleet
#

Realistically, what's the range on a Zigbee smart plug? Like this one. https://www.amazon.com/THIRDREALITY-Zigbee-Smart-Plug/dp/B0BPY5D1KC?th=1

I had one about 20' away from two other plugs of the same brand, and it originally had excellent LQI, but now keeps going offline. It's just going through one wall. Does it really need to be closer or is there some other issue?

wise lantern
#

Still the same 😦

forest cobalt
forest cobalt
wise lantern
#

Yes, I can see and use all the controls in Z2M.

forest cobalt
#

hmmmm... Yeah, I don't know, tbh. I've never seen that. The only other thing I can possibly think of would be to remove the light and then use something like MQTT explorer to remove the topic from both the zigbee2mqtt topic and also the homeassistant topic.

heady sleet
# forest cobalt The ThirdReality plugs, while *usually* stable sometimes have issues. Most times...

Yeah I've been finding that out.

I was having issues a few weeks ago with Z2M, my ConBee II, and the 7-8 ThirdReality plugs I have (no other Zigbee devices besides those).

I basically re-built the network slowly, adding one new device each day. Got up to 4 and that one keeps having problems, just unplugged it and plugged it back in and it's fine now. Which makes me wonder if the ConBee wasn't the issue to begin with, maybe these plugs are just going offline too much

forest cobalt
wise lantern
grim grove
#

I am tired of adding devices back to mqtt un groups

heady sleet
forest cobalt
# heady sleet what would be the appropriate setting for that in Z2M? (debounce)

On the settings tab (in the device), you can set the debounce settings. But, they won't really help here as it doesn't limit the traffic between the device and the coordinator. Although, an interesting though just came to mind which is that you could set the reporting to be a bit more relaxed. Downside is that you won't get power/energy usage as often. Upside, that might reduce the traffic to the coordinator... I think

heady sleet
#

I really don't care about energy usage on these, I just happened to get the ones w/ the energy meter but they're just attached to some lamps so it's 99% just for on/off control

forest cobalt
#

Ok, then try to adjust the reporting for activePower, rmsCurrent, and rmsVoltage and see if that helps or not.

#

Don't go with huge changes, start small, monitor and see if it helps.

heady sleet
#

Would disabling that reporting all together have any negative effects? Basically just On/Off enabled?

forest cobalt
#

I don't think it would, tbh. The devices should just stop reporting at that point.

orchid tundra
sour shadow
#

Xiaomi is a bit Tuya like in that they also license the brands for others to use, and have a cloud service, but they seem to put a lot more effort into quality control than Tuya (who don't seem to have any)

warped rose
#

I have some aqara temp/hum sensor squares that I got a long time ago, and they worked great! But then I got a Home Assistant Yellow and I migrated my ZHA over to the built in radio. Since then, these sensors will not stay available on the (very robust) zigbee network. Anyone have ideas?

summer viper
#

Evening, I've just bought 2x Frient devices (Smoke Alarm) (Motion Detection). However, both the smoke alarm and motion detector are showing 'Unknown' on temperature and on the motion detector Illuminance is also showing 'Unknown'

grim igloo
#

rejoin them maybe they failed to interview correctly

summer viper
#

Will try that now

summer viper
grim igloo
#

sweet

#

some stuff you have to keep awake by pressing buttons to get them to join correctly

#

otherwise they half join i guess

tribal escarp
#

Hello! I'm eyeing some of the new ikea bits that came out, and will be within range of an ikea briefly. I have HA setup at the moment, is it worth it getting their bridge, and if so, is there a way of pointing HA at it for non-ikea zigbee stuffs?

forest cobalt
tribal escarp
#

I was mostly eyeing the Parasoll - but it looks like ikea wants you to buy their Dirigera hub, and at $60usd that's a bit too much when I can just get a dongle and stick it in my pile of thinkcentres

forest cobalt
#

I would just go the route of using your own coordinator.

tribal escarp
#

Gotcha. Any recommendations?

forest cobalt
#

For a coordinator? Anything from Tubeszb, Zigstar, or the Sonoff Dongle P or E.

prisma osprey
#

i actually hadn't seen these

#

nice

#

hopefully better than aqara and have good battery life

#

oh wow AA batteries!

tribal escarp
#

Yep! I'm going to check them out in store, but I may end up buying some

prisma osprey
#

Keep us posted on how they perform. If they fully implement the zigbee protocol I'm probably going to recommend them over aqara

forest cobalt
# prisma osprey why avoid ikea?

Well, in my own experience, IKEA stuff just wasn’t stable at all. They’ve gotten better with firmware updates, but in general, they just haven’t been that good. Plus, some of their newer stuff seems to have issues as well.

lilac wharf
#

Currently trying out a few of the PARASOLL contact sensors...hopefully they're good in the long run because the form factor is handy for a few of my use cases

#

P A R A S O L L

forest cobalt
pure kelp
#

I updated my HA instance last night and now my HA instance crashes with zigbee conbee2 pluged in and doesn't boot up (cannot reach Home assistant)
. Not sure why, is anyone else facing anything similar? I'm not able to find an open issue.

#

I'm using the ZHA add on with the conbee2

grim grove
pure kelp
#

okay this is odd, it works now. I flashed the latest firmware on my Conbee 2 and it works. so odd

teal coyote
#

Crossposting a little:
Recently migrated from a stand-alone container on a Ubuntu Server to HAOS add-on and while I did not need to re-pair my devices
I have gotten this in my log trying to e.g. switch a lamp
Any ideas what's causing this bahaviour?
IT seems to be working right after reboot, and stops after a while...
Full log message:
```Publish 'set' 'state' to 'Corner' failed: 'Error: ZCL command 0x001788010bf512345/11 genOnOff.off({}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (SRSP - AF - dataRequest after 6000ms)'`

sour shadow
#

I'm guessing you're using Zigbee2MQTT then?

teal coyote
dusk vortex
#

Hello! Zigbee failed for me today, with the control panel showing it can't load the integration, because the USB device is not available, displaying the full /dev/usb path to the sonoff adapter. I did try replugging it and passing the usb device again through proxmox again, but HA still can't see it. Interestingly, it did open a single window cover before the incident. Any idea where the problem might be?

digital coral
#

Hi, I was changing home network yesterday by switching the IPSs router to Bridge mode and adding Unifi Express as mine main Wifi Router device.
I have HA installed on raspberry pie with Sonoff Zigbee Dongle Plus connected on usb extension cable.
Im using Zigbee2MQTT to control my zigbee devices. But since the change, the devices are not receiving any updates in HA.
In Zigbee2MQTT when I for example press button, I see at the device an action being triggered. Also in the Z2M addon log I see payload being send. But nothing on the actual device and entities in HA.
I have tried restarting everything: HA, Addons Mosquitto and Z2M and reloading the MQTT integration. Nothing helped.
Can you please help me figure this out?
THanks!

teal coyote
sour shadow
dusk vortex
#

the P kind

#

At first I thought it might be related to the 2024.5.2 update, which I only just did like yesterday, but the update notes don't really mention anything zigbee-related and rolling back to 2024.5.1 doesn't fix it

sour shadow
#

Try re-flashing the firmware on the stick

#

They're known to sometimes have corruption issues

dusk vortex
#

tbh I have no idea how to do that even :p It was working out of the box

sour shadow
#

The Z2M docs have you covered

dusk vortex
#

It does show up on my desktop under lsusb as Silicon Labs CP210x UART Bridge, but not on the HA supervisor

#

maybe it's some driver issue?

sour shadow
#

No

ashen bluff
dusk vortex
#

:(

#

plugged into the desktop it does show up and does create /dev/ttyUSB0

    |__ Port 006: Dev 004, If 0, Class=Vendor Specific Class, Driver=cp210x, 12M
        ID 10c4:ea60 Silicon Labs CP210x UART Bridge
        /sys/bus/usb/devices/1-6  /dev/bus/usb/001/004
#

I can't paste screenshots, unfortunately, but 10c4:ea60 is for sure the thing I'm passing to the homeassistant vm in proxmox

rapid dawnBOT
#

Please use imgur or other image sharing web sites, and share the link here.

Image posting is blocked in most channels to discourage people from sharing text as images. Sharing text as images assumes that everybody sees the world as you do, which isn't the case. Some people are colour blind, or have visual impairment that means they can't make sense of an image of text.

dusk vortex
ashen bluff
#

Have you tried detaching it and running lsusb -vvt on the node?
Never mind. It has the same id.

dusk vortex
#

if by node you mean proxmox then yeah, it does show up there too, I've just checked. If it didn't, it'd show in the panel that it can't find the device
(like with that other thing I don't have plugged in right now https://imgur.com/Z6YZ3Th)

limber patio
#

Hello, I have pretty basic question. I opened HomeAssistant on my iPhone and it is asking me to login. I don't remember ever to register, so my email & password that I enter is wrong. How do I find my account details?

dusk vortex
limber patio
#

It forces me to enter user & password, with no option to "I forgot my password" Or something like that

limber patio
#

i am trying to add all of my Zigbee devices to HomeAssistant

ashen bluff
dusk vortex
#

lsusb in the VM console gives the same output as through the SSH via the terminal addon. Just that hub thing shows up

limber patio
#

When I open the app I find my HomeAssistant server. When I click on it, I get to the login form

limber patio
ashen bluff
#

That was not meant for you.

ashen bluff
limber patio
#

Thanks

dusk vortex
ashen bluff
dusk vortex
#
➜  ~ lsusb -vvt                              
/:  Bus 001.Port 001: Dev 001, Class=root_hub, Driver=uhci_hcd/2p, 12M
    ID 1d6b:0001  
    /sys/bus/usb/devices/usb1  /dev/bus/usb/001/001
/:  Bus 002.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/15p, 480M
    ID 1d6b:0002  
    /sys/bus/usb/devices/usb2  /dev/bus/usb/002/001
    |__ Port 001: Dev 002, If 0, Class=[unknown], Driver=cp210x, 12M
        ID 10c4:ea60  
        /sys/bus/usb/devices/2-1  /dev/bus/usb/002/002
/:  Bus 003.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/15p, 5000M
    ID 1d6b:0003  
    /sys/bus/usb/devices/usb3  /dev/bus/usb/003/001

🙏

#

that worked PHEW

#

:p

ashen bluff
#

Yay. This should not be needed though 😡

dusk vortex
#

I kind of assumed the HA vm would pick up USB changes

ashen bluff
#

I was under that impression too a few minutes ago before I tested it.

dusk vortex
#

but I was kind of under assumption that since proxmox passes usb devices to running VMs dynamically, and it did work for me on other occasions, it'd work with the zigbee adapter

#

like that other thing I have passed through is a vanilla usb serial adapter for flashing esp8266 and it does get picked up dynamically by HA addon when plugged into the host 😓

warped rose
# austere patio How old are their batteries?

I've replaced the batteries with good ones; they still immediately drop off the network. They have never reported 100% battery even with brand new; but the new ones were reporting 60% battery before dropping off

gleaming jay
#

From time to time I lose all my zigbee devices. When I look at the zha integration it says “failed setup, will retry”. What log under System would give me the details of what is going on?

austere patio
warped rose
austere patio
#

Can you enable debug logging, reload the integration, re-join the sensor, and wait for it to drop off?

tender rock
#

Hiya, having a weird zigbee2mqtt issue - just added a bunch of temperature sensors but nothing is showing up in HA, is there a way to force re-discovery?

carmine hamlet
#

Restarting Z2M will republish all devices to MQTT

#

HA will see anything that's published to the discovery topic

tender rock
#

Will give it ago once my trv has finished updating its firmware

tender rock
#

Time to install them all around the house then 🙂

jaunty zealot
remote marlin
#

Hello, I need some option

#

I'm new to zigbee world, because I bought a smart knob switch from Meos

#

Got already the Sky connected gateway and today come some zigbee repeaters

#

But they are not making a mesh with good signal...

#

But I also got a lot of iot from Philips hue

#

Should I change my hus things to zigbee? Will I have the same options on HA from devices pairing on hue bridge or in zha?

lost sonnet
#

Hi, sorry if this is the wrong place but I am looking for some help adding a unbranded zigbee relay to z2m

grim igloo
lost sonnet
#

so when I try to apply the custom definitions, nothing happens

remote marlin
#

I noticed when I try the matter on philips hue a improve response speed from actions, but the lack of battery display on HA made me revert it

atomic gorge
#

Hello, is anyone familiar with custom zha quirks? I'm trying to get a quirk working for a AduroSmart Eria scene switcher, the quirk loads and all but it does not seem to match the device. Any ideas?

sick panther
#

Heeey! Just migrated from ESXI to Unraid - made a new install and got everything but the ZigbeeStick... its detected but for some reason it wont work :/

soft mirage
# dusk vortex ``` ➜ ~ lsusb -vvt /: Bus 001.Port 001: Dev 001,...

Maybe me that are tired and missing something, but did this log show any fix for your problem?

I think I have similar annoying issue.
Running HA in a Virtualbox VM on Windows 10, everything is fine until HA needs a reboot. Like after an update. After that my zigbee integration is failing and can't find my Conbee2 stick (forwarded usb)
It is still listed as connected hardware, not visible in windows.
Only solution for me is to either reboot host/windows server or log in on my server to kill the VM service and restart it again.
No super big issue, but still annying. Especially since my z-wave stick works fine after HA reboot, also with forwared usb

dusk vortex
austere patio
#

The Conbee II physically resets its USB interface (effectively unplugs itself and plugs itself back in) if you ever stop communicating with it for more than 60s

#

How long do your reboots usually take?

soft mirage
soft mirage
austere patio
soft mirage
tidal peak
molten linden
#

-e is a efr32, you have to specifiy ezsp (depreciating) or ember (requires 7.4.x fw) in the config

tidal peak
#

7.3.x fw? version of what?

molten linden
#

coordinator FW

tidal peak
#

o

#

do i have to disassemble the dongle to update it

austere patio
acoustic solstice
#

Hi. I managed to configure the zigbee adapter from sonoff to my rpi and now I would like to pair the first device which is mhcozy zg-005-rf. Has anyone had experience with such devices? Is pairing trouble-free?

molten linden
#

let me find the link

tidal peak
#

thats the version that fits in the 7.3.x requirement but based on another guide i found it doesnt specify if its compatible with z2m

#

im going in assuming it works

molten linden
sick panther
#

I am lost... my ConBee 2 Stick gets found: as "/dev/ttyACM0 - ConBee II, s/n: DE2294450 - dresden elektronik ingenieurtechnik GmbH" i select it and HA is "working/loading for about 60 secs. As type I choose "deCONZ = dresden elektronik deCONZ protocol: ConBee I/II, RaspBee I/II" - devicepath is automatically detected as "/dev/ttyACM0" (wich seems to be right) speed is autodetected to "115200" but it just says "Connection Failed"... 😦

forest cobalt
sick panther
#

what was the command to get the device name again? Not a heavy Linus User here 🙂

forest cobalt
#

ls /dev/serial/by-id/

sick panther
#

so in my case "/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2294450-if00"

forest cobalt
#

Yup

sick panther
#

sadly i get the same error 😦

forest cobalt
#

Hmmmm 🤔 Is it plugged into a USB2 port?

sick panther
#

not sure tbh - it worked on that port with esxi tho - i just switched to unraid today 🙂

tidal peak
#

uhm so i decided not to use zigbee to mqtt for my zbdongle-e, however when using zha, when i try to configure the coordinator, the whole think just crashes. my vm freezes, the cli is unresponsive, etc etc. what is the problem here???

forest cobalt
sick panther
#

its USB2 - i can switch to USB3 tho

#

VM

forest cobalt
#

Nope. Keep it on USB2.

sick panther
#

didnt expect that

#

😄

forest cobalt
#

Hold on, let me look at something. I think you have to pass it through.

#

Crap, I can't find it now, but somewhere in the VM settings, you need to make sure that the conbee is passed through.

#

I don't run any VMs on my Unraid server, so I can't find the setting for it.

sick panther
#

Did that 🙂

#

its in the VM setting without VMs you wont be able to find it

#

but since I unplugged it to check if its 2.0 oder 3.0 HA doenst find it anymore 😄

forest cobalt
#

Yeah, you'll have to restart the VM for it to find it again.

sick panther
#

yep worked

forest cobalt
#

Hmmmm... That's weird though... I'm not sure about why it would fail the connection.

sick panther
#

since you said 2.0 is preferred - the usb controller on that vm is set to 3.0 .. maybe chaging that could help?

forest cobalt
#

Looks like the solution might be to use /dev/ttyUSB0? I'm not sure.

#

Actually, when I had HA running as a docker container on my Unraid server, I think I had to use that for my z-wave stick as well.

sick panther
#

its not 2.0 or /dev/ttyUSB0 😦

forest cobalt
#

I don't have any answers then besides maybe looking through the articles I sent. I can confirm that HA running in docker worked for me, but only with my z-wave stick. Never tried it with a zigbee usb stick.

sick panther
#

okay ty 🙂

#

one last question :

#

<serial type='dev'>
<source path='/dev/serial/by-id/<yourusbid>'/>
<target type='usb-serial' port='1'>
<model name='usb-serial'/>
</target>
<alias name='serial1'/>
<address type='usb' bus='0' port='4'/>
</serial>

is that " <source path='/dev/serial/by-id/<yourusbid>'/> " part my ID: /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2294450-if00 again?

tidal peak
#

what could be causing this?

#

ive allocated sufficient ram to my vm running inside of windows, afaik i havent done anything that would make the vm crash the second the coordinator is called, interacted with

rapid dawnBOT
#

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

sick panther
#

@forest cobalt - pinging you again in case the reformatting of the bot broke the notification 🙂

forest cobalt
#

Hold on. I’m mobile atm.

sick panther
#

no need to hurry

forest cobalt
#

Yeah, that should be right.

soft mirage
bold plume
finite osprey
#

is there a command to "clean up" devices and their entities (what is in core.devices/entities_registry files? There are a ton of deleted devices and entities and I would like to start fresh without nuking my mesh networks. I saw them while trying to figure out how to remove an orphaned zigbee device entry that I just can't get rid of... grrr I delete it from the device file and it comes right back. While there is no ieee address in the GUI, in the file it is reported with all ff:ff:ff... so I tried the ZHA Toolkit device remove with that ieee address and it did not work;

fading moth
#

I have a few SNZB-02D sonoff temperature sensors and some of them stopped reporting temperature. Interestingly, when I press the button on the device, I'm seeing [2024-05-11 17:50:42] debug: z2m: Received Zigbee message from 'LedTempSensor3', type 'commandToggle', cluster 'genOnOff', data '{}' from endpoint 1 with groupID 0 in the logs, so the sensor is definitely connected to my zigbee network, and also the temperature on the display looks correct. However, the device is not sending other zigbee messages whith temperature data, like for example another one does:
[2024-05-11 17:50:56] debug: z2m: Received Zigbee message from 'LedTempSensor1', type 'attributeReport', cluster 'msTemperatureMeasurement', data '{"measuredValue":2590}' from endpoint 1 with groupID 0
LedTempSensor1 on average reported every 2:26min and max interval was 4:36min today. LedTempSensor3 didn't report temperature at all!
This is not an isolated device, but a bunch of sonoff temperature sensors. I don't have anyh issues with other zigbee devices (switches, bulbs, smartplugs, ...)
Does anyone know how to debug/fix the issue?

red basin
#

Can i ask if zigbee devices could have a delay on being read by HA or NR?

Had this issue for over a year with a huge delay with devices regarding temp etc when we had an update for HA and NR and not changed since. seems like some say they fixed it but no idea /info on how

dire owl
#

Going to be switching soon from SkyConnect/multi-pan/ZHA, to 2 coordinators. SkyConnect will be thread only, and second coordinator will be the SMLite SLZB-06 ethernet coordinator in zigbee mode only. The device seems to support ZHA and Z2M, but most use it with Z2M. Just curious how the coordinator behaves with ZHA. Switching to Z2M is an option, but only if I really have to, guess time will tell. I presume a migration will be the easiest, then just flash the SkyConnect to thread only.

remote marlin
#

I try instll and run mqtt today, but I noticed a information about the need to upgrade skyconnect firmware to +7.4(ember)

#

But when I start mqtt it gives two warnings about delivery of broadcast

#

Is this a current know bug?

cosmic moss
#

I am strugling hard right now to get my Sonoff -P dongle working with Zigbee2MQTT. It is "Failing to connect" and i have tried just about every combination of getting this to work but i cant seem to figure it out

#

If anyone could please help me and tell me what stupid mistake i am making so i could sleep tonight it would be greatly appriciated haha

carmine hamlet
#

"ember" and "ezsp" are the wrong type of driver for your adapter

cosmic moss
#

What should i have there?

carmine hamlet
#

zstack

#

or auto, I think

cosmic moss
#

Oh my god

#

Thank you

#

I think its booting

carmine hamlet
#

ezsp and (coming) ember are for the Sonoff-E

cosmic moss
#

Oh my god it booted

#

Okay quick follow up question then

#

Should i get the Sonoff-E

carmine hamlet
#

no

cosmic moss
#

-P is fine?

carmine hamlet
#

yes

carmine hamlet
#

yes

cosmic moss
#

Thank you man you just saved me hours..... i knew it was somthing simple

neat goblet
#

Hi! Am interested in getting some Hue outdoor fixtures, had some control questions and my google searches weren't getting me too far. I want to use HomeAssistant for my automations with the lights and sensors, and i know Hue has their own hub that utilizes Zigbee + their own cloud. I saw there was a Hue addon for HA, my question is if i need the hub or could I use a Sonoff stick or something instead, or is there a better way to approach this whole thing as right now i havent bought anything Zigbee or Hue related yet.

cosmic moss
#

I just started the same process..... I was going to go with the hub and not deal with the Zigbee Stick.... however i really needed things exposed in HA fully, such as Aqara switches, so i needed them to work with Zigbee2MQTT, and honestly even tho ive only had it working for less than an hour if you want to do all your automations and scense and everythign in HA its worth it to use Zigbee2MQTT.... but like i said im new to it so take it with a grain of salt

neat goblet
#

So you have Hue devices working with Zigbee2MQTT via the hue hub or a stick + HA?

cosmic moss
#

Stick + HA

#

I bought the hue today without a hub for this use case

neat goblet
#

Sonoff stick?

cosmic moss
#

Yeah

neat goblet
#

Gotcha

cosmic moss
#

Which caused headaches

neat goblet
#

so theoretically... u can use a hue fixture without their hub?

#

or is that only certain bulbs/devices?

neat goblet
cosmic moss
#

my use case is i want the switches to still work as "switches" but i really want smart bulbs too cause i plan to have the lights be daylight lights when i turn them on if its day and warm light if i turn them on at night, using HA + ZigbeeMQTT + Aqara Switches is the only way ive found so far haha so im testing it now

#

Yeah

#

so kinda

#

hang on let me send you the reddit post i made asking that same question 2 days ago lol

neat goblet
#

Super helpful post, thanks for sharing. This comment caught my eye.

Do you care about the features offered by the hue hub? (their built in scenes, Hue Sync) If so use the hub. If not (and assuming that you have other zigbee devices/plan to, use Zigbee2MQTT

Without reading too deep into it, it sounds like a stick + Z2M would work just fine, but what headaches have u run into? If needed we can take this to another channel that suits the topic better.

#

(Since u mentioned earlier there were some headaches) unless that has to do with the aqara things

cosmic moss
#

Yeah ill pm you

remote marlin
#

Is some one able to have mqtt with ember, on skyconnet, working?

whole mirage
#

Here's a brain teaser... If anyone has any suggestions, please.
Latest HA (tried restore to 2024.5.1.), Latest Zigbee2MQTT (also, restored to 1.37.0).
Devices just stopped updating in HA and now are Unavailable.
Zigbee2MQTT is working normally, and I can control devices there.
BUT funny thing is that if I subscribe to a topic in HA of for example motion sensor, that's "unavailable", I can see updates to it. So HA also get's messages from MQTT.
As stated, tried all of the restarts (HOST, just core, MQTT,...) restore of backups etc, but nope, nothing works.

#

Everthing works, but, it doesn't work 🙂

sour shadow
#

Checked the HA log file?

#

I've seen that happen when you set the Z2M url field to something that's not a URL

whole mirage
#

But Z2M is working OK and I can subscribe to topic in HA to see updates. It just doesn't auto.discover devices and update them.

#

Everything is at latest version (HA at 2024.5.3, Z2M AddOn at 1.37.1-1).

#

MQTT is external in Docker.

sour shadow
#

And ... did you check the log file?

whole mirage
#

Sorry, yes - have one error I can't figure out -(starting stream in 5 minutes so multitasking )
No ACK from MQTT server in 10 seconds

sour shadow
#

That's from HA?

#

That's likely relevant to your problem then

whole mirage
#

It's not in log now as I've restarted it. I think this one pops if I kill/restart HA.
Yes, that's in HA

sour shadow
#

You may need to change the MQTT log level to info to get more out of it

glass ravine
#

I need some help from someone more knowleable than I

I purchased a an aqua switch 'Remote Wireless Switch H1' but I believe triggers are missing such as double click and long click plus home assistant doesn't know which button on the switch is pressed

I'm using the integrated home assistant ZigBee integration with the sonoff dongle. Has anyone come across this issue?

#

Actually let me rephrase that. The triggers appear when I create an automation but if I double click it or long press home assistant doesn't recognise it in the logs as a double click or long click

prisma osprey
#

if the delay is 0 that usually disables any double press functionality

glass ravine
#

Can't see that it has

prisma osprey
#

what switch is it

marble cliff
#

Is multi pan (zigbee + threa) supported by home assistant?

mellow geode
#

Yes, but you shouldn't use it. It's not well supported and there are issues with it.

marble cliff
mellow geode
#

The chip is fine. It's the Multiprotocol software that has issues.

marble cliff
#

And silabs recommends using EFR32MG24 for the multi pan

mellow geode
#

The software still has the same issues though

marble cliff
#

Home connect using EFR32MG21

mellow geode
#

Doesn't really matter for that.

marble cliff
#

This is super unfortunate

#

I'm looking for a mini PC with built in zigbee radio, but that is so hard to find

mellow geode
#

For Home Assistant's ZHA integration, the Zigbee part of Multiprotocl will look like a regular Zigbee stick mostly. That's not the issue.
The Multiprotocol software itself (addon for HA) has issues and the firmware for the dongle is different, too. It also has some issues.
AFAIK, development on Multiprotocol is somewhat frozen at the moment.

#

Currently, it's preferred to use a stick (like the SkyConnect/ZBT-1) for just Zigbee. For Thread, you can use Thread border routers you already have (newer Apple TVs, Nest Hub Max) or a separate SkyConnect/ZBT-1.

mellow geode
marble cliff
dire owl
#

Yeah SkyConnect/ZHA/Multi-pan is a bit wonky now. It's usable, but not perfect. Namely for me, I get the NCP failures, daily, but it automatically recovers so you don't really notice, except perhaps a few seconds delay for it to come back. Sometimes it does not automatically recover, and you need to reboot your host on HAOS. So, works, but but perfect 👌

simple wing
#

is there a way to disable the color function of a zigbee light that only has color temps or should that even show up?

craggy lark
#

Are there simple troubleshooting steps for ZHA documented somewhere? All my devices are suddenly (since last HA upgrade I assume) unresponsive, but everything seems to be ok when looking at the UI. Motion detectors simply do not fire, trying to repair those devices not working either.

#

I have the zzh stick, and it has been working for some years very reliably

craggy lark
#

I have the zzh stick, and it has been

iron wolf
#

Hi guys I'm wondering if there are any Temp/ Humid Sensors that are cable bound (no battery)?

nocturne geyser
#

I'm using Conbee II with ZHA
Can anyone suggest a light switch for UK? Ideally one with dimming option
1-gang, 2-gang and 3 gang
Pretty much need to re-do whole house 😢
edit: also I think no-neutral is a requirement too

iron wolf
iron wolf
sour shadow
#

The ugly Tuya does

iron wolf
rapid dawnBOT
#

@iron wolf 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
#

AliExpress, where you find most things a fraction of the Amazon price 😉

stable pond
#

I do have a bunch of aqara window/door sensors (MCCGQ11LM) and they frequently go UNAVAILABLE .
Anyone familiar with a remedy against this ?

brave nacelle
#

has anyone had issues with sonoff temp/humidity sensors? I have 3 sitting in front of me, the humidity on A) 49.3% B) 56.3% C) 62.7%

#

i could see if one of them was off by a few, but all 3 😦

sour shadow
#

Usually it's between bad router choice, and letting them pick the device to pair through

austere patio
digital tapir
#

Hello everyone,
I'm reposting here after a first message in #integrations-archived , I was told it would be more related to a mesh problem.
I have a docker installation on my unraid server (HA + Z2M + Mosquitto). I have an ConBee II connected to a 1m USB extension lead
On HA, I've added HomeKit integration to bring up the devices I've chosen. On Homekit, I created a Good Night scene that turns off all the lights. It works well, all the lights turn off correctly. Except that on HA, I sometimes have a light that's always indicated as on (when it's actually off).
And indeed, if I look at the device history, it's still on since yesterday. In HomeKit + Z2M it's also indicated as on.
Does anyone have an idea for making my installation more robust and synchronizing reality / HomeKit / HA correctly?

distant flume
simple wing
distant flume
#

ZHA, ok. You'll want to go to https://github.com/zigpy/zha-device-handlers/issues and see if there's already an issue open for your device, and if not open a "Device Support Request" issue. The issue form will provide instructions for fetching the required device signature and diagnostic information.

sour shadow
#

Hello everyone,

sacred marsh
#

Hey guys, any one got suggestions for zigbee motion detectors with a fast response to movement and clear detection quickly under 5 seconds. I brought one recently but it's set to clear detection after a min which is just too long for my needs

sour shadow
#

Sounds like you really want a combo PIR and mmWave

#

PIR is great for fast detection, and mmWave for accurate occupancy

slate glacier
#

Has anybody managed to get hardware flow control working on the sonoff sticks?

#

there is a huge github issue thread but i cannot figure out if it is actually enabled or not?

forest cobalt
slate glacier
#

i cant find it in the release notes

#

people keep mentioning that its in the release notes but i cant find anything of the sort haha

forest cobalt
#

You're right... I thought for sure I saw it in the release notes a while ago, but I can't find it either now.

slate glacier
#

apparently you still need to compile yourself

#

not worth the effort, for now

#

now to decide between zha and z2m

#

cc2652, for context

forest cobalt
finite jay
#

My IKEA E2001/E2002 button stopped working in latest version of HA. I remove it and tried to add it again but it gives me this error - Failed to configure '0x04cd15fffe73f4b1', attempt 3 (Error: Bind 0x04cd15fffe73f4b1/1 genOnOff from '0x00124b0024c8b761/1' failed (AREQ - ZDO - bindRsp after 10000ms) at Object.start (/app/node_modules/zigbee-herdsman/src/utils/waitress.ts:63:23) at /app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:691:28 at Queue.execute (/app/node_modules/zigbee-herdsman/src/utils/queue.ts:35:20) at Endpoint.bind (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:464:13) at Object.bind (/app/node_modules/zigbee-herdsman-converters/src/lib/reporting.ts:43:9) at configure (/app/node_modules/zigbee-herdsman-converters/src/lib/ikea.ts:143:17) at Object.configure (/app/node_modules/zigbee-herdsman-converters/src/index.ts:172:21) at Configure.configure (/app/lib/extension/configure.ts:121:13) at Configure.onMQTTMessage (/app/lib/extension/configure.ts:55:21) at EventEmitter.wrappedCallback (/app/lib/eventBus.ts:174:17))

mighty river
#

Hi everyone. I have been running HA with a Homeseer ZNet for a couple of years now and want to add Zigbee. I bought a Sonoff Zigbee Dongle and followed the directions on Homeseer on adding it to the ZNet but I am getting a “Failed to connect” in the ZHA integration during the configuration. Has anyone here successfully added the Sonoff Zigbee stick to the ZNet?

finite jay
sage ibex
#

I know this is a longshot, but has anyone ever flashed a Sonoff zigbee dongle with the 'router' / extender driver using an Apple silicon Mac? I've found instructions for doing so using Windows and Linux, but both are a pain in the ass for me to set up just for this, so I was hoping that the process had been improved since 2022 (when the guide I found was written) ... ?

carmine hamlet
#

I updated the firmware in my Sonoff-P dongle on my AS Mac

#

the only thing I recall having to do was install the CP2102 serial drivers

sage ibex
#

Oh cool, thanks for the quick response! That's a good lead although it does seem that flashing it with new (router) drivers may be more complicated; I'll see

carmine hamlet
#

it's the same process

#

just different firmware

#

flashing==updating

sage ibex
#

Oh huh. I wonder why people were having such trouble / going to such great lengths on the forums in 2022? Good to know, thanks.

carmine hamlet
sage ibex
#

Super helpful; thanks so much!

carmine hamlet
#

and use the dev node that it exposes, not the one that shows up without them. You'll get two dev nodes and only one will work

sage ibex
#

Thanks again! Currently installing python ...

dire crag
#

is there a way to extend zigbee up to 1000ft

sour shadow
#

Long answer - run a network cable and a second coordinator at that remote location

#

Smart answer - use a different technology, like LoRa

low gale
#

I'm trying to migrate from a conbee2 stick to a SLZB-06M POE stick. When I do the zha migration then pan id is changed - is that normal?

#

Coordinator IEEE that stayed the same after the migraiton, but the channel changed from channel 15 to 20. I can't actually control any of my devices though following the migration so I know it hasn't worked.

#

My conbee is on firmware 0x26720700 btw!

low gale
#

never mind, looks like after about 15 attempts it "just worked" :/

woeful elk
#

Well, my 'tuya' zigbee button arrived today.....

#

managed to make a quirk for it, and now a PR to add that quirk into the main zha-device-handlers github repo 🙂

#

seems to work perfectly now 🙂

#

single press / double press / long press seem to work

mellow geode
balmy fossil
#

Hi. Is there a way to wipe the Z2M configuration from the UI? Like when replacing the controller and re-pairing all the devices?

sour shadow
#

Stop Z2M and then delete the files in the (Z2M) config folder

#

Optionally just delete the database and coordinator backup

violet wave
#

I'm sniffing my zigbee traffic and it seems that most devices are in fast polling mode

#

is there a way to tell ZHA to send the stop fast poll command ?

#

or is it enabled by default to limit latency ?

#

ho I see it's part of the PollControl cluster's commands

#

so actually my devices are not in fast poll but rather in short poll mode for a long time

violet wave
#

_TZE200_hue3yfsn TRVs mostly, I see my ikea frytur blind doing the same

#

in wireshark I see "data request" packets every second for those

#

that's a lot of traffic 😦

#

actually both my ika fyrtur do that, short poll every sec while the short poll interval is set to 4 in the pollcontrol cluster

#

the TRVs don't have the PollControl cluster. those are Tuya devices

#

@austere patio aren't data_request supposed to be answered by data_confirm messages ?

sage ibex
#

Any best practices or tips for adding a smart switch as an extender / repeater? I've paired it and put it where I want it to be permanently; should I bring the devices that were having connection issues closer and/or re-pair them, or anything like that, or should I just wait for the network to (hopefully) repair itself?

austere patio
dusky flint
#

After upgrade to 2023.5.3 I get this error for a specific light. What could be causing it?

Failed to call service light/turn_on. Failed to send request: Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>

Logs, not sure how to read this:
Ljus - Motion - Antons Kontor: Choose at step 1: choice 1: Error executing script. Error for call_service at pos 1: Failed to send request: Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102> Ljus - Motion - Antons Kontor: Error executing script. Error for choose at pos 1: Failed to send request: Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102> Ljus - Motion - Antons Kontor: Already running Ljus - Motion - Antons Kontor: Choose at step 1: choice 2: Error executing script. Error for call_service at pos 1: Failed to send request: Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>

violet wave
austere patio
lofty kindle
#

Would it be better to use Z2M groups rather than HA Helper Groups for lights?

carmine hamlet
#

Yes

sour shadow
#

Sometimes anyway

#

Z2M groups result in broadcasts, which can cause problems, but may not

carmine hamlet
#

for me, anything that I need to control together gets a Zigbee group

tardy tendon
#

I am using a custom quirk to get my Aqara H1 switch working via ZHA. This works well. However I just got a second H1 and when pairing it via ZHA this new one isn’t using the quirk. Anyone know if there’s a way to force it to use the quirk?

lofty kindle
#

Okay great, I will use Zb groups from now on, I hear they communicate better than HA groups also

carmine hamlet
#

they will be faster and have less popcorning

lofty kindle
#

The only limitation I'm seeing, is not being able to nest a group inside another group?

#

Upstairs and Downstairs for example

carmine hamlet
#

yes, that's a downside

lofty kindle
#

Alrighty, guess I'll have to use HA for that for the time being

#

Thanks for your help guys

dusky flint
lofty kindle
grim igloo
lofty kindle
#

Would it be noticeable like say around 30 (growing) different zb devices, or with a much larger network?

#

I have around about 12 router devices so far

carmine hamlet
#

I have 120+ devices and I don't have any issues with it

#

try it and see if you see performance degradation

#

the instantaneous coordination between devices is worth it

lofty kindle
#

Good to know thanks, I will migrate all rooms bar one as I have a wifi switch there : ±

grim igloo
#

i have 11 zigbee bulbs in my kitchen and they all perfectly turn on with automations. i notice a difference because if i ever use siri the lights are 100% out of sync every time

#

i passthru zigbee groups to homekit but siri calls multiple zigbee groups at once causing the issue i think (3 bulbs in a zigbee group for chandelier, 7 in a group for cans, one on its own in a fixture)

lofty kindle
#

I wouldn't trust Siri for anything tbh, can't even find or pronounce my room name lol

grim igloo
#

it's an additional way to control things it's not something i use all the time

split sage
#

I've noticed using Zigbee groups in cards, it doesn't report the correct state and brightness info

#

Just off and on

#

Works fine with HA groups

bold nymph
#

Hello, I’m using some ikea rgb light bulbs, and having the issue of when turning the bulb on with a certain color, it turns on with the previous for a second then changes to the desired color.

For example it’s off and I want to turn it on as red, it turns on as white for a second then change to red. Is there a way to fix this?

There is a setting in Z2M in the exposes that says “ Execute if off:
Controls whether color and color temperature can be set while light is off”

But it only works when changing the color from Z2M but not the HA service

nocturne geyser
#

I'm using Conbee II with ZHA
Can anyone suggest a light switch for UK? Ideally one with dimming option
1-gang, 2-gang and 3 gang
Pretty much need to re-do whole house 😢
edit: also I think no-neutral is a requirement too

austere patio
distant flume
#

So, this is kind of strange, I've got an ikea bulb which supports color change commands with the "ExecuteIfOff" option bit set, but ZHA doesn't seem to be using that feature? I have to enable the "enhanced light color/temperature transition from an off-state" option to get it to turn on to a specific color, and from reading the code that seems to enable a workaround which this bulb doesn't need.

#

Hmm. looking at the code, it seems like ZHA sets the color before turning on the bulb only if the "ExecuteIfOff" bit is set in the options attribute - but doesn't indicate whether or not the feature is supported, it just contains the default options that the MoveToColor, etc. commands will use if options_mask is not set.

austere patio
#

I'll have to double check but I don't think we actually utilize the options bitmap, it's just parsed

distant flume
#

so hmm. I could probably make this work by writing 1 to the options attribute, so MoveToColor commands have the ExecuteIfOff option set by default?

#

yep, that did it.

#

so yeah, ZHA is deciding whether or not to set the color prior to turning the bulb on by checking whether the "default options" in the options attribute happens to have ExecuteIfOff set, but it could instead be using options_mask/options_override to set that option on the command unconditionally.

#

i guess i should poke through some older zigbee specs to figure out if there's a way to detect whether the ExecuteIfOff option is supported.

#

well, huh… This bulb reports the cluster revision on the color control cluster as 1, but it includes the Options attribute that was added in cluster revision 2 :(

#

I suspect that the presence of the options attribute (regardless of what bits in it are set) might be sufficient to determine whether the bulb will accept color commands with ExecuteIfOff supported in the OptionsOverride field.

#

Along with the note that the options attribute is writeable (tho with the note that it "is meant to be changed only during commissioning"). It might make sense for ZHA to set the ExecuteIfOff behaviour to be used by default.

#

checked a philips hue bulb, and it has the same thing - reports cluster revision 1, but implements the options attribute and supports changing color while off.

#

my newest ikea bulb does actually say revision 2 :)

mighty river
#

Hoping to get some assistance. My ZHA devices are refusing to install the new update, returning the error: ```Failed to call service update/install. Update was not successful: <Status.FAILURE: 1>


I am using a SONOFF Zigbee 3.0 USB Dongle Plus V2, which is attached to a USB extension (approx 10 ft away).

Looking at the visualization, I have several unhealthy links. Does anyone have any advice for optimizing and repairing this system?
mellow geode
distant flume
#

Yes, I did that on all my bulbs and it worked.

#

But ideally it shouldn't be necessary

mellow geode
#

Yeah, I wanted to write that attribute on all bulbs when pairing, but some Tuya bulbs have seem to have weird behavior when that's set, so I've opted not to default to it, yet.

distant flume
#

i was confused by the name of the execute_if_off_supported function when i was trying to figure this stuff out, tho. since it doesn't check "supported", it's actually checking whether the execute if off option is enabled by default (i.e. will be used on commands that don't override the option).

mellow geode
#

it's actually checking whether the execute if off option is enabled by default
It's checking if the options attribute includes ExecuteIfOff, hence "execute if off [commands are] supported [and can be sent now]". It doesn't have to be enabled "by default".
I do agree that the name can be somewhat confusing.

i.e. will be used on commands that don't override the option
Hmm, not sure what you mean with this?

distant flume
#

the various "move to" color commands have parameters options_mask and options_override. you can use those to override the default options in the options attribute (mask sets which ones you're overriding, override sets what they're being overridden to)

mellow geode
#

Oh, yeah. ZHA doesn't use those at all. ZHA would still need to know if the light supports it. That can only be (safely) done by writing/checking the options attribute.
I don't think the option overrides are useful for ZHA(?)

distant flume
#

probably not, really, since i think ZHA would want the "ExecuteIfOff" behaviour always.

mellow geode
#

It's still on my imaginary list to eventually improve the UX for this. I think we can default to "on" for most lights (except Tuya?)

grim igloo
#

so you could flip a switch and make everyone's life a little better except for tuya users? could we vote on that? smile

distant flume
#

but yeah, the other thing i mentioned - that the options attribute was added to ZCL in cluster revision 2, but i have a bunch of bulbs which implement it even tho they claim cluster revision 1, is kinda weird.

#

i guess the thing about setting the attribute is that it would only apply to newly added devices (and possibly also manually reconfigured ones?)

distant flume
#

interestingly, in the matter integration they don't touch the options attribute, instead they're adding optionsMask and optionsOverride on every command.

mellow geode
austere patio
mellow geode
#

The problem is that the color command needs to be sent before the "move to level with on off" command (if "execute if off" is supported, otherwise: afterwards). If we don't know what the device supports, we don't know when to send the color command.

#

Haven't looked into the Matter integration to see how they deal with this (if at all?). But they'd need to know if the device supports it, too.

distant flume
#

they can just get away with assuming every device support it, which zigbee can't do :/

balmy fossil
#

Sorry, one more question, could someone please do a sanity check of this Z2M config?
serial: port: tcp://10.10.25.102:6638 baudrate: 115200 disable_led: false adapter: zstack rtscts: false advanced: transmit_power: 20 log_level: debug

#

I replaced SNZB-06M with Zigstar UZG-01 yday, wiped the Z2M configuration, copied the config from Zigstar's config generator... and it doesnt work

#

but "telnet 10.10.25.102 6638" connects

#

[09:10:45] INFO: Starting Zigbee2MQTT... [2024-05-15 09:10:47] info: z2m: Logging to console, file (filename: log.log) [2024-05-15 09:10:47] info: z2m: Starting Zigbee2MQTT version 1.37.1 (commit #unknown) [2024-05-15 09:10:47] info: z2m: Starting zigbee-herdsman (0.46.6) [2024-05-15 09:10:47] error: z2m: Error while starting zigbee-herdsman [2024-05-15 09:10:47] error: z2m: Failed to start zigbee [2024-05-15 09:10:47] error: z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions [2024-05-15 09:10:47] error: z2m: Exiting... [2024-05-15 09:10:47] error: z2m: 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)

#

firmware seems to be OK: [10914740] | [ZBVER] Rev: 20230507 Maintrel: 1 Minorrel: 7 Majorrel: 2 Transportrev: 2 Product: 1

sour shadow
#

spawn udevadm ENOENT sounds like it's looking for a /dev/ path

#

Try changing the log to debug

balmy fossil
#

arghhhhh, i figured it out by checking the yaml

#

i pasted the output of config generator to serial: field in Z2M

#

but serial field input is already below serial: and config generator adds another one

patent umbra
#

Even if i restart HA my Zigbee AVATTO ME167 thermostats are not working. I had to manually restart the Z2M addon. Can someone help me?

mighty river
#

Hi everyone 👋🏼

#

I'm getting firmware update notification for my IKEA Rodret dimmer switches. I hit a button on the switches to wake them up and then hit install in HA. However, that always fails with error "... Update was not successful <Status.FAILURE: 1>". Any hints on this one?

#

I have to admit that I haven't had the time yet to check the logs. I wonder if I should simply turn off firmware updates alltogether. 🤔

patent umbra
#

Even if i restart HA my Zigbee AVATTO

distant flume
#

@mighty river sometimes it helps to hit the button right after instead of before; other than that, make sure it's got a fully charged battery.

mighty river
forest cobalt
#

(reading helps... lol need more coffee)

finite osprey
#

I am back 🙂 same issue, still not resolved. I have a zigbee device that has no mfg, device name, no nothing, and even the remove option is not there (no menu). I tried deleting it from device registry as I've done in the past - after disabling zha - but it actually isn't removed. When I open the registry up again, it is back. How do I enforce my edit?

woeful elk
#

@forest cobalt you'll be proud - I wrote my first quirk 😄

sturdy knoll
#

man that is going to be me soon

forest cobalt
woeful elk
#

to be honest, it was only changing the device type LOL

sturdy knoll
#

I'm proud. Seems like a daunting task

woeful elk
#

the rest worked as-is on the quirk for another device.

#

just the device type is different.

#

There's probably a better way, like maybe if the device type part of the quirk was an array or something

#

but I don't know if it can do that

sturdy knoll
#

I have 4 devices that I need to write quirks (or otherwise implement some manufacturer-specific behavior) for. But Amazon delivered the wrong product that I ordered for testing it so waiting for the test device to arrive so I can start to figure this out

woeful elk
#

if class TuyaSmartRemote004FSK(EnchantedDevice): could have something like:

                DEVICE_TYPE: [zha.DeviceType.DIMMER_SWITCH, 0x0000],
#

I dunno why my device ID is 0x0000

#

but it is

balmy fossil
#

does anyone know anything like that?

#

i know that Type F plugs should be compatible, but at the same time they are too chunky - with two completely unneeded "recesses"

bold nymph
#

There is a setting in Z2M in the exposes of the device that says “Execute if off:
Controls whether the color and color temperature can be set while light is off”

It works, but only when controlling the color from the Z2M dashboard. Meaning, that if I go to the bulb page in the Z2M dashboard, set it to white then turn it Off, I can choose the color Red (while it's Off), and when I turn it On, it turns On as Red directly.

#

But if control the bulb from HA using the "light." services it doesn't execute while it's off. for example, if it was set to White then I turned it off, then I called the service to turn it on as Red, it turns On as White then changes to Red.

mighty river
mighty river
mighty river
austere patio
#

OTA unfortunately requires nearly 100% reliable communication between the device and your coordinator, as the device drives OTA, not the coordinator

topaz seal
#

I have trouble paring my Bosch Thermostat II with ZHA currently. Are there any known issues with the current core version?

#

It always used to be hard to get this one paired with the install code, but now it is not recognized at all anymore. I tried with two different coordinators on two differen HA installations

austere patio
topaz seal
austere patio
#

Which one?

#

There are two Sonoff dongles and they use completely different chips

topaz seal
#

Should be based on a CC2652P

#

The other dongle I have is as well, so makes sense

austere patio
#

How specifically are you joining it with the install code?

topaz seal
#

With the zha permit

#

Always used to work, but even without he install code the device was at least discovered, which it isn't at all now

cosmic moss
#

Looking for some input on zigbee Switches. I seem to be between Inovelli Blues and Aqaras.

My plan is to implement them with Z2M and run them in "Detached" or "Smart Light" mode... which both of these seem to support (I bought an Aqara switch to test this and from the research ive done seems it works with Inovelli as well)

The thing pushing me towards Aqara is price, the thing pushing me away is Build quality and no "Real" support for 3 way switches

The thing pushing me to Inovelli is what looks like better build quality and support of 3 way switches pushing me away is price

Although its a $15 dollar ish price difference and im buying like 14 of them so its not too much (Aqara ~$500 and Invoelli ~$700) I am already spending way too much money on the just smart lights and smart switches so wanted to see if anyone has any input on inovelli being worth that 200 difference

forest cobalt
#

Inovellis are good. Like REALLY good... BUT... yeah, the price makes them hard to swallow sometimes. I got lucky in my house and have no 3-ways, so all of mine are Aqaras. But, if you do have to support 3-ways, there's no reason not to use both. Go with Aqaras for the places where you just need a normal switch and Inovelli for the 3-ways.

cosmic moss
#

Honestly I feel like the 200 dollars is worth it to have the whole house be the same haha

forest cobalt
#

lol that’s fair too.

formal kestrel
#

@balmy fossil How you like Zigstar UZG-01 so far? I'm considering getting it and where did you get it from I'm curious

formal kestrel
#

what light bulbs doe you have so far, guys?

forest cobalt
molten linden
#

My zigbee bulb ratings based on quality plus zigbee behavior : tier 1: hue gap 2: innr really big gap 3: ikea 4: welink/itead, geledpoto, Ledvance really big gap 5: tuya, Sengled, Osram

forest cobalt
#

Tbf, I hate my Sengled light strips. I’m slowly replacing them with the Aqara light strips.

formal kestrel
molten linden
#

they don't act as routers, they don't behave in some networks. those are my gripes.

forest cobalt
molten linden
#

I could never get them to stay on my network more than 18 hours

#

did a lot of sniffing, and am conviced it's firmware issue, that only occurs in some meshes

forest cobalt
#

That’s how my bulbs were. The light strips are marginally better.

#

Mine haven’t gotten a firmware update in a LONG time.

molten linden
#

I checked a few months back

#

there was none

#

(meaning I used the app and a proxy to look at the json).

forest cobalt
#

lol you did more than I did. I just got pissed off and ripped them all out except for these last few strips.

molten linden
#

I had customer with the issue. seems super comon if using a zstack router

formal kestrel
#

Wow

formal kestrel
#

Wait.....i was researching where to buy hues.....philips is discontinuing hues? Its what popped up in google feed

molten linden
#

they spun it out to a subsidiary? - Signify (a few years ago now) they still put Philips on the box though 🤷🏼‍♂️

formal kestrel
#

Interesting.....

#

Now im perplexed on what bulbs to get

#

Thanks for the idea now

cosmic moss
#

What is the difference between the Inovelli blue series - Smart Dimmer and the Inovelli blue series - On/Off .... like can i not have them function as on off and they are dimmer only or?

#

Like i see some adverstise it as on off or dimmer but on their website they are seperate

wicked spire
cosmic moss
#

Hahah thats what im looking at rn too!

wicked spire
#

ah lol i just noticed that!

#

I have one but i was wondering about what other people experience is with them has been

wicked spire
#

I also have one setup with non smart bulbs and it works great as a dimmer

cosmic moss
#

Yeah i plan on doing that too but i dont want the dimmer i want the on off

#

so they are different

wicked spire
#

When i got mine the on off was for sale yet so im guessing its new and is only lacking the dimmer functions

#

idk doe

#

but the zigbee2mqtt site only shows the dimmer one and the fan one.

cosmic moss
#

Yeah i think the on off are new.... but amazon has "on/off or dimmer"

#

but seems weird on off are the same price as dimmer??

wicked spire
#

If you have smart bulbs then the on off is fine, i think the dimmer all it does is change how much electricity is sent from the switch to the bulbs so you can dim regular dimmable bulbs

cosmic moss
#

Yeah but if you can put the switch in a "Smart Bulb Mode" can you put it in a "On off mode" ?

#

or a "Dimmer Mode"

wicked spire
#

yes

cosmic moss
#

Oh is it configurable in Z2M?

wicked spire
#

yeah, i was going to send you a screenshot but my home assistant update just finished so its restarting 😂

cosmic moss
#

Hahah if you could when its back up that would be dope

#

im between the aqara and the inovelli rn

balmy fossil
#

I haven’t even paired all my devices today

cosmic moss
#

Inovelli seems like the play cause of the 3 way switch for some of my situations

wicked spire
#

So is 3 way for having 3 switch 1 light or 2 switch 1 light?

cosmic moss
#

2 switch one light

wicked spire
#

Do you have neutral wires?

cosmic moss
#

But im kinda confused with them cause they have an "Aux" switch but idk what it really does

#

yea i do

wicked spire
#

Your good then

cosmic moss
#

Well i do an im redoing all the eletriucal in my house so

#

But idk how it works

#

like does it actually work like a real 3 way would,... or are the switches just talking to eachohter

wicked spire
#

I think the 3 way switch requires neutral cus i never got it to work on my setup where i only have neutral in the bathroom for some reason.

#

But yeah it works like a normal 3 way

cosmic moss
#

Cause if the switches are just talking to eachother and one is really in control then every smart switch is able to do 3 way hahah

wicked spire
#

depends on if you are using smartbulb mode or not

#

In smartbulb mode it probably just toggles the bulb, then if you are using normal bulbs it probalby works as expected

cosmic moss
#

Yeah im gonna use it in smartbulb mode but would prefer if i wanted to i could default to real switches

#

and would like the 3way to workl like normal

wicked spire
#

You cant upload screenshots on this channel

cosmic moss
#

Send PM?

rapid dawnBOT
#

@wicked spire Please use imgur or other image sharing web sites, and share the link here.

Image posting is blocked in most channels to discourage people from sharing text as images. Sharing text as images assumes that everybody sees the world as you do, which isn't the case. Some people are colour blind, or have visual impairment that means they can't make sense of an image of text.

soft plover
#

Hello, I have a problem with an Aqara H1. This is displayed to me as a light entity. I usually change this in the configurations.yaml.
It works on one switch and not on the other? Do you see an error? Or should I do it differently altogether?
Button WCOG Aqara = OK
Button STUDIO Licht = don´t show switchonly light

#
  zha:
  zigpy_config:
    ota:
      ikea_provider: true                        # Auto update Trådfri devices
      ledvance_provider: true                    # Auto update LEDVANCE/OSRAM devices
      salus_provider: true                       # Auto update SALUS/Computime devices
      inovelli_provider: true                    # Auto update INOVELLI devices
      thirdreality_provider: true                # Auto update 3REALITY devices
      #otau_directory: /config/zb_ota_auto_update  # Utilize .ota files to update everything else    
  device_config:
    ieee-54:ef:44:10:00:a1:af:ef: # Button WCOG Aqara (light to switch - format: ieee-endpointId)
      type: "switch" 
    ieee-54:ef:44:10:00:a1:ae:74: # Button STUDIO Licht (light to switch)
      type: "switch" 
  custom_quirks_path: /config/custom_zha_quirks/
mellow geode
#

The -1 at the end (or e.g. -11) for the endpoint ID seem to be missing for both. One might have a quirk which already changes the device type automatically, other one does not

#

Although I’ve only looked at the YAML on mobile (which looks horrible here). Not sure if there are other issues too

sour shadow
#

Pretty sure there's some missing indenting there

main ruin
#

the device_config entries dont seem legal to me

#

not sure if the spec says :_ or just : being enough to make this a key

sour shadow
#

Probably should be a space after ieee-54:

rapid dawnBOT
#

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

#

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

sour shadow
#

Which of the two Sonoff Dongle Plus sticks did you buy?

#

The P or the E?

#

The P is zstack, CC2652 based, and the E isn't

sweet imp
sour shadow
#

There you go

#

And you didn't tell Z2M that 😉

#

The log shows very clearly it's assuming zstack

#

The FAQ in the error message would have helped you

sweet imp
#

I come across the info that this one is flaky and at least needs some extra config

sour shadow
#

Not flaky, just needs you to follow the docs

#

Any adapter really requires a read of the docs, but the auto-detect works often enough that people tend to skip that part

sweet imp
sour shadow
#

Well, you said E, so follow the link I posted 😉

#

That tells you everything you need to know to get the dongle working with Z2M

#

There's a reason it was posted after all 😛

sweet imp
rapid dawnBOT
#

@sweet imp 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
#

Great

#

read the link

sweet imp
#

apologies, got sidetracked
I added
adapter: ember
ok, now I have "
error: z2m: Error: NCP EZSP protocol version of 8 does not match Host version 13"
does it mean I have to flash the dongle?

split sage
forest cobalt
#

Did you tune the settings on it?

split sage
#

Yeh, I increased the Large/Medium/Small detection distance zones to their max, so L: 10m, M:6m, S: 5m with 10x motion sensitivity on all, but hasn't made much difference tbh, not sure if I'm doing that right?

forest cobalt
#

Yeah, you are... probably just Tuya being Tuya. You could add a PIR sensor or just get better mmWave sensors that aren't Tuya. Some of them (like the ceiling mounted ones) seem to work ok while others just don't.

split sage
#

I wanted to replace the PIR with this, looks like I'm back to square one lol. Kitchen is fairly large ( around 24ft) so I thought it'd do the job tbh, but looks like I need both. I'm wondering if ESPresence would be an better option? I have a few esp32 devices laying around, so I could make use of them

forest cobalt
#

The higher quality mmWave sensors typically have a range of ~6m (sometimes a bit more in perfect conditions). The cheaper Tuya ones say they can hit 6m, but rarely will they hit that. Plus, the high cooldown on detection really sucks. ESPresence might be better in this situation.

split sage
#

Ah yeh, typical chinese cheap device claims. I will try ESPresence to see if it makes any difference, if not will invest a better quality Zb mmWave sensor, cheers

sweet imp
#

I understand you guys upgrade firmware of the dongles and other Zigbee devices every so often, right?

#

I am just trying to understand the maintenance part of it e.g. you configure the system and for how long can you just leave it before the next scheduled maintenance. I reckon it's monthly if you don't fiddle with it, add new devices.

forest cobalt
#

For MY use case, I don't upgrade firmware unless there is something that directly affects my devices or ccoordinator. Otherwise, I follow a strict "if it ain't broke, don't fix it" attitude.

sweet imp
#

is it advised to move the home Wifi to 5Ghz not to interfere with Zigbee?

sour shadow
#

That won't hurt, at least as long as all your kit supports it

#

Whether it'll help also depends on your neighbours 😉

forest cobalt
forest cobalt
sweet imp
#

right, ok so for 2.4Ghz fixed channels no channel on auto/channel hopping. If neighbour APs are on Auto they should move away from my fixed channels. So I pick the last for Wifi, 1st channel for Zigbee, neighbour APs would go in the middle if they are on Auto so I would have to double check their frequency

#

what is the minimum recommended distance between Zigbee dongle and AP?

forest cobalt
#

Correct... There's not much to be done with neighboring APs, however, if you have enough routers in your mesh, you can usually overcome most transient interference. And def no auto-channel hopping on your APs. Also, when choosing your Zigbee channels, depending on the gear you have, you will probably want to stick to the "common" channels (11, 15, 20, 25).

#

I don't think there is a recommended minimum distance. My coordinator is about 12 feet from the nearest AP and I don't have any issues. Obviously you don't want them sitting next to each other, but >10' seems like a good starting point.

#

BUT, and this is something a lot of people don't think about, if you can turn down the power on your APs, that helps too. Most Zigbee coordinators only broadcast at 5dbm. Having a close AP that is blasting out higher than that can cause interference as well.

sweet imp
forest cobalt
sweet imp
#

right, and moving AP to 5GHz isn't beneficial

forest cobalt
#

Well, as long as every device on your network supports that and you can actually disable the 2.4ghz radio (which a lot of consumer routers don't actually do; They just mark the SSID as hidden and leave the radio on), then sure, it'd be beneficial.

sweet imp
forest cobalt
#

Like I said, if you set your channels right and have enough routing devices, you should be fine without having to do all the extra networking work.

violet knot
#

Hi, I'm looking at the cheapest zigbee dimmer controller that either sends 0-10v or does PWM

#

This is to interface with a meanwell led driver LCM60 that accepts one of 3 options for dimming:

  • 0-10V to the dim- and dim+ pins
  • Applying additive 10V PWM signal (frequency range 100Hz ~ 3KHz)
  • Applying additive resistance:
#

I found the aqara ZNTGMK12LM but it seems that's no longer being made and the prices seem to be quite high on taobao

forest cobalt
#

IIRC, the Aqara H1 dimmer does PWM. Not 100% certain on that though.

violet knot
#

ah sorry wasn't clear, it's to put inside a ceiling light, so don't actually need controls just to expose the dimming through zigbee to home assistant, just a module

forest cobalt
violet knot
#

Thanks, yeah I'll consider it if I can't find anything

restive osprey
#

Hello, does anyone know if the Aqara Single switch module T1 (with neutral) SSM-U01 supports any meaningful sort of binding? I'd like to have one operate some Hue bulbs, and if the coordinator goes down, I still want it to work via the wall switch.

forest cobalt
#

It should support binding. Not sure what you mean by "meaningful" though.

restive osprey
forest cobalt
#

Z2M or ZHA?

restive osprey
forest cobalt
#

I can't find anything "official" in the docs about it, but technically you should be able to bind on the onOff cluster for both the relay and the bulb(s).

restive osprey
forest cobalt
sweet imp
#

Hi, do you know if https://darkxst.github.io/silabs-firmware-builder/ works in Chromium browser(it supposed to be Chrome)? I tried it on my system but after connecting to the Sonoff dongle it said:

The running firmware could not be detected.

Make sure the USB port works and if you are using a USB extension cable, make sure the cable can transfer data. Unplug the Sonoff ZBDongle-E and plug it back in to reset and try again."```
It's plugged in directly to a USB port of my computa

I pressume I need to do it on a Windows machine where I can get Chrome
#

not much in the debug log:

2024-05-16 19:02:04 emscripten zigpy.serial[42] DEBUG Opening a serial connection to '/dev/webserial' (115200 baudrate)```
austere patio
sweet imp
#

GNU+Linux

austere patio
#

What specific OS?

#

@sweet imp Let's continue the discussion here. If you want to open a thread, that would work too. Moving it to DMs hides it from other people running into the same issue.

sweet imp
#

ok, I upgraded the dongle's firmware from 6.10.3.0 to 7.3.1.0 on a Windows machine

#

it upped the protocol version from 8 to 12 but the host expects 13
error: z2m: Error: NCP EZSP protocol version of 12 does not match Host version 13

midnight mist
#

what do i need to do here?

wise cairn
#

I am trying to set up zigbe2mqtt addon in home assistant with sonoff zigbee model P dongle.

I red a lot of documentation and watched a lot of youtube videos but I don't understand the reason that it does not work..

here is the log:
[2024-05-16 22:08:17] error: zh:ezsp:ezsp: Connection attempt 1 error: Error: Failure to connect at SerialDriver.resetForReconnect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:347:19) at SerialDriver.emit (node:events:517:28) at /app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:348:22 at Queue.execute (/app/node_modules/zigbee-herdsman/src/utils/queue.ts:35:20) at SerialDriver.openSerialPort (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:108:13) at SerialDriver.connect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:63:13) at Ezsp.connect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:353:17) at Driver.startup (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/driver.ts:164:13) at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:124:29) at Zigbee.start (/app/lib/zigbee.ts:62:27)

mellow geode
#

Do you have something like adapter: ezsp or ember in your Z2M configuration.yaml?
If so, remove that. You don't want that for the -P model, only for the -E Sonoff dongle.

wise cairn
#

here is my mqtt config:
server: mqtt://localhost:1883 user: MQTT_user password: MQTT_user

#

serial:
port: >- /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_66937df64e45ed11b450d18f0a86e0b4-if00-port0

wise cairn
sour shadow
sour shadow
wise cairn
#

do I need to flash the usb stick?

sour shadow
#

Probably not

wise cairn
#

you mean that I need to add this:
serial: adapter: zstack

sour shadow
#

Well, are you using the add-on?

wise cairn
#

yes

sour shadow
#

Then you just put the second line in, along with your port line

#
adapter: zstack
port: >-
  /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_66937df64e45ed11b450d18f0a86e0b4-if00-port0
wise cairn
#

It still gives errors:

[22:14:48] INFO: Socat not enabled
[22:14:58] INFO: Starting Zigbee2MQTT...
[2024-05-16 22:15:22] info: z2m: Logging to console, file (filename: log.log)
[2024-05-16 22:15:22] info: z2m: Starting Zigbee2MQTT version 1.37.1 (commit #unknown)
[2024-05-16 22:15:22] info: z2m: Starting zigbee-herdsman (0.46.6)
[2024-05-16 22:15:24] warning: zh:ezsp: Deprecated driver 'ezsp' currently in use, 'ember' will become the officially supported EmberZNet driver in next release. If using Zigbee2MQTT see https://github.com/Koenkk/zigbee2mqtt/discussions/21462
[2024-05-16 22:15:33] error: z2m: Not connected to MQTT server!
[2024-05-16 22:15:33] error: z2m: Cannot send message: topic: 'zigbee2mqtt/bridge/state', payload: 'offline
[2024-05-16 22:15:33] info: z2m: Disconnecting from MQTT server
[2024-05-16 22:15:33] info: z2m: Stopping zigbee-herdsman...
[2024-05-16 22:15:33] error: zh controller Failed to disable join on stop: TypeError: Cannot read properties of undefined (reading 'permitJoin')
[2024-05-16 22:15:33] error: z2m: Failed to stop Zigbee2MQTT

rapid dawnBOT
#

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.

sour shadow
#

Somehow you've still got it using ezsp

wise cairn
#

I would send a screenshot but I cant send it here

#

It does not let me

rapid dawnBOT
#

Please use imgur or other image sharing web sites, and share the link here.

Image posting is blocked in most channels to discourage people from sharing text as images. Sharing text as images assumes that everybody sees the world as you do, which isn't the case. Some people are colour blind, or have visual impairment that means they can't make sense of an image of text.

wise cairn
#

Any idea on what I could do?

sour shadow
#

I've seen others report this problem, they were editing the wrong file

wise cairn
#

this is my Zigbee2MQTT entire YAML:

> 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://localhost:1883
>   user: MQTT_user
>   password: MQTT_user
> serial:
>   adapter: zstack
>   port: >-
>     /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_66937df64e45ed11b450d18f0a86e0b4-if00-port0
sour shadow
#

Code format please

#

Make sure you're making all changes in the Z2M add-on UI too

wise cairn
#

I use only the web UI

sour shadow
#

Back ticks - use #botspam to test, and remember you can edit your post above

#

Rather than re-posting walls of text 😉

wise cairn
sour shadow
#

No files, just use the pretty add-on UI

midnight mist
forest cobalt
#

Why did you break it? Try removing the stick and plugging it back in again.

carmine hamlet
pine eagle
#

Hello everyone. I have a problem with the Zigbee integration. I restarted my NAS, and now I no longer have access to my Zigbee devices. Reconfiguration is not working. I am using an extension cable. Can you help me?

sour shadow
#

ZHA or Zigbee2MQTT?

pine eagle
#

ZHA

sour shadow
fierce parcel
#

I trying to understand past conversation. It look like using group use more brandwith

#

I m not sure if it's something worth to explore

forest cobalt
sour shadow
#

Broadcasts can cause problems on some meshes, but it's a case of try them and see

fierce parcel
#

so what is the value to use z2m groupe ?

sour shadow
#

All devices are controlled as one

fierce parcel
#

My dial switch is very slow when I try to dim 20 lamp in once, I thought using z2m group can improve it

sour shadow
#

It can improve that

#

Or it may make things a lot worse

wise cairn
#

Wait. Do I need to remove ZHA to use zigbee2mqtt?

fierce parcel
sour shadow
forest cobalt
#

So, helper groups are kinda the same, but not. It still sends out 20 commands.

sour shadow
#

With a Zigbee group only one command is sent