#zigbee-archived
1 messages · Page 61 of 1
more like a crackhead den with toothbrushes hanging from the ceiling
I like crack
just throwing more interference into the mix is going to harm existing hue too - especially if you dont choose zigbee channels accordingly
4 networks, 4 zll channels. checkmate 😛
How do I know if I have interference?
we havent confirmed whether he lives dangerously with 40mhz band width on 2.4ghz too
whip out your phone. approximately how many wifi network can it see?
also look at each hue bridge and see what channels they are on..
I'm in London so I have 11 🙂
11 what
is that a requirement in London?
anything under 10 is so glasgow
that's why i prefer Liverpool
visible networks i assume
ya it just like.. didnt really make sense the way he phrased it and didnt reply to you
in which case, safe to say there's probable interference given that and his 4 networks
for shizzle
so just to be clear @wind marsh you understand that the ideal scenario is to use a zigbee coordinator on the lowest interference channel, pair ALL hue devices to it, and remove the hue bridges completely. - Instead, you want to add another zigbee mesh using smart plugs you dont need to extend the mesh to another area, correct?
and that makes sense to you?
and just to tie it in a nice bow.. you're making future you have to redo so much more shit as you slowly transition to using home assistant more and realize that what i said above is accurate.
also, you dont need to buy "friends of hue" bullshit, instead you buy the best zigbee devices you want and add them to your mesh regardless of what the box says.
It's worse than that, I just wanted to use Ikea buttons 🙂
Because I like them
Sorry to ruin your day
Is there any definitive document about moving lights from Hue hub to ZHA? I've only seen a lot of "this worked for me, yymv". My lights on the Hue hub are in the soffit outside the house, so not easily accessible.
well
you delete a device from the hue app, it goes into pairing mode, then you pair it to a zigbee coordinator
whether it works well or not is up to you
nobody's trying to ruin your day, we're trying to give you solid advice.
you're building a needlessly complex network that will result in problems.
I don't understand the "is up to you" part. Unless you mean "it might work, or not"
it's not complex.. it's more like buying three bikes instead of a motorcycle
and trying to ride all 3 bikes at the same time
I appreciate it. You guys clearly know more than I do but this is where I am and I can't go back in time.
i mean if you do what gravitom is doing and dont follow advice or do what's proven to be the right things to do then you are going to have a bad time
sunk-cost fallacy
noun
the phenomenon whereby a person is reluctant to abandon a strategy or course of action because they have invested heavily in it, even when it is clear that abandonment would be more beneficial.
I have a finite amount of time to work on HA so I prioritize what is broken and what I need.
i hear you, but sunk cost fallacy applies here
you will spend a greater amount of time dicking around with this solution vs just blowing it up and doing it right
trust me, as someone who's spent far too much time dicking around with bad solutions
I'll take that in mind. I'll probably just shelve SkyConnect until I have time to migrate everything.
But that day is not today 🙂
i'll expand. if you follow these steps you will have a solid zigbee mesh with your hue devices sans hue bridge.
- buy cc2652p based coordinator if chosen to use z2m, or efr32 if chosen to use zha. possibly even a PoE coordinator such as tube's
- place the coordinator centrally located, which is why the PoE ones are nice, and make sure to use a USB extension cable if you buy a usb coordinator. you will also want to escape a network rack, and get away from access points and SSDs.
- scan zigbee channels prior to adding any devices
- move 2.4ghz wifi AP channels to channels that arent interfering with zigbee, if needed
- add devices starting closest to your new coordinator
Why a cc2652p coordinator over SkyConnect?
caveat to #3: While you can do this, you of course have no control over neighbouring APs in your airspace so YMMW
Anecdotally, my network went to shit after migrating to SkyConnect
proven stable hardware chipset and firmware and z2m stable does not support efr32
skyconnect is a mixed bag with z2m
Z2M is an alternative to ZHA?
yes
it is preferred by a lot of us here
more than anything it's just personal preference but there are some 'benefits' in my opinion
but it uses the dreaded MQTT
I'm only using it for ESPresense and no problems so far
Thaht's sarcasm 😉
tinkerer: and i took that personally
no, people actually dread those 4 letters
MQTT ... that really lightweight low overhead protocol that brings toasters to their knees
#zigbee-archived message btw tinkerer can you edit this pin since network key/pan_id/ext_pan_id are all now randomly generated?
Are all you guys developers?
something something, another failure point, something something, network congestion, etc
none of us are
i'm an accountant
that explains.. a lot
yes, thats why i know about taxes
You must be in the hospitality industry
wait wait wait - whats wrong with mqtt? lol
you wish gramps
main recommendation for using esphome or ZHA is "you don't need to run an mqtt server"
ohhh lol, i guess i read it wrong
something must be wrong but i didn't get that memo
I prefer Z2M as well 😛
People that find MQTT hard are likely to run into other problems with the simple stuff
ahhh i get it now! haha, i was like wait a second.... ha!
i don't like esphome just because it doesn't work well with mqtt 😄
ZHA vs Z2M, is it using different technologies or just different versions of the same thing?
mosquitto is one of the most stable things in my homelab, lol
It's like protestants and catholics... basically the same thing but many (online) wars have been fought over the subtle differences 😛
Haha, good example
perfect analogy
PS - Can someone have a look under my car before I use it next?
Thanks. I already have the nabu casa skyconnect for ZHA, with a few devices connected and working. I have a few remaining devices that only use 2.4 wifi, but there doesn't seem to be any conflict. I guess I'll give moving the hue hub devices a try. I just want them off Hue before Philips starts mining my data.
tinkerer based on https://www.silabs.com/documents/public/user-guides/ug103-09-fundamentals-zll.pdf channel 11 is also a ZLL channel if you want to add that as an option in the pinned message you edited
Does anyone know why Zigbee2MQTT shows all options for a ZigBee LED controller but HA only shows DND?
https://imgur.com/a/8U66Pup
Yeah, but is stomped on by WiFi channel one
fair
15,20, and 25 are at least clear of WiFi on 1/6/11
Running HA on a VM inside my NAS. It seems like every so often after an upgrade, my zigbee stick (attached via a usb hub) fails to connect back up to HA. I know the hub is working because my zwave stick works fine. In my VM I see both USB interfaces, but I don't see it in Home Assistant. I've tried rebooting HA/VM and unplugging the USB multiple times. Is there a command on the HA command line that I can see what USB interfaces it's seeing to see if I can manually configure this stick within the Zigbee Serial Port Settings?
because its Tuya and there's no quirk for your device
I have heard of Tuya and issues so I'd be inclined to believe that, however I did have it connected and working previously, then I had it unplugged for weeks and had to reconnect it to the coordinator. I guess that means the answer is just keep removing and reconnecting until everything is available again?
Hmm scratch that. I see some documentaiton pointing to where i would see it in HA.. but the issue I guess is that I don't actually see it within HA.
It's in the ZHA diagnostic information. Otherwise, I'd recommend to re-configure your current radio using the ZHA UI.
have you tried re-pairing it?
I tried to reconfigure, but I don't see the device listed. Which, I do see it on my VM side of the house.
it's almost like HA isn't seeing that I have something connected to that USB port
If the device isn't listed at all, then HA doesn't see it. Likely not a ZHA issue then
What hypervisor are you running?
Does the device show under "Settings -> System -> Hardware -> all hardware"?
Can you try changing the USB passthrough controller type in your hypervisor?
I don't think so. It's actually kind of frustrating in my hypervisor because both sticks show up as the same name usb device.. sort of strange, but that's how it's always been.
If I want to migrate back to my old Zigbee radio, are there any other steps i need to take given that I did the Clone IEEE address thing when migrating to the SkyConnect? I'm giving up on this, it's just broken so I want to move back to my Sonoff coordinator.
So you have a USB hub with just two devices plugged into the physical USB port on the Synology?
Yea, I guess I'll just keep doing that until it works again. I even still have the old entity in my dashboard for turning it on and off and changing the colour etc
Migrated back to my Sonoff stick. All my zigbee shit works, instant response. no delivery_failed messages. SkyConnect isn't ready for primetime it seems
That's correct.
No issues here with SkyConnect and other similar coordinators (when using ZHA)
My logs are littered with [140223690769472] Failed to send request: Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>. started right after i migrated to SC. went away immediately after migrating back
Did you grab diagnostic information when using SkyConnect? (it contains channel utilization amongst other things)
if you google "SkyConnect <EmberStatus.DELIVERY_FAILED: 102>" there's a pile of results with people having the same issue. it's not universal, but it's certainly common enough.
Yeah, it means that the stick couldn't send the message (or rather that it didn't arrive). It's a generic error.
yes, using that information i moved from ch15 to 25. Issue was slightly better but ultimately still remains
SkyConnect was plugged into a USB extension?
yeah
i did all the idiot checks
given that the issue appeard when i moved to SC, went away immediately after migrating back... stands to reason that the issue is SC and not my environment
but ofc i could be missing info
Unless your SkyConnect is broken in a weird way, it's likely not the stick itself.
stick or sw controlling the stick.
Did no devices respond when you sent commands from HA?
some did, some didnt. sometimes a device that wasn't working would work later.
And you migrated back to a CC2652 based Sonoff stick, right?
There were some changes recently, so this might be outdated info, but I think zigpy-znp (lib for TI/CC2652) uses more aggressive retrying to send messages multiple times if they're not delivered successfully at first. That can sometimes hide network issues.
But maybe that wasn't your issue. Did you try power-cycling the affected devices?
that was puddly's theory as well... and in fairness the b0 HA update did make things slightly better, and changing channels from 15-25 made things slightly better.... but it didn't eliminate the issue.
regardless of how the experience is achieved, the experience is night-and-day better on the sonoff
i'll hang on to the SC and maybe try it again sometime in the future. for now, for me, this isn't the solution.
extremely disappointing but for something that controls my house stability/reliability is paramount.
FYI - Incase it ever comes up again, I ended up just doing mass upgrades on my VM and it rebooted itself, and now my zigbee stick is recognized in HA... so either the reboot of the nas fixed it or some upgrade was breaking it.
I'll have to pick up the exact models of Sengled bulb that you're using. What router were they connected through? I have five Sengled bulbs on my home network and they work without issue with either coordinator.
Either Sonoff S31's or Thirdreality 3RSP02028BZ
the ones next to me were connected directly to the SC
If it weren't for the 2-5x price difference on devices i'd go 100% zwave. Zigbee for me is saving money by sacrificing sanity.
Hi, new member to the discord group and new to Home Assistant, not a developer either... I purchased a Home Assistant Yellow, because it has everything I think I need to get going including ZHA, as I really want to deploy sockets in the wall to monitor power usage and control devices (on & off) I also want to lock the switch in a position (prevent tamper by children).
I did some research and purchased some Aurora double sockets "DoubleSocket50AU" so far so good, I have paired the device and can operate, but some capabilities are missing, like light control, locking the switch.
So I thought I would try Z2M but I am having massive problems getting that working. Is there anyone willing to help a newbie get this sorted and educate me in how to troubleshoot these things.
Facebook group said try quirks, but google doesnt really hlp me find a solution.
yellow uses an efr32 zigbee chipset you do not want to use that with z2m
just stop while you're ahead and use zha or buy a cc2562p coordinator if you want to use z2m
happy to stay with ZHA, if I can get the functionality sorted. But no idea how to either fix myself or find a work around. I saw articles and posts where people mentioning they got it working I guess outsid eof Z2M
can anyone help me with skyconnect support and actually getting the integration working?
if devices dont have support zha or z2m can add it with quirks you just gotta get the right person to help you or go down rabbit holes on github i think. i havent needed to do that myself
It has basic ZHA support. I can control device on and off
@gentle patrol Don't ask to ask, just ask your question. Then people can answer when they're around.
When you do ask a question, try to provide as much background detail as possible. Ask yourself these questions first so that others don't have to:
- What version of the Home Assistant are you running? (remember, last isn't a version)
- What exactly are you trying to do that won't work?
- Is the problem uniform or erratic?
- What's the exact error message?
- When did it arise?
- What exactly don't you "get"?
- Can you share sample code, ideally with line errors where the error occurs?
Check the Manage clusters menu or upload the device signature or diagnostic information to dpaste.org and send the link here
Thanks, let me try and decode that 🙂
Just gonna throw it out there....Have Skyconnect And I am replacing my zwave/zigbee HUBZB1 stick ( I have deleted zigbee and I am starting from scratch) When I hook up the skyconnect I get NO auto add zigbee device..I can manually add zigbee and see the dev/tty/USB2-CP2102n usb to uart bridge controller s/n.... when I select that it gives me a error that says firmware is wrpng and cannoot be used with ZHA until the correct firmware is installed. a repair has been created...
I will get the diagnostic information, I can see that
I click on the repair and it says my zigbee radio was previously used with multiprotocol (Zigbee and Thread) and still has multiprotcl firmware installed to run your radio exclusively with ZHA, you need to install ZIGBEE firmware...but I do want the Zigbee and thread running I thought that was the whole point of this?
Here is the diagnostic https://dpaste.org/E1BWO
Despite having routers everywhere my zigbee devices only want to pair when they're near to the coordinator. I can see in my topology that devices are connecting to non-coordinator router devices, but for pairing it seems to only want to connect to the coordinator.
yeah, not supported at the moment. This is the issue you wanna follow: https://github.com/zigpy/zha-device-handlers/issues/2574
ZHA 2023.9.3: How do I delete 'controls' of a Zigbee configuration? I use a 'Silicon Labs EZSP' USB Zigbee Controller. In HA there are two 'Control Elements' (German: Steuerelemente) shown on top of the second column. (would like to post a screenshot) Each of these toggle-switches control two different Zigbee spot-lights. Two of them are in my bedroom, two in my livingroom. Bud sadly both are 'connected' to the same room. When I change the location to livingroom the control of the two bedroom spots change too. I don´t even need the control for the livingroom spots (or that these are connected to each other), but I don´t know how to delete it. These are not a groups - or not listed there. Where do I find this in the configuration files? Would like to fix it there.
These 'pairs of spots' do have a configuration page (via gear icon to the top right). There I can rename it and change its icon - and is a 'delete' link to the bottom left, but it is inactive. What kind of 'group' is this?
In HA there are two 'Control Elements' (German: Steuerelemente) shown on top of the second column. (would like to post a screenshot)
post to imgur, then post imgur link here. i think i know what you're talking about but i'm not positive
sounds like you've got a single device with multiple switches, but your switches control lights in 2 rooms?
if that's the case, just create a group(via helper menu) and group the lights, effectively bypassing the issue of having a single device assigned to a given room/area
reee use zigbee groups instead reee
true. i dont have more than 2 things in any given lighting group (save for 1, with 4, 2 being zwave) so it's not a big issue
definitely best practice to zigbee group if you've got a bunch
yeah i still do it for 2 personally but it's technically causing extra traffic on the mesh each time i use the group
if it ever becomes an issue i'll revisit the idea of only using for >3 or something
ugh y'know what... just so you'll break my balls a little bit less i'll reform some of my HA groups to Zig groups haha
./giphy phrasing
Thank, that’s the back light, the one i really want / need is locking the physical controls
What’s the best way to get this switch fully supported.
From what I can see, Z2M also doesn't support this? https://www.zigbee2mqtt.io/devices/AU-A1ZBDSS.html
Are you sure the switch supports locking physical controls?
I re-read the threads I found earlier and I think they were hooking these switches upto a smarthing hub to achieve it. So I assume they can do it, just need the drivers. I am happy to get a smarthing hub if that’s the way
They arnt ST devices either
The link for the SmartThings drivers would help in getting them supported
Basically, we need to know which attriubtes (on which cluster + endpoint) are used for locking physical controls, as it's not a standard ZCL function.
Here is the threads for dimming, I am looking for the disable button for one https://community.smartthings.com/t/double-wall-socket-for-uk/161173/55
I wonder what if I can get around this by creating a routing that every x seconds turns it off between hours or something
Maybe I should try these, they don’t have power monitoring though 😦 is there a way to tell if there is a way to disable the buttons
Maybe I should try these, they don’t have power monitoring though 😦 is there a way to tell if there is a way to disable the buttons https://community.home-assistant.io/t/uk-zigbee-smart-sockets-scolmore-click-smart/329660/3
If the Z2M page for the device mentions it, the hardware supports it (and could theoretically be implemented in ZHA as well)
Thanks I will keep digging and maybe order some click smart and ones as well, maybe see if I can achieve the desired result by automation
Thanks for helping, I was loosing the will to live
Welcome to smart home 🙂
the night is young
What do you want to achieve? Force plugs be on/off at a certain time?
Yes, bed time for kids, I had plugs, but they just took them out. So they need to be prevented in turning them on
You should be able to have "plug turned on" as a trigger. If that happens, just turn them off again.
The light/switch will flash briefly, but should turn it off quickly
In a condition with HA, you could even check the context of the trigger to see if it was toggled through HA or "via the button press"
Oh that’s an idea, can I schedule that and had a mode button or something to do that manually, sounds like I am adding complexity
This is more #automations-archived territory, but you could just have an automation with two state triggers (to on, to off) (to ignore state change to "unavailable").
Then, add a template condition like {{ trigger.to_state.context.user_id == None }} or {{ trigger.to_state.context.parent_id != none }} (there's a difference when triggered via UI vs automation vs via plug button).
If user_id == None for example, turn on/off the switch again. (Depending on the trigger ID of the state trigger)
With that, you might even be able to put your schedule automation for night time into a different automation.
Although you probably want to check parent_id rather than user_id.
(Check out this for more info on automations IDs: https://community.home-assistant.io/t/work-with-triggered-by-in-automations/400352/8)
Of course, this works around the issue of not being able to block the buttons on the plug. But maybe that's enough for your use-case and the kids will eventually stop trying to press the buttons
https://dpaste.org/A80BK <- scary yaml | not scary gui -> https://imgur.com/a/T9K5FMi examples look at these and let me know if it makes sense
^info i've shared in the past in #automations-archived to easily visualize what he's talking about
A decent plug has child lock options 😉
Simple on/off switch that can be used in HA
Christ!!! Going to have to have a go at this and start getting my head around it. I might just start of with basic triggers and work up, must admit alittle scared and excited all at the same time lol
Thanks, I will take a look, I only installed HA yesterday
lol, for me, I need to keep things simple for now… one with a pre-built option would be nice !
Don’t suppose there would be a blue print for this, can’t believe I am the first to look for this
I'll just leave this here to rub some salt into the wound
Nooooooo how !!!!
it just came with the plug
I can’t see it on google, I take it not a UK plug
its an EU standard 5$ tuya plug i found on aliexpress
Tipical
https://www.aliexpress.com/item/1005004945906794.html has child lock too
I used ones lile that, the kids just unplug them
get an outlet then
That’s the plan I am trying I bought one with power mgmt as well
Don’t I know it…. But no way am I sitting up all night, policing them, they pretend to be asleep then get up and on the Xbox to all hours and I am snoring away next door. Parenting hasn’t worked they don’t care, so now I remove power. I also work night shifts!
You can always troll them
There is an idea
Gain their respect the gen z way
After 10 min of Xbox using >1mbps toggle lights in room and power cycle outlet
I think I will try the automation because I would like to get the power readings as well
Love it, I got unifi and it has traffic limits, but couldn’t see this in the integration as that was also an idea I had
It’s in the integration
I forget what it’s called but you can toggle group settings or something
Oh I will have to look again, I saw all the ports but that’s it really
It’s in
of UniFi integration
Gotta enable it
Plus configure the device in the controller
It’s not hard
Thanks I will look again
I told him what I was upto with an evil laugh, 🙂
You will lose, have a good day kid, now go take out the trash
A year ago a guy was in here making a dashboard for chores with points
Gamifying it
I won’t loose 🙂 thanks for the help
That was me imitating you talking to your kid
Absolutely, I said I will just keep upping the anti as he adapts 🙂 it is kind off fun as well. If I can get to grips with it
Also helps cut power as they leave it all on sleeping
I still think you’re going about it the wrong way but I don’t get paid enough for psychoanalysis
Autism, ADHD, ADD doesn’t help do things the normal way, but I take your point.
Well depending on the level of severity the child should have even less access to the internet for their own safety
I help a woman with tech stuff who has a child in her 30s with autism and about an 8 year old mentally. She loses no matter what she does 😭
Are there any performance metrics avaiable from the Yellow built-in Zigbee controller? None are visible from the device GUI
What performance metrics are you interested in?
Don't know specifically but anything that will let me know how well the network is working. The only thing I see is RSSI and LQI (whatever that is exactly) for devices that report that to the GUI. Not all do
Happens to neurotypical kids too. Sometimes kids just want to play video games. But I hear you
The ezsp counters give a bit of insight - you can see a snapshot if you pull the diagnostics file, or enable debug logging for bellows and you will get them as reported.
^ @keen merlin
bellows? ezsp counters?
bellows is the radio library for ezsp (silicon labs) radios used in sky connect and yellow
Example:
I dumped the logs for the controller and other than some LQI values is see nothing that looks like a performance metric ... how do i get to to bellows data and/or ezsp data?
Set bellows to debug logging… or you can just download the diagnostics file to see them
That looks promising
So I add this to the config?
logger:
default: info
logs:
homeassistant.core: debug
homeassistant.components.zha: debug
bellows.zigbee.application: debug
bellows.ezsp: debug
zigpy: debug
zigpy_deconz.zigbee.application: debug
zigpy_deconz.api: debug
zigpy_xbee.zigbee.application: debug
zigpy_xbee.api: debug
zigpy_zigate: debug
zigpy_znp: debug
zhaquirks: debug
What's the story on moving Hue bulbs to HA? Good Idea, or a headache?
So I dumped the bellows diags now I need to get a PhD in Zigbee to figure out whay it means 🤣
Previously I set my channel to 25 and that's still the channel with the lowest energy of 15, 20 and 25, In spite of the warning changed the channel from 15 to 15 and all the gizmos followed without complaint
You just need bellows.zigbee.application
is that in HACS or ???
Pretty much 😂
No it’s the one debug log to see the counters in the ha log
I just turn it on and off via service call when I want to check them
Be nice if Zigbee wizard added some simple distillation of Zigbee stats to the Zigbee Controller page that indicated overall health the Z-Wave controller has nice stats
Not aware of any other radio type that does anything like the counters
And zha supports 3 (4 if you count xbee) types of radios
Or is it 5🤔
@keen merlin I converted your message into a file since it's above 15 lines :+1:
Those stats give you a real easy to understand picture of the Z-wave network
Hey everone. I'm going crazy trying to repair this device:
https://zigbee.blakadder.com/Giderwel_C05Z.html
It was paird and working fine on Z2M, then it disconnected. Trying to repair it, it'll connect but only give me the option in HA to put it in DND mode but in Z2M it has all the options. That being said, sometimes the colours are wrong, sometimes they're not.
Right now red is red, green is green and blue is dim red.
hey there,
is there anyone by chance that can help me with integrating my RaspBee 2 into my Homeassistent?
i allways get the error that the connection is not working during the setup assistant
oh btw im running it on a Raspbarry Pi 3B+ with a POE Hat with GPIO passtrough
TuYa WSD500A's (Ts0201 _tz3000_xr3htd96)
Home Assistant 2023.9.3
Z2M 1.33.0-1
The TuYa device stops reporting after about 2 hours. Is there a way to tell it to not fall asleep? The 2 plugs I have don't fall asleep, only the temp/humidity sensor.
Running HA OS 10.5 in VMware.
Sadly not, but probably it fell off the mesh
Did you pair it in place?
Did you pair it to a nearby router, or just let it pick?
I pair it in place as well as with the nearby router.
It stops responding after 2 hours, only feet from the router. Then it will start again in about 24 hours. Then after another 2 hours, it stops.
Ah... "quality" Tuya strikes again
So I partially did this to myself by going cheap, but I grabbed a OUVOPO Motion Sensor off Amazon, and I got it connected to my HASSIO instance using ZHA. The problem seems to be that once the sensor detects motion, it'll run the automation once, and then just get "stuck" detecting motion until you reset it by putting it in a drawer or another dark space. Any ideas how to fix/mitigate this? (It's a PIR based Motion Sensor).
Create an issue here if there isn't one already: https://github.com/zigpy/zha-device-handlers/issues
Make sure to fill-out the issue template
I am still seeing these errors (was told an update had solved them):
Discarding _save_device_last_seen event
13:10:38 – (WARNING) runner.py - message first occurred at 09:25:14 and shows up 414162 times
Discarding _save_attribute event
13:10:38 – (WARNING) components/zha/core/cluster_handlers/init.py - message first occurred at 09:25:22 and shows up 36686 times
https://imgur.com/a/bbSTtly These 'controls' for zigbee devices represent 2 lights, each. (Not listed in groups.) How do I delete them? How do I find it in the configuration files?
ZHA -> Configure -> Groups tab
https://imgur.com/a/Kd3sPA3 not listed in groups
i want zigbee doorbell switch that receives 220v current form wired switch
Hi guys, I got this https://tubeszb.com/product/cc2652p2-based-zigbee-to-poe-coordinator-2023/ and had 3 smart plugs (zigbee) for a few weeks and they all suddenly became unavailable. I was able to put them on pairing mode again and re-add them but what could have caused this? Attempt to -reconfigure didn't work.
Any thing in logs?
No, I screw that, restarting ha seems to wipe the logs. There is very little and not relevant. I have to check what I can do to make logs rotate or persist after restart
I kept one device, without re-pairing , if i give 'reconfigure' another go, will the report help?
Could it be anything related to channel config being "auto" ? perhaps it moved to a different channel after detecting interference? Would manual work better if can tell my APs to avoid said channel at all times?
Hello my dudes. Completely new to HA. I've set up a RasPi with HA, ZHA and a SkyConnect Zigbee antenna and shifted all my Hue lights and accessories to it. Much success, I've set up automations to toggle and dim lights with dimmers, buttons and motion sensors - but one accessory isn't playing ball. I have a Hue Tap Dial and I can see events coming through when I use it, but when creating an automation, I only get 'device offline', 'battery level changes' and 'identify pressed' as triggers. Any ideas what I'm missing? Is it a 'blueprint'? I'm not even sure what to search for.
are you sure it paired correctly
blueprint is basically a more complicated to create but easier to use version of an automation
Yes, and yet no 🙂 It seems entirely healthy to me, but I'm brand new to HA so I could be wrong. I could try a reconfigure, nothing to lose I suppose.
ya re-join it
sometimes devices just dont join correctly and you go down a rabbit hole for nothing
ooh interesting, ok
actually if events come through when you use it it's prob working fine
still cant hurt to rejoin tho
i dont have any experience with zha + events tho so i'll let someone else jump in to help diagnose
Mm, so a 'reconfigure' completed immediately and reported success. I still get events when I use it, like: "Tap dial Recall event was fired with parameters: {'group_id': 0x8E2B, 'scene_id': 1, 'transition_time': None}"
^ I take it 'reconfigure' does a re-join? Or is that a separate action I can attempt?
I have to say though, I'm otherwise very impressed with HA so far. Total and immediate convert 🙂
Hehe, no doubt. I just bought my first house 6 months ago and just got my meter replaced with a smart meter. Once I've got the lights sorted, I'm going to look into whether I can connect into that too. I imagine that's going to be somewhat harder.
water or electric?
electric
is it one of those?
funny enough, smart electric meters can interfere and cause issues with zigbee
especially with joining certain devices iirc?
no personal experience with that myself tho
Ah none of those - I'm in Scotland XD
but yes, my silly little 'in-home display' device they gave me connects to the meter with Zigbee. If i find any evidence of interference, I'll change channels - at least once I figure out if/how I can connect to the meter myself.
well i believe that is not possible at this time
something about ZHA not supporting zigbee power something or other
I'm also going to be looking at solar next year, possibly battery and possibly also hydro. That will also be fun to try to meter 🙂
puddly has explained why here in the past if you want to search from: puddly here. he's the zha maintainer so eventually it will probably be him to bring support for that
Interesting, cheers!
Was using a SNZB-02D temperature/humidity sensor + display for a few weeks without any issues with my tubeszb CC2652P2 PoE Coordinator and ZHA. Without warning (or updating), it no longer can record temp. Have tried reconfiguring, removing and re-pairing, resetting the temp sensor by removing the battery, to no avail. I actually ordered two (second was still in the box), and the second one behaved exactly the same. Rebooted the coordinator through the gateway (not a hard down/up) and restarted Home Assistant. Unless anyone else has ideas I'm probably gonna end up returning it.. meanwhile the aqara temp sensor has been working mostly well for the past year+ (no display, occasionally disappears but reappears).
Hey guys. Anyone recommend using Zigbee while living in an apartment building? I am afraid the wifi from other units will affect the signal.
Hey guys - when I first made my HA, I didn't know a lot and set up all my zigbee devices with ZHA, but I suspect it as the cause of many of my hard to diagnose issues. What steps, up to and including rebuilding everything if I have to, should I take to move to zigbee2mqtt? I have mqtt setup already for frigate notifications and it works flawlessly. Thanks
Man is it just me or do ikea on/off buttons just simply suck
They either never seem to pair, or after they do they lose connection. And getting them to work usually requires pressing the button behind the cover 4x, vs holding for 10 seconds per the manual, so even their instructions seem wrong?
Should I invest in their hub and have them pair to the hub first for better compatibility with zha?
Howdy folks, seems I missed something with ZB. What is the difference between ' "First button" pressed' and ' "First button" pressed (Alternate mode)' ?
I have Opple ZB Buttons (2, 4 and 6 button units)
Which issues are you having?
Endless motion sensor pairing issues, random light pairing issues
I've just finished "moving" everything to z2m and I already like it better.
On which HA version were you and what motion sensors did you try to pair?
I’ve been told that Zigbee groups are the way to go(rather than HA groups) but everytime I change a group(on/off, temp, brightness) other Zigbee bulbs not in the group also change. Any clue what could be causing this?
ZHA or Z2M? What lights are you using? Did you try adding them to the group and then removing them again?
Z2M. Sengled. Yep. No issues controlling them out side the group. But as soon as I put any lights in a group, it will also control lights not in any groups.
I have multiple fixtures that have multiple bulbs, so I hate using ha groups cause they all change at different times.
Zha is supposed to be the direction that the HA devs are going in, but a lot of people say z2m gives them less trouble
To me, I feel that zigbee by nature is quirky and difficult. And that people just struggle either way
A week ago 80% of my zigbee devices just stopped responding in my house. Tried rebooting my poe tubes coordinator, didn’t work. Rebooted HA, most came back, rest had to be re-added
The zigbee2mqtt just has so much more information. I'm already set on not going back, everything feels more responsive etc
Maybe I should try it. My shits so problematic
so has anyone managed to bind a trådfri on/off remote to a zigbee group with ZHA?
I made a zigbee group with some of my lights in it and I can control it with home assistant just fine, as you would expect.
however, when I go to the zigbee options of the trådfri switch in ZHA, go to bindings, select the group I want to bind it to, then the "LevelControl" and "OnOff" attributes and hit "bind group", the remote isn't bound to the group. i.e. I wake the remote up and get a green checkmark on the "bind group" button, but the remote does not control the lights in the group afterwards as i'd expect.
Do those remotes not support binding to a (custom) group?
never mind, I found the answer after some more googling here: https://www.zigbee2mqtt.io/devices/E1743.html#binding
TLDR for posterity: firmware < 2.3.075 supports binding to groups only, firmware >= 2.3.075 supports device binding only
what an annoying change 🙄
hmmm not sure this is a zigbee problem per-se but it's related. z2m shows my smart plug i just paired (same happens to 2 other smart plugs of the same model)... and it's missing the switch entities in HA ... z2m shows a switch and i can power it on/off directly in z2m - but the rest of ha doesn't see it.... interestingly i have the exatc same model smart plug i paired months ago and it works fine and ihas a on/off switch control in ha - but newly paired plugs of the exact same model (same firmware etc.) just dont expose the switch control to ha from z2m on pairing... what would cause this?
everything else works btw - power meters/sensors. it displays th current power state - if turned on/off on the plug it updates. can turn it on/off. shows correct wattage too etc.
Replying to this to hopefully help the next person. The issues ended up being the devices still had the group info attached to them. So I had to add all bulbs to the group, and then remove the devices I didn’t want in the group. Working great now!
Any chance you have the direga hub?
nope, why?
I avoid buying proprietary gateways like that at all costs. atm i'm using whatever zigbee chip is in the home assistant yellow with ZHA for basically all of my zigbee needs.
but I also have some smlight slzb-06's here to experiment with Z2M on the side
Because I was thinking of getting it and connecting ikea devices to it, then exposing the hub to HA instead of directly connecting the ikea devices to HA
Just because I’m having so many issues with all the remotes not pairing or staying connected. Or with some of them some features don’t work with HA
Also, I find whenever I remove one of the ikea outlets from the network the whole network goes erratic for weeks afterwards. At least I think the two things are related. No way to know for sure
For instance, I removed an outlet and then found that one of my ikea blinds stopped responding (but the one beside it was fine) this persisted for a week so I repaired the blind, but had to do it twice over 2-3 days before it (fingers crossed) stayed reliably connected
i personaly wouldn't do that tbh, generally ZHA works perfectly for me. though some people prefer z2m and it gives you somewhat more control than ZHA. using the dirigera hub kind of defeats the purpose of running HA in my opinion, unless you had it previously anyway. That said you could ofc try, since IKEA (depending on your region) usually has a very generous return policy
I haven't tried all of the tradfri remotes yet, but the one I mentioned is generally working perfectly fine for me and the others I tried as well. IKEA removing group binding capabilities from the firmware isn't really down to the controller being used. now I just use the remote without the group binding by having an automation toggle the light group on button presses of the remote
the network reconfiguring when you remove a router is kind of normal, particularly when there aren't a lot of paths between the different devices. I solve this by just having a lot of routers. also I had some trouble with interference and zigbee/wifi channel management in the beginning that caused things to be flaky, but I imagine that would happen regardless of which coordinator you use
Try updating the IKEA devices (although you'll likely loose group binding for the remotes, but that doesn't matter if you don't use it).
There are many improvements for the remotes especially. (Updating can be done via Z2M or with ZHA by enabling it in configuration.yaml)
why they would remove binding in a firmware update is still super puzzling to me. it is so handy. I guess with their native hub they don't use zigbee group binding for the remotes then? but even that hardly makes sense to me
It was likely unintended, but it's not important for IKEA's use-case anyway. Luckily, you can use direct device binding (instead of group binding) in newer firmware versions, so you can still bind it to multiple lamps AFAIK
yeah but device binding kinda sucks for some things in that it is more chatty, usually takes longer and the number of devices you can bind to is often pretty limited
Group binding sends a message to all devices on the network though. If you just pair it to one or two devices, direct binding is better generally
yeah sure, i agree. in my case though, i wanted to control more than that, hence my frustration
I want zigbee doorbell switch that receives 220v current form wired switch
couldn't you just use any zigbee in wall switch and then use whatever door bell switch as a cover just to close the contact?
I don't know that there are actual ready made mains voltage doorbells like that
Hi. I have added Shelly dimmer 2 to my House and want to bind the buttons on a fuga battery push button to my Shelly device. How do i do this?
I have exited doorbell switch connected to Chime & i want to Extend to other area in my house by using zigbee switch that receives 220v current form chime.
I'm not sure I understand, can you clarify? if you're just looking to extend the zigbee mesh, you could just use any mains powered zigbee router (such as a normal in-wall switch) and hide it somewhere, no?
create an automation with the fuga zigbee button as trigger and whatever you want it to do with the shelly dimmer as the action
Wrong channel?
Hey folks, since ditching my Hue hub for ZHA + SkyConnect, I keep finding the battery powered devices like the Hue Dimmer switches unavailable when I come to use them and I can't seem to recover them without re-pairing. Is it possible I've misconfigured something?
The old RWL020/RWL021 Hue dimmer?
It's the older 4 button rectangle one, not the crappy newer one
The model number on the back is just a long number
324131137411
It has I/O buttons and dim up/down
RWL021 according to ZHA
Yeah, that's the old one. They have a firmware bug that causes them to leave the network and try to rejoin it insecurely, which is blocked by newer coordinators.
Take a look at the second half of this GitHub comment: https://github.com/home-assistant/core/issues/89311#issuecomment-1565740967
Ah thanks. That's unfortunate, I'm not about to set the configuration that allows the insecure rejoin, so I guess I need to ditch the hue dimmers and get something else
You'd need someone very dedicated to exploit it so I wouldn't worry too much
They'd also be camping outside your house to do so
Yeah, I understand it's practically not feasible. But I work in comms-sec so it's just a bit of a bad look for me to intentionally lower the security of any part of my systems. Any recommendations, if I do replace them?
AFAIK TI (CC2652) coordinators have a similar flag set by default in firmware.
I’m guessing the Hue Bridge would also allow unsecured rejoins
I’ve got something like 9-11 routers tho… removing one shouldn’t make a quarter of my devices go haywire, and the network map shows there’s lots of interconnection between them so it doesn’t make sense
I’ve got about 4-5 diff remotes that I can’t get to stay reliably connected long enough to update them
So they abort the update?
Thankyou @mellow geode I have just done a basic test and a very basic automation seem so have the desired effect. I just added a automation that said, if switch one turns on, action turn off switch 1.
@analog perch you around? My CC2652P2 has gone unresponsive after being offline for a bit. It doesn't seem to be getting an IP. Can I connect to it via serial to see what's up?
Got a bit of a silly question, I know Nest Protects have Zigbee built in, is there a way to get them to join/pass data along to a standard zigbee network?
i went down this rabbit hole once and from what I researched online and tried out myself it's not possible. I don't even think they speak proper zigbee, but rather some proprietary protocol, despite having a zigbee radio.
which is really a shame, because imo apart from the whole walled garden cloud BS they really were and still are the perfect smoke detectors for a lot of cases.
I could be wrong though or things could have changed in the meanwhile, so ymmv
It does look like they took some steps to bring it out of protocol, claiming NFPA code prevents multiple systems from interconnecting without special testing
seems like a bit of a cop-out seeing how they are connected to wifi as well. but then again I would not expect Google of all companies to do anything that benefits local connectivity and interoperability in general
in fact I wouldn't even be surprised if those smoke alarms outright stopped working, if they decide to terminate your google account for uploading copyrighted material to YouTube or something 😄
Haha part of the reason I’ve started looking into the Zigbee aspect cuz of them graveyarding so much lately
never mind, best I can tell, the WT32-ETH01 died. It was super hot and no light. Jumpered the CC2652P2 over to USB mode and reconfigured the container for local USB and Bob's your uncle. Ordered another WT32-ETH01 and will give it a try tomorrow.
I thought maybe this fixed it but i guess not. I have a sonoff motion sensor as well as one from samotech. Trying to run a simple automation that turns on the bathroom light. The sensors will work perfectly for a few days but eventually they just stop reporting their state, like they are frozen. The only thing that would work is to put the sensor in paring mode and have it look for new devices and it would eventually see it, recognize what it was, and start working again. Moving to z2m I thought was making it work again, but now I'm back in the same boat. Except now I don't even know how to get it to work again - sensor shows up under the devices in zig2m's ui but just says "cleared" - attempting to re pair it does nothing now so yay...
I just don't get it, what am I doing wrong? Is this just how zigbee motion sensors are? Lol for reference, every other zig er device works flawlessly - both powered like wall power switches, battery powered button switches, window sensors and all the lights. But 2 different brands of motion sensor both exhibit the same symptoms. They don't disappear from the network but it will freeze at its last state and stop updating
Have not seen that one before. Only when the wt32-eth01 is miss aligned in the pins, which will cause a short.
I've seen this on ebay. The delivery is expensive but the item price is cheap so I can't experiment & buy one. Has anyone used these and could recommend? https://www.ebay.co.uk/itm/285268024906 (let me know if this is ok to ask for product recommendations)
Also, where products say zigbee and wifi, would that negate the benefit of zigbee's low power consumption benefit?
that particular item is a wifi sensor. if products say zigbee or wifi they usually have two versions, one is zigbee only and the other is wifi only
ahh good spot, thanks!
you can find equally cheap sensors on aliexpress in the Choice section
Thanks!
Sonoff sensors are just bad 🤷♂️. I've had nothing but poor experiences with every single one of their eWeLink white label sensors.
What coordinator are you using and how close is the sensor to it?
They don’t abort, they pair (after X tries) and within minutes they’re unresponsive again
Can you try to start the update, as they’re pairing?
I’ll have to relook into it. I thought the last time I looked at zigbee ota updates you just enable it and hoped it triggered on its own
I thought there was no way to initiate it, but I’m probably remembering wrong
Yeah just reading the zha docs. Makes it sound like you just enable ota updates in config and voila
I've got a ZHA problem - Have an already-used HUSBZB1, and can't get ZHA to "create network". It spins the circle for a while, then just says "Error" and quits.
Do I need to erase nvram and if so, how?
It has firmware 6.7.8 if it matters
Z-wave part works fine
Get rid of the HUSBZB1
it's a garbage device
And the radios in that thing are hillariously, sadly outdated as well
You can grab a skyconnect or sonoff 3.0 for like $30
skyconnect will net you matter/thread compatibility too
MS-104CZ isn't reporting power usage. Is this a known issue? (I'm on ZHA)
Can you enable ZHA debug logging and post the debug log of the failure?
https://www.home-assistant.io/integrations/zha/#debug-logging
Yes. 230kb,,..
Have an edited file, how to post?
Please use a code share site to share code or logs, for example:
- https://dpaste.org/ (select YAML for the language, and consider picking a longer expiry)
- http://pastie.org/ (select YAML for 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.
You can also PM it to me
ZHA problem
2 possibilities, I'm using a $10 PoE splitter to drop out Micro-USB power and it was kicking out 4.88V. I also busted the tab on the patch cable while reconfiguring my switch and it wasn't plugged all the way in.
Hello! Need an advice about 3 way switches. I have two rooms with 3 way switch wireing. Im looking for a solution to replace one of the swiches with smart switch. Is there a device which supports this kind of wireing?
As the wires already ther i prefer useing the same for the smart switch. UPDATE: Located in Hungary / EU.
having some trouble with an ikea tradfri remote - it works super inconsistently. wondering if maybe the issue is wifi or other interference. the battery level reported in ZHA is 100% so I can rule that out, but pressing the buttons just doesn't do anything half the time. I have it bound to the light group I want to control, so it's not just home assistant missing events
using ZHA with the silicon labs zigbee/zwave dongle, tradfri bulbs and remotes but not using the tradfri gateway, and also have a few sonoff sensors in the zigbee network
also sometimes home assistant doesn't get the update when the bulbs are turned off, which causes adaptive lighting to turn them back on
Interference levels are mentioned in the ZHA integration diagnostic file
I think Inovelli are the gold standard for zigbee switches, though they tend to be pricy. I believe they support different 3 way configs with dumb switches and aux switches, but check their website for the specific wiring diagrams.
They are not available in Hungary / EU
Ah, would have been good to mention 🙂
You right, I updated:)
is that LQI and RSSI or something else? I see LQI 255 and RSSI around -63 for both the remote and the bulbs. all this is in the office along with my home assistant box and my wifi router
stuff in the living room is a bit lower, -66 to -69 RSSI but still 255 LQI
Which gateway do you guys recommend for a Raspberry Pi?
Is this a good option? https://phoscon.de/en/raspbee2/
days ago i was asking tha same. Bought SkyConnect
Can you upload the diagnostic file for the ZHA integrations page to https://dpaste.org/ and send the link here? (You can download it on the integrations page)
LQI being 255 sometimes means the calculation is just bad. Are you using a Conbee or Raspbee coordinator?
Also, 100% battery level doesn't mean it can't be the battery's fault.
is this the right file? https://dpaste.com/5NQHEFQUN
coordinator is silicon labs ezsp. and I changed my 2.4GHz wifi channel to 11 earlier today since it looks like that one doesn't overlap the default zigbee channel 15. didn't seem to make a difference though
Thank you
So what is the difference between my IKEA DIRIGERA hub and a Zigbee Gateway like SkyConnect? So far I only figured out that you can connect the IKEA remotes if you use the Zigbee Gateway
Using the Zigbee2MQTT addon inside a VM:
[21:26:20] INFO: Starting Zigbee2MQTT... Zigbee2MQTT:info 2023-10-03 21:26:21: Logging to console and directory: '/config/zigbee2mqtt/log/2023-10-03.21-26-21' filename: log.txt Zigbee2MQTT:info 2023-10-03 21:26:21: Starting Zigbee2MQTT version 1.33.1 (commit #unknown) Zigbee2MQTT:info 2023-10-03 21:26:21: Starting zigbee-herdsman (0.19.0) Zigbee2MQTT:error 2023-10-03 21:26:21: Error while starting zigbee-herdsman Zigbee2MQTT:error 2023-10-03 21:26:21: Failed to start zigbee Zigbee2MQTT:error 2023-10-03 21:26:21: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions Zigbee2MQTT:error 2023-10-03 21:26:21: Exiting... Zigbee2MQTT:error 2023-10-03 21:26:21: Error: Error while opening serialport 'Error: Error: No such file or directory, cannot open /dev/ttyUSB0' at SerialPort.<anonymous> (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/znp/znp.ts:146:28) at SerialPort._error (/app/node_modules/@serialport/stream/dist/index.js:82:22) at /app/node_modules/@serialport/stream/dist/index.js:118:18
test -w /dev/ttyUSB0 && echo success || echo failure success
I am stuck on this one, I am out of ideas.
@hidden canopy is your USB used by something else?
can you confirm it's the appropriate port ?
lsusb -vvv
how did you forward the USB to the VM?
Just fixed it. I had forgotten the USB part of the VM...
Yeah, interference is at the bottom of the file and seems fine for channel 15 (lower is better).
If you're using the HUSBZB-1, that's an older stick and should probably be replaced at some point. It should still work though.
is there a replacement option that does both zigbee and z-wave (and ideally thread)? or I'd need multiple devices?
I have a couple z-wave switches in my walls which I'd rather not replace
Any suggestions for a zigbee RGBW led strip controller that doesn't disconnect every 5 seconds? I haven't had great luck with a gledopto and an unlabeled one I have
might not be an issue with the led controllers then
I have like 20 something other Zigbee devices in that room that work fine. ¯_(ツ)_/¯
I'm probably going to go esphome though, I think. I'm making multiple lights and one is going to be pretty far from any other zigbee devices.
Hey, sorry for the month delay here, but I finally have the time to look into this. I have the diagnostics, but unsure what I am looking for
I do notice that in Home Assistant the motion detector becomes unavailable sometimes in my logs... Not sure what thats about.
I do have about 70 devices on my Zigbee network, is that too many?
Or maybe the Ikea sensors are just unreliable? IDK
Could you post a link to the JSON or DM it to me?
I'll DM you if thats okay
The IKEA sensors sometimes/often fail to pair correctly for me (depending on firmware).
Let it go to "undetected" in HA, then click on reconfigure and press "Start reconfiguration" just as you trigger the sensor (and then hope the reconfiguration goes through).
I’m sorry to be dense, but you’re saying I should do this when it becomes unavailable?
It's not unavailable the whole time, right? It just goes "unavailable" sometimes?
The sensor can only receive messages (so be reconfigured) when it's "awake". It's awake when it detects motion. So, you want the sensor to reset to "clear/no motion", then trigger the sensor whilst starting the reconfiguration.
But you can also just try to re-pair the particular sensor that goes unavailable. ("Add device" in HA, press reset button 4 times)
Yes, sorry I cant post a screenshot of the device log, but the device log is a series of "motion detected" and "motion cleared", with random "device unavailable" entries every couple of days
Please use imgur or other image sharing web sites, and share the link here.
Image posting is blocked in most channels to discourage people from sharing text as images. Sharing text as images assumes that everybody sees the world as you do, which isn't the case. Some people are colour blind, or have visual impairment that means they can't make sense of an image of text.
Best to share a log as text though if possible
Yeah, if paired/configured fully, the sensor should checkin every hour or so. It could be that that's not happening, because it didn't pair/configure fully initially.
I'd try a reconfiguration through the HA UI if you can get the timing right ("Start reconfiguration" whilst triggering motion). Else, try re-pairing the sensor
I think I get you though Julian, wait for device to be available but motion cleared, start the reconfiguration, then manually trigger motion in front of the detector
Yep
Thank you very much, will try soon!
The reconfiguration should show a "table" of all clusters/attributes. You want to have green checkmarks there.
If everything is yellow, then the sensor was still sleeping or already back to sleep whilst the reconfiguration messages weren sent.
In that case, let the sensor go to "clear" again and try again.
Reconfiguring now, thank you!
Is there an easy way to update ikea and Hue firmwares via ZHA? Most of my stuff is straight out of the box to ZHA, so I assume no updates are being applied
Or is it better to have old firmware for HAOS and ZHA?
All Hue firmware is here: https://github.com/Koenkk/zigbee-OTA/blob/master/index.json (download all files with meethue.com in the URL)
You can put all those files in a folder called zha_ota in your HA /config folder.
Then, add this to your configuration.yaml:
zha:
zigpy_config:
ota:
# ikea_provider: true
otau_directory: /config/zha_ota
Restart HA and you can trigger the updates for all devices. See this page here for more details: https://github.com/zigpy/zigpy/wiki/OTA-Device-Firmware-Updates
Awesome! Thanks!!!!!
(At some point in the future, updates can be done through the UI. Not at the moment though)
Just gonna mention it here, zha-quirks PRs now also count against the Hacktoberfest PR count. So if anyone uses some custom quirks that aren't in the main repo yet (and have no PR), feel free to PR them to the repo: https://github.com/zigpy/zha-device-handlers
Did you resolve your issue? I've been having this issue for months... I'm using ZHA with SkyConnect. My Aqara Curtain has just been a paperweight on my desk
What's the "Zigbee model" of your Aqara curtain?
lumi.curtain.agl001
That? xD
Follow https://github.com/zigpy/zha-device-handlers/issues/2003 and the PR: https://github.com/zigpy/zha-device-handlers/pull/1648
The PR really needs to be cleaned up. Hopefully, I'll be able to clean it up soon-ish and get it merged. It would be amazing if you could subscribe to both the issue and the PR, as I don't have the device to test with, so testers would be welcome, as soon as I get to improving the PR.
For now, you could try installing the file from the PR as a custom quirk.
This is the custom quirk from ESH, right? I did try that, and it kind of worked on my old HUZBZB-1, but I can't get it working at all on my SkyConnect. I'm thinking I need to get an aqara hub to update the firmware?
With the SkyConnect it just goes unavailable after joining, and never reconnects ( I have a pretty strong zigbee network of 50 devices)
Looks like I'm already subscribed to both 😁
SkyConnect it just goes unavailable after joining,
huh, that's weird. You migrated the network from the old stick to the SkyConnect?
A quirk wouldn't fix that issue. It's something else
Yes it's a migrated network. I've tried re-pairing multiple times, but it always ends up permanently going unknown
@hollow forum I converted your message into a file since it's above 15 lines :+1:
Let me remove the custom quirk and try again
Ah, yeah. That's something broken by the quirk
Let me know if it pairs without the quirk and then which features work (and what doesn't work)
Having a lot of trouble pairing it, but that's always been the case 😆
Ok paired it and it only showed the cover and the identify button
The curtain entity has open/close/stop and lift percentage controls, right? Can you test what works without the quirk?
It worked once with the cover but now it's unknown and I get:
Failed to call service cover/close_cover. Failed to send request: Failed to deliver message: <EmberStatus.DELIVERY FAILED: 102>
Hmm, that just means there's some network/device issue. Battery fully charged? or just try again maybe
This is usually what happens. The first one or so commands work but then it disconnects. I believe there are others in this discord with the same issue
I'll try again with it charging!
hmm, that's not an issue a quirk would solve though
Which command "worked"?
The "up" cover command.
huh, that's what some people reported doesn't work (IIRC, only lift percentage worked -- or was that the other curtain model?)
From my experience with the HUZBZB I had to spam the open or close command 2-4 times and it would work! Lift percentage only showed up with the custom quirk for me
Ok, so you only get up/down/stop for the cover entity?
Yep. Not even battery. Just repaired and it was immediately unknown 😞
Hold up
Got it connected and a few commands worked
When stopping while it's opening I got the error:
Failed to call service cover/stop_cover. '>' not supported between instances of 'NoneType' and 'int'
And then it went unknown again
huh, can you upload the full error to https://dpaste.org/ and send the link here?
this is without the custom quirk, right?
Yes no custom quirk
https://dpaste.org/gu23A
uh, the ZHA cover code is, uhm, interesting. I don't even see how the state gets updated correctly to OPEN/CLOSED without polling
That is interesting lol
linking some issues for me to reference later when reading this again: https://github.com/home-assistant/core/issues/98933 + https://github.com/home-assistant/core/pull/99646
I don't have any covers, so it's hard to test this
I'd be happy to help test but it's bedtime for me now😆
Let me know if I can test something and I'll get to it!
yeah, I'll keep it in mind. thanks!
it's just this device (also my only cover) that I have issues with, maybe it just sucks, but I usually expect better from aqara
@sour shadow im using docker for home assistant and currently i only have 1 zbmini-l2 working great with my light. I like to integrate snzb-03, trying to pair using zha (of course) but doesn’t see any discovery.
Hi All, still learning etc, so dont kill me.... a couple of things....
I have purchased another switch a ClickSmart+ Single Socket (UK) in addition to my existing Aurora Smart double socket. I have both sockets functional but I know there is more that these switches can do which isnt currently supported in ZHA. I know @mellow geode is looking at the light dimming on the double already. But this single socket is lockable and able to disable the switch and dim the light. I would love to help make these switches first class citizens and expose available options.
Whats the best way to learn how to configure these devices manually, for example on one switch I want to default to on when there is a power cut, I can see what I think is the option when I manage the device, but I dont know the available commands etc
Am I able to learn / help with quirks to surface these settings, is there a video series or something that can help me understand, or whats the best was to submit requests, and how best can I support
I even looked on Upwork to see if there was anyone offering dev time to do this, but couldn't find anything listed
The only way is to analyze existing quirk code and extrapolate
Thanks, I will start reading, but may get a smarthings hub to surface options in the short term
I cant see this using a quirk, does it download automatically or is there a library somewhere
dont see it listed here https://github.com/zigpy/zha-device-handlers/tree/23a166902e50d5c32019e0d4d32a968715041bb6/zhaquirks/smartthings
I bet it is here
https://github.com/zigpy/zha-device-handlers/blob/23a166902e50d5c32019e0d4d32a968715041bb6/zhaquirks/tuya/ts011f.py
Tinkerer im using docker for home
@hollow forum hello, fellow Muse fan
Hello guyz, which has more range zigbee usb repeater or smart plug router?
Yes
There are ... dozens to hundreds of USB repeaters, and dozens to hundreds of plugs... they're not all equal
Hello, I bought an _TZ3000_ja5osu5g (TS004F Single button). It is recognized and configured in ZHA as a toggle switch. I would however like it as a "press" button. I do not understand much about quirks up until this point. But I've read that I was also able to listen to ZHA events. I am however not receiving these events when I am listening to it in the developer tools. Does anyone know what I am doing wrong?
2023-10-04 15:47:47.683 ERROR (MainThread) [homeassistant.util.logging] Exception in async_discover when dispatching 'mqtt_discovery_new_climate_mqtt': ({'action_template': "{% set values = {None:None,'idle':'off','heat':'heating','cool':'cooling','fan_only':'fan'} %}{{ values[value_json.running_state] }}", 'action_topic': 'zigbee2mqtt/Schlafzimmer_Heizung',... 'zigbee2mqtt/Schlafzimmer_Heizung/set/system_mode', 'mode_state_template': '{{ value_json.system_mode }}', 'mode_state_topic': 'zigbee2mqtt/Schlafzimmer_Heizung', 'modes': ['auto', 'heat', 'off'], 'name': None, 'object_id': 'heizung1', 'origin': {'name': 'Zigbee2MQTT', 'sw': '1.33.0', 'url': 'https://www.zigbee2mqtt.io'}, 'temp_step': 1, 'temperature_command_topic': 'zigbee2mqtt/Schlafzimmer_Heizung/set/current_heating_setpoint', 'temperature_state_template': '{{ value_json.current_heating_setpoint }}', 'temperature_state_topic': 'zigbee2mqtt/Schlafzimmer_Heizung', 'temperature_unit': 'C', 'unique_id': '0xa4c1381b8cd7e674_climate_zigbee2mqtt', 'platform': 'mqtt'},)
voluptuous.error.MultipleInvalid: string value is None for dictionary value @ data['name']
I got this error message from debugging of the mqtt integration. I'm using zigbee2mqtt -> mosquitto mqtt -> mqtt Integration
All the other sensors are showing up in my mqtt Integration just the climate entity doesn't. Someone got a similar error before and can help me? 😄
This error occures for my AVATTO ME168 thermostat and also a TuYa BSD29 Smart Plug. I think i perhaps configured sth wrong but i don't know how to proceed :/.
Looking to pull the trigger on a USB adapter to start using Zigbee accessories. Many of them are out of stock, or have poor shipping to the US. Does anyone have experience with the USB Zigbee Stick (Z-Stack) Coordinator from Circuit Setup? It does't look like it has an antenna which worries me about range
is there a simple way to check if a zigbee device also acts as a repeater?
In general most mains powered devices repeat
But there are exceptions
As does zha:
haven't bought it yet, ty guys for the info, so i better buy some mains powered lights
oh i see it now in z2m
hey guys, what do people think of using a skyconnect as a zigbee hub (coordinator?) i want to get into zigbee but am looking for the most user friendly way for it
it's fine. just use the built-in ZHA integration to talk to it
ah, instead of z2m?
Yes. Support for the chipset in Skyconnect is experimental in Z2M and not recommended for production
cool
sounds good then, thanks!
would i be better off getting something else instead of the skyconnect or is it pretty good overall?
That can depend on the manufacturer. Sengled bulbs, for example, don't do any routing, they're just end devices.
How many zigbee repeater and router chain relay before it lose it strength?
Coordinator —> repeater —-> repeater etc etc?
I want to do my fence light which around 100 meters in distant,
Don’t think you would get near any limits but keep in mind zigbee is a mesh. Can look at using something with an external antenna and possibly using a directional antenna too.
Can someone tell me their Skyconnect device info? Mine shows up as CP2102N uart bridge device but never anything about Skyconnect is that correct?
Thank you, it works and connects zigbee devices I just want to make sure it’s all setup and will get firmware updates…would love to see that thread firmware come through sooner rather then later
Hi All! I have ha on a RP4 and is looking to replace my conbee 1. What is the latest and greatest zigbee controller suitable for my setup? Thank you for any input!
i'm using the SONOFF Zigbee 3.0 USB-Dongle Plus Gateway which works really great, way better than the conbee2 i had before
Both Sonoff P and E sticks have known problems - buy almost anything else 😛
Buy something CC2652 based. This list is a good one, both Tube and Electrolama have been proven to have excellent customer service. The current generation of EZSP sticks (see here for some) are also a good choice for ZHA.
Anything CC2530 or CC2531 based should be avoided - they're old, slow, and only suitable for a dozen or so devices. The Sonoff ZBbridge isn't advised since it uses WiFi (built in interference causing stability/reliability issues), and the HUSBZB-1 uses an older chipset so should be avoided.
Finally, the ConBee range are fine with deCONZ, but experience with ZHA and Zigbee2MQTT appears to be mixed.
Hi!
First time using ZHA quirk today. I got the mmWave presence sensor working. Buy now I notice previously working devices are offline. They also show up with quirk details in ZHA, which I believe isn't there before.
Is this expected behavior and I should re-pair them? Or is there something not quite right?
Example: Aqara door/window contact sensor is show this detail:
Quirk: zhaquirks.xiaomi.aqara.magnet_aq2.MagnetAQ2
But I don't have any file in the custom quirk directory for it. Does it mean if one device use custom quirk file, all device must use custom quirk files?
Does anyone know what causes this bug exactly? Sometimes my zigbee switches will become unresponsive, but if I look in the log, I see something like this where HA is seeing the device action "DenSwitch Action, DenSwitch Action changed to double" but not understanding that as the trigger for the automation. An HA restart is the only thing that works
No, that device has an integrated quirk in ZHA (and needs one).
All quirks should be PR'ed to this repo: https://github.com/zigpy/zha-device-handlers
Otherwise, everyone using that unsupported device will always have to install a custom quirk which can break at any time.
Buy now I notice previously working devices are offline.
It likely doesn't have to do anything with your custom quirk, unless it's breaking weirdly. (Check the logs)
Thanks for the pointers. I appreciate it. I got the working quirk from a PR. I understand it is already reviewed and will become part of the package in the future.
Just for reference, can you link the PR here?
Of course, it is this one: https://github.com/zigpy/zha-device-handlers/pull/2485
Thanks! Seems like a newer PR is this: https://github.com/zigpy/zha-device-handlers/pull/2525 but the review comments aren't addressed yet
Hello, posted in general but told it might be more useful in there. This issue I raised only seems to occur from 2023.9.3 onwards. I have had to revert to a 2023.8.4 backup where the problem goes away. But I was just told that the logbook entries indicate that the issue happens outside of HA. I can't see how this can be the case as it only started on upgrading to 2023.9 and goes away when i restore an old backup. Anyone got any ideas? https://github.com/home-assistant/core/issues/101291
Hey guys... has anyone managed to get this working in HA?
damn. can't add a pic ..
it's a "Loonas" Zigbee smart curtain motor, "powered by tuya"
tried setting it in pairing mode, but HA doesn't detect any new zigbee devices...
Please use imgur or other image sharing web sites, and share the link here.
Image posting is blocked in most channels to discourage people from sharing text as images. Sharing text as images assumes that everybody sees the world as you do, which isn't the case. Some people are colour blind, or have visual impairment that means they can't make sense of an image of text.
Thanks, here is the motor: https://imgur.com/a/RhHm6QC
on the manual there is a qr code going to qr82388.fx.sj.360 .cn -> then towards xiomi app store showing "com.tyua.smart.apk" (I'm on an iphone so no apk 🙂 )
the motor is detected in HA zigbee as _TZE200_r0jdjrvi TS0601 but basucally.... theres nothing that can be done with that "device"
you're not the only one https://github.com/zigpy/zha-device-handlers/issues/1953
if its any consolation it's marked as supported in zigbee2mqtt
Anybody in .au come across a multi gang zigbee power outlet with dimming that's certified to local standards? I've got a stupid existing lighting setup which combines dimmed and non dimmed circuits on a single wall panel
@molten linden I installed the replacement WT32-ETH01 . Do I need to flash again?
I just ordered 6 lol
The answer was yes, I had to reflash and now it works again 😄
@mellow geode thanks for your help with https://github.com/home-assistant/core/pull/87546 I've made the changes you suggested. I should be ready to go !
Hi! I have lights and scenes in Deconz, but transistion is not working. Its just not respecting it, and scene changes happens instantly.
I found this (closed) tread, but its not resolved. Is it currently working for anyone? Is the workaround to recreate my scenes in HA instead of Deconz?
https://github.com/home-assistant/core/issues/86646
hey there. I want to know how to automate updating the battery-levels in my thermostates (zigbee) in HA. I found some threads which are years old, so i wanted to ask what's the current best practice. Because the batteries all show 100% until they die 1-2 years later...
how are they updated?
huh? they don't update themself it seems. I don't have any custom automation for updating their value yet, which i what i need :/
What are the recommended brands for zigbee plugs? I’m thinking of building up my z2m network and migrating Hue lights from their hub to z2m
Depends on where in the world you are, but Innr are available most places (except maybe Aus)
Hello. I use a Tuya TS011F (_TZ3000_j1v25l17) with ZHA. My problem is, that the device only works in home assistant for 3min. Then the light(which is blinking) on the plug turns off. After that it isn't working. Can somebody help me? I also tried with a custom quirk but that also doesn't worked. I think that the plug doesn't "knows" that it is connected to something because the blinking light normally indicates that it is searching for a bridge.
I'm starting to wonder if tuya is actually worth the hassle ... device ids keys, dev cloud accounts and a ton of configuration just so you can use it in ha? Nah ....
Paying 3x the cost for a Tuya motion sensor vs a sonoff one did nothing - acts the same. I just don't even understand zigbee at this point tbh. ZHA had a bunch of bugs and as far as what I could find, very little logging or reporting about what was happening. Switching to zigbee2mqtt started out great but now has it's own weird quirks. The current one I don't understand seems to be related to things being overloaded as it were - if I, for example, use my switch to switch between scenes too quickly for it, then suddenly the automations don't work anymore - HA's log still happily reports that the switch is clicking once, double clicking, etc, but no automations are triggered from it until either some times passes or I restart
Same issue with the motion sensors now - I can't, for the life of me, get a simple motion sensor automation to work because the sensor's reporting seems to be all over the place. Currently my automation is looking at 2 different motion sensors - on sensing motion, they turn on a light and start a timer. On detecting clear, the restart the timer. The timer going off turns the lights off. Now this SHOULD mean that if I happen to be in the bathroom not moving much on my phone and the timer goes off, waving my arms should trigger the light to come on, or waving my arms at any time. But what happens in reality is that, the only thing that is truly reliable is one or both of the motion sensors triggering the light in the first place. Then it's like both sensors decide to go take a nap - sometimes they switch immediately back to clear, sometimes they stay on occupied for a long time - whichever happens first triggers the timer and that's that. I've tried changing the max rep interval on the sonoff sensor based on a thread I found but it seemed to do nothing.
On a side note, I think I might relocate my home assistant somewhere more centrally - what is the best way, if any, to reinitiate a network mesh refresh after the move?
Power the coordinator down for 30 minutes
Xiaomi's Zigbee 1.2 devices won't change parent/router though
I'll power it down in a sec but I just wanted to share this bug as well. Looking at the automation in the UI. I click the button and the blue popups on the triggers even show "triggered" - the trigger is a simple active scene. On the UI, I have a button that will activate that scene and it works... what is going on in your head, Home Assistant? I feel like that patrick star meme but me telling home assistant that this is a button click
But if I wait a few minutes, it catches up
When I bought the plug at Lidl I thought it wasn't a Tuya. I only discovered it afterwards. I've had a lot of problems with it but unfortunately I can't exchange it anymore.
In the past, I created two Zigbee light groups Kitchen Light Fixture and Office Light Fixture When I use them in automations, that's exactly how their name appears.
Last week I created a new light group Master Bath Ceiling Fixture, but when I go to use it in an automation, it shows up as dresden elektronik RaspBee II Master Bath Ceiling Fixture. Why is this so and, more importantly, is there somewhere I can go to edit this to a more friendly name? I've looked in the Group Information that comes up, but all I see is a trash can icon to delete it, not a gear icon to edit it.
I never got a ping for this, idk why, but what I did was just a hard reset. I deleted everything.
When I setup ZHA with SC it finds all the previous devices immediately (This has been a point of frustration for me too, because I want to change channel before it adds them)
But they won't respond. I am thinking maybe this has to do with them retaining the old key? I am trying to reset devices today.
Interestingly, despite this notion, resetting devices is exactly what fixed it. I can control devices for the first time in two weeks 🫣
Hey. Got some zigbee thermostates with batteries but the charge-value is always 100%. I read on the HA forum that this value somehow doesn't update automatically? But I didn't find any stable/working solution. Can someone please help? x_x I'm using ZHA.
It probably isn't possible to easily migrate from a hue bridge to zha is it?
good morning all, so it looks like my sonoff zigbee controller might have died so I am looking for recommendations if I have to buy a new controller. Any suggestions would be appreciated. I have 30 zigbee devices that are connected to it and I want to be able to connect it to Home Assistant
No. You want to click on "Add device" in ZHA, then remove each device from the Hue Bridge and it should join ZHA then
yes it will
:'c that will take some time
Howdy 🙂
There is some weirdness between z2m and ha that I can't really find a handle on. Let me share some of the symptoms:
- Some devices that are reported online (and controllable just fine) in z2m look unavailable in homeassistant
- Some sensors don't get their name updated properly, e.g. "MQTT Binary sensor" default is seen in homeassistant, but z2m shows them fine.
- When I restart z2m, the outcome is pretty unpredictable, either 128 sensors are missing, or just 10, but I'd expect 3 (not in use, battery dead)
The MQTT in use is the HA addon. This is HassOS on a Pi4 8Gb
Can I ask for some help on how do I get around debugging this?
Has anyone here experience with a G9 bulb? I only find one called Prios LED-G9 with a "powered by tuya" label on the box and a "works with zigbee".
How do you set it up, specifically? ZHA has a radio migration button. It also asks you what network settings to restore to your stick when you set one up. What options are you choosing? The devices showing up doesn't mean they're controllable, especially if you form a new network.
Like I said, full reset. I am not restoring, so I don't get that prompt
It's the same question I was responding to just earlier
I didn't migrate. I set SC up fresh.
So you removed the integration, plugged in the device, and clicked Configure? What coordinator did you switch from?
I hard reset the Sonoff 3.0, removed it and the integration, added SC and set it up, yep!
(ZHA) Hi, I've got an exceptionally bad mesh and I'm not sure what to do about it. It worked before but maybe the interference has increased, and now my blinds won't connect.
I have two repeaters intended to connect to one another, they bridge the first and second floors of the building. the issue is that the downstairs repeater connects directly to the antenna upstairs, and it has a bad connection like that. I thought the thing is supposed to find the best path...
edit: a router seems to interfere with repeater 2, switching to channel 25 sort of fixed it but all connections are still red
How did you hard reset it? When you setup ZHA, even with a fresh stick, it will use the network settings of your last network. I'm trying to figure out what specifically you did to set it up, because the fact that devices "show up" just means they're being loaded from cache, not that you're necessarily using the network settings from your previous stick.
This option, but of course with the old stick
https://imgur.com/a/g1eGftS
Does anyone know of an app or tool to find the best locations for Zigbee repeaters? I have 5 routers plus the coordinator to cover about 1000 square feet but the network does not feel strong at all and the visualization tab shows the devices that keep dropping aren’t connected to any routers (despite some being only 5 feet away)?
Looking to use a Zigbee USB stick as router. What is the preferred Stick and firmware combination for use in Home Assistant? I plan on using this as battery backed router to help the weak battery powered sensors reach the the hub during power failures
Get a Sonoff Dongle P or whatever CC2652 based dongle and flash this firmware to it https://github.com/Koenkk/Z-Stack-firmware/tree/master/router/Z-Stack_3.x.0
It's more about the chipset being used than the brand/model.
Nah you've just got to kind of eyeball it, consider that the effective range for Zigbee is going to be like 5-10 meters, look at obstacles like walls, large metal objects like appliances, and consider potential sources of interference (Bluetooth and 2.4 GHz WiFi).
Though your situation may be linked to interference or issues with specific devices. What devices are you having issues with? Have you tried pairing them directly through the routers you want them connected to?
@astral seal I ordered a Sonoff dongle E. Was that a mistake?
Hi There, Im using SkyConnect with both the Zigbee and Thread radios enabled. I have recently removed the 2 thread lights and replaced them with zigbee ones - can i change the SkyConnect to just have Zigbee?
The E uses the efr32mg21 chipset so the answer is "maybe". Sonoff says you can flash it with router firmware though which means it should work in theory.
https://sonoff.tech/wp-content/uploads/2022/07/SONOFF-Zigbee-3.0-USB-dongle-plus-firmware-flashing-.pdf
Dont worry, found it. https://skyconnect.home-assistant.io/procedures/disable-multiprotocol/
Uh guys... how to run z2m with multiprotocol ?
@astral seal I guess I'll find out .. hoping not a #FAFO 😆
youll have more luck asking in https://discord.gg/Rf7gM8Nq
thank you, @violet dagger 🙂 I already figured it out but good to know there's z2m discord 🙂
@last rain did you have issues with the thread device?
Yep - Nanoleaf thread light strips. Become unavailable at least 1-3 times a week. Over it 😉
Hey y’all. I’m currently rebuilding my HA & I’m running into a weird issue with my aqara door sensors. For some reason they’re all showing up as switches, even though previously they showed up as binary sensors. Anyone know why this might be happening? (No changes in hardware. Just having to rebuild everything due to data loss.)
I’ve tried deleting the zigbee integration altogether, restarting & re-adding. No luck... everything keeps coming back the same way. I’m using ZHA btw.
Ok nvm, seems to be back to normal now. Somehow it was able to restore my zigbee config from the corrupted backup I’ve been working with lol.
Good morning, I have a question or two regarding ZHA. I just bought Ikea Rodret remotes and after I couldn't connect them to ZHA for whatever reason, I coupled them to a light directly. I sort of forgot that that disconnects the light from the ZHA mesh making it unavailable. If I pair it again with ZHA will it register as a new device or will it be able to fall back into its original place?
Second question is, any tricks about how to connect the Rodret remotes?
Hi friends!
I am looking for a led light that plugs directly into a 240v outlet that I can control with zigbee.
Something like this below.
Do you know any real examples?
https://www.amazon.com/Sujeet-Nightlight-Sensors-Bedroom-Stairway/dp/B0B6ZKNHN1/ref=sr_1_5?keywords=plug%2Bin%2Blights&qid=1696760269&sr=8-5&th=1
I honestly didn’t even know you could do that.. no major obstacles honestly. How can I pair them direct to the router? Going to google this now, I thought it was just “auto”
I’m using zha rather than z2m if that makes any difference
I know xiaomi only connect to a router upon setup - anyone know if sengled bulbs are the same
Xiaomi will connect to the coordinator fine
The Zigbee 1.2 range just connects to the first thing it hears
Yeah my sensors are working ok which is odd because they’re connected to the coordinator which is farther than some of the sengled bulbs which keep dropping
Hey, somehow all my zha devices stopped working, they Show as not available
Any chance your router switched channels automatically? That happened to me once interfered with my Zigbee network
What coordinator are you using, and is it on a USB extension cable?
CC2652 or EZSP?
The CC (P) is known to have issues that can require it to be re-flashed at random
Sometimes just restoring a stick backup is enough to fix the NVRAM corruption
How to know what i have?
Sonoff 3.0 USB Dongle Plus
Just did that, but didnt work
Sonoff are the worst for naming (and building) things
Its the cc one
Yeah, neither are good, but that's the worst one of the two
Great 😅
NVRAM corruption is pretty commmon
Its the First time this happened in 2 years
Somehow one door Sensor still works
Anything current that's not Sonoff
For ZHA the SkyConnect is a good choice, as is anything current EZSP (other than Sonoff)
The Little Stick from ha?
Yes
Does it have the Same Range?
Direct range from a coordinator is largely irrelevant
I restarted the Router but still the Same, one door Sensor is working
Most give you about 6 to 8 meters, ish
But all other zigbee devices are Not available
Well, if one devices is working then the stick is working
Your problem is the routers/interference
Its Showing its Status but oPENING and closing the door doesnt change it
Please use a code share site to share code or logs, for example:
- https://dpaste.org/ (select YAML for the language, and consider picking a longer expiry)
- http://pastie.org/ (select YAML for 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.
That's what I get for assuming you were talking about unavailable in HA
What do you mean
No i just thought this was the Problem , but thats HomeKit not zha
Up there, you said unavailable, and now it sounds like you're saying not?
Or did you not actually look for stuff from ZHA in the log?
Thats all i have in logs
If there's a problem with ZHA/the coordinator the log will have something, unless you set the log level too high
If you're having problems with your updates to your configuration:
- Check the troubleshooting steps
- Check your log file - remembering you may need to set logger to
infoordebug - Explain what the problem you're having is - sharing configuration, errors, and logs
Hi guys, anyone have any feedback about the Sonoff zigbee smart radiator valves? I'm looking into getting some (as they're locally available and fairly cheap)but couldn't find any info on whether they work well with HA (using the sonoff dongle, no 3rd party hubs or such)?
I think its working now i disconnect all the Batteries of the devices
And they seem to come back
But i deleted the pet feeder and i cant seem to find it with zha
Anybody Can help me with this one?
You're trying to pair it again?
Yeah got it working now, needed to bring it real close
You would still recommend getting the other Stick?
Any guide on how to secure ZigBee devices and other smart ones? All I can find are papers with really big picture stuff but not hands on guides/tutorials
What do you mean by "secure"?
The Zigbee mesh is entirely local, and encrypted
Yeah Zigbee is secure by default, it's part of the standard.
https://development.libelium.com/zigbee-networking-guide/security-and-data-encryption
Other types of devices will vary as to how secure they are by default and what you can do to "harden" that security, I'm sure if you bring up specific devices and protocols in #hardware-archived people will be more than happy to talk about those.
To answer my own questions. Yes they fall back into where they were and the trick is to press the button 4 times quickly instead of holding it.
can i use a zigbee controller with zigbee2mqtt and as a device directly in HA or would that cause some kind of conflict?
Are eWeLink DS01's garbage?
battery's good, just loses connection back to the coordinator (SONOFF ZIGBEE 3.0 USB DONGLE PLUS)
Do i just have to keep trying to re-pair these things?
Tinkerer: I was looking through the history here to find a Zigbee USB stick and see that you recommend a CC2652 that's not Sonoff, do you have any particular model you'd recommend that maybe I could find on Amazon?
I make/sell network connected coords with cc2652 modules.
How Can I find out the current firmware version the zig bee radio on my Yellow is running?
Thank you in advance for any help
Pull the zha diagnostics should be in there
I got a Sonoff USB Zigbee Dongle E and flashed it with router firmware and added to the ZHA Zigbee network. It has by far the best RSSI and and highest LQI of all the other routers, many that are much closer to the coordinator. It has meshed with all the other routers but none of battery powered endpoints have connected to it. Will that happen or do I have to force it? How do I force it?
Just wait, unless you've got some older Aqara Zigbee 1.2 devices, in which case you'll have to pair them through the router you want them to use.
All my devices are Zigbee 3.0
Yes, the firmware is terrible
Any suggestions for PIR motion sensors?
I have some Hue ones whihc are good, but pricey, and some Sonoff ones whihc are cheap but crap.....
I there anything in between?
I've read the Aqara P1 units are good but they are forever out of stock....so can't find those anywhere....
Is there anything else?
I have ikea TRADFRI bulbs connected through z2m. If they are unavailable, they still show as on. Is there a way to refresh this to show unavailable or if it's unavailable to default to off rather than on?
I've noticed an issue with my Gledopto bulbs. Specifically, when I have the brightness turned down and go to turn the bulb off, it first jumps to maximum brightness before powering down. Has anyone seen this behavior before with these bulbs? Using Z2M in docker.
I have a couple of the "Pro" RGBCCT bulbs and I haven't seen that, just tested to see if I could replicate that behavior and still normal. Just transitions off like you'd expect.
That's what I usually recommend, I have two of the P1s and they work great. Amazon usually has them in stock.
Is there anything else
Hello : I have something pretty weird with a MS01 by eWeLink PIR sensor (similar to the sonoff) :
HA show a Motion Detected, when I took the battery off more than 5 min ago
I can manually change state to off, but it goes back to on in either 1 second or about 1 minute
restarted HA a few time
nothing weird in logs
ok so I deleted the device and added it back and it is ok again
What is this error?
Logger: zigpy.appdb
Source: runner.py:186
First occurred: 7 October 2023 at 11:33:11 (5367860 occurrences)
Last logged: 10:17:43
Discarding _save_device_last_seen event
Discarding _save_attribute event
Discarding _save_device_relays event
Discarding _neighbors_updated event
Discarding _routes_updated event
5 million occurences lol
I know it's not really related, but I did try your new quirk for the curtain but I still get the same issue where it fails to stop command and then goes unavailable.
May get an aqara hub to see if there's a firmware update
What coordinator are you using?
sonoff usb p version
Are you running in a VM?
yes proxmox
Looks like connecting to the USB device fails the first couple of times, requiring multiple attempts before it works. This will be fixed in the next HA Core point release.
that explains the 5 million occurences?
Yes, it's a known issue that is only triggered if the initial connection to your USB device is unstable
I assume there is nothing i can do on my end to improve stability
of the usb port comms
I haven't checked why Proxmox behaves this way or what will help but you normally wouldn't notice, since ZHA tries multiple times to connect to the radio before giving up
It usually works on the second or third try. There was just a bug that wasn't fixed in the beta that appears on the second reconnect attempt.
I have been noticing slower than normal zigbee response time
That would be unrelated and not controlled by ZHA
Heyall! (Was sent here from general support channel)
Anyone run into this issue?
I have an aqara powerplug added to HA using zigbee via ZHA, i also have an Trådfri on/off switch i wish to connect to control a group of lights that are unrelated to the powerplug.
However the moment i add the trådfri switch to HA by using the factory reset it somehow outside of HA binds to the aqara powerplug and starts controlling that.
This is even interpreted by HA as if i press the physical button on the aqara to turn it on or off.
It is annoying as hell and blocks me from using a physical lightswitch in this room.
I just managed to sort it out.. By readding the powerplug (factory reset) AFTER adding the lightswitch
But it happens when i add some other trådfri switches too
That exact issue comes up periodically yeah.
It's always the tradfri switches that do that.
It’s an issue in the plug firmware, check out: https://github.com/Koenkk/zigbee2mqtt/issues/13903
What coordinator are you using again?
(and on which firmware is it?)
is there a way to lookup real quick which device has which NWK ?
like from the sqlite database ?
SkyConnect. I assume the latest?
Hey guys... turns out zigbee doesn't like walls too much ... Using Sonoff zbdongle-e but in the other part of the appartment devices pair and exit the network 5 seconds later.... Please recommend some good range extenders compatible with HA? Got 3 Curtain motors, mains powered, which supposedly should be able to act as repeaters, but ... they aren't doing a very good job.
You can download diagnostic information from the ZHA integration to get the version
the NWK address I meant
In the ZHA visualization you can search for the NWK, it'll (barely) highlight the node
How are you joining new devices? Are you keeping them in-place, or are you joining them near the coordinator and then moving them across the house?
@austere patio indeed it works, even with my 90+ devices 🙂
thanks !
I really need to put those damn light bulbs on a separate network
there is no way to exclude light bulbs from being a router in a network right ?
No way at all, unfortunately
Plugs,bulbs, other mains powered devices. If you're really set on a repeater only get a Zigbee stick and flash router firmware on it
I hooked up an ikea tradfri remote via zigbee2mqtt and now when I push the toggle button it keeps turning on and off a specific switch. I realized it by a coincident when i was using a blueprint to create an automation. After deleting all automations the issue remains so I assume it must be a setting within Zigbee2mqtt that I need to change?
They're binded
Binding is a blind spot in my knowledge bank. It is nothing I have done by purpose, could it be a standard behavior?
I can’t see that the new remote has any specific binding. There is a binding from source 1, destination controller, target 1 and OnOff I selected
hey can someone help me out with understanding how my zigbee router/antenna works with regards to my devices and backups and firmware updates?
What do you mean?
i have the sonoff zigbee ZBDongle-P based on TI CC2652P + CP2102N
ok im a real noob here
so im scared out of my mind to do anything with the antenna, like a firmware update for example
i took a backup of my HAOS, which is good. is it as simple as restoring to another HAOS and plugging in my dongle?
Yes
what happens if i mess up a firmware update and i need a new dongle, SAME MODEL, can i just point my zigbee network to that dongle? and it would work/
Yes, and yes
like where is the limitation? i cant just attribute any zigbee dongle can I?
Though, most of the recent firmware for that stick has issues - don't upgrade the firmware
ZHA or Zigbee2MQTT?
like for example, a layer 2 unmanaged network switch, if it breaks, i can just pop in a new one and it'll work
ZHA
Then you can swap between any TI or EZSP adapters
lol, how do i know this! haha, ok, how do i see what firmware I have on it, someone suggested my zigbee issues might be the firmware
is that like chipsets?
Yes
where do i learn this in more detail?
ive created a monster of a network and i have zero faith in a backup restore working and im losing my mind because it took a month to move all my crap
learn what TI or EZSP is?
It works fine
Those are chipset types, CCxxxx is TI
The ZHA docs have a list of example sticks
so my zigbee network is associated to the chipset?
ok and where did you see that there was an issue with this dongle/
Network info is written to the stick but also kept in a database that's included in the HA OS backup. If you move to a new stick, ZHA will ask you to confirm a few operations to write the existing settings to the stick.
ohhhhhhhhhh
so i could take a vanilla stick and when HAOS finds it, "attribute" it to the network
for lack of a better term
Here, on various GitHub issues, and many other places 😉
The problem above is with the firmware, not the dongle. Though both Sonoff dongles have problems too...
so what should i have gone with?
about three months ago when i embarked on this, this was the recommended stick
and obviously, it goes without saying it has to be able to work with being transfered from this stick
would that slide right into place of this stick with a backup/restore?
like is it the proper chipset?
Yes, yes
What network problems are you having and how long ago did you set up your Zigbee network?
ok, i built a whole network on the nortek stick
then i was having issues at scale, 70 zigbee, 40 zwave
so it was recommended i go with the sonoff and the 800 stick for zwave
What kind of issues?
i also needed to change my zigbee channel from 15 to 25 so i had to re-add ALL my devices
zigbee devices going dead
And of the 70 devices, how many routers?
missing automations
im embarrassed i dont know how to answer that, are those MAINS powered ZIGBEE devices?
no sengled bulbs
im looking, hold
i have a TON of the sylvania switches
smart plug
and a bunch of their lightbulbs too
Can you download diagnostics for the ZHA integration and upload a link to the JSON somewhere?
let me see if i can figure that out
let me know what you are looking for in this, im trying to learn
36% channel utilization for channel 25 and nearby channels are similarly congested. Is the stick on a USB extension cable and away from USB 3.0 devices, ports, SSDs, WiFi routers, mesh systems, etc.?
it is on an extension cable and its about 40 feet away from the nearest WiFi AP (Unifi)
i do have my lab in the basement though
i have three UNIFI APs and I believe they are on channels 1, 6, 11
1 in the basement, 6 on the second floor but directly above the zigbee antenna and 11 is on the top floor in the foyer
the three APs broadcast four SSIDs
Any nearby USB 3.0 devices?
A couple of feet
its my office and homelab so im sure i got some 3.0 things nearby
im using an APU4 that has two USB3 ports
as my HAOS
(which is also a mistake im learning because i can do HAOS upgrades)
i have pi4's aplenty
im open to changing everything, i just need to do it with backup/restore though because its taken me months of free time to migrate everything and do all the automations/scenes, etc
Double up on the extension cables and move the stick even further away. If that fails, you can change the channel or try a more recent firmware for your Zigbee stick. I don't keep track of what firmwares are considered stable these days for ZNP radios but depending on the types of devices going offline, that may be a solution. As a last resort, you can change the channel of your Zigbee network to something quieter. ZHA has a button to do this, and to pick a quiet channel for you.
and all of this is without having to re-add devices?
so i can pick AUTO and it wont bork my whole system?
i guess i have the backup right?
Unplugging things and using longer cables is, channel migration is best effort and depends on your mix of devices. Some people can do it freely without losing a single one, others have to rejoin a few sensors that don't do so on their own after an hour. But you want to minimize interference before migrating channels.
You can't restore a Zigbee network backup like this, since it's a snapshot of the coordinator's state. If you restore it, devices on the network using the new channel won't magically migrate back to the old one.
so its quite a risk
even if i manually put it back to channel 25, ohhhh i see, the devices that "went" and changed channel wont know to go back to 25
FML
If you 100% want to avoid re-joining any single device at any cost, don't switch channels. I would first reduce interference sources, use a longer extension cable, and then try it as a last resort once your environment is good.
ok
how do i measure "good"
with this download file?
what did u look specifically?
can you select the lines and send me a link back?
i am completely lost here
any idea how to see what firmware im on?
right understood
i did mess with the flashing tool once, i borked something and legit just ordered a new one from amazon
not about to do that on my production environment
You can see your firmware versions in logs or by downloading ZHA diagnostic information IIRC
Or maybe also on the device page of the coordinator
Interference is also shown in the Zigbee diagnostic file
"metadata": {
"zstack": {
"TransportRev": 2,
"ProductId": 1,
"MajorRel": 2,
"MinorRel": 7,
"MaintRel": 1,
"CodeRevision": 20210708,
"BootloaderBuildType": 0,
"BootloaderRevision": null
}
and how do i deduce from where?
"CodeRevision": 20210708,
That's old old, but also not new enough to be the known bad
so i need someone who knows this dongle to recommend a firmware to move to?
or go to skyconnect?
20221226 is the last known "stable", for most values of stable
https://github.com/Koenkk/Z-Stack-firmware/discussions/478 has other versions that may/should work
ok this is my concern though, im experimenting in my live environment
what happens if the firmware isnt good, is there any going back to working state?
Yes, you can just flash a different version
there's too much riding on just frivolously applying firmwares?
ok and my local HAOS database would just apply the database to the stick?
similar to if i bought a new one from amazon?
this is where my original concern that started this topic comes from
where are ya'll seeing congestion in the json?
Line 308
Yes, but maybe no
Channels 11, 15, 20, and 25 are ZLL channels and well supported by all devices
Other channels may not be supported, but documentation on that is spotty
good grief, so lower number is generally the better number?
yes, i have done those during my last migration
generally lower interference and not right on top of a wifi channel
which is where those channels came from
which is why i did 25 for zigbee
so i can change to AUTO, but its a gamble regarding potentially re-adding devices that didnt "AUTOMATICALLY" convert
regarding the usb3.0 port. is the concern at the END of the extension cable or the PORT on the HAOS itself?
in my case the APU4 sitting in my rack of other equipment
Port, plus port + cable
good lord ok
There should be a sticky post about it
i have some ideas about putting the APU4 and its antennas elsewhere in my house
if ONLY to get away from my congested homelab
when i move it, is there a way to force a "rebuild" of the zigbee network?
i could keep asking questions but ill give it a rest
just wanted to confirm one thing: i can go from the zonoff to the skyconnect seamlessly?
it's in the same "family" or "chipset" and therefore would be seamless?
Yes you can, and no it's not the same chipset
oh ok but its seamless, is all i care about
got it, thanks
"manufacturer": "Nabu Casa",
"board": "SkyConnect v1.0",
"version": "7.1.1.0 build 273",
"stack_version": 9,
"can_burn_userdata_custom_eui64": false,
"can_rewrite_custom_eui64": false
Likely won’t help, but you might be able to update using https://skyconnect.home-assistant.io/firmware-update/
In the (debug) logs, it just says „delivery failed“, not anything with „left network“, right?
