#zigbee-archived

1 messages ยท Page 139 of 1

earnest sigil
#

Hmm I don't anything in the Z2M logs that even shows that the stick is seeing this new device

#

I know Z2M only supports specific devices, but all devices should pair at least?

earnest sigil
#

yeah that's what I read

sour shadow
#

However, I found that some devices don't like some sticks... like Terncy devices won't pair with my ZZH stick

earnest sigil
#

bugger

sour shadow
#

There's a handful of posts about that particular combo on the Z2M GitHub

#

I've tried 3 different types of Terncy devices, none work so far ๐Ÿ˜‚

earnest sigil
#

Crap so while this device might well be supported by Z2M, it simply might not like the zzh?

sour shadow
#

Possibly, but you've been very vague on what "this device" is

earnest sigil
#

sorry I put the link further up

sour shadow
#

Have you checked the GitHub to see if anybody has posted about it?

earnest sigil
#

though interestingly that says NAS-AB02B0 and my box just says NAS-AB02

#

yeah couldn't find anything about not being able to pair it in the Z2M GH discussions. just people trying to get the attributes supported etc

earnest sigil
#

turned on the zigbee-herdsman debugging but entirely what I'm seeing ๐Ÿ™‚

fringe vault
#

Ok cool stuff with the G2H. I upgraded the firmware to 2.1.1 and did the "hostname" trick

#

now I can connect over MQTT to the zigbee hub inside the Aqara G2H

#

Scroll all the way down to tl;dr

#

Using telnet I found a file zigbeeAgent.conf

#

chip -> nxp:jn5169\jn5189; silicon:efr32mg

chip : jn5189
#nxp cfg
nxp_uart : /dev/ttyS2

save data path -> /data/zigbee/

dataPath : /mnt/config/zigbee/

log cfg file -> /data/zigbee/zigbeeLog.conf

logPath : /mnt/config/zigbeeLog.conf

pin cfg, pin,low/hight,in/out

pinReset : 63,low,out
pinIsp : 18,low,out

#

So they use a NXP JN5189 like in the Zigate+ USB stick

earnest sigil
#

are there 'better' coordinators than the zzh that are known to work with more devices? or am I just unlucky and should accept this siren is a paperweight ๐Ÿ™‚

dry fossil
#

If it's not pairing, it's probably not the coordinator.

violet dagger
#

Oh there's a G2H hack

earnest sigil
#

Hmm maybe this thing only works with Tuya hubs. I thought Zigbee didn't care

sour shadow
#

Zigbee shouldn't but there may be firmware issues with the latest TI 3.0 firmware shrug

#

Trouble is, some of that is a black box, so if TI broke something... nothing anybody can do

earnest sigil
#

๐Ÿ˜ฆ

#

I guess I'll have a look for another siren

#

or I keep zwave running just for that, and find something else to act as a powered zigbee repeater

prisma shell
#

Yeah I'm using the latest HA and the latest zigbee firmware I believe and it's still an issue, but other people said it's solved for them. They are also connecting though routers

fallow warren
#

Just have to give a quick shoutout to zzh and the zigpy-znp, my zigbee network is very very smooth now ๐Ÿ‘Œ

earnest sigil
#

2021-05-28T15:28:37.611Z zigbee-herdsman:adapter:zStack:znp:SREQ --> ZDO - mgmtPermitJoinReq - {"addrmode":15,"dstaddr":65532,"duration":254,"tcsignificance":0} 2021-05-28T15:28:37.611Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,5,37,54,15,252,255,254,0,228] 2021-05-28T15:28:37.620Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,1,101,54,0,82,254,3,69,182,0,0,0,240] 2021-05-28T15:28:37.620Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,1,101,54,0,82,254,3,69,182,0,0,0,240] 2021-05-28T15:28:37.620Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 1 - 3 - 5 - 54 - [0] - 82 2021-05-28T15:28:37.620Z zigbee-herdsman:adapter:zStack:znp:SRSP <-- ZDO - mgmtPermitJoinReq - {"status":0} 2021-05-28T15:28:37.620Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,3,69,182,0,0,0,240] 2021-05-28T15:28:37.620Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 3 - 2 - 5 - 182 - [0,0,0] - 240 2021-05-28T15:28:37.621Z zigbee-herdsman:adapter:zStack:znp:AREQ <-- ZDO - mgmtPermitJoinRsp - {"srcaddr":0,"status":0}

#

is that something attempting to join my network?

austere patio
earnest sigil
#

oh. was wondering if it at least showed the siren was talking to the zzh. I guess not

#

I guess I'm out of ideas

austere patio
#

What channel is your network on?

#

Z2M should be on 11 by default. Maybe the siren only joins on 15/20/25

earnest sigil
#

11

#

if I change it, will all the other devices break?

austere patio
#

Yeah

#

Do you have many sensors?

#

Or a second coordinator to test with?

earnest sigil
#

5 sensors that are all stuck to doors

#

no only 1 coordinator

austere patio
#

I think if you back up the Z2M data folder with the coordinator backup stuff and then change the channel and PAN ID to temporarily form a new network to test on

earnest sigil
#

what's the PAN ID?

austere patio
#

It's like the name of your network

#

On the other hand, I think Z2M hasn't yet released the network formation refactor so you won't be able to migrate back without unscrewing the antenna or shutting off other routers

#

So depending on how much effort you want to put into this, it's definitely possible to temporarily have your coordinator switch to a new channel without affecting your old network ๐Ÿ˜†

#

Or you can just change it and see what happens. Many routers find the network on a new channel after a power cycle, I haven't had as much luck with sensors.

earnest sigil
#

so I could shut down the z2m container. create a new data dir with a different channel in the config, and spin the container back up using that 2nd data dir. Test pairing. If it doesn't work, shut down the container, move my old datadir back again, and spin container up again

#

and I'm back to where I am now

#

?

austere patio
#

Yeah, that should work. Make sure to change the pan_id as well.

#

When you switch back, unscrew the antenna of your ZZH

earnest sigil
#

what does that do?

austere patio
#

Then screw it back on after Z2M starts up

#

Z2M will ask the ZZH to form a "new" network with your old settings but since existing routers already are up, it'll think it's colliding with another network

split vault
#

I've read about MQTT and I still don't know why exactly I would need it

austere patio
#

It's just made to be independent of Home Assistant, that's about it

split vault
#

So instead of using the ZHA, you can use something external instead?

austere patio
#

Z2M its its own thing. ZHA is a Home Assistant component and is built into HA.

split vault
#

If I'm using a RaspberryPi + Conbee II + ZHA, I don't actually need MQTT?

austere patio
#

ZHA doesn't use MQTT at all

#

Zigbee2MQTT requires a MQTT broker, which is its own thing that other integrations can be using

earnest sigil
#

Think of MQTT as a separate messaging system you can use to run lots of different things into to get them all into home assistant

#

If you don't want to use it just use ZHA

#

Hmm this siren, which is Neo Coolcam, also seems to be marketed as Tuya. And on the Tuya zigbee helppage it says 'Whether the Zigbee gateway used is our brand. It is because Zigbee gateways of other brands are not compatible with our Zigbee devices due to some private protocols, which may be added but not controlled.'

#

That seems to be implying that Tuya stuff only works with a Tuya hub

austere patio
#

That's a protocol-level thing they intentionally screwed up

#

Their stuff works, it just requires explicit handling based on the model and manufacturer name

earnest sigil
#

Ah ok

austere patio
#

It has to join your network first

#

And if you get no messages at all then it's not even trying

earnest sigil
#

I'm just gearing myself to potentially screw things up more ๐Ÿ™‚

#

ok I'm up on a new channel

austere patio
#

Which one?

earnest sigil
#

15

#

no sign of any pairing

austere patio
#

Is the device itself trying?

earnest sigil
#

it boots up with the lights constantly flashing

#

which is supposed to be pairing mode

#

and reset is hold the button down for 5s

#

which I do, then it beeps, then it goes back to flashing again

#

so I think it's trying

#

I could restart on 20 then 25

austere patio
#

Hmm. Without a sniffer and a Tuya gateway, it's hard to tell why it's not even trying to connect

#

Maybe it expects a specific pan ID or a epid prefix or something

#

Cuz before joining there's not much to distinguish networks

earnest sigil
#

not sure. unless my model is subtly different people have got these to pair

austere patio
#

In that case yeah, maybe check if there are specific pairing instructions

earnest sigil
#

no instructions on z2m docs

#

tried 20. nothing

#

nothing on 25 either

#

I guess I'll try and put things back to how they were

austere patio
#

Look for _TZE200_d0yu2xgi on Google, that's its model name

earnest sigil
#

that was an issue for not being able to pair. but at least they were seeing something in the logs

#

I don't see anything

austere patio
#

Yeah, probably not a channel thing. Yours doesn't seem to be in joining mode even though lights are flashing.

earnest sigil
#

maybe it's duff

#

right if I boot up on my old config I need to unscrew the antenna first ?

austere patio
#

Yeah

#

Once Z2M starts up you can just screw it back on

#

If that doesn't work you'll need a metal pot ๐Ÿ˜†

earnest sigil
#

oh god

austere patio
#

Instructions for a WiFi version seem to indicate there's a reset button in the battery compartment

earnest sigil
#

and I need to repair all my devices?

#

none of them are showing

austere patio
#

No, if you backed up the Z2M data folder it should restore the coordinator backup

earnest sigil
#

well I just fired the container back up pointing at my original dir

austere patio
#

And the device database stores all of the known devices

earnest sigil
#

nothing seems to be in there though

austere patio
#

As in the data directory is empty?

earnest sigil
#

no all my original files are in there

#

including coordinator_backup and the configuration.yaml with the devices listed

austere patio
#

And the database.db file?

earnest sigil
#

yup

#

I'm seeing stuff like
2021-05-28T17:14:54.993Z zigbee-herdsman:controller:log 'zcl' data is from unknown device with address '20070', skipping...

austere patio
#

Hmm

#

Well, the network is up, it just seems like some devices decided to change their addressesย a little. If you permit joins and power cycle the device it might work. Dunno, I don't know how Z2M handles that stuff.

earnest sigil
#

they're all battery based sensors

#

