#zigbee-archived

1 messages Β· Page 172 of 1

jolly narwhal
#

December update of what?

#

Tradfri firmware? Conbee firmware?

worthy atlas
#

I seem to have some issues with doing OTA updates in zigbee2Mqtt, trying to update an IKEA tradfri on/off it got stuck at 100% with 14sec remaining, after "hanging" for 10 hours i restarted the addon, no joy, i then stopped and unplugged/plugged the stick and restarted the addon, now it's stuck with "Remaining time N/A" and the "before update firmware number" in the list, any ideas ? (Z2M discord was a bit quiet:D )

jolly narwhal
#

No issues here, I've upgraded all my tradfri devices via z2m

#

Including the on off button

worthy atlas
#

so it's not a general thing... 😦

jolly narwhal
#

What firmware is it currently running?

worthy atlas
#

the on/off was/is running on 2.2.010

#

looks to be stuck in a state of updating even if there's not updates available, and it's working like it is running the updated firmware (binding to device instead of groups is available

{
"battery": 74,
"update": {
"state": "updating"
},
"update_available": false,
"action": "",
"click": null,
"linkquality": 174
}

jolly narwhal
worthy atlas
#

I cant post images, but it's saying 2.2.010 build date: 20190723

jolly narwhal
#

Yeah, the build date thing... Is off often

worthy atlas
jolly narwhal
#

Let me check if it has anything newer available for me

#

Failed to check if any updates are available

#

Oh, device didn't respond to OTA request, let me try to wake it

#

No update available even when awake

#

I tried changing to the non test ota url

#

Let's see if it changes at some point

worthy atlas
#

i ran with the test ota for a while but flipped it back to "mainstream" last week

#

had quite a few updates "pending"

jolly narwhal
#

Let's see what happens

#

It takes a while to refresh the updates I think

#

Oh yes, the updates are now flowing in

worthy atlas
#

let me know what comes of the first one πŸ™‚

jolly narwhal
#

Fails to poll it from that one

#

Updating a bulb currently

#

I'll update what I find

sterile sleet
#

is it safe to update?

last ruin
fresh citrus
#

Hi! I ordered the Elelabs stick and just got it.
#zigbee-archived message

Just do double check. I first perform an update with ele_update to latest version. And after that i use flash to flash it with efr32mg13p-v8-6910-115200.gbl? Where can i find that gbl?

#

The repo contains these files.

./data/EFR32MG13/ELX0X3_MG13_6.7.0_ezsp_v8.gbl
./data/EFR32MG13/ELE_MG13_ot_rcp_115200_120_211116.gbl
./data/EFR32MG13/ELX0X3_MG13_6.0.3_ezsp_v6.gbl
./data/EFR32MG13/ELE_MG13_zb_ncp_115200_610_211112.gbl
./data/EFR32MG21/ELU0143_MG21_zb_ncp_6103_211211.gbl
./data/EFR32MG21/ELU0143_MG21_ot_rcp_123_211211.gbl
ivory hound
#

If i remember correctly

#

give me a few minutes

#

I'll send stuff your way

fresh citrus
#

And just so i know, why would i want that firmware instead of the official one?

ivory hound
#

@fresh citrusso

#

first thing first

#

some guy helped me also with this when i was at the beginning so i want to say thanks again, he know who it is

#

second

#

you will need this

#

now to update it

fresh citrus
#

Yeah so pretty much what i've figured out. Just wanted to check, thanks man πŸ™‚

jolly narwhal
ivory hound
#

you will need first to sw from v6 to v8

jolly narwhal
fresh citrus
ivory hound
#

sudo python3 Elelabs_EzspFwUtility.py probe -p /dev/ttyUSB0

#

just to see if all ok

#

check things out

#

where /dev/ttyUSB0 was my path

#

yours might differ

fresh citrus
#

Yepp

ivory hound
#

ok to sw

fresh citrus
#

I have the command in front of me. So python3 Elelabs_EzspFwUtility.py ele_update -p /dev/ttyUSB0 -v zigbee

sterile sleet
# jolly narwhal Safe what

dunno, the guy before said he has issues with the new firmware? I don't quite get it, but can see updates for mine now too

ivory hound
#

sudo python3 Elelabs_EzspFwUtility.py ele_update -v v8 -p /dev/ttyUSB0

jolly narwhal
#

I've updated 10 bulbs so far

#

No issues yet

fresh citrus
sterile sleet
#

guess I will wait another day πŸ˜„

ivory hound
#

then after update is done

#

sudo python3 Elelabs_EzspFwUtility.py probe -p /dev/ttyUSB0

#

check again things

fresh citrus
#

Seems like it doesn't like the v8.

ivory hound
#

yah it might changed things

#

on updated version

fresh citrus
#

I'll try what it says in the instructions for starters.

ivory hound
#

try it your variant

#

i think maybe dev change it in latest versions

#

i did this in 2021 / 04

#

so most sure things changed a bit

fresh citrus
#

Yeah, it worked. It's a newer version and also v8

ivory hound
#

now

#

to update to latest version

#

you need this file

#

efr32mg13p-v8-6910-115200.gbl

#

or if there is any newer, but i doubt it

fresh citrus
#

I'll try

ivory hound
#

the command should be sudo python3 Elelabs_EzspFwUtility.py flash -f data/efr32mg13p-v8-6910-115200.gbl -p /dev/ttyUSB0

#

if is not changed

#

i have my file in data folder

#

from there this path data/efr32mg13p-v8-6910-115200.gbl

fresh citrus
#

Nope,

2022/01/11 13:52:27 Elelabs_EzspFwUtility:   Successfully restarted into X-MODEM mode! Starting upload of the new firmware... DO NOT INTERRUPT(!)
send error: expected ACK; got b'\x18' for block 1
send error: expected ACK; got b'\x18' for block 1
send error: expected ACK; got b'\x18' for block 1
send error: expected ACK; got b'\r' for block 1
send error: expected ACK; got b'\n' for block 1
send error: expected ACK; got b'S' for block 1
send error: expected ACK; got b'e' for block 1
send error: expected ACK; got b'r' for block 1
send error: expected ACK; got b'i' for block 1
send error: expected ACK; got b'a' for block 1
send error: expected ACK; got b'l' for block 1
send error: expected ACK; got b' ' for block 1
send error: expected ACK; got b'u' for block 1
send error: expected ACK; got b'p' for block 1
send error: expected ACK; got b'l' for block 1
send error: expected ACK; got b'o' for block 1
send error: expected ACK; got b'a' for block 1
send error: NAK received 17 times, aborting.

2022/01/11 13:52:34 Elelabs_EzspFwUtility:   Firmware upload failed. Please try a correct firmware image or restart in normal mode.
obsidian sandalBOT
ivory hound
#

what did you bought exactly?

#

link to it

#

?

fresh citrus
#

I'll download and try again. Maybe something wrong with the download

ivory hound
#

no no

#

wait

ivory hound
#

show me what you bought

worthy atlas
#

just an fyi

fresh citrus
#

Flashing seemed to work now.

#

So first download was corrupted or something

ivory hound
#

aha ok

#

good

#

πŸ™‚

#

u scared me a bit

fresh citrus
# ivory hound aha ok

So looks good?

sudo python3 Elelabs_EzspFwUtility.py probe -p /dev/ttyUSB0
2022/01/11 13:55:59 Elelabs_EzspFwUtility:   Elelabs Zigbee adapter detected:
2022/01/11 13:55:59 Elelabs_EzspFwUtility:   Adapter: ELR023
2022/01/11 13:55:59 Elelabs_EzspFwUtility:   Firmware: 6.9.1-214
2022/01/11 13:55:59 Elelabs_EzspFwUtility:   EZSP v8
#

Thanks a lot for you help, much appreciated!

jolly narwhal
ivory hound
#

legit

#

now you need just some custom settings for ha

#

i'll give this to you also

#

in config of ha

#
    ezsp_config:
      CONFIG_APS_UNICAST_MESSAGE_COUNT: 20
      CONFIG_MAX_END_DEVICE_CHILDREN: 32
      CONFIG_SOURCE_ROUTE_TABLE_SIZE: 200
      CONFIG_ADDRESS_TABLE_SIZE: 16
fresh citrus
ivory hound
#

yes

#

i'll give you one more explicit and complete config

#

but i have to put it ion paste bin

#

one sec

#

enjoy

#

and welcome to community

#

my advice look in pined messages

fresh citrus
ivory hound
#

i put there a way to scan and see what is the best channel for your zigbee network

#

is better to start right from the time you form your network

fresh citrus
#

Yepp.

fresh citrus
jolly narwhal
sour shadow
#

There's a raw option, hidden somewhere

ivory hound
#

@fresh citrusthis is wierd let me check

#

it asks me for account also

#

this is shit

#

one sec

obsidian sandalBOT
#

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

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

sour shadow
#

None of those require logins

fresh citrus
copper rain
#

Does anyone know why when I change zigbee2mqtt/configuration.yaml the changes are reset on restart?

sour shadow
#

I don't remember TBH, I gave up fighting or recommending it ages ago

fresh citrus
ivory hound
#

@fresh citrusdon't stress man

#

ubuntu ppl broke my paste

#

@sour shadow you can remove that pin

#

i'll do another

sour shadow
#

The Zigpy docs have details of doing it now anyway

copper rain
sour shadow
#

I've seen others report that problem, no idea what it's doing

fresh citrus
raven jewel
ivory hound
#

you can pin this

fresh citrus
#

But since i have like 90 devices connected right now the scan might show differently if i disconnect them?

ivory hound
#

ofc

#

ha needs to be down

#

you are using zigbee.db

#

nothing should be using your coordinator when you do the scan

#

since you rise a docker container that will use it

fresh citrus
#

Yeah i'll do that on my laptop. But maybe just shutdown HA anyway

ivory hound
#

you need to shutdown ha and everyhing that uses your coordinator from where you scan and your zigbee.db

fresh citrus
#

Yeah

ivory hound
#

but what i dont understand

sour shadow
#

Or buy a second coordinator

fresh citrus
#

I have one. Just bought the Elelabs. Replacing my ConBee II

ivory hound
#

is how you have 90 devices on a coordinator that you just updated (elu13 one)

#

or ha is still conected with conbee

#

?

fresh citrus
#

I will replace the ConBee II with the Elelabs stick.

#

Since i've had issues with the ConBee II stick

ivory hound
#

yah well my advice start from scratch do not use that network that you have

fresh citrus
#

That's the plan yeah.

ivory hound
#

good man

fresh citrus
#

But just so i understand it correctly. The scan bellows -b 115200 scan -e shows all the channels and "-50" etc. Higher number is better right? -97 is great?

ivory hound
#

yes

#

-97 is the weaker signal

#

so more the signal on a channel is weaker is better

copper rain
ivory hound
#

if you have strong signal on 15 for example and week on 25 then you prefer 25

fresh citrus
ivory hound
#

because

#

it actually measure what is there already

#

if some stuff is there with strong signal

#

you do not want to for your network on that channel

#

you understand?

fresh citrus
#

Yepp.

ivory hound
#

also do multiple scans, it changes πŸ˜„

fresh citrus
#

Yeah i'll run around the house for a while and scan.

#

Thanks a lot for you help!

ivory hound
#

anytime man, i am glad i could give back

#

Walt_H helped me when i was at the beginning

fresh citrus
#

I've used HA for a few years but it's now recently when getting more Zigbee devices it started to drop and bulbs etc not answering. Hopefully the new stick will help.

ivory hound
#

you might need more routers

#

or one of your neighbors decided to play on 2.4 GHz

#

this is the worst thing about zigbee

#

it's on 2.4 GHz

fresh citrus
#

Yeah i know. I have a bunch of bulbs, pretty much everywhere so they route the other stuff.

ivory hound
#

u have ikea?

#

bulbs

#

i am asking because some of them and not only ikea have a bug where they stop routing (they freeze at one point, they still work ok but they do not route)

#

that means for you all devices routed trough that router stops responding until you power cycle the affected router

#

i pretty much changed all my bulbs to ledvance

#

removed all old osram and ikea

fresh citrus
#

Yeah i have only IKEA bulbs

#

And sometimes i have to power cycle them. Hope that would be solved by firmware updates though

#

And it seems like channel 25 is best for me

#

So i should change channel to 25. Should i leave the "channels" as is?

    network:
    channel: 15 # What channel from the mask the radio should try to use.
    channels: [15, 20, 25] # Channel mask to distribute to end devices.
fresh citrus
#

So bellows -b 115200 form -c 25 -D /data/zigbee.db seems to take a while? Or should it be more or less instant?

#

@ivory hound When you're back, did you remember having any issues with it?

ivory hound
#

did not have any issues with it

#

but i was just forming the network

#

had nothing in it

#

except coordinator

fresh citrus
#

How can i do that without a DB?

#

Since i need to specify it?

ivory hound
#

look on bellows github

#

i am sure it's all there

fresh citrus
ivory hound
#

my idea is this

#

stop ha

#

in fact no

#

it involves you to backup your network and stuff

fresh citrus
#

I don't care about the Zigbee network though

ivory hound
#

the best way is to do this when you want to change your coordonator from conbee to the new one

#

so when you decide you want to move from one to the other

#

do this

#

remove zha integration

fresh citrus
#

I'm there right now. And that's done.

ivory hound
#

remove all traces of conf

#

shutdown ha

fresh citrus
#

Also done

ivory hound
#

then

#

remove conbee stick

fresh citrus
#

I'm trying to get the stick to join channel 25. I don't have bellows in my HA.

ivory hound
#

then remove zigbee.db from ha conf dir

fresh citrus
#
bellows -b 115200 form -c 25
Usage: bellows form [OPTIONS]
Try 'bellows form --help' for help.

Error: Invalid value for '-D' / '--database': File '/root/.config/bellows/app.db' does not exist.
ivory hound
#

now we are in the state where ha is stopped and also all traces of zha are gone

fresh citrus
#

It wants the DB. I cant join without DB.

ivory hound
#

then pit in the new coordinator

#

setup zha with my conf

#

zigbee.db should appear again

#

at this point you have zha setup and ha running with nothing except coordinator in zgibee db

#

then stop ha

#

then you do bellows stuff

#

but your problem seem to be the path to where zigbee.db is

#

Error: Invalid value for '-D' / '--database': File '/root/.config/bellows/app.db' does not exist.

#

ofc does not exist

fresh citrus
#

I mean i don't have bellows in HA. I need to do it on another machine

ivory hound
#

you should use path to zigbee.db that is in your ha conf dir

#

fallow all the steps i said it will work

fresh citrus
#

Then where should i run bellows?

ivory hound
#

do not matter

#

run the commands on the same machine where you have ha

#

run the command from the folder where bellows is

fresh citrus
#

I have the HA Blue. i dont have docker/bellow there. I need to move it to my laptop

ivory hound
#

make sure to put the correct path to zigbee.db

fresh citrus
#

So i need to move the zigbee.db in that case.

ivory hound
#

see this is the problem

#

yes

#

do not get zigbee.db is ha is running

fresh citrus
#

Yeah i know. I'm making a backup of HA first. It'll take some time. But right now i've removed old ZHA integration, removed Conbee stick. Removed integration. Currently backing up.

#

And zigbee.db doesn't exist.

fresh citrus
#

Maybe an error in the config. Let me check

ivory hound
#

one sec

#

one the network

austere patio
# fresh citrus And zigbee.db doesn't exist.

It's not necessary for the formation command, I'm not too sure why it asks for it. If it ran earlier but got "stuck", it probably worked. Can you run bellows -d /dev/... info to see what the logical channel is for your network?

ivory hound
#

part

#

remove all except this:

#
    network:
      channel: 25             # What channel from the mask the radio should try to use.
#

ofc use whatever channel you want

#

or remove it

#

and you set the channel after

fresh citrus
#

Yeah i had those two on the same column. Not it worked πŸ™‚

#

So now i'll copy the zibgee.db to my laptop and plugin my stick and in the docker try to join channel 25

ivory hound
#

again

#

i can not stress this enough

#

do not copy/move zigbee.db while ha is started

fresh citrus
#

Got it. I'm disabling the ZHA integration and see how i can stop the HA core

ivory hound
#

not sure diable is a way

#

i dont have much experience with ha on hasos

#

for me docker containers are the way to go

fresh citrus
#

Yeah i stopped core.

ivory hound
#

tbh for me that thing is a mistery

#

i am guessing is a service

#

this core

#

on hasos

ivory hound
#

eee

#

gj

#

now scan for channels

#

see what is best

fresh citrus
#

I've done that already

ivory hound
#

and

fresh citrus
#

Yes, i want to join 25....

#

But again, it doesn't work.

ivory hound
#

do the command for leaving

#

and joining new channel

#

again you have to do this agains the db

fresh citrus
#

I am

ivory hound
#

and then move this new db back on your ha host

fresh citrus
#

Yes

#

But this command bellows -b 115200 form -c 25 -D /data/zigbee.db hangs, no output.

#

But info now gives me radioChannel=25

#

So i guess it worked anyway (i cancelled the command)

#

So DB moved back, stick plugged back in and core started.

#

Sooo, it seems to work. Is there any other place to see the channel except for bellows so i can verify it's the correct one?

ivory hound
#

maybe on coordinator on zha

#

if you click

#

i dont have zha from long time

#

maybe somebody else can help here

austere patio
austere patio
#

Hopefully in the near future this process will become slightly less painful

fresh citrus
#

Haha, yeah i hope i don't have to do this again.

austere patio
#

While it's possible to migrate from the Conbee straight to your Elelabs/EZSP radio and keep your devices, it's something that can only be done once for your target radio so it's probably better to re-join your devices on a better channel.

fresh citrus
#

Yeah i've heard several people say that. It's a lot of work but what the hell. I'll redo it. First bulb paired now and that seems to work.

ivory hound
#

hopefully you only do it once and hey the next guy that need help will give you a shout πŸ˜„

fresh citrus
#

Maybe :D. Again, huge thanks for your effort. Appreciate it!

ivory hound
#

any time man

fresh citrus
#

No groups are created though. Wonder if that's a ZHA thing, probably. Worked before though.

swift wagon
#

I'm a n00b troubleshooting a zigbee bulb from Innr that decided to stop working. I manually put the bulb in pairing mode but I cannot get it to reconnect. I'm using ZHA, docker container, and my USB zigbee stick is described as "ZNP = Texas Instruments Z-Stack" in Home Assistant. I'd like to share the logs to see if anyone can help me troubleshoot. What's the preferred way for sharing logs in this group?

jolly narwhal
#

@worthy atlas just started the update, says 90 minutes left

lime locust
#

cc2652p2 <-- the p means 20dbm gain , is this on by default in z2m , or do i need to set this ?

jolly narwhal
#

More gain != Better

sour shadow
#

You need the right firmware, and to set it

jolly narwhal
#

It defaulted to 5 in the past and 9 now I believe

#

And if you understand desibel, that is a huge difference

lime locust
#

right , there used to be a setting in the webinterface z2m , is it removed ?

sour shadow
#

Do update the firmware first

jolly narwhal
#

And do get more routers instead

lime locust
#

so setting it to 20 is safe , wont need extra cooling etc .. ?

sour shadow
#

Depends on the stick you have, and the firmware

jolly narwhal
#

I see no reason anyone would need to set it to 20

sour shadow
#

Worst case it catches fire

jolly narwhal
#

Unless it was outdoors

#

Trying to talk 2km

vestal atlas
#

Active mode RX: 6.9 mA
Active mode TX 0 dBm: 7.3 mA
Active mode TX 5 dBm: 9.6 mA
Active mode TX at +10 dBm: 22 mA
Active mode TX at +20 dBm: 85 mA

lime locust
#

more gain means more range thats alway a good thing right

jolly narwhal
#

No

austere patio
#

It applies only in one direction

sour shadow
#

Just because you can use a megaphone to be heard by your friends, doesn't mean you can hear them whisper back to you

#

Same reason so many people buy long range WiFi access points, and then are surprised_pikachu when it turns out it doesn't solve their range issues

jolly narwhal
#

Did you say 1200ft cat5e Poe?

austere patio
#

I also have a theory that having extremely high TX power may actually degrade performance for new devices joining the mesh, since they pick the coordinator as their parent due to the LQI being high in one direction, but the coordinator won't actually hear the device any better

jolly narwhal
#

Feedback is a thing yes

austere patio
#

Not sure if devices try joining a network multiple times, cycling through potential parents

sour shadow
#

I know Xiaomi just pair via the first thing that responds

#

I won't be surprised if many other devices do that, or join via the strongest signal

#

So, as you said, a loud coordinator just gives you a crap mesh

austere patio
#

In theory it might be good for broadcast/multicast

#

But those packets make up only a small portion of network traffic

sour shadow
#

I can see that a moderate increase could help in some situations, like where you've got relatively little interference and the coordinator is sufficiently sensitive

lime locust
#

there a way to see what dbm is being used , or does the 2652 just defaults to 9

sour shadow
sterile sleet
#

can i set a router device to not accept node connections? using z2m
I have a power plug which gets power cut sometimes, don't want any other nodes connected through it

#

I experience the nodes fall off the mesh when the plug gets offline

austere patio
sterile sleet
#

hm, then I will re order this setup so its not~~ getting turned~~ cut off... thanks

jolly python
#

I have ordered myself a conbee2 stick and wanted to use it with deconz on my home assistant server. Now i heard that the conbee2 stick maybe is not the best solution, why is that? Is there some literature around where i can read something about it liek the pros and cons

rapid skiff
#

Is there such thing as a lux sensor that can keep a room brightness consistent with outdoor lighting? For example dim the lights when the sun is bright

sour shadow
#

Not by itself, no

jolly python
#

I think you can write yourself an automation for that and use something like the aquara motion sensor

sour shadow
#

Well, not that one, that's crap for light

#

The Xiaomi light sensor is pretty good, as are the Hue motion sensor, and the Develco multi-sensor

fresh citrus
#

I just switched to an Elelabs stick and repairing everything. New ZHA groups etc etc.
It seems like the groups are not created in HA. Even though the logs say they are.

2022-01-11 20:38:49 INFO (MainThread) [homeassistant.components.zha.core.group] [light_group_vardagsrum_tak](0x0004): group_added
2022-01-11 20:38:49 INFO (MainThread) [homeassistant.components.zha.core.group] [light_group_vardagsrum_tak](0x0004): group_member_added - endpoint: <Endpoint id=1 in=[basic:0x0000, identify:0x0003, groups:0x0004, scenes:0x0005, on_off:0x0006, level:0x0008, light_color:0x0300, lightlink:0x1000, manufacturer_specific:0xFC7C] out=[scenes:0x0005, ota:0x0019, poll_control:0x0020, lightlink:0x1000] status=<Status.ZDO_INIT: 1>>
2022-01-11 20:38:49 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new light.zha entity: light.light_group_vardagsrum_tak_zha_group_0x0004

Any ideas?

jolly python
rapid skiff
#

Does hue stuff work directly with zigbee?

sour shadow
#

Yes

#

It's Zigbee after all

rapid skiff
#

Didn't know if it needed a hub

sour shadow
#

Zigbee needs a coordinator, of some form

rapid skiff
#

Yeah but besides that

sour shadow
#

Which Zigbee integration are you using?

#

ZHA? Zigbee2MQTT? ||deCONZ||?

rapid skiff
#

Going to use zigbee2mqtt on a unraid docker

#

Nothing yet

sour shadow
#

Then you can browse the list of supported hardware and blow your mind

rapid skiff
#

So that entire list works directly with a coordinator?

sour shadow
#

Well, yes, but no

jolly narwhal
#

@worthy atlas currently stuck like this

rapid skiff
sour shadow
#

Yes

#

That's the whole point

rapid skiff
#

They all say hub required so I don't know sometimes

mellow geode
#

It's not like Philips wants you to use Z2M

worthy atlas
rapid skiff
#

Like will I be able to pair my sengled bulb to Z2M

mellow geode
#

if it's Zigbee, yes. (and not Bluetooth or whatever else they make)

rapid skiff
#

I belive so

sour shadow
#

If it's on that page, you can use it

#

Don't over think it

rapid skiff
#

Got it

#

lol I do that

sour shadow
#

Hell, if it's not on that page and is Zigbee you can still use it, you just have to do a little work

sour shadow
#

Zigbee, and Z-Wave, are standards. You can (mostly) use anything

rapid skiff
#

I get my cheap coordinator on thursday for testing

torn saffron
#

Hi everyone. I’m considering putting my Nuc which the coordinator is attached to in my network room (to be built so can’t test now), which is in the corner of the house. It should still have routers near it but now there will be more walls separating them, is that expected to have a major impact? (Zigbee)

sour shadow
#

It'll have some impact

#

If you have a normal sized house, probably not a big one

torn saffron
#

Decently sized. Hm. The only reason I’m planning on doing a network room is the noisy UPS I got. More devices, more problems. But that’s offtopic I guess.

jolly narwhal
#

Did anyone say noisy network room

sour shadow
#

Mine lives in the corner, no real issues here, but then the far end of the house is only 2 or 3 hops

jolly narwhal
#

Latest update from koenkk 1h ago

#

Think it is the same

#

Which leads to

This is the same issue as #10666 , currently working on a fix there.

Note that this is a bug on the z2m side, if the progress is 100 the device updated succesfully.
Current workaround:

stop z2m
remove the update state in data/state.json
start z2m
If your button doesn't send any events anymore, click the yellow reconfigure button in the frontend, just before that make sure to wakeup the device by pressing a button on it.
inner bay
#

is a firmware flash required for the sonoff zigbee 3,0 dongle ?

jolly narwhal
#

Well, if you want to run the latest firmware at any given time

#

Sure

inner bay
#

but with z2m it runs out of the box ?

sour shadow
#

Sure, but you'll want to update it

#

New firmware is released regularly

jolly narwhal
#

For a reason

sour shadow
#

Yeah, but some people don't want to listen...

inner bay
#

can be flashed on pc thru usb port ?

#

or i need a ccdebugger kind of flasher ?

sour shadow
#

It comes with instructions for how to flash it...

inner bay
#

didn't get it yet....just checking the terrain

inner bay
#

in transit from china

oak isle
#

deCONZ is what i use to install zigbee right

#

I have the Nortek USB stick and I'm setting Z-wave and zigbee up . just wanted to make sure i had the right app

sour shadow
#

That doesn't sound right

#

deCONZ can't use that stick

#

ZHA now, that could

oak isle
#

That's the only add-on it shows is deCONZ, the Nortek USB is capable of running on both zwave and zigbee

sour shadow
#

Right, but why are you looking for an add-on?

#

Why not just use ZHA?

oak isle
#

Well, I'm brand new and I have no idea how to do this rather than youtube videos. I can't find ZHA,

obsidian sandalBOT
sour shadow
#

☝️

#

You'll also want to read the channel topic and the pinned messages

oak isle
#

Ok thanks, will start there I appreciate it πŸ™‚

sour shadow
#

deCONZ is not your friend here

jolly python
#

Is it possible to run deconz and zha simultaneously if you use an own zigbee sticks for both

sour shadow
#

Yes

#

If you keep them on separate channels, with different PanIDs

hexed cipher
#

Hello there. Im in the process of switching from a tradfri zigbee bridge to ZHA and have a few questions, this looks like the right place to ask:

  1. with the tradfri system i could assign lamps to a remote to have them controlled by it even when the bridge was down. Is there any way to emulate this behaviour with ZHA?
  2. I have a fixture with multiple bulbs, organised in a light group and automation set up to control them via a remote. The call service option for the light group only gives me an option for setting the light temperature but none to incrementally change it, any advice on how to do that?
  3. is there a way to turn the tradfri bridge into a router?
    I only switched to Home Assistant from OpenHab recently, so please excuse if I'm not up to speed on everything.
mellow geode
# hexed cipher Hello there. Im in the process of switching from a tradfri zigbee bridge to ZHA ...
  1. You can bind a remote directly to a lamp. Recently, IKEA broke group binding with the latest firmware though. Binding a remote to a single light still works. (Should als work if you bind a remote to multiple lights without using a group. Might get laggy/weird with on/off behavior though. I just ended up using HA for basically every remote. Only a couple of on/off switches are still directly bound each to one lamp.)
  2. There are some blueprints/scripts (or maybe even blueprints that could do that). You'll probably have to search a bit (maybe HA forums). (Looks like "Light Hook" can do it: https://community.home-assistant.io/t/light-hook-control-any-light-rgb-color-temp-brightness-with-one-of-the-supported-controllers/286443. You could try to extract the relevant parts of the scripts if you don't want to use the whole blueprint. But there might be better code snippets for that)
  3. No
