#zigbee-archived

1 messages · Page 4 of 1

dry lichen
#

Yeah remotes and deconz ui were fine for me. Just HA UI wasn’t

tacit heath
#

Dear all,

I have had issues over the past few days with my zigbee2MQTT not starting and Bad gateway. I have looked in the logs and it states "configuration is not consistant with adapter state/backup" I search for answers and cannot seem to find a suitable soulution to get it back up and running. I have not changed any settings, since it was orginally set-up and at that time was working perfectly. My setup is a tubeszb-cc2652 POE dongle, with a fixed ip and I can ping it and log into it. With my local MQTT broker within homeassistant.

Zigbee2MQTT version 1.27.0-1

Attached is my log from Zigbee2MQTT

Thanks in advance for any asisstance

obsidian sandalBOT
obsidian sandalBOT
#

@tacit heath [Rule #6](#rules message): Please do not post codewalls (text longer than 15 lines, including whitespace) - use sites such as https://dpaste.org/ (pick YAML for the language), or https://paste.debian.net/ (pick YAML for the language).

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

sour shadow
#

I will say first off that channel 11 is likely to be a terrible choice

#

Not sure why it thinks the coordinator and your backup differ though, those look to be the same

tacit heath
storm crown
#

I updated Zigbee2mqtt about a week ago. My Hue Dimmer Switch disconnected as a consequence. I have since reset and reconnected it at least 4 times. I see it in the Z2M web interface. But the dimmer switch always decides to directly connect to a smart plug. The only thing I can do is turn that plug on and off. Surely I am missing something very basic....

tropic depot
#

This is a hardware thing with the bulbs themselves

#

Some bulbs let you configure it

ripe shell
#

Ok, thank you

vital zodiac
#

I reconfigured all my network from scratch, clean install with conbee 2. Seems to be working fine but when i send orders to turn on lights or turn off lights some lights don’t respond. It seems to be event worth when i try to turn on all lights in a room. Is it normal with zigbee? Do i really need to create a group and update my automation as a workaround??

sour shadow
mortal oasis
#

I just brought a Sonoff Zigbee 3.0 USB Dongle, it was just discovered but i get the following error:

2022-08-19 14:18:12.262 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Sonoff Zigbee 3.0 USB Dong - /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_b0bfeea2ee12ec11b55c20c7bd930c07-if00-port0, s/n: b0bfeea2ee12ec11b55c20c7bd930c07 - ITead - 10C4:EA60 for zha
File "/usr/src/homeassistant/homeassistant/components/zha/__init__.py", line 112, in async_setup_entry
await zha_gateway.async_initialize()
File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 170, in async_initialize

do i need to install some add-on or something else?

tropic depot
#

for ZHA no

#

need the rest of the error though

mortal oasis
#

that was all the log shown me

#

what do you need more?

mortal oasis
#

@tropic depot what do you need more?

jade cargo
#

did you set the radio type manually?

#

the 2 different sonoff sticks have different radio types

mortal oasis
#

i just inserted the ZBDongle-P in the USB port and let it discover and installed it. noting to config so far i could see

jade cargo
#

ok good that's the TI version

#

is this a raspberry pi?

gleaming jay
#

I'm having a problem where my IKEA tradfri light bulb turns on as expected in the morning with my automation, however it turns on to a low brightness level and then never transitions to 100% brightness like the automation calls for. The automation portion looks good, imo, so I'm wondering if it's something to do with the configuration of the bulb. I'm using ZHA and in the device page for this bulb there's configuration options. They seem unrelated to this issue, but I can't find documentation on them so I'm unsure

#

just in case, this is the transition automation:

#

action:

  • service: light.turn_on
    data:
    transition: 60
    color_temp: 153
    brightness_pct: 100
    target:
    device_id: 5de84d7113d38399969ded351cdc57b0
mortal oasis
mortal oasis
#

Next issue i brought an Ikea zigbee lightbulb and STYRBAR i want to connect those using the ZBdongle. But the scan does not found them at all.
Maybe i'm doing something wrong.

olive linden
austere patio
violet dagger
mortal oasis
#

a Pi4 2MB HAOS and a sonoff ZBDongle-P USB

#

and a ikea Zigbee lightBulb and the STYRBAR

olive linden
olive linden
violet dagger
#

i dont know which one you bought

violet dagger
#

that would be the AC31266

#

the issue with zigbee2mqtt is that they use obscure product/manufacturer codes and sometimes merger them under the same device page so the image does not always match the reality

flint bone
# gleaming jay I'm having a problem where my IKEA tradfri light bulb turns on as expected in th...

IKEA Tradfri bulbs seem to have a bug when attempting to issue turn_on commands with 3 data components (in this case, transition, color_temp, and brightness_pct). The 3rd bit gets dropped, so you're likely just transitioning to the specified color temp over 60s. The workaround I've seen most often is to split the command into two separate turn_on commands (ie. transition color temp over 30s and then transition brightness over 30s), but it's not a perfect workaround

olive linden
mortal oasis
#

@violet dagger i just tried to run the firmware upgrade suggested at https://zigbee.blakadder.com/Sonoff_ZBDongle-P.html and i got the following error

c:> python.exe cc2538-bsl-2.1.py -p COM4 -evw sonoff.hex --bootloader-sonoff-usb
Opening port COM4, baud 500000
Reading data from sonoff.hex
Your firmware looks like an Intel Hex file
Connecting to target...
ERROR: local variable 'chip' referenced before assignment

When i use the latest python file a new error is shown:

ERROR: Timeout waiting for ACK/NACK after 'Synch (0x55 0x55)'

Do you know what there wrong?

austere patio
mortal oasis
#

that is written on the back of the dongle

#

Looking at the issue of that cc2538-bsl.py script and see i'm not the only one having that issue,

violet dagger
#

ERROR: Timeout waiting for ACK/NACK after 'Synch (0x55 0x55)' = your device is not in bootloader mode

median dome
#

if button is connected to the router that doesnt mean it can control it directly

#

need to bind correct? As i can see lag 1-2s. 😦

mortal oasis
mortal oasis
#

that did the trick, thanks for clearing that.

austere patio
#

Not "confirmed working" doesn't mean it doesn't work, it just means nobody has submitted any confirmation to that specific database

#

I'm 99% sure every current and future IKEA lightbulb will work out of the box

violet dagger
#

so if it does, holler 😉

mortal oasis
#

I starting first with the trying STYRBAR, it found it, it configurated it, and it takes a long time to init it, is that normal?

austere patio
#

IKEA devices are sometimes tricky to join and may go to sleep before ZHA has time to configure them. Click the button to keep it awake the entire time it's joining.

mortal oasis
#

@austere patio you mean the join button on the backside?

#

or any button?

austere patio
#

No, the button itself

mortal oasis
#

this one has 4 buttons;)

austere patio
#

Any button

gleaming jay
mortal oasis
#

And my lightbulb works fine after i upgraded my zigbee dongle.

#

I have now 2 zigbee devices in my configuration.

#

@violet dagger not sure of you need to do that or that you want me to update the descriptions. But i would suggest that updating the firmware of the sonoff zbdongle-p 3.0 is advisable for a better working with for instance the IKEA zigbee devices.

#

anyway to everyone that helped me starting, thankyou very much

#

it always some puzzling to get new stuff working on the first start

midnight forum
#

Is there anyway to readd a zigbee device and have it keep the same device ID and entity ID in HA? Using ZHA

Still having an issue where after binding a Tradfri shortcut switch to my Coordinator I can no longer control one of my LED strip controllers.

At this point I've given up on repairing that device so I would like to try to readd it, but ideally I would like to keep the same Device ID and Entities within HA so that it doesnt break my HomeKit integrations

austere patio
#

You don't necessarily have to remove the device from ZHA, just factory reset it, permit joins, and ZHA will configure it from scratch once you join it again

midnight forum
#

Ah interesting. I will give that a shot thank you. Now to see if I still have the manual hidden away somewhere......

dry lichen
#

Does anyone here actually use zigbee bindings? If yes, what remote/bulb combination?

dry lichen
#

Pairing
Hold button until LED start flashing (about 6 seconds), then release.
Pairing is done when LED stop flashing.

#

😎

midnight forum
#

Oh wow thank you! So I put it in pairing mode and then go to the Add Device interface on ZHA? I am not sure what "permit joins" are

austere patio
#

They're the same thing

dry lichen
midnight forum
#

Ah gotcha. I think that is done by adding a device through the config menu in ZHA

dry lichen
#

Honestly I couldn't tell you the ZHA specifics because I run Z2M but I guess you're right

midnight forum
#

Yeah I didnt super know what I was doing first time I set up and originally ran HAOS so ZHA was the natural choice. There are some features that make me want to hop over to Z2MQTT but every time I think about it I get pre-frustrated and put it off lol.

dry lichen
#

I recently made the jump from deconz to Z2M. It was painless because I just bought a new coordinator. I actually ended up doing 50% one day, 50% the next day

#

No rush if your old network also still works 🙂

midnight forum
#

Yupp it works fine for now. The biggest issue I am still having is the battery drain think with the Tradfri devices from Ikea. They last about a week on ZHA and it is quite annoying

dry lichen
#

Is that actually a ZHA issue?

midnight forum
#

From what I was reading yeah. When it does not go through one of the Ikea Gateways there is a polling rate issue of some sort and it just zaps the battery

dry lichen
#

I am using a few tradfri battery devices and honestly never encountered an issue

midnight forum
#

Yeah it seems to be a random issue that is tied to specific coordinators. Many people use the same model as me with no issues but every Tradfri on my network has this issue

#

Oh btw put the device back into pairing mode and it was immediately recognized by ZHA with its original device name and everything works as it did before

dry lichen
#

Interesting thread. I did OTA update on my on/off tradfri switch a few days ago which took like 1-2 hours. It drained from 90% to 60% and is now back at 87% lol

midnight forum
#

The led strip that is

midnight forum
dry lichen
#

I'm on Z2M with Tubes PoE adapter though

#

If you're already encountering the issue it looks like an OTA is not gonna fix it

midnight forum
#

Thank you again for the quick search and help! Now I can stop unplugging the strip to turn it off like a nerd lol

dry lichen
#

Glad to help man 🙂

midnight forum
dry lichen
#

I personally update firmware on all my zigbee devices, never had an issue. Your mileage may vary though!

austere patio
#

I think one IKEA OTA update broke groups or something, double check your specific device

dry lichen
#

Speaking of - anyone here using Zigbee bindings?

midnight forum
midnight forum
#

Just held down the reset switch in the tradfri and then the LED strip started blinking lol

#

It looked like the exact same sequence I saw when holding down the pairing button on the LED strip to rebind it as you advised except I wasnt holding down the LED strip button. I was holding down the Tradfri button. Very odd and only affected the one LED strip. I have several more of the same model that had no issue.

dry lichen
#

Binding is very elusive and some voodoo is required is all i managed to find out so far

mortal oasis
#