maybe I'll have to re-pair them

austere patio
#

Pulling the battery should cause it to re-announce

#

If you're permitting joins at the same time Z2M should pick it up

earnest sigil
#

2021-05-28T17:19:43.827Z zigbee-herdsman:controller:log Received 'zcl' data '{"frame":{"Header":{"frameControl":{"frameType":0,"manufacturerSpecific":true,"direction":1,"disableDefaultResponse":true,"reservedBits":0},"transactionSequenceNumber":0,"manufacturerCode":4447,"commandIdentifier":10},"Payload":[{"attrId":5,"dataType":66,"attrData":"lumi.sensor_magnet.aq2"},{"attrId":65281,"dataType":66,"attrData":{"1":3025,"3":29,"4":5032,"5":7,"6":[0,0],"10":0,"100":1}}],"Command":{"ID":10,"name":"report","parameters":[{"name":"attrId","type":33},{"name":"dataType","type":32},{"name":"attrData","type":1000}]}},"address":36512,"endpoint":1,"linkquality":141,"groupID":0,"wasBroadcast":false}'

2021-05-28T17:19:43.827Z zigbee-herdsman:controller:log 'zcl' data is from unknown device with address '36512', skipping...

#

I think it's seeing the messages but doesn't recognise them

#

put the sensor into pairing. z2m gave a red messages saying device had left, then green message showing it joining

#

and it;s come back with the friendly name set

#

so i probably just need to do that on all of them

#

Seems to be working ๐Ÿ™‚

earnest sigil
#

oh well I'm back to where I was at least ๐Ÿ˜„

earnest sigil
#

thanks for trying though @austere patio !

obsidian sandalBOT
rocky pawn
#

Any clue what is wrong? I have Intel NUC with HassOS inside VM, was working just fine but right and now I can't connect to ConBeeII. Device was visible in Supervisor under deCONZ configuration but only before starting addon after it it's disappearing.
deCONZ Log: https://paste.ubuntu.com/p/2bJt6xpMBG/

EDIT: Solved by removing modemmanager - was disabled and yet made problems...

jolly narwhal
sour shadow
#

Actually, ModemManager is never seen there

#

Now... Supervised installs... there it's pretty common

forest cobalt
#

Tinkerer... question for you (your post in integrations reminded me)... for your Gledopto bulbs, if you look in Z2M, do they update their last seen regularly in the UI?

#

Mine show 4 days ago... Yet... well, they work. LOL

sour shadow
#

They do, but ... I set them to report their power on/off state every 5 minutes

#

I do that for all bulbs, so that if things get out of sync they get back in sync again

forest cobalt
#

Yeah, I have last_seen turned on which seems to be different from what the UI shows and it seems to only happen on my Gledopto and Hue bulbs. Where are you setting the 5 minute reporting?

sour shadow
#

In Z2M's UI under Reporting

forest cobalt
#

Thanks!

#

Are you doing that with just those bulbs or everything mains-powered?

sour shadow
#

Any bulbs - I haven't had to do it with sockets

#

The Tradfri bulbs in particular have had times when Z2M and HA think they turned off, but they didn't

forest cobalt
#

Gotcha.

#

And of course I hit that UI bug where I can't edit things because of the auto-refresh lol

sour shadow
#

You can, you just have to be really fast ablobjoy

forest cobalt
#

lol

sour shadow
#

Still, maybe in the next release it'll be fixed ๐Ÿคž

jolly narwhal
#

You guys and your misbehaving bulbs

sour shadow
#

I blame Ikea for outdated firmware

jolly narwhal
#

I'm glad I never bought bulbs from the same batch as everyone else

forest cobalt
#

To be fair, I only have 13 Zigbee bulbs... all the rest are WiFi ๐Ÿคทโ€โ™‚๏ธ

#

(forgot my light strips)

#

(forgot my Ikea Drivers too lol)

jolly narwhal
neat anvil
#

Well, I am quite excited.. I got a sonoff bridge, and got it all set up, with a single button (so far) but I think perhaps I am expecting something different then I am getting.. It doesn't appear to appear in lovelace..

molten linden
#

Assuming ZHA- Buttons are stateless so they show as events. You can see them by going to the developer tools/events tab and in the listen area enter zha_event then click listen

#

If there is a quirk for it youโ€™ll likely have automation actions available for it if not you would need to use the event data for an automation

neat anvil
#

Ah, okay, I managed to see the event when I hit the button.. Awesome. This is kidna new to me... So now what do I do with it?

molten linden
#

automate ๐Ÿ˜‰

neat anvil
#

Thats like telling someone that has never seen a car "Just fix" I unfortunatly will need a LOT more information then that. Already been searching for hours. Nothing seems to be helping.

molten linden
#

what are you trying to do? I guess my point was to use the button you'll need to use an automation to have it do something. so the button would be the trigger, for maybe a light or an outlet or a tts playback anything really. this starts getting off topic though for this channel and #automations-archived might be better.

neat anvil
#

Well, if I can be taught to make it do ANYTHING I can build from there. So far I am using input boolen for most of my automations.. as I use node red to do a lot of stuff. So if a button press could turn on an input boolean, that would work great

molten linden
#

I don't use node-red, but I believe it can see events as well, so you could skip the input boolean.

#

but if you go into Configuration > Automations

#

and under trigger select Device, and your new button

#

if you get some defined actions it has device actions and you don't need to use the events in HA automations

#

if it doesn't (they need to be added for each device, so it's an uphill battle) you can use the event trigger

#

and in the data section, you'd copy in the data you see in the event when on the developer tools>events page.

neat anvil
#

One thing at a time. I get lost very easy.. I am at the action section. Action type is what?

#

I thought it would be device, but my "test1" input boulean wont' show up in the list

molten linden
#

probably need to use state under the action

#

err. sorry

#

I mean call service

neat anvil
#

Yea, I think I may have found it..

molten linden
#

and there are input_boolean turn on and off services

neat anvil
#

The things is.. The only thing it sees for this zigbee device is "Battery level changes"

#

OMG this is annowing, I can't paste it here.

molten linden
#

okay, so that's what I meant by an uphill challenge. no one has contributed the code to add the actions for that device

neat anvil
#

So thats the next problem. What is trigger type. I managed to get action done.. I think.

molten linden
#

so your trigger would be event.

#

then open another tab

#

go to the developer tools/events again and listen for zha_events

#

tap you button and get the event.

neat anvil
#

Okay, I see..

#

Now in event data. Can I just put a peice of it in there. Kidna likr a "Contains this"

molten linden
#

I was looking for an example in my automations but I've been able to convert most away from events to the device actions. so haven't done it in a while.

#

give me a few. let me see if I can find an example.

neat anvil
#

Okay, thank you.

molten linden
#

no images allowed here for most (spam prevention)

#

so that's a chunk of the data that came in from what ever button this was ๐Ÿคฃ

#

but key is to get part of the identifier

#

like ieee

neat anvil
#

OKay. Let me see if I can decypher/modify/etc to make it work for me.

molten linden
#

and the part that differentiates the action on the button, like you should get different events for tap, double tap, hold, maybe release too.

#

(not sure what it supports)

neat anvil
#

Its still too big for me to decpher. What parts are manditory..

#

I assume the "Args" is manditory? But what else?

#

Or would it be easier to see my event?

molten linden
#

sure

#

use 3x ` in front of it to paste code and keep it formatted here.

neat anvil
#

I dunno what you mean use 3x` I was gonna use a pastebin

molten linden
#

that works.

neat anvil
molten linden
#

so I think it should work with just one of the id's and the command

neat anvil
#

So just put one of the IDs in the event data? Nothing else? Not the device_id nothign, just 00:12:4b:00:22๐Ÿ’ฟ81:cd

molten linden
#

