#zigbee-archived
1 messages · Page 193 of 1
It's supported, just not with ZHA toolkit (which mostly has EZSP-specific tools)
@austere patio ok, so please point me in the right direction 😉
One sec, I'm digging up the code
my device map looks a bit like this, lots of yellow and red, which probably shouldn't happen with that many routers in the network
Alright, there it is. Let me test it out first to make sure it still works 😄
Of course. After posting here, I was able to find https://youtu.be/km-2f92LJY8. And this (I think) gets me where I need to be.
Perfect. Thank you!
Changing Zigbee channels
HI all, does anyone know anyone running Zigbee Networks > 200 devices?
Wow, that would be an insane network.
Smart things motion sensor on sale here for $30 ($5 off)
Does motion and temp... Wish it did light levels.
Any good?
I'll check that out. The aqara p1 or the Philips hue sensor are high on my list.
I hover around 150 on my prod instance
How often/many devices do you have dropping off network?
when not trying to get sengleds to work things are pretty stable. sengled bulbs do not like my network though so I can't keep them on.
Curious if you have a list of whats on your network. i've had same problem with sengleds in the past
I spent a good week + trying to help a customer with similar issues - did a ton of sniffs and came down to maybe a fw bug in the sengleds and no real good reason why. they were just getting asked to leave/rejoin and after a while would never rejoin.
What I am most worried about is employees being able to pair NEW end-devices through nearby routers. This is the issue that I have with my 130 device network. I have to stand 3 feet away from the coordinator in the mechanical closet to pair. It pairs as a direct child and then I have to locate it to it's respective unit. When it gets to the unit, it has a LQI of like 13, realizes it's fucked and then jumps to a router. But I can't have this as an issue for staff who want to pair new devices on demand.
Have you ever experienced this issue? For the record, I am using one of your CC2652P-2 coordinators, Aqara Smart Plugs as routers and Aqara End Devices.
For the record, I have no issues with devices falling off the network, nor any issues with their reporting with my setup at ~130 devices.
here's a list. https://dpaste.org/puxos some of these devices are not online due to dead batteries or other things, but I haven't been bothered to rectify it, so I don't count them as dropping off.
I can usually join to a router, there are times when it doesn't seem to work.. when I was doing the sengled tests, I'd join to a 2652 router, and they would jump to an efr32 router pretty quickly no matter what.
I have a test network up from doing that troubleshooting.. 2 sengleds connected through a 2652 router to a 2652 coord and it's been rock solid for like 3 weeks now.
That makes me feel better. I'd like to think this is an Aqara Router issue.
I'm running Tube CC2562P2 coordinator, eByte E72 with Z2M's Z-Stack Router Firmware as routers and then Aqara End Devices for next install.
Are you adjusting the dBm for your routers or just running stock +5?
I compiled my own fw based off the z-stack repo one, and upped it to 9dbi back before the current release did that. but just running at 9 now.
9 with ANT or just using PCB ANT?
ipex>SMA to ~2-3 dbi ant
on parity with what the default is with the coordinator now I think
I've got coordinator at +20dBm....
Has anyone conducted tests on performance on dBm levels with regards to performance?
Not sure.
Thanks for sharing your sentiment. 'preciate it.
There's some info in this thread: https://github.com/Koenkk/Z-Stack-firmware/issues/323#issuecomment-1001797561
It's not really a performance test but rather an "LQI test"
Would this be the right place to look for help with the Zigbee2MQTT addon in HA?
Probably
So, a few days ago, all of my zigbee devices were working just fine. I've been doing updates to HA (Running Home Assistant OS in a VM) and ran across some errors with z2mqtt related to the config and doing an update without reading the release notes (ack my failure to read). While trying to fix that, I modified the config. Today, none of my devices will respond. I'm looking for information on how to troubleshoot this further.
In the logs for the container, I see this:
Zigbee2MQTT:error 2022-06-13 08:00:30: Publish 'set' 'state' to 'Sewing light' failed: 'Error: Command 0xf0d1b80000061b28/1 genOnOff.on({}, {"sendWhen":"immediate","timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (sendZclFrameToEndpointInternal error)'
What coordinator are you using?
Would that be the sonoff zigbee to wifi bridge (the hardware)?
Yes
It's not the best choice of coordinator, but at least it's not a CC253x stick
It's served me well so far, and I'm sure that this is my own doing while screwing around with the config
days ago, it was working fine for me. today when trying to turn devices on and off, I'm getting nothing. I suspect I'm not getting aa response from my sensors either, but that's less of a concern to me at the moment
failed (sendZclFrameToEndpointInternal error) sounds like an issue with the coordinator/communicating with it
Yeah, I figured there is some miscommunication somewhere, but I'm not quite sure where
If you restart Z2M does it find the coordinator still?
I guess I'm going to find out. 🙂
Hmmm, I'm not sure. I don't know what it normally looks like when it starts. I guess I have some place to poke around. I don't remember if this is something I would normally see:
[08:11:09] INFO: Socat not enabled, marking service as down
That's likely at the heart of your problem
yeah, at least it's a new place for me to explore for problems. Thanks for the help. Maybe I can get this resolved today and get back to cleaning up HA
lol crickets from Leviton after I pointed out tehy were givnig me clusters for another device 😦 sigh
hi to all, since a couple of days, my proxmox HA install gets at 100% cpu usage.
Any ideas ?
I am using the SONOFF Zigbee with lastest firmware from Zigbee2Mqtt
Last message :
Anyone knows how to identify what chipset this uses? https://expo.tuya.com/product/917031
Just wanted to check inside of Z2M supported device list if it is an endpoint device or capable of routing
Tuya ... 
I've been having stability issues with my Zigbee network as of late. I'm using the Conbee II on the main floor of my house extended with a USB cable to get better coverage. It's plugged into an Intel NUC where I run a VM for HASS. My office and workshop is located in a separate building and I have been attempting to extend the Zigbee network to this building using the IKEA range extenders thy bundle with the FYRTUR blinds with limited success. I was thinking of buying the SONOFF USB 3.0 dongle for my office and running just the Z2M docker container for it and pointing it at the same MQTT server with the same topic.
Is there any reason running two sticks this way wouldn't work?
Z2M's FAQ explains how to run two instances
so...rtfm? 😉
Well, yes, but ... you can't use the same topic
oh, interesting...I'll have a read of the FAQ, thanks.
I guess the need for a unique topic makes sense, since Z2M doesn't just publish blindly but also subscribes to it for its own purposes.
I may actually migrate to the SONOFF first to see if it performs better and then deploy the Conbee II in the secondary location if it's still necessary.
Has anyone else moved to SONOFF from Conbee II? If so, are you happier with it?
way happier.
deconz always fell over on me.
Just stopped connecting with my controllerS.
and that UI .. over VNC ...
Well, I'm not using deCONZ anymore, using Z2M....
does it fall over? why areyou switching?
Move the Conbee II to a rpi and access it over ser2net and put it in some place w/o interference?
I actually had better luck with range with Conbee than I do with Sonoff ..
hmm...
now I have to have my SONOFF on an RPi somewhere away from my server cabinet and access it over ser2net
before it was just in my rack ..
How's the additional latency?
The ConBee has more issues with interference than the Sonoff - though both benefit from being on a USB extension cable
I dont notice. What I do notice is now my lights turn on and off when I want them to 🙂
Is your RPi using wired Ethernet?
yes.
All my Zigbee lights are connected to Hue hubs, it's the IKEA and Aqara products I want more stability with.
I moved my Hue lights to SONOFF
but Aqara you aren't going to get "more stability" from .. lol
my aqara I have connected to hue lights and wall switches and still they randomly have to be repaired
The door to my office is metal, the Aqara contact sensor on it rarely works, I wonder if the metal door is the problem.
Maybe I'll try putting the sensor on the wood frame and the magnet on the door.
and its all metal ...
but I couldnt get it to work with my green house
er
I couldnt get it to work with my mail box*
Possibly because it's inside...
and I have a xiaomi bluetooth LE on my back gate which is also all metal ..
and that works ..
but the Aqara devices dont properly follow the Zigbee standard, so they are sticky ..
I have the Aqara on my wood gate to my driveway and it's surprisingly stable considering the distance and the low LQI.
I had 3 Hue hubs and moved all my Hue bulbs to Sonoff which has been great for my battery powered zigbee devices
How's that work?
I have the Aqara on my wood gate to my driveway
How did you handle water proofing? My Aqara door sensors that I had installed on my two wood gates both failed due to water damage.
ie: improving battery powered zigbee devices? Because the bulbs are routers?
Yes.
Hmm, I'm sitting in my office right now which is lit by 6 bulbs and I have 3 other Hue lighting products in this room...maybe I should move them to Conbee
Thank for the link
It's pretty basic really, I covered it in packing tape.
oh
I should do that with the replacements, lol.
I painted them so I had taken the tape off .. lol
lol...I have had water in mine, but I dried it out very well before taping it
Because I had no problems with the Xiamio one .. and it survived -10C
I didnt think I needed to tape it
Mine stopped working at roughly -10ºC, but only due to battery chemistry slowing down.
ahh
Once warmed up, they started working again.
I have some Hue Bollards around the gate...I'm starting to see the benefit of moving all the Hue products to Conbee (or SONOFF)
Right now I've got the Conbee II and two Hue hubs, so three Zigbee networks.
And I'm sure the Sonos communicating on 2.4GHz doesn't help matters.
I love the bollards
What I did not love is that Hue shipped the kit with a different bulb in the bollards
than the single bulbs
Yeah, but the outdoor stuff is all too expensive, so I always wait until something shows up in the used section on Amazon
so I bought the kit .. and 5 bollards ..
and the kit bollard was a different vesrion of the bollard ..
Yeah, I've got three bollards, of two types.
i mean the SAME bollard
I didn't realize there were different models.
the callala ..
Calla and WACA? or something?
I mean there is a Calla 1741930V7
I was wondering if Calla was an acronym around Colour and Light ambiance or something
But then there is also another number.. LTCxx I dont remember what it is
and they shipped the LTCxx with the kit
or WACA White and Colour ambiance?
and the LTCxx and the 1741930V7, dont have the same colour output
despite them being both colour
Mine all came with power supplies, so I guess that's the kit?
so in low light, the LTCxx looked different
The red is different on one of mine for sure
K, just looked in the app, I have 2x LCF001 and 1x 1741930V7 (weird name)
oh yeah
LCF001 and 1741930V7
sorry LTC is the white flood lights
so LCF001 and 1741930V7 dont look the same at low light
(sorry if you never noticed and now notice.)
No, I've noticed before, I decided to ignore it.
ahaha
I was still within my return window so I just took the kit back
and ended up buying the 95W power supply .. and more lights ..
Have you looked for and found a third party source for those T-connectors?
Yeah, I thought I had looked there.
i found them last I looked .. but ..
I'm in a meeting though and can't walk to the driveway to check
I made a dumb mistake, I drilled a 1in hole in the side of my hoiuse when I should have just cut the cable. sadness.
I am also in a meeting (=
yea
https://mail.pfak.org/upload/t8Icfj9R1MvhrH3f/bptUBNwORvujx6WVZ_BK3g.jpg ended up putting in a whole structured media cabinet just for the hue .. and then went "why not add a network switch in my garage"?
I just installed a new circuit on a GFCI and put a new outlet where I needed it.
i did GFCI too, but I did it inside
I thought a network switch in the shop was standard? 😉
sadly I live in Vancouver, and only have enough room for the car
Vancouver BC?
yea
<- Bowen Island
Yeah, moved to DM since not Zigbee related.
I am unable to start my washer when it's connected through my aqara smart plug - any ideas why? The plug is on and added to home assistant
Aqara smart plug isn't 10A max? I'm not sure you can power a washer with only 10A
Yup, and that washer probably wants to pull closer to 16A
Well, technically newer spec says "Up to 13A"
I think you should switch to a 16A smart plug
Looking at the washers documents I read 10A... hmm
What other smart plug do you recommend then?
Should be able to be used in HA with automations, I though Aqara was the go-to
Is your intent to mainly monitor power draw and act on that? If so, I'd probably just go Shelly myself 🙂 Not zigbee, but eh
Yeah using power is enough, that is all I need. Has to be EU plug, does Shelly offer that?
When assessing smart plugs you have to take into account the max current. Just go with anything 16A, a smart plug isn't something very complicated
Looking at the manual now it says:
230 V
2200 W
10 A
50 Hz
Really depend on you country also (type F, shuko, etc.)
You're really on edge with the Aqara smart plug which can give max 2300W according to its spec. If I were you I'd try with a 16A plug, just to check. Get one that fits your plug shape and the radio technology of your choice and you'll be good to go.
Thanks for the help guys!
I though I "needed" a zigbee variant but could I get any wifi-plug with power monmitoring as well, as long as I can connect it to HA somehow?
Like the shelly or similar
Sonoff S31 supports Power monitoring, and ESPhome.
couple screws to open, can use a clamp to flash
why is tuya bad? i have their switches..their door sensors and 3 smart plugs (wifi), seems alright
idk what options are there for 20A heater switch zigbee that is not Tuya-based though. and is not an endpoint device. got a corridor with no power plugs to put any router devices except for replacing the water heater switch with a routing capable zigbee switch that supports 20A haha
Hello Zemismart stopping showing the state and status of motor
Tuya are a brand on top of a brand. They often re-use the same model number for different things, one a switch, one a sensor, one a different sensor, etc. Their Zigbee stuff is a shit show, usually ignoring the Zigbee standards in new and creative ways.
TS0601_cover - M515EGBZTN position not reporting
Universal IR Remote on Zigbee
@tired sage you have a zigbee IR controller?. Link of the product please
re-reading the description, I see it says Smart Life App. I assumed if it was Zigbee it would work directly with HA. My mistake I guess.
It is a Zigbee device, but doesn't seem to be supported by either ZHA or Zigbee2MQTT as of yet.
Can anyone tell me what device will work with Zigbee and HA to control my old amp?
There's lists of known working hardware in the pinned messages
https://www.zigbee2mqtt.io/devices/HS2IRC.html This seems to be the closest of what you'd want. Though I'm absolutely unsure how those devices work for learning keycodes 😄
https://github.com/Koenkk/zigbee2mqtt/issues/11633#issuecomment-1137025552 <- This comment actually seems to reference the exact same device you have already
Yes, I see 😦
Looking at the rest of the issue, it seems to me that it should be in a working state with some manual steps in Zigbee2MQTT (not ZHA, which you seem to be using though)
Where can I go to get a better understanding of the difference between ZHA and Zigbee2MQTT? They are functionally equivalent aren't they?
Ish 😄
ZHA is part of HA, Z2M is something entirely separate
I think I had a VM running on my PC hosting HA that used Zigbee2MQTT a few months back.
They're broadly similar. Z2M has a bigger user base which means that some devices are supported faster.
ZHA however works with any device that's Zigbee standards compliant
All four of them 😛
Z2M generally has faster device support and slightly broader scope of supported devices, and it's not tied to HA. It's also a fair bit more complex.
ZHA is super easy to install and use, but since it's part of HA it's more difficult to use with other systems.
Right, well since I trying to build home automation with Home Assistant...
It's really down to personal preference. I may automate with HA but I prefer Z2M because it fits what I want better.
So, if I wanted to give it a try, I'd look in add-ons?
For your install, yes
However, if you use it with the stick you currently have you'll need to re-pair everything
That's OK, it's just a small network at this point. I'm tinkering before I go all in.
I'm not finding it in the add-on store.
OK, thanks. I'll read the docs 🙂
im trying to setup the zigbee compose got the tubeszb-cc2652-poe-2022
at the botom there is a line :
- /dev/ttyUSB0:/dev/ttyUSB0 ```
gues i need to change that to
``` devices:
- tcp://IPADDRESS:6638 ```
would that be correct ?
so even if it's a poe device that line does not change ?
i added the tubeszb-cc2652-poe-2022 to HA assistant now in integrations it show 2 new integrations
One called zigbee home automation and ESPHome since i'm running it over MQTT i dont need the ZHA integrations ? or can i integrate both
best zigbee USA contact/window sensors to use? i have been using the ST ones (smart things multi) but they have been unreliable and would like to try a new brand
you can ignore the esphome one if you want . and you can ignore ZHA if you've set it up with Zigbee2MQTT
okay cheers
thought i had to install the esphome one for it to work 🙂 but it's running smooth 🙂
hi all, is there a way of testing if a zigbee device is actually alive/connected etc? as in i have smoke detectors, all say the battery is 100% still which is doubtful given i've had them for 6 months. (using ZHA) .. 'reconfigure device' never seems to work for any device, so i can't check using that.
i don't seem to see any errors, but is it the case with zigbee (or at least zha) that it is like UDP in that anything you send to it isn't acknowledged so can't really check if its working other than by any of the potential test buttons etc?
don't you have a test button ? would the state not change if you press it
for battery powered devices they have to be awake when sending a command like reconfigure. if there is a button on the device you could press it near the time you hit reconfigure to wake it so it gets the message.
ok let me try that 🙂
ok yes, other than deafening myself, its now updated the diag stuff.
not sure what the point of all the config and control options for the device in HA if none of it is of any use since the device is effectively "asleep" until it is awoken with a button press or actual smoke
battery life for zigbee devices is good since they sleep until the report then go back to sleep
i bought a zigbee wallswitch 6 years ago the battery is stil on 30% so yes it's good
can you run both ZHA and MQTT with the poe device ?
or better you only use it for one of each type
Hey, I just recently picked up a set of these zigbee thermostats https://www.amazon.co.uk/gp/product/B09GR81WCQ/ they arrived today and I set about pairing them, they added straight away but show just two sensor entities which show as not available.
Some Googling shows that I will likely need to add a custom 'zha quirk' which is not something I have even heard of before, I'm not at all sure what I need to add where, and I'm not sure how to add files at all now, back when I was running HA in docker it would have been quite straight forward but now I'm running HA OS, I've no idea how to go about getting files onto it.
The devices show in HA as _TZE200_a4bpgplm TS0601
can only run one or the other - per coordinator
can't run both at same time on 1 coord
okay cheers 🙂
My LQI on my greenhouse sensor is between 0 and 3 so not very good at all how can i resolve that ?
Add a router
hmmm now just to find a device i can use and can function as router
if i have read the documentation correctly almost all devices that are plugd-in are routers
how do i verify it does function as router ?
Depends on whether you use Z2M (it tells you on the device page) or ZHA (no idea)
Z2M
Of course, being a router, and being a good router are two different things
Then look at the device page in Z2M's UI
you mean this one https://www.zigbee2mqtt.io/supported-devices/
Is that your Z2M's UI?
No... not even close
Open the UI for Z2M, navigate to the device's page
Look at Device type
Excellent mesh plan then
gonna add more devices in the future so expanding the zigbee network won't be a bad investment
Does anyone here run a kwikset/weiser touchscreen lock and using Z2M. im thinking of buying one. just wondering if it supports setting pin codes. As the Z2m page states that that the 9ged18000(physical buttons) does but, does not list pin code support for the newer model 9ged21500(touchscreen). was hoping is was just a typo/oversight.
i added a router ( Hue bulb ) between coordinator and sensor in the greenhouse there is like 2 meters in between it finds the bulb but does not root to the sensor in the greenhouse
fixt removed it out my network and paired it close to the router
what a spare hue bulb can't do for you 🙂
I need some big help installing zigbee2mqtt...I get this error:
zigbee2mqtt@1.25.2 start
node index.js
Zigbee2MQTT:info 2022-06-15 00:44:35: Logging to console and directory: '/config/zigbee2mqtt/log/2022-06-15.00-44-35' filename: log.txt
Zigbee2MQTT:info 2022-06-15 00:44:35: Starting Zigbee2MQTT version 1.25.2 (commit #unknown)
Zigbee2MQTT:info 2022-06-15 00:44:35: Starting zigbee-herdsman (0.14.34)
CREATED DECONZ ADAPTER
Zigbee2MQTT:error 2022-06-15 00:44:45: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2022-06-15 00:44:45: Failed to start zigbee
Zigbee2MQTT:error 2022-06-15 00:44:45: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2022-06-15 00:44:45: Exiting...
Zigbee2MQTT:error 2022-06-15 00:44:45: undefined
[00:44:47] INFO: Handing over control to Zigbee2mqtt Core ...
@violet onyx posted a code wall, it is moved here --> https://hastebin.com/ucevifamud
please message me if you can help me out, im going to bed now
Home Assistant sees my conbee2 stick but ZHA cant see it. What can I do? Running HA in a VM. Tried restarting everything
Probably a dumb question.. but do in wall ZigBee switches actually cut power to the bulbs or just command them to an off state? What I'm really asking is if I've got an in wall ZigBee switch set to off for ZigBee bulbs but I've got a motion activated light automation..will it still work with the switch in the off position?
I have no Idea where to ask help for this so I guess we'll start here.
I have a new HA VM in unraid, I have a Sonoff zigbee USB dongle and I can't seem to get Zigbee2MQTT to work. I get errors in the log
Zigbee2MQTT:error 2022-06-14 22:15:05: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2022-06-14 22:15:05: Failed to start zigbee
Zigbee2MQTT:error 2022-06-14 22:15:05: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2022-06-14 22:15:05: Exiting...
Zigbee2MQTT:error 2022-06-14 22:15:05: Error: Error while opening serialport 'Error: Error: No such file or directory, cannot open /dev/ttyUSB0'
Zigbee switches typically have relays and cut the power. Some allow the delay to be decoupled so that the switch does not affect the relay
CREATED DECONZ ADAPTER yet you're not using one... check the settings
/dev/ttyUSB0 isn't the path to your Zigbee stick
One of my aqara sensors only connects to another ZigBee device, and I no longer have that device powered. How can I get the aqara sensor to connect to my ZigBee bridge instead?
Turn on pairing, and press and hold the pairing button on that device.
Ah alright, I was trying to do "reconfigure device" but that just instantly said finished. Doing the pairing through add device in the ZHA integration allowed it to pair again
Aqara devices pick a router and stick with it. Hence the pairing again.
I also read somewhere that you can remap via Z2M, never needed this or tried it though
Z2M doesn't change how devices behave, sadly
What settings do I check? I have no adapter settings in the config..
No idea how the add-on works I'm afraid
I'm using a hue light bulb as router to reach my greenhouse i thought it would still be routing if the light itself was turned off not the bulb but the actual light. apparently when the light is not on it does not function as a router. can i change this ?
Nope, the bulb has electricity but I need to actually turn it on to route
When I turn the actual light on it starts routing. When I turn light off and the bulb is stil in a live socket it stops routing
If it has power and you can control it through your Zigbee integration then it'll route
If it doesn't then you've got a faulty device
Yeah seemed strange to me that the light had to be actually on to route
That would make no sense at all
Guess I need to search for a new router device
And replace the bulb
If you don't then some end devices will try to route through it, and then fall off your mesh
Okay I'll do that
What is the Zigbee model of that Hue bulb?
And how did you confirm it’s not routing anything if it’s off but still powered?
With the LQI when the actually light is on the value is 170 when the light is of it's 0 when I look at my ZigBee map it's no longer connected with any kind of line.
Zigbee model
LCT007
You’re using Z2M, right?
Yeah
The LCT007 is one of those old metallic Gen 2 bulbs, right?
Yes I have it for some time
Can you check the firmware version? (sw_build_id)
Firmwareversie
5.130.1.30000
The what sorry
Sorry, does Z2M show any updates for the firmware? (Probably not)
Update false
Can you see if the requested "image id/type" for the OTA is in the logs?
Searched the logs for image id no results
I remember that the first and second gen Hue bulbs had some issues with routing. It shouldn’t make a difference whether the light is on or off though.
I think it was just some messages that were too long that got cut off or something
If there’s isn’t a firmware update, you’re probably out of luck
Great
If you can get the image id that the bulb requests or a Hue specific hardware model starting with 100B_, I can check if there’s any updates available (that isn’t in the zigbee-OTA repo)
Hi. I’m new to HA and only have a rudimentary programming background. Everything has been working flawlessly for me for a few weeks but I woke up to an issue with Zigbee (I didn’t make any changes to it yesterday other than installing the new Home Assistant update). Can anyone suggest what may be wrong?
@humble hamlet posted a code wall, it is moved here --> https://hastebin.com/gebigipeku
@humble hamlet [Rule #6](#rules message): Please do not post codewalls (text longer than 15 lines) - use sites such as https://dpaste.org/ (pick YAML for the language), https://www.codepile.net/ (pick YAML for the language), or https://paste.debian.net/ (pick YAML for the language).
Please take the time now to review all of the rules and references in #rules.
Looks like ZHA can't reach the ConBee/RaspBee
If it's a stick is it on a USB extension cable?
It’s on an USB extension cable. Has been since the beginning
I’ll check to see if moving it works.
That or unplugging it for 30 seconds
No luck with either of those approaches.
SOmeone knows a zigbee pressure plate which can be put bellow bed? I will use in my living room, but that shouldn't matter, i use Z2M
I deleted and am reinstalling, which seems to have worked. Thank you for the suggestions @sour shadow
I have seen some people modifing the door sensors to do this, but how to make it strong enough to handle the bed? Some kind of spring? Any ideias?
I have a Conbee2 stick that I am passing to Hass in a VM. Hass can see it and prompts me to install ZHA integration. When I try to do this however, it says Failed to probe. Anyone know why this is happening?
Entering a manual serial device path leads to "Failed to connect"
I can post logs if someone is willing to look into it.
Please use a code share site to share code or logs, for example:
- https://dpaste.org/ (select YAML for the language)
- https://www.codepile.net/ (select YAML as the language)
- https://paste.debian.net/ (you guessed it, select YAML as the language)
Please don't use Pastebin, since it can randomly add spaces to the main view. Please also don't share text as images since it makes it harder for people to help you. Remember that others may have colour blindness, impaired vision, etc.
https://community.home-assistant.io/t/conbee-2-fails-to-connect-to-zha/431276
Made a post about it on the forums. The logs are there.
OSError: [Errno 5] I/O error: '/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE-if00'
There's an issue with your USB passthrough, the serial port isn't functional
This would still make it show up under "all hardware"? Thats frustrating.
It may have a USB descriptor but if software can't open the serial port and talk to it, it's likely a problem with your Unraid configuration
I have a pressure pad alarm thing thats wired to zwave door switches that happen to have wire connectors on the inside. Doesn't meet zigbee requirement but I knew that those zwave devices would work so I ran with those.
I don't have zwave, but it's a idea at least
Anyone know of a Zigbee Smart Plug that can do this -- https://fireavert.com/product/automatic-stove-turn-off ?
pretty much all of them via automation
Apologies, I mean a Smart Plug that fits NEMA 14-50 R/P appliances (i.e. Electric Stoves). I'm having trouble finding any via Google Search.
what NEMA 14-50 R/P appliance says?
Holy shit that FireAvert sounds annoying to work with 😄
"FireAvert syncs to the sound of your existing smoke alarms, including Nest alarms, and automatically shuts off power to your stove when your smoke alarm activates."
So.. Every time I slightly burn something, it cuts power to my stove completely until I go flip a goddamn breaker? 😄
How do I change the config of a light in ZHA? It think's it's RGB but it's just adjustable white
I think I found the issue. The zigbee config is not correct for these lights
color_mode gives enum8.undefined_0x02
It should be ColorMode.COLOR_TEMP
I have no idea what the manufactor code override is though
Can you upload the diagnostic info for the device somewhere?
I could not find any way to update these lights either
Okay... I think its just 0 lol
Eh changing it to ColorMode.COLOR_TEMP with 0 does nothing
I don't believe Color.color_mode is an attribute you can write
But the color mode is correctly set, 0x02 is color temperature
I think the main issue is "device_type": "0x0102",
"Color Dimmable Light"
It is not
Should be "Dimmable Light", unless the color portion refers to the different shades of white
Yeah, that is what I was looking at too. The device seems to be misreporting its device type.
So uh how do I fix that? Would I need to use it with Z2M?
You will likely need a quirk that swaps the device type
Here's an example of a simple quirk that does this: https://github.com/zigpy/zha-device-handlers/blob/dev/zhaquirks/innr/rs228t.py
Well the diagnostic info contains the device's reported endpoints and clusters
And the model and manufacturer name
If you fill out the signature portion of the quirk so that it matches the device and then just copy/paste that into the replacement part but change the DEVICE_TYPE to the correct one, your device will be fixed
Untested but something like this: https://dpaste.org/uVmqL. Drop it into the custom_quirks_path (https://www.home-assistant.io/integrations/zha/#custom_quirks_path) and it might work.
Cool, I'll give that a shot
I was hoping if I ignored the lights for a few months someone would fix them lol
If that quirk works and you submit a PR to https://github.com/zigpy/zha-device-handlers/, that someone could be you 🙂
Do you know what the file should be named?
Or if it even matters lol
As long as it has a .py suffix it'll work
Do you think it should be DeviceType.COLOR_DIMMABLE_LIGHT or DeviceType.DIMMABLE_LIGHT,
Oh nevermind, I see the replacement section
Actually, I don't think this has anything to do with your problem. The light says it has a Color cluster. Are you saying the light is not an RGB light?
Nope, its an adjustable white
Just dimmable? No color temperature control?
The value is right, it shouldn't make a difference: https://github.com/zigpy/zigpy/blob/dev/zigpy/zcl/clusters/lighting.py#L14-L17=
Better than an elderly person burning their house down 🙂
Showing up as "class": "zigpy.device.Device"
Lol three devices, each one shows up different
One is a adjustable white, one is a switch, and the other is RGB
Hmm still not working with that
What's the best ethernet to zigbee blackbox? tube's one?
actually scrub that his website doesnt have any
what else can I buy pls?
I'm thinking about testing out Z2M instead of ZHA. What are the pros/cons of running Mosquitto and Z2M on a separate Pi vs on the same as Home Assistant? I guess running it together with HA is a bit easier to set up but are there other pros/cons?
Which do you recommend? 🙂
Does it make sense to use ZHA and zigbee2mqtt at the same time? I feel like some devices just don't like ZHA
You can easily use everything on the same client. I cannot see any pros on using other hadware for that in a private context :)
I found an aqara door sensor in a box and am trying to pair it with my ConBee2 but it's not getting picked up. I think the battery might be low, when I hold the reset button it flashes the indicator light once - anyone know what that is what that means?
Looking for recommendations on a zigbee temperature sensor for a freezer, I've used the aquara ones several places, but not in a freezer and see that they specifically say you shouldn't use them there, also see there is a sonoff that might be an option. Any experience with either in that environment, recommendations for something else, or should I break down and build something?
I had to run both because my wafer lights, which have an improper zigbee config, conflict with at least my ZBMINI switches. So I run Z2M for my main network, and a standalone ZHA network with a cheap USB stick
I'm considering swapping the wafers to Z2M to see if I can get them to work better
Hello fellas! I have a problem that i don't know how to resolve. That's why I'm here again begging for help 😋
I got a pir sensor on my office that has been stuck on detected state for a couple of days. I though battery might be dead (although it's been installed for a couple of days, but you know storage and bla bla). I have measured the battery and voltage seems fine.
If I try to delete it, it fails because it's unable to connect to the sensor. If I force delete it, obviously it's deleted. But, and here is the weird issue, if I try to pair it again, the sensor it's doesn't get to pair, but if i bring it downstairs (near to the zigbee hub) it gets detected instantaneously.
It seems that it's not getting the path done from it's position. As far as I know we need to pair the devices near the final position so they can be router wherever they need, right?
It's ok to pair near the router and then bring it to final position?
I use Philips Hue Sensors around the house (connected via a Conbee II)
One of those sensors only refreshes every ~ 2 Minutes while all the others do it every ~15 seconds.
So if I move around in a room it takes 2 minutes from the initial movement until I get a second movement in ha.
Is there any setting I could look into or do you think that the sensor is defective?
The Hue sensors do have configurable timeout values, yes. At least with Zigbee2MQTT it's easy to configure, no idea how it'd go with deCONZ or ZHA though
Are you using Z2M, deCONZ, ZHA? What entities does it provide?
Check pir_o_to_u_delay on the OccupancyCluster when going to the device -> three dots -> "Manage Clusters".
By default, it should be set to 0 which is the normal delay (15 seconds).
Anything in between 0 and 15 also counts as 15 seconds IIRC
which one you looking for, can probably get to it today (leaving tomorrow for vacation) But plenty of supplies to keep things moving when I return.
I am using the Sonoff zigbee coordinator with 2 Sonoff zb-mini outlets and one no neutral aqara light switch using ZHA. Ever since I added the two plugs I can only read the state of the switch and not to control it. I have reset my switch and then it works for a while and then I’m out of luck. What’s the problem?
What brand of sensor is it? Some (like Aqara), pick a router and stick to that, and will not update unless it's re-paired. So by pairing it close to the co-ordinator it may pick that, and then when you take it back to your office it can't find it anymore.
What kind of zigbee routers are near your office and do those work fine?
I have one in a freezer w/o issues
Cool, I'll place one and see what happens, my dad's wanting to monitor some of his freezers, he's not quite as patient as I am, figured I better test before shipping him a couple
My Aqaras have faced the Finnish winter just fine so it should be no issue to put them in a freezer 🙂
Interesting, my one outdoor Aqara contact sensor stopped working for the Canadian winter.
Are yours directly in contact with snow?
Freezer is a bit of a makeshift faraday cage though.
Well, it wasn't embedded in snow, it was about 4' from the ground on the gate for my driveway.
but as these are not waterproof maybe that's the issue. Cold itself doesn't seem to kill them. Freezer being a faraday cage is a good point too and will probably reduce the signal
I put clear packing tape over the device...there was still some water in it, but they're cheap enough that I'll just replace it once it fails.
Yeah
It could even be that the tape turned out to be the problem and not letting it dry
Does anyone have a idea how I get my Hue lights with ZHA more reliable? Curren Situation: https://imgur.com/a/BOjkadZ
the ethernet to zigbee I think its the $58US one? needs to come to NZ if that's OK?
Yes I’ve shipped a few there. I put a few in stock today
But leaving for a family trip in the am. So any orders now through next week will ship starting Monday 27th in order received
that's ok, TY
hey guys, today about 80% of my zigee devices suddenly stopped responding properly, very occasionally one will respond to on/off etc. They dont show as unaccesible, they just dont respond. Have tried rebooting, replugging the conbee, moving the conbee... not sure what else to do ?
actually in visualistation (zha) they do show as offline
ordered thanks, dont care about colour BTW.
I saw - many thanks!
its going in a ceiling
cool
TY
Logger: zigpy_deconz.zigbee.application
Source: /usr/local/lib/python3.9/site-packages/zigpy_deconz/zigbee/application.py:73
First occurred: 18:27:40 (35 occurrences)
Last logged: 22:43:47
No watchdog response
could this be related
Can I run more than one? like down a vpn?
More than 1 yes with multiple networks. VPN theoretically yes, but in practice latency may be to much to make it work well
Are you running a Conbee stick + ZHA?
@mellow geode Yes.
Yeah, the Conbee has some issues. I'd recommend any CC2652 based stick (or a new Silabs-based stick)
For now, you could try to create a Zigbee group any put all of your Hue lights into that group.
Integrations -> ZHA -> at the top: Groups and then create one with your Hue lights
It'll create a new entity but at least that one shouldn't have the problems when you turn on/off multiple lights.
Also, older Philips Hue lights (mostly those without additional Bluetooth functionality) do not send attribute reports. It means that those lights have to be polled. This doesn't always work (and those messages sometimes seem to get lost or never sent)
That might be why two of your lights are acting better than the other ones. (It could also be that they have a better signal)
Also, try putting your Conbee on a USB extension cord if you haven't done so already
@mellow geode Thank you. I probably have to try a different Zigbee stick.
I had something similar with Ikea lights when I had them in a ZHA group. Deleted that and used Helper to create group (light group) and no problems after that
Huh, normally it's the other way around
Regarding the stick:
It should be easy to migrate all mains-powered devices if you're staying with ZHA and just pick a TI CC2652 coordinator for example (most mains-powered devices just have to be power cycled after changing the stick path in the .config folder)
It was also better after rebooting the host. I know it shouldn't make that big a difference, but it helped resolve all the little niggles with the lights
are there any 30 or under zigbee dongles that are worth the money...i was taking a look at the ones in the link and theyre mostly over 30. really looking to save a buck here, right now im just using the smarthings integration, but I really want to go local. I've heard not great things about the sonoff dongles, but its the only one ive seen for under 30. am i being unrealistic, here?
I have this one, which you can also pick up on Amazon. https://itead.cc/product/sonoff-zigbee-3-0-usb-dongle-plus/
no issues with that one, i take it?
Not that I know of. I've been using it for over a year now. I do plan to update the firmware to support some new Aqara devices better, but that's a project for a future weekend.
gotcha. for firmware do you use the preflashed firmware or something different?
Right now I'm using it as it came.
Can anyone recommend a good zigbee sensor with hydrometer functionality which can operate at high temperatures (around 65 degrees) for prolonged periods without issues
I've created a group on the ZHA integration page. Just a single light to start. What now? I see no way of controlling the group. I don't see any new entities created (such as light.my_zha_group). Is this a bug, missing feature, user error?
I am having difficulties determining the location of my new zigbee dongle (as the first little step to getting zigbee2mqtt up and running).
ls -l /dev/by-id gives me nothing.
dmesg seems to see it, but then immediately says it is disconnected?
[441262.229939] usbcore: registered new interface driver usbserial_generic [441262.229962] usbserial: USB Serial support registered for generic [441262.233236] usbcore: registered new interface driver cp210x [441262.233268] usbserial: USB Serial support registered for cp210x [441262.233299] cp210x 2-1.6:1.0: cp210x converter detected [441262.236355] usb 2-1.6: cp210x converter now attached to ttyUSB0 [441262.296364] input: PC Speaker as /devices/platform/pcspkr/input/input6 [441262.816857] input: BRLTTY 6.4 Linux Screen Driver Keyboard as /devices/virtual/input/input7 [441264.326340] usb 2-1.6: usbfs: interface 0 claimed by cp210x while 'brltty' sets config #1 [441264.327932] cp210x ttyUSB0: cp210x converter now disconnected from ttyUSB0 [441264.328203] cp210x 2-1.6:1.0: device disconnected
surely it's something very easy I am missing, right?
It'd typically be /dev/serial/by-id/ - but that dump shows /dev/ttyUSB0 as one option
BTW, running latest HA 2022.6.6; I've looked through the code and can't see where an entity is created for the group. Is this even supported?
The last log message shows device disconnected for the dongle. Could it be that there's a conflict?
It could be many things causing that, but a conflict (with what?) is unlikely
Works fine for me: https://imgur.com/a/BABADDm. Where are you seeing device disconnected? Can you post more context?
Thx @austere patio. I think you are mixing threads. The device disconnected is in response to @storm crown. My problem is that I create a Zigbee group on the integration page and no new entities show up.
Zigbee group needs to have more than one device.
This bit me.
I had originally tried that too. same result.
ls: cannot access '/dev/serial/by-id': No such file or directory
I tried a reboot. Slightly different output...does this give any hints?
[ 5.240105] usb 2-1.6: usbfs: interface 0 claimed by cp210x while 'brltty' sets config #1 [ 5.242057] cp210x ttyUSB0: cp210x converter now disconnected from ttyUSB0 [ 5.242088] cp210x 2-1.6:1.0: device disconnected
What OS?
Huh, it looks like you're right. That should be fixed.
not enough power or something wrong with it?
Linux? 😉
I really don't think it matters what OS it is. That's a kernel message. Unless there's some udev rule that disconnects the device? 😛
Wait.
@storm crown you're using brltty ..
Yes, it does, because some Linux distros don't have the required kernel modules for /dev/serial/by-id/ or otherwise do silly things
brltty is probably kicking it.
So, details matter, because ... shockingly ... details matter
but that was in his msg above 😛
I have a brand new HA install on a Unraid server in a VM. I can't for the life of me get Z2M to recognisze my sonoff 3.0 USB stick. I can echo the port from a console but I'm out of ideas
I'm on Ubuntu 22.04 LTS. I'm not sure what brltty is.
Is the stick visible in the VM? Did you pass it through to the VM?
Google says https://brltty.app/
Try stopping and removing it
I installed mosquitto through docker-compose. And then i started with r zigbee2mqtt installation, following the trail of instructions
@sour shadow I have verified that in the VM settings that it's seen and enabled.
Then make sure you've passed it through to the container running Z2M
Is there a command from the HA console I can run to verify?
I'm not using a docker for z2m it's in the VM
open HA and itstalled it through the store
Add-on then?
correct
Then if it's passed into the VM and HA's hardware menu lists it the add-on should have it
I don't use add-ons, can't help there
yes I have a MQTT broker installed alot
also
I'm very new to HA. The menu's have changed recently so all of the guides are wrong. Where can I verifiy that HA sees the Hardware?
Under the Hardware menu ISTR
I don't use HAOS, so ... if that's where it is, that's it
ok so you have a HA docker and containers for your 'add-ons'
I would like a zigbee connection to my doorbell but I want to use as much of the existing physical bell hardware as possible. I think this means I need to either need a smart button that actuates the bell actuator or a smart detector on the bell actuator.
I've seen people stick a window sensor in the bell box, next to the striker, so that when the bell is activated it triggers the door sensor (which works off of magnets)
Low tech, but simple
okay, looks these are just magnetic sensors?
That's all any door/window sensor is
Xiaomi Aqara work well
I've seen people open up a door sensor and connect the doorbell button across the reed switch for a more direct connection, but putting it by the bell magnet is genious.
that fixed it. the obscure app running in the background blocked the usb dongle.
it blocked something that astronomers use too https://www.indilib.org/forum/mounts/11689-solved-ubuntu-22-04-lts-cannot-connect-to-eqmod-remove-brltty.html
thank youuuuuu!
so happy! I still managed to get a HA win in today!
so it was brltty?
Thx @fair mountain. Since I'm in "lab mode" I only have 1 light, but I have two switches. I suspect that the group entity is also not created by zha when there is a mix of lights of switches - do you know? FYI - with z2m it will create the group entities even when the group has both switches and lights. Edit: I just created a group with two switches and the group entity shows up! Yeah!
Anyone have any success troubleshooting the Aqara p1? Got it configured with ZHA & Conbee ii. Wasn’t triggering properly. Tried to reconfigure and the “opplecluster” keeps failing during the reconfiguration. Conbee is in latest firmware.
I think @woeful urchin has one 🙂
lights AND switches? ("you said "of")
I do have one @teal marlin , using Z2M. I have it connected, but haven’t used it for anything yet.
Anyone setup a Panasonic Econavi F-YCL27N or a Goldair Platinum 20L Dehumidifier?
Hi, I'm using the inbuilt ZHA integration with Conbee ii. But I can't get my the helper_last_controller_event to be populated. Which means I can't use the Ikea templates as they all require this value to be populated. I have tried re-adding the device and creating the helper with different names but it still doesn't seem to work any ideas?
Can anyone recommend a good zigbee sensor with hydrometer functionality which can operate at high temperatures (around 65 degrees) for prolonged periods without issues
Maybe with an external probe
build your own maybe, 3d printing thermistors are very cheap
i mean i could but it wouldn't be zigbee, + i was hoping there's a factory made product like that
I've just set up the Zigbee2MQTT and MQTT addon (blank like the manual suggested). When I add a device they're not automatically appearing in Home Assistant. I've also tried renaming and ticking the box for 'Update Home Assistant entity ID'. From other guides the entities should appear without a restart of HA. Suggestions?
I followed this: https://github.com/zigbee2mqtt/hassio-zigbee2mqtt#installation
I did not use a username and password
Hmm... it says "If you don't have a MQTT broker yet; in Home Assistant go to Settings → Add-ons → Add-on store and install the Mosquitto broker addon." Do I also need to configure the MQTT integration that suddenly is shown under Integrations?
Has anyone ever encountered a Zigbee device that is unavailable in home assistant until I switch it on and off through Zigbee2MQTT? I have this with an RGB lamp (Trust ZLed-RGB9). It works perfectly in Zigbee2MQTT, but home assistant doesn't want to just fire the MQTT commands. Once I wake it up in Z2M, I can use it in Home Assistant, but when I don't use it for a while it falls asleep again and is no longer available in HA.
Ah. The devices showed immediately after setting up the integration as well.
Hey has anyone found DeConz a bit sluggish since the most recent update?
Trying to work out if it is something I've broken or a DeConz issue
...The DeConz discord recommends I downgrade... somehow. 😐
Yes, meant AND
it was indeed brltty.
but, as things go - at least for me - one day's success is only temporary. I had got it all set up yesterday with ZHA that automatically popped up in HA. But I actually want it all set up with zigbee2mqtt....lots of experimenting again...
- how do install the zigbee2mqtt add-on in the container version of HA? The documentation only references HAOS and Supervised. https://www.zigbee2mqtt.io/guide/installation/03_ha_addon.html and I cannot find any independent user guides online.
- how do I reset a CC2652RB from slaesh? It is set to my first network with ZHA, right? Cause right now I am not able to connect to it from HA anymore at all (even when I try to start a new configuration with ZHA)
Just set it up in its own container
just tried the "change network channel" script on my 100+ devices production network and it worked really well!
Some battery-powered devices also jumped over -- I'll re-pair the other ~30 devices now
so thanks for the script!
let me doublecheck something then, cause i may be misunderstanding....I have installed zigbee2mqtt in a container (with docker-compose). Don't I need to install something in HA, too? Am I reading the documentation wrong? is the add-on an option? And if the container is enough, then shouldn't something appear in HA Integrations?
I think ZigBee2mqtt uses mqtt discovery for HA
Do you have the mqtt integration
ahhhh! ok then! cause all images and youtube guides i saw on different pages have the yellow Z2M logo with the bee, not those purple rings from MQTT
Cool, thanks for testing it out!
when I do 'docker-compose ps' mosquitto is permanently restarting. that can't be right, can it?
'1655563804: Error: Address in use'
googling the error makes me think I have a second instance of mosquitto running somewhere....
With Zigbee2MQTT is it possible to change the route of a device? I have a Hue Motion Sensor that would be much better going direct to my Sonoff stick rather than through a Hue bulb
Not really. However, you should be able to just allow joins through the Sonoff stick and then reset the motion sensor.
Since it can only join through the Sonoff stick, it might stay on it.
(It can still jump to another router if it wants to though)
Reset as in factory reset and pair it again or just a reboot of the device whilst join is enabled on the Sonoff stick?
Factory reset the Hue sensor (so it pairs again) while allowing joins only on the coordinator
Thanks, apologies for the relatively noob question, Im new to Z2M but really impressed with it so far
No problem. Also, as long as the Hue sensor works, I wouldn't worry about it
I was just thinking this myself, it has a LQI of 40 and its working fine, the only reason I was thinking of trying to sort it is another device which is very close to it has an LQI of 163 because its going direct to the Sonoff stick
Yeah, feel free to try it (like mentioned above).
LQI levels are calculated somewhat differently across devices though, so they're not always perfect
Anyone have experience or had issue with Yale locks and zigbee module? I have a YRD226HA2619 and I use Zigbee2mqtt with Sonoff dongle, and it worked flawless for months, showed battery status , unlocked and locked on automation, everything I needed. Recently it’s been just not reacting to any commands and when I reset it, it works for anywhere from 1 hour to 24 hours then goes back to not responding to anything. Yale has sent another module, but I am getting the same behaviour. I’m super new with all this so any help is greatly appreciated in troubleshooting
i have no clue what happened but my sonoff zigbee 3.0 dongle plus just stopped working from one day to the other. its connected to the same usb port as before, its recognized on the host and in HA, when I want to add ZHA its listed as device. But I cannot connect in the last step. I tried "hardware" and "software", no chance. Always "connection failed".no log entries
Hi all.
I am struggling to have MQTT auto-discovery of my zigbee devices working
Note: manual <configuration.yaml> of another MQTT device (not capable of advertising under the homesassistant/ topic) is registered ok as entity but I need "devices" registered)
Here is my original port in #general-archived:https://discordapp.com/channels/330944238910963714/332167321311510530/987790051167584286
I came across an old 2019 post of someone affected by such EXCEPTION:
https://github.com/home-assistant/core/issues/24306
https://community.home-assistant.io/t/exception-in-async-discover-sensor-when-dispatching-mqtt-discovery-new-sensor-mqtt/130995
Thinking about it....I had noticed that my Mosquitto broker time was not the same as Homeassistant time (both through docker containers)...I wonder if that could be the issue
Mosquitto broker is on UTC while Homeassistant and Zigbee2MQTT are both on BST (but actually same time in UTC standard). Don't think that would be the issue. I have now neverthelss added the Docker environment "TZ" data as well as added the actually tzdata package following this post :https://github.com/eclipse/mosquitto/issues/1898
"docker exec mosquitto apk add tzdata"
<eclipse-mosquitto> container is now reporting to be on same TimeZone as homeassistant and zigbee2mqtt but unfortunately this has not resolved by problem...
Is my problem something to do with <zigbee2mqtt> reported device.[configuration_url] perhaps ?
!!SOLVED !!
I had to remove my manual input for <zigbee2mqtt>.[URL] parameter under /settings/frontend/ -
I had it set to 192.168.1.180:8080 but it seems that it is an optional parameter that probably does not play well with Homeassistant discovery.
That parameter said "URL on which the frontend can be reached, currently only used for the Home Assistant device configuration page"
Get some debug logs https://www.home-assistant.io/integrations/zha/#debug-logging
ZHA integration and getting "Error: UndefinedError: 'dict object' has no attribute 'event' " but I Have a helper defined. Any ideas?
aynoen ever play with these:
I have a pair of switches in a room that are on the wrong side of a door, thinking something like this and a basic button might be a easy and safe automation
Looking for a few pointers with moving from a Combee II to a cc2652 based coordinator using ZHA. I removed the exisiting ZHA device, and the CC2652 device was discovered. I added this, then paired my couple of devices back to the network. Both devices joined the network; however didnt work as expected. The main device I completed most of the testing on was the Phillip SML002 motion sensor. On the Combee when motion is detected there are a number of lines outputs in to the HA logs (when in debug mode) - however when using the cc2652 device only the following two lines were outputed:
022-06-19 12:18:33 DEBUG (MainThread) [zigpy.zcl] [0xDAAD:1:0x0006] Received command 0x42 (TSN 32): on_with_timed_off(on_off_control=0, on_time=3000, off_wait_time=0)
2022-06-19 12:18:33 DEBUG (MainThread) [zigpy.zcl] [0xDAAD:1:0x0006] No explicit handler for cluster command 0x42: on_with_timed_off(on_off_control=0, on_time=3000, off_wait_time=0)
It doesn't seem that the motion sensor actually joined the network if you're not seeing anything in the debug log related to it. Did you permit joins through ZHA and then factory reset the motion sensor?
Yes I did do that. I assumed the two debug lines above showed it was connected to the network?
hey, so i just got the sonoff zigbee dongle (running my ha instance through vritualbox on windows) and any time the dongle is plugged in, i get "Failed to start wait until kernel time synchronized"
unplugging the dongle, ha boots normally
not really sure, how do i fix this_
Hi! I seem to have something go askew with my RaspbeeII/ZHA integration since some time in the last couple of hours. In particular, in the settings->integrations area of HA, the ZHA is showing a "No such file or directory: '/dev/ttyS0'" error and pressing configure gives me a rather blank page along with some browser console errors. I swear it wasn't even meant to be connecting to /dev/ttys0 but I can't access my configuration to prove it 😦
2022-06-19 14:49:31 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=6, SrcAddr=0xEF9F, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=<Bool.false: 0>, LQI=54, SecurityUse=<Bool.false: 0>, TimeStamp=7915531, TSN=0, Data=b'\x01\x0A\x42\x00\xB8\x0B\x00\x00', MacSrcAddr=0xEF9F, MsgResultRadius=29)
2022-06-19 14:49:31 DEBUG (MainThread) [zigpy.zcl] [0xEF9F:1:0x0006] Received ZCL frame: b'\x01\x0A\x42\x00\xB8\x0B\x00\x00'
2022-06-19 14:49:31 DEBUG (MainThread) [zigpy.zcl] [0xEF9F:1:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=10, command_id=66, *is_reply=False)
2022-06-19 14:49:31 DEBUG (MainThread) [zigpy.zcl] [0xEF9F:1:0x0006] Decoded ZCL frame: OnOff:on_with_timed_off(on_off_control=0, on_time=3000, off_wait_time=0)
2022-06-19 14:49:31 DEBUG (MainThread) [zigpy.zcl] [0xEF9F:1:0x0006] Received command 0x42 (TSN 10): on_with_timed_off(on_off_control=0, on_time=3000, off_wait_time=0)
2022-06-19 14:49:31 DEBUG (MainThread) [zigpy.zcl] [0xEF9F:1:0x0006] No explicit handler for cluster command 0x42: on_with_timed_off(on_off_control=0, on_time=3000, off_wait_time=0)
Is 0xEF9F your motion sensor?
Looks like the SML002 does send on_with_timed_off messages so that is indeed the sensor. Looks like it works fine? Unless it did not fully initialize when you re-joined it, it should be functioning the same as it did when it was sending packets to the Conbee. What do you mean by "however didnt work as expected"?
trying to set up my zigbee dongle through zha for the first time and i get failed to set up with the following error: https://www.toptal.com/developers/hastebin/usowojizaj.apache
i have the sonoff zigbee dongle
Have you ever used ZHA in the past?
nope, first time
Rename /config/zigbee.db to something else and it should work. Can you PM that database file to me?
first thing i did when i got the device was update to the latest zstack firmware
In home assistant the state does not change. and when connected to the Combee device the following is shown in the logs:
022-06-19 12:42:24 DEBUG (MainThread) [zigpy_deconz.api] Device state changed response: [<DeviceState.128|APSDE_DATA_REQUEST_SLOTS_AVAILABLE|APSDE_DATA_INDICATION|2: 170>, 0]
2022-06-19 12:42:24 DEBUG (MainThread) [zigpy_deconz.api] Command Command.aps_data_indication (1, 1)
2022-06-19 12:42:24 DEBUG (MainThread) [zigpy_deconz.api] APS data indication response: [30, <DeviceState.APSDE_DATA_REQUEST_SLOTS_AVAILABLE|2: 34>, <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x0000>, 1, <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x970f>, 2, 260, 1030, b'\x08"\n\x00\x00\x18\x01', 0, 175, 255, 225, 77, 13, 0, -62]
2022-06-19 12:42:24 DEBUG (MainThread) [zigpy.zcl] [0x970F:2:0x0406] Received ZCL frame: b'\x08"\n\x00\x00\x18\x01'
2022-06-19 12:42:24 DEBUG (MainThread) [zigpy.zcl] [0x970F:2:0x0406] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=34, command_id=10, *is_reply=True)
2022-06-19 12:42:24 DEBUG (MainThread) [zigpy.zcl] [0x970F:2:0x0406] Decoded ZCL frame: OccupancyCluster:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=<bitmap8.1: 1>))])
2022-06-19 12:42:24 DEBUG (MainThread) [zigpy.zcl] [0x970F:2:0x0406] Received command 0x0A (TSN 34): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=<bitmap8.1: 1>))])
2022-06-19 12:42:24 DEBUG (MainThread) [zigpy.zcl] [0x970F:2:0x0406] Attribute report received: occupancy=<bitmap8.1: 1>
2022-06-19 12:42:24 DEBUG (MainThread) [zigpy.zcl] [0x970F:2:0x0406] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=34, command_id=<GeneralCommand.Default_Response: 11>, *is_reply=True)
2022-06-19 12:42:24 DEBUG (MainThread) [zigpy.zcl] [0x970F:2:0x0406] Sending reply: Default_Response(command_id=10, status=<Status.SUCCESS: 0>)
2022-06-19 12:42:24 DEBUG (MainThread) [zigpy_deconz.zigbee.application] Sending Zigbee request with tsn 34 under 94 request id, data: b'18220b0a00'
2022-06-19 12:42:24 DEBUG (MainThread) [zigpy_deconz.api] 'aps_data_indication' response from <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x970f>, ep: 2, profile: 0x0104, cluster_id: 0x0406, data: b'08220a00001801'
2022-06-19 12:42:24 DEBUG (MainThread) [zigpy_deconz.api] Command Command.aps_data_request (20, 94, <DeconzSendDataFlags.NONE: 0>, <DeconzAddressEndpoint address_mode=2 address=38671 endpoint=2>, 260, 1030, 1, b'\x18"\x0b\n\x00', <DeconzTransmitOptions.USE_NWK_KEY_SECURITY: 2>, 0)
Does the device actually complete initialization when you first join it? It should complete within like 10s when you first join the device. Otherwise, the sensor is in some half-configured state and this would explain why you're not seeing occupancy attribute reports come in.
Make sure to periodically poke some button on the sensor to keep it awake while it's being initialized. You can also click the "reconfigure device" button to try to re-initialize the sensor, though this will likely fail since the sensor will not be awake (unless you again poke a button to keep it awake).
It does complete - take more like a minute - and its populated with the correct status, include the temp/light level, etc. However this never updates...
If using the Combee, all works fine
If it takes more than a minute then it timed out
Can you send me the full debug logs of the device joining with the Conbee and with the CC2652?
sure.
Other than keeping it awake while it joins, there's not really much else you can do
The only button i have on the device is the setup button.
Can you quickly poke it? Or does that reset it?
I have a SML002 1st gen Hue outdoor sensor working just fine on my CC2652.
I don't think on_with_timed_off is actually used for any entity in HA. So you can basically ignore it.
(See my comment here: https://github.com/zigpy/zha-device-handlers/issues/804#issuecomment-1126735659)
Like puddly already mentioned, try to re-pair the sensor again. I didn't have any issues with pairing though (although I already did it months ago). That particular model requires a long press to reset IIRC, so maybe poking it every second during the pairing process could work. However, it shouldn't be required for Hue sensors at all.
https://pastebin.com/AKgUyAkN has both logs - Combee is second...
10 seconds to reset/kick off the repair. there is a button inside that I used to keep it awake - possibly wasnt required... certainly wasnt required on the conbee.
My issue is more that the objects do not update for the SML002 when connected to the 2652...
Yeah, attribute reporting config seems to fail halfway through. Try reconfiguring it from within ZHA and keeping it awake.
I was keeping it awake using a button i found inside it which created this event:
2022-06-19 15:31:37 DEBUG (MainThread) [zigpy.zcl] [0x141B:1:0x0006] Received ZCL frame: b'\x01\x10\x02'
2022-06-19 15:31:37 DEBUG (MainThread) [zigpy.zcl] [0x141B:1:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=16, command_id=2, *is_reply=False)
2022-06-19 15:31:37 DEBUG (MainThread) [zigpy.zcl] [0x141B:1:0x0006] Decoded ZCL frame: OnOff:toggle()
2022-06-19 15:31:37 DEBUG (MainThread) [zigpy.zcl] [0x141B:1:0x0006] Received command 0x02 (TSN 16): toggle()
2022-06-19 15:31:37 DEBUG (MainThread) [zigpy.zcl] [0x141B:1:0x0006] No explicit handler for cluster command 0x02: toggle()
i renamed that file, and i still get the same error
ah ok, here's the entire db file
'utf-8' codec can't decode byte 0x91 in position 99: invalid start byte
That's definitely not right 😆
unless thats just cause im usingg the built in file editor
That's probably the case
It's a binary SQLite database file, you won't be able to read it with a text editor
Well something is up with the database file itself so you would need to use sqlite3 or manually peek at the file itself
Got it. What exact version of HA Core are you running?
No problems here on a fresh 2022.6.6 installation. I'm not sure what happened with your original database, everything should be done within a transaction so it either works or doesn't work, there should be no "in between" state like you're seeing. What kind of hardware are you running HA on?
Is anyone able to help me diagnose my sudden issue with my Raspbee-II/hassio setup? ZHA was reporting that it could not connect to /dev/ttyS0 and the HA webapp was throwing web browser console errors that prevented me from even seeing the ZHA configuration page. I had a look through the logs but they all just agreed that /dev/ttyS0 was inaccessible. I ended up removing the ZHA integration, restarting the RPi then installing DeCONZ from supervisor. that allowed me to configure a connection to /dev/ttyAMA0 but the DeCONZ web ui fails to connect to that too. My deconz logs are basically full of this:
13:59:22:769 dev /dev/ttyAMA0 13:59:25:710 failed to reconnect to network try=10 13:59:28:268 dev /dev/ttyAMA0 13:59:28:269 COM: /dev/ttyAMA0 / serialno: , RaspBee 13:59:30:710 reconnect network failed, try later 13:59:31:210 start reconnect to network 13:59:32:050 device state timeout (handled) 13:59:32:130 void zmMaster::handleStateIdle(zmMaster::MasterEvent) not connected goto OFF state 13:59:32:773 dev /dev/ttyAMA0 13:59:36:461 failed to reconnect to network try=1
This just happened without any intervention about 4 hours ago (after running without issue for about 6 months)
Just to rule out transient problems, have you tried fully rebooting the pi (including cutting power for a few seconds)?
does Aqara Hub M2 works with home assistant ? if yes, someone refer me to integration document. i have hub/waterleak /door/vibration sensors.
Yes, I had done that a number of times, including twice when installing the suggested upgrades core 6.5->6.6 and OS 8.1->8.2
(I thought perhaps there was a fix in one of them)
I presume my hat is just fried TBH.
Does anyone have any further suggestions to try proving that the hardware is responding at all? there is an item in the hardware list at /dev/ttyAMA0 but there is nothing in that item to suggest it is even the raspbee-ii let alone whether it will respond.
how do I start from scratch with my zigbee2mqtt container installation? just running 'docker-compose rm zigbee2mqtt' or 'docker-compose down zigbee2mqtt' and following the different suggestions here https://www.digitalocean.com/community/tutorials/how-to-remove-docker-images-containers-and-volumes still leaves the 'data' folder with configuration.yaml and the coordinator_backup. Both of the latter are probably the source of issues with my zigbee2mqtt installation and I thought I would just start from scratch.
Should just manually delete the data folder?
use docker volume list to and see if there is any recognisable volume names that would be associated with the zigbee2mqtt stack. If you're game to remove that volume (docker volume rm <volume-name>) then that should re-initialise the data folder.
(I only guess this from using docker in general, not from the specific zigbee2mqtt stack)
they suggested that in the link, too. my list only contains 'Driver' and 'Volume Name'. I don't recognize either and assumed they would be important? Or at least not related to zigbee2mqtt?
Volumes are used to persistently store files in an otherwise temporary container's filesystem. "Driver" and "Volume Name" sound like columns in the list rather than rows. are there any rows that have a volume name related to zigbee2mqtt ?
oh yeah... I guess that is possible, that they are meant to be the column headers. but other than that, there is nothing that appears.
so then....just manually delete the data folder that contains config and log files?
Is the data folder on the host or inside the container?
I am not 100% about terminology here....I think it is the host. it's in the ~/home/ folder
If it were in the container it would already be gone after having stopped, rm-ed, downed, and pruned (just to be super safe), right?
@storm crown posted a code wall, it is moved here --> https://hastebin.com/kedekefoke
Oh uh yeah, the volume is a relative folder. rename the data folder if you're scared.
to give some more context.... my zigbee2mqtt is messed up. After having got mosquitto to run again and not permanently be stuck in Starting mode, zigbee2mqtt got stuck in that loop instead. And the users seem to have been messed up. So I wanted to start from scratch. And this is my second round of doing that, because just doing what I have already done so far and then reinstalling the container again left everything as before.
yeah. that's the safe compromise. duh. ok, let's give it a go....
never ending....would an ECONNREFUSED between Z2M and mosquitto (basically the same as this ticket https://github.com/Koenkk/zigbee2mqtt/issues/11256) prevent the frontend from working? And what, beyond the suggestions in that thread, might I try to fix the ECONNREFUSED issue?
Hi, I'm using ZHA with IKEA motion sensor to turn on a light.
Here is the automation:
https://pastebin.com/qiaJUK78
The motion sensor takes about 4min to reset:
https://i.imgur.com/pYaqHrp.png
Is there any way to make it reset faster? For example, right after the 1minute timer ends?
Hi I am a newbee in ZHA and adding my devices. Lamps are successfully added. My Philips Hue dimmer RWL021 however is an issue. The dimmer has 4 buttons (on / off, up, down) but in HA there is only 1 binary sensor detected. What is causing this? I have deleted the device many times, but no luck. I am using the ConBee II stick to access the zigbee device.
Remotes are stateless, the button presses will show up as events also there should be device automations available if you create an automation and select it as the trigger device.
I used the blueprint, and the light switches on. But the other 3 buttons are 'dead'
Update: My issue is solved, I don't know why but I in the automations I was adding the the Conbee as the controller rather than the remote that was going to do the work. I worked it out after I managed to create a manual automation with out the templates.
I'm not sure if the hub would integrate, but if you dont have any special need, you can just directly connect every sensor with a zigbee stick
The power to HATs appears to stay on even after the Pi is powered off (depending on your bootloader version??) so if the Raspbee is somehow locked up, it will stay that way until you unplug the Pi completely for a few seconds.
Can you double check the boot config to make sure onboard Bluetooth is disabled? https://github.com/marthoc/hassio-addons/blob/master/deconz/RASPBEE-SETUP.md
hello i need a bit of help
i have conbee2 and deconz my buttons work but my licht do not
i get red bliking on deconz\
deCONZ by dresden elektronik is a software that communicates with ConBee/RaspBee Zigbee gateways and exposes Zigbee devices that are connected to the gateway. Our #zigbee-archived channel is a good place to ask about using it with Home Assistant, but they also have their own Discord server.
You may want to try their Discord server
tanks
With ZHA is it possible to set device specific option like zigbee2mqtt does it? For example I'd like to adjust the occupany_timeout of this device https://www.zigbee2mqtt.io/devices/RTCGQ11LM.html
The device itself has no configurable timeout, it just sends a "motion detected" message very 60s for as long as motion is detected. Z2M has a config option for how long it waits in-software before sending its own "no motion" message.
If the device had a configurable timeout, you would be able to modify it within the occupancy sensing cluster's delay attributes
I applied the "hack" so that it can send a new motion event after 5 sec again. It does still only reset the motion detected after 60 sec, so ZHA does some handling internally I assume.
In z2m I had it set to 15 sec and after that it would reset and work again. Is there a workaround to replicate the behaviour I had working in z2m?
Its for controlling a hallway light I don't want to leave the light on for a full minute. First world problems I know but it was working in z2m.
You can use a custom quirk https://www.home-assistant.io/integrations/zha/#custom_quirks_path: https://dpaste.org/HCBzm
Thank you that seems to be exactly what I was looking for.
stop the container and just move the folder, restart it should re-initialise
My devices keep dropping of my zigbee network how can i fixt this ? change channel and repair all ?
i have a hue zigbee network running think there working against each other
I have a Zigbee RGBWW LED controller (Gledopto GL-C-007) plugged in to an outlet that has a (not-smart) wall switch. I'm running ZHA. I want to be able to set a default color that the LEDs use when they first get power (they default to white).
Is there a way to do that? I see in the clusters that there's the Color cluster has an attribute of start_up_color_temperature, but I want to set an RGB color, not a white temperature.
I can always make an automation that detects when the light is turned on and set the scene manually in HA, but that has a bit of a delay so I'd like to change the default on the device itself if possible.
Do I need to do something like save a scene to the device, and tell it to be default somehow?
You can check/change the Hue network channel easily in the Hue app
Also check https://www.metageek.com/training/resources/zigbee-wifi-coexistence/ regarding WiFi interference
Only Philips Hue devices can do that. It's not part of the Zigbee specifications. (Hue implemented it themselves)
The only thing you may be able to do, is to have is restore the last state on powerup
Aw man :(
I'd have to see if there's a cluster attribute for that?
On the OnOff cluster, check for start_up_on_off (0x4003).
I don't know if it works for your older Gledopto device. The newer "Pro" (Zigbee 3.0) controllers can do it
0 is off
1 is on
255 is restore
Ah, the "pro" devices mean they're 3.0? I should have gotten those instead :/
Looks like I do have start_up_on_off as an option
Yep. They are better
Check if that attribute is readable
Just trying to set up Zigbee2MQTT, which seams to be the most common way, I got the below dongle which a few different people recomended
https://itead.cc/product/sonoff-zigbee-3-0-usb-dongle-plus/
I installed the addons for MQTT and Zigbee2MQTT, and trying to get it setup, I put in the port as /dev/ttyUSB0 which is what shows up under hardware for the dongle, but Zigbee2MQTT fails to start it says theres an issue with zigbee_herdsman starting, I enabled debug for it and theres lots of messages, and ends with a couple different errors
Got it working, after a few restarts, now its not authenticating with mqtt, but I should be able to sort that out
I just flashed and plugged in a Sonoff Zigbee 3.0 USB Dongle Plus to my odrtoidn2+ what are my options on software? mosquitro and zigbeeto mqqt?
I have aqara sensors
If I go to http://192.168.0.144:8123/45df7312_zigbee2mqtt/dashboard I get 502: bad gateway, i assume this is uh, bad?
99% sure this is bad
I need better docs for 2022:6 I guess
oh great no logs
I have the exact same issue
what did you do?
Just restarted, make sure you didn't add the ZigBee integration that pops up wanting to take over, that will take control of the dongle, and not zigbee2mqtt do it, I have mine in the VM and added to the VM while running, did a proper start of the VM with the dongle already added and that worked, so maybe a proper restart so it boots with dongle may be needed
I also didn't flash mine, not sure what that changes, I'm sure it changes things, especially of the flash went bad
might be that I did flash it but that looked ok
IO'll try a hard restart
502 bad gateway
😦
@cobalt dew posted a code wall, it is moved here --> https://hastebin.com/eloqocilix
this did a crc
so it verified OK
did it again same crc32
this worked but I guess I know have zha
😦
Created configuration for Sonoff Zigbee 3.0 USB Dong - /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_96a8e33d8112ec11b2bc20c7bd930c07-if00-port0, s/n: 96a8e33d8112ec11b2bc20c7bd930c07 - ITead - 10C4:EA60.
We found the following devices:
Zigbee Coordinator
ZNP = Texas Instruments Z-Stack ZNP protocol: CC253x, CC26x2, CC13x2 (ZHA)
well zha worked perfectly I now have my first temp sensor so its buggey software
I think you are trying to configure both addon or integrations. You should just follow a step to step guide on YouTube, would make your life easier
Zha and zigbee2mqtt can't work together
I spent the majority of the last 3 days setting a Zigbee dongle up myself, and I struggled through similar issues. If you set up ZHA, then you need to remove that. I had to manually remove (rename) a coordinator_backup.json file in the zigbee data folder at some point to get things cleaned up.
Also, I am not sure looking at many different online guides was helpful, because that led me to use obsolete and redundant installation methods. This led to there being multiple zigbee connections that blocked each other.....
installing mqtt explorer was extremely valuable in trying to figure everything out
Hey guys,
I just bought a zigbee switch from Lidl (https://www.lidl.de/p/silvercrest-smart-button-mit-magnetischer-wandhalterung-zigbee-smart-home/p100339621) and wanted to integrate it to my home assistant via ZHA. My main problem is that the switch is recognized as a light and is not really connected in the visualization map either. When paired, it shows up and behaves like a normal device under ZHA, but I can't set it up as a working switch. Does anyone have any ideas or experience on what to do in such a case. The switch is relatively new as far as I know, which could be an explanation for this problem....
@cobalt dew hey ! I don't quite understand your issue above but I think you have one I had like few days ago.
I have solv it with the same dongle as the one you link so if you are interested hit me a dm 👍
After 6 hours of failing In frustration I went for ZHA is worked so fast I didnt believe it...what a pile of crap
no, I was following a simple youtube guide after 6 hours zigbee2mqtt it didnt work, ripped that crap out and installed zha worked in less than a second
These are open source projects people work on in their free time. Be nice.
Yeah same xD ZHA work out of the box. On my side had a lixee to monitor my electric consumption.
Currently I'm running ZigBee2mqqt.
The only issue I have is if you have "installed" ZHA it's not compatible with ZigBee2mqqt. (They don't cohabit)
And they do a great job from my humble nooby perspective ! I really like what is done 👍
I didnt install zha as far as I know it just worked
I could try a fresh install....
Is there a way to blacnk the config or is flashing the emmc best?
it seems really weird it just wouldnt work
Well can't share a picture.
I'm speaking about the integration "sonoff Zigbee 3.0 USB dongle".
that's what I have
Didn't you made a backup right after starting Home Assistant ? Could work as a new start.
Well if you "don't configure" it. You may be able to make ZigBee 2mqtt work
Unless you're buying a ton of new Tuya devices or are planning on using an automation engine outside of Home Assistant, you won't really see much difference jumping between integrations
I just booted it...anyway I'll flash it tonight
If you are happy with zha, there's no reason to move over to zigbee2mqtt. Said that, there are plenty of guides and documentation to install and correctly setup. Of course you might not find things 100 up to date, as things change fast, so you do need to go back and forth between doc and guides
ZHA doesn't handle some "french" device I have like Lixee
Have fun setting everything ! 👍
I remember I used https://youtu.be/z7d0OQjSiOI, and It was easy to get started
I'd you guys did switch to ZigBee2mqqt, why did you ?
smartjunkie was the second one I checked through. the first used python to flash it so I went that way rather than opening it up
You don't really need to flash the stick of you got the sonoff
I thinbk I looked at 4 + docs
Sonoff are preflashed, you need to flash only to update
well I know it works as the crc32 verified so
Yeah I did flash it too, pretty sure it wasn't necessary.
possibly but I just followed the guide line by line
I've used both z2m and zha. Both worked well and there were no hiccups getting them started. As far as equivanlence of the two there are many threads you can read out there. For me, z2m has a feature that I want, which is setting up Zigbee scenes. I have not found a way to do that in zha.
Here's a thread comparing zha and z2m: https://www.reddit.com/r/homeassistant/comments/tbo4wr/zha_or_zigbee2mqtt/
Thank you for sharing ! 👍
It's possible with ZHA by setting all bulbs how you want them, then sending multiple cluster commands using the "Dev Tools" in HA (creating group, saving current color to scene id).
I do agree it's not great. Theoretically, it shouldn't be too hard to implement it in the future. Most people seem to use scenes in HA (although there are issues with that when using many devices)
How do I switch from the stable to Edge AddOn of zigbee2mqtt ?
If I just install it, stop the stable one and start the Edge one I only get „s6-overlay-suexec: fatal: can only run as pid 1“
do a backup and un-install it?
"pid 1" suggests a low level bunfight. A reboot might work to free the pid1 up
if you have ssh or a terminal try ps aux |more 1 is init on a normal linux box
➜ ~ ps aux |more
PID USER TIME COMMAND
1 root 0:00 /package/admin/s6/command/s6-svscan -d4 -- /run/service
15 root 0:00 s6-supervise s6-linux-init-shutdownd
in my case, I'd reboot
Tried to reinstall, uninstall both stable and edge, installing only edge, always with reboots in between, but without success
PID 1 command seems to be /sbin/init via ha cli, login, ps aux |more
Is there another way to get my https://www.zigbee2mqtt.io/devices/R7060.html to work, via the stable addon? Atm it just gets recognized as unsupported TS0101 manufacturer name '_TZ3210_eymunffl'
just speaking from my own very recent and very noob experience: it was a nut to crack to get installed. But after finally getting it up and running I love it. It was hard for me to set up, but it is so incredibly simple to use. Getting my hue stuff integrated is honestly faster and simpler than with its own hue hub.
yes....almost archtypical opensource, bleeding edge, poor docs and a pain to get going but once there rock solid like a mountain of granite.
Im going to flash the emmc back to clean and try again.
I guess the question is why are you trying to run bleeding edge?
without putting up with a little pain, the two rarely go hand in hand
when migrating to a new machine, can you keep a zigbee network through zha intact?
Use the same stick, transfer the HA backup, and you should be fine
you can even backup the stick
if the device path is different, will it still restore correctly?
Which stick are you using and how are you running Home Assistant? It should be using a /dev/serial/by-id/ symlink, which should be stable if you're running the same OS.
sonoff zigbee stick and haos through vm
so haos on any other machine should be fine?
Should be seamless. If not, you just tweak a path in a file.
alright, cool
so im transfering my zigbee stuff over to home assistant, and if i change the brightness of a light itll will show the old state in the ui until it gets an update from the device confirming the light changed brightness. is there a way to disable this behavior?
What's the best practice to flash the coordinator in Zigbee2MQTT to avoid having to repair everything?
Because my https://www.zigbee2mqtt.io/devices/R7060.html won’t work with stable; it just gets recognized as unsupported TS0101 with manufacturer name '_TZ3210_eymunffl' ..
just..flash..nothing happened that required repairing
but ok, I’ll switch to zha instead
I recently got the Sonoff stick in addition to my deCONZ setup and have slowly started to move devices to Zigbee2MQTT. So far it's awesome. I got so sick of the two-GUI solution with phoscon (where my blinds are shown as lights...) and deconz (which is impossible to use on mobile devices). I also had to make my own DDF with deCONZ for battery to show up for the blinds and OTA on recent IKEA firmwares were impossible. With Zigbee2MQTT blinds worked immediately with battery status and I even updated firmware on two devices simultaneously without an issue.
Hi guys!!
I just received a zigbee temperature and humidty sensor that paired but data from battery and voltage is not reporting. As detected by Z2M is (https://www.zigbee2mqtt.io/devices/WSD500A.html#tuya-wsd500a)
but the picture is not the same. it's possible that this device is a different model with different reporting atrributes and that's why is not reporting it?
Sensor is this one: € 8,97 46%OFF | Tuya Smart Wifi ZigBee Temperature And Humidity Sensor Indoor Hygrometer Controller Monitoring For Alexa Google Home
https://a.aliexpress.com/_v14QlM
If support was just added it just takes a few days to move to stable
I haven't had time to troubleshoot this yet, but does anyone have any ideas as to where to start?
this is so cool
https://www.aliexpress.com/item/1005004170499860.html
human presence detector, based on radar
installed it in my bathroom
reliably detects me while minding my #2 business, sitting still
ditched all my motion sensors
tried it in bedroom over night. Properly detected presence while sleeping
mains powered, so no issues with batteries
I'm too thick to understand....how big is the sensor?
is it the same tech as that new Aqara sensor they are only selling in China?
The cheap Aqara ones simply detect motion and will turn off when there's no motion (if you're sitting still). The presence detector linked above will recognise humans sitting still as well.
he means the FP1
Ah, right
looks like about 3.5"
That's tiny. Very interesting! Thanks for the suggestion.
anybody tried these aqara presense sensors? https://www.aliexpress.com/item/1005004388243744.html
Those seems Interesting ! But I haven't heard of them
They are not registered on aqara website so ... Idk 😐
I have one, but I’ll need to update my co-ordinator to use it
OK, these seem to be "13" suggesting brand new, first Ive seen them. Please let me know how you get on
chinese website so might vary with the market. Ive been looking and these have only just popped up so might be brand new.
I've got a couple of the Lockwood T-Lock's and trying to setup with Zigbee2MQTT, and I can put the lock in pairing mode, but it dosent get picked up as a new device in Zigbee2MQTT, I've got it set to permit new devices. The lock only stays in pairing mode for 10 seconds or so, the zigbee dongle is in my room like 1m away from the Lock, so it should be able to pick it up easily
Anyone got any ideas about the above?
I have an Adurosmart Eria Smart Plug with Power Meter. It is giving me nonsense readings. 655V, 65535 A, -1A. There is a calibration feature in Zigbee2mqtt but that doesn't really fix it either. Is there a fix I do not know about, or is the power meter faulty?
Is it possible that the latest HA Addon is 1.18.1-1 with zigbee2mqtt 1.18.1 (02 Mar 2021) ?
is it on any compatibility lists?
No, but its meant to pair without being compatible, and people have posted the JS file needed to make it compadable
java script?
http://leftfoot.com.au/blog/zigbee2mqtt-and-the-lockwood-t-lock
Here is the guide that I was going to follow to set it up properly once paired
A lot of people have said they have got it working properly, so im pretty confident it should work
One question here, I have one sensor a bit fuzzy, meaning he is not as responsive as the other one I have. Could it be coming from z2m or most likely where he is positioned or something else ?
Having an issue where zha is receiving status updates for all devices but not executing any commands
Not sure what's going on
I had one plug, tucked away in the corner behind a dry wall, that had a weak connection, too. After I added some more units halfway to that corner, it has gotten very stable. So, there might be a good chance it's the position and a weak connection. Have you checked the map in Z2M? It gives you an idea of the quality of the connection....
No, sounds like you have the wrong add on location. Check the install instructions there was a change a while back
Any idea for a zigbee multisocket plug ? (where each socket can be controlled) I can only find wifi ones.
lidl has one, if you are a Euro. https://www.lidl.de/p/silvercrest-steckerleiste-zigbee-smart-home/p100335221
Quality is written on the map ? 😮 I guess it's the number on the line. Going to look tonight thank for the tips !
What do the Numbers in the Zha Visualisation at the lines mean? Pls ping on response
@gentle locust I would assume it's link quality.
I'm slowly moving devices from deCONZ to Z2M. I delete a device in Phoscon, restart HA, use the deconz service to remove orphaned devices, add to Z2M with the same name to get same entity IDs. Can I do something to avoid restarting HA?
there's a legend that explains everything. for the numbers:
"link quality is between 0 - 255 (higher is better), values with / represents multiple types of links"
ok thanks
I've got an issue with a Philips Hue Motion sensor that the temperature has stopped updating. I've recently (about a week ago) moved it to Z2M and it was all working fine but its just stopped. Everything else is working fine.
Any ideas how I can spring the temperature aspect back into life? Im relatively new to Z2M so not sure on the usual troubleshooting steps
I am not very knowledgeable about zigbee so I would like someone to explain. The zigbee hub I can easily find for purchasing is the sonoff zbbrige, I would then have to install tasmota on it and then use zigbee2mqtt for connection with HA
is that correct?
Don't buy a ZBBridge.
Just buy a SONOFF 3.0 USB dongle.
Only buy a ZBBridge if you want it as a zigbee router, and there are way better options than that.
You should have a stable serial connection to your coordinator, and WiFi bridge is not a good idea for that.
If I get the usb dongle that would need to be connected to the pc running home assistant right? I think it might be a little too far away to be in range
ah I see
and the SONOFF sticks aren't available? I can literally order one for same day delivery on Amazon, or aliexpress within 2 weeks ..
(and i'm not in the US.)
I don't live where you live
AliExpress is probably not gonna be an option for me, importing from china is a bit iffy
I'll try to give it a look
I'm surprised nobody else has chimed in.
I say this as someone with ZBBridge devices, and the warning messages on the HomeAssistant site.
I have this Hue motion sensor which has been such a pain the last few months. I have 3 and the other two are working fine. This one is in the same small room as the coordinator. It just suddenly stops working. I thought it was the batteries but I just changed them maybe a month ago
I dunno if it's defective or what. It sits right in front of my computer which I'm almost always at, so maybe it's just dying really quickly cuz it's activated all the time?
But it takes two AAA batteries so I wouldn't think it should die that quickly
In my experience, they last about 2 years .. Even in busy areas.
I have one in my kitchen and one in my bedroom.
Purchased in 2019, batteries replaced once.
Yeah I have no idea. Changing the batteries last time got it working again, so it's sort of seeming like that's the case, but the life seems way too short for that to make sense
Sounds like it's defective.
I also have the timeout at 10 seconds. So it's basically reactivating every 10 seconds maybe 12 hours a day
me too
I'm gonna try turning down the timeout cuz I don't think I need it to be that low for any of my existing automations. Well I'll try that if the new batteries seem to fix it again
Also gonna try contacting philips support. Dunno if they'd offer to replace it though
sure 🙂 give that a try.
I'd do both.
I wouldn't tell them you're using it on ZHA, though.
or whatever.
Yeah definitely lol
Anyway I checked and mine are set at 10 seconds too
82% and I replaced the battery in January .. or December?
on my kitchen one
This thing was also fine for maybe 5 months while I was on zha then this started happening after switched to Z2M
Could just be a coincidence though
I use ZHA.
I couldn't tell you.
I did have them on a Conbee II stick via deCONZ before ..
has far too many different zigbee coordinators
Ah ok. I was gonna say, cuz none of my devices on Z2M report battery properly. They all say 100%
Yeah def. I dunno why it hasn't been addressed
Maybe figure out what's wrong with that? Tons of people here swear by z2m.
I know. It could be that they are mostly aqara devices. I think I only have battery powered aqara and these hue motion sensors
bleh. I wish the Hue motion sensors weren't so expensive. They are 1000x better than SONOFF or Aqara.
Aqara report battery just fine ..
Yeah on ZHA they reported battery as well
My Hue motion sensors always reported 100% I think on ZHA. But I wasn't sure if that was ever an issue with ZHA since I figured the AAA batteries would have lasted a while
Don't think so? I have a Tube Z one and it's pretty well regarded
I want to like Z2M but it kinda seems less refined than ZHA
Or less stable I should say
I tried it and I was not impressed but that was just me.
I also didn't feel like migrating 130+ devices to Z2M lol.
It seems to have wider support though. Like my vibration sensors didn't report a lot of entities on ZHA (like angle, type of vibration, strength)
Oh damn 130 lol
Yeah, and in other cases.. like I couldn't detach my Leviton wall switches from their relays with z2m.
Hi! Conbee2 seems to reset few times every day with my NUC (Ubuntu 22, only Z2M installed, HA in different hw). I do not know is this related to Ubuntu kernel or stick firmware or something else. Z2M luckily handles those resets pretty well but I can see some side effects in light / motion sensor states in HA. I'm tired of fighting with the Conbee2 so recommendations on best USB sticks?
Some requirements: Z2M support, reliability must be close to 100% and support for at least 120 devices (at the moment: End devices: 71 (mostly Xiaomi & Hue), Routers: 44 (mostly HUE)). Price can be anything up to 70 EUR. I do not care so much about the price because all lights in this house are controlled by Zigbee and network must work without any issues. Thank you 🙂
Yeah it wasn't too bad for me. I had like 15-20 at the time
So it's a compromise.
Do you have it on a USB extension? I think the recommendation right now is a SOnoff 3.0 USB stick, which acn be had for $15.. and Im sure @molten linden will pimp you his network solution.
Yes, extension used at the moment.
I had many problems with the deconz stuff, they're in a drawer for me now. I have a similiar network composition to you .. but more hue bulbs. ive been very happy with sonoff 3.0
@fair mountain Have you happened to use the aqara vibration sensor? The one I have in my dryer has been really unreliable
No, Aqara sucks though .. they dont follow zigbee spec, so they get stuck to a particular router.
ZHA supports any compliant device - any non compliant needs a quirk. Some devices extend functions outside the zigbee spec and require more work. Z2M supports nothing without a converter. The bar to create a converter is lower than creating a quirk.
I have a ton of aqara motion sensors, smart buttons, etc.
I thought it was the connection but I have two repeaters now and it's still unreliable
Aren't the quirks always included with the device with ZHA though?
Yes, and the converters with z2m
I remember seeing quirks mentioned in the HA UI when using ZHA. Maybe there just isn't one for the aqara vibration sensor? I was shocked how many entities I got when moving to Z2M from ZHA with that vibration sensor
Type of vibration, 3 different angles, strength
That would be a little odd. I would think they'd at least be attributes
Ok this is unexpected behavior from Z2M. I delete the Hue motion sensor from Z2M, pull the batteries, then put them back in and the device is able to rejoin even though I never enabled "Permit join". What's the deal?
Maybe the leave request never made it to the device, so when repowered it just rejoined.
I would figure the permission to join would be controlled server side
Only for new devices
But yeah likely it never made it to the device since it's all janky. I don't get why it immediately rejoins but it isn't sending any sensor information
Existing device will know all the network info
Ah
I would think that if I delete the device from Z2M without choosing the force option that would mean it would make sure the device responded to the deletion
Which is what I did. Yet it still rejoins
hello. i have home assistant running in a virtualbox VM.i was following instructions from https://www.youtube.com/watch?v=ql58ZfXso1M&ab_channel=EverythingSmartHome and https://github.com/zigpy/zigpy-cli/pull/2 to to a backup of my configuration but i'm hiting a wall. having problems with the commands lines in ssh...anyone succeded??i'm in a hole right now...
@kindred harness posted a code wall, it is moved here --> https://hastebin.com/tewokemura
@kindred harness posted a code wall, it is moved here --> https://hastebin.com/xoralurodi
@kindred harness posted a code wall, it is moved here --> https://hastebin.com/jihojuquti
Hi, I have added a new sonoff 3.= zigbee stick in favor of my problematic texas one. And now I have a additional device called unk_model
von unk_manufacturer, but I can't delete it. I assume it is the old texas stick. how can I remove this or reset the whole zigbee devices.
Did you wake it before sending the leave? Battery devices will be sleeping most of the time.
Source: components/zha/entity.py:146
Integration: Zigbee Home Automation (documentation, issues)
First occurred: 12:32:24 PM (13 occurrences)
Last logged: 1:58:27 PM
lock.front_door: Error with unlock_door: Request failed after 5 attempts: <Status.NWK_INVALID_REQUEST: 194>
lock.front_door: Error with lock_door:
lock.front_door: Error with unlock_door: Request failed after 5 attempts: <Status.APS_NO_ACK: 183>
lock.front_door: Error with unlock_door: Request failed after 5 attempts: <Status.NWK_NO_ROUTE: 205>```
Anyone know how to fix this
I just tried deleting it while the batteries were out and it failed and it leaves fine after i put them back in
Woke up in time to get the message
Can you try running apk add python-dev and retry the pip install command?
I also realized there was a second button on the sensor labeled setup, not sure what it does though. Also the new batteries don't seem to have any affect
It's really seeming like this device is defective. It seems to join and leave fine but it just won't report anything
What device are you controlling? The errors aren't really something you fix, all they say is that the device is unreachable and no alternate way of trying to contact it worked.
its a lock. i deleted it and readded it, tried configuration a bunch of times too. it worked once after the readd but then immediately stopped
Battery powered lock?
yeah
Can you upload the diagnostic data for it somewhere?
Oh wait I just realized I've been holding down the wrong button when I open it up. There's another one that's available to be pressed when the case is off
Not that that seems to matter
I think I found this in the zigbee.db file. I’ve given up trying to use a tubeszb based on the Texas CC2652P2 - compared to the Conbee is very troublesome.
I think you're a part of the very tiny minority that have better results with the Conbee compared to a TI stick 😆
did you edit the zigbee.db file or delete it?
tried this, but without success https://community.home-assistant.io/t/zha-remove-old-coordinator/368386/2
Maybe, but tried it on a clean instance of HA, and equally troublesome.. different location, different devices…
Can you PM me a copy of the zigbee.db file? You should be able to just delete the entry from within ZHA.
I had to edit mine, couldn’t delete the unknown device in the gui.
done
Got it. Are you referring to 00:12:4b:00:24:c0:8a:ff?
I'm not seeing an entry for your current coordinator