hexed cipher
#

thanks

hexed cipher
#

the Light Hook thing looks pretty much like exactly what i need, thanks

mellow geode
#

Yeah, ZHA has a UI for that. I can't find any proper guides immediately. But you would want to go to: Settings -> Integrations -> ZHA -> Configure -> Devices -> select remote -> Manage Clusters. (some things might be named differently)

hexed cipher
#

ah, ok

#

ive been in the clusters screen, didnt know what it was for though

mellow geode
#

Under "Device Binding", you can bind the remote to a single light. Select the light, press bind and then immediately press any button on the remote to wake it up (so it can receive the command). That remote should be bound to the light now.

#

It's similar for group binding. There, you also need to select the clusters which you want to bind. (Probably OnOff/LevelControl/Scenes (maybe Groups/LightLink too))

#

(But group binding seems to be broken in the latest firmware for IKEA remotes)

hexed cipher
#

The binding thing worked, thanks

bleak cave
#

Hey folks, I have a CC2531 with an older Z-Stack firmware. I want to update it to the most recent without the use of a CCDebugger. I came across this article here of how to accomplish such a reflash. Has anyone tried this and is this still a working procedure, given that this was written a few years back? Thanks! https://github.com/Koenkk/zigbee2mqtt/issues/320

austere patio
#