so like:```
unique_id: '00:12:4b:00:22:cd:81:cd:1:0x0006'
command: toggle

#

put that in the event data, and see if it works.

neat anvil
#

That did it!

molten linden
#

so from the event you are getting an id for the button, and the command the button is sending..

#

if you had a second button it would send a same command but have a different id. so you just need enough of the event data to get what you want.

neat anvil
#

Yep, and I am seeing it. A push and hold send "off" Double press sends "on"

#

I got it now. Thank you!

molten linden
#

some device will just have the device actions already, here's a smartthings button for example:

#

these are relatively new, and need to be added to each and every device as they all do things differently. so if they don't exist you got to do it the "old" way with the events.

neat anvil
#

I am just starting to learn these zigbee things. I just got to play with the hub today.

molten linden
#

cool! good luck!

solid inlet
#

Those of you that have Philips Hue lights and use Z2M, are you still using their bridge? If so, is it limiting the functionality in any way or maybe the other way around?

violet dagger
#

if a device is connected to Z2M coordinator it cannot be connected to Hue bridge

solid inlet
#

Aha, that settles that then, thanks. Functionality wise? Will it limit anything?

violet dagger
#

that depends on the device

jolly narwhal
#

The hue bridge was fine

#

But zigbee2mqtt plus a cc1352 or 2652 will run circles around it

solid inlet
#

Great to hear, thanks. Trying to think in terms of redundancy, so this probably is a good thing, should the bridge fail...

autumn warren
#

I know Blakadder has a Zigbee list, but does anyone know of something that incorporates MSRP? As a cheapskate it would help a lot hahaha

#

@violet dagger I'd even be interested in doing manual data entry if this is something you could incorporate into your site

violet dagger
#

you do know prices change often right?

autumn warren
#

Yeah thatโ€™s why I said MSRP, not itโ€™s current sale price

#

Like, its release price

violet dagger
#

MSRP does not exist in china

#

Unless you count having MSRP at 100$ then being offered an 80% discount

mystic holly
#

Hi, is need some help to configure my RasBee v1 from Dresden Electronic on a Raspberry 3 with latest Homeassistant. It looks like I can not find the RaspBee

primal herald
#

I'm having issues getting the SONOFF SNZB-01 to work, I have connected them and read through the forums and here. When I click the button, I am not able to receive a zha_event log, therefore I'm not able to get the buttons to work through automation. Any thoughts on this?

Zigbee Hub: Sonoff Zigbee Bridge flashed to Tasmota
Integration: ZHA

sand egret
#

Hallo chat, trying to get Hass on ZigBee network without disturbing hive with cs2531 flashed with zigbee2mqtt router which I managed to pair with hive hub. Will that work? Or does it have to be coordinator and replace the hive hub or have two networks or something? I want to control ZigBee stuff locally without stopping hive cloud working which would annoy the wife lol. Any guides?

mystic holly
#

OK, got it, apparently my USB-C device did not deliver enough power to fire up the RaspBee. Changed Powersupply and it started working.

solid inlet
versed oyster
#

Has anyone gotten those little ZM-RT201 to work with ZHA?

gentle flint
forest cobalt
solid inlet
#

That sound great. ๐Ÿ™‚ Would there be a setup instruction for zigbee2mqtt somewhere? I see a few different addon's, unsure which is the right one

forest cobalt
#

Z2M itself? As a HA addon or standalone?

solid inlet
#

Hm. Standalone I would suppose.

forest cobalt
#

I personally run mine bare-metal (as a systemd) service, but MANY people choose the docker approach.

solid inlet
#

I think I need read a bit before deciding, but baremetal sounds like the way to go I would guess, if not hugely more advanced

#

Thanks for the link!

forest cobalt
#

Eh, they're about the same... Docker is "easier" in terms of provisioning and such... but I like bare-metal just because I'm old school Linux.

solid inlet
#

Ok, great. I'll have some reading to do! ๐Ÿ™‚

forest cobalt
#

Let me know if you need help... Plus, there is a Z2M discord as well.

dry fossil
#

If something can be done easily in a container, it probably should be done in a container. Polluting your OS with random apps and their dependencies isn't a good idea, and containers add almost no overhead.

forest cobalt
#

but muh PS2!!! ๐Ÿ˜‰

#

tbf, if I didn't have 7-8 other services running in ps2/systemd (and I can't be bothered (read too lazy) to convert them over to containers), I'd be running the docker version.

jolly narwhal
#

For a second I thought you said OS/2

solid inlet
dry fossil
#

That's even worse. A whole VM for one app? That does have a ton of overhead.

solid inlet
#

Probably, but lot's easier than docker imho. Never got off on the right foot with that

dry fossil
#

Then learn.

jolly narwhal
#

Easier than docker?

#

No

#

๐Ÿคฃ

dry fossil
#

A VM per app has got to be the most ridiculous way to do it.

jolly narwhal
#

You should meet my customers@dry fossil

solid inlet
#

Glad to be able to amuse you.. ๐Ÿ˜‰

forest cobalt
#

Yeah, no VM is ever easier than a docker container... and atx... I did say OS/2... ๐Ÿ˜‰ Your reading skills are better than normal today lol

jolly narwhal
#

I have a customer who has 15 customer facing systems, with 15 windows VMs with iis, connected to 15 windows VMs with SQL servers and 15 management servers for those front facing servers

forest cobalt
#

(waiting for atx to scroll up hahaha)

#

That's just disgusting. Hit them with rolled up newspapers and say firmly "NO! BAD CUSTOMER!"

#

Rub their noses in it...

jolly narwhal
#

Did I mention it was 2008r2 and 2012 @forest cobalt ?

forest cobalt
#

Bloody hell... Just no. All sorts of no.

#

Aren't there laws against those?

jolly narwhal
sterile sleet
#

can I somehow set z2mqtt to refresh a bulb status?
e.g. I sometimes turn off and on a bulb (it's the last hardware switch on my wall) and it fails to reports "on" in z2m after that.
zha usually recognized that...

sour shadow
#

Yes

#

You can configure the bulb to report the OnOff state, under the Reporting tab for the device in Z2M

bronze dragon
#

Anyone got any idea why my Phoscon app all of a sudden would throw me an error url not found. the Deconz application works but the phoscon web app gives me a url not found or been moved error

obsidian sandalBOT
#

deCONZ by dresden elektronik is a software that communicates with ConBee/RaspBee Zigbee gateways and exposes Zigbee devices that are connected to the gateway. Our #zigbee-archived channel is a good place to ask about using it with Home Assistant, but they also have their own Discord server.

sour shadow
#

They may know more over there

bronze dragon
#

thx

pearl badger
#

Sorry if this is a stupid question but does the Sonoff ZigBee Bridge only communicate with ZigBee devices?
I've finished following a tutorial for flashing it with tasmota followed by the OTA firmware update and integrated to home assistant.

I haven't been able to add any wireless sensors or Sonoff switches. I'm assuming this is because I should have bought sensors which contain ZigBee in the description but would have thought a Sonoff bridge could additionally find Sonoff devices like light switches and smart plugs containing stock firmware.

sour shadow
#

Yes, it's just a bridge for Zigbee devices

pearl badger
#

Thanks

eternal phoenix
#

hi. I'm having trouble with Zigbee2MQTT. I'm trying to move our entire Hue setup to HA. But the problem is whenever I add a device with Zigbee2MQTT it only adds the basic entities, properties, etc. E.g. I add a Hue Dimmer, and it sees nothing but the link quality and battery status, then if I want it to see the buttons I have to push each button individually, until then the entities don't exist, and if they do they don't have the right automation events etc. The problem is I can't even do this for lights, so I add a light bulb, and the only thing it is showing up wiht is link quality, "update_available" and "update_state". I don't have the actual light entities, and I can't even use the trick I used with the dimmer here?

sour shadow
#

If you followed the docs and set up MQTT Discovery in HA (either in the UI or in YAML, not both) and configured Z2M for HA support, it should all just work

#

If you set up MQTT in YAML and the UI then things don't work right any more ablobjoy

eternal phoenix
#

I don't understand how it can work but not see the entities?

sour shadow
#

Well, did you set up MQTT in the UI, or in YAML, or both?

eternal phoenix
#

what configuration? I am just using mosquitto broker?

sour shadow
#

HA needs to be configured for MQTT Discovery

#

That can be done either in YAML, or the UI

#

How did you set up MQTT?

eternal phoenix
#

I don't understand? What config

sour shadow
#

Home Assistant, you need to set up the MQTT integration

eternal phoenix
#

but I have the mosquitto broker add on, that link is for running your own broker externally?

sour shadow
#

The add-on is the broker itself

#

You still need to configure HA to talk to the broker, that's what the integration does

eternal phoenix
#

then how does it still work? E.g. I can use devices like the dimmer just fine

sour shadow
#

I'm asking you how you've configured it...

eternal phoenix
#

I don't know what you mean

sour shadow
#

Then... there's not much more I can do here

eternal phoenix
#

what configuration? The one in configurations.yaml?

jolly narwhal
inland coral
#

What do the digits on the lines between devices In the topology visualisation screen of the Zigbee Home Integration mean?

eternal phoenix
austere patio
#

If both devices report the link quality to one another (i.e. A -> B and B -> A), both are displayed

inland coral
austere patio
#

There's really no consistent, standard range for them because each vendor can choose how it's calculated. I wouldn't worry about the values themselves.

eternal phoenix
#

could someone please try and help me with my zigbee2mqtt problem?

autumn warren
austere patio
#

Is the bulb on your network?

#

It seems like it initially joined and then left

autumn warren
#

My Zigbee network?

austere patio
#

Yes

autumn warren
#

ZHA doesn't show any erorrs with the entities

austere patio
#

It won't until the bulb doesn't respond for like an hour, I believe

autumn warren
#

Visualization map shows it's there, but there's no line connecting it to the coordinator

austere patio
#

Were you ever able to control it?

autumn warren
#

No, I just bought 6 of them

austere patio
#

In that case just re-join it to your network

autumn warren
#

I've tried removing them from HA, resetting the bulbs, and adding them back

austere patio
#

Did the bulbs reset? I believe they flash once or twice

autumn warren
#

Yeah they flashed and went to full brightness

#

When they get added to HA, they dim to like 5%

austere patio
#

So when you add them back, do they join the network?

#

A lot of stuff should appear in the joining log tab

autumn warren
#

Where's that?

austere patio
#

I believe on the top right of the screen that shows when you're joining a device (with the spinner)

autumn warren
#

Let me try doing it again

austere patio
#

Those bulbs work fine so they likely just never joined your network after you reset it

autumn warren
#

Oh yep you're right

#

After they finished setting up, they all leave the network

#

Or actually

#
Device 0xae48 (cc:cc:cc:ff:fe:e9:83:41) left the network
Device 0xae48 (cc:cc:cc:ff:fe:e9:83:41) left the network
Device 0xae48 (cc:cc:cc:ff:fe:e9:83:41) left the network
Device 0xae48 (cc:cc:cc:ff:fe:e9:83:41) left the network
Device 0xae48 (cc:cc:cc:ff:fe:e9:83:41) left the network
Device 0xae48 (cc:cc:cc:ff:fe:e9:83:41) left the network
Device 0xae48 (cc:cc:cc:ff:fe:e9:83:41) left the network
Device 0xae48 (cc:cc:cc:ff:fe:e9:83:41) left the network
Device 0xae48 (cc:cc:cc:ff:fe:e9:83:41) left the network
Device 0xae48 (cc:cc:cc:ff:fe:e9:83:41) left the network
Device 0xae48 (cc:cc:cc:ff:fe:e9:83:41) left the network
Device 0xae48 (cc:cc:cc:ff:fe:e9:83:41) left the network
Device 0xae48 (cc:cc:cc:ff:fe:e9:83:41) left the network
Device 0xae48 (cc:cc:cc:ff:fe:e9:83:41) left the network
Device 0xae48 (cc:cc:cc:ff:fe:e9:83:41) left the network
#

One device leaves the network like 20 times?

austere patio
#

Devices only indicate that they leave once they have the network key

#

And some messages are sent a bunch of times, it's nothing to worry about

autumn warren
#

Ah okay

#

So what's going on?

austere patio
#

The bulb's not a part of your network, you gotta rejoin it

autumn warren
#

How do I do that?

#

Reloading ZHA doesn't pull them back in, and everything I'm seeing on Google talks about pressing a button on the device, but these don't have any?

austere patio
#

The same way you joined them the first time

#

"Add devices" button in ZHA and turn it off/on six times

autumn warren
#

But that just results in the same thing? They get added, but immediately leave the network

austere patio
#

I have a few of these bulbs and they're quite reliable with joining

autumn warren
#

Sure, one minute

austere patio
#

I've never seen one just decide to leave unless you ask it to

autumn warren
#

Alright so logging is enabled, I'm gonna try to re-add them

austere patio
#

Did you restart HA after enabling logging?

autumn warren
#

Yeah

#

What other logs do you need?

austere patio
#

Huh, that is strange

#

Can you post your home-assistant.log file? You can filter only the lines that have zigpy, bellows, and zha.

autumn warren
#

I'm running Home Assistant in Docker while passing an Elelabs Zigbee Adapter through as /dev/ttyUSB0, if that makes any difference

austere patio
#

Nah, the hardware seems to work, it's the bulbs that are leaving

autumn warren
#

I have the home-assistant.log file, how do I filter it?

austere patio
#

cat home-assistant.log | egrep 'zigpy|bellows|zha' > filtered-log.txt should work

#

You can post the whole thing if you want, the problem is that it has device tracker info, which usually has exact GPS coordinates and other personal info

autumn warren
#

Should it be failing all the quirk checks?

austere patio
#

Yeah that's normal

#

So your bulb joined at 23:09:05, completed initialization at 23:09:08 and then left the network at 23:09:22?

#

You weren't turning it on and off at the switch, were you?

autumn warren
#

Only when resetting them

earnest hinge
#

any recommendations for a wall thermostat? are there ones that only contain a temperature sensor and allow to set a setpoint? like ones that dont have any relays or such?

austere patio
#

So six on/offs and then once it pops up in ZHA's joining dialog, you leave it alone?

autumn warren
#

Yep

austere patio
#

That's really bizarre

autumn warren
#

If it were one of the five I have installed, I'd chalk it up to hardware fault

#

Actually

#

Let me try one thing

austere patio
#

I have one sitting next to me that I test with a HUSBZB-1 adapter running the most recent firmware and it's never once left on its own. I don't think I've ever had a device do that unless you reset it.

autumn warren
#

I turned the lights off and on once and they reset

#

I wanted to see if giving them fresh power would make them rejoin, but instead they just reset?

austere patio
#

When you power cycle them they should re-announce themselves on the network, not leave

#

Weird

autumn warren
#

Yeah that's what I was expecting

#

I have a Yale lock that didn't have any problems joining my network

austere patio
autumn warren
#

Yep, I bought these specifically because they were on his list

#

(and the cheapest)

austere patio
#

Hmm. Only other thing I can think of is maybe upgrading the firmware on your coordinator. Which one are you using?

autumn warren
#

Elelabs

austere patio
#

The tiny one?

autumn warren
#

Yeah

eternal phoenix
#

I really can't figure out why Zigbee2MQTT is not working properly for me still? I can literally see it publishing the configuration for the light, but the entity is still entirely missing from HA. https://pastebin.com/dH965nW8

autumn warren
austere patio
#

I dunno, maybe the latest firmware can help. I don't have much experience with these chips.

autumn warren
#

Worth a shot I suppose

austere patio
#

There are also some config changes they suggest with ZHA if you do use the v8 firmware, at the bottom of the README

autumn warren
#

@austere patio They're working after the firmware update ๐Ÿ˜„

austere patio
#

Weird ๐Ÿคทโ€โ™‚๏ธ

autumn warren
#

I'll take it, I'm just glad it's working

eternal phoenix
#

I am feeling as if this is just a home assistant or Zigbee2MQTT bug?

charred wraith
#

anyone have experience connecting a zigbee door lock (specifically the Kwikset 914) to home assistant so it appears as more than just a lightbulb?

primal herald
austere patio
#

Have you tried clicking the button on it a few times to wake it up and then click the "Reconfigure device" button in ZHA? Keep clicking the device for like 2s before and 5s after pressing that button in ZHA.

solid inlet
#

How do I upgrade firmware on the Conbee II stick when using ZHA? Using deCONZ there was a way... And where can I see it's current version etc? Found current firmware under the device, but how would I upgrade?

solid inlet
#

does Z2M support this?

jolly narwhal
#

Conbee is one of the worst choices for Zigbee2mqtt

#

So I would doubt it

solid inlet
#

Yeah, I wrecked my question really. I meant if firmware upgrade with Z2M and supported device works well...

jolly narwhal
#

I do it with cc1352 and cc2652

#

And it has never failed a firmware upgrade

#

I've done probably.... 150 upgrades

solid inlet
#

Nice! Another point towards a change of coordinator...

primal herald
fresh citrus
#

Moving it here. Anyone use the "Frient Intelligent Smoke Sensor" with Conbee II? Does it work?
I'm using ZHA.

violet dagger
#

their heat alarm works so its a high probability smoke one works too

fresh citrus
#

Aah great!

violet dagger
fresh citrus
#

Yeah found it

violet dagger
#

all of my frient stuff works with zha

#

they follow 3.0 spec

fresh citrus
#

And i do not need any app/cloud shite etc correct?

violet dagger
#

if you have a stick and HA, no

fresh citrus
#

Great! Thanks ๐Ÿป

fresh citrus
violet dagger
#

why would you get those on a smoke sensor"

fresh citrus
#

It detects heat as well.

#

"Smoke and rapid heat changes"

violet dagger
#

then you probably get a temp one besides smoke and alarm

autumn warren
#

@austere patio just realized I forgot to properly thank you, so thanks for all your help!

rancid sonnet
#

i recently recreated my zigbee network on deCONZ, and every since then, my SmartThings motion detectors detect initial motion, and then nothing... for at least 7+ minutes. It worked fine before, and my iKEA motion sensors work fine. Anyone seen this before?

obsidian sandalBOT
#

deCONZ by dresden elektronik is a software that communicates with ConBee/RaspBee Zigbee gateways and exposes Zigbee devices that are connected to the gateway. Our #zigbee-archived channel is a good place to ask about using it with Home Assistant, but they also have their own Discord server.

sour shadow
#

They may know more about it over on the deCONZ discord

rancid sonnet
#

cool, i'll give it a shot!

final pivot
#

Hi Guys my cc2531 goes green when i plug it in but then lights goes out after 15 seconds or so, when adding via zha it shows old devices, how do I reset this thing (also shows cordinator offline in visualization)

austere patio
final pivot
#

yeah I did put something in my config a few instances ago to turn it off, im on a new instants and havent done that but its off now, maybe a update to zha, I thought I had something wrong with it but looks like deleted the db did the job ๐Ÿ™‚

austere patio
#

Yeah, it's the new default

final pivot
#

Nice one, was a pretty bright green xD

jolly narwhal
#

Also, you should get rid of it

#

And replace it with anything usable @final pivot

final pivot
#

yeahh not got many devices 1 remote and 1 temp sensor, all my lights are on the hue hub

solid inlet
#

Is there a recommended "best practice" of how to distribute lights and devices? Several coordinators maybe?

jolly narwhal
#

No

#

One mesh@solid inlet

#

One coordinator

#

Everything paired in place

proven sentinel
#

I'm using Zigbee2MQTT for my sensors and buttons. I successfully linked a Hue Tap (after setting the channel properly), then deleted it again. Now, I simply cannot get that Tap to link again, whatever I do. Tried to link it to a Hue Bridge, which worked. But it simply doesn't want to join my Zigbee2MQTT network anymore. Any thoughts?

solid inlet
# jolly narwhal No

Ok, thanks. Was thinking of spreading the risk of everything going south at once should it fail. Is there a good way of thinking redundancy?

sour shadow
#

Don't buy a cheap and crappy coordinator?

#

Buying a spare if you want to reduce the risks of hardware failure is a good choice

#

Not even my crappy CC2531 sticks have failed utterly ... worst case remove/re-insert

solid inlet
#

Ok. Just ordered a new one to switch to Z2M, hope that'll be good

sour shadow
#

Depends on what you ordered ablobjoy

solid inlet
#

Zig-a-zig something... ๐Ÿ™‚

sour shadow
#

Then that was a good choice

solid inlet
#

๐Ÿ˜„

frail shell
#

Hello everyone :))

#

today i received my zzh stick but i wonder how to flash it ?

sour shadow
frail shell
#

with which (safe) firmware , i'm scared to brick it

#

awesome Thank You Tinkerer! flashing in progress here . .. ๐Ÿ™‚

frail shell
#

thinking here , i either go for a docker container or use the HA addon

#

i think i go for the container version of zigbee2mqtt

sour shadow
#

Great thing about Docker is that you're in control

thick plover
#

what if you are a submissive?

#

and whips please?

#

ok time to go sort myself out

frail shell
#

does someone here knows what i should see when i type

#

dmesg | grep tty

#

i can't find the zzh stick

sour shadow
#

Plug it in, and run sudo dmesg|tail

frail shell
#

BTRFS error , probably my external HDD , i unplug it for a moment

sour shadow
#

I get something like this

[38860565.351542] usb 3-2: new full-speed USB device number 32 using uhci_hcd
[38860565.827045] usb 3-2: New USB device found, idVendor=1a86, idProduct=7523
[38860565.827047] usb 3-2: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[38860565.827048] usb 3-2: Product: USB Serial
[38860565.893995] ch341 3-2:1.0: ch341-uart converter detected
[38860565.910672] usb 3-2: ch341-uart converter now attached to ttyUSB0
frail shell
#

[79767.502205] usb 1-6: new full-speed USB device number 4 using xhci_hcd
[79767.637149] Got empty serial number. Generate serial number from product.
[79791.994339] usb 1-6: USB disconnect, device number 4
[79819.745222] usb 1-3: new full-speed USB device number 5 using xhci_hcd
[79819.880176] Got empty serial number. Generate serial number from product.

#

uart converter ...-> that i miss ,

#

i'll try my debian laptop in stead of synology

sour shadow
#

I do have the ch341 kernel module loaded

#

lsmod|grep ch341

frail shell
#

on synology i see no output when i type "lsmod|grep ch341"

#

on debian ....

sour shadow
#

Try loading it?

frail shell
#

on debian i indeed see a output, checking if it recognises my stick , then i indeed try to load it on syno

#

daniel@debian:~$ dmesg|tail
[ 1324.072213] usb 2-2: new full-speed USB device number 3 using xhci_hcd
[ 1324.221248] usb 2-2: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice= 2.64
[ 1324.221254] usb 2-2: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 1324.221257] usb 2-2: Product: USB Serial
[ 1324.247983] usbcore: registered new interface driver usbserial_generic
[ 1324.248031] usbserial: USB Serial support registered for generic
[ 1324.250697] usbcore: registered new interface driver ch341
[ 1324.250832] usbserial: USB Serial support registered for ch341-uart
[ 1324.250878] ch341 2-2:1.0: ch341-uart converter detected
[ 1324.251474] usb 2-2: ch341-uart converter now attached to ttyUSB0

#

on debian it sees my stick ^^ <--- yess ๐Ÿ™‚

dry fossil
#

The answer: don't use a NAS for anything but file storage.

frail shell
#

offtopic but searching for the command to load the ch341 on my nas

#

exactly mono ๐Ÿ™‚

#

i 'm gonna replace the nas with a debian laptop very soon

jolly narwhal
#

There is some tricks with Synology

#

I've posted it here a few times

#

Should be searchable

fallow warren
#

i know i shouldnt do this, but i paired my temp sensor in one room then moved it to the other, how long will it take to establish a new route?

frail shell
#

i just did "sudo insmod /lib/modules/usbserial.ko" and "sudo insmod /lib/modules/ftdi_sio.ko

#

plugging it into the nas and praying lol

sour shadow
#

Generally speaking, Xiaomi devices may never pick up a new route, for example

fallow warren
#

ok its an aqara temperatuer sensor. repair it is..

#

thanks ๐Ÿ™‚

sour shadow
#

Always pair in place

frail shell
#

update: stick not recognized in the NAS (Yet) , but i will search for the tricks from atxbyea

jolly narwhal
frail shell
#

Hello people : stupid question probably but the zzh stick inside my debian machine should be flashed with the router firmware?

wide nimbus
#

Coordinator

frail shell
#

oops!

sour shadow
#

You probably should read the pinned message about how Zigbee works

frail shell
#

yes i am reading now ๐Ÿ™‚

frail shell
#

zigbee2mqtt is running now

supple portal
#

hey, I'm new and trying to move out from Domoticz. Got my first problem when trying to integrate xiaomi wireless switch from xiaomi gateway for use with blueprints from forums. All I have found are integrations for ZHA and not a single one for Xiaomi Gateway. Does it mean I should drop this gateway and get new one for ZHA to get it working in ha?

sour shadow
#

Well, if you want to just use the blueprint, yes

supple portal
#

got it, thanks

frail shell
#

Tinkerer - Thank You for your patience and help

#

i connected my first zigbee device to zigbee2mqtt - the log is great and it works wonderful , tomorrow i'll do a decent new install (again :P)

sour shadow
#

If you haven't enabled Z2M's native UI already... you should do that

frail shell
#

i'll take a short break and tomorrow i'll do that for sure

#

this afternoon i tried to connect a xiaomi device, brand new , and whatever i tried it did not connect to the stick ....

#

everything seemed OK

#

but right after replacing the battery it did connect

#

the xiaomi door contact seems to report a temperature

jolly narwhal
#

Start with routers, mains powered devices

#

Then do battery powered

frail shell
#

ah yes so that they extend the signal ?

jolly narwhal
#

Yes

frail shell
#

the zzh stick is a huge plus over the Xiaomi gateway

#

atxbyea if you want i could retest the stick in a synology , i wonder if it sees the dongle now it's flashed with the right firmware ๐Ÿ˜Š

#

searchign online for a few other mains powered zigbee devices, i think i go for a bulb

jolly narwhal
#

If you followed this it should work

frail shell
#

thank you ! i indeed followed that link but earlier my dongle had the wrong firmware ๐Ÿ˜Š . I'll test it later this evening with my syno ๐Ÿ™‚ out of curiosity and will let you guys now

jolly narwhal
prisma shell
#

whats the "best" channel to run zigbee on? 26? but I also read some devices don't like 26

#

I have wifi on channel 1 and 11, with possible (but likely unused) 40mhz width which would also use channel 6

austere patio
#

Do a scan

fallow warren
#

anyone can confirm that the hue bulbs can start at a much lower light level than my tradfri bulbs?

jolly narwhal
#

Yes

#

About... 10-20% lower in my experience

fallow warren
#

oh ok thats not alot

jolly narwhal
#

Only room I cared about it was the bedroom

fallow warren
#

yea my exact thoughts, i think the current ikea bulb is too aggressive for my wake up light flow

austere patio
#

Ecosmart/Consciot/Leedarson also can get like 10x dimmer than IKEA's dimmest setting

red rose
#

Total newb - can someone give me a brief explanation (don't want to waste your time) or point me to right sources on what's the difference between various protocols - ZigBee, Z-Wave, ... others?

#

And as someone who is getting into "smart" things now, what is the one I should pick?

forest cobalt
#

Zigbee -> Mesh protocol that operates in the 2.4ghz spectrum. Z-Wave -> Also a mesh[ish] protocol that operates in the 800-900mhz (depending on the country). Has more limitations than zigbee (imho).

#

It really depends on your budget/use cases. Z-wave devices can be slightly more expensive, but there's also a larger amount of Zigbee devices available as opposed to Z-Wave devices. Zigbee devices also tend to be better on batteries. But, Zigbee also introduces headaches when it comes to interference from WiFi and you will want to plan for that by adjusting your WiFi channels versus your Zigbee channel.

red rose
#

hmm, I see

#

could your neighbours wifi interfere with your zigbee channel too? assuming the walls are connected

jolly narwhal
#

ZigBee more expensive? I can usually buy 4 zigbee devices for the price of one zwave ๐Ÿคฃ

forest cobalt
#

Damnit... I totally muxed them up.

#

There.

red rose
#

wait, which part, only the cost part? ๐Ÿ˜„

#

or the whole paragraph? ๐Ÿ˜„

forest cobalt
#

I fixed it. LOL (still on my first cup of โ˜• )

#

Zigbee devices are cheaper, better on battery, and there is a greater selection.

red rose
#

OK, I see

dry fossil
#

If you're willing to wait for shipping, you can get some really good deals on Chinese-made Zigbee devices from AliExpress.

#

The Aqara range is good.

forest cobalt
#

grumble default response: I really, really, REALLY wish they would release the Aqara T1 line already ๐Ÿ˜‰

red rose
#

so I'm reading that the range in living areas for zigbee is around 12 meters, but zigbee being the mesh network it is - does it mean that every "corner" device extends this network by an additional 12 meters? eg a switch connected directly to the electriciy, not to just a battery

sour shadow
#

Well, ish

#

The range is ... quite varied, and yes, every router device does it

#

That's most mains powered devices, but not all

red rose
#

what would be considered a router device in this sense

sour shadow
#

Anything that's not an end device ๐Ÿ˜‚

red rose
#

right now I'm sorting out cables in the walls, so thinking about dimmers/switches/bulbs

sour shadow
#

End devices are anything battery powered, and some bulbs and switches/dimmers

red rose
#

right, I see

sour shadow
#

Obviously if you cut the power to a bulb it's no longer a router, and you broke your mesh

forest cobalt
#

Don't break the mesh. ๐Ÿ™‚

dry fossil
#

But everyone knows smart bulbs are lame.

#

Smart switches ftw.

red rose
#

let's say for a moderately big 2 floor 4 bedroom flat, about 100 meter square, would you expect zigbee to cover it just fine if the server is in one of the corners? and by server I also mean the "main router", w/e it is called in this terminology. The module that controls the network, hardware wise

forest cobalt
#

Yup.

sour shadow
#

Coordinator

#

And, the mesh will have no trouble - the coordinator itself probably won't cover it all though

red rose
sour shadow
#

Practical range of Zigbee is typically in the 8 to 10 meters range - less with solid walls or other obstructions

red rose
#

that's the distance between 2 broadcasting devices, right?

sour shadow
#

Any two devices, yes

red rose
#

ie. as logn as my flat is riddles with broadcast-capable devices, it's fine ๐Ÿ˜„

sour shadow
#

Routers is the term

red rose
#

ye, right

sour shadow
#

There's a useful guide to the language and Zigbee in the pinned messages

violet dagger
#

switch is on/off only

#

you need light controllers for color fun

sour shadow
#

If you want colour (or colour temperature) you need smart bulbs. Though, Philips do dumb bulbs that get warmer as they dim

red rose
#

my current plan is to have smart bulbs that can change color (not going pink, more like a bit orange-ish towards the night, etc) in the "main room lights" and ceiling lights will be connected to the curcuit to a dimmer on the wall

#

and some smart led strips, nothing excessive tho

#

I'm opened to any ideas tbh. I'm at the stage where things are still super flexible

sour shadow
#

For what you describe, CCT (colour temperature) is likely what you're after

#

(hopefully by now other brands will do something similar)

red rose
#

yep, that looks pretty slick

#

just to confrim, that's not a smart bulb, that's a regular led bulb that dimms based on the input received from the circuit dimmer, right?

sour shadow
#

Yes

red rose
#

From my current, basic, understanding - the devices do not communicate with each other through server, but directly. The server, and the controller, is there to re-program them and to give timed signals and such, but once you say "this on/off switch turns on/off devices a b c d e f" - this info is saved on the devices directly and in case the server/controller goes offline, the devices will still work, until they are re-programmed?

#

Or do I completely misunderstand the technology?

sour shadow
#

Binding works that way, yes

red rose
#

Mind to elaborate a bit? I sear I'm not too stupid, just getting familiar with the terminologies and the technology ๐Ÿ™‚

#

ie. the only reason right now as to why am I not doing every light "smart", in a sense, is because I was worried that if something happens to the server/controller I will end up unable to turn on my lights and will go by the candles till I fix it ๐Ÿ˜‚

#

but apparently that's not the case

sour shadow
#

Zigbee binding is how you tell a switch that it should turn something else on and off

#

Or a dimmer controls a (Zigbee) light directly

#

Without it, HA is involved in all activity. Which is pretty normal because very few switches actually support it ๐Ÿ˜„

forest cobalt
red rose
#

be my guest ๐Ÿ˜‚

red rose
obsidian sandalBOT
#

@red rose When using Discord's new Reply feature it defaults to pinging the person you reply to, which can get frustrating for the target. Click @ ON to @ OFF to stop this - on the right side of the compose bar.

forest cobalt
#

So, for your first point, if you're adding a server to your network (and really, that's what HA is in a nutshell), follow the numerous guides around to make sure it's stable. It's not hard to do.

#

For your second point, if you use binding, then it doesn't matter if your controller goes down or not (Z2M, ZHA/HA, etc). The devices that are bound to each other will still work so long as they can communicate directly.

red rose
#

Obviously things will be running smoothly for the most part, but at the same time a PC can need a manual restart from a time to time, or a hardware component will blow out, etc, and while things get fixed you want to be able to turn on your lights ๐Ÿ™‚

red rose
violet dagger
#

don't turn them off when that happens ๐Ÿ˜

forest cobalt
#

There's tons of devices that support it... https://zigbee.blakadder.com/ is pretty much the definitive guide to finding out what devices are supported and what they support themselves.

red rose
#

perfect, thanks, OK, hardware aside - zigbee specifically - is there some sort of delay expected between turning on the switch and bulbs actually getting lit? Are we talking a few ms, humanly not really noticeable, or are we talking 500ms?

#

I know I have been in some "smart" homes where you turned on a switch and things took 2 seconds to turn on, and apparenly that was "the way it is" (not software delay), but admittedly this was a few years back and obviously technology has advanced since then a ton

violet dagger
#

there is but everyone perceived time differently when it comes to turning the lights on

red rose
#

it was super uncomfortable because you kept wondering whether you turned on the right switch at all

forest cobalt
#

That largely depends on the quality of your mesh. In a healthy mesh, you can expect between 250ms-1000ms. But, yeah, what blakadder stated... perception plays a large part.

#

In my house, I have mostly WiFi bulbs with Zigbee sensors. So, walk into a room > motion sensor trips > sends notification to HA > HA issues command to bulb. That whole process typically takes less than 750ms. Rarely do any of my lights take more than 1 second to activate.

red rose
#

and we also talk about dimmers that control their own circuit, albeit the individual devices are a few millimeters apart? or that one is basically instant, but if another device is bound to getting turned on when it turns on (eg a smart bulb in the middle of a living room) - that one can get turned on with some delay?

sour shadow
#

A few mm or a few meters, doesn't really matter

#

What's more important is the routing and processing

violet dagger
#

lets just say if you have 6 bulbs turned on by once command they will not all turn on at the same time most of the time

sour shadow
#

Though, if you use a Zigbee group, it'll effectively be the same time

forest cobalt
#

Zigbee light groups for the win.

#

Effectively reduces the popcorn effect to next to nothing.

red rose
#

right, a bit slowly please - just dimmer now. Dimmer has 2 components from my understanding. The module taht you rotate - the wheel, and the thing (forgot the term) that actually controls the voltage, right? When you physically turn the wheel, a signal is emitted into the network and other devices can act upon it. But at the same time the input is received instantly for the controller to increase/decrease the voltage - whether the actual dimmer, as a whole, is connected to the network at all. Right...?

#

intuitively that should mean turning the wheel is basically instant

sour shadow
#

If you're talking about a dimmer wired to a dumb bulb, yes

forest cobalt
#

Potentiometer is the word you are looking for. ๐Ÿ˜‰ lol

sour shadow
#

If you're talking about a smart dimmer and a smart bulb then ... eh

red rose
obsidian sandalBOT
#

@red rose When using Discord's new Reply feature it defaults to pinging the person you reply to, which can get frustrating for the target. Click @ ON to @ OFF to stop this - on the right side of the compose bar.

sour shadow
#

Please @red rose
Stop @red rose
With @red rose
The @red rose
Tagging @red rose

red rose
#

I understand that if I want the smart bulbs to turn on when I turn on a smart dimmer, there will be certain delay as the signal must propagate through the network

forest cobalt
#

Correct

#

On a small network without a lot of congestion, you'll rarely perceive the delay. On a larger network and/or mesh, you might. It's one of the trade-offs in regards to smart devices (imho).

red rose
#

smart and large - we talk about physical distance or number of devices, or both?

sour shadow
#

Both potentially

#

Larger distances == weaker signals == increased risk of lost/corrupt messages

red rose
sour shadow
#

This is HA, you can mix and match ๐Ÿ˜‰

#

I have WiFi, Zigbee, Z-Wave, and more

red rose
#

right, OK, that's cool

forest cobalt
#

Zigbee and WiFi both coexist in the 2.4ghz spectrum. But, what Tinkerer stated: HA allows you to mix and match nearly everything from damn near any protocol family. So, in my use case, I have Zigbee sensors controlling WiFi devices. I also have WiFi devices controlling Z-Wave devices. It's like a big, blended family. ๐Ÿ˜„

red rose
#

well, my thing is that I'm paranoid and private, so I do not want any IoT device that has access to internet, so I'm thinking about creating two separete wifi networks, for the future case where if I want to buy an IOT device that works on wifi, I will still be able to do stuff with it, but it won't be able to communicate with the outside world

forest cobalt
#

VLANs.

sour shadow
#

How good is your existing networking skills?

red rose
#

only theoretical ๐Ÿ™‚

sour shadow
#

Because, trust me, that's not as trivial as you think

red rose
#

yes I know it's not

#

but luckily I have some colleagues who are experts in this area so I think they will be able to help me out, heh

#

networking is a major pita

forest cobalt
#

You'll want to query them about vlans then. In a nutshell, you create vlans to block certain devices from being able to access other segments of your physical network.

sour shadow
#

Then you realise that everything smart, including HA, needs to be there

forest cobalt
#

LOL

red rose
#

yep, the problem is when you want to have a device that listens there, ie. the pi with HA on it...

sour shadow
#

And then that causes fun with how your phone accesses that, so you open up holes

red rose
#

and be able to access the PI from outside

#

heh, at least we are on the same page, ye, that's not certainly easy

#

or rather, it's not straightforward, let's put it that way

forest cobalt
#

It's certainly not. BUT... it is doable and there are at least 5+ years of guides and such on how to do it.

red rose
#

I assume HA has some android app where if you have everything on the wifi where your phone is, you can connect to it etc?

sour shadow
#

Yes, but it's really a wrapper for the UI

forest cobalt
#

I think the BEST advice I was ever given (and I continue to give to this day) is that you have to have patience when starting out with home automation.

red rose
#

yeah that's to be expected

sour shadow
#

It will be a case of one step forwards, ten leaps backwards at times

red rose
#

I like to Tinker with things, heh

forest cobalt
#

You'd be surprised how many people don't get that... lol

red rose
#

my electrician showed me a "smart led strip" he installed... and I asked him to show me how is it turned on /off

#

it had a frikkin remote control with 4 colors printed on it...

#

"smart"...

forest cobalt
#

lmfao

#

Just no

red rose
#

๐Ÿ˜ญ I cannot post gifs, OK

forest cobalt
#

Nope. It's a mod thing ๐Ÿ˜‰

red rose
#

pay2win

#

let's riot

forest cobalt
#

Nah, it's actually a lifesaver in busy channels.

red rose
#

ye, I'm kidding

forest cobalt
#

BUT... back to the topic... start off small. Personally, I'd go smart bulbs over switches to start. Or, start with one dimmer and a few dumb bulbs.

#

And keep doing what you're doing: asking LOTS of questions.

red rose
#

OK, so, just to clear things up and reiterate some stuff, to make sure I get it:

(1) dimmers = local, dumb, lights = instant

**(2) ** anything over the network, whether it's a smart bulb or w/e, will take ~ 250-1000 ms. Not perfect but at this point you can make it turn on gradually to make it like that it's intended

(3) lights inside a group turn on simultaneously, not individually (with arbitrary delays in-between)

**(4) **mesh network = every router-ish device is extending the range, so as long as you have a device in each room (basically) you are fine

(5) devices can be bound to not rely on controller/server to know what to do (at least partially, like smart switch -> turn smart bulb on), but, obviously, not all devices support this

(6) HA can interconnect and work with anything, but I would think if one has the choice, stick with one protocol for the simplicity of things

(7) ZigBee works on higher frequency, so less range, but more devices available than ZWave, and also usually cheaper

forest cobalt
#

#4: Most devices. The basic rule is that if it's mains powered, it should be a router, but there are fringe devices that break that spec.

#

#6: That actually goes against what HA is and does. It's a hub for all your devices/protocols. Starting off, yeah, stay with as few protocols as you can, but keep in mind that usually you can find an integration for pretty much anything (~1700+ integrations and growing as of today).

#

Everything is else is basically on point. There's nitpicky things, but you'll discover those as you learn more.

red rose
#

(6) yeah I get it, I talked from the newbie perspective, as you say, start off with 1 thing...

red rose
forest cobalt
#

LOL, we deal with some many levels of knowledge here and in the forums, I sometimes tend to reiterate things. Sorry... Def not a slight against you at all.

#

Yeah, I remember you mentioning that in hardware.

red rose
#

ie. when I move in all walls will have dimmers

sour shadow
#

(2) or less
(3) Mostly
(5) Some can
(6) Yes, and whatever

#

I had a Z-Wave remote controlling a WiFi LED strip through HA, delay wasn't something you could notice

red rose
#

so what I plan to do now is to get rpi/ha up and running asap and make some very basic (ie literally in my living room) electrical network with the devices to get myself familiar with it

#

so now the question will be what hardware to get, ie literally what dimmers, bulbs, switches, etc

#

once I decide on some I'll buy 1 to test it out, compatibility, etc, and then buy however many I need

#

hope that makes sense

sour shadow
#

Well, that's a ...

obsidian sandalBOT
#

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)
sour shadow
#

The right question though is what problem do you want to solve first and start from there

forest cobalt
#

Bookmark blakadder's site as a first step in choosing hardware. When you're in a store or online shopping for devices, check it. If there's further questions, ask here or in the forums. Doing this before purchasing will save you a LOT of headaches (and perhaps money) later on.

sour shadow
#

For example I want lights that come on automatically when the room is dark sounds easy, but then quickly becomes more complicated than you expect

red rose
#
  • Slovakia (EU)
  • Flexible - I understand a smart bulb is more expensive than a traditional one, but not gonna spend 50 eur per bulb ๐Ÿ˜‚
  • ZigBee
  • Starting off with lights only. About 50 dimmable bulbs (not smart), eg the philips ones mentioned earlier, and let's say 10 smart bulbs in various rooms, and 2-3 smart led strips
sour shadow
#

Ikea (Tradfri) bulbs are cheap, and fairly good

#

Gledopto do LED strip controllers so you can add any length/quality of strip that suits you

red rose
#

The 50 is overkill, let's say 30

#

Oh yeah and I'm thinking about doing led strips on my stairs, with a motion sensor, to get turned on gradually (eg 300 ms delay in-between)

#

so while that can be done later (software wise), it would be nice to get wiring in-place while things are still possible

sour shadow
#

You may also want to think about digital LED strips, for another rabbit hole

red rose
#

the led strips got me a bit worried, beacuse the electricity guys have no idea wtf am I asking from them

sour shadow
#

12V or 24V supply at one end (at least for 24V)

#

The controller can run from the same supply (stepped down to 5V usually), so really all you need is a power socket somewhere convenient

red rose
#

I do understand how 1 strip works, but in case of eg stairs

#

where if you have 20 steps you have 20 strips

#

that's where I get lost, hardware wise (wiring)

sour shadow
#

If it's analogue then you can wire them in parallel. If it's digital you'll wire them in series

#

You can of course wire analogue in series too, and you can run entirely separate digital strips from the controller if you want to, but it's probably not a good idea (not really a topic for this channel though)

amber gull
#

Embrighten Zigbee add-on switches are $5 on Amazon today (US)

forest cobalt
#

Damn... that's not bad!

#

What sucks is that I don't have any 3-ways in the house ๐Ÿ˜ฆ

earnest sigil
#

I think this is a silly question but here goes. My whole house is Hue lights. Instead of trying to extend my new Hass zigbee mesh with some powered devices, can I just unpair my Hue bulbs from hue and pair them to Z2M?

forest cobalt
#

Yes.

earnest sigil
#

and the downside I guess is losing the Hue app/ecosystem and the device updates that gives?

#

I'm wondering why I wouldn't do it

thick plover
#

And the devices still receive OTA updates from z2m

earnest sigil
#

oh nice

#

IIRC hue hubs had a limit of ~50 devices and I'm very close to that. would this allow me to go further (numbers wise) with my network?

thick plover
#

Yep

#

Im on 64 devices at the moment

earnest sigil
#

cool. feels like this could be a good move then (once over the migration hump)

thick plover
#

My hue bridge was full with 30 devices because I had a heap of scenes on it too

#

No issues there now

#

Migration will be easy, few hours max if you do it right

earnest sigil
#

Is there an optimal way to go about it then

#

?

thick plover
#

What I did was get the broker and z2m running etc

#

Then one by one I removed devices from my hue hub which put them in pairing mode which then appeared on z2m

austere patio
#

If you're willing to waste some time with a CC2531 (or another sniffer), you can steal the Hue hub's network info and just "take over" the network. Otherwise I think there's that Hue remote touchlink thing that you can do to speed it up?

earnest sigil
#

I think touchlink means getting the zzh stick next to the device?

#

which is going to be hard

sour shadow
#

Always pair from the coordinator out if you can, just because it helps build the mesh "right"

earnest sigil
#

right so start with the bulbs in the hallway next to my office where the server is

sour shadow
#

Yeah

earnest sigil
#

does the bulb to be paired have to be in range of the coordinator? or just another bulb on the mesh?

sour shadow
#

The mesh

#

The mains powered devices should sort themselves out anyway, at least Hue ones should, but you may as well help things along

earnest sigil
#

ok cool so as I work out the bulbs further away will see the bulbs nearest that are already adpoted

sour shadow
#

Yup

earnest sigil
#

nice

sour shadow
#

Some will still go direct to the coordinator, others will join via another bulb

earnest sigil
#

I saw something about using Groups in z2m to tidy things up

sour shadow
#

Handy for mass control

earnest sigil
#

and separate to Areas in hass I guess

#

is it best to use both?

sour shadow
#

Yes, and also HA groups

#

Areas in HA are ... not terribly useful yet IMO

earnest sigil
#

ahh ok, will z2m groups get added to hass as groups?

sour shadow
#

Read the link ๐Ÿ˜‰

#

Groups in Zigbee allow you to control multiple devices with one command - faster than doing it device by device

#

Groups in HA are just a collection of things - if you turn a HA group on then the devices are turned on one at a time

earnest sigil
#

yeah the z2m doesn't explictly say hass also sees them as a group

#

I guess it's implied

#

or I'm not reading it very well ๐Ÿ™‚

sour shadow
#

(Zigbee group != HA group)

earnest sigil
#

cant see a link

#

ok cool so I need to manually set up the link between the groups

sour shadow
#

Yeah, since they're not the same thing

earnest sigil
#

yeah awesome

#

would they add auto-discovery at some point do you think?

#

seems like a sensible thing to do

sour shadow
#

No idea, there's likely an issue on the Z2M Git somewhere

earnest sigil
#

๐Ÿ™‚

#

well deleted my first bulb from Hue, 5s later it's in Z2M

jolly narwhal
rotund wave
#

Weird-ness here: I added an Aqaros temp/humidity sensor. I added it to a graph card of temps in the house, which is in F, but its displaying in a separate graph. Its displaying F values but the graph says its n C.

#

Can't post a pic here but its basically in the same car but a separate graph underneath it

austere patio
#

Seems like a display issue, not a Zigbee issue

earnest sigil
#

hmm one of the bulbs failed interview. do I just delete it and let it re-pair again?

rotund wave
#

Yeah I will hop up to another channel, was just looking to see if anyone knew if there was a setting I Neeed to change. I checked all the config files. Thanks puddly

dry fossil
austere patio
#

All Zigbee sensors should be reporting in degrees C after quirks/converters are applied

earnest sigil
#

how do you retry the pair with a bulb?

dry fossil
#

Same way you did it the first time.

earnest sigil
#

first time I just deleted it from Hue and it auto-paired

#

do i need to add it back into Hue, then remove it from there again?

dry fossil
#

๐Ÿค”

#

If it failed the interview, it's not connected to anything.

#

Follow the pairing instructions for that bulb while your Z2M coordinator is accepting new devices.

earnest sigil
#

yeah just tryingto work out how to get it back into pairing mode

#

tried another in the meantime and that's failed to interview as well

#

next 2 fine though, so 4/6 ok

#

aha there's a magic trick with a Hue Dimmer ๐Ÿ™‚

#

which is quite hard to do when your bulbs are closed together ๐Ÿ˜„

fresh citrus
#

I have a Frient smoke detector "SMSZB-120" with ZHA and ConBee II.
There entities for status (clear, smoke etc), temp but also a switch. My guess was that the switch would activate the alarm. But it doesn't. Switch goes on and back off after 10-15 seconds.
Can i find out if it does work with the switch? Anyone else have those detectors here?

austere patio
#

Could be that the device is erroneously reporting the on/off as an input instead of an output and it's made to directly trigger lights or something?

fresh citrus
#

Maybe. I'll activate logging and we'll see.

earnest sigil
#

how is that linking to the group I created in z2m then?

#

oh god ignore me

earnest sigil
#

reading completely the wrong page ๐Ÿ™‚

fresh citrus
#

Also
2021-06-01 18:23:26 DEBUG (MainThread) [homeassistant.core] Service did not complete before timeout: <ServiceCall switch.turn_on (c:455a4de59c9114c9d9114232d070b093): entity_id=['switch.smokedetector_bottom']>

austere patio
#

Seems like it just doesn't handle the request

fresh citrus
#

If i check Clusters there's On/off etc, Maybe t here's a way to puzzle something together that way?

austere patio
#

If you get enough debug logs of the device operating, sure

fresh citrus
#

Alright so i got it to activate by detecting smoke

austere patio
#

So the "switch" is an output, not an input

fresh citrus
#

According to the manufacturer they should be able to trigger each other. So there should be a way to do it.

#

The switch didn't trigger on smoke. Just the status.

austere patio
#

I don't think you'd see it trigger in the UI. What do the logs say?

fresh citrus
fresh citrus
#

So that's the cluster ````IasZone (Enpoint id: 35, id: 0x500, Type:In)``` i guess. And there Zone_status (id: 0x0002) with the value "ZoneStatus.Restore_reports|Supervision_reports".