It does not seem i got the https://zigbee.blakadder.com/Ikea_E2001.html working. when i do a reconfiguration i get:

Reconfiguring device: 4-button panel
The device reconfiguration failed. Additional information may be available in the logs.  
dry lichen
#

z2m? deconz? zhA?

mortal oasis
#

zha

#

log:

Logger: homeassistant.components.zha.core.channels.base
Source: components/zha/core/channels/base.py:486
Integration: Zigbee Home Automation (documentation, issues)
First occurred: 21:18:53 (8 occurrences)
Last logged: 22:52:30

[0x8A92:1:0x1000]: Couldn't get list of groups: Request failed after 5 attempts: <Status.NWK_INVALID_REQUEST: 194>
[0x8A92:1:0x0001]: async_initialize: all attempts have failed: [DeliveryError('Request failed after 5 attempts: <Status.NWK_INVALID_REQUEST: 194>'), DeliveryError('Request failed after 5 attempts: <Status.NWK_INVALID_REQUEST: 194>'), DeliveryError('Request failed after 5 attempts: <Status.NWK_INVALID_REQUEST: 194>'), DeliveryError('Request failed after 5 attempts: <Status.NWK_INVALID_REQUEST: 194>')]
[0xEE3E:1:0x1000]: Couldn't get list of groups:
[0xEE3E:1:0x1000]: Couldn't get list of groups: Request failed after 5 attempts: <Status.NWK_NO_ROUTE: 205>
[0xEE3E:1:0x0001]: async_initialize: all attempts have failed: [DeliveryError('Request failed after 5 attempts: <Status.NWK_NO_ROUTE: 205>'), DeliveryError('Request failed after 5 attempts: <Status.NWK_NO_ROUTE: 205>'), DeliveryError('Request failed after 5 attempts: <Status.NWK_NO_ROUTE: 205>'), DeliveryError('Request failed after 5 attempts: <Status.NWK_NO_ROUTE: 205>')]
austere patio
#

Device runs on batteries and is sleeping, you have to wake it up before trying to communicate with it

midnight forum
mortal oasis
#

i pressed all the switches just before starting ot

#

how could i see of the device is awake?

dry lichen
#

Oh i have no idea what a reconfiguration is honestly

#

I thought it was an interview

mortal oasis
#

that's why i use dur***ll

midnight forum
#

oooof sorry I had Scroll Brain™ and whipped right past it

dry lichen
#

I might or might not have bought excessive amounts..

#

50 euro on button batteries...

midnight forum
#

I get mine straight from the source: AliExpress lol. Sometimes good deals pop up on ebay with free shipping though.

#

A little off topic but there used to be an eBay store that sold Energizer Lithium AAs without the label. I imagine the factory eventually got caught and the killer deal disappeared. From my load testing they seemed to be legit. Probably just the factory selling em out the back

dry lichen
#

I use ikea AA and AAA rechargeables with their own charger. Magnificent stuff

dry lichen
#

On a normal functioning network the coins last a long time 😄

midnight forum
#

These were the super fancy E2 Lithium super lightweight expensive disposables. Nice stuff that is not worth it at MSRP but was nice with the discount. Especially for backpacking where every gram counts

dry lichen
#

Makes sense

#

Never really thought about batteries honestly. I just buy the IKEA ones for AA/AAA and Duracell coins

#

I'm getting value for my AA batteries because I hung battery LED strips in my two closets (the led light is from ikea too lol) because there is no power near there to wire it up. Gotta change 4x AA batteries every now and then, and just dunk them in the charger whilst putting in the new set

slim path
#

anyone have luck with ikea blinds?

mortal oasis
#

does any of you using the Styrbar Remote? it does not look as if it gives all his secrets free to me. Like the buttons dont work.

#

It looks as if it is IKEA day 😛

dry lichen
#

Any chance you need to click them all, do all the actions first so the coordinator learns them?

#

It's like that for a few of my remotes. They dont offer me any actions in HA until i actually perform all the actions at least once

mortal oasis
#

tried that as well but it does not make any difference.

dry lichen
#

what messages do you see in the logs when you press a button?

mortal oasis
#

nothing at all.

dry lichen
#

Which logs you checking?

mortal oasis
#

What do you see on the device overview? do you see the buttons there ... I only see the diafnostic values as battery power "unknown" and Identifybutton.

dry lichen
#

You should have an action sensor as far as i know

#

Keep in mind i'm on Z2M and do have ikea remotes, just not yours. But it should be pretty similar.

mortal oasis
#

Yeah i was somehow expecting to see an action sensor or four.

dry lichen
#

I was wrong

#

ZHA does not give you the action sensor

#

Are you familiar with blueprints?

mortal oasis
#

yes i am and i added the blueprint for the styrbar

dry lichen
#

No dice?

mortal oasis
#

I some events popping up begin of the evening but then i tried to "reconfigurate device" option etc. and now i see noting happening 😦

dry lichen
#

What happens when you repair it?

#

Don’t delete or anything, just enable pairing and reset the remote

mortal oasis
#

i'm restarting HA to see of then everything is starting op as it should be

#

I did that as well

#

What i find strange about the pairing sequense is that at the last page where you can set the name and location ... that screen cant be closed.

dry lichen
#

I was also having this exact issue with my Electrolama ZZH (CC2652R) Stick and the E2002 remote. I finally got it to pair by pressing the pairing button in the battery compartment 5 times in quick sucession until the red light flashed and turned solid, let it run through the configuration in Add Devices and then without removing the device between attempts, repeating the process again. It took 5 attempts but each time the remote was running through (and failing) different endpoints and nwk values, and updating the existing values tied to the IEEE. You know it's working once the battery on the green successful configuration card goes from unavailable to blank or shows a value.

serene topaz
azure fable
#

Thanks for the help yesterday.

After I posted here and we figured it was the USB 3 SSD that was probably the issue, I tried updating the firmware on my RaspbeeII which borked the Raspbee and after a while I got it working again with deCONZ by downgrading the firmware (using the Phoscon Raspian image).

Now it's back in my Pi4, I'm able to add devices but all the previously added devices are "unavailable". Is there any way to reinitialize my devices without re-pairing each one? (I've 46 devices and the Hue lights wouldn't reset when I tried with two different Philips remotes earlier today... I'd really like to avoid it, I'd have to get on a ladder for one!)

Or at least, why are they not communicating with the Raspbee anymore? I even tried restoring to a backup from a few days ago (when they were somewhat working, updating state, when that backup was restored from Pi3 to Pi4). I presume it has a radio MAC address which is the same, and I know there is a network_key but that should still work since I restored from the backup.

austere patio
azure fable
#

Currently on 2022.08.3, just upgraded from a 2022.08.x version IIRC

small furnace
#

Well maybe not 10 times.. But 4-5 times atleast.

#

These ones are The same batteries from the same factory.

#

Eneloop pro are 20 euro ish for a 4 pack. Ladda is like 5

mighty river
#

Hi, maybe someone of you can help me. I try to move my HA installation to a new device. Do you know if it is possible to restore a HA Backup + Zigbee2mqtt on a new device without repairing all zigbee devices?

uneven ruin
#

should be

#

z2m keeps a controller backup and database for name mappings

#

if you move the coordinator even easier

eternal wasp
#

Hey guys, I'm pretty new to the whole Zigbee world and I would like to buy a few smart plugs compatible with Zigbee.
A quick look on Aliexpress got me these : https://fr.aliexpress.com/item/1005002046241470.html?mp=1&gatewayAdapt=glo2fra

The title says Zigbee but also Tuya, i've seen tons of those Tuya Zigbee devices and I was wondering if those were compatible with a standard Zigbee hub and not the crappy Tuya Gateway?

I already experienced Tuya with Wifi devices and it's a pretty crappy experience so I would like to give Zigbee a try but I can't find low-budget devices without the Tuya logo everywhere.

austere patio
unborn sentinel
#

Hi i'm new to home assistant and i'm trying to make my button to be compatible it's an zigbee bridge 2.4 ghz and SNZB-01 i cant make it work with automation
I Installed AlexxIT SonoffLAN but i have in automation battery level instead of when pressed, how i can make it work ?

thanks

crimson dust
#

Hey, suddenly all my 4 IKEA controllers stopped working. Using Condbee2 and ZHA. Any ideas why? Actually I think 3 dropped yesterday and last one today. Feels like they have been updated or something that messed things up?

austere patio
crimson dust
#

Home Assistant 2022.8.6
Supervisor 2022.08.3
Operating System 8.4

But I updated right now after the last one dropped so it kinda more feel like the IKEA controllers did a OTA update or something that messed things up?

austere patio
crimson dust
#

hmm wierd.. and the batteries havent warned

austere patio
#

What did you update from?

crimson dust
#

I'm not really sure, I think it was the Core. But I did the update after the last controller went down

austere patio
#

I meant the version

crimson dust
#

I didnt notice what the version was!

#

I just press update when a update is ready, I mean they come all the time! 😛

austere patio
#

So probably not 2022.7.x

crimson dust
#

No

#

I always update when there's a new one ready

#

no matter what it is 😄

austere patio
#

Nothing new has changed with ZHA in the past two minor releases but if you want, can you send me your /config/zigbee.db file?

crimson dust
#

Sure, can I do it here in Discord?

austere patio
#

Sure, PM it

unborn sentinel
#

some one for the Zigbee Bridge in Home Assitant ?

sour shadow
unborn sentinel
#

sorry, I have the Zigbee Bridge from Sonoff, i installed the addon AlexxIT/SonoffLAN

I try to configure it to Home assistant and i cant do any automatisation but on the devices and entity i see it.

any thought ?

sour shadow
#

Well, the bridge is:

  1. Really shitty
  2. Not for the SonoffLAN integration, but for ZHA or Zigbee2MQTT
unborn sentinel
#

i see the dongle is better the zigbee 3.0 ?

sour shadow
#

Almost anything is better than the ZBBridge

obsidian sandalBOT
#

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

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

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

unborn sentinel
#

crap , ok i will wait when i can to buy the dongle

#

conbee i mean

sour shadow
#

Did you not read the bot message?

unborn sentinel
#

wich one ?

sour shadow
unborn sentinel
#

ah sorry

#

thanks Hassbot

#

tasmotas is not good ?

sour shadow
#

Tasmota is firmware for a range of devices, what exactly are you referring to?

unborn sentinel
#

not sure i think for tasmotizer sorry if im spelling bad

sour shadow
#

That's firmware for WiFi devices

#

It's not a Zigbee coordinator

#

It's also not hardware of any form

unborn sentinel
#

another question , anytime i install the homeassistant i cant log the Supervisor its logging to the user i create at the onboarding, how i can log into supervisor ?

i tried docker , virtual images , os agent and supervised nothing give me to supervisor

sour shadow
#

The #installation-archived channel can help you with that - but you don't log in as the Supervisor user, you log in as the user you create

unborn sentinel
#

supervisor is obselete ? the user created is doing the same things ?

sour shadow
#

There's never been a "supervisor" user you log in as

unborn sentinel
#

ok thanks

