#zigbee-archived

1 messages · Page 64 of 1

molten talon
#

All depends on spectrum usage, there is no 1 answer. I used an app to figure out which WiFi channels were in use around my house

#

Then chose a zigbee channel with least amount of overlap

meager kestrel
#

They do now. Seems like after months of no communication they’ve released SM323v2 which has basic energy monitoring too. Z2M doesn’t have that but yet but I’m trying to figure out how.

leaden spear
#

Interesting. Out of curiosity, why is this?

leaden spear
#

ouch.

sour shadow
#

Many people don't have problems, but maybe you'll get the faulty NVRAM causing the stick to stop working, and maybe you'll get hit by the silent lockup bug

#

Maybe you'll get both 😄

leaden spear
#

sounds like a lottery! None of those two here. yet.

sour shadow
#

The lockup bug is more likely with more devices, and more commands being sent to devices

raw lynx
carmine hamlet
#

2.4Ghz is not the answer for wide channels and high bandwidth 🙂

raw lynx
austere patio
#

Be aware that Zigbee and WiFi channel numbers don't correspond (i.e. Zigbee 11 and WiFi 11 are completely different channels): https://img.community.ui.com/5f743aa0-9c43-44fb-8889-afd9eccba833/comments/d1ae2c9e-9162-47e2-abcc-12e54862b200/82ccb020-c270-45fc-995c-f837ada4f9c3

Move your WiFi networks onto channels 1, 6, or 11 and then pick the quietest Zigbee channel. It will be one of 15, 20, or 25. ZHA automatically does this when you form a new network, or if you manually change the channel and pick auto.

steel siren
#

My experience is that the Sonoff 3.0 dongle is the most consistently reliable one so YMMV!

finite mantle
#

anyone can recommend good wall switches and fan dimmers from a same company and on budget side

rapid dawnBOT
#

@finite mantle Looking for advice about a device to buy? Remember to provide guidance on:

  • Which country you're in
  • What your budget is
  • What protocols you prefer (eg Zigbee, WiFi, Z-Wave)
  • Any features you want (such as power monitoring, dimming, etc)
coarse radish
#

Hieee and good morning all , need some help with mqtt

#

and zigbee

rapid dawnBOT
#

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

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

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

Hello guys, I have a quick question regarding the "lqi" entities on HA, I'm using Z2M at the moment but I still expose all the lqi entities to HA in order to monitor them with ease on my dashboard but I was thinking that maybe disabling them will somehow decrease the traffic on my network?

Am I wrong?

sour shadow
#

You're wrong 😉

#

All that info is still transferred over Zigbee, Z2M knows nothing about what you did do the HA entities

clever cedar
#

So even disabling entities the info will be transferred over zigbee, got it. Just thinking out loud as I'm cursed with concrete walls. Thanks!

#

for now just 6/58 Devices I have are below 50 lqi

sour shadow
#

5 of my 90 are below 50, one sits around 10 most of the time, sometimes low single digits

junior heart
#

Is it normal to have to restart Z2M after restarting HA

carmine hamlet
#

nope

clever cedar
#

I like to use Z2M as a separated container because of this

sour shadow
#

There's known issues with the version of Mosquitto in the Mosquitto add-on that may cause this

carmine hamlet
#

boo. Run your own containers, control your own destiny!

#

throw off the yoke of oppression!

#

free the Springfield two!

midnight hull
#

Hi all. Is it normal that end device isn't visible although it's 3 meters far from the router and only thing separating them is window? If I bring the ED inside (just move 15 cm closer) it is visible

austere patio
#

Is it joined to your network already and you move it around, or do you mean that you cannot join it? If you're using ZHA, can you upload diagnostics JSON for the integration and post a link?

night bough
#

Hi If an ikea styrbar connected via zigbee2mqtt with homeassistant discovery, but I only see a device related to the battery e.g sensor.ikeadimmer_battery and no action

#

so I can't selected in the stybar blueprint

#

I must miss something stupid

#

I do have two automations working using the on and off buttons

formal pasture
#

Hi. Having a zha issue here, would love any tips: a chunk of my zigbee network has diseappared for a few days now, surviving reboots, etc. It is a certain area of the house, so I assumed it was a path failure, but now I don't think so. I checked the visualization, and it still thinks those devices have multiple distinct paths, including directly from the coordinator, even though it sees them as offline. I also added in a new zigbee router right in the gap between the coordinator and the disconnected portion. It added fine and can be controlled, but the visualization (refreshed) shows that device with no links, even though it functions. It seems like something else is going on. Any suggestions? Happy to log things, etc. if it would help debug. Thanks!

mellow geode
#

Ignore visualization. It's not live and if parts of your network are offline, "lines" might not disappear for those.

#

With which devices do you have issues? End-devices or routers? Is your stick on an extension cable to reduce interference?

formal pasture
#

Having trouble with both; at least two routers (mains light switches, also the closest devices to the coordinator/rest of network), as well as some sensors, a lock, etc. that go through those. Probably a couple things I'm forgetting. And it's everything in that area.

#