austere patio
#

Failed to parse message (b'090a00310000') on cluster 1280 doesn't look good

fresh citrus
#

What does that mean?

austere patio
#

Your device is sending bad reports

#

Spec says to include these fields:

"zone_status": ZoneStatus,
"extended_status": t.bitmap8,
"zone_id": t.uint8_t,
"delay": t.uint16_t,
#

Yours omits the last two

#

Likely needs a quirk to handle those reports, as otherwise they can't be parsed and are discarded

#

But that's not your current issue

fresh citrus
#

Alright so add support in ZHA more or less then?

#

Oh alright. What's my current issue? ๐Ÿ™‚

austere patio
#

That on/off thing

#

What does the device signature say?

fresh citrus
austere patio
#

Yep, it says it has an OnOff input cluster on the first endpoint

fresh citrus
#

Alright, and i wanted an output?

#

The goal more or less is to have HA activate the one detector when the other triggers. So if it's a switch or not doesn't matter. But i guess there's some sort of command for turning it on/off.

austere patio
#

Do you have the original hub or some way to see how that's setup?

fresh citrus
#

No just these to detectors i'm afraid.

austere patio
#

Hmm. I'm not too familiar with the IAS stuff so maybe triggering multiple alarms in one zone is already covered by the spec

fresh citrus
#

