#zigbee-archived

1 messages · Page 149 of 1

quartz flume
#

CC2531 and CC2530 are not recomended, what are the caveats i can encounter? (cant find to buy anything else)

sour shadow
#

Adapters based on the CC2530 or CC2531 chip are not powerful and not recommended for networks larger than 20 devices.

#

Practically speaking, if those are 20 sensors you'll have a better time than 20 lights (say)

#

The busier the mesh, the more likely you are to have problems. At some point though it's likely that the stick will just lock up and you'll have to restart your Zigbee stack and possibly pull the stick out for 30 seconds to power cycle it

#

CC2538 is a passable middle ground

gentle fern
#

I cannot recommend Slaesh's highly enough. It's definitely worth waiting for.

sour shadow
#

Well, all the CC2652 based sticks are broadly similar

#
  • CC2652P has a built in amplifier, which can allow for greater range
#

Slaesh has at least sorted out his shipping issues, and appears to be finally starting to respond to communication attempts now

gentle fern
#

Mine only took about a week, was very impressed

analog tusk
#

I wonder when some company will start packaging these cc2652 sticks on Amazon

#

I’m pretty sure most people just dislike having to buy them on some other website

sour shadow
#

Eh, most people here likely buy from AliExpress/Gearbest to save a small fortune

analog tusk
#

Are the door sensors there reliable?

sour shadow
#

Which ones?

analog tusk
#

Aqara

sour shadow
#

Yes

analog tusk
#

Is zigbee 3.0 worth waiting for?

sour shadow
#

Eh.... probably not

analog tusk
#

Or something like linkind

sour shadow
#

Others seem happy with them

analog tusk
#

What’s the benefit to 3.0?

#

Better reliability? Range?

sour shadow
#

It's an actual standard for a start

#

So, any Zigbee 3.0 device should "just work"

analog tusk
#

Oh…

sour shadow
#

Zigbee 1.2 and earlier are more of a bunch of guidelines

#

Zigbee 3.0 still doesn't require certification, so it'll still be hit and miss

analog tusk
#

Gotcha

#

Welp time to try to find the aqara sensors

#

Are there other things I should look into while I’m waiting a month for shipping?

sour shadow
#

Don't forget you'll need routers

#

And generally read the various 📌 messages about Zigbee, common issues, etc

analog tusk
#

Dang… even with a cc2652p?

sour shadow
#

Well, depends, are you looking at a two room flat?

analog tusk
#

Gotcha…

#

I’ll look into them

sour shadow
#

The signal will be reduced by walls, floors, people...

analog tusk
#

The cheapest way are the plugs right?

verbal elk
#

Hi there, first time writing here... I'm having some problems with my zigbee network and need some help... I've a CC2531 installed as a controller and had 22 devices connected to it. Suddenly, 3 of these devices stopped working idk why, like they have not any connection to the controller. I had a look at some forums and it says that CC2531 only supports 20 devices including the coordinator, so I bought another CC2531 and flashed it with the router firmware (router-cc2531-std.hex) but I'm not able to pair it with my current zigbee network. At first, i thought that the "list of connected devices" was full, so I deleted those that stopped working just to leave free slots, but the red light from the CC2531 router is permanently flashing like 1 flash per second, and it does not connect to the zigbee coordinator (i'm permitting joining btw). I've tried also to expand the time joining is permitted to 2 hours, but nothing happens. Any idea?

sour shadow
sour shadow
verbal elk
sour shadow
#

No idea then

analog citrus
#

Hi Everybody , maybe this is already being asked, but cant find it anywhere, i have a zeegbee sonoff switch that is discoverer as a light in HA via zha how can i change the entity to be a switch ? appreciate anyone that can help on the subject

sour shadow
#

Is it dimmable?

analog citrus
#

this is not a light just a a relay connected to a TV

sour shadow
#

So, not dimmable then - you can get plugs for dimming attached lights 😉

#

It sounds like the device is either mis-identifying itself to ZHA, or ZHA has the wrong quirk

analog citrus
#

just set for somewhat to identify the sonoff basic zigbee as a light by default

#

OK thanks

#

this device is can be either is this something that is hard to customize ?

sour shadow
#

Got a link to the device page?

verbal elk
sour shadow
#

Re-pair them?

verbal elk
#

get these errors:

#

Zigbee2MQTT:warn 2021-08-19 21:38:31: Device '0x00158d0001052d43' left the network
Zigbee2MQTT:info 2021-08-19 21:38:31: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"ieee_address":"0x00158d0001052d43"},"type":"device_leave"}'
Zigbee2MQTT:info 2021-08-19 21:38:31: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"left_network","meta":{"friendly_name":"0x00158d0001052d43"},"type":"device_removed"}'

sour shadow
#

What version of Z2M?

verbal elk
#

Current version: 1.18.1-1 (Registro de cambios)

sour shadow
#

That's not current

verbal elk
#

hmm did you ask for the Z2M addon version in HA?

sour shadow
#

Doesn't look to be dimmable

verbal elk
#

how can i do this?

sour shadow
#

☝️

verbal elk
#

ah sorry did not get the icon XD

analog citrus
verbal elk
obsidian sandalBOT
#

@analog citrus @verbal elk 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.

verbal elk
#

@sour shadow omg sorry found it!

sour shadow
#

If it isn't then you need to open an issue

analog citrus
#

OK thank you

verbal elk
#

hey @sour shadow , thank you very much!!!!!! I had to install the last version and can reconnect both, router and the xiaomi button in a moment, thank you sou much!

mighty river
#

Hi first time asking a question here, I have recently purchased two xiaomi aquara double wireless switches. With them I want to turn on lights. I have deconz working together with the conbee stick. When i was testing the setup I managed to connect one of the switches and was able to execute automation's using the event listener in dev tools to find the deconz_event with the corresponding event data, this I use to execute a certain task. Now i've switched networks and want to integrate this button again. Only it now does not show an event when pressed. So I tried the other button, this worked! So a newly connected button works but the old and previously connected one does not. I've tried reconnecting it quite a few times, took the battery out of the switch and renamed it, but now I am out of ideas. Do any of you perhaps have experience with this, and know how to solve it?

sterile sleet
#

can you control it from deconz?

#

if not you might get some help here

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.

mighty river
odd mango
#

hi! I have some tuya zigbee devices, but no hub. Can I use them with HA and CC2531, without tuya hub?

dry fossil
#

Probably. Have a look at the links in the topic and pins to see what devices are known to be compatible.

obsidian sandalBOT
#

Buy something CC2652 based. This list is a good one, both Tube and Electrolama have been proven to have excellent customer service.

odd mango
#

ok, I've got to use what I have at hand, which is CC2531. It does work with xiaomi stuff

#

so my question is can I use it with tuya as well

#

knowing that I don't have the hub and can't pair then in the app

sour shadow
#

Yes, it'll work with ZHA and Zigbee2MQTT

#

Both of those support a wide range of Zigbee devices (see the pinned message about that)

#

It's a really basic chipset though, with limited capabilities. Do expect to run into issues as you add more devices - somewhere around 20 it'll start to misbehave

odd mango
#

ok, I use ZHA. I've installed the Tuya v2 integration via HACS, but can't find it in the Integrations list on HA's Configuration -> Integrations list

sour shadow
#

The Tuya integration is for their WiFi devices

odd mango
#

oh.

#

what are my options then? To be exact, I have this motorized M500 lock, branded as "airbnk"

#

my phone des see the bluetooth device, but HA does not, no bluetooth and no zigbee part of it

sour shadow
#

Well, if it's Bluetooth then the Zigbee integrations won't work

odd mango
#

it is kinda two in one. Not sure why

sour shadow
#

Well, if it's a Zigbee device, try pairing it - but it'll have to be in the same room as the CC2531

odd mango
#

it does not show up in the scan 😐

hardy crane
#

Who's running a Conbee II with deCONZ addon and knows how to update its firmware?

graceful notch
#

it's on their github

sour shadow
graceful notch
hardy crane
#

their own page says This method cannot be used for the Home-Assistant add-on and no current workaround is known. This also includes the button in Phoscon within the addon.
Which conflicts pascals comment on an issue saying he does do it through phoscon whereas mine just says up to date when it isn't

quick pier
#

can i use any/most zigbee usb sticks for hue lights? (3) or would peeps suggest to use bt from home assistant?

obsidian sandalBOT
#

Buy something CC2652 based. This list is a good one, both Tube and Electrolama have been proven to have excellent customer service.

sour shadow
#

I think it's come up before, and the deCONZ folks recommended spinning up a container just to do the update

hardy crane
hardy crane
#

Go to "Settings -> Gateway" and click the upgrade button. 😂

sour shadow
#

To be fair, there's been "some changes" with the behaviour of the add-on - with things working, or being broken, fairly regularly in the past

hardy crane
#

I'll open an issue on our addon's repo and see what the almighty has to say

graceful notch
#

i did it on 2 sticks

#

orks fine

#

0 issues

#

and I also just spun up that container for updating and then disabled it 🙂

hardy crane
#

yeah I could also just spin up the container that's no issue

#

just thinking we should actually have the correct info documented on the addon's README

quick pier
#

orderd one of the uzb stickz 😉 ill figure out how to mount them from proxmox 😄

graceful notch
#