And stick is on an extension. (Well, sort of; it's on an unpowered hub on a cable.) But it's been stable for years, and there are a good number of routers so the mesh is pretty robust.

#

I was thinking that if reception was the issue, the router I added should fix it. Is there anything I should do to make the missing nodes pick up the new, closer router? Though it would surprise me if after years of working the reception to both routers (very close to each other) would fail simultaneously.

#

Just did a quick check: there's a third router (outlet switch) and a few more sensors (temp/humidity, door open).

#

BTW, reconfiguring the new router I added (it's a plug-in outlet) fails. But it still appears to operate fine.

compact oak
#

hi

rapid dawnBOT
#

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

compact oak
#

I encountered this error when installing Mqtt for zigbee

formal pasture
#

I guess technically I cut the plug-in outlet's power too.

mellow geode
#

Huh, what manufacturer/model are they?

formal pasture
#

Jasco 43090.

#

(aka Embrighten, etc.)

#

They've actually been solid until this; I had the equivalent z-wave switches in there previously and the reception was unreliable/borderline even with roughly the same distance to a node in the main area. A couple of years ago I dropped these in as replacements and this has been the first hiccup.

compact oak
#

can anyone help me with the setup of the zigbee 3.0 usb dongle plus efr32mg21? Or link me a video or guide. thanks

sour shadow
#

For ZHA, or Zigbee2MQTT?

#

Mostly it's plug it in (to a USB extension cable) and follow the docs

sour shadow
#

So, you probably want to use ZHA

rapid dawnBOT
sour shadow
#

Plug the stick in, to a USB extension cable, and it should be auto-detected in the integrations menu

compact oak
#

OK now I'll try. One question: how come you can't connect directly? Thanks

sour shadow
#

Check the pinned messages, they explain that (and more)

rapid reef
#

Is anywhere a good ressource to make quirks?

I have a Paulmann smart switch with zigbee. I paired it with ZHA and i see in the logs the button press, but there is no entity for any of the dimmer functions or on off functions.

So i figured i probably need something people call quirks, but i haven't found a good ressource to read up on it and how to make one for a zigbee device. Can someone link a ressource so i can read up on it and learn it?

rapid reef
# sour shadow <https://www.home-assistant.io/integrations/zha#how-to-add-support-for-new-and-u...

i found this ticket/s which exactly have my problem and seem to have solved it.
https://github.com/zigpy/zha-device-handlers/issues/2662
But i do not really understand the ticket of what has been done or what i shall do from the ticket to solve it. I see that my zigbee device is also
"Paulmann Licht GmbH" and 501.34
Where as the integration that is linked has a different string "Paulmann LichtGmbH"
Does that cause the issue or is all of that just in implementation stage and future zha updates will receive it, or how do i read the situation correctly

sour shadow
#

Well... I don't use ZHA, but that was closed 47 minutes ago

#

47 minutes ago

#

There's not a snowballs chance in hell that's been merged into any version of HA yet 😉

#

Of course, if your device doesn't match that quirk then clearly the quirk won't apply to it

rapid reef
#

i mean i see that someone commented it in the ticket that the listed device name is ambigious, with the correct name that i see also with mine.

Stupido question from my part, how long does the merge back to release cycle usually take in HA?

sour shadow
#

Well, step #1 is a release of zigpy... however long that takes

#

Then it needs to be added to the next HA beta

#

So, if zigpy drop a release right now then the earliest it'd be included would be 2023.11

rapid reef
#

would that be part of a zha update or would that be os part or core part?

sour shadow
#

Core

#

ZHA is part of Core after all

rapid reef
#

ah understood

#

thanks for your explanation

sour shadow
#

You'll probably have to run with a local, modified version, of that quirk until it's part of HA

rapid reef
#

I mean i freshly bought my apartment and making smart, i can do other things in the evenings than do wiring of switches and what not at least for the coming weeks 😄 so i can sit it atleast a bit out. Other renovations need to be done as well

#

eitherway thanks for your explanations

keen merlin
rapid reef
astral seal
#

Seems that paulmann dimmer is a known working device, there's just a bug due to an extra space in the device name.

#

There's a quirk it's just not uh, quirking.

keen merlin
rapid reef
keen merlin
#

In the HASS documentation are known working devices of all types, brands and prices

rapid reef
rapid reef
# keen merlin https://www.home-assistant.io/integrations/

No offense but that is integrations. How do i know which zigbee device falls under it, because my TRV is zigbee and the readouts work fine but the controling from HASS does not work. So just going by "zigbee" obviously didnt work for me

austere patio
#

@rapid reef Is your coordinator on a USB extension cable and away from SSDs and USB 3.0 ports?

keen merlin
rapid reef
mellow geode
#

Until then, you could use a slightly modified file as a custom quirk

rapid reef
mellow geode
#

The original file is "baked in", but not the modified one which was merged an hour ago

mellow geode
rapid reef
sour shadow
#

For Z2M, sure, but not for ZHA

keen merlin
sour shadow
#

That's got nothing to do with ZHA

keen merlin
sour shadow
#

Well, that guide isn't official, it's built by a few other users, so while probably a device there that's said to work on ZHA will work, not being there tells you nothing (and it's been wrong before about devices being supported)

keen merlin
sour shadow
#

Z2M manages it 😛

#

(and yes, devices have turned up on that site based purely on somebody thinking it'll work, not having tested it)

keen merlin
#

OK .. then what do you suggest as source for known HA compatible devices? Ouija board?

sour shadow
#

For ZHA... ask here

#

That also means you don't buy supported but junk (Tuya, many Sonoff, etc)

rapid reef
#

Sonoff is junk? i mean the sonoff zigbee stick is literally listed as the suggested zigbee stick for HA under zigbee integrations D:

sour shadow
#

Some of it, yes

#

The Sonoff P stick has known hardware issues, the E is fine

keen merlin
sour shadow
#

Many of their sensors are problematic, and their mains devices can be really bad routers

rapid reef
#

i mean Occam isnt wrong. I mean i love that you all reply to me so much in depth right now, but i tried to ask for help 2 other times here and once it wasnt reacted to at all and other time the person that replied was dismissive and not really helped me and told me what i was doing wrong.

grim igloo
#

in general it's best to just avoid sonoff across the board tho

keen merlin
# sour shadow Some of it, yes

And... I've heard exactly the opposite on the channel. Sorry about the pings ... I keep forgetting . Can is set it off by default?

sour shadow
#

Sadly no, blame the Discord devs

rapid dawnBOT
#

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
#

However, shift+click works

grim igloo
#

easier to just not reply to people imo. depending on the amount of people talking it's pretty easy to follow along without the reply arrows or w/e

keen merlin
winged coyote
#

Hey all, I'm having a few issues with my Zigbee devices where some seem to not respond, and I often have to push a button 4-5 times to get every device to, for example, turn off correctly. Some quick details

  • I'm using Z2MQTT, a deConz USB stick (connected via a USB extender, a little over a meter from my server/AP)
  • I have 21 Zigbee devices currently. Most are Hue light bulbs, as well as 2 hue wall switches, and a door sensor.
  • My entire apartment is only 650sqft, so it's a very small area

Problem I'm having is I'll push the "Off" button on the Hue Switch, which is set to turn off every light in my kitchen and living room. But almost every time 1-2 bulbs stay on, and I need to keep pushing the button over and over until they all turn off.

Any idea in what I can do to troubleshoot?

sour shadow
#

Did you pick the Zigbee channel when you set Z2M up?

#

Did you check for WiFi on the channel Z2M is using (see the pins)

winged coyote
#

So Zigbee is set to channel 11. I couldn't for the life of me figure out how to set the wifi channel though, I'll look through the pins

sour shadow
#

Channel 11 is almost always a bad choice

winged coyote
#

Sweet, I'm gonna try repairing htem on channel 25, thanks!

keen merlin
# winged coyote Hey all, I'm having a few issues with my Zigbee devices where some seem to not r...

If you live in an apartment it's likely you're surrounded by a storm of Wi-Fi from neighbors, and may not be able to find a Zigbee channel that's not being interfered with. You should consider trying Z-Wave devices as they operate in the 800-900 MHz range where there is not as much RF traffic. You can get free download of a Wi-Fi scanner for your phone that will give you an idea of how many APs are near you and what the Wi-Fi channel load looks like.

tired crescent
#

Changed batteries in a couple of Develco SMSZB-120 (Smoke detector) - now z2m says "Interview failed"? I've tried "re-interviewing" while sporatically pushing the button on the back to "keep it awake", didnt help..

midnight hull
coarse nymph
# sour shadow Channel 11 is almost always a bad choice

Sigh. I recently rebuilt my whole zigbee network (~150 devices) to move away from channel 15 and switch to Z2M. I thought I had correctly set up the conf to use 25 but only realized later that it somehow picked 11 instead (and was yelling that the conf didn't match). So now I'm on 11. It's better than 15. But I know in my heart of hearts I gotta move to 25 to get things to great. I'm not looking forward to the migration though lol

grim igloo
#

did you do an energy scan to see what your lowest inteference channel option is?

#

zha should've already taken one and used that channel tho..

austere patio
sour shadow
#

And buy a better coordinator

silent anchor
#

Yeah I figured that, sadly I'm lacking the skills to do it myself.
But I'm happy to test once it makes progress, so hit me up if I can help with testing the thing.

winged coyote
# winged coyote Hey all, I'm having a few issues with my Zigbee devices where some seem to not r...

OK so an update on this. I just repaired everything to channel 25, and I'm still having the same issue 😦

I have an automation on this Hue switch to turn on the kitchen/lving room when I push the on button, and turn off everything when I push the off button.

  • The On button seems to pretty reliably turn on everything except for one Hue bloom
  • The off button turns off everything but 1 or 2 bulbs, though the exact bulbs it doesn't turn off varies
winged coyote
mellow geode
#

If you have many lights, you can also try to create a light group from within Z2M. It's different than from creating a light group inside HA, because a "Zigbee light group" only sends the on/off commands once to the network. All lights get it (which can cause issues on its own). Those which are part of the group it's addressed to then execute it, others ignore it. This might work better for you.

winged coyote
#

Oh nice, OK thanks! Maybe I'll just get a new coordinator then, might save me trouble in the long run

#

Appreciate the help

golden pecan
#

If i have a zigbee device, data is correct, but it says unk_model / unk_manufacturer, how do i supply this info?

mellow geode
#

It shouldn't say that. Pairing probably didn't complete. Can you remove the device and try again?

keen merlin
mellow geode
#

I’d try to re-pair that device. I’ve never seen a device that doesn’t support those attributes

keen merlin
#

That's what I thought so I paired it multiple times and it reported that the interview was complete. Its using an older cc2531 chip (I looked up the device info on the FCC site) but it has strong reliable signal it reports in about every 0.9 degree F delta. It has 1800 mAh rechargeable battery. It will be interesting to see how long the battery lasts. So far it looks like nice device. Too bad it isn't sold as Zigbee device for general use.

keen merlin
# winged coyote I actually recently swapped to Unifi (just trying to learn it all) so I can chec...

I live in neighborhood with lots that average 10,000 square feet and this below is what the 2.4Ghz looks like. So unless you live in an area with real large lots or your neighbors are technical Neanderthals, your low power Zigbee devices will always be fighting for 2.54 GHz breathing space. Note also that most modern Wi-Fi routers change channels automatically looking for the channel with the least traffic. So a less used channel and one point in time will be used at another time. Use Zigbee 25 for best results.

https://i.imgur.com/tRioGIY.jpg

By comparison this is what the background noise for Z-Wave looks like at 908 MHz (US Z-Wave freq.)
2023-11-02T00:08:19.798Z DRIVER « [RES] [GetBackgroundRSSI]
channel 0: -113 dBm
channel 1: -110 dBm
channel 2: -110 dBm

dire hedge
#

They spelled success wrong

leaden yarrow
#

So. Who has a good recommendation for a Zigbee light switch that still has the little knob? Embrighten used to have a stand alone switch but they don't sell them anymore.

|-

astral seal
sweet rampart
#

Does anyone know how to add a new button in ZHA so that I can use short press and long press trigger conditions

#

After adding this button in my hand, there are no triggering conditions for short press and long press

outer carbon
#

Hi guys,

I just recieved Moes ZHT-006 (GB 16A) thermostat and when I paired it with ZHA, it doesnt have any controls in HA. It supported by ZHA according to compatibility page. Did anyone here had this problem?

Thanks for any help

violet dagger
#

what's the vendor id?

azure sonnet
#

is it possible to change quirks on zigbee devices?

#

they all report >100% battery

#

because they use zhaquirks.ikea.blinds.IkeaTradfriRollerBlinds instead of zhaquirks.ikea.blinds.IkeaTradfriRollerBlinds2

strong mason
#

So for anyone else in 220v land wanting smart wall switches... After about 2 months my Aqara E1 just died out of the blue. I'm going to do an autopsy to see what caused it.

#

seems like there's a real lack of 220v smart light switches, everything over here is usually smart bulbs or behind-switch relays.

azure sonnet
#

so i'd like to change which quirk they use, but i can't find where to do so, anyone know?

shy summit
#

My Aqara sensor are loosing their connection really often. Is there something I can do to improve connection stability.

outer carbon
violet dagger
#

considering noone posted before you for 3 hours, yes

outer carbon
violet dagger
#

your vendor id is no the same as the one thats officially supported

azure sonnet
#

@violet dagger you seem to know your stuff, how are quirks selected?

#

does it change or is it chosen when the device is paired and then never reconsidered?

#

looking at it again, I see that on the last line, for the second version it still pulls in the "replacement" configuration for the initial version, so it'd behave the same wouldn't it?

violet dagger
#

if something doesn't work as expected re-pairing is the way

azure sonnet
#

the battery percentage is double what it should be

#

modelid is a string?

outer carbon
violet dagger
#

your choice

azure sonnet
violet dagger
#

then file a bug report

azure sonnet
#

it was probably right on an earlier firmware version, but not anymore

#

that says to remove the device, wait a while, then re-add it

outer carbon
hot fable
#

holy crap guys i just got my first zigbee stuff set up and holy crap it's fast

#

it's my first physical (not in wall shelly) smart device and i am impressed!

mellow geode
# azure sonnet which contains this line: https://github.com/zigpy/zha-device-handlers/blob/mast...

We‘re aware. There should also be an issue on the zha-device-handlers repo for this.
I think deCONZ (and Z2M?) just removed doubling completely regardless of firmware version, but that’s not ideal, as not everyone updates their devices.
We can’t yet match quirks per version though.

Since the batter voltage should be reported the same between versions, I thought about just mapping that to the percentage. We‘d have to find out how exactly the IKEA devices map that to percentage though.
Not sure if that’s the best approach.

azure sonnet
#

I don't know much about zigbee devices, but in most other systems batteries often report their own max values, but I guess zigbee is too lightweight to be able to do that

#

For what it's worth, I have a two button remote from ikea which behaves in a similar manner

#

I.e. Battery is shown as > 100%

#

But I don't really care about those, don't really use them

finite mantle
#

any zigbee touch control switches?

azure sonnet
#

Only have them configured because they came with the blinds hehe

azure sonnet
#

I get that there isn't a convenient master server for firmware one can just pull from for any given device, but that it's only a handful of vendors it's even possible to get ZHA to automate it for was a surprise

mellow geode
#

For others, just download the OTA files from zigbee-ota repo for example and put them in your configured ota folder.

#

And some point in the future, this should be improved though

azure sonnet
#

can I just clone that repo to the right place and periodically update it? 😛

molten linden
#

I think you are better off pulling the index and creating a script to pull things in as some URLs go right to manufacturers like hue

finite mantle
#

touch zigbee wall switches ?

olive stag
#

Hey all,
I'm just looking for some cheap zigbee sensors to add to my dashboard 🙂
When I look for Zigbee temperature sensors i find the Tuya sensors on aliexpress.
Are those any good?
I'd like to place about 4-5

#

same for the Tuya door sensors.

sour shadow
#

Xiaomi Aqara are good, and reasonably priced

drifting flare
grim igloo
coarse citrus
#

I would recommend the Aqara ones. I have quite a few various things and they all work very well …

olive stag
#

Haha, message recieved: tuya is garbage 🙂

#

rather spend 2-3x more if it works.

coarse citrus
#

Anyone know if it’s possible to set the ‘music’ modes on the Aqara T1 Light Strip via Z2M?

grim igloo
#

Inovelli blue or bust

finite mantle
sour shadow
finite mantle
coarse citrus
finite mantle
#

are you using some smart wall switches

coarse citrus
small finch
#

Anyone having an idea why i have issues with a develco energy meter? i installed new batteries to it and after that under exposes in z2m Energy says Null kWh.

#

Zigbee2MQTT:info 2023-11-02 16:48:05: MQTT publish: topic 'zigbee2mqtt/0x0015bc001b0216a0', payload '{"battery_low":false,"check_meter":false,"current_summation":null,"energy":null,"interface_mode":"electricity","linkquality":100,"power":1026,"pulse_configuration":1000}'

hot fable
#

Hey guys, I was just wondering what battery powered zigbee temperature sensors do people recommend?

green mirage
#

Hi all - I'm new to HA and having issues configuring an Aqara P1 motion sensor - it alls works fine with ZHA but I can't change the sensitiity (low/medium/high) or more importantly the interval (currently set on default of 30 secs). Every time I try (via the panel and/or script) I get the following 'Failed to call service number/set_value. Failed to send request: Request failed after 5 attempts: <Status. MAC_NO_ACK: 233> Am I doing something wrong or is it a problem?

hot fable
drifting flare
green mirage
hot fable
green mirage
drifting flare
#

They have likely worked hard to keep the radio device sleeping, to increase the battery life.

tropic depot
green mirage
#

Thanks for that - I've rechecked and there certainly doesn't seem to be an option for poll control/clustering (that I can find easily) on these sensors - I suspect as busywait said they've done everything they can to extend battery life (and based on that I've turned the sensor light off too now - which also required multiple presses of the button : )

midnight hull
#

You're using Home Assistant 2022.9.7

zenith mist
#

I use ZHA and apparently it's on channel 25, while I'm sure I left it at 15 when I set it up, or am I just looking in a different setting for ZHA? For example I also see the PAN IDs and Coordinator IEEE

austere patio
#

ZHA dynamically picks the network's channel when you first set it up. The channel shown in the configuration page is correct.

zenith mist
#

Okay, so that issue is out of the way, since I moved my WiFi channel to 1 now. I guess the next part is getting an extension USB cable and use USB2.0 port. Should the cable be USB2.0 too?

austere patio
#

It doesn't really matter, just as long as you use a USB extension cable

zenith mist
#

Okay, hopefully my problem "Failed to send request: Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>" will go away afterwards.

zenith mist
#

Well, even with an extension cable I still get these error, anything else I can check?

austere patio
#

Can you download diagnostics for the ZHA integration and upload the JSON somewhere?

rapid dawnBOT
#

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.

zenith mist
austere patio
#

This is for a specific device. Could you also include the diagnostics for the whole integration?

zenith mist
#

First time doing that.

austere patio
#

Ah, you are using multi-PAN with I assume a SkyConnect. What coordinator did you migrate from?

zenith mist
#

Nope, I'm using the Sonoff Dongle-E

austere patio
#

Which coordinator did you migrate from? Or did you set your network up entirely with multi-PAN?

zenith mist
#

There was the option to enable Thread to if I remember correctly. I set it up like that, no migration.

austere patio
#

That would be available only for the SkyConnect, for the -E dongle you would need to manually install and configure the addons and firmware. I would migrate away from multi-PAN and first see if the issue is present with the normal Zigbee firmware.

zenith mist
#

Hmm, right now I remember. I flashed the E-dongle with the, I guess Multi-Pan. In case I use Thread in the future.

austere patio
#

After you do migrate back to Zigbee firmware, can you regenerate and upload the same diagnostics?

zenith mist
#

Sure, but that will be tomorrow. Kinda late for that here now. I guess I have to reconnect all devices after that?

finite mantle
austere patio
coarse citrus
finite mantle
#

and what about sonoff its wifi one's or zigbed

coarse citrus
spiral lagoon
#

Having problem getting my Zigbee-sensor to be accessible in Dashboard. I can see it in Zigbee2MQTT, but it says "unavailable" in entities. Someone that can help me?

sour shadow
#

Does the device show available in the Z2M dashboard?

spiral lagoon
#

It looks like that

sour shadow
#

Look at the main view

spiral lagoon
sour shadow
#

255 is bad

spiral lagoon
#

Oh!

#

I didnt know that at all

sour shadow
#

You'll probably want to enable availability

#

255 is, in theory, a perfect signal, but often means no idea

spiral lagoon
#

It says that for all my units now. I had to recover my HA OS installation. And now that's what it shows on all entities

sour shadow
#

That suggests nothing has talked to Z2M

spiral lagoon
#

That¨'s strange...

coarse citrus
# finite mantle you using tuya devices locally or on cloud

Of all the 38 Zigbee devices I have, there is only one I regret buying (Aqara cube remote, too fiddly to use). Two ikea bulbs also frustrated me for a while, I had set them to transition on over a couple of seconds, but they don’t switch on until at 30% brightness, so it appeared there was a delay in them coming on. Took me a while to realise what was happening…

spiral lagoon
#

I've just re-added the sensor.

sour shadow
spiral lagoon
#

Thank you, i'll look into it!

spiral lagoon
#

2023-11-02 21:42:36.700 ERROR (Thread-2 (_thread_main)) [homeassistant.components.mqtt.client] Unable to connect to the MQTT broker: Connection Refused: not authorised.
2023-11-02 21:42:36.701 WARNING (Thread-2 (_thread_main)) [homeassistant.components.mqtt.client] Disconnected from MQTT server core-mosquitto:1883 (5)

#

Found that in the logs

sour shadow
#

There you go, that's not helping you

spiral lagoon
#

@sour shadow It says I need to add "availability: true" to my configuration.yaml - but there must be something im missing? Can't add that only, wont work.

sour shadow
#

Why?

#

Why won't that work?

spiral lagoon
#

I got an error while doing so when i checked my config.

sour shadow
#

Well... that's because you failed the first test

#

Knowing that Z2M's docs refer to Z2M's configuration files, not HA's

spiral lagoon
#

Yeah, figured! 🙂 I'ma check the authorisation info, see what's happened.

sour shadow
#

Then you need to un-fuck your broker

spiral lagoon
#

haha, yeah

timber hollow
#

Hi, is it possible to use bosch smart home relais as zigbee repeater?

spiral lagoon
#

@sour shadow - Got it resolved - thank you!

#

Reason was simply that i had changed password and username since i restored the installation.,

sour shadow
unborn dragon
#

Hi. I have the Candeo Smart dimmer (https://www.zigbee2mqtt.io/devices/HK-DIM-A.html), and Z2M has informed me about firmware updates.

I updated one of my dimmers, which worked, but removed the device from the network afterwards. I just re-paired the device to my network and it's all good again. Nothing in the firmware version sections had changed afterwards, but it did get rid of the annoying update available message in HA.

I then proceeded to try the update on another. The same thing happened where the device was removed from the network at the end. This time though, I'm not able to re-pair the device back onto the network, even after factory resets of the dimmer. I am able to pair other devices however, so I think the update has broken the dimmer.

Is there anything else I can try to get it to work?

hot fable
#

hey guys, i've heard about groups in HA and zigbee groups - is there much of a difference between them? i want to have a door sensor on the garage door and another one on the garage->house door, and an automation to turn on the garage light when either door is opened

i was thinking of making a group in HA for the garage door sensors but is making a zigbee group better? if so, why?

mellow geode
#

Zigbee groups are for controlling a group of Zigbee devices. Those two door sensors send messages to HA, so you can't really put them in a Zigbee group.
Just create a HA group for that purpose (or use multiple triggers in the automation).

hot fable
#

ah perfect, that's easy enough then! thanks!

dire hedge
#

I was listening to the Self Hosted podcast, an episode from late 2022, and the host kept saying Zigbee was a part of Matter. Is there anything to that?

mellow geode
#

Kind of. The Matter standard is somewhat based on the Zigbee Cluster Library (ZCL). So, which commands and attributes there are and so on

astral seal
#

Ok so I bought this Visonic MCT-427 smoke detector off eBay to mess around with. It pairs with ZHA , but all I have is unk_model unk_manufacturer, no entities, only exposes the "basic" cluster. Anyone know anything I can do to get the device to work? I suppose there's probably a chance it uses Zigbee in some proprietary way.

solar dawn
#

Can Anyone recommend a more consistent setup for ZIGBEE2MQTT - HA? I have a few AQARA sensors - motion / door-contact sensors and they seem to be more asleep - than working. It takes about 4-5x to trigger it to actually turn on the lights. I also have a sonoff ZB-dongle-E (should I get a -P instead?)

mellow geode
hot fable
#

hey guys, i've just got my first zigbee devices and have set them up in zha but in the visualisation tab, even though they're connected and working, there's no lines between them and any routes/coordinators - is there a way to fix that?

mellow geode
#

It’s not live, wait some hours or refresh the visualization manually using the button and check back some minutes later

hot fable
#

ah easy, i can wait until it updates then! thanks!

#

also, what's the number in the line connecting devices? between two devices there's a number of 153, whereas another two devices is 173/142?

ember raven
#

I'm running into problems with one of my Zigbee TRVs. It just suddenly started, not sure when. CAN be when I updated to 2023.11 but I don't think so. Before I remove and re-add the device, any troubleshooting someone can suggest here?

#
Publish 'set' 'occupied_heating_setpoint' to 'Small Study Radiator' failed: 'Error: Write 0x54ef4410006fdbae/1 hvacThermostat({"occupiedHeatingSetpoint":1500}, {"sendWhen":"immediate","timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (no response received (44))'
#

I have another TRV (same one) and that one works fine.

mellow geode
ember raven
#

Oh and in Z2M I can see the state changes that I do on the TRV, so it seems it's only commands from Z2M TO the TRV that doesn't work

junior dust
#

Hi, I think about moving all hue devices from philips hue bridge to zha since I already have a conbee stick installed and dont like to have another device (bridge). I already added a switch and a bulb from one room for testing. What makes me wondering: Do I really need to add an automation, for every button, every room and every switch ect.? For example hue dimming switch (4 buttons) I need to create an automation for:
-switch on
-switch off
-brightness up
-brightness down
-ect.
This would end up in tons of automations for a whole house. So I wanted to know, if there is an easier way to controll the lights?

mellow geode
#

You can use trigger ids, so put all four triggers in one automation and assign each of them a trigger. Then, use a choose for checking the trigger id in the automation part

#

Or just use a blueprint if you find one

sour shadow
#

Or write your own blueprint

junior dust
#

blueprint sounds interessting, I will look into it. thank you very much 🙂

rapid dawnBOT
#

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

ember raven
#

Since I can't seem to troubleshoot why my TRV isn't receiving any messages, I want to remove and add it again. It's in z2m. If I rename it exactly the same as before after force removing it, all automations, etc. should work the same right? Or will HA give it a new (eg _02) name?

wheat umbra
#

hey guys! Which zigbee modules do you recommend for light switch? Variably in Europe.
I'm checking out Aqara SSM-U01 as per @sour shadow recommendation, but would like to see other options. Also would these allow to dim the lights, or does that need to be a different module? Does it have mesh?

sour shadow
#

You want dimmers then, not switches

#

And what does have mesh mean?

wheat umbra
#

Do dimmers work with normal lightbubs?
I've read zigbee all work in a mesh network, but not all zigbee work as a "repeater" or support this

sour shadow
#

Well, if the bulbs can be dimmed, yes

#

Depends on what you mean by "normal"

#

Old school incandescent then yes, those can be dimmed. CFL mostly no. LEDs vary widely. Smart bulbs not at all (other than by using the smart features)

#

As for routers (what "repeaters" are called) then any mains powered device s a outer other than two-wire switches/dimmers, Sengled bulbs, and most things USB powered

finite osprey
#

Can anyone tell me why I am getting hundreds of Zigbee errors related to the same type of device (Samjin plug in outlet - from SmartThings days): https://pastebin.com/TAjSzpSQ

#

lol, and the list goes on... errors reporting "Watchdog check failed" - Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/zigpy_znp/api.py", line 1028, in request response = await response_future

#

Can the coordinator's firmware be at fault? I am testing one of Koen's latest releases 0923

austere patio
stray jewel
#

I might miss something obvious (voltage for one) but I'm trying to find alternatives for my IKEA zigbee 5 button remotes (might even be with less options) but I'd love to have something that doesn't eat batteries for breakfast.. ideally something that can be charged via for example usb-c. Does anyone know if there are any?

finite osprey
austere patio
#

No, the integration doesn't start until it can connect. If you get those errors then it started, was running, and then the coordinator disconnected at runtime and cannot reconnect

finite mantle
finite osprey
finite mantle
#

zigbee wall switches or wifi wall switches which are better

zenith mist
# zenith mist Sure, but that will be tomorrow. Kinda late for that here now. I guess I have to...

So I reflashed the device but I cannot connect it to ZHA anymore, it always said "failed connection". Tried another firmware still the same error.
I flashed it with the pip universal-silabs-flasher since the webflasher never could connect to the dongle for some reason.
Also the window after migrating the radio just disappeared, so I guess I can't swap over my devices anymore if I ever get the stick working again.
Any ideas here?

austere patio
#

Did you also uninstall the multiprotocol addon? It will keep trying to communicate with the radio the moment you plug it back in, which will prevent ZHA from communicating with the stick

#

You can always re-run the migration by clicking the same migration button but instead clicking "re-configure current radio", since you have just one, even if the integration fails to load

zenith mist
austere patio
zenith mist
#

And do I need another add-on for Zigbee only or does this work natively? I can't seem to find one in the add-on store.

austere patio
#

No, you only need an addon for multiprotocol

zenith mist
#

Got it, will try now.

#

Which firmware is recommended though? The original one or the one from darkxst which gets updated?

austere patio
#

The most recent one is fine, I don't think Sonoff has released any firmwares beyond the one that shipped with the stick

drifting flare
#

Can Z2M (or ZHA) expose to Home Assistant the Zigbee router device name that an end-device is currently using, so that I could add a history-graph in an HA dashboard to track roaming?

mellow geode
#

Unlikely. ZHA/Z2M also have to ask/poll the routers for the connected devices.

drifting flare
#

Thx. Oh well. I only have Z2M running at the moment, and when I build the network map I see some debug logging, but I can't even see the router-end-device relationship logged in that :/

austere patio
#

It's in the network map so you should be able to scrape the data...somehow

drifting flare
#

Ah, yes, there is a big block of data dumped at log level INFO

#

Info 2023-11-03 17:21:44MQTT publish: topic 'zigbee2mqtt/bridge/response/networkmap'
...
I "just" want to see the last router that my end device was using before it disappeared 😅 (or, have that info available if a device does disappear)

dire owl
#

Hey puddly, any updates on this beta multi-pan firmware?

austere patio
#

We're working with Silicon Labs to fix these bugs

#

It will take at least a few months, however, because only they can fix some of them

dire owl
#

Okay I'll be patient 😁

#

I hope...lol

austere patio
#

You still have to write a tutorial for how you manage to get the firmware to crash so much. It would help me a lot 😄

dire owl
#

You let me know what you need.

#

Maybe it's the thread part

austere patio
#

It is. I sent you a DM, it may be easier to discuss there!

dire owl
#

When it does happen most of the times it recovers by itself but it's those times where it doesn't recover and I have to unplug the USB and plug it back in

#

I feel 4.3.0 was more stable than 4.3.1

austere patio
#

I'm trying to reproduce the one where you have to unplug it and plug it back in to fix the problem, as that indicates that the firmware has completely frozen. If you can send me what devices you have on your network (Zigbee and Thread), I can try to reproduce your environment.

dire owl
#

Sure would you like me just to list them off I have about 41 ZHA devices and 5 thread devices, or would some diagnostic file have this information for you?

grim igloo
#

can i get a handwritten copy in cursive

austere patio
dire owl
#

OK that's easy

#

All nanoleaf

#

3 A19 bulbs

#

2 essentials strip led

austere patio
#

Ah, Nanoleaf again

dire owl
#

7 thread border routers (all on same network): 5 Googles, 1 skyconnect, 1 NL shapes border router

#

I thought you were going to say that lol

molten linden
#

I just listed CC2652 P7 based PoE coordinators in the store.. you can ask @grim igloo and @half cradle who have been testing/using them for the last few months (Thank You). I haven't heard from them in awhile 😂 so figured it was good to finally list as I have way to many of these modules on hand to keep through the end of the year 😬 If you have a 2022 or 2023 p2 and want to update I hope to get a listing for that up soon!

grim igloo
#

i told you i'd let you know if i ran into an issue again and it never happened 😛

#

smooth sailing so far

molten linden
#

my understanding is Koenkk is using a P7 (from Beagle) for his main network. so 🤷🏼‍♂️

#

I think the larger ram and memory helps with the Table Full errors happening in 20230507 for a lot of people with P2s

grim igloo
#

yeah i'm still on 0507

half cradle
#

It works awesome. Only issue I ever had was related to my wireless subwoofer 😄

zenith mist
austere patio
#

Can you post the entire flashing debug log? If you/some other process interrupted the firmware update and your stick doesn't have valid firmware, you may need to manually enter the bootloader. Change flash to flash --sonoff-reset and see what happens.

zenith mist
#

That looks better, now it detects the bootloader version, which it didn't before.

#

Also every time the flashing gets stuck at 100%. I also waited some minutes for one flashing but still nothing happened.

#

Am I safe to Ctrl+C or unplug?

zenith mist
#

Still got the same problem with some thermostats that no commands can be sent to them. Will reconfigure them tomorrow and see if that might help. Otherwise that purchase was a bad one I guess.

austere patio
zenith mist
#

Okay, with extension cable I checked the two diag logs, one was with 49% and the last one was with 6%. Still the same problem. I can control some, and some not.

austere patio
#

Do what you can do get it down as low as possible and let ZHA run for a while. It collects failure reasons as it runs so in the next diagnostic file, you can see how many requests failed due to noise (PHY_CCA_FAIL_COUNT)

zenith mist
#

Alright, thank you so much thus far. Will just let it run for now, maybe re add some thermostats, which aren't working right now.

vital ermine
#

I could have sworn i saw the noise-stats of each zigbee channel in the json file made by ZHA backup function. Now its gone?

grim igloo
#

oh backup function thought you meant the diagnostics file

vital ermine
#

ahhhhh!

#

then its diag then

#

haha. thx!

vital ermine
#

firefox just opens a new blank tab with no info... Android doesnt work as well

#

(when downloading ZHA diagnostics)

#

it used to work with firefox. Its all i ever use

austere patio
#

No issues here on FF119

vital ermine
#

so i saved the link with rightclick. Gives me a html page.

#

opening that in text editor: 401: Unauthorized

austere patio
#

It's not a webpage you can download, it's done with JS

#

Make sure you have no addons that could interfere. I only ever test it on Firefox and have never had a single issue.

vital ermine
#

i should be served a file i know, but it opens a blank firefox tab

vital ermine
#

its logging an error. Ill pastbin it

#

ill PM it

bold parrot
#

Why custom quirks considered as not optimal and as could break at any time?
I just tried first custom quirk from jacekk015 repo for Moes TS0601 by _TZE200_aoclfnxz thermostat. And it's like day and night. Using built in quirks I was unable to adjust temperature calibration, can write, but when reading it reads none. Custom quirk added slider in device settings for that. And add a big bonus it set a correct time on all of my thermostats 🙂

burnt stratus
#

hi guys, is there anyone here that could help me out? Im trying to install zigbee2mqtt and follow along the guides step by step.... Aaand now something's wrong 😄 when I try to open it in my browser it doesn't load at all, despite the container being up

burnt stratus
#

So I've figured out it doesn't like something about the yaml file's user/password line, but for the life of me I can't figure out how it's supposed to look like

ashen bluff
burnt stratus
#

So that works! Thank you for the help btw, I'm bookmarking that yaml validator (didn't know it was a thing!)

#

Now I just need to figure out why the web UI isn't loading 😄

austere patio
eager bluff
#

Hi ! I'm trying to make some changes to monitor apparent Volt-Amps power (S=U*I) with a template to compare with my electrical provider meter values.
I use ZHA with a Sonoff Z Dongle (SoC EFR32MG21) and many plugs (TS011F by _TZ3000_ynmowqk2, Lidl Silvercrest HG08673-FR) which report datas: rms voltage (V), rms current (A), consumption (kWh), active power (W), but no power factor nor reactive power. All values are correct except for RMS current. The plugs have theses 3 ID's about it on 0x0b04 endpoint: 0x0508" for rms_current, 0x0603 for ac_current_divisor, 0x0602 for ac_current_multiplier.

I should have for this example value 20 on 0x0508, 1000 on 0x0603, 1 on 0x0602. So 20/1000 = 0.02 A. But the RMS current Entity shows 0.0 A. Changing the precision doesn't help (shows 0.00, 0.000, etc...). Seems to be rounded to 1 decimal.

How can i get the most accurate value with 2 decimals? Should I create a custom quirk (if so, how) ?
Other question for other needs, is there a way to set a custom value refresh rate (currently 30sec, i'd like to set critical devices to 5 or 10) ?
Which TRV valves with PID do you recommend ?

Thanks for reading and for the help !

wraith talon
#

So I have a sensor that's connected in Home Assistant, using ZHA, but it's... not part of the network?

#

Like, it's in the network topology, but not connected to anything?

astral seal
#

Yeah that happens. If it works don't worry about it.

wraith talon
#

Seems connected now

#

Question. So I have a dryer I'd like to text me when it's done

#

Using the Aqari vibration sensor

#

Which sort of works if I fiddle with sensitivity and positioning

#

Automation works

#

But it does this thing where it drops out of the network randomly until you press the button on it again

#

I thought I heard somewhere about changing the delay between reads to something higher than 60 seconds fixes that and causes it to not sleep like that

#

But I don't know how to do that

#

All docs I can find for the delay are for other things like zigbee2mqtt, which is a whole different thing

#

If I can change the delay and get it to not drop off the network like that, we'll be in business

#

Option 2 is: Does anyone have recommendations for a sensor I can hook up that does a better job than this?

#

Cause in theory, a vibration sensor is what I need, but their vibration sensor, sensitivity-wise, seems a bit fiddly

#

I just haven't been able to find a decent alternative

bold parrot
vocal lynx
#

I have (after moving my HA instance from a Raspi 3 to 4 and from a deconz to a Sonoff stick) the problem that it switches off all Zigbee devices briefly when I reboot the system. All sockets, for example, are switched off briefly - which was not the case before and is of course not nice. Is there a solution for this?

vale remnant
#

Does anyone have any tips for connecting the HA SkyConnect to Home Assistant more reliably? I'm using a docker for home assistant and have the --device=/dev/ttyUSB0 command to pass through SkyConnect, and it works but then randomly drops off and stops connecting and doesn't come back unless I restart the whole server, just to confirm yes I am using the USB extension that comes with the device! 🙂
I'm getting the following in the logs when it stops connecting:

serial.serialutil.SerialException: [Errno 6] could not open port /dev/ttyUSB0: [Errno 6] No such device or address: '/dev/ttyUSB0'
2023-11-04 21:09:27.294 DEBUG (bellows.thread_0) [zigpy.serial] Opening a serial connection to '/dev/ttyUSB0' (115200 baudrate)
2023-11-04 21:09:27.298 WARNING (MainThread) [bellows.zigbee.application] ControllerApplication reset unsuccessful: SerialException(6, "could not open port /dev/ttyUSB0: 
glossy pulsar
#

If i move all files from my HA Container over to a new machine, will that migrate the zigbee connections too?

ashen bluff
#

If you use the integrated backup and also use the same coordinator it should

glossy pulsar
ashen bluff
#

If you do it properly (permissions, hidden folder/files) the effect is the same

cold obsidian
#

is there a way to manually send an request do z2mqt in any way.
Try to test sending a value to : number.wohnzimmer_heizung_current_heating_setpoint_auto

ashen bluff
rapid dawnBOT
cold obsidian
#

ah, great, thx

#

I wonder about following....
The GUI of Zigbee2mqtt shows that there is a current_heating_setpoint parameter, but the entity isn't shown anywhere in HA to access it

#

is there an easy way to add this parameter ?

vocal lynx
#

Zigbee devices are switching off during reboot

visual spear
#

Hey guys i'm having a bit of an issue with the Zigbee integration after restarting. I just did a full reboot of the whole system and for some reason the integration fails to start. The logs said something like this https://hax.1337.sx/A1XVFxf8ci.png but I've got no idea what that means. I'm running everything in a docker container with this as my docker-compose file

version: '3'
services:
  homeassistant:
    container_name: homeassistant
    image: "ghcr.io/home-assistant/home-assistant:stable"
    volumes:
      - /home/hax/docker-config/homeassistant:/config
      - /etc/localtime:/etc/localtime:ro
      - /run/dbus:/run/dbus:ro
    restart: unless-stopped
    privileged: true
    network_mode: host
#

Oh this server doesn't allow embeds for images

#

Its somewhat strange because last time this happened I managed to fix it by just restarting HA and switching the port the Zigbee dongle was connected to

silent field
#

hi it is normal that zeegbee plug 230V transmit message to HA only when tuya app is open on phone ?

#

i can not read f.e. in HA info about power and other parms.

#

its only wokrs only when tuya app is opened on phone... 😦

visual spear
visual spear
#

Alright I've managed to fix it by just unplugging the RFlink module next to it.

topaz seal
#

Can you not use the Bosch Thermostats that require the install code using ZHA?

topaz seal
#

Ah got it. Pretty complicated with the zha.permit

#

God, the Bosch Thermostat 2 is pretty basic given the price tag

#

Seems like there really isn't the perfect thermostat out there. Either the hardware is great and it is closed-off non-Zigbee stuff like Tado or you get cheap Tuyas or expensive Boschs that are not better than the cheap Tuyas 😕

violet dagger
#

HA is your thermostat

topaz seal
#

@tropic depot We need to cook!

#

Actually I would rather work on some signal processing algorithms now. This home automation stuff is curse and blessing at the same time!

burnt stratus
#

This is a bit of a noobie question, but I couldn't figure it out by myself. I have some zigbee light switches and some zigbee buttons. Initially, I was planning to create scenes and automations in node red (using zigbee2mqtt) for them. However, it occurred to me that this would mean that the zigbee devices aren't actually talking to each other, but to HA. Is that kind of setup possible? Like, make a zigbee device remember that "x button press" -> "send x command to a specific zigbee device"?

#

I guess, I'm asking because I don't want to spend a few hours setting everything up in node-red and then figure out there's a better way of doing it 😅

austere patio
#

Only in a very rudimentary way. If the device sends an "on" command on button press, you can bind it to another device or to a group that will receive the "on" command. But you lose the ability to make the automations smart (e.g. time of day changes how things work) or work in instances where two devices can't directly communicate (e.g. button turns on heat).

burnt stratus
#

But you lose the ability to make the automations smart

Is it possible to have a combination of the two? Like for example, have the basic "light switch turns on light" stuff that way, and add more complex logic (like, "motion sensor + timer -> if I've been out of the room for more than 10 mins then turn off the lights") via node red?

#

Also, where would I even go about setting this "simple" zigbee to zigbee logic? (It's enough if you just tell me what to google to find it 😅 I've been poking around in HA but haven't really found such an option...for reference I'm using zigbee2mqtt to connect my devices)

mellow geode
burnt stratus
#

Thank you, that helps! Tbh I'll probably just end up doing everything in Node red anyways, but it's good to know what options I have 😅

wraith talon
astral seal
wraith talon
astral seal
hard swift
#

23-11-05 18:08:15 WARNING (MainThread) [supervisor.addons.options] Unknown option 'base_topic' for Zigbee2MQTT (45df7312_zigbee2mqtt)

#

I got this error.

#

Can someone guide me to fix this error.Thank you very much.

#

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:
base_topic: zigbee2mqtt
user: mqtt-user
password: "127621129"
server: mqtt://core-mosquitto:1883
serial:
port: /dev/ttyUSB0

This is Option in zb2mqtt

#

Can I remove the line base_topic: zigbee2mqtt

rapid dawnBOT
#

@hard swift To format your text as code, enter three backticks on the first line, press Shift+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
#

That is valid, but it's also the default so you don't have to set it. I'd also check if that's a known problem/feature with the add-on

hard swift
sour shadow
#

Yes

odd mango
#

hi. How do I migrate from zha to z2m, preserving all the entities?

#

and history

sour shadow
#

Carefully

#

(and mostly you can't)

#
  1. Make a note of every entity_id (you can't do this for devices)
  2. When you re-pair everything to Z2M rename the entities, where they exist, to match with the old one
tiny mauve
#

I'm trying to determine a good way to get near real time positional tracking to help "smarten" a ceiling mounted tilt/rotate TV mount. The mount lifts the TV parallel with the ceiling and lowers it to around a 70 degree angle off the ceiling. It can rotate in a 180 degree arc. Ideally I'd like to know when it's raised, when it's not raised, and when down, what direction it is facing. (Knowing whether it is facing one of the two extremes is fine 0 degrees or 180 degrees)

#

I tried an aqara vibration sensor, but the tilt tracking seems to be pretty much crap

#

I also tried to get the facing direction using a couple of zigbee contact sensors, but they also weren't very reliable. I could replace those with 345mhz door sensors, which have been very reliable for me but was wondering what other options might be out there

proper sequoia
#

I was referred over here by #hardware-archived: I recently received my SkyConnect batch 7 from AmeriDroid and it seems to be identifying itself as a generic CP2102N serial device. Flashing updated firmware and setting up Zigbee works fine, but I'm missing out on the easy integrations and HA management features of it being a SkyConnect device. Any hints on how to get the device to correctly identify itself as a SkyConnect_v1.0?

patent iron
violet dagger
#

yes if you don't have one already

patent iron
#

okay thats perfect

sour shadow
#

Every mesh needs a coordinator (see the pinned messages) - no coordinator, no mesh

patent iron
#

okay will look pretty new to setting up this stuff

austere river
#

Just to make sure my reading comprehension is intact .. When I upgrade/switch to the HA Yellow, I will be able to directly connect zigbee devices to it using the built-in radio without another hub, right? Trying to get everything planned out before I spend any money lol

grim igloo
austere river
#

In general, or specifically for zigbee connections?

sour shadow
#

in general

austere river
#

Hm okay, I will look into it. Like just running linux on a purpose-built machine and installing HA?

sour shadow
#

The Pi is a pretty low spec platform, and it's easy to out-grow it

sour shadow
#

You can also run HAOS on a PC

glass kite
#

hi everyone. what's the difference between the Z2M Configuration tab in the addon, and the /config/zigbee2mqtt/configuration.yaml? As they are not the same. And I'm confused when to use one or the other.

sour shadow
#

Use the add-on UI to manage it

glass kite
#

that's the thing. I want to transform a switch to a light, and I was required to use /config/zigbee2mqtt/devices.yaml

#

my change in the addon UI did not do the transformation from switch to light.

sour shadow
#

Z2M has to restart for YAML changes to take effect

glass kite
#

I restarted Z2M, did not work. I even restarted the RPI4 as well.

sour shadow
#

(plus some files may be re-written on shutdown of Z2M)

glass kite
#

the thing is, what's in the UI config, it's not the same in the /config/zigbee2mqtt/configuration.yaml

#

they look like 2 different files, and I've no idea where the UI config is even stored.

sour shadow
#

The add-on does odd stuff, it makes no sense to me

topaz seal
#

One question regarding zigpy and zha-device-handlers: Afaik you need the quirks if a device does not follow the official Zigbee specifaction, which is the case a lot of Tuya and Xiaomi devices obviously. I have a Bosch Thermostat 2 here though and many endpoints are not recognized by ZHA. There is the thermostat, but many more things are missing: Most importantly the local temperature calibration and the temperature unit (metric/imperial) settings. Bosch seems to follow the Zigbee specification though. I have looked it up.

So why are these endpoints not recognized by ZHA? They shouldn't require a quirk, should they?

#

I would write a quirk if that is necessary, but I first want to make sure that I am on the right track

sick osprey
#

i have hama thermostats connected via z2m to HA, in z2m i can set these thermostats to "auto" mode, is there a way to change the way these thermostats act in auto mode or even see what the automode does and when? or is that "hardcoded" into the thermostat or only accessable via the original app? guess some other thermostats have the same mode

sudden yarrow
#

Many

mellow geode
#

not measured, but they're way better than some Gledopto Pro controllers

hard swift
solar dawn
#

has anyone here being able to change their MQTT broker from MOSQUITTO to EMQX?

carmine hamlet
#

I wasn't able to get zigbee2mqtt to work when I did

#

I gave up and went back

solar dawn
#

good thing i backed up my HA before I did anything - it was stressful!

topaz seal
jaunty olive
#

@austere patio

@mellow geode

As discussed some days ago, the zigbee light of one my neighbors is back in my Zigbee/Zha network.
Yesterday I was also able to control the light.

What is the best way to "tell" the light, to leave my zigbee network? Just deleting the light doesn't seems to help.

If it's helpful, this is the light model "OSRAM Surface Light W �C LIGHTIFY"

sick osprey
simple ore
jaunty olive
simple ore
#

ah, ok then

finite mantle
#

any zigbee wall switches like aqara

frigid mica
#

Didn’t you just ask this?

sour shadow
#

More than once

#

And on multiple servers too

frigid mica
cerulean abyss
sudden yarrow
#

The most Aqara-like switch would be one by Aqara

violet dagger
#

which Aqara switch!?

sudden yarrow
#

The most switchy one shksKluk

violet dagger
#

noone switches like Aqara switchies

#

there isn't really, especially not for zigbee devices

#

you have thermostat devices for that

keen merlin
#

Any body try using a Nyce NCZ-3010 Zigbee door hinge sensor?

vital ermine
#

I have stick with CC2652P2 chipset. Is that enough to find a suitable firmware? Or do I need more info like brand etc

molten linden
#

that's going he be he LaunchPad variant of the Z-stack fw.

#

the Z-Stack Firmware repo has a chart which breaks down which firmware for which devices. it has a number of devices listed

vital ermine
#

That's a golden answer 😊

molten linden
#

unless you want potential issues, stick to 20221226 not the latest release

vital ermine
#

Thx!!!

grim igloo
molten linden
#

on the P7, still lot of people with issues with other coords with lower ram.

grim igloo
#

oh

zenith mist
#

What's best practice when rolling back a custom quirk to original ZHA? Remove and Add the device?

molten linden
#

remove and restart HA

zenith mist
#

Remove the quirk or the device?

molten linden
#

custom quirk

#

some devices may need to be re-paired but just try the quirk removal and restart first.

zenith mist
#

Okay, because I feared that the temperature offset would still be counted from the custom quirk on top of the native one.

runic dagger
#

I have a skyconnect that I'm (finally) setting up. I run HA core. I see the device as a USB device in the OS, but it is not detected in HA. Any tips?

sour shadow
#

So you've got pip install for HA?

#

This is a Linux box? Running what Linux?

runic dagger
#

yes and yes, ubuntu 23.04

#
[759919.590250] cp210x ttyUSB0: cp210x converter now disconnected from ttyUSB0
[759919.600532] cp210x 1-1.5:1.0: device disconnected
[759923.140483] usb 1-1.5: new full-speed USB device number 8 using ehci-pci
[759923.250845] usb 1-1.5: New USB device found, idVendor=10c4, idProduct=ea60, bcdDevice= 1.00
[759923.250851] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[759923.250854] usb 1-1.5: Product: SkyConnect v1.0
[759923.250855] usb 1-1.5: Manufacturer: Nabu Casa
[759923.250857] usb 1-1.5: SerialNumber: e0917b89c15aed1193d3ed165820eef3
[759923.251289] cp210x 1-1.5:1.0: cp210x converter detected```
molten talon
#

Anyone know why PowerConfiguration would fail on ZHA? Can't find much about it, it's an IKEA lightbulb. Logs don't mention it

sour shadow
runic dagger
#

like /dev/ttyUSB0? no

sour shadow
#

Well, that's not the question

#

But that's also a bad sign

#

Look where I asked 😉

runic dagger
#

understand ... /dev/serial doesn't exist

ashen bluff
sour shadow
#

That systemd bug should have been fixed by now though

runic dagger
#
╰─○ ls -l /dev/serial  
ls: cannot access '/dev/serial': No such file or directory
ls -l /dev/tty* 
crw-rw-rw- 1 root root 5, 0 Nov  6 17:04 /dev/tty
lrwxrwxrwx 1 root root    8 Nov  6 17:01 /dev/tty1 -> lxc/tty1
lrwxrwxrwx 1 root root    8 Nov  6 17:01 /dev/tty2 -> lxc/tty2
ashen bluff
#

lxc
Is this inside a container?

runic dagger
#

yes, lxc with the USB device passed through

ashen bluff
#

That would have been crucial information

sour shadow
#

That detail matters 😉

runic dagger
#

oops 🙂

#

In the past, passing USB devices through has been pretty staight foward - you just pass the USB device

ashen bluff
ashen bluff
runic dagger
#

thanks, reading now

#

lxc conf for SkyConnect

fathom flame
#

Hey! Probably an over-asked question but what could be the cause of ZIgbee devices dropping to unavailable quite frequently?

#

It's usually my passive devices (temp sensors, door sensors, etc), and usually about one every couple of days goes unavailable, then I have to go and remove and re-insert its' batteries

sour shadow
#

Interference and/or battery problems

wanton wraith
#

if I have a hue hub connected to HA is it easy or even possible to link non hue or even non lightbulb zigbee products to HA through that hub?

simple ore
#

How long does OTA takes for ikea shortcut button?

drifting flare
#

Zigbee is much lower data rate than wifi, and the devices are slow.

simple ore
#

When I used Trådfri directly I did not bothered so will not now.

#

Anyway so far going back to Trådfri hub is my backup plan.

molten linden
#

You can try and keep it awake to have it go faster….. at the cost of battery

#

These are sleepy end devices which is part of why it takes so long

drifting flare
#

For IKEA stuff it's probaby safe to set HA/Z2M to automatic updates, and walk away

drifting flare
ember raven
#

For that button, my experience tells me you need to keep clicking the button every minute or so, until it's done. At least that's what I remember from the last time I tried it.

drifting flare
abstract spruce
#

Hi everyone, i have some doubts about the zigbee protocol.
I know that alexa can control local devices using zigbee such as philips hue, for this reason there exists an integration that emulates the hue in the network and lets alexa control entities locally. But how does this work? zigbee doesn't operate over wifi, and my x86 pc where i installed HAOS surelly doesn't have a zigbee module.
Is there some balck magic thing i don't know or did i misunderstood the setup?

sour shadow
#

Well, how did you connect those Zigbee devices? Hue hub?

#

Alexa talks to whatever it is that manages those Zigbee devices, it doesn't need to know anything about how they're connected, just that the Hub has X lights with features Y and Z, W switches, etc. Same goes for Home Assistant when it comes to the Hue hub

abstract spruce
#

well i don't acutally own any zigbee devices, i was talking about the home assistant integration emulated_hue.
So you are telling that emulated_hue doesn't emulate acual devices, but rather emulates the central hub and alexa communicates localy with the emulated hub?

#

i thought that alexa acted as a hub and communicated with the devices which were emulated by emulated_hue

#

yea now it makes sense if it's an emulated hub it talks to alexa via http locally sure

sour shadow
#

Emulated hue is just a bit of software lying to Alexa

abstract spruce
#

yea sure, i thought it lied to alexa acting as a zigbee device, not as a hub for zigbee devices

astral seal
#

Yeah it's the second thing. No Hue or Zigbee is necessarily involved. It's basically a way to link devices to Alexa or Google Assistant without having to make any other major configuration changes or set up https or whatever.

vital ermine
#

i have a gui10 spot right inbetween 3 others. 3 meter outs i have even more zigbee-routers, So that part is a tight mesh. Still this spot fails me. Even swapped it with a fresh one. same issues. I thought it was Ikea which failed me, but its the actual location

What could be the issue? electrical interference?

#

its causing to chain-fail a script sometimes and its annoying AF

sleek merlin
#

Hey all, I'm using z2m on homeassistant OS on a pi. I have 2 am43 zigbee shade controllers from Didoya (ali express, I think it's just another one of those generic retailers like moes). Anyway, they usually work fine, but randomly will not work and not be able to connect and I'll have no idea why. Usually unpluging them and taking the battery out works, but sometimes it doesn't. Has anyone dealt iwth anythign similar and have a soultion? THe answer can even be "that product is terrible, get this one"

keen merlin
#

Is there a way to determine if any of my in-range neighbors have Zigbee or Z-Wave devices running... A sniffer add-on?

ashen bluff
austere patio
left magnet
#

hello! I am in the proces of recreating a zigbee setup after migrating from deconz to ZHA. I have issues with two ikea trädfri on/off buttons. they were found by ZHA, but when I try to bind them with a bulb, the green check that confirms binding is active stays only for a few seconds and then disappear. I thought I might remove the buttons from the list of integrated devices before readding them, but could not figure out how to do it

left magnet
#

I am probably too stupid but I cannot figure out how to remove a device inZHA. Edit. I figured out. I removed the light and button, added them again, no success 😦

knotty flint
#

Has anyone set up a ZY-M100 presence sensor in ZHA? I am trying to do so. It's online but has no entities I can interact with at the moment.

#

Not even the occupancy sensor that I want.

drifting flare
#

Never done it myself, but I bookmarked the link becuse it looked interesting 🙂

hollow cove
#

Hello
I have installed a RaspBee 2 on my rasberry pi 4 and i want to update the firmware over home assistant
does anyone know how to to this?
or other question
i have nous A1Z Sockets and i want to add them to Hoime Assistant but i dont know how to add them.

sour shadow
hollow cove
#

yea how to get them in paring mode is simple
but idk how to add them in home assistant
like what add on or idk should i use?

rapid dawnBOT
#
The topic of this channel is:

Zigbee :bee: - please remember to mention whether you're using zha (https://www.home-assistant.io/integrations/zha), zigbee2mqtt (https://www.zigbee2mqtt.io), or deCONZ (https://www.home-assistant.io/integrations/deconz). If you're using some hub, we probably can't help you though - try the #integrations-archived channel instead.

Looking for devices? See https://zigbee.blakadder.com/ and https://www.zigbee2mqtt.io/information/supported_devices.html.

Wanting advice about what stick? Look in the pinned messages. Just don't buy anything CC2530 or CC2531 based.

sour shadow
#

As covered by the topic you'd pick from ZHA or Zigbee2MQTT

#

Probably you want ZHA

hollow cove
#

yea i already tried that
when i set it up
i use the /dev/ttyAMA0 - ttyAMA0 path
and then idk what to choose

sour shadow
#

What do you mean?

left magnet
#

Well. Still fighting with my transfer from deconz to ZHA with raspbee II . I probably did not chose the best way. I simply diasbled deconz and then installed ZHA. Now I realized that the devices that were "transfered" were marked as attached to both. So I started to factory-reset them one by one and add them again to ZHA. Seems to work fine BUT, seems the raspbee is also Registered in both: when I select devices /raspbee II / device info , I see both deconz and ZHA. I am not super keen of removing the raspbee device the same way I removed the rest... but maybe I should do it ?

hollow cove
#

I cant explain it that good
my Home Assistant is on German and i cant put it into english sadly

#

i click on Zigbee Home Automation
and then i get a window that said something about serial Port
I chose /dev/ttyAMA0 - ttyAMA0
and then there are 4 more options

sour shadow
real lagoon
#

rummaging through my parts bin and came across a XB24CZ7 (Xbee) module. I seem to recall it working as a coordinator with ZHA, but does anyone know if there's a way to utilize it as a Zigbee router device, or should I just chuck it back in the bin for another purpose?

dire owl
#

Is this the same under the hood as the SkyConnect

#

SiLabs EFR32MG21 micro controller

#

Nice it has BLE built-in for thread commissioning

dire owl
#

So it does use the same radio as the skyconnect

bitter kayak
#

Hi i am trying to write my first Zigbee2Mqtt device integration. The device i have already exists and works with z2m, but is missing the thermostat function.
When adding my own external converter file its seems like it defaults to the one already exisiting in github..

How can i force it to use my own external file so that i can test the driver before committing the code to github??

I have added the external converter in z2m configuration tab
advanced:
log_level: debug
external_converters:

  • testNamron.js

and made the file testNamron.js
where i have the old driver , and just added a TEST in the vendor name to see if it worked. vendor: 'NamronTEST',

Thank you

sour shadow
rapid dawnBOT
#

@bitter kayak To format your text as code, enter three backticks on the first line, press Shift+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
bitter kayak
#

i googled zigbee2mqtt discord but could find. could you point me?

sour shadow
#

Then select Support

bitter kayak
#

Thanks tinkerer

sour shadow
#

Any time you want help with some software, start with their doc pages - not Google 😉

shut maple
#

Is there any good way to turn traditional wall switches into "smart" ones, but in a way that they do not turn off the power for the bulbs (because the lamp itself has zigbee color bulbs)? It looks like zigbee relays will switch power to the lamp off… which would then make them offline.

real lagoon
#

I think the new Hue switches do exactly what you're looking for. It connects inline and handles the switching while keeping the line powered. Only drawback is if you ever put a less smart bulb in the lamp, it will always be on until you disable the switch.

left magnet
#

Did anybody around at least once managed to bind an ikea tradfri on/off button with any other zigbee device, using ZHA and a raspbee II ?

drifting flare
#

Now I have everything set up I find that I use HA automations much more than binding anyway

shut maple
#

I think the new Hue switches do exactly

night spindle
#

https://bread.s-ul.eu/90oJ7EP8.png I'm setting up zigbee2mqtt (with mosquitto broker) on my HAOS install, but I can't seem to figure out what people mean by these these commands/messages? I've googled a bit but I can't figure out where in the UI you input them

sour shadow
#

You don't - you use an MQTT client like MQTT Explorer

#

You could also use HA's MQTT publish service, but frankly it's easier to simply use Z2M's UI

night spindle
#

Yeah I saw someone using another kind of mqtt client so that confirms my suspicions that I was doing something wrong. Thank you for the help

sour shadow
#

I almost never use MQTT for controlling Z2M, the exception being when a particular feature isn't exposed in the UI (like calibrating the E1 TRV)

drifting flare
night spindle
#

I have two philips hue lights (https://www.zigbee2mqtt.io/devices/3261331P6.html and https://www.zigbee2mqtt.io/devices/3261331P6.html) which I am trying to pair in zigbee2mqtt running on HAOS on my rpi3. I'm using a CC2531 I had since earlier, if it comes to this stick simply not being good enough I'll get a new one. I have factory reset the lights both using the dimmer and using the bluetooth feature in the app and the lights blink just like they're supposed to. At first the bulb connected, but I then accidentally reset it again while attempting to reset the other light. It's still listed in the z2m configuration.yaml, I don't know if this is something that would cause problems. Now I can't get either of them to connect, and I'd love to hear if anybody has any troubleshooting steps for hue lights not connecting after factory resetting and permitting joining in z2m.

drifting flare
#

I don't think that having it hang around in the .yaml will cause you problems if you're re-adding it anyway.

night spindle
#

Oh ok, good to know

tiny timber
#

Hue Motion Sensor (SML001) keeps losing connectivity

night spindle
#

I have two philips hue lights (https://

orchid trench
#

Hi, I just got the Digi XBee module S2 and I downloaded the XCTU software and am trying to flash the firmware on it that can run it as a Zigbee router so I can add it to home assistant via ZHA (Sonoff USB ZB-dongle plus) for some while but I couldn't do it. Does anyone know how to do this?

topaz seal
#

I did use my connector with Z2M instead of ZHA to get an update for my Bosch valve. Afterwards the network configuration was wrong. I did use the backup and afterwards set the channel to 11, since that was recommended to me once. After reloading I got a message that also the NWK (network I guess) has change from 0 -> 1. The problem is that my Tuya valves don't seem to be able to join anymore now. Is it possible that some device only support NWK 0?

rigid wagon
#

Does anyone come from smartthings? How is your zigbee network after migrating to HA and using what hardware?

austere patio
topaz seal
austere patio
#

I would first get your network to a state where it works by restoring the ZHA backup from before Z2M changed the adapter's network settings. If you want to migrate to channel 11, use the dedicated channel migration button within ZHA to do so.

topaz seal
#

I did all of this because I am having connectivity issues with my Bosch Thermostat 2. I know that a quirk is still missing for it (I want to write one actually), but that doesn't explain the connectivity issues.

#

Everything is already restored. Seems like the Tuya thermostats only support NWK 0

austere patio
#

The NWK update ID is usually ignored

topaz seal
#

Maybe the Bosch Thermostat works better on NWK 1? Does that make sense?

#

Okay, then I guess not

#

The Bosch Thermostat stops responding after a while and I have take out and insert the batteries again

austere patio
#

Can you download diagnostics for the ZHA integration and post a link to the JSON?

topaz seal
#

Sure

#

What does NWK stand for btw?

#

I can see that it is stepping through them when configuring

austere patio
#

What exactly did it say?

topaz seal
#

I just reset the thing and it is still configuring

austere patio
#

Let's start with the integration diagnostics for now. If you have interference issues that prevent new devices from joining, that would be the first thing to tackle.

topaz seal
#

No, that is solved

#

I did do a HA backup and aftewards a ZHA backup

#

Just the Bosch issue remains

#

The thing is: The conection was stable with Zigbee2MQTT. Wonder how that can be..

austere patio
#

Z2M uses channel 11. If the connection is stable on channel 11 but is not stable on channel 15, it sounds like you have interference problems.

topaz seal
#

All other devices work well though

#

Yeah, it is not looking good

austere patio
#

55% congestion on channel 15 vs 34% on 11 so it's not that big of a difference but I would try migrating to channel 20 (what ZHA would pick if you leave the channel selection dialog on auto). Some devices can disconnect from the network if a quirk doesn't replicate the manufacturer's initialization process. Some others also only join on specific channels, but since yours is already on the network that probably isn't it either.

topaz seal
#

Why did David then say to use channel 11? Is it the most compatible?

#

Do I have to reload ZHA after switching channels?

austere patio
#

You can reload the page, it'll show the new channel

#

Hmm, it looks like your device can only join with an install code present in the battery compartment

topaz seal
#

Yes, I already did that

#

It works, but afterwards the connection is not stable

#

I really want to write a quirk for it. Finally a Zigbee thermostat that can regulate the valve opening in %

#

Actually that endpoint is showing as not supported when downloading the diagnosis, but it works in Zigbee2MQTT

#

I also did not see a remapping of the endpoint the their integration

austere patio
bright nebula
#

hi! I'm using HA's SkyConnect zigbee dongle with ZHA, and I can't add a Tuya temperature sensor (TS0601 TZE200). the dialogs alternate between "The device is ready to use" and "Configuring". logs show that HA is retrying multiple times. all the while the sensor's led is still blinking

#

is there anything I can do to fix that problem?

#

running the latest HA stable by the way

topaz seal
bright nebula
#

logs go ```Considering <class 'zhaquirks.tuya.ts0601_sensor.TuyaTempHumiditySensor_Square'>
Fail because input cluster mismatch on at least one endpoint

#

is there a better place to get help with that problem?

bright nebula
#

well well what do you know, in the last hour I learned what custom ZHA quirks are, how to add one, and why the one I added would not work. it was all because the name was a slightly different random string of characters, and the quirk only knew of two other such strings

#

when I added the one from my device to the quirk’s file and restarted HA, the device suddenly reported its readings

#

now, it hasn’t updated since that restart a few minutes ago, but I’ll see if it works after a good night’s sleep I guess

bright nebula
#

ugh, it’s stuck and not working

wraith talon
#

So fun problem

#

I have many lights

#

Philips Hue, from when I used their bridge for things

#

Migrating them to HA to remove the second Zigbee network

#

Varying wattage. Some are brighter. Some are white, some are white ambiance

#

None of them are color

#

Some of the lights properly work like white balance, and respond

#

Some of them, however, show as color bulbs in HA, and respond to power and brightness, but not color changes

#

Can't change the color temp, cause it's like it thinks they're color bulbs. A few in question, in one room, they're all the exact same bulb, but some of them show as color bulbs, so they don't all respond to color changes

#

I've tried reconfiguring them to no avail. Thoughts?

#

Firmware and model number is identical between two lights (one shows properly, one does not), so it's not a firmware thing or anything

wraith talon
#

Apparently rebooting Home Assistant fixed that

tacit flare
#

Hello!
I recently moved to a bigger place and noticed that my end devices started falling off the network a lot. Been looking for the problem a little while and I think I narrowed it down to aquara sensors and my routers being 90% Ikea tradfri bulbs.
Is there any way I can make this work or is there any good alternatives to the aquara sensors (contact/door sensor and temperature)

sour shadow
#

Could well be interference problems, but also did you pair your end-devices to a nearby router, (good) or just let them pick (not good)

tacit flare
#

I paired them to a bulb that is less than a meter away

#

But they fall off less than an hour later

#

I did change the channel to 25 yesterday to see if that would help

sour shadow
#

You've checked for WiFi interference?

#

You've tried fresh batteries?

tacit flare
#

25 is the least populated channel in my apartment, I will try some new batteries too

#

Thank you for now

vital ermine
#

whats the basic worksflow of upgrading firmware of a z-stack stick?

  1. download backup
  2. Flash stick
  3. use the migrate button to push the backup the the newly flashed stick?
sour shadow
#

No need to worry about backups, just check that the firmware doesn't have known problems and then flash it

#

(at least, no need to worry for Z2M, I assume ZHA's the same)

tired dock
winter cove
#

I have a ZBDongle-e that I wan't to chekc what firmware is installed on. Anyone know how to do that? I use Zigbee2MQTT if that helps

sour shadow
#

Go to the Z2M UI and then Settings -> About

winter cove
#

Thanks. I tought I would have to open it up to fix it as I did when trying to update the FW.

#

Sadly I have updated the firmware, but still have the same problem with my Xiaomi smart switch.

glad plume
#

Hello.I would like to get some help. I restored Z2M & MQTT Addon. Anyhow I did not added back the HA installation itself, Im using newer version, I thought somehow It should be possible to get back the Zigbee connected devices if I put back Z2M and MQTT backup.

#

In the Z2M Logs I see many known zigbee devices sending info, but as soon I start Z2M dashboard there is 0 devices.

sour shadow
#

When you restored it, did that actually restore database.db, coordinator_backup.json, etc?

vital ermine
#

anyone care to ping me about an usb stick flash possibly gone wrong?

vital ermine
#

i 'succesfully' flashed CC1352P2_CC2652P_launchpad_coordinator_20221226.hex
to a zigstar RF-star RF-BM-2652P2 CC2652P

Now it is 'not found by HA', as in ZHA integration errors. Also. The green and blue lights wont flash when plugged in

candid burrow
#

Hello, is here anyone with _TZE200_hue3yfsn Tuya TRV? When I have heat mode and switch to off, the valve is not fully closed and I need to set_current_heatpoint to 5°C to fully turn off heating. I have added it to via zigbee2mqtt.

sour shadow
#

Turning it off means it's not doing anything, leave it in heat mode

candid burrow
sour shadow
#

But that also means it won't close the valve further

#

Off means do nothing at all, not opening or closing

candid burrow
#

That's not exactly true, when I click on off, it automatically turn on heating_stop

Heating stop
Battery life can be prolonged by switching the heating off. To achieve this, the valve is closed fully. To activate the heating stop, the device display "HS", press the pair button to cancel.

#

But it leaves the valve a little bit opened so it continues heating

sour shadow
#

Ah yes, consistency across devices ... who'd want that 😄

#

Either it's a design decision or you've got a faulty device

candid burrow
#

I have two of these and both are doing exactly same thing

grim igloo
#

Double the tuya double the fun!

candid burrow
grim igloo
#

Ok

sour shadow
#

Tuya are well known for being a bit shit

#

Tuya's WiFi stuff is the exception though, it's mostly ||a lot shit||

candid burrow
#

Well the problem is not in that it can't fully close the valve, when I set temp to the lowest point (5°C), than it closes the valve fully

sour shadow
#

Either you have two faulty devices, or that this is just how they work

vital ermine
#

if i go shopping for a new USB stick. Which chipset is currently the most modern?

#

think i have killed mine today...

grim igloo
#

Cc2652p is fine you might’ve flashed the wrong fw or something. Repost your issue from last night

vital ermine
#

did all the right steps. Used Zigstar GW tool in windows.

#

plugged in stick: blue and green light flash once (as always)
1choose com port
2added hex file
3ticked Erase/Write/verify
4Tool starts to flash
5writing as seen in infobar down below
5tool says: All is OK. Restarting Zigbee
6 NO profit.....

Replugging stick in. No more blue and green lights flash>

grim igloo
#

I’d reflash with python method

candid burrow
sour shadow
vital ermine
#

i was just investigating the python method

candid burrow
#

Any way how to check if I have latest firmware without Tuya gateway?

grim igloo
vital ermine
grim igloo
vital ermine
#

besides. When i LSUSB in proxmox it sees the stick. When i passthough to the VM, then i dont see the device with LSUSB in the VM

#

(the way its been running for ages)

vital ermine
#
Reading data from CC1352P2_CC2652P_launchpad_coordinator_20221226.hex
Your firmware looks like an Intel Hex file
Connecting to target...
CC1350 PG2.0 (7x7mm): 352KB Flash, 20KB SRAM, CCFG.BL_CONFIG at 0x00057FD8
Primary IEEE Address: 00:12:4B:00:22:98:1E:0D
    Performing mass erase
Erasing all main bank flash sectors
    Erase done
Writing 360448 bytes starting at address 0x00000000
Write 104 bytes at 0x00057F980
    Write done
Verifying by comparing CRC32 calculations.
    Verified (match: 0xa9dc145d)```
#

python flash output. still no go 😦

candid burrow
#

Any TRV's to recommend for reasonable price? I prefer zigbee2mqtt compatible.

sour shadow
#

Aqara E1

hot fable
#

hey guys, i'm looking for some good zigbee temperature sensors - are the aqara ones any good or are there better options? i currently only have aqara door sensors so don't have much zigbee stuff going on

bright nebula
#

they're good. I have some, their price increased by a lot so I thought I'd get the cheaper Tuya ones. after all it's all zigbee 3.0 right. well now I regret not spending the money on the Aqara, because those just work

#

now I have lost what little money I saved, in lost free time

grim igloo
winged coyote
#

OK so I'm currently trying to swap over from an old Conbee II controller that was giving me issues to a Sonoff for my Zigbee2MQTT installation

I'm now getting a very unhelpful Zigbee2MQTT:error 2023-11-09 09:52:42: undefined error when I try to boot Z2M.

  • I fully uninstalled and reinstalled Z2M
  • I confirmed that my config file is pointing to the stick correctly

Is there somewhere I can find a more detailed error log or something?

grim igloo
#

for temp/humidity prob best bet is aqara zigbee 3.0 but if you're trying to be cheap the xaiomi bluetooth ones around $5 arent bad. there was links shared recently to flash them to zigbee but i havent done that myself (yet)

hot fable
#

i think the motion sensor is a bit overkill, as is the price on them

#

especially when i'm just really looking for temp and aren't too upset if there's no humidity

#

but for the price, the aqaras seem pretty good overall

vital ermine
grim igloo
vital ermine
#

its a server grade board, who knows....

#

glad its sorted within the timeframe before girlfriend come home hehe

#

thx for the help

sour shadow
#

I've got the OG and now the T1 Aqara temperature sensors, both work well

grim igloo
vital ermine
#

yes it is

#

dual xeon 2470v2

grim igloo
#

cool

vital ermine
#

learned something today ;)\

grim igloo
#

you can add a pcie usb card that brings in that functionality if you just had to have it

#

but if you want to split the usb ports to passthru to multiple VMs or containers or whatever you'll have to buy an expensive one with multiple root hubs or some shit. i havent looked at that stuff in years

vital ermine
#

my server is just idling a lot of LXC containers and an HA VM. pretty basic

grim igloo
#

specifically mentions hotswap as well

#

ya just throwing that out there

vital ermine
#

been looking at thinclients hehe. but where to store my 4 disks then. But thats something for another channel

mortal topaz
#

Hi, I have a few smoke detectors in Z2M. I can selftest and mute the alarm there. I can also do that in HA via MQTT but the entitites are select. instead of buttons.

Is there an easy way to change that in Z2M?

https://imgur.com/a/QwOtNhB

vital ermine
#

imma go quickly now to re-pair some stuff before girl is home 😉

grim igloo
#

"during a smoke alarm it can be manually muted by up to 80 seconds" wow that sounds super safe

vital ermine
#

cyaz!

winged coyote
tacit flare
austere patio
winter cove
tacit flare
#

I am using ZHA through a Skyconnect stick

austere patio
drifting flare
#

ZBDongle-E fw 7.3.1.0 supported?

snow goblet
#

I have a Raspbee board for zigbee, and am considering changing it for the Sonoff Zigbee 3.0 dongle. Anyone have opinions on this? I have 42 zigbee devices in my home and it works, just seems like latency is an issue sometimes.

rapid dawnBOT
#

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

drifting flare
summer mulch
#

Hi everyone
Could you please help me with an error appearing with a zigbee lumi.motion.agl02 device? I'm not sure where to report the issue

#

oh my, i don't understand how to attach a file with logs

#

https://github.com/zigpy/zha-device-handlers/blob/cbd0f037fbc3c5b696e499bdf13bf935bc8746ff/zhaquirks/xiaomi/aqara/motion_agl02.py#L36

  File "/usr/local/lib/python3.11/site-packages/zhaquirks/xiaomi/aqara/motion_agl02.py", line 36, in _update_attribute
    self.endpoint.illuminance.illuminance_reported(value)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/zigpy/zcl/__init__.py", line 845, in __getattr__
    raise AttributeError(f"No such command name: {name}")
AttributeError: No such command name: illuminance_reported
#

I use SONOFF Zigbee 3.0 USB Dongle Plus-E dongle

#

so home assistant server doesn't receive any updates from the device

mellow geode
# summer mulch https://github.com/zigpy/zha-device-handlers/blob/cbd0f037fbc3c5b696e499bdf13bf9...

On the zha-device-handlers repo, but I've already created a PR that should fix your issue: https://github.com/zigpy/zha-device-handlers/pull/2733

We still need a "Xiaomi attribute report" for this device to add proper tests though. Please do the following:
Enable debug logs for ZHA (on the integrations page), let the sensor idle for a time, and then trigger the sensor. Lastly, deactivate debug logs on the integrations page again. That should prompt you to download the entire HA log file. Please send me the whole file or the relevant snippet of the log file via Discord DM.

#

If you want to test the fix as a custom quirk, then download the modified (raw) file and install it as a custom quirk.

jaunty flame
#

Hi guys,
I just deleted a zha climate device to factory reset it. Now, I reconnected it and gave it the same name as before.
Now, the device seems to be connected (I can see it's sensors and so on) but cannot really interact.
As I change the temperature on the device itself, the entity in zha gets updated with the new temperature, so it should be connected fine.
But when trying to change the temperature over HA, I get the message Failed to send request: Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>
I enabled the zha debug logs, where I can find the following lines:
Cannot migrate history for entity_id 'climate.d5x84yu_et093wro_thermostat' to 'climate.heating_2_thermostat' because the new entity_id is already in use
So, it might work just resetting again and giving the device a new name. But as this is a little uncomfortable and I assume there should be another way gettings this fixed: Any ideas?

drifting flare
winged coyote
#

OK I'm at a total loss, so hopefully someone here will know the answer. I'm in the process of swapping from an old Conbee II controller to a Sonoff 3.0.

I've gotten it recognized, and Z2M boots up now without issue. Almost all of my light bulbs repaired without issue (struggling with Hue Blooms, but those were always finnicky for some reason, even on the old stick)

Big problem now is non bulb devices. In this case:

  • 2 Hue Switches
  • 1 Hue motion sensor
  • 1 Smartthings Button
  • 1 Aqara door sensor

The switches are what I'm trying to get now. I resett it/put it in pairing mode, and Z2M just has it join, start the interview, disconnect, reconnect, over and over until eventually the "Enable Join All" expires and it just says failed interview.

jaunty flame
drifting flare
#

That will offer you a .json.txt file to download. At the bottom you'll see a block of energy_scan information including the amount of noise/traffic/radio energy for each zigbee channel; higher numbers indicate more radio chatter in that channel

#

Remember that although Zigbee and WiFi spectrum overlaps the channel numbers are unrelated - Zigbee channel 11 is impacted by WiFi channel 1, and Zigbee channel 25 is just above WiFi channel 11. There's a helpful picture linked in one of the pinned threads in this channel I thnk.

#

Or, bluetooth or microwave ovens, wireless speakers, .... ??

winged coyote
stable dew
#

How does Z2M know that there is a firmware update for a device in my network? Do the updates come with the monthly Z2M updates, or does it actively check for them on the internet?

shrewd crypt
#

it doesn't have to have the buttons on it, but at least ability to dim

#

nevermind, i found some on black adder of course

main ruin
#

does zha give me something like a device serial i can use to properly name the entity

#

hm the ieee number may do that

#

how would i even rename the device id

hot fable
grim igloo
#

oh interesting the zigbee 3.0 one removed the temp

#

cool it says it's 64F in my mailbox (prob off a bit cuz of the device itself)

hot fable
#

yeah, weird why they did that

astral seal
#

Yeah I have one on my bedroom door and the device temperature is definitely off from what the room actually is.

grim igloo
#

Ya but if it’s predicable you can just add an offset

leaden nest
#

I have 4 hue led strips connected via z2m. Yesterday I tried updating them, and the update state has been "installing" for at least 20 hours. If I look at the device in z2m, the update state is "available" and there is no indication that the devices think they're updating. I've restarted home assistant since those updates started, and those updates just keep spinning. How can I make these updates actually occur? @mellow geode

mellow geode
#

Can you check what firmware image they're requesting and what firmware version they are on? (also in OTA image request)

#

I can see if they require an intermediate version then

grim igloo
#

interesting

#

is that common among zigbee devices / hue?

leaden nest
#

yeah "update": {
"installed_version": 16785410,
"latest_version": 16785412,
"state": "available"

mellow geode
#

Can you also find the image type (id)?

mellow geode
leaden nest
mellow geode
#

Not sure, since I'm not using Z2M. Might be in some kind of logs. It's either 287 or 288 for your device

leaden nest
#

ok, I'll see if I can find it

mellow geode
#

Is this a new Hue Go or some other device? edit: you said LED strips of course

grim igloo
#

in z2m i dont see anything labeled image type

#

we have device type router but.. lol

#

can it be looked up by the IEEE?

mellow geode
#

Okay, there are no intermediate updates for the device.

mellow geode
mellow geode
mellow geode
leaden nest
#

Ok. I was able to clear away the updating states by deleting the persistent topics on the mqtt broker of the form 'homeassistant/update/<IEEE Address>/update/config'

#

this is what those topics contained, in case it's interesting for any reason:
{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/Kitchen Counter West/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","command_topic":"zigbee2mqtt/bridge/request/device/ota_update/update","device":{"identifiers":["zigbee2mqtt_0x0017880109449a57"],"manufacturer":"Philips","model":"Hue white and color ambiance LightStrip plus (8718699703424)","name":"Kitchen Counter West","sw_version":"1.104.2"},"device_class":"firmware","entity_category":"config","entity_picture":"https://github.com/Koenkk/zigbee2mqtt/raw/master/images/logo.png","json_attributes_template":"{\"in_progress\": \"{{ value_json['update']['state'] == 'updating' }}\"}","json_attributes_topic":"zigbee2mqtt/Kitchen Counter West","latest_version_template":"{{ value_json['update']['latest_version'] }}","latest_version_topic":"zigbee2mqtt/Kitchen Counter West","name":null,"object_id":"kitchen_counter_west","origin":{"name":"Zigbee2MQTT","sw":"1.33.2","url":"https://www.zigbee2mqtt.io"},"payload_install":"{\"id\": \"0x0017880109449a57\"}","state_topic":"zigbee2mqtt/Kitchen Counter West","unique_id":"0x0017880109449a57_update_zigbee2mqtt","value_template":"{{ value_json['update']['installed_version'] }}"}

cunning gorge
leaden nest
leaden nest
loud geyser
#

Hello everyone. I was wondering if anyone else has encountered the same issue I am currently trying to wrap my head around.
I have couple Aqara TRVs installed via ZHA and I noticed the current temperature reading is initialized (upon adding or HA restart) correctly with 0.1 precision, but then it only changes with increments of 1 degree. I tried to investigate in zha source yesterday, but it was already late so I didnt get very far.
In attached image you can see how the entity reading jumps by a degree except for the change at around 22:00 where I restarted HA.
https://drive.google.com/file/d/1w16h9BDnzaAqL3i7yrnkvBy8rJP-aP90/view?usp=sharing

cunning gorge
leaden nest
cunning gorge
#

Interesting. That's not the case on my system.
However, I tried to also delete homeassistant/binary_sensor/<IEEE Address>/update_available/config and that seems to do the trick. After the restart, the update does not show up again so far.

ripe osprey
#

Hey! I am (Soon) hoping to be HA user as i got annoyed by having 3+ apps for all the products.
I am able to get Home assistant Green in about 2 week time. Should i buy SkyConnect (The blue stick) or should i buy Sonoff Plus E stick instead, since most of my things are Zigbee?
(I'm sorry if this is not the correct place for questions like this)

And which one is more stable - ZHA or Zigbee2mqtt?

manic plinth
#

Does anyone have a blueprint for the IKEA Styrbar remote that works well?

#

I found a couple that are either outdated or just don't work

cunning gorge
#

I am using the SkyConnect on a HA Yellow

ripe osprey
# cunning gorge If you plan to use IKEA Products, I recommend Zigbee2mqtt. I did not get ZHA to ...

as for now, i have 4 temperature sensors, radiator smart valves and smart plugs from aqara, Some philips hue devices and also some Google home devices. Ideally, everything would be in Home assistant in the end, so instead of telling people that live with me to use 3 different apps, they could use just 1
Aqara devices seem to have the same issues as Ikea devices in ZHA, so i suppose zigbee2mqtt is the best bet for my use case
I am up for any suggestions on what would be preferred in this instance

ripe osprey
sudden yarrow
#

I had no trouble with the SkyConnect yet myself. And at least some of the online rants are due to user error - like using all kinds of HAOS add-ons with it, thus installing other firmware which didn't work with the solution they tried to archieve.

#

An extender cable is always recommended

ripe osprey
sudden yarrow
#

If I remember correctly, the Sonoff Dongle Plus E has not been recommended here.

ripe osprey
#

I see, so skyconnect is the way to go

#

Can i use both ZHA and 2mqtt or do i have to choose (apologies if it's a bad question, just have been trying to do some digging for 2 weeks now, and it's like a whole new world)

sudden yarrow
#

I'd wait for some of the people, who are more into the coordinator stuff. They might have a good alternative for you.

ripe osprey
#

Thank you!

sudden yarrow
#

You can use one coordinator with one Zigbee integration. If you need or want to use another integration too, you would need a second coordinator. But that might open another can of worms.

drifting flare
#

I want a Home Assistant action to send a Zigbee "commandOnWithTimedOff" to turn on my porch light for two minutes.

manic plinth
#

I'm trying to bind a IKEA Styrbar remote to a Zigbee light group via ZHA, the pairing button says success but the remote is not turning the lights on/off, does anyone know why this might happen?

drifting flare
manic plinth
#

So I binded them to each individual bulb in a fixture and that did the trick

rocky socket
#

Hey all, I'm running ZHA on my Home Assitant VM running on VMWare Workstation w/ a USB passthrough Sonoff 3.0 dongle.

It worked great for months, but sometime over the last month it stopped showing up
FileNotFoundError: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_...if00'

Something that complicates the "What changed" question is I have so few Zigbee devices, I'm not sure when it broke, so I'm having a tough time correlating changes to when it stopped working.

I validated that Workstation was passing the device through... and eventually got it working by going Configure -> Migrate Radio -> Reconfigure -> select /dev/serial/by-id/usb-1a86_USB_Single_Serial_#######-if00 -> Keep radio settings

Noting that it looks like it's being presented differently from Windows -> VMWare Workstation -> Home Assistant... I assume this may have been something on the Windows or VMWare Workstation level that changed this?

None the less, every time Home Assistant reboots I have to manually repoint this now. Any pointers on where to make a change permanently?

austere patio
rocky socket
# austere patio Are the two serial port paths identical?

They're not, sorry about the wall of text above. I'm thinking it was a VMWare Workstation upgrade that may have changed it.

'/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_...if00'

vs

/dev/serial/by-id/usb-1a86_USB_Single_Serial_#######-if00

austere patio
#

The bottom one looks like what happens if the USB chip can't be queried properly, since it is what provides ITEAD and SONOFF Zigbee 3.0 USB Dongle Plus V2

#

I think it's using a CH340 USB-serial chip. Perhaps there's an incompatibility somewhere? One workaround is to move the dongle to a Raspberry Pi or another computer and expose it over TCP with ser2net. That will let you connect to socket://ip.addr:port from ZHA, which bypasses USB passthrough.

rocky socket
#

That sounds likely, considering "what's changed" on my host and not knowing when it broke. Thanks

(Add/Remove programs shows I updated to VMW 17.5 build 22583795 on 2nd of Nov, so even more likely)

ripe osprey
austere patio
#

Differences in what sense? Hardware? Software? Firmware?

ripe osprey
#

Usecases for a new HA user, who would be getting HA Green

austere patio
#

SkyConnect has first-party support within Home Assistant Core and is directly supported for automatic firmware flashing with addons you can find in the Addon store, works directly with multiprotocol migration, and so on

#

Sonoff-E uses the same chip but you'd have to manually do the above things if you use it

ripe osprey
#

I see, so SkyConnect is the preferred choice for new users. Thank you!

grim igloo
#

Tube makes an efr32 based PoE coordinator that does all the same things as above and can be centrally located regardless of where home assistant lives in your house

#

And as much as we don’t have definitive evidence, I’ve seen enough people having issues with a skyconnect then moving back to old dongle and issues disappear that I can’t personally recommend them.

#

But with that being said I’m not convinced it’s the skyconnect vs every efr32 coordinator and bug(s) that haven’t been found yet

#

So in some eyes, a cc2652p based coordinator is actually a better option.

austere patio
#

If you're getting started with a Green, I doubt you'll have issues with either one. You can always switch after the fact.

ripe osprey
grim igloo
#

It is shipped worldwide by @molten linden

ripe osprey
grim igloo
ripe osprey
#

Haven't bought yet anything, as i am trying to figure out the best approach for first time user

grim igloo
#

There’s a plethora of prior discussions on it in this server if you want to search around

mint flume
#

Has SkyConnect been tested at all on HA Core? I picked one up, plugged in it, confirmed my machine can see it via lsusb, etc. HA picks it up and offers the integration, but when I click it, it immediately fails with Failed to probe the usb device.

The System > Logs screen shows no logs whatsoever when this happens - is there another place that logs would be stored so I can find out what's happening?

I could also try this with ZHA, but I've read that it may not work on SkyConnect without flashing it to Zigbee-only first (which I'd rather not do).

austere patio
mint flume
austere patio
#

It does not ship with the experimental multi-PAN firmware, it ships with Zigbee firmware

mint flume
#

Okay good to know. Should I try setting it up with ZHA instead of the SkyConnect inetgration? Really not sure what's wrong, the logs have nothing.

austere patio
#

They're the same thing. Do you have another Zigbee integration running that could be interfering? What hardware are you running HA OS on?

mint flume
#

I have no existing Zigbee integration today.

Hardware is a machine I built, mid-tower PC running Arch Linux. I have HA + a ZwaveJS integration running just fine with an Aeotec stick as well.

#

I see both the Aeotec stick and SkyConnect in lsusb, and they both have IDs in by-id:

# lsusb | grep -i 'labs'
Bus 004 Device 004: ID 10c4:ea60 Silicon Labs CP210x UART Bridge
Bus 006 Device 002: ID 10c4:ea60 Silicon Labs CP210x UART Bridge
# ls -l /dev/serial/by-id
total 0
lrwxrwxrwx 1 root root 13 Nov 10 00:57 usb-Nabu_Casa_SkyConnect_v1.0_5c0b9a5f1bb7ed11b4289c5938a92db5-if00-port0 -> ../../ttyUSB0
lrwxrwxrwx 1 root root 13 Nov 10 00:51 usb-Silicon_Labs_CP2102N_USB_to_UART_Bridge_Controller_7c48c2893985ed11ad29cd9f9d1cc348-if00-port0 -> ../../ttyUSB1
austere patio
#

How are you running Home Assistant?

mint flume
#

It's Home Assistant Core, just installed directly into the OS.

#

I realize that's the most pain in the ass way to do things, but I'm generally pretty comfortable with bare OS installs of things.

austere patio
mint flume
#

I've thought about moving to the container, but before this Zigbee stick snafu, everything's been working great.

austere patio
#

Most likely a permission problem with accessing the serial port

mint flume
#

I thought so too - but the perms are the same with the Aeotec stick so I'm not sure why this would be different. Let me enable debug logging.

#

You are 100% correct @austere patio. 🙂

File "/var/lib/hass/.venv/lib/python3.11/site-packages/serial/serialposix.py", line 325, in open
raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
serial.serialutil.SerialException: [Errno 13] could not open port /dev/serial/by-id/usb-Nabu_Casa_SkyConnect_v1.0_5c0b9a5f1bb7ed11b4289c5938a92db5-if00-port0: [Errno 13] Permission denied: '/dev/serial/by-id/usb-Nabu_Casa_SkyConnect_v1.0_5c0b9a5f1bb7ed11b4289c5938a92db5-if00-port0'
2023-11-10 11:11:04.471 DEBUG (MainThread) [zigpy.serial] Opening a serial connection to '/dev/serial/by-id/usb-Nabu_Casa_SkyConnect_v1.0_5c0b9a5f1bb7ed11b4289c5938a92db5-if00-port0' (57600 baudrate)
2023-11-10 11:11:04.472 DEBUG (MainThread) [bellows.ezsp] Unsuccessful radio probe of '/dev/serial/by-id/usb-Nabu_Casa_SkyConnect_v1.0_5c0b9a5f1bb7ed11b4289c5938a92db5-if00-port0' port
Traceback (most recent call last):
File "/var/lib/hass/.venv/lib/python3.11/site-packages/serial/serialposix.py", line 322, in open
self.fd = os.open(self.portstr, os.O_RDWR | os.O_NOCTTY | os.O_NONBLOCK)
#

Since this is a tty device, I suspect the user running HA would need to be in the uucp group, but the SystemD file for HA Core uses Dynamic Users, so I'll have to figure out the right way to do that. Thanks! I'll report back if I can't figure it out.

#

Also found out why ZwaveJS works and not this - it's in docker, running as a user that IS in uucp.

rapid dawnBOT
#

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

mint flume
#
Created configuration for SkyConnect v1.0.

We found the following devices:

Zigbee Coordinator
EZSP = Silicon Labs EmberZNet protocol: Elelabs, HUSBZB-1, Telegesis (ZHA)

🎉 🎉 🎉

grim igloo
#

@austere patio could you reformat that above and then pin it? might be useful for others in the future

austere patio
#

I doubt many people run HA Core directly 😄

grim igloo
#

ohh this is only core

#

./tenor tis a silly thing

orchid trench
#

Hi, I just got the Digi XBee module S2 and I downloaded the XCTU software and am trying to flash the firmware on it that can run it as a Zigbee router so I can add it to home assistant via ZHA (Sonoff USB ZB-dongle plus) for some while but I couldn't do it. Does anyone know how to do this?

austere patio
#

You probably have to manually program in the network settings for your ZHA network with XCTU

#

And switch it to router mode with XCTU

orchid trench
#

Yea I already did that

#

In the XCTU app :

ZA: 2
NJ: 5A
EE: 1
EO: 02
KY: 5A6967426565416C6C69616E63653039
NO: 3
BD: 57600
AP: Transparent Mode [0]
A0: 3
SP: 64
SN: AF0

austere patio
#

5A6967426565416C6C69616E63653039 is the global link key, ZigBeeAlliance09. You want to use the network key. It's in your ZHA backup JSON.

#

Or no, that's right. XBee uses NK for the network key and KY for the TCLK.

#

Make sure the channel bitmask SC is set correctly as well