So i dont know

austere patio
fresh citrus
#

Oh. And it's new-ish.

austere patio
#

Looks like there's enough info there to maybe start on a quirk

fresh citrus
#

Setting a notification on that issue. Thanks a lot for your help!

#

But it works! Sending "issue_zigbee_cluster_command" in NodeRed does the trick for now.

#

Later on i would like to bind them together so i dont have to rely on HA/NodeRed for it.

earnest sigil
#

Just wondering but is there a max mesh size a zzh can cope with?

sour shadow
#

A few thousand devices

earnest sigil
#

oh, cool

sour shadow
#

Zigbee mesh tops out just over 65K devices

#

Obviously you need most of those to be routers

earnest sigil
#

just seems that the more bulbs I add, the harder it is to get things to pair

#

before I'd drop a bulb out of Hue and it would appear really quickly. now some just dont show at all

sour shadow
#

ZZH is good for 50 direct children, 100 normal routes, 200 source routes, and 200 Zigbee 3.0 devices

#

I've got 60 odd devices without issues, others have well over 100

earnest sigil
#

ok

#

is pairing more reliable if the coordinator is in the middle?

#

I thought they just paired through other nodes so it didn;t matter

sour shadow
#

Mine is off in a corner of the house, I've had no issues pairing

#

Are you using Zigbee2MQTT or ZHA?

