#zigbee-archived
1 messages · Page 149 of 1
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
I cannot recommend Slaesh's highly enough. It's definitely worth waiting for.
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
Mine only took about a week, was very impressed
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
Eh, most people here likely buy from AliExpress/Gearbest to save a small fortune
Are the door sensors there reliable?
Which ones?
Aqara
Yes
Is zigbee 3.0 worth waiting for?
Eh.... probably not
Or something like linkind
Others seem happy with them
Oh…
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
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?
Don't forget you'll need routers
And generally read the various 📌 messages about Zigbee, common issues, etc
Dang… even with a cc2652p?
Well, depends, are you looking at a two room flat?
The signal will be reduced by walls, floors, people...
The cheapest way are the plugs right?
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?
Those, or CC2531's flashed with router firmware 😄
Have you power cycled the coordinator (removed it from the computer for at least 30 seconds)?
yes, and also restarted the computer many times, the addon, etc... anything
No idea then
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
Is it dimmable?
this is not a light just a a relay connected to a TV
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
In the short term you can wrap it with https://www.home-assistant.io/integrations/switch.template - but you probably want to open an issue
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 ?
Got a link to the device page?
refering to this, how can i add back the deleted devices?
Re-pair them?
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"}'
What version of Z2M?
Current version: 1.18.1-1 (Registro de cambios)
hmm did you ask for the Z2M addon version in HA?
Doesn't look to be dimmable
sorry, don't know what to do with that. I cannot update the addon version, it says it's the lattest version
how can i do this?
ah sorry did not get the icon XD
sorry didn't what it to be dimmable just what it to be identified as **switch **not a light
sorry, cannot find the new repo?
@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.
@sour shadow omg sorry found it!
light is dimmable, switch is on/off - if something is in HA as a light it means that it is believed to be dimmable
If it isn't then you need to open an issue
OK thank you
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!
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?
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.
I can see it in deconz but am not familiar enough to know how to control it from there. Usually the switch only shows up and then you can find the event type and use that to automate things
hi! I have some tuya zigbee devices, but no hub. Can I use them with HA and CC2531, without tuya hub?
Probably. Have a look at the links in the topic and pins to see what devices are known to be compatible.
Buy something CC2652 based. This list is a good one, both Tube and Electrolama have been proven to have excellent customer service.
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
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
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
The Tuya integration is for their WiFi devices
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
Well, if it's Bluetooth then the Zigbee integrations won't work
it is kinda two in one. Not sure why
Well, if it's a Zigbee device, try pairing it - but it'll have to be in the same room as the CC2531
it does not show up in the scan 😐
Who's running a Conbee II with deCONZ addon and knows how to update its firmware?
it's on their github
It's even linked from https://www.zigbee2mqtt.io/information/supported_adapters.html
because i had the page open.. https://github.com/marthoc/docker-deconz#updating-conbeeraspbee-firmware
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
can i use any/most zigbee usb sticks for hue lights? (3) or would peeps suggest to use bt from home assistant?
Buy something CC2652 based. This list is a good one, both Tube and Electrolama have been proven to have excellent customer service.
I think it's come up before, and the deCONZ folks recommended spinning up a container just to do the update
I had this open as well but that's not the official HA repo so not sure if that's actually working. Have you tried it?
Our info on the addons is then wrong I guess
Go to "Settings -> Gateway" and click the upgrade button. 😂
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
I'll open an issue on our addon's repo and see what the almighty has to say
i did it on 2 sticks
orks fine
0 issues
and I also just spun up that container for updating and then disabled it 🙂
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
orderd one of the uzb stickz 😉 ill figure out how to mount them from proxmox 😄
that can never hurt 😉 but I just followed that guide, no idea how i came to it 😄
google is how I found it lol
hi guys Can anyone tell me if this aqara e1 hub gateway zigbee is compatible with the home assistant
thx youre the best
90% of what I do is try to encourage people to search the docs themselves...