sour shadow
#

There's a Supervisor container if you use Home Assistant OS

unborn sentinel
#

ok ill ask here
thanks alot

#

but just an another thing

#

with the home assisant can i bind the switch SNZB-1 to a shorcut command to trigger a sengled bulb already binded to HA ?

#

i mean in example ctrl + r

sour shadow
#

If they're both Zigbee devices, and both in the same Zigbee mesh, and both support Zigbee Binding... and you're using ZHA or Zigbee2MQTT... yes

unborn sentinel
#

but when i use Zigbee2MQTT i have an error 502 something like this in the browser

sour shadow
#

502 error ... doing what?

#

Typically that means that the add-on isn't running

unborn sentinel
#

502 bad gateway

#

sorry

#

and zha i need to write a port adress

sour shadow
#

I'm confused

#

You're talking about binding, then about port addresses

#

Those two things are unrelated

#

As is Zigbee2MQTT not running

unborn sentinel
#

i can install zigbee2Mqtt in windows ?

sour shadow
unborn sentinel
#

without ha ?

sour shadow
#

Did you read the Z2M install docs?

#

Because, they have a section titled Windows

#

It's probably a bad idea, like running almost any server on Windows (desktop) is a bad idea

unborn sentinel
#

i have an other option who its worked before but its cost 90$/year but i wont pay this

on ifttt pro :(

#

*wont want

sour shadow
#

It's going to be easier to get right than trying to run stuff in Windows - even running it in a virtual machine on Windows is better than directly on Windows

unborn sentinel
#

thanks for this , i will wait soon to buy Conbee

sour shadow
#

CC2652 based stick Check_mark
Conbee ❌

unborn sentinel
#

ah oops yeah this one based stick

#

but i can use the switch and the bridge on the Ewelink app

but i cant see it ont google home

i have a tp link plug and sengled bulb
and its only the plug and bulb i see ont google home not the SNZB-1

vital zodiac
austere patio
#

Better supported, has fewer firmware quirks and glitches, less prone to "not working" under conditions other sticks work fine

still raptor
#

Hello everyone. I'm having a problem with z2m and my mosquitto broker. I have 2 instances of z2m. One in my main server, installed via hacs and paired with the zigbee devices that are close to it. And another running in a raspberry pi on the other extreme of my house, with the closest zigbee devices paired to it. They both talk to my mosquitto broker in my main server installed by hacs. They have all the relevant configs identical. The problem is that after a while (sometimes its 2 hours, other times its 20 hours), the z2m in the raspberry pi disconnects from the broker and the only way to make it connect again is restarting z2m. I have tried everything (including setting them in the same network) and this keeps happening.. Anyone knows something about how can I resolve this?

#

oh, if I go to the webpage for the pi's z2m, everything is "normal" in there.. I can control the devices, just won't show in HA.

jade cargo
#

@still raptor did you use different base topics?

still raptor
#

yes, one is zigbee2mqtt and the other is zigbee2mqtt2

jade cargo
#

How about mqtt client id

still raptor
#

when I first set them up, a few months ago, they worked flawless for a few months, but this problem started happening a few weeks ago.

#

I left empty the client id for the z2m in both. Then I tested setting a unique client ID for the z2m on the pi and the problem continued

#

they even have the same zigbee adapter.. the sonoff zigbee 3.0 adapter..

graceful notch
#

hmmm anyone have an idea why my zigbee entities are unavailable in hass (they work fine through the Z2M dashboard, but not in hass)
it stopped working since last night, so I'm thinking either an update broke it or something in the sql db is corrupt, but I have no idea on how to reset the sql db

#

nothing weird is found in the logs

#

small example:
2022-08-21 10:55:17.665 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: switch 0x54ef441000158b9c switch
so I assume it should work, but it remains unavailable and doesn't do anything

graceful notch
#

apparently it's the 20220820 version that's broken

#

reverted to 20220805 without any issue again

zinc storm
#

Hey, I'm currently planing my smarthome light setup and I'd like to change LED intensity by daytime but wire the lamps regularly in a direct way. So turning them off cuts the power from the led driver/led lamp completly. What would happen if i turn them on after total cut from power? Do they glow at 100% power? Or do they wait for the first signal to see what intensity they should be? E.g. they need to be dimmed at night right after getting power

#

Or is zigbee not the right approch for that ?

quick willow
#

Request
"zigbee2mqtt/bridge/request/permit
failed with error: 'Cannot
execute command, in Inter-PAN
mode'
Cannot execute command, in
Inter-PAN mode (how do I disable inter pan mode in zigbee2mqtt?

sour shadow
zinc storm
#

ok thanks for the reply, so basically thats something you shouldnt do? what's special about sengled? Also what would be an alterantive in my case?

sour shadow
#

Sengled bulbs are one of the few, possibly only, bulbs that aren't router devices

#

Turning off your routers is going to cause you problems as you break the mesh

dry lichen
#

Dear God

#

Binding is entirely possible, just use ikea lights and ikea remotes.

#

Back to the store to replace a load of remotes.

uneven ruin
south cargo
#

Has anyone ever have issues with Zigbee devices just not reporting state updates at all? Using zigbee2mqtt, the last maybe 2 or 3 days, my Aqara sensors are no longer reporting their states at all. I've removed and repaired them, and still, motion sensors are not reporting any motion..

jolly narwhal
#

No issues here with 40 or so aqara sensors

#

They don't update unless the change is relevant

#

Don't remember the thresholds off the bat

south cargo
#

I've placed the sensor in a room, left if for 5 mins, then walked in, and it hasn't detected anything.. lol

#

Thinking I may just need to start a clean install and build my HA from scratch

jolly narwhal
#

Never seen, tried pairing it to a known good parent?

#

Also,what is your coordinator?

south cargo
#

Conbee II, and have just setup 2 Sonoff Zigbee USB devices as routers

jolly narwhal
#

Oh, I'd swap the conbee for one of the sonoff ones

#

If it is the ZigBee 3.0 ones

#

The conbee is... Known to be YMMV using it outside of phoscon

south cargo
#

Hmm fair enough. Might just switch to using one of the Sonoffs as the coordinator then

jolly narwhal
#

If it is the 2652 based ones

#

If it is 2531, don't

lilac rapids
#

I'm giving ZHA a try, I tried to pair my window cover to it, but it doesnt show up properly.

#

it shows up as

lumi.curtain.aq2
by LUMI

#

Can I fix that somehow?

austere patio
#

That's what the device reports, Lumi is the manufacturer of Aqara devices

lilac rapids
#

it exposes a cover accessory, but the buttons are not correct

#

also I cant set the specific percentage

austere patio
#

As in they're inverted?

lilac rapids
#

hmmm its hard to explain

#

like Right now for example

the upbutton is disabled, and the STOP and DOWN buttons are enabled

#

if I open the window manually, then press the down button in hass, it goes down

#

there is also another entity called number showing up as a slider but it doesnt show the current window position nor allows me to set it

#

I was using it with Zigbee2mqtt before and it worked there, I'm just trying to see if I can work with Zha directly

#

I guess it just isn't compatible with Zha

#

too bad

#

Back to z2m it is

edgy crescent
#

Can anyone tell me about device binding in ZHA? I've figured that if I bind a button to a light it'll allow it to turn on/off without needing to create an automation however I'm wondering what else it does. Does binding a device directly to another device also allow them to communicate directly assuming the Zigbee coordinator goes down (eg HA crashing)?

tropic depot
#

it should

edgy crescent
#

Ah great. Thanks. Now onto the next question - once devices are binded to each other (eg button and light) is there a way to set it so more advanced features (eg double click, hold) control other functions of the other device (eg brightness, colour)?

austere patio
#

Not unless the button itself supports sending those commands. Binding is very basic.

lilac rapids
#

Anyone know hwo this can happen, there is this Device on my z2m, that is powered off, and it still sees LQi 171

#

💀

edgy crescent
novel cloud
#

Does anyone use Philips hue remotes with zha? Specifically these Exclusively for Philips Hue Smart Lights do they work with zha or it's truly propietary?

novel cloud
#

Awesome. From experience? Or you just know. What about zha group binding

austere patio
edgy crescent
novel cloud
#

Sounds good worth a shot

obsidian sandalBOT
#

@spark star Your message has been deleted as it contains a link or a domain name 'pasteboard_dot_co' that is on the blocked list because of: 'Virus detected!'.
Please re-post by removing/changing the domain name/link. Your original message has been DM'ed to you.

spark star
#

Your message: I have a Tuya "_TZE200_dwcarsat TS0601" 6 in 1 Air Quality Monitor that I am trying to add to my ZHA network on HA and my HUSBZB-1 stick. I have 9 other devices of various type running fine on my ZHA network. The TS0601 gets added but only the Voclevel sensor is showing up. Temperature, humidity, co2 nor formaldehyde are being shown. I see a lot of this in the logs: https://pastebin.com/vZ5cAvE2 and here is the Zigbee Device Signature: https://pastebin.com/vZ5cAvE2 and this is the result when I try to reconfigure the device: https://paste.pics/696429c2717b6d5f128fd86bbac180b1

#

No change after reconfiguring the device.

#

I get exactly the same results using a Sonoff Zigbee 3.0 USB stick and ZHA on my test HAOS instance.

cobalt bolt
#

Hi I just started with zigbee and so far everthing seems to work only the LQI is zero, so I bought some router (aqara smart plugs) but the sensors which were already paired still connect to the sonof zigbee dongle. Is there an easy way to let them find a better route or do I have to re-pair them

dry lichen
#

TIL

#

They perform like A+ batteries too! Might explain a lot. I've got the white ones. Also a weird shade of blue ones, but mostly whites.

small furnace
#

YEh

#

They are amazing

wide saffron
#

I've just recently retired my hue bridge and moved all the devices to ZHA. As I was adding devices they were very responsive, but now ~12 hours later about half the devices don't work at all when I try and control them

#

I'm not sure how to go about debugging and fixing. I undated the firmware on my stick (conbee II). I've also checked the visualization (not sure how trustworthy) but many of the devices that aren't working have multiple green connections. 95% of my devices are wired and show up as "routers"

austere patio
#

Is your Conbee on a USB 2.0 extension cable?

wide saffron
#

yes

#

I had ~15 devices on my conbee before this that are all flawless

austere patio
#

Are you able to receive sensor updates?

wide saffron
#

I'm not sure how to check that

austere patio
#

If you have temperature sensors and such, do they show recent temperatures? If the Conbee can receive but not transmit, it's likely interference.

wide saffron
#

heh, I have like 0 sensors

austere patio
wide saffron
#

sure

#

this is a lot of logs 😅

austere patio
#

You can send the whole home-assistant.log file if you want. Make sure it includes you trying to turn on a device.

spark star
#

5/6 of my entities showed up after a HA restart. Several values are wrong and pm2.5 is missing but these are known issues.

wide saffron
#

I'm just reading a lot now and it sounds like there are (were?) issues with hue bulbs on non-hue hubs. Is that still the case? Should I go back to using my hue hub vs. pairing devices to my conbee II?

dry lichen
#

I've heard about Conbee 2 being very problematic with ZHA

dry lichen
#

I've had ikea and hue bulbs on my conbee stick mixed, never had an issue. But I ran deCONZ

#

Have since moved on to an CC2652 with Z2M

#

Can someone recommend me a zigbee motion sensor with a low detection timeout? I know the hues are very good, but i need a couple and i don't particularly enjoy their price point

#

IKEA ones are very slow. I've heard loads of mixed experiences with the aqara P1's (not te be confused with FP1)

wide saffron
#

yeah, I'm planning on changing away from the conbee once something better is in stock -_-

#

not sure about moving to Z2M

#

but I suppose if I'm migrating all my devices, I might as well try

#

I assumed since HA built ZHA in that it would get good support, but not sure how much thats actually the case

#

althought ZHA does still seem somewhat buggy..

#

but maybe thats the conbee 😛

lilac rapids
austere patio
#

If it's plugged into a USB 3.0 port, yes

lilac rapids
#

Hmmm

#

I only have usb3 ports

wide saffron
#

same 😦

uneven ruin
#

buy a usb 2 extension

dry shadow
#

I'm using a Conbee II with a USB 2.0 extension and the deCONZ integration....it's been rock solid with 30+ devices. Without the extension, I couldn't get any device to bind. With the extension, it's been perfect.

lilac rapids
#

Im having issues with my Z2M

some end devices just stop talking with the coordinator after some time.

anyone know how to resolve that?
At first I thought the issue was signal strenght, but the LQi is pretty good

#

If I re-bind the device it works normally for some time.

edgy crescent
#

What devices? What climate?

#

Sonoff devices are notoriously crap in my experience.

lilac rapids
#

but I have a misc of contact sensors, PIR sensors and wireless switches.

edgy crescent
#

Yeah the SNZB range of stuff is mostly crap.

#

Motion sensors dropped off all the time, along with temp sensors.

#

Only devices I have left are some door sensors and buttons.

lilac rapids
#

doesnt make much sense to me, because for a while it will report fina

#

and suddently stop

#

and not come back

#

my PIR sensors work very well tho

edgy crescent
#

I found it was usually due to voltage drop on the tiny button cell. They drop too low due to temperature fluctuations and the device drops offline, then either the config corrupts or it just fails to reinitialise properly. Either way, annoying as hell.

lilac rapids
#

hmm ok, that makes more sense, but the batt is still very new. but I guess I can investigate that

edgy crescent
#

Yeah doesn't matter. I've had ones with brand new batteries drop off within 12 hours.

#

In the end I gave up the fight and moved motion sensors to Hue. Only ones I've kept of the Sonoff are the door/hall sensors and a couple buttons (although I'm replacing them as well).

kindred stratus
#

Hi, could I get recommendation for zigbee dimmer module for a 2 way retractive switch.

On/off, holding up/down will dim accordingly.

Country: uk
Budget: up to £100
Protocol: zigbee
Features: on/off, dimming

obsidian sandalBOT
#

@kindred stratus 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)
halcyon crag
#

