#zigbee-archived
1 messages · Page 96 of 1
so just lack of power essentially?
Hi, could someone help to identify whether this Ikea Tradfri bulb is Zigbee? Can't see it in the product description. https://www.ikea.com/kr/en/p/tradfri-led-bulb-e26-806-lumen-wireless-dimmable-colour-and-white-spectrum-globe-opal-white-80547529/
Tradfri is all Zigbee
Can anyone suggest a couple UK light switches that support ZHA, Ideally I'd want something that has option of dimming too
Looking at a budget of £0 - £50
would it be appropriate to ask for tips regarding zigbee hardware here or is there a better suited channel for that?
Hi. I just noticed i don't have the battery level reported on my zigbee temp sensors. They are all reporting 100%, while some of them where at 50% before. It started the 4th of this month, i guess just after 2024.09.0 upgrade.
I repaired the divice without success.
No change after 2024.9.1. ussue still there.
am i alone ? i havn't see any ppl complaining...
thx.
Battery stats on Zigbee devices are misleading at best. It’s what the sensor “chooses” to report and it’s usually wrong.
Any device suggestion for either:
UK Light switch with dimmer option(s)
No Budget
E14 'Golf ball' bulbs with colour or warm light
No Budget either
Not sure how new the news is, but Ikeas new plug is the same price as the Trådfri one, much less bulky and also has power metering. Pretty nice. https://www.ikea.com/se/sv/p/inspelning-stickpropp-smart-energimaetare-00569836/
would it be appropriate to ask for tips
Huh... I figured it would be a matter of time before Ikea released a plug with power monitoring.
I just hope it's better than their new motion sensor. It's absolutely horrendous
My disdain for Ikea kit is well known around here... I tolerate some of their stuff, but generally, meh... lol
I'm looking for a Zigbee double outlet with energy metering, i found plenty of single plugs but sadly i only found double outlets with WiFi, do you guys have any sugestions for me? Im lokated in Sweden but i dont mind ordering Online.
AFAIK, there are no devices like that. At least none that I've ever seen.
Damit, guess i have to keep some WiFi devices then
Just curious as i do have a ton of bulbs and buttons from IKEA and as i am new here, why do you disslike thiere producs that much? @forest cobalt
Mostly bad experiences before they upgraded their devices to Zigbee 3.0. But, their newer devices, while sticking to the 3.0 spec, still tend to have more issues than not. I tried a couple of their water leak sensors and they wouldn't stay on my mesh no matter what I did. Same thing with a couple of the contact sensors. And it's not like I have a weak mesh or anything (55 routing devices and 65 end devices with a great coordinator). It is just that Ikea devices seem to be so hit or miss that I end up just not recommending them for real usage.
Wow, it was a very long time ago i got such a well spoken respones to that kind of question!
Big applaudes to you for that
I have two of their leak sensors and three of the door sensors, never had an issue
Also the wall plugs are great if you dont need metering
But the motion stuff is awful
Yeah i checked with one of my friends and his and mine are alike just as yours @dusky flint but then i am quite late into IKEA products so that might be down to new firmware or just product revisions
Yes I keep mine updated through z2m.
Yeah, their newer stuff isn't "bad", it's just spotty... One of things I've seen is that in a large mesh, they still suffer from buffer issues (in the routing devices like bulbs and plugs).
Well if there is no product like that, do you have any sugestions to hove to solve this issue:
im not "allowed" to have powerstrips as "they are uggly", even with cable boxes, so i been using dubble outlets to get 4 outlets atleast.
One of the guys I talk to a lot has ~270 devices on his mesh and he's constantly having to restart his Ikea bulbs because they just get overwhelmed with the traffic in his mesh.
Eh, stick with the WiFi ones? I mean, how many do you have? If you're talking about something like 30-40 outlets, then you might have to rethink things... but if you're at like 15-20 outlets, WiFi should be ok.
I there any way to design you network to avoid this then? as i said im very new to Zigbee
Be really picky about what you put on your mesh. Zigbee is one of those things where you get what you pay for, usually. I'm extremely picky as to what actually goes on my mesh.
Yeah it works fine, i just would like to downscale my SSID as they run on thier own to isolate them, and right now i run around 10-12 different plugs and outlets on WiFi
That should be fine. I mean... in comparison, I have 125 WiFi devices right now... sooooo lol
i see, talk about being the small fish in the pound 😛
lol noooo I'm just sort of "extra" when it comes to my smart home.
And compared to some people here, I'm still a small fish myself. 
Buy her a fancy dinner and plug in your outlet (if you know what I mean).
But yeah, I've got 32 ikea devices and no issues
But I would also go for Hue or stuff like that if I could afford it.
Hue or Aqara. Aqara (even their older Zigbee1.2 devices) are my favorite currently. Their sensors are tiny, battery seems to last forever and they are rock solid when paired properly.
I had the opposite experience from you 😄 I had loads of problems with Aqaras door sensors back when I was running ZHA. I had to up the timeout interval for battery powered devices reporting availability as they otherwise would drop out if they were in sleep for a long time. Theyve been solid with z2m though.
Is anyone else using the IKEA STARKVIND air puriffier tables? I have two that I'm using with ZHA which work great, however I have a strange problem. On one table, HA reads teh air quality PM2.5 just fine, and the value changes and is correct. However on the other table, the sensore is constantly showing 0 as the value
I thought that maybe the table thought it was in the same room, so I powered down the other table and other ikea air quality sensors and re-paired the table, however the sensor still continues to read 0 (there does seem to be some settings under ZHA "clusters" in the zigbee settings relating to a PM25 cluster, however I'm not sure how to actually use these settings or understand them)
Just trying to figure out if the table is faulty or if there is some settings in ZHA I need to change, as I know these tables can be notoriously finnicky with the PM2.5 sensor (appearing in HA only after a day, etc)
Know that i get what you mean, but as my case is a bit special and due to that i am ROFL MAO right now, as its a case me being a "every other week dad" with a daughter that feels peety for her dads lack of a sense when it comes to interiour design, im all function over form so to speak
Click "reconfigure" on the device's page, it should start working after that
with that bypass, can you wire it at the switch? or does it have to be up at the bulb?
I've tried that with no success
What does it show?
If ZHA asks the device to report PM2.5 changes and it doesn't, either reporting isn't set up or the sensor's value doesn't change
In the reconfigure window?
Under IkeaAirpurifier I do see a number with this min/max/change
air_quality_25pm: 0/900/1
And below, PM25Cluster with this
measured_value: 30/900/0.1
Are they green or orange?
The cluster's measured_value is orange, but the IkeaAirpurifier's air_quality_25pm is green
(also the fan is running just so that is clear. From my experience with my other STARKVIND table the sensor values didn't update if the fan wasn't blowing air)
Can you enable ZHA debug logging, remove the device, re-join it, and disable logging? That should show everything
The only thing that changed between me setting up the table is I added some ikea zigbee air quality sensors. I do know that they can sort of operate in a "cluster" mode, so today I tried turning them off as well as the original table (still paired in HA) and re-pairing the second table with the physical button
That's that done
- logging enabled
- removed device
- powered off device
- powered on device
- paired device
- disabled logging
What am I looking for in the log file? I do see some DEBUG (MainThread) [zha] (ZHAGatewayProxy) handling event protocol for event: DeviceFullInitEvent entries
I put it at an unpopulated socket in the string of ceiling lights. (Have to repair the dry wall around it from a leak). I think technically it is supposed to go by the bulb but I'd check the docs or contact aeotec to see what they say.
If you want to DM me the log, I can take a look
it didn't totally fix my issue with the switch in no-neutral mode. the 2 innr bulbs when and the bypass was not enough to keep the switch happy. hadeed a 75w equiv hue in one of the other sockets which is mostly unused and that made it happy when all lights are off, and haven't had any issues. 1 nnr bulb when off draws about .2 watts based on another inovelli switch with neutral with a single innr bulb on the load for reference
@ornate vault ^
Thanks! I've sent that over
As usual, there is no air quality sensor visible immediately after pairing, but I'm going to restart my HA to see if that makes it appear
...and yep after a restart the sensor is back, though still showing 0
i've been trying to search what's going on with my bulbs, and while i've found a few things, i can't find anything exactly the same as my issue.
with the switch in place, my lights turn on full brightness no problem. when i turn them off at the switch, they turn off completey, but 1 of the 2 lights will do a quick flicker every couple of seconds intermittently.
the next thing i did was put my switch into smart bulb mode (sbm), and set up automations for the up/down press to control the hue lights. when i press the down button on the switch, they turn off perfect with no flickering. when i press the up button to turn them on again, the switch looks like it disconnects and a cyan light starts blinking.
can't seem to find anything on that though. the only thing i keep getting pointed to is that aotec bypass, but i'm not convinced it'll fix the issue i'm having.
does that sound like something that maybe increasing the minimum dim level could resolve?
in the smart bulb mode, this is what I experienced it's the switch rebooting
I'd post in the inovelli forums if you haven't already
ya, i'm thinking that'll be my next step. i went ahead and ordered that aotec bypass you linked. for $15 i figured i'd try it out and see if that fixes my issue
Is there reason why many of my devices need to go unavailable after a Z-Wave JS UI update? Can that be avoided by a batter update process?
You’ll want to ask in #zwave-archived
Or are you saying that your Zigbee devices went unavailable as well?
Nope mis-clicked the channel
Can anyone suggest a wall light switch UK with dimmable option
hey friends, how can I flash a new firmware on skyconnect via cli?
I literally just install home-assistant, and pretty much everything is in the default state (so zha vs zigbee2mqtt, don't know)
https://connectzbt1.home-assistant.io/firmware-update/#from-skyconnect is the easiest. If you want to do it without unplugging it, disable ZHA and install the Silicon Labs Flasher addon
I would rather not use chrome, I install their universal flasher, but can't find the firmware to download to flash it
Then the addon is for you
addon? like the browser addon? also where can I find the latest firmware?
How are you running Home Assistant?
You can find the latest firmware builds here: https://github.com/NabuCasa/silabs-firmware-builder/releases
cheers
I just flashed skyconnect_ncp-uart-hw_7.4.4.0.gbl on the zbt-1, but still I get unsupported_firmwrae err message. I don't see anything special in the systemd logs for home-assistant about it. What could be the issue?
Jaysus, found the issue, it's totally a different issue, but the great err message drag you to a totally unrelated realm. A permission issue vs unsupported firmware. 🤦♂️ What a UX
What error did you get?
I need help getting zigbee working, sonoff 3.0 plus I have followed all YouTube videos flashed new software on my dongle, and I keep getting this error over and over. Does anyone have any idea how to fix this? It's driving me insane trying to figure this out
[22:33:03] INFO: Preparing to start...
[22:33:04] INFO: Socat not enabled
[22:33:06] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[2024-09-09 22:33:12] info: z2m: Logging to console, file (filename: log.log)
[2024-09-09 22:33:12] info: z2m: Starting Zigbee2MQTT version 1.40.1 (commit #unknown)
[2024-09-09 22:33:12] info: z2m: Starting zigbee-herdsman (0.57.3)
[2024-09-09 22:33:13] warning: zh:ezsp: Deprecated driver 'ezsp' currently in use, 'ember' will become the officially supported EmberZNet driver in next release. If using Zigbee2MQTT see https://github.com/Koenkk/zigbee2mqtt/discussions/21462
[2024-09-09 22:33:23] error: zh:ezsp:uart: --> Error: Error: {"sequence":-1} after 10000ms
[2024-09-09 22:33:23] error: zh:ezsp:ezsp: Connection attempt 1 error: Error: Failure to connect
[20@mighty river 24-09-09 22:33:38] error: zh:ezsp:uart: --> Error: Error: {"sequence":-1} after 10000ms
[2024-09-09 22:33:38] error: zh:ezsp:ezsp: Connection attempt 2 error: Error: Failure to connect
[2024-09-09 22:33:58] error: zh:ezsp:uart: --> Error: Error
I need help getting zigbee working,
This is the error I see in the logs: https://dpaste.com/GQD3VAC72
But HA reports unsupported_firmware, I have to add the user running HA to the dialout group and try again. but that's not a proper UX. It's seems that traceback is being thrown away and replaced by a lazy generic error message
By a brief look it seems to be coming from: https://github.com/home-assistant/core/blob/dev/homeassistant/components/homeassistant_hardware/firmware_config_flow.py#L372 where is the error handler? 🤷♂️
@dim wraith I converted your message into a file since it's above 15 lines :+1:
What coordinator?
Sonoff zigbe dongle 3.0 P
plus
Make sure ZHA isn't enabled/active
it's active
With that same stick?
it not only shows itself in the detected integrations
Did you set it up?
pv
What?
No
Please use imgur or other image sharing web sites, and share the link here.
Image posting is blocked in most channels to discourage people from sharing text as images. Sharing text as images assumes that everybody sees the world as you do, which isn't the case. Some people are colour blind, or have visual impairment that means they can't make sense of an image of text.
Then it's not active
It can't connect to the coordinator, for some reason
I'd start by updating the firmware to the latest 2024 version
how make this?\
What?
update
So for 99.99% of Home Assistant Core users, serial port permissions aren't a problem and not something that's really considered 😅. From the firmware probing perspective, the device doesn't have functional firmware. I think that case can be split off to provide more context.
Is there anything I can add to car to track ots location on home assistant?
Probably not with Zigbee 😄
Haha aw
Wanted something like taxi or delivery drivers use to track for when picking wife up so she knows where I am or how far I am
WhatsApp location will do for now
I'm not trying to be offensive or anything. But I have a bit of constructive criticism. In general, destructive error handling is a bad idea, it doesn't matter whether 1% or 100% of core users have a correct serial permission, that code, throws out the real error and reports incorrect information. That permission issue is just one of the many issues that might happen. A driver issue, hardware failure, udev problem, asyncio bug, and another unpredictable issue, will be reported by that code as unsupported_firmware which is dead wrong. It doesn't matter who the users are, or how do they run that code. It returns incorrect information.
I'm (or better to say was) a home-assistant only for two days, and this incident gave rise to a few questions for me:
- How did such an antipattern find its way to the main branch?
- How is the code review process in home assistant?
- If the core library contains a low-quality code, what should I expect from the rest?
- If it is easy to merge code to home assistant's core repo without enough review and supervision, is there any possibility that either in the past or future, someone can ship malicious code in home assistant that can bring harm to me in any way?
and a few more. Hope my constructive criticism didn't put you off, but I think such a simple thing can reveal bigger issues with software, and that shows that there is room to grow and be better 😊
https://developers.home-assistant.io/docs/development_submitting outlines the dev submission process. Generally speaking, the code review process catches quite a few bugs. But, because of the fact that this is 99% volunteer driven, different people have different styles of coding and not everything will be caught. In terms of malicious code, literally tens of thousands of people have their eyes on the code base and will easily spot something malicious. With that said, there isn't any safeguard against custom integrations and addons aside from you reading the source code and determining your level of safety.
Also, you could always submit a PR against the ZHA integration and fix the antipattern you have found.
Written communication can be awkward, please this text with a smile and assume good intention. Thank you for the info, I'm very familiar with how free software works, but saying that 99% of the job is volunteer-driven, so a poor quality code is expected is not a great attitude. Home assistant is not the only relatively big free software out there. I think even in the link you provided, there is no workflow in place to reduce the risk of low-quality code being merged into the main branch. There is a style guide and all, but still, I think a guide about “What not to do” or patterns to avoid and things like that can be beneficial . Regarding me submitting a PR to fix that code, After seeing that, I'm not sure whether investing in HomeAssistant is good for me. But if I decide to use it. I will contribute as the best I could.
You also need to realize that by choosing the core install method, a method I also run HA with, you've chosen the least popular install method. Most everything is tested on the OS install method. If you run core directly, then finding a few oddities, that didn't show up in the OS, that's par for the course. This channel is for Zigbee support and isn't the place for an architecture discussion or to complain about developers. If you think something should be better, PRs are always welcome. Welcome to Home Assistant.
Yeah I understand that, but even If I install HA like many other people, it does not change the fact, that that piece of code, has a poor quality and summarizes literally any error that might happen (including hardware failures) as unsupported_firmware issue. That is wrong, anywhere, in any software, regardless of the nature of the software and the domain of application. It's wrong to fool ourselves thinking that it is ok to do so because people will use our software in a certain way. A better solution is to raise the error as it happens, and asycio supports that. And when someone like me comes along and asks for help, then you can say, 🤷♂️ I don't know, we don't support your way of installing HA, and that poor lad at least sees an error message that is not misleading.
At the end of the day, this is about engineering and not only about HA, destructive error handling is an antipattern.
hi guys , a small question, so i bought my first zigbee device per test to use with HA , the Tuya precense detector. turns out i bought the 2.4Ghz model (ZY-M100-24G) , the device is added with ZHA but i only have 2 entitities to check the signal strenght, nothing more. when looking up the zigbee device compatibilty database , i only notice that the model ZY-M100-L & S is supported and thats on 5,8Ghz , did i bought the wrong device ?
oh and i received my zigbee 3.0 Skyconnect today ... as cordinator (if i'm saying it right)
The 2.4 vs 5.8 is the radar, that's all
Honestly though, Tuya mmWave can be so talkative that your mesh suffers and breaks
after some doctor google magic i found a topic regarding this model ... with some custom python script i got it working now ...
precense is working as should, lx is something else ... i'll have to look into it some more 🙂
hey guys, zigbee smart switch inside of the wall that connect to wires, counts as reapter?
3 wires you mean those with neutral wire?
Yes, their own neutral and live feed
cant find any that works for me
Where in the world are you?
who knew
Tinkerer
lmao
That's ... just a sign that I've travelled to another country 😛
I have a handful of travel adapters in a drawer for when I travel, though these days I have a USB C charger with replacement heads, and everything uses USB
traveling a lot?
if i start a update on a zigbee device, does home asstant/zigbee2mqtt require internet during the entire phase or does it cache it and then upload to the device?
Heyhey, i want to improve reliability of HA with proxmox failover. For this I need to get rid of my zigbee usb coordinator and switch to a ethernet version. So an instance on another server can connect to the coordinator. Will this work? Proxmox will handle the state of Haos, but can this lead to trouble with the coordinator? I'm not sure which things is handled by zha/z2mqtt and what is running directly on the coordinator
That should work, I've moved between a rpi and a Proxmox VM then back several times, just ensured that the Zigbee database was copied over.
This is with ZHA, no experience with z2mqtt.
Thx!
Lastly I had a longer downtime and no light worked. Not the best ad for smarthome for my wife
That should work. You could take it a step further and also host Z2M/MQTT externally as well. That’s how I run currently with Tube’s MGM24 coordinator. Eventually ZHA is also going to be able to be hosted externally as well. (I’m excited to try that out when it comes)
Yeah. Good idea. I might first test one step and then the next
I am moving and doing a fresh setup. Currently running ZHA with a conbee ii. My coordinator is on the main floor. I have about 30 devices. I have Ikea repeaters on each floor. When I move I would like all my server stuff in the basement. I'm considering Z2M and putting the coordinator on a pi in the middle of the house and running the broker on a docker container on the machine in the basement. All wired by Ethernet. Would there be any noticable speed difference than just keeping the conbee plugged into the machine in the basement directly and using multiple routers to extend the range upstairs?
Short answer... maybe, but probably not
A couple of hops with multiple routes is likely fine
Five hops with no alternative routes... maybe not as they'll get busy
Sure. Keeping the coordinator in the middle seems best but I don't want to over complicate
Hey all,
Ive heard that powered devices functions as an extender. Yet, i have a motion sensor on the first floor which is connected. Z2M detects it as a router device but still the products on the 2nd floor cannot connect with Z2m. Any ideas if perhaps not all the powered functions works as extender?
Just one router?
Practical range between devices is maybe 6 to 8 meters (with one wall)
Also, it may only be able to route a few devices - have you checked your map?
In z2m?
Loading the map right now. Didnt knew that feature tbh
Yes
The lightbulbs also get indicated as router. But i dont know if thats still the case when they are off...
I do have the map now. It seems that more then 5 devices got connected to the motion sensor
Weird that the switch i just configured on the 2nd floor cant be controlled via z2m
It gives an error when trying to
if you cut the power then no, if you turn them off in Z2M/HA then they're still powered and routing
it may only be able to route a few devices
You really need more than one router - buy Innr plugs
Weird thing is: It should be connected if i check the map
Just pmed you the pic since i am not allowed sending it here
LQI 100
Please use imgur or other image sharing web sites, and share the link here.
Image posting is blocked in most channels to discourage people from sharing text as images. Sharing text as images assumes that everybody sees the world as you do, which isn't the case. Some people are colour blind, or have visual impairment that means they can't make sense of an image of text.
There's a text log that's easier to share 😉
z2m: Publish 'set' 'state' to 'Zolder: Luchtventilatie' failed: 'Error: ZCL command 0xa4c13834557d61cf/2 genOnOff.off({}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"reservedBits":0,"writeUndiv":false}) failed (Timeout - 41048 - 2 - 158 - 6 - 11 after 10000ms)'
To me, this says that it has no - to slow connection.
So... that device isn't connected to the mesh/there's interference/etc
Ill make a screenshot from the mapping
The map won't help there
Ok so let me explain a bit:
The devices starting with "Overloop" are devices on the first floor. Those devices should act as routers. The device Zolder:Luchtventilatie is the device which it goes about.
but should the device also pop up in the map when it has no connection?
Aah
You have problems
Yea, more then one but thats another topic 🤣
Would it also help to get more from those motion sensor devices and other router-based devices for on the first floor? Or would you still recommend adapters?
Depends on what they are - make and model
Some make bad routers
Innr makes great routers
Im using Tuya based hardware right now
Guess we could place Tuya under the Bad routers section
Bad everything
Hawk tuya, spit on that thang?
Lets say you get where you pay for if i look at the prices for Innr devices
And compare that with Tuya
Can i use a "gateway" as router by any chance? Before ive ordered the SZLB-06? ive ordered a zigbee gateway by mistake. Would be nice to use that as router then
There's probably router firmware for it
Is it normal for a SLZB-06M coordinator that it operates on 75 degrees?
What?
Is it normal for a SLZB-06M coordinator to operate at 75~80 degrees constantly? It sounds some hot imo.
A lot of ESP chips run that hot (and sometimes hotter) when they are processing. It's the nature of passive cooled SBCs.
Ah okay, saves me from turning on the gasheater in the winter. Thanks 🙂
lol some of my ESP boards could probably heat a small room. My old coordinator would hit 120F during heavy use. 4+ years later, it still lives on.
120F is not that much, only 48 degrees 😛
Yeah, true. lol I did see it go way hotter for periods during the summer months, but it still chugged on. I have seen people print cases with small fans in them as well.
a lot of that heat is from the PoE, that giant pcb on that was actually a great heat sink 😂
Oh, this was on the 2020 coordinator as well. It got hot too. But yeah, the MGM is a space heater at this point. I’m expecting my dogs to be snuggled up next to it all winter.
they had to put a giant resister on the bottom so switches wouldn't disconnect it due to the low current draw.
Olimex has a forum post about it. they said you can try and remove it if you really wanted to, but wouldn't say if it would work or not .😬
Why doesn’t this surprise me at all? lol
hello all. using ZHA. struggling to pair an ikea styrbar. i had it paired before, but i had to remove it because it somehow latched onto a third-reality light and would turn that on. now it doesnt pair at all. i get as far as
Configuring```
sometimes it will actually add itself, but then no buttons show up any zha_events.
You need to calibrate the temperature sensor before the output makes any sense.
- Power off for 10-15 minutes (to let it cool to room temperature
- Power on
- In the web ui: General Settings > Temperature sensor calibration
Really? I didnt know that lmao. Many thanks! 😄
hey.... as i posted this in the wrong channel here it goes: I want to use swear words..... I want to say stuff which would probably not only get me kicked from this channel or server, ot would not only get me kicked out of discord but rather prevent me from ever emitting any kind of info ever again. to make it short, ikeas window/door sensors are getting on my nerves.... i replaced the battery in them countlessly they seem to drain them randomly completely (i even got really really expensive lithium aa batteries (non rechargeble) .... still some seem to just randomly drain the battery and yeah...i am a bit.... stressed this makes the waf of my setup close to zero "oh why can't i see which windows are open?".... please anyone for the love of god and all that is holy ...help me!"
tbh not sure if they are aa or aaa ( i got the right ones) i am not at home right now just noticed that some of them are aparently not working... again
Battery drain is 90% likely down to a weak signal or interference
10% down to bad devices - but that's mostly a Sonoff and Tuya thing
based on my network i should have a great signal
and i don't get why in a few rooms they have 100% while in the rooms next door they are all not available
and they don't really drain the battery they are just unavailable...
https://community.home-assistant.io/t/ikea-parasoll-door-sensors-battery-drain-problem/699565/33 it seems however i am not the only one.,,
So... lots of routers, no known bad devices (Sonoff, Osram, Tuya), all WiFi channels clear of Zigbee - including the neighbours
lots of routers check
no sonoff no osram no tuya check
wifi my own check neighbour.... dont know
one thing that can cause ikea zigbee devices to drain battery much more quickly than expected is if they're trying to apply a firmware update but there's signal issues so they fail and retry :( tho i've only seen that when using the ikea tradfri hub; i'm using zha now and it doesn't do automatic background fw updates.
(iirc some of the newer ikea devices are designed specifically for NiMH rechargeable batteries, and using other types of cells can cause issues)
i am using zha as well...
i tried the nimh batteries from ikea in the first place... no difference
Probably depends on the Poe injector
best dongle for z2m? is it sonoff P or E?
its P right? i want to setup a z2m network temporarily and see if i have better luck with certain devices on that as a test.
"best" is subjective. I'd recomment either the P or a SLZB-06. I switched from the former to the latter and am happy with it.
do you have to do any special flashing on it, to make it work
Nope in either case
say i wanted to use it for a test HA system on z2m. would i be able to flip it back to ZHA when im done or would that be more trouble than its worth
I only have the former, but it's basically plug and play (minus whatever fiddling you need to do to pass the adapter through to Z2'
And yes, you can do that. To simplify things, the coordinator is basically a tiny computer that actually runs the network, and ZHA/Z2M only communicates with the computer what it wants to do
Switching back and forth isn't recommended, of course, but the network will stay intact while doing so
If you go from Z2M to ZHA, what'll happen is that as your devices check in with the coordinator over time, ZHA will progressively add devices and entities to HA
well i have ZHA running currently, but i was going to turn that off, start a new HA instance with Z2M, and try to update some devices firmware that are giving me issues, and then put those devices back on ZHA
I believe that should work, yeah
thought so, and to confirm. he was talking about this? https://i.imgur.com/rgVBjJz.png
Yep
Or the Sonoff P coordinator, which is half the price (but perhaps not as flexible)
pretty pricey just to play around temporarily with z2m. i would want to probably try to put that on ZHA after instead of having something unused laying around lol
https://i.imgur.com/rgVBjJz.png theres like 3 models here. why specifically the one you said?
Because in my opinion the chip it uses has the best compatibility.
gotcha
About the price. I bought mine for 35 on aliexpress. The P cost me 25. I'm leaving out the currency because it might differ for you.
the SLZB-06 for 35?
Yep.
oh. thats a little better
what country are you in
ali has so many listings its weird
Europe. I can get it for 33,99€ at the moment. Smlight has links on their website too.
looks like i can get it for $22 USD
Quite the deal compared to 64.99.
yah thanks for the reminder to check ali lol
hi, i have a HA installed on a Pi4 with zigbee2mqtt dongle but i have issues, the Pi4 goes down very often, i will try to debug the Pi issue but i could have another option to install HA on a windows an the sale LAN and keep only the zigbee2mqtt dongle on the Pi, hoping it will run better with less load. Is that possible and easy to do and which guide can i use to do it ?
Do you use HAOS?
Yes, haos_rpi4-64.13.1
You can take a backup and restore it on the new install
Don't think that'll help the Pi problems though, that'll keep going down
You'd be better off moving it all
do u think that the pi has a hardware issue and should be changed ?
no orthers, only the Sonoff E dongle
Could be an SD card problem, or a power problem
i checked the RPI Power Status integration, it says OK all time
but i see a correlation between proc temperature getting to 45 or 50°+, proc load about 40%, memory load increasing from 50 to 62%, and reboot each time all these parameters goes up
Fan?
i can sho wthe graphs but maybe not the right place (zigbee) to discuss it ?
#installation-archived can probably help
ok will open the chat there
and come back to separate dongle and ha if needed ! thanks a lot
hmmm, k ill be honest, besides connecting new zigbee devices i know jack about it ;P
i got 10 "TS011F" zigbee smart plugs, and just noticed some have a other "cluster setup" then others
some miss the
genOta```
ota part in its cluster? any way i can add it to the others asswell or?
while they all report same model number with same firmware..
Hello, I have the following setup at home, used trough HomeAssistant:
1 x Texas Instruments CC2652 coordinator
1 x Sonoff ZBridge (standing between the coordinator and the door sensor)
3 x TH01 Sensors
1 x DS01 door sensor
I have a problem with the door sensor - it becomes unavailable after 6 hours, if the door is not opened/closed (which is a setting in ZHA config)
Is there a way to set a different timeout for a specific device ?
Also, I would be OK with this, if the first action after more than 6 hours is caught.
But after 6 hours, the first open/close is missed
I don't understand if the issue with the missed action is caused by the timeout and it being unavailable, or by something else
I've recently moved and the house I've moved into has 20-30Spot lights throughout the house Ideally I'd want normal smartbulbs but I assume it'll be better to just get a smart light switch does anyone have any suggestions for a UK-Zigbee friendly light switch ideally I'd like it to have the option to dim light but beggers can't be choosers.. haha
What brand of sensors? Sonoff?
Sonoff are well known to do that
well it says eWeLink DS001, but I bought them from the Sonoff store, yes
Yeah that's Sonoff, and their sensors (end devices) are known to be a bit crap
Not that their other devices are a lot better
do you know of some other brand that's not very pricey but its reliable ?
Xiaomi (Aqara & Mijia) are better
Try to get the E1 or T1 ranges, though the original are ok - just check the pinned message on them
You'll need some decent routers - Innr plugs have proven to be an excellent choice
Here is a link of such a device: https://zigbee.blakadder.com/Xiaomi_MCCGQ01LM.html .. where is the "range" (E1, T1) indicated ?
I truly have no idea what channel would be best for my question.
Id like to adjust the time the effects work. Yet when i look at the documentation the following is being said:
Effect (enum)
Triggers an effect on the light (e.g. make light blink for a few seconds). Value will not be published in the state. It's not possible to read (/get) this value. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"effect": NEW_VALUE}. The possible values are: blink, breathe, okay, channel_change, finish_effect, stop_effect, colorloop, stop_colorloop
My question is: Where do i have to put that "a message"?
Ah nvm, its not to adjust the timer, just the effect itself
Effects are in the device itself
@rough barn Please share the full output of ls -l /dev/serial/by-id/.
To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks.
```yaml
example: here
```
Don't forget you can edit your post rather than repeatedly posting the same thing.
Use
serial:
port: /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20231102142912-if00
This will always refer to the right device while ttyACM0 can refer to different things.
Also take note of this since you use the E model: https://www.zigbee2mqtt.io/guide/adapters/emberznet.html
total 0 lrwxrwxrwx 1 root root 13 Sep 13 17:01 usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20231102142912-if00 -> ../../ttyACM0
and my dongle has already be flashed with the last firmware
yes, this is what i was using in the yaml and withj ember instead of ezsp
@rough barn I converted your message into a file since it's above 15 lines :+1:
Ok, what problem are you having?
just to confirm first that it seems ok, i just put the path at the end
but after the goal is to paste my previous yaml from HA to get back all my previous zigbee devices
yes i see the Z2M config file to create but i don't get what i paste from my previous yaml
Well, all the files (other than the log) in the config folder for Z2M
ok i check here !
hmm still unclear, i have created a Z2M folder with the docker-compose.yml file, the here they say "In the next step we'll create a simple Zigbee2MQTT config file in zigbee2mqtt-data/configuration.yaml", should i create a sub directory in Z2M and copy here all my data folder from my previous config ?
You can create a zigbee2mqtt-data folder in there and then just copy the files from the data folder in there.
done but there are differences in the configuration.yaml , for example "permit_join: true" wasn't in the previous yaml (to be added ?), the old start also with homeassistant: true (to be removed ?) , a section named advanced with network key and many other things (to be kept ?)
Edit : permit join is there, ok... homeassistant true to be kept ?
i tried to start docker but "permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: "
but..; i installed MQTT before installing any docker so in the docker-compose.yml maybe i should not have the MQTT section ? or with different settings ?
so i remove my mqtt native and try to install it in a docker
Yes and the permission thing can be "fixed" wkth sudo.
yes but i don't understand which file doesn't have the right permission
ok, all files i think... will update
Hi, I have a problem with my zigbee2mqtt on my home assistant green box. I use the Sonoff Zigbee Dongle 3.0 Plus. In the last weeks I tried first ZHA, but then I read about the advantages of zigbee2mqtt. So I decided to switch. Yesterday I was able to install zigbee2mqtt with mosquito successfully and to attach the first devices. Then comes an error message that the zigbee Dongle recognized an error and that I should restore a backup. After I did this, I'm not longer able to start zigbee2mqtt. It reports always an error with the zigbee-herdsman. Among several other approaches I deleted all devices in mosquito broker and in zigbee, deinstalled mosquito and zigbee2mqtt and installed both again. But that doesn't help.
Is there anyone who could please help me?
permission seems solved but : no configuration file provided: not found
oh, by launching the start docker command in the right directory, Z2M, it started up to "container zigbee2mqtt started" but ended with "Error response from daemon: driver failed programming external connectivity on endpoint z2m-mqtt-1 (3decf3a33a834910c02610534ee8c5a001794dbd0b43d2739674e4faa709478b): Bind for 0.0.0.0:9001 failed: port is already allocated"
Check docker ps.
You should share the error(s).
I'm new to HA. I'm trying to add my Sonoff Zigbee devices. Initially I had installed a Sonoff Zigbee 3.0 Dongle Pro-P. The devices worked but it doesn't have the range from where the computer is located to the garage where they are to be installed.
I then tried the eWeLink Smart Home add-on when the devices are connected to my Sonoff Bridge-P but the devices show as "not supported currently"
After that I installed HACS and Sonoff LAN but the button only has a trigger for battery level change and not any of the clicks.
The button is a SNZB-01P while the plug is a SN-CC2652P-SW-01(7005) that is working correctly
Any way to add the proper click triggers to the button?
Would be nice to get the dongle working. I tried to upgrade the firware but the auto enter boot loader script doesn't work
here the result of docker ps :
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
c6e0a531c080 koenkk/zigbee2mqtt "docker-entrypoint.s…" 25 minutes ago Restarting (1) 16 seconds ago zigbee2mqtt
a58b4a95ea32 eclipse-mosquitto "/docker-entrypoint.…" About an hour ago Up 29 minutes 0.0.0.0:1883->1883/tcp, :::1883->1883/tcp, 0.0.0.0:9001->9001/tcp, :::9001->9001/tcp mqtt5
Hello, Is It normal that my ZigBee presence device doesn't have any configuration in my zha? For example the time delay before saying that there is no presence anymore?
depends on the device model
Stop them first via docker stop ..., then try docker compoe up again.
done msg "Error response from daemon: driver failed programming external connectivity on endpoint z2m-mqtt-1 (9c973897ded175a95c99d7ba2d103aa35b24dac66927aaadd2befb92b08dce20): Bind for 0.0.0.0:9001 failed: port is already allocated
"
Did you stop/uninstall the system's mosqitto? I kinda forgot about it and thought you had two docker mosquittos running. One outside of compose.
Yes i did an uninstall of the standalone mosquitto, avec la commande apt remove je crois
but not purge maybe (in english better 😀 )
``
State Recv-Q Send-Q Local Address:Port Peer Address:Port Process
LISTEN 0 128 127.0.0.1:631 0.0.0.0:*
LISTEN 0 4096 127.0.0.1:41205 0.0.0.0:*
LISTEN 0 128 0.0.0.0:22 0.0.0.0:*
LISTEN 0 128 [::1]:631 [::]:*
LISTEN 0 128 [::]:22 [::]:*
``
after docker stop $(docker ps -a -q)
and i started again with docker compose up -d in Z2M directory and it seems ok,
✔ Container zigbee2mqtt Started 1.1s
✔ Container z2m-mqtt-1 Started
let's see HA seems to get data from my zigbee devices 🙂
@quick pier I converted your message into a file since it's above 15 lines :+1:
hmm nvm, just found some articles that this one doesnt support updates ;P
im contemplating on switching from ZHA to Z2M. i run HA on a Pi, but i also have an unraid server, and i was wondering if it makes more sense to run Z2M in HA or in a container on Unraid?
Personal preference really. I prefer running mine in a container on a separate machine. Others like having everything in one place. Unless there is some real need to migrate, I’d just stay on ZHA.
yeah idk ive just been curious about giving Z2M a try, i have a few presence sensors that dont display all of their options in ZHA. Im potentially going to upgrade from the skyconnect due to not being happy with its performance, so if i upgrade, i was contemplating starting fresh and converting to Z2M. the only way for me to get my skyconnect centrally located in my house currently would be to use a 20-30 Ft usb extension, and ive been told previously by other members on here that it would be detrimental to run an extension that long
That’s correct (the extension length). I mean, as long as you’re aware of the work upfront, I do prefer Z2M over ZHA myself.
i just dont know what else to do at this point, im in a 1000 sq ft townhouse with 2 floors, 2-3 mains powered devices/repeaters in each room, wifi on channels with relatively little zigbee overlap (only overlap with any neighbors that are on channel 11), and i still have unresponsive devices on a weekly basis, and at least once a day one of my motion sensors or lights dont respond on the first attempt. Here is a breakdown of what tends to work and what often doesn't work for me:
Works 99% of the time:
Hue bulbs zigbee (4 of them)
Thirdreality zigbee Plug Sockets
Screek esphome presence sensor
any of my esphome bulbs
all of my door/window sensors (Iris, tuya, aqara)
all of my tuya stuff (couple of br30 bulbs, rgb strip. plug sockets)
Things that frequently stop working:
Sengled zigbee bulbs (a mix of warm white, adjustable white, and RGB, about 14 in total)
Iris Zigbee motion sensors (roughly 8 in total, constantly falling off network or just not responding, and none of them are ever more than 1 or 2 meters away from a repeater)
Ikea Tradfri Plug Sockets (only devices ive ever had fail, and so far 3 of the 4 of mine ive used over the past 5 years have started turning on and off on their own, then failed completely)
Tuya ZY-M100 presence sensor (for a mains power device, this thing falls off my network more than i feel like it should, probably once ever week or two)
More or less any zibgee button ive ever used (tuya, aqara, samsung smartthings)
Just wondering where im going wrong at this point. My coordinator is on a shielded cable, not completely centrally located, but in a decent position away from high interference devices and wifi access point, and its still an almost daily occurance that one or more of my automations doesn't work, which tends to frustrate the gf quite a bit.
Hey guys, wanted to get into home automation and saw the MGM24 zigbee adapters are considered the best here
What would be the biggest difference between the SMLight and Tube one ?
sengled bulbs in general are considered shit with colors and flickering when transitioning plus they dont act as zigbee repeaters. the tuya mmwave sensor is also known to flood a zigbee mesh so that could easily be causing some issues. I would reconsider just throwing whatever says it uses zigbee on your zigbee mesh
allegedly :x
smlight is a small company out of ukraine selling them in a cute package. tube is a trusted member of the community and probably provides better support. ultimately they'd work identical to one another assuming you're comparing similar models like PoE to PoE efr32 to efr32
also what coordinator are you using and what does a zigbee rf scan show for interference
you could just have some routers causing issues with some devices that use them as next hop
Thanks for the response, that's pretty much all I needed to know
fwiw i use tubes but the sm-light are cheaper and available on amazon so it's down to a personal decision imo
and yes it was between these "similar" models
I swapped my RPi that is running my HA, and HA on the new RPi wan't recognizing the Zigbee adapter. I deleted the integration, rebooted and then added the integration back and it added my coordinator (via the wizard), I let it keep the network it knew, but of course all my devices are renamed, so my automations and dashboards are broken. Is there a reasonable way out of this, or do I just fix them one device at a time?
i would wait for a zha guy to confirm - i'm sure there's a way to jump back like just restoring from a backup or something
the only reason i went with Sengled is because they're like half the cost of Hue. for colored bulbs, i just cant justify the price to upgrade them all to hue. is there an alternative that people like? and i read this page when buying the tuya zigbee sensor https://smarthomescene.com/reviews/tuya-zigbee-human-presence-sensor-zy-m100-review/ and i didnt see anywhere in the review that it floods the zigbee network. i see that its mentioned in reviews of other tuya presence sensors, but i didn't know if that applies to all of them. Im contemplating just getting rid of the two that i have and replacing them with screek 2a's
Thank you.
I don't have a zigbee specific backup (I checked), but maybe in one of my bigger backups it has what I need.
Fix the automations and don’t use device triggers and actions. Entities are the way to go.
oh
i didnt even know that was possible for the device ID to change on a restore
why arent they the same
i personally dont use or suggest any tuya gear i'm part of the suck-it-tuya-club
Device IDs are mutable. It’s one of the biggest problems with using “devices”.
whether that specific model spams the mesh idk
didn't know this, nice
skyconnect, and its been a while since ive run a scan, ill have to google how to do it real quick lol
Use entities not devices in your automations, scripts, and dashboards!
zha diagnostics will have it baked in
Yeah, it hurts when it happens, but future you will thank yourself.
where at?
make sure to switch to using 'sections' instead of masonry so that you can more easily place things around the dashboard
oh i just realized im on channel 20 instead of 25, so i possibly have a bit more interferience from neighbors on wifi channel 11 than i thought. i think i switch from 25 to 20 at some point based on some zigbee energy scans that i did
oh i haven't seen this when i was playing with earlier today, will look it up !
i planned it out with my wifi scans too so my APs and my zigbee coordinator could live in harmony
any recommendations for bulbs and motion sensors that wont break the bank?
You'll get a more complete answer on #hardware-archived for this unless everything has to be zigbee
aqara p1 zigbee 3.0 motion sensors are just as good as hue (prob worse battery life than hue) but like $15-$20
bulbs hue is all i suggest man. ikea are like "hue lite" and anything else is chyna shit
with having two WAPs, the only way that makes sense to me from an interference perspective is wifi on 1 and 6 and zigbee on 25. any other configuration (ignoring neighboring wifi signals) seems like it introduces more interference
this is what i was afraid of hearing lmao
i use DIY WLED firmware rgb/w led strips for color and buy white/color temp aka ambiance bulbs from hue and not their rgbw
i've posted some cool shit i did recently for a client in #diy-archived
anyone use the new ikea motion sensor? the $9 one with a lux sensor?
i still use wifi 1/6/ and 11 and use zigbee channel 25
i just put the AP on channel 11 furthest from my zigbee coordinator
Makes sense
I’ve been waiting for the hue ambience bulbs to go on sale at some point, maybe I just need to bite the bullet
Regarding the SMLight, what would be the difference between the different SoC models EFR32MG24, CP2102N, CC2652P7 ... is MG24 the best currently ?
asking that because I just want to get the best and be done with it, no back and forth
the cc2652p chipset (used in the cc2652p2 and cc2652p7) are using an "older" chipset and a different firmware "stack" for a long time were considered the best option for a stable network. Now the EFR32MG24 is what is being suggested for both zha and z2m and i believe it boasts a much bigger routing table (like 300+ devices) and blah blah idk man i still like and trust the older chipset. the devs seem to think the newer chipset is best and suggest that, so take that as you will
got you
i use a cc2562p7 tube PoE https://tubeszb.com/product/cc2652p7-zigbee-to-poe-coordinator-2023/
i was talking with tube yesterday and I moved onto the newest firmware which is somewhat recently considered stable
it be like that
i think tube is my only choice anyway, can't find the "SMLIGHT SLZB-06Mg24" anywhere anyway
all stores seem to either have CP/CC or MGM21 not 24
So is it confirmed at all that this model of presence sensor floods the zigbee network? I can’t seem to find anywhere in ZHA to see per device logs https://smarthomescene.com/reviews/tuya-zigbee-human-presence-sensor-zy-m100-review/
Tube is always my first choice. He will drop into a DM for 1v1 support and is overall a great guy and a really great contributor. Plus, his product quality is well worth the price (imho). SMLight, while good… I’ve never seen them here. So, yeah.
Hi, I have a problem with my zigbee2mqtt on my home assistant green box. I use the Sonoff Zigbee Dongle 3.0 Plus. In the last weeks I tried first ZHA, but then I read about the advantages of zigbee2mqtt. So I decided to switch. Yesterday I was able to install zigbee2mqtt with mosquito successfully and to attach the first devices. Then comes an error message that the zigbee Dongle recognized an error and that I should restore a backup. After I did this, I'm not longer able to start zigbee2mqtt. It reports always an error with the zigbee-herdsman. Among several other approaches I deleted all devices in mosquito broker and in zigbee, deinstalled mosquito and zigbee2mqtt and installed both again. But that doesn't help.
Is there anyone who could please help me?
It’s been confirmed by some users. But, I don’t think it is an “official” confirmation. I know that when I tested a couple of them, about 10% of my mesh went to crap (about 8 end devices and a few routers).
lol watch… he’ll pop in here without even being pinged. I think he’s psychic.
Hahaha I know. But he’s really cool. Def one of my favorite people here.
Alright well my mesh is a fickle mistress as it is, so I think im going to remove it and replace it with a leftover screek sensor. Guess I might try to pick up a few aqara motion sensors and pit them against my iris sensors
I just wanna stop being so frustrated by all of this all the time 😩
this is exactly why i'm so hard on hardware
I know some of it will be unavoidable given that I’m in a town home, but I definitely don’t feel like I should be having as many issues as I have and as frequently as I’m having them
have you already upgraded your firmware on your skyconnect
you'll have to give the zha diagnostic to confirm what version it's on iirc
I’ve had it for some time now and HA hasn’t notified me that it’s not up to date
I’ll download the diagnostic tho
It’s gonna take me like 20 minutes before I can get home and send it
im not the guy to look at it anyways lol
i see what appears to be Version 4
but that doesnt seems to match much of what im seeing online
oh nvm version 7.1.1.0 build 273
Any feelings towards the old Aqara RTCGQ11LM? Found one in the back of a desk drawer lol
Fp1?
should still be fine
I have 3 still chugging along, keep meaning to upgrade to mmwave, just haven't
does anyone know how I can set this parameter in ZHA integration? https://help.inovelli.com/en/articles/8189241-blue-series-2-1-switch-parameters#h_b3e2ae1a31
aha figured it out. it's not exposed in HA, I guess I'll cook up a PR tmr
Did you check if it's available as an attribute on the "Manage Zigbee device" page?
Go to the device page -> three dot menu -> Manage Zigbee Device -> Clusters -> select custom Inovelli cluster (if present, means a quirk was written for that device) and then select the attribute and read/modify
Is there a way I can filter out ZHA logs from the rest?
Using the logger in the config I guess
Would this be correct?
logger:
default: critical
logs:
homeassistant.core.zha: warning
I solved the problem. I wasn't aware, that the ZHA integration was still using the dongle. After I deactivated ZHA the problem was gone.
I solved the problem. I wasn't aware, that the ZHA integration was still using the dongle. After I deactivated ZHA the problem was gone.
does anyone know if the newer ikea tretakt outlets have the same zigbee extending functionality as the tradfri
Yes. They are routing devices.
@forest cobalt so about what we spoke in general
Most of the ZigBee products of other companies don't have that 1.6s delay?
I mean, using local ZigBee stick to integrate my tuya ZigBee devices so it's still locall
That delay means that something in your mesh isn’t routing properly or it’s overloaded.
That’s the real issue with Tuya though; trying to figure out which router isn’t sending properly is going to be a “hunt and peck” process. I’d start by re-pairing your switches one by one and see if the delay goes away.
I'm using resbarry pi 3, maybe that could be the reason?
Maybe 2 weak as a server?
Or it's the Igbee for sure?
Normal delay? Mine all respond in less than a second. Usually fast enough that you can’t perceive a delay at all.
I’m guessing you have a dongle plugged into the rPi, right?
Is there any zigbee dimmer remote device that is like the IKEA tradfri dimmer remote and has a similar price to the IKEA one? The ikea one is actually perfect but it has one major problem for me: when it loses the pairing, it just connects to the nearest zigbee device, which becomes annoying when it loses connection since I have to reset the remote and pair it again every time this happens.
any conformation on this trying to google other users experiences cant find one confirming it
not sure they work with ZHA?
Not 100% sure they work with ZHA, however the guys are usually on top of ikea quirks.
But, they are power plugs. Generally they work fairly reliably with both ZHA and Z2M.
ty
Does ZHA work with stick that has ember firmware 7.4.3.0
It's compatible with every firmware version
hi im pretty new and installed my first zigbee device (Dimmer-Switch-ZB3.0). During installation i was able to dimm the light but now I can only turn it on and off in the device settings. the "on level" value change is ignored. funnily after turning off and on the on level value is used that was previously ignored, but if I change the value during on-time of the lamp nothing happens. Am i missing something completly obviously here?
im using zha
7.4.4.0 is out too
ahhh I think "on level" literally means the light level when turning on the device... so I guess I miss the config for dimming
found it when pressing on "Light" next to the toggle switch for on and off.
once again having problems with zigbee2mqtt
i just installed the addon on a fresh home assistant green but when i try to open its web ui it says 401: Unauthorized. what am i doing wrong?
nevermind it works affter some time
so the zigbee integration with the 240v dimmer is working great! But I also have some 24V GU5.3 halogen lamps... do you have some recommendations how to dimm and turn on/off these via physical switch and zha? There are some transformer for leds with zigbee integration but I dont know if they will work with halogen properly and if the physical switch turns off the transformer zha cant turn it on anymore :/ feels like there is no sophisticated solution for 24V lamps...
also I like the color/feeling from halogen lamps. the zigbee leds look "weird" on the picture. dont know how the light is in real life
Hi, thanks again for the help yesterday, now Z2M is working fine on the pi4 with HA on a virtualdesktop on windows. The only thing i didn't succeed is to access the web interface of Z2M.
i put the frontend command but can't access
serial:
port: >-
/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20231102142912-if00
adapter: ember
frontend:
port: 8081
device_options:
legacy: false
devices:
and i thought that a reboot could help but now it rebooted and then crashed and i can' reach it now....
it has rebooted again and is live now but no access to ip:8081
ok, with 8080 its working
If you change the app port (why?) you also have to change it in the compose file.
here is the Z2M part of the compose file
zigbee2mqtt:
container_name: zigbee2mqtt
restart: unless-stopped
image: koenkk/zigbee2mqtt
volumes:
- ./zigbee2mqtt-data:/app/data
- /run/udev:/run/udev:ro
ports:
- 8080:8080
environment:
- TZ=Europe/Berlin
devices:
- /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20231102142912-if00
i see 8080:8080, that's why the 8081 didn't work ? but with 8080 it works
Hello! I'm having a weird problem. I'm pairing a new smart plug (innr SP 244) and when it pairs, it has no entities. It's the 4th plug in a 4-pack that I bought, and the other 3 paired fine. So I re-paired one of the existing 3 to see if it was a device-specific issue, but re-pairing the working plug is now exhibiting the same problem (no entities). I don't think I've installed any updates since I set up the previous smart plug and had no problems. I added a Tuya signal repeater and a Z-Wave stick, though, and I've now removed both to see if that made a difference, but it didn't. Has anyone ever seen anything like this? I've rebooted the whole system (Home Assistant Green) as well.
I just paired another brand of smart plug that I had been testing, and it also has no entities. But it definitely worked when I did it yesterday. So I'm guessing this isn't a device problem, it's a problem with my Home Assistant setup (ZHA), or the Zigbee controller (Sonoff Zigbee 3.0 USB Dongle Plus-E)
So I deleted a bunch of integrations I don't use (Shopping List, Matter, Thread, Weather thing) and did a shut down of the Home Assistant Green and unplugged it for a few minutes. Also unplugged my Z-Wave USB stick. Then plugged in the power again, and it seems to be working now (pairing the plugs now have entities). Weird!
yes, that'd be the reason
the second 8080 would be the port in the container itself, and should stay 8080
the first one is the externally exposed port, and is the one you'd want to change if you wanted to remap the port
Yes. Changing the frontend port in the Z2M config only makes sense if you use host mode (where ports is ignored), otherwise you can just change the left side to whatever you want. No need to make things more complicated than necessary. You'd have to modify 2 files for no good reason. It's why I'd recommend mapping the serial path to /dev/ttyUSB0 like the docs show.
Hi, can someone help me please with some instructions to reinstall Zigbee2mqtt without losing my paired devices and automation?
It might help to know why you want to reinstall it.
I have a feeling that it is not configured properly
I'm running smlight through POE. Z2m is running as an add-on on HA. So recently I realised that when my switch goes off, z2m closes in HA, and I'm required to manually start z2m on HA after the switch powers on the coordinator. Is there a way for me to make z2m running when Poe kicks up? Or a way to check if z2m is running, if not start the add-on?
Found a post mentioning Z2M_WATCHDOG=default where should I be adding this? Within the add-on configuration under socat or somewhere in my configuration.Yaml?
Solved: https://community.home-assistant.io/t/tenacious-watchdog-for-add-ons-example-for-zigbee2mqtt/521888
Hi,
would you be able to recommend me a good TRV zigbee with the display up, not from the side?
thx
is there a way to integrate dirigera IKEA smart hub to hass?
Only through HomeKit.
Probably correct. TBH, I wouldn’t use the hub and just get a Zigbee coordinator and hook up everything to HA directly.
I have a Aqara E1 wireless switch, but the battery is draining so quick that last time I replaced the battery was about 1.5 weeks ago and now it stopped working already. What could be causing this?
ZHA
Hello, I think I messed up somehow my z2m configuraton and I don't know since when: https://pasteboard.co/GnEX9VkjAsh7.png
How can I fix this error ?
Try restarting z2m.
How far is it from the nearest routing device?
now my devices list is empty :/
I m restarting HA
Are you running as an addon or standalone? Sounds like some drive corruption or something. The database file doesn’t seem happy at all.
addon
Yeah, try restarting HA, but be prepared to restore from a backup. Are you running HA on a SSD or SD-card?
On a NAS with a SSD
Ah, ok. That’s better.
it's on proxmox
The z2m configuration yaml is still there but now there is icon part
it's polluting the file
Oh, the icon: property? Yeah, they’ve been known to cause issues.
friendly_name: Applique Corridor 2
icon: >-
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAs+0lEQVR42u29a4xl2XUe9q219z7n3Fc9uquf0zM9Q3J6yBnKwyFFhiBFxBIRJ0gCQgEM2bFh2M4PAwEYILDhCAjyT7AAB7FpCHCAxPkRWDAcJZAMQQoE2AZiUSZF0KZEDUekOBz2TL+rq7qe93XO2XuvlR/7nFu3qqtHtH8Y1bfuAU7X7Vu3bt17z1drfWutb61FqopzfeiJr/8uB534ujxmB5/7T4DkCBz07wGSJahO/1jOt8WS5mz+xpSPwKLPAJHOgXH5t/nMwy4/gtYPypz14WdbIpoH4xJcS2D9Kb``` ...
Although, I thought >1.39 fixed that.
it's huuuuuuge
It should work fine with them there.
right below the closest routing device, which is a ceiling light
I m checking my latest z2m backup and I don't see any configuration file
I’m not sure, but it sounds like it’s being overly chatty. Try re-pairing it (to the nearest routing device) and see if that helps. If not, it could be a defective device. You could also try turning on debug logging and see if it is actually being really chatty or maybe isn’t routing through that light.
how do I change which routing device it is paired to?
That’s odd. You should have a something in there if you did a full backup.
In ZHA, go to the device you want to route through and there should be a “Pair to this device” option (I don’t know the exact wording off the top of my head). Then, put the E1 into pairing mode and it should attach to that routing device.
my latest full backup is from 22/08/24
but I didn't do much since, just added 3 motion sensor + 3 lights today and tried to do a group
It look like everything is in the file, I just have this icon stuff popping from nowhere
The icon property was added quite a few Z2M versions ago. Did you update the addon recently?
Idk what happend, but I update frequently all my addons, usually in the week
I ve fix manually the configuration file
looks good now
but damn wtf happend, I didn't update manually my z2m configuration file lately and when I do I always do a copy
I m doing a full backup right now
funny thing I ve added a github repository of my configuration file yesterday but I didn't include yet all my folder and stuff yet, only template, sensor, automation,..
I was planning to do it today but I need first to fix the backup automation since it's not running my shell command
Which one do you recommend
smlight* it looks very nice but I didn't got one yet,
I saw that, but I have no idea why that wouldn’t work.
yes, running the command manually -> no issue
but using the automation .. :/
Either something from Tube (https://tubeszb.com) or SMLight SLZB06 (either the P2 or the P7). If you want a dongle, look at the pins in this channel.
I heard the P7 can replace your actual coordinator without losing communication with your zigbee devices
it's an invisible change for them, I plan to buy one in the futur but my coordinator is 4 month olds ..
Once you go with a lan-based coordinator, it’s a lot better. USB dongles are fine, but limited.
I’ve been using Tube’s gear for almost 5 years now and never once have I regretted that purchase.
my NAS is in the garage so it will improve my network a lot to have it in a more central room
Yup. Exactly. I have mine dead center in the house (along with a LOT of routing devices). Super strong mesh.
but then what to do of my SONOFF Zigbee 3.0 USB Dongle :p
I can flash it but to use what ?
Eh, keep it as a backup.
I think you can also flash it to be a routing device, but I’m not sure.
backup ? what is that 🙄
Personally, I’d just chuck it into a drawer somewhere and let it collect dust.
Lol a backup coordinator. Meaning, if your lan coordinator dies for some reason, you can still revert back to the Sonoff dongle.
However, I can’t tell you the last time I heard of anyone’s lan coordinator actually dying to the point where it couldn’t be reflashed and brought back to life.
I always try to reuse stuff when possible, I v flashed my 2 xiaomi 4 bucks temperature sensor to be zigbee devices because I m too cheap to buy another bluetooth proxy to integrate them
In that case, see if you can flash a router firmware on it and put it on a rPi or something? Again, I’m not sure that’s possible or not.
But also same about reusing hardware versus buying new 🙂
I will say though that Tube’s coordinators are SOLID. I used my 2020 one for 4 years without a single problem with it. Not a single issue ever (aside from one time a firmware upgrade went wonky, but that was my fault 🤦♂️). I’m on his new MGM24 now and still, not a single issue.
(Or 2019 one? I can’t remember lol)
I ll probably switch on it in the futur, still too much stuff to do before ^^
Lol fair enough… I know how that is… I’m in automation hell myself at the moment.
@fierce parcel throw me the link to your automation git problem. I think I might have an idea why the shell_command isn’t working.
btw if you are interested I ve tried cursor to improve my template/ sensor/ ..
I m not sure this is working but see what I come from and what cursor told me I can do instead for this template:
old -> https://pastebin.com/KfgF3SeY
new -> https://pastebin.com/J0SxyTRe
You want a pastebin ?
Nope. Just a link to the message in whatever channel you posted it in.
There ya go.
Does homekit run on Bluetooth or?
Not exactly. HK is kind of a mixup between TCP-IP, BT and BLE.
Ok, but do I need a Bluetooth antenna to connect to homekit devices?
Cause it's not showing up
i have a bluetooth proxy and hk devices show up but I can’t make them works
Ah, no. The Homekit Device integration talks to Homekit directly.
Weird as it sounds, you might have to remove it from Homekit before HA will discover it. I’m not entirely sure.
It’s this weird “connected to Homekit, but not exposed in Homekit” kind of thing. The only HK devices I ever exposed to HA were the Aqara FP2s and I had to pair them with Homekit, then remove them from Homekit and then HA would pick them up.
So I might need to connect to homekit before using with homekit on ha?
You didn’t connect it to Homekit yet?
That’s not
So, this: https://github.com/zigpy/zigpy/wiki/OTA-Configuration
If ZHA was configured through the UI, how do I do any of this?
no
my automations depend on zigbees sensor uptimes
for example i have an automation that let me know if my zigbee sensors havent reported in >2hrs
based on last_updated state
Even with adding ZHA to my config, I am still getting sub-30sec restarts.
Newer TI sticks take about 10s to start up but it should all happen in the background
unfortunately their startup time doesnt affect my use case
i wish retain meant device state
and also hass state
or a separate option to do that
@royal star I think I better understand what you mean now. Any time I restart HA, the last_updated time then becomes 0 in relation to the restart. It would definitely be nice to have the last_updated and last_changed and last_triggered times persist across restarts. 🤦
Yes, sorry I wasn't more clear w/ that
retain could calculate this
using the time HA went offline, or last known time,
If there was a way to set those specific attributes, it could definitely be done automatically. I have automations setup to publish timestamps on shutdown and start, so that I can calculate restart times.
bad luck w/ ewelink products?
It might be my distance from the zzh!, but I can't get any of my battery powered devices to interview successfully with ZHA. 😦
Are you permitting joins globally or through specific devices?
Hey guys. Quick question. Everytime I reboot HA, I get a log entry for zigpy
Logger: zigpy.zcl
Source: /usr/local/lib/python3.8/site-packages/zigpy/zcl/__init__.py:91
First occurred: 9:03:17 (2 occurrences)
Last logged: 9:03:17
Unknown cluster 4111
I can't recall creating a cluster, so does anyone have any idea where this entry comes from and if I have something to worry about here?
It doesn't happen continuously, but only on reboots.
Anyone that can check if they experience this on deCONZ, Hue bridge or anything else? I'm doubting if I should return the Innr bulbs since it seems to not support setting brightness when turning on that well.
What do you mean?
anyone has BW-IS4?
Was just trying predicting whether the new zigbee bulbs popping up on Amazon were based on the tuya zigbee or the ewelink one.
Restart Home Assistant and check to see what time your bathroom light was last turned on. It will be the same time as your startup time.
this a HA thing or are you saying it is related to ZHA?
just want to make sure I understand...
wow @tropic depot - thanks for all the ZHA dev work you have done
good work anyway
ty
is it just done on a schedule at present?
wont be a service but it will be a button in the config area
yes
sounds good
every hour? 30 mins?
i'd have to look
no worries, at least I know now 🙂
https://github.com/zigpy/zigpy/blob/5becce4c89c8c3d8cce474e7de8f7e9913631e8e/zigpy/config/defaults.py#L34 4 hrs but it is configurable in yaml
not a coder so that's way over my head - do most stuff in the GUI 🙂
hey have a corrupted install due to power failure on a rpi/sdcard, i had no backups but I have mounted the sd card successfully. To back up all my zigbee devices so I don't have to re-pair them all, do i just need to copy zigbee.db?
and then once I do a new install, can I just replace the existing zigbee.db with my back up, probably reboot, and live a long and happy life? 🙂
the devices are paired to the stick
they will all eventually show up again on their own
but if you don't wanna wait
where's zha.storage located?
and you may as well recover all of the HA files in storage too
.storage in the config dir
ah, in .storage
heh
ok
aight, sweet. I needed to update hass anyways, so this shouldn't be too painful 😛
Welp, HA OS doesn't like two zzh! plugged into the same computer. 😂
Does anyone have any clue on this? Or should I just ignore it.
I don't have any problems with my Zigbee devices, so I don't think there's an actual issue. Just figured I'd verify.
It's just a blind guess from me, but it looks like that's at initial start where it looks through clusters of endpoints from existing devices
Maybe there's a device you have that has some weird unsupported cluster? Do you have some exotic device that's not like Ikea, Aqara, etc.?
Don't ask to ask, just ask your question. Then people can answer when they're around.
When you do ask a question, try to provide as much background detail as possible. Ask yourself these questions first so that others don't have to:
- What version of the Home Assistant are you running? (remember, last isn't a version)
- What exactly are you trying to do that won't work?
- Is the problem uniform or erratic?
- What's the exact error message?
- When did it arise?
- What exactly don't you "get"?
- Can you share sample code, ideally with line errors where the error occurs?
I cannot pair my BS-IS4/TuYa TS0201, the network icon is always fast flashing, is there a way to reset it?
it starts with 2 sticks on network icon, then goes to 4 and flashing
would someone be able to help me with flashing the sonoff zbbridge?
I've gotten to the point where I'm flashing the ota file, just keeps rebooting before the upload finishes
Any experiences how long the battery in the Sonoff temp/humidity sensor actually lasts? Mine is showing 10% battery after like 2 months, I hope that's not correct...
@worldly heart Try connecting the Z_RST pin to ground also
when doing the initial flash? that bit seems to work fine though
unless it was actually an unsuccessful flash?
Ah sorry, I misunderstood
That part worked fine for me, maybe power supply too weak?
hello guys
i updated to 2020.12 and i thought it included ZHAMAP? how can i get the map, can someone link me a tutorial? or is it not included and i still have to install it as integration like before?
Config > Integrations > ZHA > Visualize
@next canyon Do you happen to have a terncy SD01?
then zoom in for detail
was just curious, need some help testing with it -- I thought maybe you asked Tink about it here #hardware-archived message
@amber gull i don't have the "visualise" option. i am not using OS, i am using 2020.12 in docker
how do i clear cache?
btw i bought a new zigbee controller
this one
should be receive it anytime soon... or late
That stick will make some zigbee network very, very happy
found it thx walt and dmulcahey
wasnt the cache. i just didnt look at the top tabs
Can anyone give me some pointers? I have upgraded my HA to 2020.12.0 (and not sure anymore what caused what at this point). But I have a setup with Zigbee2mqtt, and I just let it interview a new device, it shows up in entities, but it gives me this This entity ("switch.0x842exxxxxxx47e") does not have a unique ID Anything I can do about this?
I've noticed that the auto setup of these devices/entities in HA over time has caused me a few problems, and was looking into defining them into the configuration.yaml myself, but when I add a switch for example that listens to a few MQTT topics, I can't seem to define an entity_id, or at least, that's deprecated
Are you using MQTT Discovery, or manually created integrations?
If you define them manually, you get that message
I am using MQTT discovery at the moment, but tempted to move to manually created integrations
I just paired it fresh out of the box
Saw the interview pass by in zigbee2mqtt log, refreshed browser tab in HA, went to config->entities, searched for the identifier, and it showed me that
So can it be that I have "something mqtt" defined manually that all devices behave like this?
I've had some issues with updating "friendly names" in the z2m config, and the entities in HA not following accordingly
That's another reason for me to move towards a manual setup, it feels more in control
I've not had that problem, but I'm on 1.16.x for Z2M
Zigbee2MQTT:info 2020-12-16 21:50:38: Starting Zigbee2MQTT version 1.16.2 (commit #unknown)
Zigbee2MQTT:info 2020-12-16 21:50:38: Starting zigbee-herdsman (0.13.37)
Are you using the UI built into Z2M?
UI? No, I don't think so, Does Z2M have a UI of it's own?
I am using carldebilly/zigbee2mqttassistant
Nah, enable the UI
Just as a debug tool
It has a toggle in there to get it to tell HA to change the entity ID
As a side question, if I were to disable the auto discover, how do I set up the entity_id's for everything?
Manually, for everything
It's a pain in the proverbial
Each device page shows you what to do for that device
Yes, but when I specify entity_id as a property of a switch let's say, it gives me a deprecation warning, and the same error I started my conversation with
https://www.zigbee2mqtt.io/devices/LH-992ZB.html for example
You don't specify it, you get it through what you call it
I probably should mention something else that might cause issues, but hasn't until I upgraded HA to 2020.12
I need to upgrade my test box to that release, check Z2M works as expected
I am running two containers with Z2M on the same MQTT broker (I have a Mosquitto broker running) because I am switching from my Zigbee stick
So two instances are running, both mapped to their respective USB device
I have two Z2M's for different meshes, and four HA installs for various things 😄
My goal is to have all my Zigbee 3.0 stuff on one mesh, and 1.2 on another, though right now it's a bit more of a mess
I recognise the 'bit of a mess' 😛
Bus 001 Device 006: ID 0451:16a8 Texas Instruments, Inc. TI CC2531 USB CDC
Bus 001 Device 008: ID 0451:bef3 Texas Instruments, Inc. CC1352R1 Launchpad
The Launchpad being my newer device
And I have some newer devices from Lidl/Silvercrest that are Zigbee 3.0 afaict, and from a Z2M perspective, they seem to play nicely
It's the HA auto discover/entity id/entities that are kind of a mess now
For me, the auto discovery is fine touch wood
Yeah, I have a new power strip with 3 plugs that can be individually controlled, and 'accidentilly' deleted the sub entities trying to reconfigure it (read: I wasn't thinking). And all Google can tell me is "restore a backup", and I know lesson 0 is make a backup, but I didn't 😛 famous last words
Shooting a MQTT message to turn them on/off works fine though 👌
If you just disabled them, you can re-enable them
I deleted them 😓
But then again, I thought, might as well do a manual setup in which I will be more in control
I have had issues when HA discovered entities under the device identifier, and then me trying to set a friendly_name in Z2M, and HA not understanding what happend anymore
hey guys.
is there a way in 2020.12 to add the ZHA MAP to lovelace natively or should i reinstall "zha-network-visualization-card"?
Oh wow, this new frontend allows you to set up groups and all 😮 this is amazing
You can do OTA from there? 😮 😮
I am running an Unraid machine, with a deconz docker and a HA docker. In the HA i have a integration to the deconz. But I can also use the ZHA integration to talk to the ConBee 2 directly.. pros and cons?
See the pinned messages for a quick summary
Hmm, not sure which one to go with, so I guess ill just have to try both
@tropic depot just realised the zhamap card is made by you 🙂
on your github you say it's deprecated now as it's build into HA.
i found it in integrations, but dunno how to show it on lovelace
Things start to work again, and I can easily repair them to my new controller. I can't explain how happy I am right now, also being able to change the friendly names in the frontend and update them to HA 😄 😄
Disable pairing on one controller and not both by them both listening to the same MQTT messages 😄
33 devices in my network, 5 on the new controller, I'm going to spend the next hour or two repairing them to my new controller and configuring them 👍 thanks for all the help!
@paper steeple its on the ZHA integration. Presse the CONFIGURE button on the integration, and then VISUALIZATION on the top tabs
yes i know. but i want it in my lovelace like i had it before with the card that is now deprecated
ah! got it
maybe you can use the webview card?
nah, doesn't work that nicely... if only we could hide the top bar 🤔
for now, i made a custom panel so at least i can quick access it from the left menu
but i'd love to have it back as a lovelace card
well, I just tried the webpage card and its not that bad if you use a ratio of 100% or more
Anyone else having troubles with deconz and the network not being available? Any solutions?
love the new visualization!
i have a little stupid situation:
i put a power monitoring ZHA zigbee plug into the kitchen where the microwave is.
is there any way to disable the physical on/off button on it?
because when cleaning, we turn off the microwave and then it loses the date/time and needs to be configured again, which is a PITA xD
depends on the device....i know some zwave plugs allow it via configuration but not sure if any ZHA plugs do something similar
it's "relatively" easy on my tuya tasmotized devices that use MQTT... but with ZHA i just don't know 😉
Is device specific. Have not seen any with decoupled relays
You can disable the switch entity
I personally just have automations always turn them back on
i think they mean at the physical switch
well, disabling the entity in HA/ZHA doesnt disable the physical press of the button, right?
and even if i make an automation to instantly turn it on again, the microwave clock will have reset 😦
Ahh. Have to desolder it
microwave is an interesting one just curious what ur use case is lol
or use a tasmotised smart plug 😛
i just wanted to power monitor the microwave. reason i don't use a tasmota one is because wifi is real bad around there, but the zigbee mesh is ok
oh just in general? ok i was thinking something like using TTS "hey your food is ready dont let it get cold!"
thats kinda why i did the dishwasher...not that i need to know its done but more to check if the current load is dirty or not based on when it last ran 😂
i have a tuya (cloud, not tasmotized) plug right next to it for the slow cooker and it resets all the time because it loses wifi. i want to change them all to zigbee.
the physical button is only a problem for the microwave
put tape over teh button?
yeah was thinking about that
get a power monitoring outlet instead
tape doesnt prevent a hard press tho.
i was thinking of using some superglue and glue it in place, which would ruin the plug for the future but whatever
outlet is an option
tho inwall installation here is absolute dogshit. i am already looking into options with no neutral for some light switches... onc ei am more familiar and confortable with that i might look into inwall outlets
outlet is best solution here actually...solves teh issue at hand instead of a work around
building on from @violet dagger suggestion...you can probably use something like a shelly that does power monitoring at the load too or other #diy-archived options that dont require neutral
ya'll live in nice american homes with easy to manipulate drywalls and "recent" electrics.
i live in a south european 40y old building... i can hear my neighbors fart and i am not even kidding.
walls are a joke, electric is old and outdated and i have no electric experience myself whatsoever
if i touch anything, it's recipe for disaster 🙂
a wifi shelly? 😛
my house was built in 1950 adn i live in cali 😛
still US standard @agile birch 🙂
you require neutral for power monitoring
1950 american standards are probably better than 2020 spanish ones
ah didnt know neutral is required for power monitoring good call
you'd be surprised how even american 2020 standards are worse than eu 2020 standards
when i mentioned neutral i was refering to light switches. no need for monitoring there.
i havent even looked at my inwall outlets yet, so no idea whats behind those in the wall.
well you definitely have L and N and probably Earth
if light switches dont have them id say outlest may not either....when my house got remodeled before i moved in we came to realize the bedroom was the only room without neutral
earth? lol haha good one
welcome to eu standards 😄
i don't have earth only in two outlets because the house was built 100+ years ago
ground connection? in spain? what is this? 2077?
and on top of all this, the only switches i can find that MAYBE fit my inwall light boxes ... are out of stock everywhere
For anyone in the US that is looking to pick up a CC2652R Zigbee stick (aka "zzh!"): I can save you around $7 and get it to you much quicker (shipped from Texas). DM me for details.
Anyone get the linkind button paired with ZHA? can't figure out how to get it into pairing mode, all it wants to do is send out touchlink.
Which process are you trying? Are you using the reset button that's behind the cover?
Ok, that's what the docs say, but it appears to be for touchlink pairing only. 👎
how about turning it on/off 10 times, like some bulbs?
https://www.linkind.com/product/1-key-remote-control-for-linkind-zigbee-smart-lights/ says 3 seconds for hub pairing..
And also 3 seconds for non-hub pairing 😂
Holy crap, have you guys seen this list??? https://zigbee.blakadder.com/all.html
That list doesn't show compatibility with ZHA, but it could be wrong. 🤷
Try getting closer to the stick. I had major issues last night with pairing all of my battery-powered devices. I had to get them within a couple of feet of the zzh! in order for them to pair successfully.
I gave up and going back to amz...
hi gang ... upgraded to 2020.12 from 118.5 this morning, and now my zha / zigbee network is down. I've enabled debug logging for all the zigbee components, and not seeing any of the usually chatter from various devices checking in, but zha does seem to be talking to the usb dongle
hang on, trying to figure out how to copy from the terminal add-on
only time I see anything zb related is when I go to add device under zha config $ tail -f home-assistant.log | grep zig 2020-12-16 21:16:11 DEBUG (MainThread) [zigpy_cc.zigbee.application] broadcast (0, 54, 0, 0, 0, 0, 2, b'\x02<\x00', <BroadcastAddress.ALL_ROUTERS _AND_COORDINATOR: 65532>) 2020-12-16 21:16:11 DEBUG (MainThread) [zigpy_cc.api] --> SREQ ZDO mgmtPermitJoinReq tsn: 2 {'addrmode': <AddressMode.ADDR_BROADCAST: 15>, 'dstaddr': 0xFFFC, 'duration': 60, 'tcsignificance': 0} 2020-12-16 21:16:11 DEBUG (MainThread) [zigpy_cc.uart] Send: b'\xfe\x05%6\x0f\xfc\xff<\x00&' 2020-12-16 21:16:11 DEBUG (MainThread) [zigpy_cc.uart] Frame received: <UnpiFrame command_type=CommandType.SRSP subsystem=Subsystem.ZDO command_id=54 data=b'\x00' length=1 fcs=82> 2020-12-16 21:16:11 DEBUG (MainThread) [zigpy_cc.api] <-- SRSP ZDO mgmtPermitJoinReq tsn: None {'status': 0} 2020-12-16 21:16:11 DEBUG (MainThread) [zigpy_cc.uart] Frame received: <UnpiFrame command_type=CommandType.AREQ subsystem=Subsystem.ZDO command_id=203 data=b'<' length=1 fcs=179> 2020-12-16 21:16:11 DEBUG (MainThread) [zigpy_cc.api] <-- AREQ ZDO permitJoinInd tsn: None {'duration': 60} 2020-12-16 21:16:11 DEBUG (MainThread) [zigpy_cc.api] --> SREQ UTIL ledControl tsn: None {'ledid': 3, 'mode': <LedMode.On: 1>} 2020-12-16 21:16:11 DEBUG (MainThread) [zigpy_cc.uart] Send: b"\xfe\x02'\n\x03\x01-" 2020-12-16 21:16:11 DEBUG (MainThread) [zigpy_cc.uart] Frame received: <UnpiFrame command_type=CommandType.AREQ subsystem=Subsystem.ZDO command_id=182 data=b'\x00\x00\x00' length=3 fcs=240> 2020-12-16 21:16:11 DEBUG (MainThread) [zigpy_cc.api] <-- AREQ ZDO mgmtPermitJoinRsp tsn: None {'srcaddr': 0x0000, 'status': 0} 2020-12-16 21:16:11 DEBUG (MainThread)
Swap out zigpy-cc for zigpy-znp, may help (only the first paragraph): https://github.com/zigpy/zigpy-znp#home-assistant
ahh, got it, will do that now
Though uploading your entire home-assistant.log (or only the lines containing zig) will provide a clearer picture
Was this the first time you upgraded Home Assistant in more than a few months?
No, i upgrade fairly regularly
about a week ago I migrated from sdcard on pi3 to ssd on a pi4
going to grab the log file, and then update that config file
log file is 700k, where should I upload it?
Any pastebin, like https://paste.ubuntu.com/ or something similar
Do note that it'll contain your network key if you already swapped to ZNP
So if you want, make it a one-time paste or message it to me if you don't want to post it in public
Grabbed the log before switching to znp/rebooting
sent you a DM anyways
reboot is complete will see if I can add back the device I removed when I thought it was the problem
no joy, still not seeing any messages at all under "show log" in the add device screen
from the newest log, not seeing any zigbee traffic, just the stuff between host and radio```2020-12-16 21:45:18 DEBUG (MainThread) [zigpy_znp.zigbee.application] Intercepted a ZDO request: dst_addr=AddrModeAddress(mode=<AddrMode.B[45/67]
t: 15>, address=0xFFFC), dst_ep=0, src_ep=0, cluster=54, sequence=2, options=TransmitOptions.NONE, radius=0, data=b'\x02<\x00'
2020-12-16 21:45:18 DEBUG (MainThread) [zigpy_znp.zigbee.application] Intercepted AP ZDO request 54({'PermitDuration': 60, 'TC_Significant': <Boo
l.false: 0>}) and replaced with ZDO.MgmtPermitJoinReq.Req(AddrMode=<AddrMode.Broadcast: 15>, Dst=0xFFFC, Duration=60, TCSignificance=0)
2020-12-16 21:45:18 DEBUG (MainThread) [zigpy_znp.api] Creating one-shot listener OneShotResponseListener(matching_commands=(ZDO.MgmtPermitJoinRs
p.Callback(Src=0x0000, Status=None),), future=<Future pending cb=[ZNP.wait_for_responses.<locals>.<lambda>() at /usr/local/lib/python3.8/site-pac
kages/zigpy_znp/api.py:436]>)
2020-12-16 21:45:18 DEBUG (MainThread) [zigpy_znp.api] Sending request: ZDO.MgmtPermitJoinReq.Req(AddrMode=<AddrMode.Broadcast: 15>, Dst=0xFFFC,
Duration=60, TCSignificance=0)
might have to live without zigbee for a month, going to order one of those sonoff wifi <> zigbee bridges from China
Can you try toggling a mains-powered device on/off?
I didn't see any indication in your logs of any devices actually sending anything to the coordinator
right
Which is a little odd
even the mains powered ones aren't checking in
i have a gledopto led dimmer, I tried power cycling it, and nothing in the log
zigpy-cc had a bug long ago where it changed your network channel and other info when you upgraded HA, which seems to match what happened with yours
think removing zha and adding it again would make a difference?
No, the network settings are stored in your stick
But that was months ago and you said that you migrated recently and it worked fine then
I only have three devices paired with HA, two wireless motion detectors and the gled
If you have only three devices it'll probably be easier if you try re-joining them to your network than to figure out why your old network is apparently gone
I've tried, putting them into pairing and doing add device, nothing happens
its like the stick is locked up
Have you tried physically unplugging it? I think I've read that the CC2531 can do that sometimes.
the super bright green LED is solid on, it's normally only on briefly during a reboot and then off
Yeah that's just a config thing, zigpy-cc turns if off but zigpy-znp doesn't and lets you configure it
I should probably change that
Also, enable joins on your network before putting the device into joining mode
unplug the stick from the pi, or completely unplug the pi rather than reboot?
Just the stick
You can plug it back in without restarting HA, just refresh the joining page
ok trying that now
It'll take about 5-10s for it to auto reconnect so give it a bit
from the log when I plugged it back in2020-12-16 22:07:14 DEBUG (MainThread) [zigpy_znp.zigbee.application] Parsed NIB: CC2531NIB(SequenceNum=65, PassiveAckTimeout=5, MaxBroadcastRetr ies=2, MaxChildren=21, MaxDepth=20, MaxRouters=21, dummyNeighborTable=0, BroadcastDeliveryTime=20, ReportConstantCost=0, RouteDiscRetries=0, dumm yRoutingTable=0, SecureAllFrames=1, SecurityLevel=5, SymLink=1, CapabilityFlags=143, TransactionPersistenceTime=7, nwkProtocolVersion=2, RouteDis coveryTime=5, RouteExpiryTime=30, nwkDevAddress=0x0000, nwkLogicalChannel=20, nwkCoordAddress=0x0000, nwkCoordExtAddress=00:00:00:00:00:00:00:00, nwkPanId=6754, nwkState=<NwkState8.NWK_ROUTER: 8>, channelList=<Channels.CHANNEL_20: 1048576>, beaconOrder=15, superFrameOrder=15, scanDuration= 5, battLifeExt=0, allocatedRouterAddresses=1, allocatedEndDeviceAddresses=1, nodeDepth=0, extendedPANID=dd:dd:dd:dd:dd:dd:dd:dd, nwkKeyLoaded=<Bo ol.true: 1>, spare1=NwkKeyDesc(keySeqNum=0, key=[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), spare2=NwkKeyDesc(keySeqNum=0, key=[0, 0, 0, 0 , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), spare3=0, spare4=0, nwkLinkStatusPeriod=15, nwkRouterAgeLimit=3, nwkUseMultiCast=<Bool.false: 0>, nwkIsCo ncentrator=<Bool.true: 1>, nwkConcentratorDiscoveryTime=60, nwkConcentratorRadius=10, nwkAllFresh=1, nwkManagerAddr=0x0000, nwkTotalTransmissions =310, nwkUpdateId=0) 2020-12-16 22:07:14 INFO (MainThread) [zigpy_znp.zigbee.application] Currently on channel 20. Limiting concurrent requests to 2
No idea how to do that
Do you have anything in the zha section of your configuration.yaml file?
no
Your PAN_ID is 0x1A62, which was set by zigpy-cc or Z2M, but I don't believe it formed a network on anything but channel 11 or 15
can I force it back to channel 15?
Oh well. Try rejoining your devices now, maybe your CC2531 just got stuck 🤷♂️
I do have Philips Hue hub, which is also zigbee, maybe it's on the preferred channel?
If the hue hub is permitting joins then your devices may be trying it first
If not, there's unfortunately no simple way to do that right now
I have to manually tell it to search for new devices
The channel itself doesn't matter, it's just odd that yours is on channel 20 instead of 15.
like when I buy new bulbs
ok, will try rejoining a device
so this is in the log on the add device screen [0x0000](CC2531, Z-Stack Home 1.2): Attempting to checkin with device - missed checkins: 1 [0x0000](CC2531, Z-Stack Home 1.2): does not have a mandatory basic cluster
I recommend channel 26
no joy rejoinging my wireless motion detector or the gledopto dimmer
Minimal to no overlap with WiFi
from the docs znp Texas Instruments new (active): Z-Stack 3.x.x ZNP protocol (e.g., CC26x2, CC13x2) ti_cc Texas Instruments legacy & HA12: Z-Stack Home 1.2.x ZNP protocol (e.g., CC253x) is it possible the firmware on the stick is now outdated or incompatible?
No, they support the same devices
And if ZHA started up then communication with your stick is working fine
hmm
To help others better understand what @royal star meant by minimal overlap, here’s the WiFi and Zigbee channel alignment chart.
Correct
nothing's changed with my wifi setup, it would be a strange coincidence it decided to have a conflict the same day I upgrade my hass release
Dunno if this is actually implemented in practice but SiLabs says:
Band Edge Concerns: The top end of the 802.15.4 channel band (Channel 26 and occasionally Channels 24 an 25 at very high output powers) usually pushes up against the limits of the band, encroaching into the reserved area in the adjacent (higher) frequencies. Therefore, it's often necessary to artificially limit (with software) output power on these upper channels (as much as -9 or -10 dBm) in order to pass FCC TX testing.
is this useful? 2020-12-16 22:30:01 DEBUG (MainThread) [zigpy_znp.uart] Received data: b'\xFE\x01\x45\xCB\x00\x8F' 2020-12-16 22:30:01 DEBUG (MainThread) [zigpy_znp.uart] Parsed frame: TransportFrame(payload=GeneralFrame(header=CommandHeader(id=0xCB, subsystem=Subsystem.ZDO, type=CommandType.AREQ), data=b'\x00')) 2020-12-16 22:30:01 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.PermitJoinInd.Callback(Duration=0) 2020-12-16 22:30:01 WARNING (MainThread) [zigpy_znp.api] Received an unhandled command: ZDO.PermitJoinInd.Callback(Duration=0)
It’s not implemented in practice.
It just says that your CC2531 isn't permitting joins anymore because presumably the 60s ZHA timer finished
ahh yes
I'm not really sure what else to suggest. Your CC2531 appears to work so if you factory reset your bulb, it should join the network
Could completely erase the network settings on your stick and form a brand new network on channel 15 with randomly generated everything, but I doubt it would help
is resetting the stick possible from hassos, or should I plug it into a regular linux machine?
It's not exposed through the UI but you can run it on either
You'll have to shut down HA first
nothing to lose at this point, it's not talking to my existing device and not accepting new joins either
python -m zigpy_znp.tools.nvram_reset -c /dev/serial/by-id/your-cc2531 will do just that. A new network will be formed the next time ZHA starts up
I see the instructions on your website .. I'll boot up the pi3 with raspbian tomorrow and follow those steps
I believe you can run it directly within the managed HA instance, or pip install zigpy-znp on another machine running Python 3. Works on any platform.
got it
If you're already running random command line tools, python -m zigpy_znp.tools.energy_scan /dev/serial/by-id/your-cc2531 will do an energy scan so you can see some types of interference that way. I'd stick to one of 11, 15, 20, 25, or 26.
I'll check that out too. thanks for all the help
so this bugs me, can't sleep ``` - 11 26.82% ##########################
- 12 21.88% #####################
- 13 21.49% #####################
- 14 26.20% ##########################
- 15 27.84% ###########################
- 16 38.51% ######################################
- 17 32.55% ################################
- 18 35.92% ###################################
- 19 32.00% ################################
- 20 15.61% ###############
- 21 9.41% #########
- 22 7.92% #######
- 23 6.12% ######
- 24 3.37% ###
- 25 0.16%
- 26* 16.47% ################
just curious what's the other LED on the 2531 for? There's the blinding green one, I don't think I recall seeing the other one ever lit up
It's lit when the CC2531's serial bootloader is running
ahh
Interesting. I think you can actually see WiFi channel 6 and its sidebands affecting Zigbee 15-20
hmm Pi is taking a looooong time to reboot with the wiped stick plugged back in
Have any sticky tack or electrical lying around? Either can quickly solve the blinding issue of that dang LED. I used sticky tack on mine.
You can just turn it off in software lol: https://github.com/zigpy/zigpy-znp#configuration