lol... but this help me so much, thx
You're welcome
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
can't do both
can i disable zha somehow?
disable it in the integrations ?
Can't you? You'll need a coordinator per integration but I don't see why you can't have multiple integrations going.
ye
but technically, it's possible 🙂
ye but in my case i cant anyways
just throw away zha and join the dark side with z2m 😆
dont really feel like diving into mqtt since i dont know it
There's not much to know. It almost sets itself up.
MQTT is pretty much invisible in use
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
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.
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
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.
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)
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..
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
but I only know z2m
im about to throw this 120€ garbage out the window
i spent so many hours on it already
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..
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
Does z2m allow me to still turn on/off lights if z2m is down? What is this functionality even called?
Binding, if you mean the ability to have one device directly control another
Indeed! 🙂
Not everything supports it, but where it works it's great
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!
Yeah, I have a Z-Wave remote and socket that operate on their version - it's very handy
I'm currently on the fence about a move from Deconz to z2m....
So... You seem sure about it? What is in it for me vs Deconz?
so im on the fence of moving from zha to deconz... whats the benefit in moving to z2m?
I find z2m easier
deCONZ has the slowest set of updates, only supports one set of sticks, and you don't get to add support for new devices
there's also more to find online
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
wait do you mean deconz or z2m?
deCONZ
ye i dont like deconz too much... i like the tight integration of zha but it lacks support
I only used deconz to upgrade my conbee sticks 😄
Z2M is the one that allows the most flexibility, but ZHA supports the most devices
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?
No idea, haven't used that feature at all
& I don't use binding nor ikea devices 😄
im giving my ikea devices away
they are too flaky imo
seems that everything the revolve around HUE works much better
My IKEA devices are among the most stable and trusted in my home.
tbh lightbulbs -> hue (those are the best but most expensive imo)
also the light looks much more nicer than ikea's
That I can agree with! 🙂
Yeah, Hue are the gold standard, and priced accordingly
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
aqara / xiaomi for sensors and hue for bulbs and remotes
that's my setup
man those were easy to add
combine that with z2m and things just go smooth
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
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
i tested one - and was like - yup these are the ones and bought 8 more
but they work fine enough for where I use them 😄
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?
Compose IMO
I think you only need to re-pair them, unless you did some funky stuff
but compose
There's not really any way to migrate. Best you can hope for is to buy a new stick and "live migrate"
Yeah, I also have a bit of stuff in a compose "stack".
wait is z2m a addon or an integration?
only thing I need to do is move the data directories to my new nas and mount them in compose 🙂
Well, I wont buy a stick that will eventuelly just stay on a shelf... So.... Here goes the weekend! 😄
Neither...
It is integrated in HA via MQTT
It's nice to have a spare coordinator, then you can spin up a test install
True!
enjoy, I'm gonna try writing a igpu stats node_exporter for prometheus
in python for my grafana dashboard
Best of luck! 🙂
rip to the weekend 😄
so wait what do i need to do to run z2m? im confused here
its not an addon nor an integration
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.
you've beaten me to it @dry fossil 😄
It is available as an add-on though, if you use the right repo
dear lord
Stop tagging me! 😮
You're supposed to tag the imposter.
haha I wanted to trigger you 😉
if its popular why isnt it in the official addon store?
Tag the other Tinkerer.
Him, not me
blame discord for not choosing the right one 😄
People have to want to add things to the core add-on store, not everybody does
I think most people that use Z2M run it seperately
as they want to tinker with things
How did you arrive at this??
why wouldnt u want ur addon in the offical store?
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
Maybe they want to be able to integrate with other systems as well, and not get too tightly connected with one particular system!?
this is really what deters normal people getting into stuff like this tbh
Z2M is not a HA dedicated software!
What, the need to copy and paste a URL?
If that's too high a bar for you, then you're well screwed
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
really never said it was... now ur jumping to conclusions
This is like saying that ALL cars should be Volvos because anyhting else is just meaningless to people and too confusing...?
i even have a backup solution as well, when the main system goes down 🙂
I don't agree Magnus, it should be Alfa Romeo
😄
Nope.... But close! 🙂
anyway I'm out, been staring for 13hours at a screen now
so when i add https://github.com/zigbee2mqtt/hassio-zigbee2mqtt i dont see zigbee2mqtt in the addons
even if i reload or restart supervisor
#add-ons-archived can help you with add-on related issues
do i need to reboot the entire host?
No
But get help with addons in #add-ons-archived
🙂
fuck that
What are you running on BTW?
im just gonna live without the damn switches
Wow, this escalated quickly!?
not really
Yeah, really
Yeah, really!
i am going back and forth different addons and integrations to make this work
stick with 1 thing
and now ur sending me to a different channel just to make this addon work
because it's a different thing
That's how this Discord works, like most
You wouldn't bring your car to the dentist, would you?
Channels exist for purposes
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
Only one thing?
is there a MQTT channel?
There's an #integrations-archived channel, of which MQTT is one.
Really? There is something called Mosquito MQTT under addons aswell
hmm it looks like a completely different way of doing things
Right, that's the broker, the software the MQTT integration talks to
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 
See, it's magic...
Z2M > all 
deCONZ is giving me no info what so ever for OTA
might just be the reason I come to the dark side
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" ?
@opaque pike it updates as part of HA Core updates
like any other core integration
if you check the integration's manifest https://github.com/home-assistant/core/blob/dev/homeassistant/components/zha/manifest.json you'll see it's on 36.1
so when this get added to zigpy it will be added to HA when the next update rolls out?
Largely, yes
and its on a monthly basis now yes?
Yes
So, it has to be merged to Zigpy, then into HA's dev, and then it can make it to the final release
so unless that pull gets merged before the last Wednesday of this month you won't see it until October's release
thanks
does that mean zigpy version 36.1?
and yes or no would be fine
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.
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.
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 ?
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.
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
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
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?
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
Thank, but I'm not using z2m in my HA, so not sure if that would help?
Im using zha only
I read ZHA as Z2M 🤦♂️
custom ZHA quirks are supposed to be on a file and you add that to your configuration.yaml file
I have this controller from tubesz website: https://www.tubeszb.com/product/cc2652_coordinator/1?cp=true&sa=false&sbp=false&q=false&category_id=2 but every few hours all devices seem to become unavailable for a briefly 10 seconds. this happens around every 4 to 5 hours. and all devices become unavailable at the same time
any thoughts of what can cause this
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..
tricky since that one is over ethernet
tube might have troubleshooting suggestions, just wait for him to come online.
if it's over ethernet, might be something there that's bugging it
in the meantime you can check to make sure your wifi isn't at a close channel with the zigbee network to eliminate things
And stop using the microwave to cook meals. Learn to cook properly.
We never use micro wave but i know what you mean lol
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
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
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?
Unlikely to be the chips. It's your network.
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
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?
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
enable debug on everything you have and look the day after for anything suspicious around that timeframe
is that connected directly to your router or to a switch?
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
try pinging the switch and your end device continously and see if you have drops
ok
that way you can ensure the network connectivity is ok
Check the lease time on your router as well
or start a wireshark / tcpdump trace (but that's going advanced)
I think we can safely state that this is not a zigbee problem 🙂
@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
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
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
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.
I give those environment variables in my docker-compose 😄
and those are in a .env file
so I call them with {$VAR}
I'm running on a Raspberry Pi 4B.
I'm planning to move to docker but I first need to build a Server 🙃
you can run docker on your rpi
Yeah but I don't want to do the migration twice.
""
user: '!secret user'
is that a file in /config?
and in secret.yaml
user: someuser
or those defined on the config of the addon?
It's in config/zigbee2mqtt but I have a secrets.yaml that redirects to the main file
what's the point of the redirect?
just to have my secrets in one place
@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
!secret is what "redirects" to secrets.yaml
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
that's because ESPHOME has its own esphome secrets file
putting a secrets file in another secrets file is going to get complicated 🙂
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 🙂
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
Yeah that's what I get to it says no configuration found and then reloading from backup and overwrites everything.
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
💯
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.
it get's overwritten from what is in the addon confguration panel that's why it was overriding user/pass
unless you plan on uploading your /config on github it shouldn't matter
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.
Yeah but if my house burns down I don't care about a home assistant backup ...
both make sense 🙂
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
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?
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
what happens if you just change the state in developer tools ?
I have this old wifi antenna lying around not being used, I was wondering would it be possible to connect it to my CC2652 stick and would it be worth it?
https://photos.app.goo.gl/ZXh1vTkgwY1MGwBF8
Depends. Are you having signal problems already?
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
Low LQI doesn't mean anything. If things work, you have nothing to worry about.
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.
you could connect it (I did something similar) but zigbee is a mesh network so probably not needed
I just did it because I didn't know better at the time.
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
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.
Ah fair enough, if I run into problems I'll use it if not I'll pretend I never found it again! Thanks!
you're welcome
just add a router device in between where you see issues
At least you don't have OCD I look at the map too often trying to sort them so they look nice 😂😭
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
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?
Look in ZHA for support for Zigbee groups
As for the scale, that'll be mireds I suspect
Is it possible to change it to Kelvin?
Oh but I mean is it possible to change the scale to Kelvin instead?
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
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)
if they can you should change them to what makes sense to you
Is it normal for ZHA to receive attribute reports exactly every 10 seconds from a light that doesn't change?
also happens when there's only a single bulb on a network.
Getting this exactly every 10 seconds for some of my lights
Bulb sends it. At least this is better than no sending reports at all
haha, ok. So ZHA doesn't ask the bulb (on initial configuration) to send attribute reports all 10 seconds?
Zha ask to send on change - 30s and no change every 15 min. But device may send voluntarily
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.
🤷 need to see raw payload request and response. Probably it was reading zll group and did not get All fields
anyone using the Niko wireless smart hub with HA ?
that one, yes....
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
I thought... its a zigbee thingy... lets ask here 🙂
ah, ok. I'll see if I ever get around to this lol
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?
I suspect that's partly down to quirks and partly down to the device itself (where there's no quirk)
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...?
If the mysterious device doesn't follow Zigbee spec it cannot create sensors for those clusters unless a quirk is made
Is it a smart plug?
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
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.
Yeah
I think there’s an issue on some GitHub repo (home-assistant/core or zha-device-handlers maybe)
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?
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
Can use a manually created 'integration' sensor to work out kWh from W, if that's what you mean?
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)
GH issue regarding ZHA and the energy feature: https://github.com/home-assistant/core/issues/54643
GH issue regarding no more than one working sensor on smart plugs: https://github.com/zigpy/zha-device-handlers/issues/605
another GitHub issue regarding that: https://github.com/home-assistant/core/issues/44539
and I think it's also discussed here: https://github.com/home-assistant/core/pull/50471
If you want to stay up to date, you can subscribe to these (if you have a GitHub account)
that would be how to do it and then customise the new entity to have the necessary attributes
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
Thank you @mellow geode for saving me some time here 🙂 I have added a summary on the https://github.com/home-assistant/core/issues/54643 issue.
@nova pewter a networked Conbee II?
do you just mean it's running on another device that isn't HA?
@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
the HA deCONZ addon is for a Conbee II that is locally connected
that's just how deCONZ works
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?
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?
@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
@mighty river Why do you want the network to be separate? I had that initially (Z2M+MQTT), but found things so much easier once using native ZHA. Main benefit was being able to more easily 'see' what's on the network and add/remove things. Have found the https://electrolama.com/projects/zig-a-zig-ah/ dongle very reliable for ZHA. CC2531 is v cheap but not so good with larger networks.
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
Repair it
@nova pewter , conbee2 over a network, does it mean the gateway would be somewhere else than the actual server? sounds interesting
Same thing you can do with Z2M. Difference being you get to ditch deCONZ 🎉
@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!
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.
@hardy crane was having high hopes for raspbee2! Z2M is tempting, I think I just have to try it
If you want something decoupled, go with Z2M. If you want something coupled, go with ZHA. There is no third option.
depends on where you read 😛
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
Yes the gateway is on a Windows box. Quite surprised when I first started with HA how it discovered the either the instance of Deconze on the windows PC or the Conbee but which ever way, it allow me to use all of my Zigbee devices in HA
@dry fossil any good adapter you recommend for Z2M running on raspberry Pi? Preferably a module rather than a dongle 🥳
The supported adaptors are listed in the docs.
Thank you, assistant.
I saw 🙂 thought I could get some direct experience 🙂
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.
Thanks yeah that makes sense! damn!
OK dongle it is! Makes sense, thanks for your feedback!
Anyone played around with LXC passthrough with these dongles?
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
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
Yeah I agree. I bought the Conbee because the Sonoff Zigbee gateway was dropping devices regularly requiring me to re-pair them. Head slap.....just realized you meant re-pair them not repair them ! The dongle is about 1 meter from a WiFi router
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?
Make sure your zigbee and wifi isn't in close enough channels
Idk what that bot said it’s blank for me
Mine is half a meter but I have no issues. It was 20cm before still didn't have major issues
And yeah I meant trying to get them to rejoin the network
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
I'm using a Conbee II. Most people are against it here lol
You can see a list of most adapters here https://www.zigbee2mqtt.io/information/supported_adapters.html
Tube's are good ones although he's currently out of stock I think
I want a cheaper one to test with
Whatever you do DON'T get a CC2531 btw
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
There's a reason most cost from 30 to 50
Yeah. I’ll try those then. Thanks!
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
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
in case you are still want to go CC2531 - get the one with antenna
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
yes, it is fast / instant. less than 20 devices
Awesome
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
If that does not work too well as cord, then flash as router
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.
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
Add another Zigbee2MQTT server to the second house
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 🙂
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?
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
Another option is an Ethernet Zigbee gateway like https://zigbee.blakadder.com/TUBE013.html but I don't know how it works with Z2M
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
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 ?
@violet dagger @graceful notch Thank you both!
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
ESP module is running which firmware?
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
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)
can you change the colors of every device in the group seperately?
yes you call each entity seperately 🙂
I believe they were asking SHxKM
sorry to bother you all again but nobody had a similar issue like mine #zigbee-archived message ?
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?
yes put Z2M in debug mode and monitor it
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```
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
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
i see nice thanks
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
enable watchdog?
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
is it safe to push multiple firmware updates through z2m? I have a bunch of bulbs and its taking about 20 minutes each
Thanks for all the help. i hope i can find the problem.
the answer appears to be yes
I would have thought no. That's good to know
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
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 
fingers crossed 7 down and 3 in progress
Ok error i get when zigbee goes down is no more then this: Error Adapter disconnected, stopping
If you're in a VM, that points to a possible problem with passthrough
and after approx 10 seconds the log goes on where it left of mentioning device data like normal
On a Pi, power
i use the tubes network coordinator which isnt connected to the pi only through the network
How is your HA host connected to the network?
You appear to have a network problem then, probably
and pinging to the coordinator it shows the coordinator stays online
with a less then 1 ms ping when going down
its not disconnecting
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?
psu
Is that adequate?
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
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?
When you say group do you mean the HA group or a Zigbee group?
I have not seen anything like this happening, or heard of this issue before. do you have a USB-Serial board? it may be work watching the esphome log straight from the console, as it will show any network disconnection blips.
Zigbee group, within the integration. I made HA groups but all the lights are still individually controlled. I wanted to be able to change the temperature/brightness of multiple lights at a time, which Zigbee groups solves.
@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.
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
ZHA? Zigbee2MQTT? deCONZ?
ZHA, sorry
No idea then, maybe somebody else will
I found zha groups to be glitchy
which is weird because its more of a controller thing
Is there a way in HA to group things so they just count as a single light? Especially to voice assistants?
you can make light groups
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.
YMMV
Some of us say yes, others say no, others again swear by deCONZ
We're all right wrong
Probably depends on controller too
I swapped controller and went to z2m
so lots of changes
Ya I think maybe my USB stick could use a firmware update
on the other hand this damn temp sensor insists on pairing to the furthest away outlet which is pissing me off
thats what I switched from
oh, poop lol. What are you using now?
Ya it worked great for Zwave. Home Depot had the Ecosmart zigbee bulbs on clearance so we bought them for the whole house lol
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?
@uneven ruin Do you by chance know how to update the firmware for the GoControl stick?
when I did it I was running linux and did it locally
Oh I probably need to move my pi away from the wifi router, that might be causing issues too.
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
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...?
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)
It would, rather than multiple direct messages there's a single broadcast
is there anyone that can help me with this ? #zigbee-archived message
Just use a template cover. See #integrations-archived for help with that.
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
how is it not available exactly?
https://www.zigbee2mqtt.io/devices/TS130F.html#device-type-specific-configuration is something you set in the device configuration file
its linked right there
this is totally new to me
so was writing once

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.
I went through them but still confused
should I add something like
devices:
'0x00158d0001d82999':
friendly_name: 'my_occupancy_sensor'
invert_cover: true
?
somthing like that with proper yaml indentation
i suppose I do this via the UI ?
you don't
but in HA, your configuration.yaml for Z2M is sitting there
not in my HA
Hey John. Yes. I can change the color of each one of the devices in the group.
if i look at my configuration. yaml, it starts already with
{
"external_converters": [],
"devices": [
"devices.yaml"
],
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
did you restart ha?
yes
and z2m?
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
just installed 30 mins ago so must be latest
Zigbee2MQTT 1.21.0 is what I see in logs
Yeah, that has issues when re-pairing a previously paired device
Restart it and things should work as expected
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
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?
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 😦
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
Yes sorry zigbee2mqtt. Repairing won’t be an issue.
But did i get the required steps about right?
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?
Do the IKEA tradfri buttons work with any zigbee2mqtt setup? I quite like them
Are all the IKEA smart home devices zigbee compatible?
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! :-)
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)
Blakadder has compiled a list of devices that are compatible https://zigbee.blakadder.com/
looks like it is supported
Instead of buying extenders (zigbee terminology is routers) but lights or plugs that could be useful and also act as routers
Yeah
And you don't have to use ikea routers only, you can buy just any zigbee products
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
Then fit one where the dead spot may arise, it will help extend the mesh
I would also recommend to buy this mijia switch, it is terrific with the amount of actions in single button https://m.gearbest.com/smart-light-bulb/pp_257679.html
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
@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
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
it seems that im not the only one with this problem https://github.com/esphome/issues/issues/1196
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?
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?
No issues with changing it to the IP (and port)
@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
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
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?
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
Z2M should NOT stop running when you restart HA
But home assistant starts the addon on boot and setup the connection back to Z2M?
Z2M doesnt restart.... This is when restarting HA
They run completely independent of eachother
I know
Boot as in server/host boot
But they still need to communicat
The part in ha dat communicaties with Z2M needs to start first
what I mean is since it never stopped zigbee entities should be instantaneously updated
same as deconz
in contrast to ZHA
But can HA remember the state? Assume that it still has the same state as before the restart?
ZHA is part of HA so it goes down with it
I've never seen what Magnus descirbes with deconz
I do and also with z2m
I'm restarting right now lets see
The devices will be updated 30 seconds to 1 minute later
I'd expect the state just after a restart to be unavailabkle or unknown, but not the wrong state specifically...
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
Oh wait you guys don't use home assistant like I do.
Here. Coming back after a restart where I had left one light off one light on
When I restart home assistant on my raspi everything is restarted I'm not using a docker
Curious how much this can differ?
👍
Under Settings for the device in Z2M tick retain
Broker and z2m running in docker in a separate VM....
So, this is a per-device setting?
Well I never really understood all the core os and other versions. My knowledge don't go further then just installing an image.
Same thing there too. They never go down. Only HA does
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)
I think you can set it globally too, but I may be wrong and don't have access to the docs easily right now 😄
Now I know what to look for... Sort of makes it easier! 😄
You'd think it would make more sense that retain was ON by default
retain: Retain MQTT messages of this device (default false).
Cannot find a global equivalent either.... I've got some work to do! 😄
That was time saving! 🙂 Thanks a bunch!!
For static IP I have instructions on GitHub: https://github.com/tube0013/tube_gateways/blob/main/esphome/README.md
This will erase everything on the coordinator?
No it will not touch the zigbee side
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?
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
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
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
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
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 😄
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.
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... 😄
Probably not, but you can use the /dev/serial/ path instead
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.
what's the need? It's in your local network
Maybe to protect everything from his girlfriend/wife 😜
Or boyfriend husband in any case... I just assume something without having the facts 😅
yes because having your so hack your smart home gear is a frequent occurrence
Is it possible to use a similar approach to change the power on behaviour?
can anyone recommend a good energy meter (contor) for inside electrical pannel zigbee?
@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.
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.....
It does
Some devices support it, some don't. My Tradfri lights support it, my Gledopto don't
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... 😕
For simple cool/warm white I'm happy with mine - I didn't buy colour capable ones though
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?
Couldn´t agree more! I´ve tried a couple pf the color variants, and for effects they are. plenty. good enough! For slight variations in ambient. lighting and/or mathcing up with other lights... Its hard...
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
is that directly connected to you server or has an extension cable?
directly
ok, I have found other people had this issue
looks like a problem with firmware
pretty sure CC2531 tend to be shipped with old versions of firmware
I'd probably through in an extension cable too
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
no way of upgrading CC2531 via the same USB interface?
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
Okay. I got C2652R zigbee stick on raspberry now. What next?
@hardy crane yes I flashed it previously by SPI
I'd remove it and try again. If it paired once maybe it's already paired? If not I'd remove the battery and try again. If it's the one I found pressing the button 4 times resets it. Then keep it pressed till it blinks
but too lazy to solder and fiddle with it again
I'll give it a go -> I think the light is supposed to pulse for pairing and mine is flashing still... letting the battery sit out for about 5 mins
@hardy crane 3 B
ok so not using an SSD
then you pick what you want to use with it
there's ZHA and there is Z2M
And ZHA supports more devices than Z2M?
There is more to consider though... ZHA is an HA-integrated solution, is it not?
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...
Depends what kind of mode you are running in
Theoretically ZHA supports more if they follow Zigbee stamdard
Running in supervisor ZHA is running in a container so you can mess with your HA containers w/out messing up ZH|A
Oh! Thats new!
Hmm. I installed zigbee2mqtt to ha. But its saying bad gateway 502 and shutting down.
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
But... ZHA is an integration, not an addon? Or...?
You probably are missing the MQTT addon?
Zigbee2MQTT
i only installed that zigbee2mqtt
Here watch this https://www.youtube.com/watch?v=-YeObwEZqL4
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 ...
thanks
@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
Meaning that if HA goes down, so does ZHA....
?
yes
😌
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
Got it! I was just being mislead by @solid hollow ! 🙂