I'm looking to buy temperature sensors, any recommendations?

wild trout
#

Hi guys, new to ZHA integration but not new to HA.
I've bought a ceiling lamp zigbee complaint from Eglo connected without any problem to my HA server using Sonoff Zigbee USB stick.
But I have some problem with their remote, I can add to my Zigbee network but no new entities are created. How I can proceed?

sour shadow
#

This, sadly, isn't well documented

sour shadow
halcyon crag
#

thanks

#

i am also looking for IR blaster

#

not sure which channel to use

sour shadow
#

See my previous recommendation

#

||Broadlink||

wild trout
# sour shadow ZHA works with events for remotes, not entities

relooking at the docs I've seen about the events. Strange thing is that, looking with event listener in HA developer tools, no event is fired for the Eglo remote. But using an ikea truglo on/off swith I can see the events. Seems that Eglo remote is the network but doesn't send messages to the concentrator 🤔

sour shadow
#

It should, if the device is paired correctly, but I use Z2M where things are more obvious

wild trout
#

Thank you @sour shadow, I will try to take a look to Z2M, but I suppose that this remote from Eglo has some problem when using outside their ecosystem, that's a pity....it's sooo cheap

sour shadow
#

It may also be that ZHA needs a quirk for it shrug

raven pollen
#

I have a question! I’ve got my home assistant host on a rack mounted server but I also have a spare raspberry pi server. Would it be worth buying a Zigbee to raspberry Pi and then connecting zigbee2mqtt (for example) over my network from my home assistant? Or are there better solutions for my case?

sour shadow
#

Depends on where that rack is

#

A USB extension cable may be enough

raven pollen
#

It does have a USB port but it’s in a metal rack

#

I’m thinking it wouldn’t be great for signal

sour shadow
#

A cable can go outside the rack

raven pollen
#

Oh right! Are they just as good?

sour shadow
#

As good as?

raven pollen
#

A USB dongke

sour shadow
#

Yes

#