earnest sigil
#

z2m

sour shadow
#

Have you mapped what the mesh currently looks like?

earnest sigil
#

hmm can't seem to add images here

obsidian sandalBOT
#

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

Image posting is blocked in most channels to discourage people from sharing text as images.

earnest sigil
#

ahh need to share it online

sour shadow
#

Not terrible, but a bit less interconnectivity than I'd expect

earnest sigil
#

The battery ones haven't swapped to a neare node either which is interestinf

sour shadow
#

Well, depending on the brand, they may not

#

Xiaomi for instance are well known for not

#

Maybe you just need to wait a little for the mesh to settle shrug

#

I've got about 60 devices, and new ones pair without any issues

earnest sigil
#

I was hoping the battery ones would njoin nearre thing. Will let it settle

sour shadow
#

Well.... depends on the brand, and you haven't said what they are, so ... shrug

earnest sigil
#

Aqara

sour shadow
#

Xiaomi then

#

Xiaomi for instance are well known for not

#

If you want them to join a nearer router, you need to re-pair them and see what happens

earnest sigil
#

Ok will give that a go later then

#

Might get a long usb and run the coordinator somewhere better as well

sour shadow
#

An extension cable is a good plan anyway, at least a USB 2.0 one is

livid abyss
#

I just installed z2m in docker. My automations don't work, and in looking at why I noticed on a remote click z2m sends like 4 mqtt messages or so. But when I watch state_changed in the developer tools, each click generates dozens of messages, which seem to repeat, too. Is this normal?