that can never hurt 😉 but I just followed that guide, no idea how i came to it 😄

hardy crane
#

google is how I found it lol

fresh dagger
#

hi guys Can anyone tell me if this aqara e1 hub gateway zigbee is compatible with the home assistant

sour shadow
#

I'd recommend using one of the options in the channel topic instead though

fresh dagger
#

thx youre the best

sour shadow
#

90% of what I do is try to encourage people to search the docs themselves...

dry fossil
fresh dagger
#

lol... but this help me so much, thx

dry fossil
#

You're welcome

opaque pike
#

anyone know if it will fuck up my zha/ha install badly if i try to run deconz aswell? i have some switches i cant make work in zha and i wanna see if they work in deconz

graceful notch
#

can't do both

opaque pike
#

can i disable zha somehow?

graceful notch
#

disable it in the integrations ?

opaque pike
#

oh i can just disable it from there

#

right thanks

dry fossil
graceful notch
#

yeah but not with 1 coordinator

#

which is the case for 98% of the people here 😉

opaque pike
#

ye

graceful notch
#

but technically, it's possible 🙂

opaque pike
#

ye but in my case i cant anyways

graceful notch
#

just throw away zha and join the dark side with z2m 😆

opaque pike
#

dont really feel like diving into mqtt since i dont know it

dry fossil
#

There's not much to know. It almost sets itself up.

sour shadow
#

MQTT is pretty much invisible in use

opaque pike
#

dude people said zha was plug and play

#

nothing is ever plug and play with this

#

and theres not much help to get other than people pointing you at the docs

#

so id rather not thanks

dry fossil
#

If you wanted something easy, you'd pay an installer to do it all for you.

#

You chose the DIY route, so there's naturally going to be some effort involved.

#

We all try to help. If we point you at the docs, it's because the answer to your question is already documented. It's a lot of effort to answer the same questions all the time, which is why people have written down their knowledge.

opaque pike
#

yes ofc there will be effort involved

#

if i read the docs and dont understand it and come here for help. someone saying "the read docs" isnt much help

dry fossil
#

I don't remember seeing anyone direct you to the docs but maybe it's just the way you phrase questions? Sometimes it's clear when someone's done their research before coming here, other times they can come across as a little lazy.

#

I'm not judging, just offering possible reasons.

opaque pike
#

that wasnt something that happend today

#

it was some other time

opaque pike
#