(WiFi connected ones aren't though)

raven pollen
#

Fair enough! Thanks!

#

I'll definitely go for that, as it seems the right fit for my network and also I have an excessive POE network switch which I am still trying to justify to myself! 😉

solid inlet
#

Can I create a strobe-effect using HUE bulbs and Home Assistant alone, or will I need a HUE bridge for that?

sour shadow
#

If you have a Zigbee coordinator and use a Zigbee group you can do it in HA

#

If you don't use a group you'll likely flood the mesh

#

Ideally though you buy bulbs that have a built in strobe/flash effect

solid inlet
#

Ah, cool. Didn't know they had it as an built-in effect. Any particular ones to look for?

sour shadow
#

No idea TBH, I've never looked at my Tradfri bulbs to see what they support

solid inlet
#

Ok. I'll dig a bit then. What would be needed in HA to do this, given using a group for the bulbs?

#

Just turning them on/off tends to be a bit slow?

sour shadow
#

The Zigbee group is to avoid sending a bunch of individual commands, which may flood the mesh

#

If the bulbs have their own built in strobe/flash feature that may be less of a big deal

azure flame
#

does the deconz component actually work with websockets? ha doesnt discover it, and configuring it manually, does not work. looking at the code it only seems to use http://

dry lichen
#

@raven jewel Hope you don't mind the ping but i've read you had a FP1 sensor, how is that holding up?

cobalt dew
#

I got 2 but not tested yet they joined z2m ok I have the other aqara one also and its huge!

tropic depot
#

they are great for room occupancy IMO

#

takes a bit in larger rooms to get the placement correct but they work very well

#

and yes, they are larger sensors

cobalt dew
dry lichen
#

well the ones on the left are

#

GODDAMN that is huge lmaop

dry lichen
#

Actually screw it, im just going to order one

tropic depot
#

cool

dry lichen
#

I also took delivery of aqara P1 motion sensors but damn their detection range is a piece of crap

tropic depot
#

did you try changing the config on them?

#

and good luck changing batteries on those... getting the bottom off the P1 motion is a PITA

dry lichen
mellow geode
cobalt dew
dry lichen
cobalt dew
#

I need to move my zigbee channel due to interference I suspect. between 6 and 7 wifi looks good as my old 24g is there which i will turn off. I cant yet find what that is for zigbee 17 or 18? https://snipboard.io/tmAnlW.jpg

dry lichen
#

til 19 sorry

#

Zigbee 15-19 = WiFi channel 6

cobalt dew
#

so 20?

dry lichen
#

To select a Zigbee channel that does not overlap with WiFi, try
channel 15, 20, or 25. These Zigbee channels avoid the most
common WiFi channels (1, 6, 11). Also note that channel 25 in the
US has lower transmission power per FCC requirements

#

Ya 20 seems fine

cobalt dew
#

"6.5" looks ideal

dry lichen
#

Make it 20 indeed

cobalt dew
#

to move z2m I need this?

advanced:
channel: 20

#

anything else please?

#

and re-pair all I assume

austere patio
cobalt dew
# austere patio Do an energy scan instead of relying on WiFi network density (https://github.com...

My battery are dying fast, like weeks or days so I have a symptom. I have moved my 24G up to 7 from 1 but that hasnt made a big difference. i have asked our full time network ppl on a energy scan and they say the cheap stuff / methods are crap and dont bother. The are trying to get purchase kit for this and its several Ks. Also on the RHS battery is doing worse which seems to be the vodafone signal.

austere patio
#

I mean it's a part of the Zigbee radio, it's better than guessing

#

What devices? IKEA?

cobalt dew
#

aqara supposed to last 12months I dont get 12weeks.

#

what part of zigbee radio?

#

url for a doc please?

#

ive been searching

austere patio
#

I posted a link above for how to install the tool, there's a section for how to do an energy scan (ignore the --nwk .... part). If you're using an Ethernet coordinator, use socket://ip:port instead of a path or COM port. Make sure nothing else is connected to the radio (i.e. ZHA or Z2M).

cobalt dew
#

ah Ok I can try with my linux laptop

#

I assume I can query tube's unit OK?

austere patio
#

Make sure to stop Z2M

cobalt dew
#

LOL, slight detail there, LOL

unborn orbit
#

What's the best way to migrate from one zigbee2mqtt install to another? Do I just need zigbee.db?

cobalt dew
austere patio
#

Yeah

cobalt dew
#

I have top be root I guess ?

austere patio
#

If you want to PM me the error you're getting I can maybe try to help

cobalt dew
#

I think its a path error just me not knowing much about python etc

#

I think it installed ok as root

cobalt dew
#

like start with, zigpy radio znp socket://192.168.31.180:6638 network info

austere patio
#

No, just the energy-scan one

cobalt dew
#

ok as that failed

austere patio
#

Run it with zigpy -vv radio ... and see why

cobalt dew
#

zigpy --vv radio

#

oops

#

no wiser unless i have the wrong device

bronze rivet
#

I'm having a problem wherein end devices directly connected to the Conbee II are becoming unresponsive. Devices that happen to connect to Sonoff routers (which then connect directly to the Conbee II) are working just fine though. All of the end devices are a variety of Sengled bulbs. The unresponsive devices still show as availably and have an lqi, but they don't respond to commands issued by the Conbee. If the same device happens to hop on one of the Sonoff routing devices, it works fine. Any thoughts or additional info I can provide?

debug 2022-08-23 21:11:53Error: Command 0xb0ce18140008ec4c/1 genOnOff.off({}, {"sendWhen":"immediate","timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (no response received) at DeconzAdapter.sendZclFrameToEndpoint (/app/node_modules/zigbee-herdsman/src/adapter/deconz/adapter/deconzAdapter.ts:654:23) at Endpoint.sendRequest (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:299:20) at Endpoint.command (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:772:28) at Object.convertSet (/app/node_modules/zigbee-herdsman-converters/converters/toZigbee.js:283:17) at Object.convertSet (/app/node_modules/zigbee-herdsman-converters/converters/toZigbee.js:906:32) at Publish.onMQTTMessage (/app/lib/extension/publish.ts:246:36)```
#

Using zigbee2mqtt but the log entry might have made that clear.

cobalt dew
#

out of range?

graceful birch
#

Hello i configured zigbee2mqtt but seems after i enter the page it returns with 501 bad gateway (ping me with reply)

bronze rivet
# cobalt dew out of range?

The lqi looks solid though, e.g. 250-255 for the devices in question, and it occurs with devices < 6' from the controller. I moved the stick to a Pi on a different floor and a bulb three feet away with nothing but air separating it from the Conbee is stilI exhibiting the problem. With nothing else to go on I went ahead and ordered a Sonoff stick and I'll give that a shot Friday when it arrives.

tight belfry
#

Anyone else having problems with including new Ikea traadfri bulbs with conbee2? Old one i have is detected right away but the 2 new one is not found, bought them at Ikea yesterday

storm crown
#

I am trying to calibrate a power monitoring plug in zigbee2mqtt. Does (percentual offset) mean something other than what I think it does? It's impossible getting it even in the ballpark area of where it should be. Example: I got the current to 7A. I calibrate it to '100', assuming this would double the value to 14. Instead, my reading is now 117963 A

autumn widget
#

am I supposed to be able to see the zigbee channel in use by my coordinator in the web UI? been looking around and I see a lot of details but not the channel in use

cobalt dew
autumn widget
# cobalt dew For ZHA the default is 15 and for z2m default is 11 I believe

Thank you. Yeah, mine seems to be on channel 15. I had to grab my CC2531 and hop on a few channels to find where my stuff was. I have two different zigbee networks going, and I just wanted to make sure that they are not on the same channel. But it looks like the SmartThings stuff is on a different channel thankfully

cobalt bolt
#

Hi I want to change my Zigbee channel to improve my quality, for that I need to repair all devices, do I need to delete them first or can I keep them ? (removing them deletes entities)

cobalt dew
cobalt bolt
#

there is in my case, I want to change from 11 to 25

austere patio
cobalt bolt
#

zigbee2mttq

#

I just change the channel and repair the device. It recognises the old frienly name so thats good, but all the battery power sensors give Interview failed now

cobalt dew
#

Aqara? that is normal for a few hours

cobalt bolt
#

Yeah just did but gives an error

#

Failed to interview 'Temp Living', device has not successfully been paired

cobalt dew
#

try a re-pair?

cobalt bolt
#

Received message from unsupported device with Zigbee model 'undefined' and manufacturer name 'undefined'

cobalt dew
#

that looks like a re-pairing msg as its negoitiating the pairing?

cobalt bolt
#

Seems manually deleting them in zigbee2mqtt and then repair them fixes it

#

Yep that fixes it, changing the channel also improved the LQI of my Aqara smart plugs from 0 to 7

#

still not great, seem they are not the best routers

#

Maybe I should add 2 extra sonofs zigbee 3.0 plus with router firmware

glad fractal
#

i have a problem with my zigbee network disconnecting occasionally. the integration says to check log for errors, the logged error is " Error connecting to deCONZ gateway at 172.30.33.1"
when i use the phocon app to look at the gateway its on 172.30.33.2
this all has been working fine for months and this issue just happened today.

cobalt dew
cobalt bolt
cobalt dew
#

if not I will have to buy 2 aqara plugs 😦

bronze rivet
#

What is the benefit of flashing a Sonoff controller to a router vs. using say a Sonoff outlet?

molten linden
#

The z-stack router fw can support more children, and the coordinator is a better radio chip. Cc2652 vs cc2531 in the outlet. If you need an outlet though nothing wrong with using it and taking advantage of it as a router.

still raptor
#

Hey everyone! I commented earlier that my second z2m instance (running in a raspberry pi paired with devices that are to far away from my main server) is randomly disconnecting from home assistant. After narrowing down a lot, I realized that every time the z2m starts, it connects to my mosquitto broker and since I have the HA integration enabled, it shows in my HA. But if for some reason the z2m disconnects from the network, it becomes offline in HA even when it reconnects to the broker. I used a mqtt client on my phone and I was able to see the topics and control the devices. They just don't show on HA. Is there a way to force this handshake again? Without restarting the z2m instance (thats what I'm doing for now..)

#

even better. Why is it not reconnecting to HA after it reconnects to the broker?

twin gazelle
#

anyone have any idea how to fix zigbee2mqtt? was working fine till a few days ago when i clicked configure on mt dongle at it was showing as newlt detect and since then i cant access anything (heaind go to bed hoping someone has a suggestion fot when i'm back)

white aurora
#

Is anyone using a Hue or Aqara motion sensor?

#

I just have a quick question about how customizable they are, if they let you change the reset time/sensitivity

mellow geode
#

For Aqara P1 motion sensors: both yes. The range is worse than the "old" sensors for me though.
For Hues: I think they allow you to change both too (minimum time is ~10 seconds IIRC?)

vital zodiac
white aurora
#

Good to know. Thank you. It looks like the hue sensors are the best ones for quick reset time and sensitivity

twin gazelle
#

Anyone seen this error before in z2m? TypeError: Cannot read properties of undefined (reading 'payload') have remade config and that's my current error, i've also reflashed my co-ordinator

pastel scarab
#

I am trying to figure out how to track device last_seen since zha.storage was removed in 2022.8. I was told to use integration_entities('zha')

#

but I cannot figure out how to proceed from there

#

For instance, the sensor that I am looking to track (aqara water sensor) only presents me with _device_temperature, _power and _identify

twin gazelle
sour shadow
#

I hope that's not your actual network key, and the channel's not the best choice either

#

You say the error changed, but not what it is now...

twin gazelle
#

that above one is the latest one

pastel scarab
#

So if I'm not mistaken, I think the issue I'm having is that zha does not expose a sensors last_seen as an entity. Previously I was able to parse this information from the zha.storage file. And if I go to 'devices' in home assistant and look at the device info, the information is right there. But I don't understand how I can retrieve the information in a script/automation.

tropic depot
#

Last seen will be an entity soon

#

What are you using it for though?

#

@pastel scarab ^^

pastel scarab
#

I use it to make sure my water leak detectors aren’t going out of range. Or that they don’t stop working for some reason.

#

Since it is set and forget, and I don’t expect them to really ever signal that water was detected.

#

But I think I found the info I need in the zigbee sqlite database. Only I do not grok the difference between v6, v7 etc in the table names.

tropic depot
#

There is an event if you are trying to detect offline devices

pastel scarab
#

Ah. And what would cause a device to be regarded as offline?

tropic depot
#

It’s configurable but IIRC It’s 2 hrs for mains and 6 for battery

#

you can override it in the config panel though

pastel scarab
#

That seems a lot easier than writing my own python script to check last_seen in the database 😁

#

Very much appreciated.

graceful elm
#

Did we regress something in zigoy recently? Parents home assistant crashed, updated to the latest HA os and now having issues joining anything, some thing a will eventually join, but it's a pain, helping remotely, so not 100% if they are doing it correctly, but seeing lots of errors in the logs

tropic depot
#

What are the errors

graceful elm
#

Working on getting some readable, this is the primary one I'm seeing 2022-08-25 00:04:25.586 WARNING (MainThread) [zigpy.device] Device failed to initialize due to unexpected error Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/zigpy/device.py", line 177, in initialize await self._initialize() File "/usr/local/lib/python3.10/site-packages/zigpy/util.py", line 130, in retry r = await func() File "/usr/local/lib/python3.10/site-packages/zigpy/device.py", line 233, in _initialize await ep.initialize() File "/usr/local/lib/python3.10/site-packages/zigpy/endpoint.py", line 73, in initialize self.profile_id = sd.profile AttributeError: 'NoneType' object has no attribute 'profile'

tropic depot
#

What radio too

graceful elm
#

Xbee, I think this is all around the xbee

#

I've noticed that we have trouble with serial commands to the xbee lately on my instance

tropic depot
#

That looks like the device either returned an invalid simple descriptor OR it didn’t reply at all and so why we kept going

#

Yeah it may be zigpy_xbee specifically

#

capture as much detail for each issue as you can and open issues. You may have to help us fix them though 😛

graceful elm
#

Lol, see what happens when I ignore things

tropic depot
#

and I can’t believe you used an xbee for your parents 😂

graceful elm
#

There instance is old

tropic depot
#

ah

graceful elm
#

I'm thinking I may just ship them another coordinater and have them send me the xbee back

#

I don't mind tinkering on mine, but doin it remotely is a pain

twin gazelle
#

i have a suspicion that my issue is zha related but it doesnt appear under integrations so not sure if there's a hidden instance somewhere

gritty frigate
#

Howdy - this a good place for Zigbee device talk?

#

I'm in search for a room presence sensor, and wondering if there's any experience with Aqara FP1 Human Presence Sensor Zigbee 3.0 High Precision Detector (https://a.aliexpress.com/_mqUonwM)

This looks interesting, but a bit pricey...

sour shadow
#

You should hit up the search feature

gritty frigate
#

Oh the everything smarthome folk is everywhere 🙂

tropic depot
#

The FP1's work very well

last ruin
#

I hit OTA update on an IKEA blind in zigbee2mqtt but installed HAOS update so now it's stuck and won't update. It just says Remaining time N/A. How to fix? EDIT: Fixed it. Stopped addon and then changed 'updating' to 'idle' in state.json file.

twin gazelle
#

last thing i can try is to wipe the nvram on my stick

dry lichen
#

Oh shoot

#

Nvm

#

Thought you meant P1

violet dagger
#

@tropic depot does FP1 work with zha now?

tropic depot
#

has for a couple months

#

think i had it in in the initial 2022.6 release

violet dagger
#

scuzzi, i'm a bit slow

tropic depot
#

it was .7

twin gazelle
#

Nothing i do gets zigbee2mqtt to work again after i clicked on the configure button on discovered devices, i've uninstalled z2m and re installed, installed the edge version, reflashed the coordinator and tried the dev firmware and reset the nvram and z2m still fails to start

#

i may have been looking at the wrong logs, the old ones by accident getting a new error Error: spawn udevadm ENOENT which is progress

#

nm forgot to pass the usb back through to the ha vm

twin gazelle
#

almost there it's trying to login to mosquito now

#

finally got it all fixed, had to reset mosquito settings too, don't know how it got so messed up, just need to re-pair everything again -_- and this time i can keep a backup of coordinator nvram too now that i've found zigstar multi tool

austere patio
#

The zigstar multitool is also using an old version of zigpy-znp, from 2021. There have been tons of changes since then.

twin gazelle
#

i wasnt able to get zigpy working on its own had setup a linux wsl to run it but was getting back exceptions

#

i still have a copy of coordinator_backup.json it appears, i may be able to restore assuming it didnt get overwritten by any of the resets, thanks

austere patio
#

Erase your stick's firmware again and replace the current coordinator_backup.json with your old one

#

And make sure your main Z2M config file is also the same

#

Z2M should then restore the old backup once you start it back up

twin gazelle
#

alright, will try that, thanks

twin gazelle
#

something seems to have gone screwey after i clicked to allow devices to join, the web interface just stopped responding and i had to force a vm reboot and on restart the boot is super slow when starting docker, from what i'm reading the database may be messed up based on a post from someone else having a similar issue with a 20 min boot

twin gazelle
#

It happened at random so i dont have a backup copy of my vdi before it happened, there should be backup internal files but i dont know where they are to restore them, trying to get a vm setup so i can properly mount the home assistant hard disk image

twin gazelle
#

managed to fix it

manic ice
gritty frigate
# tropic depot The FP1's work very well

At present I'm using motion sensors to achieve something like this, but obviously that has its downsides.
Based on the info I was able@to dig up: motion is faster for switching lights, but fp1 is actually capable of registering human presence without movement - e.g. "room occupied" becomes a reality.

Do you happen to have data on field of view, range, and power consumption by any chance?

#

FoV becomes interesting for a ceiling mount type of approach. Also, how do obstacles impact performance (let's say a ceiling light is in the view)
They say it's 5m radial distance - is that a 180° on X, Y axis?

cobalt dew
cobalt dew
#

I have some here to test.

gritty frigate
#

Oh awe - do you have anything to test power consumption with?

#

My usecase is around which room to heat - trying to rationalize heating prices in Europe haha

#

So fast switching is not necessarily required

glad plume
#

I would like to ask for some help maybe somebody has experience with this Zigbee Temperature & Humidity Sensor from Aliexpress.
I Added with ZHA to Home Assistant but every value is 0.

https://zigbee.blakadder.com/Tuya_ZG227C.html
Thank you!

violet dagger
#

what's the model and manufacturer reported?

glad plume
#

I can see in the reviewes they was able to add to HA.

#

let me check

violet dagger
#

you need HA 2022.7+

glad plume
glad plume
violet dagger
#

that is not the same model

glad plume
#

hm...

#

looks like they created a newer model.

#

but this is the link where the old one was sold, because I cannot find any else on aliexpress, and here we had a lot of comments about the device is working.

#

There is any chance that will be supported by ZHA or better start arguing with seller to get older model?

violet dagger
#

such is the aliexpress life

#

there's a support request open already 20 days ago

glad plume
#

Ah okey perfect!

violet dagger
#

can you take a photo of the model number for that device? either label or manual, if there is one

glad plume
#

im renovating the whole house so if I need to wait 1-2 month not an issue.

#

yes.

violet dagger
#

classic, no identifier whatsoever

#

its probably inside on the pcb

sick escarp
#

@molten linden I just received my new tube-zb-gw-cc2652p2-v2, looking to set it up in ethernet mode with zigbee2mqtt. I'm having a devil of a time trying to find good instructions on z2m's conf. so far I'm going down the path of serial: port: 'tcp://ipaddr:port' but don't know what port to use

molten linden
#

6638

sick escarp
#

woohoo that got me further! [D][serial_server:103]: New client connected from 172.xxx.xxx.xxx [D][binary_sensor:036]: 'TubesZB Gateway Serial Connected': Sending state ON

#

fantastic piece of equipment btw

molten linden
#

Thanks

sick escarp
#

@molten linden how do I change zigbee channel? I'm getting mismatch error in z2m```

  • PAN ID: configured=6754, adapter=6754
  • Extended PAN ID: ... <same>
  • Network Key: ... <same>
  • Channel List: configured=25, adapter=26```
sour shadow
#

You have to re-pair everything

#

Z2M's log entry there told you what you have to do

sick escarp
#

oh of course if I had just read 2 more lines :/ If you wish to re-commission your network, please remove coordinator backup at /app/data/coordinator_backup.json

#

thanks @sour shadow

verbal scarab
#

I'm new to z2m. Is it common for a device to disappear from z2m? The device and entities are still in HA and work however. Any way to get it back in z2m? I've tried restarting z2m

raven pollen
#

Hello! Can Thread devices be connected to a Zigbee hub?

#

I've got a zigbee sonoff adapter and a few Thread Eve Door Sensors

#

For now I've got a complicated Homebridge setup fo home assistant but would love to be able to connect them straight to Z2M or something along those lines!

mighty river
#

Hi, im running a RPI4 with Raspbee 2, and a need bluetooth as well. is there a workaround for using both bluetooth and Raspbee2(GPIO)? im very greatful for any tips or recommendations on the software side to get both working 🙂

#

dtoverlay=miniuart-bt
force_turbo=1
Would adding this to config.txt solve my problem?

mortal oasis
#

a couple of days a go i needed some help getting my IKEA Styrbar to work using ZRA, which failed back then.
Today, after the ZRA update, i tried again. And now it seems to work fine.
Again to everyone who tried to help me, thanks for helping me back then

cobalt dew
cobalt dew
twin gazelle
#

Anyone know if you can configure z2m to filter out an attribute under certain conditions? i have 2 bulbs that if they're given a transition with a brightness of 0 it fails to turn off so want to make sure it strips out the transition, i know it's possible to blanket block it but not seen if it's possible conditionally

sour jay
#

Hi all. My Conbee II is bugging out, so im looking to buy a new Zigbee stick. Whats the def best option out there at this point? Thinking about switching from deCONZ to Zigbee2MQTT running in a docker on Unraid. Thanks in advance.

violet dagger
#

Tubes not stick coordinator

#

zzh! if you really want a stick

sour jay
violet dagger
#

that is the one

humble tinsel
#

I got 2 IKEA LED1650R5 which failed the interview but worked before. Tried touchlink but so far no succes. Any other options i could try?

humble tinsel
#

Bought 3 new ones which are the IKEA LED2005R5 and the pair just fine.

#

But now i have 3x IKEA LED1650R5 which worked before but are now no longer able to be paired.

#

All 3 fail the interview after doing the on/off resets

#

The IKEA LED1537R6/LED1739R5 also paired just fine.

#

It’s only the IKEA LED1650R5 that is having issues with my setup

humble tinsel
#

Solved by having the coordinator next to the bulb. had to reset the bulbs several times in order to get them to work.

glad plume
violet dagger
#

there's a github issue thread to follow

bronze rivet
#

Am I correct in my interpretation of the zigbee2mqtt docs that there is no migration path from the Conbee II to the Sonof 3.0 with the CC2562P and I have to start fresh?

sour shadow
#

No official migration path, no. I'm not sure if there's an unofficial one

sage plume
#

So Im looking for some 'cheapiesh' Smart switches that monitor power, It's been suggested that the Salus SP600 devices will do this but Im curious if anyone has tried them with a Conbee2/Deconz?

slate kestrel
#

hello friends

#

cant start my zigbee2mqtt

sage plume
#

Figured might sa well move this here Tinker, What's your issue with Deconz? thought that was like the 'way' to use Zigbee with HA?

#

... Or at least it was a while ago 😄

sour shadow
#

Zigbee2MQTT drops a new major release monthly. You can add support for unsupported devices yourself.

#

ZHA also drops new releases monthly, and I believe now also allows you to build quirks for unsupported devices

sage plume
#

Mm, I mean its 'mostly' working for me at this point.. what's considered the gold standard these days for Zigbee?

sour shadow
#

Either ZHA or Zigbee2MQTT depending on whether you want it embedded in HA or separate

#

Z2M is the closest to the way deCONZ runs, in that it's separate from HA

sage plume
#

sorry, was thinking for a controller stick

#

🙂

obsidian sandalBOT
#

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

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

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

sour shadow
#

Keep in mind, you can't use deCONZ with anything other than ConBee

sage plume
#

Yeha so I'd have to replace the whole stack basically, thats... a lot of faff 🙂

#

But something to keep in mind when it comes time to replace

sour shadow
#

Yeah, but you know you ||don't|| want to

slate kestrel
#

hey friends, i recently had a lot of problems with my cobee2 ZHA, it begon to lose connection or lagging

sour shadow
#

Is it on a USB (2.0) extension cable?

slate kestrel
#

yes

#

checked all radio signals in the range of my home

sage plume
#

Huh the conrollers are not actually that expensive, I thought they'd be like £70 or something

slate kestrel
#

changed the channel of my conbee2

#

still had the same problem

#

worked fine over 1 year

sage plume
#

I suspect I know the answer, but does anyone happen to know if the Tube controller supports POE? or doe sit require USB power regardless?

#

Going to assume at its price point it does not...

#

Ah I see there is a POE specific version but its out of stock 🙂

molten linden
#

PoE out of stock until 3rd or fourth week of September 😢

#

Will reach out to people on waiting list before general availability

austere patio
austere patio
slate kestrel
#

🤔 If I acces the conbee2 direct and change the channel it Wil not change? 🤔 🤔 🤔 I'm confused

austere patio
#

If you use deCONZ then you can

#

Or edit the backup JSON from the above tool and then restore it

slate kestrel
#

Yes

#

Is it possible that HUE interfere? 🤔 It's also bizarre I have my hie bridge on 20 and the conbee2 on 11

austere patio
#

Not really

#

Though 11 is usually a bad choice for a Zigbee network: WiFi channel 1 can interfere with it

slate kestrel
#

15 should be a better option

austere patio
#

That's the ZHA default 😆

slate kestrel
#

15?

austere patio
#

But do the energy scan if you know how to use command line tools, it's more conclusive than guessing based on WiFi

slate kestrel
#

Okay but I'm searching the problem because it worked perfectly for 1 year

sour shadow
#

See also the pinned message on Zigbee and WiFi coexistence

slate kestrel
#

I know

sour shadow
#

The scan will tell you if it's a problem caused by WiFi talking over your Zigbee

austere patio
slate kestrel
#

I will. Heck that and report back

#

*check

lean belfry
#

most of the aqara devices need their own hub to be able to do some settings if im not mistaken, is there a way to bypass that?

sour shadow
#

Depends on whether you're using ZHA, Zigbee2MQTT, or deCONZ

lean belfry
#

im using zha

sour shadow
#

Each has different support for these things, and if you mention what devices maybe somebody will be able to help you

lean belfry
#

for example im looking to buy their smart roller shade controller

#

where u install a long stick in the roller shades

lean belfry
#

Like if i use an aqara hub i can set where the open position is anf where the closed position is

#

Can i do that in Zha/homeassistant

bronze rivet
#

When using zigpy-cli to backup a coordinator, specifically Conbee II, is it normal for the backup's devices {} section to be empty? Looking at the open-controller-backup specification repo, I see the following in the README which makes me think an empty devices isn't quite right.

This is an array of devices relevant to the coordinator: namely children and devices with APS link keys shared with the coordinator.

#

It is running the May 15, 2022 firmware, deCONZ_ConBeeII_0x26780700.bin.GCF.

austere patio
bronze rivet
#

Well, that was utterly painless. Stopped z2m, backed up, restored, started z2m, and things appear to be fully functional (and then some). Thanks puddly!

I read somewhere the Conbee lqi reports were bogus due to a firmware bug and I see things are no longer perfect as previously reported. The map lines make more sense too. Prior to the switch most links only appeared when NoneOfTheAbove was checked in map settings, but now most things are showing up as IsAChild which is more reasonable.

#

Time will tell if this fixes the problem that led me to switch - nodes connected to the Conbee not responding, but nodes connected to an intermediary router working fine.

spiral viper
#

I am ready to tear my hair out with z2m

#

I have everything nice and containerized everything looks like it is good but when I click to open it in HA I get a frownie face saying it refused to connect

jade cargo
#

@spiral viper so you aren't using HA os?

spiral viper
#

No I am using Docker

jade cargo
#

ok

#

that's how I do it too

#

what is giving you the face?

#

an entity?

spiral viper
#

when I go back into HA and click on the sidebar where I added the the link

jade cargo
#

do you have to add that in yaml

#

I thought links in the sidebar were only for add ons

spiral viper
#

You can add a couple lines to the HA config.yaml and have it plug into HA

jade cargo
#

is there an example somewhere

spiral viper
#

how do you access it?

jade cargo
#

of adding links

#

I want to do that now

spiral viper
jade cargo
#

oh you are using the host ip

spiral viper
#

You can add that into HA configure.yaml

#

I can see that z2q now has errors in the log

#

this has something to do with the port mapping

jade cargo
#

why not use the hostname of the controller

spiral viper
#

I can see the sonoff on ttyUSB1

jade cargo
#

oh did you map it with the /dev/serial-by-id

gritty frigate
#

Howdy 🙂

[ RESOLVED ]
I've got a few of these Moes BRT-100-TRV radiator thermostats, and while I can hook it up to ZHA, there's a few things missing (Z2M has this fully baked it seems: https://github.com/Koenkk/zigbee2mqtt.io/blob/master/docs/devices/BRT-100-TRV.md)

The entities I'm getting in ZHA are climate.tze200_b6wax7g0_ts0601_becathermosta, switch.tze200_b6wax7g0_ts0601_switch, sensor.tze200_b6wax7g0_ts0601_battery
(so I'm missing out on some of the good stuff :D)

#

Now this device seems to be off in many ways. It announces itself ass Tuya compatible (which is the reason I believe for some of the entities are created), but it actually looks like a Beca (https://zigbee.blakadder.com/Beca_BRT-100.html)

ZHA picks this us with zhaquirks.tuya.ts0601_trv.MoesHY368_Type1new quirk - that seems to be a bit off - given earlier discussions here: https://github.com/zigpy/zigpy/discussions/653, and separation out of this device to be under MoesHY368_Type2 (if I'm reading https://github.com/zigpy/zha-device-handlers/pull/931 correctly).

So that takes me here: https://github.com/zigpy/zha-device-handlers/pull/1192 as a potential quirk improving things

#

adding this quirk is not picking up anything I'd expect by default, but that might be because of:

        MODELS_INFO: [
            ("_TZE200_jeaxp72v", "TS0601"),
            ("_TZE200_kfvq6avy", "TS0601"),
            ("_TZE200_zivfvd7h", "TS0601"),
            ("_TZE200_hhrtiq0x", "TS0601"),
            ("_TZE200_ps5v5jor", "TS0601"),
            ("_TZE200_owwdxjbx", "TS0601"),
            ("_TZE200_8daqwrsj", "TS0601"),
        ],

So this is clearly missing my _TZE200_b6wax7g0 entry

#

so far this was all my thought process (apologies for the length here) - the question would be: is it safe to add this entry and see if it works?
E.g. if it turns out that it doesn't, can I just remove this quirk, restart HA, and I end up getting back to my half-baked zhaquirks.tuya.ts0601_trv.MoesHY368_Type1new?

spiral viper
#

I think these sonoffs are garbage

gritty frigate
spiral viper
#

can someone recommend a good zigbee coordinator this sonoff is crap

#

I think it needs to be flashed and I can unscrew it to open ir

#

it

gritty frigate
gritty frigate
spiral viper
#

Dang I cannot even flash the sonoff

#

looks like the port keeps timing out

#

when issuing this command is there something I can add to slow down the port speed?

#

/opt/sonoff/cc2538-bsl-master# python3 cc2538-bsl.py -p /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_aedea39e0c86ec119966641719c2d21c-if00-port0 -evw --bootloader-sonoff-usb CC1352P2_CC2652P_launchpad_coordinator_20220219.hex

spiral viper
#

figured out how to slow down the port but that did no good

knotty saffron
#

Hello there. I switched my coordinator from Cc253x to sonoff zigbee 3.0 dongle P. How the hell can i re-add my devices without unscrew all wall light switches?

spiral viper
#

ERROR: bytearray index out of range

#

you can manually add them back in by putting them in pairing mode

knotty saffron
#

Yeah, but sonoff zb mini need to push the button, which are located now inside the walls, behind the switches

spiral viper
#

Are you talking about flashing the sonoff?

knotty saffron
#

Nope.

#

About putting them in the pairing mode

spiral viper
#

you are talking about scanning each QR of each device?

knotty saffron
#

It's just a little dice , hidden behind actual wall switch

#

Still nope

spiral viper
#

then I do not understand the issue

knotty saffron
#

I changed my coordinator. All my devices disappeared. I can add them manually, but some of them had hard way to put them in a pairing mode

spiral viper
#

I am guessing that you will have to take them out to put them in pairing mode

#

but don't feel bad

#

I cannot even get my sonoff to work

spiral viper
#

You may wish to look on the sonoff site and see if they allow it to be flashed by python

#

I am trying to flash the usb dongle by python and it is a no go

knotty saffron
#

If zigbee is an standard, then some standardized way to export config should exist

knotty saffron
spiral viper
#

no, I could not get the case open the screws were so tight and small there was no way to open it and push the buttons

#

I think it is just defective

knotty saffron
#

I never saw unopenable anything. It can be uncloseable after, but you can even drill out a heads of screws

sour shadow
#

I used that the other day and it did what it said it would do

spiral viper
#

im using python3 cc2538-bsl.py -p /dev/ttyUSB1 -evw --bootloader-sonoff-usb CC1352P2_CC2652P_launchpad_coordinator_20220219.hex

#

and it keeps erroring out

obsidian sandalBOT
#

Please don't say I have an error or describe an error. Share the whole actual error message so we can help you.

sour shadow
#

You do need to be on a newer version of the script, if you downloaded it ages ago then it may not support the bootloader flag

spiral viper
#

downloaded it a few hours ago

#

i get the error ERROR: bytearray index out of range

#

ERROR: Timeout waiting for ACK/NACK after 'Get Status (0x23)'

#

I get several random errors

#

ERROR: Timeout waiting for ACK/NACK after 'Mem Read (0x2A)'

#

it is having a problem writing it looks like

#

and I am doing it with root so there shouldn't be a problem i don't think

sour shadow
#

Could be you have one of the sticks with quality control issues, I've seen a handful of reports of either poor quality soldering on the antenna, or issues with the NVRAM

spiral viper
#

I am hesitant to get another one

#

maybe I should get something else

#

I could not even open the case on this one

sour shadow
#

I had no issues opening mine, but I do have a suitable screwdriver set

spiral viper
#

they were like welded shut

#

maybe I will just use the smartthings plugin since that is where all my devices are currently and screw using z2m

#

since I cant seem to get it running

#

I wonder if it is the usb port causing problems

sour shadow
#

If that's USB 3, and you're not using a USB extension cable, then quite possibly

spiral viper
#

no its an older usb card

sour shadow
#

Easy test, try to flash it elsewhere

spiral viper
#

like I said I am almost ready to just load the smartthings integration and leave it at that

#

then I won't have to rename everything and reload them all

#

Do you use any of the sonoffs as repeaters

#

and by adding repeaters does it give you more devices?

sour shadow
#

Well Zigbee routers allow you to extend the mesh, covering more range, and potentially adding more devices to the mesh (since there's a limit of how many devices can talk directly to the coordinator)

spiral viper
#

Well I don't think I have hit that limit

#

since everything currently runs

#

could you in theory add a second coordinator?

sour shadow
#

Well, that would create a second mesh, with a second install of Z2M required

spiral viper
#

I guess II should worry about getting the first one going since I wasted all day trying to get this one going

#

It was almost there I think

#

except the container was reporting that it could not connect to the device

sour shadow
#

If the stick wasn't flashed/working then it won't have been able to connect

spiral viper
#

I did not flash it at first

#

thought it might work out of the box

#

but then when I tried to flash it as I showed you it didn't work either

#

So my speculation is that it the device is faulty

sour shadow
#

Then either the computer you're trying to flash it on has a problem (hardware or Python issues) or the device is faulty

#

Try flashing it on another computer

spiral viper
#

python seems to be doing the right things

#

I will order another one and see if I get better results

sour shadow
#

Why not

Try flashing it on another computer

spiral viper
#

I am guessing the usb is ok because the zwave dongle in working fine

graceful elm
#

So interesting discovery today, was doing maintenance on my grandfather's instance and discovered that he had 9 sengled bulbs joined to his zigbee network, strangely they weren't added to the UI at all and I thought it odd that an 87 year old man would go out and buy smart bulbs and then manage to pair them.

#

Called and asked him about it and he didn't know anything about it, so I started toggling them, no changes at his house, but the neighbor's lights were turning on and off

#

I see this morning, they are all unavailable, lol

sour shadow
#

That can happen if you've left pairing enabled and your neighbour tries to pair new devices

graceful elm
#

Yep, it was disabled when I checked, but they must have snuck on, just odd that you'd go buy a bunch of smart lights and not be interested in ensuring they worked

native ether
#

Hello! I'm running HAOS on a RPi4 off an ssd, using an Electrolama stick. It was working perfectly fine and stable up till last night, when my devices stopped responding and ZHA reports error:

Retrying setup: [Errno 2] could not open port /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-1a86_USB_Serial-if00-port0'

Any ideas what could've caused this?

Also seem it's having problems seeing my USB's as I'm getting

➜  ~ ls -l /dev/serial/by-id
ls: /dev/serial/by-id: No such file or directory
➜  ~ ls -l /dev/ttyUSB0
ls: /dev/ttyUSB0: No such file or directory
sour shadow
#

Power issue, maybe?

native ether
#

Using a RPi4 official power brick, and I´m not gettign any undervoltage warnings

#

Also tried restarting the host

#

RPi power status also reports OK

native ether
#

After host restart and reseating the stick it works for a total of 10 seconds before breaking again

➜  ~ ls -l /dev/serial/by-id
total 0
lrwxrwxrwx    1 root     root            13 Aug 28 13:48 usb-1a86_USB_Serial-if00-port0 -> ../../ttyUSB0
➜  ~ ls -l /dev/serial/by-id
total 0
lrwxrwxrwx    1 root     root            13 Aug 28 13:48 usb-1a86_USB_Serial-if00-port0 -> ../../ttyUSB0
➜  ~ ls -l /dev/serial/by-id
ls: /dev/serial/by-id: No such file or directory

#

Less than 10 seconds really. More like 5

#

Wait what

#

It's working again. What the hell is ongoing in this day

#

Not sure what happened but if this happens when I'm away from home it gonna be a problem 😦

#

Broke again lmao

native ether
#

Okay no idea what's going on here. I reflashed the whole OS, reflashed the stick, changed USB ports, but the USB connection keeps fucking up

uneven ruin
#

sounds like hardware to me. Is it on an extension cable? cable going bad?

native ether
#

It is but the cable is brand new. Also it detects it for a while then stops. Now I can't even restart HA from the UI but can use everything else

#

And the fact that it keeps coming up as

➜  ~ ls -l /dev/serial/by-id
ls: /dev/serial/by-id: No such file or directory

seems the issue is with the system finding the usb ports. However the Pi is booting from a usb ssd just fine.

#

This is after plugging the ZZH straight into the Pi. Still no change

#

Now it works again... I'm so confused...

#

There was zero physical changes between these commands

➜  ~ ls -l /dev/serial/by-id
total 0
lrwxrwxrwx    1 root     root            13 Aug 28 15:30 usb-1a86_USB_Serial-if00-port0 -> ../../ttyUSB0
➜  ~ ls -l /dev/serial/by-id
ls: /dev/serial/by-id: No such file or directory
➜  ~ ls -l /dev/serial/by-id
total 0
lrwxrwxrwx    1 root     root            13 Aug 28 15:32 usb-1a86_USB_Serial-if00-port0 -> ../../ttyUSB0
➜  ~ ls -l /dev/serial/by-id
ls: /dev/serial/by-id: No such file or directory
#

Welp. Turns out it might be the cable after all. How it broke without being touch I have no idea, but I'm using a keyboard passthrough now and everything works great

bronze rivet
#

FWIW udev manages those /dev entries, so if a device is disconnecting/reconnecting things like /dev/serial/* may not be present. I'd rely on something like dmesg/lsusb and udevadm monitor -u to track it down.

I used to do Android platform level work. USB cables constantly went bad. I'd spend hours wonder what I screwed up just to remember cables need to be considered shortly after blaming myself 🙂

native ether
#

Thanks! I was wondering if there was a way to ping the port without constantly sending the command.

#

Well. That was a full 3 hours of sunday wasted on a broken cable lmao

#

Thanks guys for the sanity check on the cable

dry lichen
#

What would be the best way to use a Hue Dimmer with Z2M? I want smooth dimming for the group it controls. Zigbee binding does not work.

#

Currently using ControllerX to do it which works fairly well, but i've been told there is a better way to do with HA automations somehow - wonder if there's any truth to this at all

sour shadow
#

@mighty river

#

Third oldest pin

mighty river
sour shadow
#

You never said you didn't know how to search, you said you couldn't find the pin

#

The first list has a convenient search box, I'm sure the second does too

mighty river
#

I didn't say I didn't know how to search because I do.

#

And I didn't say I couldn't find a pin, I said I didn't know which one you were referring to, because you did not specify, and the one you WERE referring to was not helpful.

#

The only item the search box shows is discontinued

#

If you don't know the answer to the question, you could simply not reply.

sick escarp
#

Is there a way to set colors with h,s values instead of x,y? I have Sylvania/Ledvance bulbs that are slightly off with xy color values. I'm on z2m/mosquitto/ha, all separate containers

violet dagger
mellow geode
#

If so, check if there are firmware updates available for your LEDVANCE device (https://update.ledvance.com/firmware-overview).
This issue was common in early firmware versions for LEDVACNE Zigbee 3.0 bulbs but was since fixed for some devices

sick escarp
#

hmm... z2m did find firmware for them, but only up to Jan 7 2019. on that site, the earliest is Feb 28, 2019. This is my particular device:

sick escarp
#

also, no there's no blue tint when set to red.

coarse musk
#

I'd like to migrate from Z2MQTT to ZHA simply due to simplicity and integration with HAOS. I've got one zigbee device that isn't support in ZHA: https://zigbee.blakadder.com/Tuya_PJ-ZGD01.html
Can anyone point me towards how I can assist in building ZHA support? Might well be out of my depth but worth a look.

molten linden
coarse musk
#

ah, now I'm in the right place it seems. I'll get to reading, thanks.

glad plume
#

Hello Team! Since I moved to a new house and few days ago setuped my Home Assistant here and connected my Zigbee Coordinator, my 2.4Ghz WiFi is totally slow and dying. Pinging my router I can see 1200 ms, as soon I change to 5Ghz that is 4ms fix. I can reproduce anytime.

I can change these two things on my router WiFi settings. There is any hint how should I change that? Until now I tried channel 1 and channel 6, both is really bad.

I tried also to move away a few meter with the Coordinator and the Server, does not help. I'll install 15 Zigbee Light Switch soon, so that would totally kill my whole WiFI is that happened after installing 1 piece. Please help me.

https://imgur.com/a/FRQw8iE

Thank you!

sour shadow
#

Have you done a scan to see what WiFi channels are in use?

glad plume
#

Yes.

sour shadow
#

Secondly, for the love of all that's good, don't use 40 Mhz in the 2.4 GHz band

glad plume
#

there is only two wiFi in the area, mine and my neighbour, both channel 6.

sour shadow
#

Well, you shouldn't be using 6 if they are

#

Though your image says one...

glad plume
sour shadow
#

Then it's shit

glad plume
#

yes as I said I changed to one for a test.

#

I change mhz than fast.

sour shadow
#

Also, what Zigbee channel?

glad plume
#

I does not know how to check it. Im using Xiaomi Multimode Gateway with AlexxIT firmware.

sour shadow
#

Are you using it with ZHA (Zigbee Home Automation) or Zigbee2MQTT?

glad plume
#

ZHA sir!

sour shadow
#

Then it defaults to channel 15, which should be fine

glad plume
#

interesting, that is pretty bad that even if I choose channel 1 and channel 15 default on zigbee I have problems.

sour shadow
#

That gateway, is it WiFi only, or does it support wired networking?

glad plume
#

WiFI only sir!

sour shadow
glad plume
#

yes I know.

#

😄

sour shadow
#

So, you've bought a really shitty WiFi device, and a really shitty coordinator

glad plume
#

but I never change a working system

sour shadow
#

"Working"

glad plume
#

since 2 year without problem with any device in my old house.

glad plume
#

and now I changed only the house nothing else 😄

sour shadow
#

Well, start by ensuring that your WiFi device is only using 20 MHz, or set it to channel 6 so that it's not overlapping the Zigbee channel

glad plume
#

of course i'll buy better coordinator but until its working perfectly for me, same with the router. this is my first problem and this is also just settings based problem I think so.

sour shadow
#

The other option is to change your Zigbee channel to 25

obsidian sandalBOT
#

@glad plume 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).

glad plume
#

but after Channel changing re-adding needed to ZHA as I know.

#

i'll try first 20mhz and channel 6.

sour shadow
#

Yes, if you change the channel you (currently) have to re-pair everything

glad plume
#

Thanks mate for the hints, I'll try all of them!

barren moat
#

I am trying out tuya Zigbee relays to retrofit my house. They work as advertised but now the physical switch lose their directionality. They just toggle the lights. On and off positions don’t matter.

#

Are there any relays that can overcome this issue? Or is replacement of switches to toggle switches the only solution.

sour shadow
#

You want a momentary switch to replace them with

barren moat
#

Oh! So much for retrofitting!

sour shadow
#

Or just accept that the switches no longer directly map to the current light state

obsidian sandalBOT
mighty river
#

Hum, sorry I posted the error stack

barren moat
sour shadow
#

You don't have two or three way light switches?

#

I mean, small children can handle if the light is off just flick the switch without worrying about whether things "match"

jaunty flame
#

@jolly narwhal Why isn't RaspBee2 (Phoscon) with Zigbee Home Automation Integration great?

jolly narwhal
#

The ***bee chips are known to be meh

jaunty flame
#

okay, so which one would be better? Took me ages to install a suitable driver though 😄

jolly narwhal
#

Check the pins

#

I use tubes Poe coordinator

#

Great product

#

Anything cc2652 based is fine

#

With either zha or zigbee2mqtt

#

I recommend the latter

jaunty flame
#

ouh, quite expensive

jolly narwhal
#

Sonoff 3.0 is the cheaper option

#

But frankly, when I have 80+ bulbs and 40+ sensors, the cost of the coordinator is miniscule

jaunty flame
#

yeah thats right.

#

As I would prefer not buying anything new (for the moment), would be switching from ZHA integration to deCONZ an option to get it work more stable?

jolly narwhal
#

I've only run with cc1352/2652 and zigbee2mqtt

#

I have never had issues

jaunty flame
jolly narwhal
#

I don't use those, so I never have that problem

jaunty flame
#

haha alright 😄 I will try and keep you updated!

jaunty flame
jolly narwhal
#

I run everything on different containers on two different hosts

jaunty flame
#

Alright - I will first try running as an addon

small ginkgo
#

I'm trying to listen to events to see if that part is working, I'm in the events page of developer tools, listening to deconz_event

#

but I don't know where I can see those events, are they in the log? I don't really understand how the listen to events functionality actually works

sour shadow
#

They'd appear there, in the UI

#

You can try listening to another event there and see what happens

small ginkgo
#

ah

#

yep

#
data:
  id: lumi_remote_b28ac1
  unique_id: 54:ef:44:10:00:44:cf:11
  event: 2002
  device_id: 97d1986375067b04b809d592d137d9ab
origin: LOCAL
time_fired: "2022-08-29T15:42:12.625058+00:00"
context:
  id: 01GBN48YMHC70QFV16PASZ43V2
  parent_id: null
  user_id: null```
#

it's working the buttons then

#

so I guess with that in mind

#

how easy is it to modify this blueprint to support h1

#

since it appears that all the event id's are the same

radiant steppe
#

Good news anyone using Aqara motion sensors ( RTCGQ11LM )
I found a way to make them detect a new motion down to 2 seconds without any hardware modification.
I don't know if I should talk about it here or on the forum to make a lot more people aware.

sour shadow
#

Why not both?

radiant steppe
#

Yep you're right:

  • your device is paired with z2m
  • change the occupancy_timeout to 2 seconds (1 seconds is buggy)
  • this device should not accept values under 60s (indeed, it's not)
  • reset the devices and then remove it from z2m
  • pair it again
  • now the device accept 2 seconds as a good value

It seems like this aqara device only accept config under 60 seconds when the pairing config is sent

#

tested it on another device with same model: 1second is buggy and spam true/ false
2 seconds is perfect

austere patio
tropic depot
#

and i'd guess the hardware is not triggering at 2s

#

unless you modded it

jolly narwhal
#

I was surprised at how well the hardware mod worked

#

Didn't affect battery life too much either

radiant steppe
#

After 1h, the min detection of 2seconds doesn't work anymore wtf.

radiant steppe
austere patio
#

If you just joined the device I believe it does do fast reporting for a little bit but without the hardware mod they always send a "motion detected" event at most once every ~65s