earnest sigil
#

I've got like 5 very stubborn bulbs ๐Ÿ˜„

earnest sigil
#

Plugged my zzh into a long usb cable and took it into the lounge. Suddenly all my missing bulbs started pairing

fleet lodge
#

If you want your Aqara devices to jump to anything but the coordinator, you need mains-powered, Aqara-branded routers.

earnest sigil
#

bugger

austere patio
#

I'll have to look at my map again but pretty sure most of mine are connected to parents

earnest sigil
#

i've moved my coordinator back closer to where it was and things are still working - looks like it just needed to be closer for the bulbs to pair

#

I'll need to come up with a final location

fleet lodge
#

Apologies, I meant if Aqara end-devices go down and you do not want them to deep sleep forever after, you need to have mains-powered, Aqara-branded routers.

earnest sigil
#

There don't seem to be many mains powered aqara devices?

heavy latch
#

the light switches without neutral

fleet lodge
#

If you leverage Aqara mains-powered devices as routers, Aqara end-devices have the ability to find and pair with new parents.

heavy latch
#

Have a house full of them ๐Ÿ™‚ been great so far

earnest sigil
#

hmm light switches could work

#

I currently don't use our lightswitches - I just have hue dimmers on the wall next to them

fleet lodge
#

I place one of these in every room where we install our solution