So the reason im trying out deCONZ instead of ZHA is that i have these LK FUGA Zigbee switches (https://weblab3d.com/vare/ombygningskit-til-zgp2801k4-foh-e-st/) that fit in the exsisting wallsockets in my house but i simply cannot make the pair with ZHA. Now that im trying with deCONZ i cant get them to work either. I tried usin this guide (https://phoscon.de/en/support?fbclid=IwAR3k_8toFc0T2r6t0i8TtZq5R41svZVVpffw6FxxxGQWKvW4k157a_t7b4E#pairing-friends-of-hue-switch) but they never show up. Only of the switches i previously had paired with my Hue Bridge ( that is now disconnected since i want a 1stop bridge solution to my zigbee devices)

#

Anyone have any tricks i should try? I have tried holding down every botton for 10sec to see if that would make it show up in ZHA and now im doing the same in deCONZ with no luck.... I have measured power on the board and its equal to the batteri so i expect it to be powered (also the battery should last 8 years and they are 2 weeks old)

graceful notch
#

i believe it's ZGB and they seem t be still working on it

#

but i believe z2m has support for it

#

could also be a channel issue, kind of hard without a debug log..

opaque pike
#

how would i retrieve a debug log? i also suspect its a channel issue why i set my conbee to channel 25 and used button 4 on the switches to make it pair on channel 25

#

but they never show up

graceful notch
#

but I only know z2m

opaque pike
#

im about to throw this 120€ garbage out the window

#

i spent so many hours on it already

graceful notch
#

google on how to debug with zha or deconz ?

#

I don't know those integrations, but it can't be hard

#

first you need to see if they go through the interview proces or not

#

if not, it's not communicating

#

so you need to check firmware/channel/network key/..

#

and so on and on..

opaque pike
#

oh i have made progress!

#

according to the documentation i was sent key4 should be channel 25 but i can find it on channel 20 when i try to pair it with key4

dull quartz
#

Does z2m allow me to still turn on/off lights if z2m is down? What is this functionality even called?

sour shadow
#

Binding, if you mean the ability to have one device directly control another

dull quartz
#

Indeed! 🙂

sour shadow
#

Not everything supports it, but where it works it's great

dull quartz
#

Now that I know what is called I found rhe docs on it, and that starts by using my use case as an example for when it is a good idea!

sour shadow
#

Yeah, I have a Z-Wave remote and socket that operate on their version - it's very handy

dull quartz
#

I'm currently on the fence about a move from Deconz to z2m....

dull quartz
#

So... You seem sure about it? What is in it for me vs Deconz?

opaque pike
#

so im on the fence of moving from zha to deconz... whats the benefit in moving to z2m?

graceful notch
#

I find z2m easier

sour shadow
#

deCONZ has the slowest set of updates, only supports one set of sticks, and you don't get to add support for new devices

graceful notch
#

there's also more to find online

sour shadow
#

Basically, it's great for those that want to buy something, but if you want to tinker, it sucks

#

The only thing going for it is that it's separate from HA, so you can upgrade/downgrade as you want, and even access it from multiple HA instances, or other things

opaque pike
#

wait do you mean deconz or z2m?

sour shadow
#

deCONZ

opaque pike
#

ye i dont like deconz too much... i like the tight integration of zha but it lacks support

graceful notch
#

I only used deconz to upgrade my conbee sticks 😄

sour shadow
#

Z2M is the one that allows the most flexibility, but ZHA supports the most devices

dull quartz
#

From way back when I tried ZHA, there was an issue where whenever a Tradfri bulb was controlled by a dimmer (binding) ZHA would not be able to track the state of the device... No such issues with Z2M?

sour shadow
#

No idea, haven't used that feature at all

graceful notch
#

& I don't use binding nor ikea devices 😄

opaque pike
#

im giving my ikea devices away

#

they are too flaky imo

#

seems that everything the revolve around HUE works much better

dull quartz
#

My IKEA devices are among the most stable and trusted in my home.

graceful notch
#

tbh lightbulbs -> hue (those are the best but most expensive imo)

#

also the light looks much more nicer than ikea's

dull quartz
#

That I can agree with! 🙂

sour shadow
#

Yeah, Hue are the gold standard, and priced accordingly

opaque pike
#

when i moved from an IKEA Hub + Hue Hub to ZHA everything that was HUE just showed up without any problems

#

Ikea i had to reset multiple times or move right next to the stick to make them work

graceful notch
#

aqara / xiaomi for sensors and hue for bulbs and remotes

opaque pike
#

some bulbs still wont connect

#

the aqara temp sensors are awsome

graceful notch
#

that's my setup

opaque pike
#

man those were easy to add

graceful notch
#

combine that with z2m and things just go smooth

opaque pike
#

pull batteri thingy and press the button and we are good to go

#

and they are really cheap aswell

#

i have them in every room of the house now

graceful notch
#

exactly, i also have some aqara plugs, but I'm not sure about them, i think sometimes they just loose connection for a little bit, even when they're near a hue plug

opaque pike
#

i tested one - and was like - yup these are the ones and bought 8 more

graceful notch
#

but they work fine enough for where I use them 😄

dull quartz
#

So.... If a move to Z2M is in the near future.... How do I minimize downtime/required work? Is there ANY other way than starting from scratch?

#

Also... Running your own dowcker image via Compose or the HA Addon?

sour shadow
#

Compose IMO

graceful notch
#

I think you only need to re-pair them, unless you did some funky stuff

#

but compose

sour shadow
#

There's not really any way to migrate. Best you can hope for is to buy a new stick and "live migrate"

graceful notch
#

i run everything in a compose file

#

Nr, z2m, ha, mqtt brokers, haproxy, ..

dull quartz
#

Yeah, I also have a bit of stuff in a compose "stack".

opaque pike
#

wait is z2m a addon or an integration?

graceful notch
#

only thing I need to do is move the data directories to my new nas and mount them in compose 🙂

dull quartz
#

Well, I wont buy a stick that will eventuelly just stay on a shelf... So.... Here goes the weekend! 😄

dull quartz
#

It is integrated in HA via MQTT

sour shadow
#

It's nice to have a spare coordinator, then you can spin up a test install

graceful notch
#

in python for my grafana dashboard

dull quartz
#

Best of luck! 🙂

graceful notch
#

rip to the weekend 😄

opaque pike
#

so wait what do i need to do to run z2m? im confused here

#

its not an addon nor an integration

obsidian sandalBOT
#

Integrations integrate Home Assistant with devices or services, or provide functionality within Home Assistant. Add-ons provide additional software or services, which an integration could possibility integrate with. Add-ons are for Home Assistant OS and Supervised only, other install methods can install software other ways.

graceful notch
#

you've beaten me to it @dry fossil 😄

sour shadow
#

It is available as an add-on though, if you use the right repo

opaque pike
#

dear lord

dry fossil
#

You're supposed to tag the imposter.

graceful notch
#

haha I wanted to trigger you 😉

opaque pike
#

if its popular why isnt it in the official addon store?

dry fossil
#

Tag the other Tinkerer.

sour shadow
#

Him, not me

graceful notch
#

blame discord for not choosing the right one 😄

sour shadow
#

People have to want to add things to the core add-on store, not everybody does

graceful notch
#

I think most people that use Z2M run it seperately

opaque pike
#

so the z2m guys have a beef with the HA guys or something

#

got it

graceful notch
#

as they want to tinker with things

dull quartz
sour shadow
#

That's a hell of a leap ...

opaque pike
#

why wouldnt u want ur addon in the offical store?

sour shadow
#

You do realise that not everything has to be official? That's kinda the point

#

Because you have to give up control...

#

It's no longer yours, it's the communities

dull quartz
#

Maybe they want to be able to integrate with other systems as well, and not get too tightly connected with one particular system!?

opaque pike
#

this is really what deters normal people getting into stuff like this tbh

dull quartz
#

Z2M is not a HA dedicated software!

opaque pike
#

but whatever

#

it dosnt have to be

sour shadow
#

If that's too high a bar for you, then you're well screwed

graceful notch
#

I think I've spend a couple weeks before going deeper into things

#

just with 1 sensor, 1 switch and 1 bulb

#

and tried a lot

#

re-did the system 3 or 4 times

opaque pike
dull quartz
graceful notch
#

i even have a backup solution as well, when the main system goes down 🙂

#

I don't agree Magnus, it should be Alfa Romeo

#

😄

dull quartz
#

HAHA! 😄

#

Personally I'd vote for SAAB, but since they're out of business....

opaque pike
#

yikes

#

swedish i guess?

#

🙂

dull quartz
#

Nope.... But close! 🙂

graceful notch
#

anyway I'm out, been staring for 13hours at a screen now

opaque pike
#

even if i reload or restart supervisor

sour shadow
opaque pike
#

do i need to reboot the entire host?

dull quartz
#

🙂

opaque pike
#

fuck that

dull quartz
#

What are you running on BTW?

opaque pike
#

im just gonna live without the damn switches

dull quartz
#

Wow, this escalated quickly!?

opaque pike
#

not really

sour shadow
#

Yeah, really

dull quartz
opaque pike
#

i am going back and forth different addons and integrations to make this work

graceful notch
#

stick with 1 thing

opaque pike
#

and now ur sending me to a different channel just to make this addon work

graceful notch
#

because it's a different thing

sour shadow
#

That's how this Discord works, like most

dull quartz
sour shadow
#

Channels exist for purposes

graceful notch
#

I don't know a thing about addons

#

but I do know a thing about zigbee

opaque pike
#

i spent so many hours on these switches already because they will look very nice in my house since they look like regular switches... but im just gonna slap on a hue dimmer switch with doublesided tape because i cannot keep chasing this

dry fossil
opaque pike
#

is there a MQTT channel?

dry fossil
opaque pike
#

Really? There is something called Mosquito MQTT under addons aswell

#

hmm it looks like a completely different way of doing things

sour shadow
#

Right, that's the broker, the software the MQTT integration talks to

hardy crane
#

So not willing to change to Z2M completely (maybe one day) but did spin up a container with a CC2531 just to check if the OSRAM bulbs can be updated with Z2M 😅

#

and of course Z2M found immediately that there was an update smart

sour shadow
#

See, it's magic...

dry fossil
#

Z2M > all dogeparrot

hardy crane
#

deCONZ is giving me no info what so ever for OTA

#

might just be the reason I come to the dark side

opaque pike
#

so it looks like from https://github.com/zigpy/zigpy/pull/656 that getting my damn switches to work with zha is in the works... but is zha build on zigpy or how does it when? when the code goes into zipgy does someone then need to add it to zha or will it come "automatically" ?

hardy crane
#

@opaque pike it updates as part of HA Core updates

#

like any other core integration

opaque pike
#

so when this get added to zigpy it will be added to HA when the next update rolls out?

sour shadow
#

Largely, yes

opaque pike
#

and its on a monthly basis now yes?

sour shadow
#

Yes

opaque pike
#

cool

#

ty

sour shadow
#

So, it has to be merged to Zigpy, then into HA's dev, and then it can make it to the final release

hardy crane
#

so unless that pull gets merged before the last Wednesday of this month you won't see it until October's release

opaque pike
#

thanks

opaque pike
sour shadow
#
    "zigpy==0.36.1",
#

That means the 0.36.1 release of the zigpy Python package

opaque pike
#

and yes or no would be fine

sour shadow
#

"Yes" - Zigpy version 0.36.1

quartz flume
#

Quick question: i have seen several zigbee 3.0 which are also tuya, that mean they will connect to the tuya platform regardless? I ask this because i do not want any of my devices connect to some cloud.

dry fossil
#

Tuya is just a brand, it doesn't mean they all use the cloud.

#

Zigbee stuff doesn't use the internet, as long as you don't use their crappy hubs.

quartz flume
#

Yea, i do not pretend to use their hub. But, those im talking about say they are zigbee 3.0, but also use tuya app. So how i know if it will connect to the tuya network regarless of i using their app ?

dry fossil
#

Zigbee doesn't use apps.

#

Zigbee is a mesh network, controlled by a coordinator. If your coordinator doesn't talk to the cloud, none of your mesh does.

#

No hub = no cloud.

left shale
#

Hi, I am using the zigbee2mqtt HA addon but I am having trouble with the settings set in the UI not persisting after a reboot. To set the settings I manually need to add them to the config tab under the zigbee2mqtt addon. Is there a way to change this so the config updates when set in the UI? Thanks

manic finch
#

Hey folks, similar to the discussion above. I have a tuya zigbee air monitor that is paired with ZHA and a cc2531. But it is not creating any entities. .
I have found a zha quirk that is supposed to fix the working of this, but being a newbie I have no idea what to do with this piece zha quirk code

Would really appreciate if someone could tell me what to do

drifting beacon
#

Morning, i've added a few lamps to my zigbee network to improve the mesh where it was needed. How can i force the devices to make use of the new lamps/routers?

hardy crane
#

Sometimes they might do so themselves, but in most cases you should repair the end device at the location you plan on using it

#

@manic finch I don't use Z2M. If no ones responds here, you could also ask in the Z2M discord

manic finch
#

Thank, but I'm not using z2m in my HA, so not sure if that would help?

Im using zha only

hardy crane
#

I read ZHA as Z2M 🤦‍♂️

#

custom ZHA quirks are supposed to be on a file and you add that to your configuration.yaml file

azure tinsel
#

any thoughts of what can cause this

graceful notch
#

could be interference

#

usb interference, wifi interference, powersupply issue, ..

#

or if running it virtualized an issue with the host for passing the device through?

#

a lot of factors..

hardy crane
#

tricky since that one is over ethernet

dry fossil
#

tube might have troubleshooting suggestions, just wait for him to come online.

graceful notch
#

if it's over ethernet, might be something there that's bugging it

hardy crane
#

in the meantime you can check to make sure your wifi isn't at a close channel with the zigbee network to eliminate things

dry fossil
#

And stop using the microwave to cook meals. Learn to cook properly.

azure tinsel
#

We never use micro wave but i know what you mean lol

jolly cipher
#

well steaming in a microwave is a healthy and tasteful way to use a microwave to make vegetables, but my comment might be hugely offtopic lol

azure tinsel
#

its like the whole network goes down through interference and comes back up 10 seconds later. cant seem to find out what could cause it

#

the reason i mention the hardware from tube is because i have an esp32 with similar problems which goes offline for the similar amount of time evere 2.2 hours exactly

#

on wifi

#

iso i was wondering that maybe these chips and also the one in the coordinator can have some faulty hardware in it that drop connection every so much time

near echo
#

maybe it is your router that has a problem. so even though zigbee co-ordinator and devices are working fine in zigbee network, the router may be resetting itself. Have you checked router logs?

dry fossil
#

Unlikely to be the chips. It's your network.

azure tinsel
#

ok. but i have multiple esp's that have stayed online for weeks without these interrupts on the same distance. but i think you are right that its something with the router

jolly cipher
#

I'm trying to connect tradfri lights to zha (via conbee II). I have 6 lights attached and working in HA. But the rest (bulbs, switches) aren't detected 😦 Resetting and getting the lights into pairing mode seems to be the problem. Any ideas on this?

azure tinsel
#

my google tv, xiaomi vacuum and some other device all get unavailable at exactly 3.47 am every night for around 30 seconds and come back online. cant find that issue in wifi either. not really sure how to trouble shoot things like this

graceful notch
#

enable debug on everything you have and look the day after for anything suspicious around that timeframe

hardy crane
#

is that connected directly to your router or to a switch?

azure tinsel
#

directly to modem/router

#

oh no wait

#

there is indeed a HP switch between

#

atleast between the ziogbee\

#

the wifi devices all are connected directly to the modem

graceful notch
#

try pinging the switch and your end device continously and see if you have drops

azure tinsel
#

ok

graceful notch
#

that way you can ensure the network connectivity is ok

jolly cipher
#

Check the lease time on your router as well

graceful notch
#

or start a wireshark / tcpdump trace (but that's going advanced)

near echo
#

I think we can safely state that this is not a zigbee problem 🙂

molten linden
#

@azure tinsel bring up the esphome web front end by going to the coordinator’s IP in a browser, the esphome log will show there and you can watch it… however since it’s over the network, if the connection drops the log won’t show it. It’s a start at least

#

Next step would be to use a serial usb board and watch the log via the serial console so no network involved

azure tinsel
#

thanks thats very helpful

#

the debug log seems to be emty. Or do i need to let it run in a browser to get debug info

#

i get this line very short after going to the webinterface:

#

[D][streamserver:050]: Client 192.168.178.32 disconnected

#

nvm that ip is my computer who is looking at the log

molten linden
#

Yes you’d need to keep the browser open the log is not saved anywhere as esp’s are not designed for that- it’s either streamed to the web api (browser) or via the serial console

hot knoll
#

Is there a trick to get zigbee2mqtt to accept secrets.yaml? I've tried with and without quotes arround the "!secret mqtt_password" but I can't get it to work.

graceful notch
#

I give those environment variables in my docker-compose 😄

#

and those are in a .env file

#

so I call them with {$VAR}

hot knoll
#

I'm running on a Raspberry Pi 4B.

graceful notch
#

my trick will only work if you use docker-compose

#

if not, no idea 🙂

hot knoll
#

I'm planning to move to docker but I first need to build a Server 🙃

graceful notch
#

you can run docker on your rpi

hot knoll
#

Yeah but I don't want to do the migration twice.

graceful notch
#

also what quotes did you use?

#

" or '

hot knoll
#

""

graceful notch
#

try '

#

🙂

hot knoll
#

the whole file had ""

#

OK I'll try

graceful notch
#

user: '!secret user'

hardy crane
#

is that a file in /config?

graceful notch
#

and in secret.yaml
user: someuser

hardy crane
#

or those defined on the config of the addon?

hot knoll
graceful notch
#

euh a redirect in secrets.yaml ?

#

i'm confused now

hardy crane
#

what's the point of the redirect?

hot knoll
#

just to have my secrets in one place

graceful notch
#

@hot knoll
in the config file:

network_key: '!secrets network_key'

in secrets.yaml:

network_key: [1,2,3,4]

#

that's all you need

#

as an example

#

you don't redirect your secrets.yaml to your config file, you point the config file to your secrets.yaml

#

I think it's better you post your config (redact things out) somewhere on pastebin or such and show us what you have/want to accomplish

hardy crane
#

!secret is what "redirects" to secrets.yaml

hot knoll
#

At least for ESPHome it had a local secrets.yaml in a subfolder that I needed to redirect to the main secrets.yaml but I see that does not apply here.

#

Give me a few minutes I'll try some config with single quotes

hardy crane
#

that's because ESPHOME has its own esphome secrets file

graceful notch
#

putting a secrets file in another secrets file is going to get complicated 🙂

graceful notch
#

what I would do, if you truly want every secret in 1 file, for multiple applications.
create a huge secrets.yaml and map that file to every app, but that's much easier with docker 🙂

hardy crane
#

that doesn't work like that in HA anyway

#

I was trying to duplicate that for you but in my case it keeps overriding anything I add for user and pass for the mqtt section

hot knoll
#

Yeah that's what I get to it says no configuration found and then reloading from backup and overwrites everything.

hardy crane
#

OK so you are supposed to add user and password for mqtt in the addon's config

#

that it passes those to its configuration.yaml

#

so can do this

mqtt:
  base_topic: zigbee2mqtt
  user: mqtt
  password: '!secret mqtt_password'
#

but then it parses the secret so in that yaml file the password will be visible

hot knoll
#

💯

#

Yeah that's my problem editing the generated file and it being overwritten ... a bit unfortunate that they just write it out there but OK.

hardy crane
#

it get's overwritten from what is in the addon confguration panel that's why it was overriding user/pass

hot knoll
#

Yeah I understand

#

Thanks guys for the support.

hardy crane
#

unless you plan on uploading your /config on github it shouldn't matter

hot knoll
#

Yeah that was what I was planning using github for my configs but now I know to not just blindly upload. Might just stick to local bakups on a NAS.

dry fossil
#

Local backups aren't backups.

#

House fires happen.

hot knoll
#

Yeah but if my house burns down I don't care about a home assistant backup ...

graceful notch
#

both make sense 🙂

hardy crane
#

you can add it like this "'!secret mqtt_password'" and then make a secret.yaml file in Z2M folder where you have the mqtt_password:

#

it should work

#

but untested

desert cloak
#

Anyone know how to prevent Lidl silvercrest lights to flash (to full brightness?) when turning on by home assistant (hue bridge). This happens with at least e27 cct and rgbcct, gu10, e14, light strip. If set with hue app (or node red with hue API) it does not have this annoying effect.

#

Is it more like hue integration problem?

graceful notch
#

i didn't have that experience with hue bulbs

#

perhaps HA is sending the "effect" along with the turn_on/turn_off/toggle ?

#

I also mostly just use toggle instead of turn on/turn off

graceful notch
#

what happens if you just change the state in developer tools ?

bronze apex
dry fossil
#

Depends. Are you having signal problems already?

bronze apex
#

I've quite low LQI in most cases not above 40, everything seems fine as of now, but concerned that some day it might just decide not to be ok haha

dry fossil
#

Low LQI doesn't mean anything. If things work, you have nothing to worry about.

bronze apex
#

Basically then if it works, don't worry about it? I've given up looking at the map also because it just seems odd too haha.

hot knoll
#

I just did it because I didn't know better at the time.

bronze apex
#

Cool, I'll leave it for now since I don't have some sort of adapter for the 3 connections anyway. If anything starts to become a problem then I'll consider giving it a try

hot knoll
#

you could probably just use one of them all three is probably not a good idea

#

Though I really don't know I've seen a wifi splitting board to multiple antennas in a fitbit scale I think some logic is involved there.

bronze apex
#

Ah fair enough, if I run into problems I'll use it if not I'll pretend I never found it again! Thanks!

hot knoll
#

you're welcome

hardy crane
#

just add a router device in between where you see issues

hardy crane
bronze apex
#

Most of the devices I'm adding are routers so hoping that helps cover the house. Yeah the map makes so little sense and seems like a time drain so I am staying away for the most part

silver wing
#

Home Depot had a bunch of Zigbee bulbs on sale so we bought enough for the whole house lol. With ZHA is there a way to group them into a single light? Especially when sending to Google/HomeKit? When I tell Google to turn on the basement lights she says turning on 12 lights and in the Home app each bulb has it's own light. I'd like to keep the grouping in HA if I can so it clones everywhere else.

#

Also, what unit is the temperature control in? It's on a scale of 153-370, what does this represent?

sour shadow
#

Look in ZHA for support for Zigbee groups

#

As for the scale, that'll be mireds I suspect

silver wing
#

Is it possible to change it to Kelvin?

sour shadow
#

You can set it in whatever you want

silver wing
#

Oh but I mean is it possible to change the scale to Kelvin instead?

sour shadow
#

You can't change what the device itself supports

#

It shouldn't matter though, it's not like it matters if it counts the colour in bananas behind the scenes

silver wing
#

So if my wife says to change the mudroom lights to 3500 instead of 3000k, I just have to make a group for those and set the turn on there?

#

Also, am I able to freely change entity IDs or are those set? (I know they can be changed but should I? Trying to find light.the_home_depot_ecosmart_zbt_br30... is hard to find a single light)

hardy crane
#

if they can you should change them to what makes sense to you

mellow geode
#

Is it normal for ZHA to receive attribute reports exactly every 10 seconds from a light that doesn't change?

dry fossil
#

🤷‍♂️

#

It's normal for it to relay any information a device sends.

mellow geode
#

also happens when there's only a single bulb on a network.

#

Getting this exactly every 10 seconds for some of my lights

gentle flint
#

Bulb sends it. At least this is better than no sending reports at all

mellow geode
#

haha, ok. So ZHA doesn't ask the bulb (on initial configuration) to send attribute reports all 10 seconds?

gentle flint
#

Zha ask to send on change - 30s and no change every 15 min. But device may send voluntarily

mellow geode
#

Ok thanks. It might be related to the latest Hue firmware update (1.88.1 to 1.90.1) on the "Zigbee + Bluetooth" bulbs.
It's possible that this behavior was present previously too.

#

Another thing that I get when joining devices (and for about two devices every time I restart Home Assistant which bizarrely join with is_new_join: True) is this:
[homeassistant.components.zha.core.channels.base] [0x9733:11:0x1000]: 'async_configure' stage failed: not enough values to unpack (expected 3, got 2)
The debug logs don't seem to help and the device still seems to work just fine, so I never bothered to look more into this.

gentle flint
#

🤷 need to see raw payload request and response. Probably it was reading zll group and did not get All fields

simple tulip
#

anyone using the Niko wireless smart hub with HA ?

simple tulip
#

that one, yes....

sour shadow
#

That'd be a topic for #integrations-archived then - and be sure to ask the actual question so people can help you when they're around

simple tulip
#

I thought... its a zigbee thingy... lets ask here 🙂

mellow geode
cursive finch
#

Sorry for the relatively noob question... I'm looking for the entry point in HA code when ZHA initialises a new connection. What determines which entity(s) are created for a newly paired ZHA device?

sour shadow
#

I suspect that's partly down to quirks and partly down to the device itself (where there's no quirk)

cursive finch
#

So I'm looking for which bit of code runs that looks at the quirks. My device creates two sensor entities and a switch. Why those particular ones vs the many attributes it could have created sensors for...?

violet dagger
#

If the mysterious device doesn't follow Zigbee spec it cannot create sensors for those clusters unless a quirk is made

mellow geode
#

ZHA only supports one sensor per cluster atm. You can disable the "smartenergy" sensor. I don’t think it works.

#

It’s also not possible to create sensors for other attributes of the energy cluster (like voltage, current) due to the current limitation of one sensor per cluster. This might change in the future but I think it would be a rather large change

cursive finch
# mellow geode Is it a smart plug?

So my Salus SP600 smart plug reports instantaneous power, and also creates an on/off switch entity and a temperature sensor. When I click manage clusters>metering cluster, cluster attributes etc, I can see many other things, and read them, including a believable supply voltage and cumulative Wh value. But I want those to be visible in HA (not just on_off/power/temp). Sounds like I will hit this limitation.

mellow geode
#

Yeah

#

I think there’s an issue on some GitHub repo (home-assistant/core or zha-device-handlers maybe)

cursive finch
#

How annoying. That means my energy metering plugs cant provide any data to HA's new energy monitoring feature. Is this true of all ZHA smart plugs?

mellow geode
#

Yes

#

Although there’s another issue on the Home Assistant core repo for the new Energy feature in Hass

#

I haven’t tried it yet but you might get the current consumption (the sensor that works for the smart plug) in the energy feature of Home Assistant using a workaround I’ve seen in the beta channel for some other integrations

cursive finch
#

Can use a manually created 'integration' sensor to work out kWh from W, if that's what you mean?

mellow geode
#

Again, I haven't tried Home Assistant's energy feature but some people mentioned adding a last_reset attribute to a sensor (using customizations?) made Home Assistant's energy feature pick it up. (Perhaps try searching for last_reset in the #beta channel)

#

If you want to stay up to date, you can subscribe to these (if you have a GitHub account)

hardy crane
nova pewter
#

Can the Deconz Add-On be used with a networked Conbee II. Deconz Integration is working. I do not know how to configure the device setting for an IP address

cursive finch
hardy crane
#

@nova pewter a networked Conbee II?

#

do you just mean it's running on another device that isn't HA?

nova pewter
#

@hardy crane yes the Conbee is on a different PC... I'd like to have be able to use the Deconz network view on the HA machine

hardy crane
#

the HA deCONZ addon is for a Conbee II that is locally connected

#

that's just how deCONZ works

nova pewter
#

ohh okay that explains it...I wish the docs had mentioned that I spent quite a bit of time trying to investigate this

#

Can you suggest a way to bring back a device that is grayed out in the phoscon page?

mighty river
#

Hello everyone! I'm doing some research about ways to integrate a zigbee network to HA. I like to have the zigbee network separate from HA, so I was running deCONZ in another LXC container, until I hit a blocker, after upgrading my host to Debian 11, my deCONZ debian 11 container is not recognizing conbee2. Before continuing cracking my head on how to fix it, I was wondering for other options. Z2M seems cool and their dongles are way cheaper! From a lot of reading though, I get the idea that deCONZ is king, most stable and fast ( not counting ZHA out since that is integrated and not the way wanted ). I'm also interested in the raspbee2 as it would be neater for my raspberry pi setup. Anyone has experience with raspbee2? Is it good and stable? Some one tried it with an LXC?

nova pewter
#

@mighty river I use a Conbee II over a network and Deconz was able to find all of my devices. I have 2 very different automation systems accessing the Conbee simultaneously. One machine is Windows and the other a HA Vbox

cursive finch
hardy crane
#

Conbee II > Raspbee II

#

Also most people will tell you Z2M is better than deCONZ

#

Also it doesn't have specific dongles. It's only deCONZ that requires a conbee/raspbee

#

You can also use the Conbee II with Z2M

mighty river
#

@nova pewter , conbee2 over a network, does it mean the gateway would be somewhere else than the actual server? sounds interesting

dry fossil
#

Same thing you can do with Z2M. Difference being you get to ditch deCONZ 🎉

mighty river
#

@cursive finch I find it safer to have things separate, faster restarts and I feel I have more flexibility and control when decoupling things. But true ZHA seems easy and a very neat feature!

dry fossil
#

From a lot of reading though, I get the idea that deCONZ is king, most stable and fast
You didn't do enough reading. Check the history in here and you'll see that deCONZ is a pain in the ass.

mighty river
#

@hardy crane was having high hopes for raspbee2! Z2M is tempting, I think I just have to try it

dry fossil
#

If you want something decoupled, go with Z2M. If you want something coupled, go with ZHA. There is no third option.

violet dagger
#

depends on where you read 😛

hardy crane
#

Very simple to look at. Conbee II you can have it on an extension cable (more like you should anyway) meaning you can have it at a good position. Raspee2 it's going to be inside an Rpi close to a wifi antenna = more interference imo + limits you to using a PI. Conbee you can use with any machine

nova pewter
mighty river
#

@dry fossil any good adapter you recommend for Z2M running on raspberry Pi? Preferably a module rather than a dongle 🥳

dry fossil
#

The supported adaptors are listed in the docs.

hardy crane
#

You'll notice almost all are dongles

dry fossil
#

Thank you, assistant.

mighty river
#

I saw 🙂 thought I could get some direct experience 🙂

dry fossil
#

You want a dongle anyway, not a module. You'll most likely need to keep some distance between your server and your Zigbee radio to avoid interference.

mighty river
#

OK dongle it is! Makes sense, thanks for your feedback!

#

Anyone played around with LXC passthrough with these dongles?

nova pewter
# hardy crane Repair it

Is that a software option. The only way I had done it before was to delete and start over which breaks all of my events

hardy crane
#

I would just go to phoscon and try to add a new device without deleting the greyed out one

#

why has it fallen off in the first place ? maybe that's worth working out too

nova pewter
rancid sky
#

Ive heard zigbee interferes with wifi becuase it’s on the same band. Should I worry about having zigbee and wifi devices?

#

Most of my devices are zwave but I have around 50 devices on my wifi at once. I don’t want to interfere with anything. Should I worry?

obsidian sandalBOT
hardy crane
#

Make sure your zigbee and wifi isn't in close enough channels

rancid sky
#

Idk what that bot said it’s blank for me

hardy crane
#

And yeah I meant trying to get them to rejoin the network

rancid sky
#

Can I change the channels on my zigbee hub?

#

Or I have to change it on wifi?

hardy crane
#

Usually you can yes

#

I'd recommend changing the wifi channel instead though

rancid sky
#

Awesome. Got a recommended hub?

#

I will if I have to

hardy crane
#

The problem is if you already have devices in the zigbee network changing channels I believe means you have to pair each device all over again

#

whereas for wifi devices don't care

rancid sky
#

I don’t have any zigbee devices rn

#

So I’d be starting from scratch

hardy crane
#

I'm using a Conbee II. Most people are against it here lol

#

Tube's are good ones although he's currently out of stock I think

rancid sky
#

I want a cheaper one to test with

hardy crane
#

Whatever you do DON'T get a CC2531 btw

rancid sky
#

I don’t plan on having more than 10-15 devices

#

Ok I will not

hardy crane
#

For testing the 2531 is like 5 dollars

#

it's just not a good one

rancid sky
#

How many can it hold? I don’t want to go so cheap where the delay is like 3 seconds

#

Oh if it’s no good then I’ll go more expensive

hardy crane
#

There's a reason most cost from 30 to 50

rancid sky
#

Yeah. I’ll try those then. Thanks!

near echo
#

you can also get this https://www.ti.com/tool/LPSTK-CC1352R but you either need a cheap debugger or a friend with CC1352P / CC2652 to help you flash. These LPSTK-CC1352R are actually sensor board, but work great as co-ordinator as well and they have the antenna! and cost USD 30

uneven ruin
#

I setup my wifi and zigbee channels specifically. But I'm not in a wifi congested area so I could pick whatever channel i wanted

near echo
rancid sky
#

I already own one actually

#

With no antenna lol from like a year ago

near echo
#

then you can fix an antenna if you like to do some DIY. The one with antenaa is actually not bad for less number of devices

rancid sky
#

Is it fast?

#

And what do you mean for less number of devices?

near echo
#

yes, it is fast / instant. less than 20 devices

rancid sky
#

Awesome

near echo
#

in one of my houses, that is running 24x7 with zero problems

#

but the reason this forum educates people not to buy them, is because - the quality cannot be guranteed, too many bad players - typically the shipping costs & time are much higher than actual price and it brings closer to what is being offered in CC2562 chips

rancid sky
#

Yeah that makes sense

#

I just bought one off Amazon for testing

near echo
#

If that does not work too well as cord, then flash as router

tough timber
#

I bought a cc2531 because it was cheap and came with the option of already being flashed, and since it's a local seller, shipping was no issue.
I think it's worth keeping in mind that beginners have very different needs and price investment ranges. None of what I read suggested it would not do it's function, just issues number of connections and signal strength.

fiery heart
#

Hi! I use home assistant os on raspberry pi with CC2531 and zigbee2mqtt to controll my zigbee devices. It works great and I would like to connect another zigbee devices which are located in my second house, which is too far for zigbee, but the second house is covered with wifi signal. Is there any easy solution how to connect theese zigbee devices? (the best solution will be if there exists a box I can buy and connect it on the second house and I will be able to see theese devices in zigbee2mqtt addon for home assistnat) Thank you for your suggestions

violet dagger
#

Add another Zigbee2MQTT server to the second house

graceful notch
#

I'd create a vpn between the two houses and do what blackadder said

#

as I assume the houses don't share the same networkinfrastructure 🙂

fiery heart
#

oh thanks!, the houses share the same network 😉 What is the best solution for zigbee2mqtt server (it should be low power consumption). Do you know about any "plug and play" solution which I can buy?

graceful notch
#

the same device actually

#

but I'd grab a new CC2563 ? (I might have the wrong numbers)

#

and the cheapest rpi4

#

unless you're handy, you might take a look if you can't use a rpi zero & a zigbee shield but using wifi and zigbee on the same device, is not something I'd recommend

#

but that'd be the most lowpowered solution i guess

violet dagger
graceful notch
#

I believe you only have to add the bridge in the device section of z2m

#
   port: 'tcp://192.168.1.101:20108'```

something like that
alpine cipher
#

Hello, I'm using Z2M HA addon with a ZZH stick to control my new TS130F curtain/cover switches. The problem I'm facing is that the state is inverted and I'm not able to sort it out. I've tried via calibration and reverse_motor but this didn't help. Any ideas ?

fiery heart
#

@violet dagger @graceful notch Thank you both!

azure tinsel
#

Been having the same issues of disconnects on the ethernet device. I really think its the ESP module in the TUBE013. im running debug now to see if it will show something. But disconnecting 10 seconds at a time randomly looks allot like a faulty ESP32 i have doing the exact same thing. Non of my other devices on a wired connection disconnect from the network like this.

#

The problem isnt the 10 seconds the devices go offline but some automations are triggerd when a lightsensor gets below 10 lx. When they become "unavailable" and after 10 seconds they get a value back of below 10 these automations trigger multiple times a night. turning on lights that shouldnt

#

I have an AC connected with an ESP over the same router on wifi which doesnt have any problems and is rock solid connected for over a week without any disconnects or unavailable

violet dagger
#

ESP module is running which firmware?

azure tinsel
#

Tube has flashed the module to 20210120 as on the paper that was with the coordinator

#

pinging 5 devices on my netwerk and the debug log is open. now we wait for a disconnect to happen...

#

the coordinator so far, pings less then 1ms every ping

torn saffron
#

Trying my luck once again: I am unable to control the color of a Zigbee group (xx Phillips Hue devices that all support color) from HA. I can only change the brightness. Can anyone advise? (My integration is Z2M)

azure tinsel
#

can you change the colors of every device in the group seperately?

near echo
dry fossil
#

I believe they were asking SHxKM

alpine cipher
azure tinsel
#

Ok so i had the issue again where all zigbee devices became unavailable for aprox 10 seconds. i had my pc ping the home assistant server and also the tubes CC2652P2 Based Zigbee to Ethernet Serial Coordinator and several other devices to check if wifi and the LAN network were going down. All pinged network devices stayed online during the zigbee outage both home assistant server and the zigbee coordinator kept having a ping of <1ms all the time without any interrupts and the coordinator didnt show anything in the debug log

#

What would be next? keep track of the zigbee2mqtt log and see what that shows while everything goes down?

graceful notch
#

yes put Z2M in debug mode and monitor it

azure tinsel
#

that will be a pain. i get around 60 messages per minute and it only show the last 100 or so? it can take several hours for it to go down. And when im able to look at the logs it might as well be overwriten bij other logs again

#

In the HA logs i have a couple 100 warning messages a day saying:
2021-08-20 21:22:56 WARNING (MainThread) [homeassistant.helpers.template] Template variable warning: 'dict object' has no attribute 'click' when rendering '{{ value_json.click }}'

#

Abd besides that allot of these:

Source: components/mqtt/light/schema_json.py:249
Integration: MQTT (documentation, issues)
First occurred: 19 augustus 2021 20:30:53 (44 occurrences)
Last logged: 15:31:40

Invalid color mode received```
graceful notch
#

docker logs z2m -f > z2m.log

#

if you run docker 🙂

azure tinsel
#

im not im afraid

#

made an automation to inform me when zigbee goes offline. i think im gonna use my surface pro tablet to keep running the logs so i can quickly look when they go offline

hardy crane
#

the Z2M addon has a log folder where each day's logs are save to

#

you can just enable debug and make the automation so you know the timestamp to look at when it happens

#

@azure tinsel

azure tinsel
#

i see nice thanks

hardy crane
#

I don't think for now you should also do HA logs on debug. But if you do just do it for mqtt alone otherwise it's going to be massive

azure tinsel
#

i could also keep an eye out for the z2mqtt log

#

maybe the whole addon is crashing

uneven ruin
#

enable watchdog?

hardy crane
#

the opposite. Disable it so if it crashes you'll know since it won't be running anymore

#

Fore the addon's logs you can open the Terminal (has to be SSH&Web Terminal) either inside HA or on an SSH client and use docker logs addon_45df7312_zigbee2mqtt --follow to keep the logs running continuously

uneven ruin
#

is it safe to push multiple firmware updates through z2m? I have a bunch of bulbs and its taking about 20 minutes each

azure tinsel
#

Thanks for all the help. i hope i can find the problem.

uneven ruin
#

the answer appears to be yes

hardy crane
#

I would have thought no. That's good to know

uneven ruin
#

well fingers crossed I pushed it to 4 at once

#

One finished and tested while a second was going, then straight to 4 lol

#

I'm sure this is hammering the mesh, but I'm the only one home so its safe

hardy crane
#

I did them one at a time

#

but thankfully was only 10mins each

sour shadow
#

Each update uses bandwidth on the mesh, better for the mesh to do them one at a time

#

That's even more the case if you're on an older coordinator. My CC2531 may have pretty much died when I tried to do two at once ablobjoy

uneven ruin
#

fingers crossed 7 down and 3 in progress

azure tinsel
#

Ok error i get when zigbee goes down is no more then this: Error Adapter disconnected, stopping

sour shadow
#

If you're in a VM, that points to a possible problem with passthrough

azure tinsel
#

and after approx 10 seconds the log goes on where it left of mentioning device data like normal

sour shadow
#

On a Pi, power

azure tinsel
#

i use the tubes network coordinator which isnt connected to the pi only through the network

sour shadow
#

How is your HA host connected to the network?

#

You appear to have a network problem then, probably

azure tinsel
#

and pinging to the coordinator it shows the coordinator stays online

#

with a less then 1 ms ping when going down

#

its not disconnecting

hardy crane
#

If I remember you said there was a switch in between the coordinator and your HA. It might be worth having them both on the router just to rule that out

#

Is the coordinator powered over ethernet or with a PSU?

azure tinsel
#

psu

hardy crane
#

Is that adequate?

azure tinsel
#

yes it should be. could try another one.

#

but cant really think that if it was a faulte psu this only occurs every 4 hours

#

5v 2A should be enough i guess?

#

if the power wasnt enough and the module crashed i wouldnt be able to ping it right?

#

when i reboot the device i get the same error in z2mqtt so it must be disconnecting somehow or the software on the coordinator crashes internally but the part that pings back stays online? i have no clue how to fix this

silver wing
#

When grouping Zigbee devices, how come when I move one group to a new area, they all move? Can I not have separate groups in different areas? Or am I misunderstanding what groups are for?

sour shadow
#

When you say group do you mean the HA group or a Zigbee group?

molten linden
silver wing
obsidian sandalBOT
#

@silver wing 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.

silver wing
#

But I created for example "Basement Lights" and "Kitchen Lights" with their respectiv devices but if I move the Basement Lights it also moves the Kitchen Lights to the same area

sour shadow
#

ZHA? Zigbee2MQTT? deCONZ?

silver wing
#

ZHA, sorry

sour shadow
#

No idea then, maybe somebody else will

uneven ruin
#

I found zha groups to be glitchy

#

which is weird because its more of a controller thing

silver wing
#

Is there a way in HA to group things so they just count as a single light? Especially to voice assistants?

uneven ruin
#

you can define HA groups which are similar (to HA)

#

z2m groups are flawless

hardy crane
#

you can make light groups

silver wing
#

Maybe I'll look into that integration

#

Does z2m behave better than ZHA? I find ZHA missing lights a lot of the times (maybe a bulb thing) it will only get like 4/5 lights sometimes.

sour shadow
#

YMMV

#

Some of us say yes, others say no, others again swear by deCONZ

#

We're all right wrong

uneven ruin
#

Probably depends on controller too

#

I swapped controller and went to z2m

#

so lots of changes

silver wing
#

Ya I think maybe my USB stick could use a firmware update

uneven ruin
#

on the other hand this damn temp sensor insists on pairing to the furthest away outlet which is pissing me off

uneven ruin
#

thats what I switched from

silver wing
#

oh, poop lol. What are you using now?

uneven ruin
#

still using it for my handful of zwave

silver wing
#

Ya it worked great for Zwave. Home Depot had the Ecosmart zigbee bulbs on clearance so we bought them for the whole house lol

uneven ruin
#

ymmv some people have reported DOA devices from my understanding, but this was the one listing I found for a 2652 that was in stock

#

since swapping everything to z2m last week I've had a couple hickups but things have been much smoother

#

My 2.4 wifi is on channel 11 and my zigbee is setup on channel 20

#

(since I was swapping I made sure to change channels as well)

#

so a 3rd variable

#

is their a zigbee relay like the shelly where you can disconnect the switch and just use it as a signal?

silver wing
#

@uneven ruin Do you by chance know how to update the firmware for the GoControl stick?

uneven ruin
#

when I did it I was running linux and did it locally

silver wing
#

Oh I probably need to move my pi away from the wifi router, that might be causing issues too.

uneven ruin
#

but I think you can do it in docker on hassos

#

yeah get a 6' use extender at a minimum

#

I have to shuffle my little network utility area as the main wifi node isn't far from everything else

dull quartz
#

Recently moved to Z2M here... I have an automation that turns off a lot of IKEA bulbs. Whenever the action is triggered, only a subset of the deves actually respond. Does the action trigger to much traffic or something? What is the best way to do actions on 20+ devices at the same time? Group them (in HA/Z2M?), create areas...?

uneven ruin
#

zigbee groups

#

IMO

#

supposed to reduce traffic

graceful notch
#

I would check if the messages get sent by z2m or not

#

Might be your mqtt that’s not following

#

But a z2m group would reduce traffic (I think)

sour shadow
#

It would, rather than multiple direct messages there's a single broadcast

alpine cipher
dry fossil
alpine cipher
#

what do you mean ?

#

On https://www.zigbee2mqtt.io/devices/TS130F.html they are talking about an invert_cover property (invert_cover: By default the position/tilt values mean: open = 100, closed = 0. This can be inverted by setting this option to true (so open = 0, close = 100).

#

but this isn't available on HA/Z2M

violet dagger
#

how is it not available exactly?

alpine cipher
#

well i don't see it in the list in HA/Z2M

#

but maybe I'm missing something

violet dagger
#

what list?

#

you found what you need to change

violet dagger
#

its linked right there

alpine cipher
#

this is totally new to me

violet dagger
#

so was writing once

alpine cipher
#

haha

#

which file do i need to handle ?

sour shadow
#

It's listed in the links you apparently didn't click on

#

I would highly recommend investing some time in reading through the Z2M (and HA) docs. Both projects are well documented and the documentation tells you many thinks you need to know.

alpine cipher
#

I went through them but still confused

#

should I add something like

#

devices:
'0x00158d0001d82999':
friendly_name: 'my_occupancy_sensor'
invert_cover: true

#

?

violet dagger
#

somthing like that with proper yaml indentation

alpine cipher
#

i suppose I do this via the UI ?

violet dagger
#

you don't

alpine cipher
#

but in HA, your configuration.yaml for Z2M is sitting there

violet dagger
#

not in my HA

torn saffron
alpine cipher
#

if i look at my configuration. yaml, it starts already with

#

{
"external_converters": [],
"devices": [
"devices.yaml"
],

sour shadow
#

Then you need to edit .... ||devices.yaml||

alpine cipher
#

makes sense

#

thanks

stable dew
#

I need help. I deleted device from Zigbee2mqtt and from HA, the repaired it with Zigbee2mqtt. It shows there and logs tell me it has been published to HA, but the device is not showing anywhere in HA

#

how can I force HA to show devices paired with zigbee2mqtt? I have auto mode enabled

violet dagger
#

did you restart ha?

stable dew
#

yes

violet dagger
#

and z2m?

stable dew
#

well no, because I can control the device from z2m frontend right now

#

so my assumption is that something is wrong with HA if it can't see it

#

give me a moment, I will restart the service

sour shadow
#

What version of Z2M?

#

1.21 has some issues with re-pairing previously seen devices

stable dew
#

just installed 30 mins ago so must be latest

sour shadow
#

Not necessarily

#

If you're using add-ons you could well have the outdated repo

stable dew
#

Zigbee2MQTT 1.21.0 is what I see in logs

sour shadow
#

Yeah, that has issues when re-pairing a previously paired device

#

Restart it and things should work as expected

stable dew
#

alright lets try it

#

Nope, the device is still not showing up in home assistant devices/entities list

#

but is successfully paired with z2q and can be controlled from there

#

and z2q logs show that it is successfully connected to mqtt broker which is my HA server

stable dew
#

this is what I see in zigbee2mqtt logs when I rejoin the device.

#

Is there anything indicating why it may be refusing to show up in Home Assistant?

hoary crest
#

so ... it seems i need to migrate to mqtt from deconz because my new soil humidty sensor is not recognize by phoscon (its shown in deconz without simple node descriptor) ... what would be the required steps? uninstall deconz addon -> install Mosquitto broker addon? -> add mqtt integration? -> rejoin devices via addon? or integration? i feel so lost 😦

hardy crane
#

You mean Zigbee2MQTT not just MQTT

#

There is at least one video on YT about Z2M and how to install everything

#

You'd have to re-pair all your devices though

hoary crest
#

Yes sorry zigbee2mqtt. Repairing won’t be an issue.

#

But did i get the required steps about right?

uneven ruin
#

thats about right

#

anyone with a peanut zigbee plug know why it might be flashing red even though I can interact with it via zigbee without any issues?

vernal moth
#

Do the IKEA tradfri buttons work with any zigbee2mqtt setup? I quite like them

#

Are all the IKEA smart home devices zigbee compatible?

near echo
#

The tradfri are zigbee, but do check the packaging. So yes, they work very well with z2m or ZHA. I particularly like this https://www.ikea.com/us/en/p/tradfri-remote-control-00443130/ as I can do multiple control with them, I control fan TV and my music system and oddly enough do not use them for lights! :-)

vernal moth
#

Does the Tradfri range extender work on any zigbee network or do I need another type of range extender? (there will be dead spots in my house where channel 1 2.4ghz wifi is stronger and there are no zigbee devices, so i need extenders)

near echo
vernal moth
#

looks like it is supported

near echo
vernal moth
#

Yeah

near echo
#

And you don't have to use ikea routers only, you can buy just any zigbee products

vernal moth
#

I have a lot of tuya devices already

#

So I don't need they for stuff like lights and switched

#

I want to buy into ZigBee mainly for sensors and buttons

near echo
#

Then fit one where the dead spot may arise, it will help extend the mesh

vernal moth
#

Good idea

#

Are ZigBee smart locks a thing?

near echo
near echo
# vernal moth Are ZigBee smart locks a thing?

Yes they are, however, given that each region have their own specific parameters, check in your region. The reason is becuase more than network tech, it is the quality of the locks itself that is to be trusted

azure tinsel
#

@molten linden the coordinator drops connection exactly every 3 hours and 20 minutes. I had a similar problem with one of my esp32's in the past. I will try to connect a cable to the coordinator and log the readings directly from the device and report back

azure tinsel
#

I'm saying it wrong. It doesn't disconnect but crashes. Because the device can be pinged in the time it doesn't react to mqtt

azure tinsel
#

When reading through there the problem could be DHCP related. Is there a way to set a static ip in the zigbee coordinator instead of via the router?

azure tinsel
#

Could the line tcp://tube_zb_gw_cc2652p2.local:6638 in the z2mqtt config be causing the problem? Can I just change this to the IP address of the coordinator without loosing anything?

sour shadow
#

No issues with changing it to the IP (and port)

hardy crane
#

@azure tinsel it's an EPSHOME so I you could edit the file and add a manual IP there

#

doing it on the router is also fine

azure tinsel
#

Yes I did that but in the link I provided on the forums people are saying that setting it on the router does not fix the problem. Fixing it on the device itself does fix the issues appearently. But I just added almost 100 devices to the coordinator so I'm not very interested in flashing the device at this point it would be better if I can fix it on the router. Maybe I can set the DHCP lease time to several days on the router to postpone the disconnects. But that is not really a good solution. Setting a static IP on the esp isn't either in my oppinion

dull quartz
#

I am using Z2M and have a host of bulbs. Whenever I restart HA, it takes a while (close to a minute) where HA thinks the bulbs are off. Can I do something to have HA or the broker remember the previous state and not rely on an update from the bulb?

azure tinsel
#

It just takes a while to start Z2M and communicate with the device. I don't think it has something to do with the update interval

hardy crane
#

Z2M should NOT stop running when you restart HA

azure tinsel
#

But home assistant starts the addon on boot and setup the connection back to Z2M?

dull quartz
#

Z2M doesnt restart.... This is when restarting HA

#

They run completely independent of eachother

azure tinsel
#

I know

hardy crane
#

Boot as in server/host boot

azure tinsel
#

But they still need to communicat

#

The part in ha dat communicaties with Z2M needs to start first

hardy crane
#

what I mean is since it never stopped zigbee entities should be instantaneously updated

#

same as deconz

#

in contrast to ZHA

azure tinsel
#

Deconz also takes half a minute

#

Zha too

#

It's not instant back on

dull quartz
#

But can HA remember the state? Assume that it still has the same state as before the restart?

hardy crane
#

ZHA is part of HA so it goes down with it

#

I've never seen what Magnus descirbes with deconz

azure tinsel
#

I do and also with z2m

hardy crane
#

I'm restarting right now lets see

azure tinsel
#

The devices will be updated 30 seconds to 1 minute later

dull quartz
#

I'd expect the state just after a restart to be unavailabkle or unknown, but not the wrong state specifically...

azure tinsel
#

Also temp sensors take a while to get back up. They show unavailable until it's setup

#

As soon as the mqtt broker is started and z2m coordinator is logged in the devices come back online

dull quartz
#

But the broker and z2m never restarted!

#

ONLY HomeAssistant.

azure tinsel
#

Oh wait you guys don't use home assistant like I do.

hardy crane
#

Here. Coming back after a restart where I had left one light off one light on

azure tinsel
#

When I restart home assistant on my raspi everything is restarted I'm not using a docker

dull quartz
hardy crane
#

what are you using?

#

HAOS? cos that would also be the same thing

dull quartz
#

👍

sour shadow
dull quartz
dull quartz
azure tinsel
#

Well I never really understood all the core os and other versions. My knowledge don't go further then just installing an image.

hardy crane
#

this is the same case for HAOS, HA container and HA supervised
they are all using docker. they are all separate containers as is HA (not for the VM bit but you get my point)

sour shadow
dull quartz
hardy crane
#

You'd think it would make more sense that retain was ON by default

#

retain: Retain MQTT messages of this device (default false).

dull quartz
#

Cannot find a global equivalent either.... I've got some work to do! 😄

hardy crane
dull quartz
#

That was time saving! 🙂 Thanks a bunch!!

azure tinsel
molten linden
#

No it will not touch the zigbee side

azure tinsel
#

My girlfriend is going to kill me if I break this thing 🤣

#

I'm now using the tcp://tube..... Link in mqtt config I was just wondering couldn't this cause the DHCP problem. I could imagine that when the router releases the DHCP and home assistant is connected using the tcp://xxx config that for a few seconds this link becomes unavailable?

molten linden
#

Use the IP there.. (as long as it’s constant via static or router) it will take another variable out. It won’t break anything either

azure tinsel
#

That could also explain why pinging the IP address kept working. maybe I can just fix it by using the IP address instead of the tcp://xxx link. I'll try that first and when this doesn't fix it then I will report back for the .bin file. Thanks a bunch so far

hardy crane
#

As long as its lease is long enough you can just use it as is

#

But I'd recommend a reserved IP if you don't want to mess with flashing the ESP

#

I'd make it a really high one towards the end of the DHCP pool

azure tinsel
#

It's a fixed ip now set by the router but that still causes the problem. I have a good feeling that when I change the tcp link in Z2M config to the actual ip that these issues are fixed. I will let everyone know here what the result of that is so if someone else is having these problems in the future we know how to fix them

gritty frigate
#

howdy 🙂 I'm about to migrate from ZHA to Z2M - for that I've got a second ZZH coordinator, flashed with latest firmware. Is it safe to just plug it into ZHA and start removing / adding devices from ZHA to Z2M one by one (amending & testing scripts and automations as I go)?

#

I expect the second stick to be present as ttyUSB1 (the default is on ttyUSB0), so in an ideal world, this could work. I know a lot about ideal worlds, also the one I live it 😄

sour shadow
#

First, flash the stick with the latest firmware.

Then, and only then, connect the new stick to Z2M, pick a different channel (eg channel 25), and ensure the pan_id is different. Then spiral out from the coordinator pairing routers as you go. Once you've done all the routers do all the end devices.

gritty frigate
#

awesome, thanks - that's the plan 🙂

#

the one thing I'm a bit worried about is devce order in hassos. for example: after a reboot, would ttyusb0 stay not ttyusb1... 😄

sour shadow
#

Probably not, but you can use the /dev/serial/ path instead

gritty frigate
#

oh that's a good one, thanks

#

awesome, I'll get cracking

#

on securing mqtt - any experience with using mqtt with certs? - last time I tried... well... yeah.

hardy crane
#

what's the need? It's in your local network

azure tinsel
#

Maybe to protect everything from his girlfriend/wife 😜

#

Or boyfriend husband in any case... I just assume something without having the facts 😅

vernal moth
#

yes because having your so hack your smart home gear is a frequent occurrence

dull quartz
ivory hound
#

can anyone recommend a good energy meter (contor) for inside electrical pannel zigbee?

azure tinsel
#

@dull quartz been also wanting to know this. I read about being able to set the power resume state of a light but can't seem to find where I can set this.

dull quartz
#

You can set it per device. Do you use the frontend?

#

If so, go to Devices -> <device> -> Exposes.

#

I beleive it relies on the device supporting it.....

sour shadow
#

It does

#

Some devices support it, some don't. My Tradfri lights support it, my Gledopto don't

dull quartz
#

I am falling more and more in love with my Tradfri bulbs! So cheap and so easy. to use!

#

Allthough, they cannot compete with HUE for lighting quality... 😕

sour shadow
#

For simple cool/warm white I'm happy with mine - I didn't buy colour capable ones though

azure tinsel
#

It looks like none of my hue lights support it is that correct?

#

By the way due to the DHCP crashes 2 of my hue lights got stuck on their OTA. How do I fix this? Kill power to those lights?

dull quartz
odd mango
#

hi

#

so I have this tuya-compatible zigbee dual relay, and a x86 server running ubintu and CC2531.

#

I have paired them and the relay worked fine for 5 or ten clicks

#

but then it stopped responding

#

anyone experienced something similar?

#

and now, when switching relay state, I get:
"Failed to call service light/turn_off. 'NoneType' object has no attribute 'request_callback_rsp'"

#

fixed by replugging the CC2531

hardy crane
#

is that directly connected to you server or has an extension cable?

odd mango
#

directly

#

ok, I have found other people had this issue

#

looks like a problem with firmware

hardy crane
#

pretty sure CC2531 tend to be shipped with old versions of firmware
I'd probably through in an extension cable too

solid hollow
#

Anybody know the steps to pair a Symfonisk Remote? I managed to get it to pair once - and now i can't repair it. https://vimeo.com/591076925 - got it into this state but it doesn't appear to be working in ZHA discovery

odd mango
#

no way of upgrading CC2531 via the same USB interface?

hardy crane
#

no not like that

#

you need either a debugger thing sold separately which is the easier way. But you can also do it usiing an ESP or a RPI

severe turret
#

Okay. I got C2652R zigbee stick on raspberry now. What next?

odd mango
#

@hardy crane yes I flashed it previously by SPI

hardy crane
odd mango
#

but too lazy to solder and fiddle with it again

hardy crane
#

does yours not have pin headers on? 😛

#

@severe turret which Pi?

solid hollow
severe turret
#

@hardy crane 3 B

hardy crane
#

ok so not using an SSD

#

then you pick what you want to use with it

#

there's ZHA and there is Z2M

solid hollow
#

And ZHA supports more devices than Z2M?

hardy crane
#

I have no idea tbh

#

I'd think Z2M supports more

dull quartz
#

There is more to consider though... ZHA is an HA-integrated solution, is it not?

solid hollow
#

Zigbee-Home-Assistant

#

yea its theirs

dull quartz
#

Meaning you´d rely on your HA instance at ALL times.... Not saying that is by definition a bad idea! But consider that if HA goes down sod oes your zigbee network... And every time you need to restart HA, so does your zigbee network...

solid hollow
#

Depends what kind of mode you are running in

violet dagger
#

Theoretically ZHA supports more if they follow Zigbee stamdard

solid hollow
#

Running in supervisor ZHA is running in a container so you can mess with your HA containers w/out messing up ZH|A

dull quartz
#

Oh! Thats new!

severe turret
#

Hmm. I installed zigbee2mqtt to ha. But its saying bad gateway 502 and shutting down.

solid hollow
#

Supervised mode i thought they tried to EOL but its still kicking around

#

I'd prefer to use not ZAH but seems to be the only one that works with my stick

dull quartz
#

But... ZHA is an integration, not an addon? Or...?

hardy crane
severe turret
#

@hardy crane i installed it.

#

oh, do i need MQTT

hardy crane
#

Zigbee2MQTT

severe turret
#

i only installed that zigbee2mqtt

hardy crane
#

I'll show you how to setup Zigbee2MQTT with a CC2531 and how to setup Mosquitto MQTT broker in Home Assistant. We'll get the 2 working together and quickly test it with a couple of devices.

I'll give you a really quick overview of what Zigbee and MQTT is and how they work too!

Really want to show your appreciation? You can always "Buy me ...

▶ Play video
severe turret
#

thanks

hardy crane
#

@dull quartz it's a core integration so comes with HA therefore you are not installing additional functionality. Thus no addon

#

even with Z2M or deCONZ when HA restarts or goes down you are still likely unable to use anything since in most cases you rely on HA for the automation part

#

even though Z2M and deCONZ are still up when HA restarts the automation to turn on light A when you hit switch B is still in HA

dull quartz
#

?

hardy crane
#

yes

dull quartz
#

😌

hardy crane
#

the only real difference is that you'll see a bigger wait time for the devices to show up online again with ZHA

#

although people here said earlier they still see that with Z2M

#

although I personally don't

dull quartz
#

Got it! I was just being mislead by @solid hollow ! 🙂