Works fine

#

Though very few people use it

bleak cave
#

That was quick! And from the master himself -- thanks puddly! πŸ™‚

#

Most people use a CCDebugger I suppose?

austere patio
#

This method isn't in the Z2M documentation so it's not really something people know about. It's also not as "low-level", so you can't fully erase a CC2531 with it. Make sure to erase NVRAM when moving between releases (e.g. Z-Stack 1 -> 3, though you shouldn't do that to begin with)

bleak cave
#

Thanks -- yeah, with that old device, I'll stick with the 1.2 firmware of course πŸ™‚

#

Am I correct in assuming that your zigpy.znp tools (flash_write) would accomplish the same?

austere patio
#

Yeah, those work the same way as the Windows utility

jolly python
#

is it a good idea to use the conbee 2 with ZHA or are there problems to expect?

jolly narwhal
#

Mixed user reports

#

We have a dozen or so users every week show up with "lol my ZigBee doesn't work great" running Conbee, but they also usually have 0 routers

#

Users Shrug

jolly python
#

With routers you mean devices like zigbee plugs?

jolly narwhal
#

Or bulbs

#

Or other router capable devices

jolly python
#

Okay, i have dozens of routers then, coming from a hue system with 23 Bulbs/plugs. More plugs coming. Would it be difficult to change the stick afterwards, besides the act of the need of the new pairing of the devices? I have a conbee 2 stick ordered and its allready here but not opened so i'm questioning myself if i should send it back or if i could start with it

jolly narwhal
#

Migrating should be possible, but I've never done it

obsidian sandalBOT
#

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

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

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

jolly python
#

Isn't zigbee2mqtt something else than ZHA?

jolly narwhal
#

Yes

#

It is what I would recommend

jolly python
#

So if i want to keep the conbee 2 i should use deconz elsewise i should get an other stick. And using deconz isn't the best idea because of the amount of included modules

jolly narwhal
#

Yes

jolly python
#

So a good start would be the zzh Multiprotocol RF Stick with CC2652R1 or are there any downsides with it?

jolly narwhal
#

I currently use that one, it is great

#

I'm switching to a Poe coordinator from tube

#

To get rid of the pi

jolly python
#

I have a hp elitedesk server on which home assistant os runs inside a virtual machine on linux, it wouldnt be a problem to run the stick on a usb port of it (with use of a usb2.0 extension of course)?

jolly narwhal
#

Probably not

sour shadow
#

Should be no issues at all

jolly python
#

why couldnt you run your zigbee stick directly on a usb port of the host where home assistant runs?

jolly narwhal
#

Because I don't run haos

#

Or zha

jolly python
#

ok so zigbe2mqtt it is

jolly narwhal
#

Decoupling smart

#

My ha container can run anywhere and still have access to everything else it needs on my network

#

Including zigbee2mqtt that can run anywhere

sour shadow
#

Direct in the port introduces RF noise issues, on a USB extension cable avoids those, and tends to put the stick where it gets better connectivity

jolly python
jolly python
#

shipping from Great Britain, oof

sour shadow
#

Then buy one of the other options shrug

raven jewel
#

Or buy it from somewhere else. My Sonoff stick from iTead came from China

sour shadow
#

Well, the ZZH is only sold in one place

raven jewel
#

Very true. Though there may be a second hand market nearby. Someone who's partner is fed of up with them tweaking all the lights or similar πŸ˜›

violet dagger
#

sooo.... everyone

raven jewel
#

I definitely didn't spend a day wandering around mostly in the dark because I'd forgotten about the existence of light switches when my Pi SD card failed the other day. (Follow the advice folks, use an SSD or a better machine.)

jovial aspen
#

or have another expendable sd card at the ready and backup your config to google drive πŸ™‚

jolly narwhal
jovial aspen
#

i will admit i've looked into migrating back to a virtualbox HAOS VM on my xeon box

#

looks like a pretty seamless transition

jolly narwhal
#

🀒

jovial aspen
#

oh shush

jolly narwhal
#

Virtualbox, sounds like a Windows server

jovial aspen
#

debian

jolly narwhal
#

Why on earth

#

KVM goaFeelsLoveMan

jovial aspen
#

set it up years ago when i was still learning

#

tbh i'm too afraid to touch it

jolly narwhal
#

I can help you touch it

jovial aspen
#

there's a 24tb raid6 array sitting on there with EVERYTHING on it

jolly narwhal
#

These are rookie numbers!

jovial aspen
#

my controller died a few years ago and took the array with it

jolly narwhal
#

Also, where is the backup?

jovial aspen
#

and i've been gunshy of it ever since haha

jolly narwhal
#

Also why we run software raid, not controller depending

jovial aspen
#

it is software raid

#

it died in such a way that the data was unrecoverable

violet dagger
#

in a fire?

jolly narwhal
#

What software raid?

jovial aspen
#

it looked like a single disk failing, so i just kept rebuilding the array

#

then during a rebuild a second disk dropped out, then the controller failed

#

lesson learned. raid6 and keep a spare controller card in the drawer.

jolly narwhal
#

Was this btrfs?

jovial aspen
#

nah it was ext4

#

like i said, i set it up when i was learning

jolly narwhal
#

That isn't raid

jovial aspen
#

and just kept adding to it

#

i've been moving stuff off it so i can overhaul it and do it smarter this time

jolly narwhal
#

Drop hardware raid, run zfs if you have more than 32gb, if not run btrfs

jovial aspen
#

nah only 16gb, i think

#

i looked at zfs, but the overhead was too much

#

it'll be btrfs this time

#

you rate KVM then?

jolly narwhal
#

I do KVM for the three vms I run on Linux yes

#

Everything else is docker

#

Or in my vsphere lab

jovial aspen
#

my needs are pretty simple

#

if i've gotten by all this time on vbox πŸ€·β€β™‚οΈ

jolly narwhal
#

It works driving on older tires

#

It isn't wise

raven jewel
jolly narwhal
jovial aspen
#

i'm at a bit of a loss as to what to do with my yellow now

jolly narwhal
jovial aspen
#

😢

violet dagger
#

destroy it ceremonially in a tiktok video

sour shadow
#

Paint it black?

jovial aspen
#

anyway, i'm calling it a night. i may pick your brain in #hardware-archived at some point in the future.

last ruin
#

Almost every time I go into deCONZ there is a update progress going on on a couple IKEA TrΓ₯dfri repeaters. /data/otau/117C-1102-23086631.zigbee is the file. Version in the table is 0x23070631. After about 10 minutes the progress is set to Done, but it still wants to update again at a later time. Ideas?

low rock
#

Hi fellow nerds!
I got my new zigbeestick today, slaehs CC2652R. Gonna migrate from ZHA to Z2M and move my devices from Conbee I.
Is there any config in HA that I should save before starting? I mean I'll need to repair everything, but is there and need for saving the network key or anything? Dont have any locks or stuff like that, but might as well ask.

sour shadow
#

Nothing to save, no

jolly narwhal
#

How many devices?

jolly narwhal
#

Is joining enabled in zigbee2mqtt?

#

Then just turn the bulb off and on five times and leave it on the sixth time

#

Or if it is totally new you just turn it on

#

Yes

sour shadow
#

You may still need to do the reset dance

jolly narwhal
#

It is a bit misleading in the tradfri

#

If you do on off one time too many

#

It will still blink

#

But not join

sour shadow
#

Reset the device so it goes into pairing mode

jolly narwhal
#

No

sour shadow
#

Exactly X times

jolly narwhal
#

Exactly the right amount

jolly narwhal
#

My experience is at least that if you do it one time to many it will fail

#

And cost me 20 minutes until I figured it out

sour shadow
#

That's something in your HAOS stack connecting to the broker and disconnecting

#

Doesn't look strange

jolly narwhal
#

Whatever has that internal IP connects and disconnects from the broker

#

Whatever that is, who knows

sour shadow
#

The issue says Supervisor, which would make sense

jolly narwhal
#

They come for a reason

ivory hound
#

i have this issue on zigbee2mqtt where after ota update of a device ota fw is updated but it z2m shows old fw version after update

#

if i check for update again, no more updates are offer

#

is like this for all my updated devices

#

what am I missing

#

?

lilac wharf
#

Probably a frontend bug

jolly narwhal
#

You can try repairing one

#

See if it does a new interview

ivory hound
#

i did not try but i have some old ones that when i've updated had the same problem, i think i've re paired them and now they do show new version

#

no idea what is going on there but i'll test with a re pair, even tho i am pretty sure after a rejoin will show the correct version

#

what i tried was reconfigure (which i have no idea still what it does) and did not work, i mean it said reconfigured successfully but same old fw version displayed

prisma shell
#

has anything changed with zigbee in the last couple updates?

#

my ikea buttons are killing the battery in under 24h, and i've tried 2 different brands

jolly narwhal
#

Sounds like poor coverage / too few routers

ivory hound
#

@prisma shellwhat else did you change in this last days?

#

did you move them in other location

#

?

prisma shell
#

nothing

#

i've updated tasmota and HA

ivory hound
#

now we are getting somewhere

#

do you use zha?

prisma shell
#

i guess it was 2 weeks ago now and ever since then batteries go from full to 0.8v the next day

#

yes

#

it was working well for a while

#

months. i tried reconfiguring and repairing the buttons as well

ivory hound
#

maybe is something in this ZHA relase

#

try older version?

prisma shell
#

yeah guess i'll have to

ivory hound
#

my guess is when you updated ha / implicit ZHA also introduced some bug or so

#

search also the internet for your issue

#

issues on git on ha

#

see if it works ok with older version make a bug on git

prisma shell
#

yeah I was kinda hoping I wasn't the only one here with the issue

silk sphinx
#

Hi, I'm back with my "Friends Of Hue" issues.
i'm using z2m with conbee ii and have another conbee ii with wireshark to debug the communication.
when i press buttons on my ZGP switches (enocean PTM 215Z), i always get "some messages" (usually 2-3 per press or release) from the switch, but in many cases they don't seem to get relayed by my routers and mostly they don't reach zigbee2mqtt

#

does anyone have an idea how i can further debug the ZGP communication?

austere patio
#

You're not seeing the encapsulated ZGP frame being sent by routers after they pick up the ZGP frame sent by your switch?

silk sphinx
#

@austere patio i'm not 100% sure because the network is quite busy. i always pick up the ZGP messages.
https://imgur.com/Jjf6m7V

#

the first one is the ZGP message and the broadcast messages afterwards are coming from different hue devices and presumably relay the picked up ZGP message?

sterile sleet
#

I see >20min ota updates with z2m, is this the norm?

silk sphinx
#

@sterile sleet yes, i'm updating a hue power outlet for 20 minutes already. my record was > 1,5 hours πŸ˜„

sterile sleet
#

ok, then I will do updates for the next 2 days
I remember it beign 5 minutes in zha

silk sphinx
#

@austere patio when i don't see events in zigpee2mqtt, there are no broadcast messages following the ZGP message, so I'm pretty sure that's related. is that a problem of the hue devices themselves or does the coordinator have an influence on their ZGP proxy functionality

austere patio
#

I'm not too familiar with ZGP but I think the coordinator may not make a difference. The Conbee's protocol doesn't explicitly say anything about ZGP so I think the stick itself cannot be a ZGP proxy (sink?) but other routers can

jolly narwhal
silk sphinx
#

i think the conbee somewhat supports zgp routing, but i have plenty of hue routers around

jolly narwhal
#

I do 4-8 in parallel

austere patio
silk sphinx
#

not sure if that would also apply to z2m, i'm not using deconz because the device support and stability wasn't great

#

i need to find out what the packages look like routers are sending to relay ZGP messages

austere patio
#

They'll be destined for endpoint 242, you should be able to filter traffic that way

cedar portal
#

Is it possible for me to test out the Zigbee2MQTT add-on while not losing my ZHA configs? Meaning, can I disable ZHA and then try out some stuff with Z2M and if I hate it, re-enable ZHA and not have to rediscover every single device again?

austere patio
#

Z2M will erase your network settings

#

What coordinator are you using?

hexed cipher
cedar portal
#

HUSBZB-1

#

Could I utilize backups or snapshots to restore ZHA? Or does Z2M/ZHA store information in the devices/coordinator themselves somehow?

austere patio
#

I'm actually not too sure how Z2M handles the HUSBZB-1's network state. Let me double check with mine.

austere patio
#

Yeah, Leaving current network and forming new network. You'll have to do a backup with the bellows utility.

mighty river
#

Hi everyone!

#

I got a little problem with the Zigbee-RGB-CCT-Controller I just received ...
I can add it no problem, but the colors are switched (on their pinheader)
Is there any chance that I can change this with a setting in the light-integration?

#

LED-Strip: 12-R-G-B-C-W
vs.
Controller: 12-G-R-B-W-C

hybrid crown
#

i got a cc2531 cc with a debugger cable

#

i have tried wiring it in different ways and tried different wires

#

anyone have any suggestions

#

@hexed cipher what are circuit probes

mighty river
#

@hybrid crown I just checked my notes from before when I flashed a CC2531 ...
What color does the LED of the debugger show?

zinc laurel
#

I am running HA OS and recently switched to Zigbee2mqtt (HA add-on) and it seems like devices are taking forever to connect after a boot of the OS (pi3). Devices connected quickly using ZHA, but now only the closest device seems to connect straight after reboot? Am i too impatient?

hybrid crown
#

you mean the led on the device?

#

im not using a cc debugger, just the cable that connects to it

hexed cipher
brittle turtle
#

Hi folks! I'm wanting to put an outdoor motion sensor in my shipping box. One problem - it's about 100 ft away from my house, and over a hill (not direct line of sight). I'm wondering if I should place a few outdoor motion sensors in other useful places to mesh my way out there?

sour shadow
#

Battery powered devices are end devices, they don't extend the mesh

sour shadow
brittle turtle
#

Are there solar options maybe?

sour shadow
#

I've never heard of any, it's unlikely

#

You'd be a lot better off with something like LORA

brittle turtle
sour shadow
#

To be honest, I'm no expert. I know very little about it, just that it exists and is ideal for this kind of thing

hybrid crown
#

on the cc2531 the led is a solid green light

silk sphinx
#

Received Zigbee message from 'schalter_hauptbad', type 'commandNotification', cluster 'greenPower', data '{"commandFrame":{},"commandID":21,"frameCounter":378,"options":0,"payloadSize":0,"srcID":24429192}' from endpoint 242 with groupID 2948

this is from the z2m log.
for a ZGP device, would endpoint always be the coordinator or is it the router that first translated the ZGP message?

mighty river
mighty river
hybrid crown
#

but im not using a debugger just the cable. im using flash_cc2531

#

er

#

thats where i got the flash thing from

mighty river
hybrid crown
#

let me try that one

mighty river
#

but I used the cc-debugger - so it might be that this only works for 'cc-tool'

hybrid crown
#

is there no way to flash without using the debug ports?

#

yeah that tool looks like it interfaces with the cc debugger

silk sphinx
#

@mystic copper I went up to the attic next to the conbee coordinator and the buttons work there every time. So my hue devices are not relaying messages 😩

#

Had I known how annoying ZGP is I wouldn't have bought 25 switches πŸ˜’

austere patio
#

That's odd. I don't know what Z2M shows but do they have an endpoint with ID 242? I would have thought hue stuff would work with other hue stuff.

silk sphinx
#

The endpoint on the zgp devices or for the hue devices?

#

My hue bulbs have endpoint 242 > output clusters > green power
The switches all just have endpoint 242

hybrid crown
#

aw man looks like the cc2531 is garbage - such a bummer

junior viper
#

If flashing my new Sonoff zigbee-adapter, do I need to flash both coordinator and router for usage in Z2M?

lilac wharf
#

If you want to use it as a coordinator, flash the coordinator firmware; if you want to use it as a router, flash the router firmware

junior viper
#

What is the best use case to replace a Conbee stick? Coordinator?

lilac wharf
#

You need a coordinator to have a zigbee network, so if you're replacing your Conbee with the Sonoff stick then yes, flash the coordinator firmware

junior viper
#

Ok, thx. Seems to be pre-flashed ootb, since I could add it through ZHA

lilac wharf
#

It is, but upgrading the firmware is a good idea

junior viper
#

Allright, I'll try. 502 Bad gateway in Z2M though, so I'll try an upgrade

silk sphinx
#

@junior viper why do you want to replace the conbee?

#

@junior viper check the protocol, most likely z2m has a configuration problem

junior viper
silk sphinx
#

@junior viper i use a conbee as well and overall I'm quite satisfied, very reliable even with over 60 devices.

#

My initial fault was that I didn't use z2m groups and instead tried to /set 10 bulbs at once for example

junior viper
#

Deconz/ZHA is great, but I encountered long latencies in notifications (not sure if it's related to ZHA/Deconz, but Z2M notifies instantly as for my water leak sensors for example)

silk sphinx
#

deconz was worst for me

tropic depot
#

there shouldn't be any delays w/ ZHA

#

would be interesting to get more detail there when you have time

silk sphinx
#

I hope my conbee stays stable πŸ˜…

junior viper
#

I can gift mine to you if you like ;p

#

IF my Sonoff stick is reliable ofc

junior viper
#

Interesting, SmartRF cannot find my Sonoff dongle

jolly narwhal
#

Smartrf and ZigBee atx

junior viper
#

What about it? πŸ˜„

dreamy eagle
#

I'm back with another Zigbee question. I'm running HA OS on a VirtualBox VM on a Win10 host. I am able to pass the Zigbee stick through to the VM, which sees it on COM1. I can get everything to work (HA OS discovers deCONZ with a valid IP, Phoscon works and accepts the IP and port to open the gateway to the VM). What I cannot get to work is creation of an actual network. deCONZ on PC reFUses to recognize the Conbee so I cannot get the network to materialize. Hence, my sensors are in the wilderness. I assume I'm doing (or not doing) something basic. Can anyone suggest a troubleshooting path? I'm about to tear out what's left of my hair!

left geode
#

Hello I am hoping someone can help me. My issue is with the ikea tradfri remote buttons. It has the five buttons; up,down,left,right and center. I have paired with a tubes cc2652p2 poe coordinator integrated into home assistant using zha. My problem the battery life doesn’t last very long. That battery can last anywhere from 2 weeks to 2 days. Is anyone else having this issue and if so have you found the solution please.

junior viper
#

Anyone wanna share their configuration.yaml for Z2M using Sonoff as a coordinator?

austere patio
junior viper
austere patio
#

And baudrate?

junior viper
#

doesn't even have that in there

#

also tried the long version; /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_7c3c72fda7c9eb1189bd8f4f1d69213e-if00-port0

austere patio
#

What's the error?

junior viper
#

none πŸ™‚

#

[22:10:08] INFO: Handing over control to Zigbee2mqtt Core ...

zigbee2mqtt@1.22.2 start
node index.js

#

Except for 502 bad gw..

left geode
#

Hello I am hoping someone can help me. My issue is with the ikea tradfri remote buttons. It has the five buttons; up,down,left,right and center. I have paired with a tubes cc2652p2 poe coordinator integrated into home assistant using zha. My problem the battery life doesn’t last very long. That battery can last anywhere from 2 weeks to 2 days. Is anyone else having this issue and if so have you found the solution please.

sour shadow
#

Generally speaking battery life issues are caused by interference or a weak signal

jolly narwhal
#

So, how many routers do you have, and are there anyone close to said switch?

austere patio
left geode
left geode
sour shadow
#

What's the cabinet made of?

#

If the answer is either metal or wood then that's a terrible idea

#

You should put the stick on a USB extension cord (good idea anyway) and move it outside the cabinet

obsidian sandalBOT
earnest scarab
#
igbee2MQTT:error 2022-01-12 22:32:38: Failed to start zigbee
Zigbee2MQTT:error 2022-01-12 22:32:38: Exiting...
Zigbee2MQTT:error 2022-01-12 22:32:38: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
    at ZStackAdapter.<anonymous> (/app/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/zStackAdapter.js:94:31)
    at Generator.throw (<anonymous>)
    at rejected (/app/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/zStackAdapter.js:25:65)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! zigbee2mqtt@1.18.1 start: `node index.js`
#

Hey everyone.
I can see on the zigbee2mqtt github some people have the same issue, but there is not fix yet?
My CC2531 running zigbee2mqtt just stopped working this afternoon.

violet dagger
#

he fix is to unplug it then plug it back in again

sour shadow
#

The real fix is to buy a proper coordinator

earnest scarab
violet dagger
#

that's one them

earnest scarab
earnest scarab
junior viper
violet dagger
left geode
earnest scarab
earnest scarab
sour shadow
jolly narwhal
#

It is a usb stick, that sometimes does what it is supposed to do, mostly it just rolls over and plays dead

sour shadow
#

It's ok, they just assumed I was replying to them, when I wasn't

earnest scarab
#

So It works for me again.

  1. I stopped zigbee2mqtt
  2. Unplugged my dongle
  3. Restarted Home Assistant
  4. Plugged in my dongle
  5. It just worked!
#

@junior viper and everyone Else

jolly narwhal
#

Now order a usable coordinator

#

Before you forget it

earnest scarab
#

Yeah, I Will do that. Probably the sonoff plus v3. I have been using the cc2531 for one and a half year now without many problems with 31 devices. Sometimes it did hang on though.

left geode
junior viper
#

And still getting 502 Bad Gateway thrown at me.

jolly narwhal
#

What a bunch of strange options

austere patio
#

Can you change log_level: warn to log_level: debug or something?

austere patio
#

Is there anything else?

jolly narwhal
#

Same panid DogeWink

left geode
junior viper
left geode
jolly narwhal
#

No, another network still exists using that same pan or extpan

#

6754 is the default panid afaik

junior viper
jolly narwhal
#

Try?

#

Or Generate

junior viper
#

By just remove it?

#

hehe, works

austere patio
#

May as well stop using the public network key and EPID

#

If you're starting from scratch

jolly narwhal
#

And do channel scanning

junior viper
#

I did, but my goal is to restore my backup from last night

austere patio
#

You're migrating from a CC2531?

junior viper
#

ConBee II

#

Not even sure it will work

#

Worth a shot instead of repairing 150+ devices

austere patio
#

Gotta double check if Z2M still complains about network settings

#

Z2M will write the same general network settings to both sticks (unless you change the PAN ID) but the frame counter will roll back, which causes problems with some devices. The above approach does a complete backup of all settings.

junior viper
#

Ok so first things first, put back my old dongle, perform a full backup? Follow these steps you sent - profit

austere patio
#

Easier with a second computer

mellow pike
#

got this error.. working with lxc on proxmox
Config entry 'HubZ Smart Home Controller - HubZ ZigBee Com Port, s/n: 51300E3D - Silicon Labs' for zha integration not ready yet: [Errno 13] could not open port /dev/ttyUSB1: [Errno 13] Permission denied: '/dev/ttyUSB1'; Retrying in background

dreamy eagle
#

I've solved most of my problem with deCONZ. Changing the channel mask to '15' took a ridiculously long time, but it did enable me to establish a network and add the few Zigbee devices I currently have. I have a few more questions: (1) Must the deCONZ app remain operating on my desktop for the ZIgbee network to operate? I can't tell, with my limited knowledge, whether the app is just a nice interface...or is it more than that? (2) Same question for the Phocon web browser app. Does everything stop working, if I stop the webapp? This one looks like a front end config tool, but I'm afraid to shut it down. Based on this experience, I think I'll limit my exposure to Zigbee, in favor or ZWave and other approaches.

austere patio
#

The Conbee works with both ZHA and Z2M so if you don't like the deCONZ approach, try them out

rapid skiff
#

Thoughts on a zigbee humidty sensor in a bathroom to control a fan? Possibly a combination occupancy sensor for lights as well.

foggy bough
#

hi everyone. I am using Yale ZigBee door lock via ZHA. It shows battery status and has actions to lock/unlock.
Is it possible to get notifications when wrong PIN is used?

foggy bough
#

ok, nothing in zha_event for a failed code

desert wadi
#

I have a question with my Sonoff mini switch on deCONZ Addon using Conbee II zigbee gateway. The device is added and I can see it in Phoscon UI and I see the deCONZ log device action (button 100x for short and double click). Unfortunately I don't see the "state" entity in HA entity. The device tab only shows the battery level for the switch. Is there something I'm missing?

23:46:56:673 [INFO] - Button 1004 - WB01, broadcast to: 0x000B, endpoint: 0x01, cluster: ONOFF (0x0006), action: double, payload: None, zclSeq: 8

covert matrix
#

Hey , for sonof new stick with ha running on nuc , there is a recommendation to use USB extender. What would be the max length of the extender

sour shadow
#

Depends on the quality of it really

#

I have a good quality 2 meter one and it's just fine

covert matrix
#

Good , I need around 1.5 to get it out of the closet

sterile sleet
#

usb A spec says ~2.5m, when I use my best cable I can get up to 4,5 -5m

covert matrix
#

Can you recommend a good cable with 1-2 meter

sterile sleet
#

amazon basics cable is enough for 2m

covert matrix
#

Not sure if same brand will have same quality for diff l lenth

covert matrix
jolly narwhal
#

Clicking the shipping link for my tube Poe coordinator twice a day PoggersHype

uncut compass
#

Thanks, flashed my 2652R1 zzh from electrolama, got ZHA running (I wasn't brave enough to setup mqtt).

Got my first aqara temp sensor working! Yay.

Now I need to find some documentation to help me not spend lots of money and time getting lots of sensors πŸ˜„

violet dagger
#

motivated enough*

jolly narwhal
#

Remember to buy routers too

#

Not just sensors

violet dagger
#

don't buy sonoff sensors and tuya anything, problem solved

uncut compass
#

iirc, routers are like plugs that "increase" the range?

#

is router == repeater?

jolly narwhal
#

Yes

#

Bulbs are great too

uncut compass
#

I have hue bulbs!

jolly narwhal
#

Then you have routers

#

If those are in zha

uncut compass
#

They're through the hub, atm.

#

I wanted to dip my toes, then jump in.

jolly narwhal
#

Then it's time to move them DogeWink

uncut compass
#

Are there LED controllers on zzh? I specifically want to control single pixels πŸ˜„

jolly python
jolly narwhal
#

Tuya is generally not a great investment

jolly python
#

since the power plug of innr does not longer contain a power measurement, which is the power plug to buy if you want to have thtat functionallity

jolly narwhal
#

I use esp based random smart plugs flashed with tasmota

#

Whatever is in stock

sour shadow
jolly narwhal
#

If we only had lidl

sour shadow
jolly python
jolly narwhal
#

Think we had one Lidl, then they realized Norway was too expensive

jolly python
jolly narwhal
jolly python
violet dagger
jolly narwhal
#

Waifai

jolly python
jolly narwhal
#

Yes

#

Fully Local

violet dagger
#

it's up to you really

jolly python
vestal atlas
uncut compass
#

Wil that let me select pixels, too?

#

I had an idea of putting a small (maybe 20 led) strip inside a picture frame with some text on it and having them light up based on statuses, not a dashboard mounting per say, but a simple green/red/amber system

violet dagger
#

wled is the way

#

tasmota or esphome can do that too since you don't need fancy effects

vestal atlas
#

Yes, just google/youtube WLED. It's made for your pruopose πŸ™‚

uncut compass
#

I have been reading and youtubing, but they all seem to be christmas lights and how to do the effects, (rainbow, fireworks etc).

My use case is a little niche in the sense of:

<led1> - if door open, green, else red
<led2> - if bread home, green, else red
<led3> - if something, amber, else red

vestal atlas
#

You can do that too

violet dagger
#

wled might not be the best one for that

vestal atlas
#

Actually, maybe not indeed. It is possible but maybe overkill for it. But if you have a an ESP8266 or ESP32 you can choose to flash wled or esphome/tasmota on it

uncut compass
#

sec, I'm googling ESP8266

#

Hmm. Soldering required?

violet dagger
#

no

uncut compass
#

so flash, wled to that? πŸ˜•

#

I saw that actually

#

but I'd like it to be straight πŸ˜‚

violet dagger
#

or take any development board, doesn't matter for such a small number of LEDs

vestal atlas
uncut compass
#

interesting!

#

well, looks like I'm reading a lot today

violet dagger
#

or creative wiring πŸ˜‰

uncut compass
#

yeah, maybe I'll setup my first wled as a test and then try out this esp stuff

violet dagger
#

you need an esp to setup wled to test

uncut compass
#

no custom emotes 😦

short elm
#

how well does the zigbee2mqtt handle stuff like energy consumption on light devices like SR-ZG2835RAC-S ?

#

because i got one light that should report power but does not seem to

jolly narwhal
#

A light that reports power?

#

What in tarnation

short elm
#

it should report power usage but it does not

ashen coral
#

wled does that...

short elm
#

not with zigbee2mqtt addon atleast

jolly narwhal
#

Oh

#

That's a dimmer

#

Not a light

#

Then it makes sense

ashen coral
jolly narwhal
#

It should

ashen coral
#

Yes. Should

violet dagger
#

but this one is -S

#

sunricher likes to make it confusing with model names

short elm
#

there is others avaible aswell withot the -s

#

the reason im asking is i got another dimmer, same one but one is z-wave and other is zigbee, in z-wave it reports power propperly but the zigbee one does not

violet dagger
#

its not the same then

short elm
#

this is the zigbee dimmer that does not report

#

but the zwave one does

#

so i was wondering if it was a common thing before i buy more zigbee devices

jolly narwhal
#

Yeah that is a totally different product

violet dagger
#

depends on the device as you've already noticed

short elm
#

had forgotten about the zigbee2mqtt devices page πŸ˜„

#

guess all i need is in there

violet dagger
#

not all but plenty of information is there

ashen coral
#

Best documentation I've seen since GNU Make

jolly narwhal
#

You should see the service manual for the Hitachi storage systems

#

19243 pages of flow charts, plus 26439 more pages of details

dense latch
#

Hey guys
I'm currently trying to setup Zigbee2mqtt with Node Red, which palette are you guys using? I'm having trouble getting it working

#

I can see in the logs for specific devices on the zigbee2mqtt homepage that events are firing when I click my hue dimmer switch, but when I try to listen for events in nodered nothing happens

nova flint
#

Hmm, I've actually got a spare hue bridge v2 lying around the house somewhere.. I know it's possible to gain root access on it with a little bit of soldering, but anyone know if I could actually set that up as a z2m host? πŸ˜„

#

Apparently it's running a custom-build of OpenWRT that can install OpenWrt Backfire packages, so it might be possible to build z2m as well. Then it'd just be a matter of getting the radio to work πŸ˜„

austere patio
nova flint
#

Aww

#

Might as well leave it be then

dense latch
#

To continue on my previous question, it appears that as long as I don't rename my hue dimmers in zigbee2mqtt they keep working

lone flume
#

I'm using zha and my devices and HA is having issues communicating with the stick. Is there any troubleshooting that I can do to see if this stick is dead or if theres something I am missing. I have not made any changes. None. I've restarted zha, restarted HA, restarted the OS, reseated the stick. Stick lights up. But doesn't seem to be responding. I can see the device in the usb list. It's recognized.

jolly narwhal
#

What stick?

lone flume
#

Nortek

jolly narwhal
#

Should be fine, but I've never used it

lone flume
#

This has been working for years. All of a sudden, nothing. Very odd.

austere patio
lone flume
#

And I have over 50+ zigbee devices.

#

none are it seems. All lost comm at same time.

lone flume
austere patio
#

If you want to leave it running for 5-10 minutes and then post the whole log after redacting personal info, that'd probably be easier

#

It's in /config/home-assistant.log

obsidian sandalBOT
#

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

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

austere patio
#

Unrelated, but buying Hastebin and redirecting it to a different domain with a permanent banner is pretty annoying

sour shadow
#

Almost as annoying as the fact that it used to be down more than up

jolly narwhal
#

Long live my termbin supertrick

#

Also hatebin > hastebin

austere patio
jolly narwhal
#

command | nc termbin.com 9999 fyi @austere patio

austere patio
#

Neat

jolly narwhal
#

Very handy

lone flume
austere patio
#

Looks like 95% of them fail with DELIVERY_FAILED but the firmware on your stick is too old to support the detailed counters that could shed more light on why it fails

lone flume
#

suggestions?

austere patio
#

Any new hardware nearby? Have you tried unplugging the coordinator?

lone flume
#

new hardware such as a new machine or new stick? Yes I unplugged it and plugged back in.

#

it lights up

#

stick is recognized in the OS

austere patio
#

New router, microwave in the server room, etc.

lone flume
#

oh, no. Nothing.

#

you said 95% respond, you see ones responding?

austere patio
#

0x6BA4 and 0x23EA

lone flume
#

curious, is it possible a power loss could have changed the assignments of the zwave or zha side?

austere patio
#

CentraLite 3210-L and NYCE 3014

tropic depot
#

if that flipped ZHA wouldn't start

lone flume
#

the NYCE 3014 is a tilt sensor. furthest away in the house.

#

and I have a bunch of 3210-Ls

tropic depot
#

what is the stick?

lone flume
#

Nortek

tropic depot
#

I'd say back up the network and update the firmware... thoughts @austere patio

#

?

#

that way we can get the counters

austere patio
#

Yeah, maybe the update will magically fix it

tropic depot
#

the backup is just to have it... the SI sticks maintain the network

#

so the update is non-destructive

#

so long as it goes well πŸ™‚

austere patio
#

Hard to tell when the only status is "failed"

tropic depot
#

agreed

lone flume
#

Is there a process documented on how to backup?

#

is it just a file in .storage?

austere patio
lone flume
#

I am, I'll take a look.

austere patio
#

Walt's page has a "Coordinator migration" section that shows the commands to run to take a backup

lone flume
#

So after scanning in the bash container via docker, theres no other step in that section. Only below it to update via python in another environment.

austere patio
#

The bellows backup > /data/bellows-backup.txt part

lone flume
#

Oh I meant flashing the new firmware.

#

I think once im in the container I can go down to the section where it shows how to flash it. If I'm reading this right.

#

./ncp.py flash -p /dev/ttyUSB1 -f ncp-uart-sw-6.7.8.ebl that

austere patio
#

That's the one. Did you run the backup beforehand?

lone flume
#

was just confusing on how it was documented. I will check the backup first.

#

ok, im upgraded.

austere patio
#

See if that alone fixes it. With the new firmware, you'll see more useful debug output so let ZHA run for a few minutes to collect it.

lone flume
#

on it.

lone flume
#

Also, not sure but the blue light on the stick doesn't blink. Can't remember if it ever did.

#

Just stays blue.

#

Latest counters

austere patio
#

Is your coordinator positioned in a place where all packets need to go through some router to get to it?

lone flume
#

no

#

and nothing has moved or changed

austere patio
#

Some devices have firmware bugs that cause them to "lock up" and require a hard reboot to start relaying packets again

#

If some central router in your setup is stuck in this state, it may be affecting everything relying on it

lone flume
#

oh you mean the router as in zigbee device that is acting as a router.

austere patio
#

Yes