heavy latch
#

I use the two-switch versions and decouple the second switch's relay and use that switch as a remote for other stuff, like bookshelf lights or lamps

earnest sigil
#

ahh I need UK

heavy latch
#

ahh

fleet lodge
#

If you use Aqara end-devices, I can't recommend any other routers than Aqara mains-powered that share the same bastardized version of Zigbee 1.2

heavy latch
#

ahh cool, that doubles as a temp sensor

earnest sigil
#

wish I'd known this before I bought 5 aqara door sensors ๐Ÿ˜„

austere patio
#

Could just be a Zigbee 3.0 vs 1.2 thing

fleet lodge
#

@austere patio I have not recorded how long. But when I unplug my coordinator for extended periods of time, all end-devices that were connected to the coordinator will have found new parents in Aqara mains-powered routers.

#

I shelved all of my Ikea Tradfri Smart Plugs after finding this functionality

earnest sigil
#

lol plus I moved my whole light network off the hue hub thinking it would help with the door sensors ๐Ÿ˜„

fleet lodge
#

In my opinion, it's the only way to provision Aqara 1.2 based end-devices reliably.

#

The largest knock on Aqara 1.2 based end-devices is that they are unable to find new parents when a parent goes down or dies. But if you stay within the Aqara ecosystem, everything functions flawlessly.

austere patio
#

My motion sensors do that just fine

#

Door I haven't tested but temp do not

fleet lodge
#

They are able to hop to a new, non-aqara based parent when a parent dies?

austere patio
#

Yeah

#

I have no Aqara routers

#

Could be due to the 5s trigger period mod but I have no uhmidded sensors to test

earnest sigil
#

so which are the right light switches if I wanted to try that route?

fleet lodge
#

I did not have the luck you had with my Tradfris

austere patio
#

Are they all running the latest firmware?

fleet lodge
#

I didn't bother

austere patio
#

Cuz not all bulbs are 3.0 without an update

fleet lodge
#

had two routers fall off, and all of the sensors that were connected previously to those routers hopped on new parents.

#

All of my devices are 1.2

austere patio
#

I don't think sensors have a way to tell though

#

They don't query the parent model info iirc

#

Or really any info other than knowing the parent IEEE I think and I doubt Aqara does anything fancy like pulling a prefix out of that and applying different logic

heavy latch
#

Looks like the newest aqara wall switches are 3.0

fleet lodge
#

What I am saying is that by using Aqara mains-powered routers, Aqara devices are able to find new parents.

austere patio
#

Yeah. I'm not sure how that would work though

#

They can't tell they have an Aqara parent

fleet lodge
#

I donโ€™t have a technical answer for you

#

I spent a lot of money to figure this out

austere patio
#

I'll have to try it out myself, I'm curious to see why you're having that issue

#

The Aqara routers I believe are Zigbee 3.0?

fleet lodge
#

Itโ€™s not an issue, itโ€™s a solution

austere patio
#

Right, but I'm curious as to what specific change solved your issue

fleet lodge
#

My only explanation is that they used the same bastardized ZigBee 1.2 protocol

#

Thereโ€™s some sort of proprietary logic that enables them to find each other after a parent dies

heavy latch
#

how does one tell which protocol version they are using?

fleet lodge
#

Google. Google the model number and look at the product spec

austere patio
#

It's a spec revision more than a new protocol. It's cross compatible, only major change is security and some increased timeouts

fleet lodge
#

Whatever it is, itโ€™s the only way to provision Aqara 1.2 devices by the 100โ€™s reliably

#

Heading into Yoga ๐Ÿง˜โ€โ™‚๏ธ

earnest sigil
#

Maybe for my doors further away then I need to find a different door sensor. one that's happy connecting to hue bulbs as routers

gentle flint
# sour shadow A few thousand devices

Interestingly, both Silabs and TI have articles about high density networks and in both cases it was about 400 devices. I have a strong suspicion the zigbee network exponentially goes to shit once you over that number. So a 1000 devices maybe, but a few thousand I'm highly sceptical. Thread bis far better suited to handle larger networks. Having too many routers in zigbee network is not helping when there are too many of them, that's why a thread network has only 64 routers and a device can switch between being a router or an end device

cunning trellis
#

Anyone else having 0 devices joined after upgrading zigbee2mqtt from 1.18.3 to 1.19? Just had to walk around the house to manually rejoin everything, as rolling back didn't help ๐Ÿ˜ฆ

sour shadow
#

The commissioning and backup procedure has heavily been refactored

cunning trellis
#

Well, you can say so if you need to rejoin every device ๐Ÿคญ

sour shadow
#

Did you check the log file for errors/warnings?

cunning trellis
#

I'll recheck, but didn't see anything in my first round

#

Yeah, no error at all - just

info  2021-06-02 08:37:52: Logging to console and directory: '/app/data/log/2021-06-02.08-37-51' filename: log.txt
info  2021-06-02 08:37:52: Starting Zigbee2MQTT version 1.19.0 (commit #89cb4f9)
info  2021-06-02 08:37:52: Starting zigbee-herdsman (0.13.111)
info  2021-06-02 08:38:01: zigbee-herdsman started
info  2021-06-02 08:38:01: Coordinator firmware version: '{"meta":{"maintrel":3,"majorrel":2,"minorrel":6,"product":0,"revision":20190109,"transportrev":2},"type":"zStack12"}'
info  2021-06-02 08:38:01: Currently 0 devices are joined:
info  2021-06-02 08:38:01: Zigbee: disabling joining new devices.
sour shadow
#

Configuration is not consistent with adapter state/backup!
Is the entry that would have been in your first 1.19 startup if the problem is the one I linked to

#

You'll want to check that log file

cunning trellis
#

And if I check the older log (for 1.18.3) it mentions all my devices (all 9 of them, lol)

#

There's nothing of interest in my first 1.19 log file โ˜๏ธ
That is literally all (except for the obligatory "connecting to mqtt" and "starting frontend" messages)

sour shadow
#

No idea, I'd open an issue about that (in Z2M)

cunning trellis
#

Already done ๐Ÿ™‚

sour shadow
#

I do see from your issue that your adapter firmware is old, that may be related

cunning trellis
#

I guess there are plenty of others out there that are still using this.....
I'll need to figure out how to update.

jolly narwhal
#

One of the latest-dev builds failed to read my panid