#zigbee-archived
1 messages Β· Page 50 of 1
AFAIK, Matter isn't a comms protocol like zigbee/zwave are. It's for interoperability between things. Thread is probably what you're meaning.
possible. as I am not using this at this point I have not the proper vocabulariy in the details.
π
#thread-archived can answer (2) and (3) for the Thread/Matter parts
Lots of people run network connected Zigbee coordinators, if your network is stable it works well
doesn't really anser (2) and (3) from my perspective. I know that technically both way are working (USB adapters on a rpi with HAOS that connect to a HAOS VM - or ethernet capable adapters for zigbee and matter) The question isn't if it is technically possible, but rather, are there thread adapters with ethernet connector? which of the both architectures is better / or what are their up and downsides? I currently would like to rather go for the ethernet adapters solution as I do not like to update my HAOS RPi several times a months and do not like the complexity of the solution, which makes it more prone to failure and security vulnerabilities.
Well, #2 has nothing to do with Zigbee
If you want to know about network connected thread coordinators ask in #thread-archived
correct, sorry, I posted that also in the matter channel
uh--- ok in the thread channel, I missed that
Network connected Zigbee coordinators are fine if your network is stable. If your network isn't they're not fine
yeah, thanks, my network is fine for that.
Then a network connected coordinator should be absolutely fine for you
Got this today with multiple lines,
[0xA9B6:1:0x0001]: async_initialize: all attempts have failed: [DeliveryError('Request failed after 5 attempts: <Status.MAC_CHANNEL_ACCESS_FAILURE: 225>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_CHANNEL_ACCESS_FAILURE: 225>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_CHANNEL_ACCESS_FAILURE: 225>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_CHANNEL_ACCESS_FAILURE: 225>')]
I have a new Zigbee stick on the way too (Home Assistant Sky Connect). Should be here today at 7 PM
Facing multiple periods of controller lockup of Zigbee and Z-Wave randomly then suddenly it all starts working again. I can reboot the host and most times it'll come back
how did you configure HA to communicate with your zigbee and zwave dongles?
I plugged in the stick, it popped up to configure Z wave and Zigbee respectfully automatically with the native integrations I believe. (Sonos 3.0 stick on Zigbee side right now)
Are both on USB extension cables?
Correct, first thing I tried
I was talking about the device nodes that you're using
Not sure what you mean by this one unfortunately.
So wifi interference (which is entirely possible) or the NVRAM on the Sonoff stick is dying)?
So my non-working conbee-II was fixed by a reboot without the stick, and then a new reboot with the stick. Who knows, but it's fixed π
Interference.
https://github.com/zigpy/zigpy-cli/blob/dev/README.md#performing-an-energy-scan
If you do an energy scan, you can see how much noise is on the Zigbee channels and change it accordingly.
Provided you've done what you can with the physical environment, ie using extension cables, making sure your stick isn't near any SSDs or Bluetooth devices, maybe changing your 2.4 GHz WiFi channel to one that's less likely to interfere with Zigbee.
Thank you very much. This will be most helpful
Which zigbee sensor do you recommend to use for thermostat ? An accurate one and that reports frequently ?
Xiaomi Aqara
I have run into a problem with one of those, but it was really obvious. The others have worked with no problems at all. (The problem being that it was reporting it was -100C. which I'm pretty sure my hall wasn't.)
Ok but I have some sensor that donβt report anything during 15 to 30min
This model
Hello everyone, is z2m having a service in home assistant to launch permit_join from home assistant commands?
I'm having some issues with ZHA.
I just bought the skyconnect to get off the tuya cloud and started adding my first handfull of devices, but I'm struggling with some devices becoming unresponsive after a server restart. It's only after I cut power to the offending devices and reintroduce it, that they again start to work correctly.
why is this happening?
It's literally my first day with a HA coordinator so any help would be greatly appreciated π
Hi, I installed home assistant on a Vm on synology. I have a dongle sonoff zigbee model E. When I start Zigbee2mqtt I have this error:
2023-06-22T14:42:34.316Z zigbee-herdsman:adapter:ezsp:erro zdoRequest error
2023-06-22T14:42:34.317Z zigbee-herdsman:adapter:ezsp:debg Node descriptor request for '0' failed (Error: ZdoRequest error), retry
Error: ZdoRequest error
at Driver.zdoRequest (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/driver.ts:573:19)
at EZSPAdapter.nodeDescriptorInternal (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/adapter/ezspAdapter.ts:373:28)
at Object.func (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/adapter/ezspAdapter.ts:363:32)
at Queue.executeNext (/app/node_modules/zigbee-herdsman/src/utils/queue.ts:32:32)
Hi all, ordered a skyconnect and wondering... what can I do to add greater resilience to my zigbee network? Current plan is I have a dedicated UPS battery for my home assistant sbc. My goal is to not have to walk around and reset any zigbee devices if possible.
Can you elaborate on what your concern is? I'm not sure how your last sentence relates
Sure, what I have always heard about zigbee is you will end up having to walk around and reset every single device in the event the system goes offline
You don't
that is only if you move to a new network. but both ZHA and Z2M have backups now that can easilly move your network to a new coordinator.
zha even has channel changing now, so you only have to reset some device if you end up have to do that - not all.
Thank you both for the info. I really appreciate it. Any tips for making zigbee a success appreciated. Right now my plan is ha on an sbc with backup battery + skyconnect zigbee hub. Would anything else be worth adding to this setup besides the zigbee sensors themselves?
Make sure you have plenty of routers (also called repeaters). Most mains-powered zigbee devices act as routers
I have HAOS up and running on a NUC and have a Nortek HUSBZB-1 zwave and zigbee combo usb stick I am trying to install Zigbee2MQTT. I keep getting this error after configuring my serial port on the Zigbee addon. Any thoughts on this? Zigbee2MQTT:error 2023-06-22 13:55:49: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2023-06-22 13:55:49: Failed to start zigbee
Zigbee2MQTT:error 2023-06-22 13:55:49: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2023-06-22 13:55:49: Exiting...
Zigbee2MQTT:error 2023-06-22 13:55:49: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
at ZStackAdapter.start (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:103:27)
at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:132:29)
at Zigbee.start (/app/lib/zigbee.ts:58:27)
at Controller.start (/app/lib/controller.ts:101:27)
at start (/app/index.js:107:5)
Itβs an ezsp coordinator- you have to have that in your config
How so I add that?
Check z2m docs under the adaptors and the not recommended/experimental section for ezsp there are examples under each device
Ahh, I dont even see my adapter there
Just picked up a VINDSTYRKA sensor. Not bad π (hooked up with zha, and a zha_toolkit script to pull tvoc)
why does it need the script?
zha doesn't yet natively support it.
there's a quirk sitting waiting to be merged, but it's not there yet.
https://community.home-assistant.io/t/ikea-vindstyrka-zigbee-air-quality-sensor/549747/32?u=fuzzysteve has a zha_toolkit attr_read based automation to pull it
yes, strictly not a script
Any particular model of repeater you would recommend?
guys whats the best for smart switch compatible with zigbee?
I don't have an answer, but you should say where you are for that smart switch question. European/British standards are different from US
British switch boxes are square
ok so i bought a sonof zigbee right?
most bulbs?
i dont use it because i dont have any device compatible with that, i was thinking about getting 2 swtich for my garage door and i thought why not buying them for zigbee
so here i am
You bought a Sonoff ZigBee stick?
yes
like few months ago
i have it plugged it to my pc but never use it...
as my devices are not compatible :(
And you're using which integration for Zigbee?
You need to choose one before getting the device otherwise it might not be supported
oh really?
No I'm lying for fun
what are the difference between each one?
See pinned messages for that
and you cant add all of those integrations?
you've got 2 basic options with that stick:
ZHA - the one which comes with home assistant. Fairly new.
Zigbee2MQTT - more complex. Gives some different options. A bit more mature.
Both support most things. And there's this handy site which has a list of different devices and which integrations they work with π
cool the website is in the pinned message?
i woudl have found what i was searching for if it wasnt uk and eu
does are all the devices? D:
Oh, there are more. This just covers a subset of ones which have been tested.
oh ok good
because theres only 2 switches there :/
Zigbee2mqtt.io has a more extensive list but names and images are not always correct
Those no names on Amazon are a gamble
Gantch. It's not a 'real' brand.
i am just searching for a switch with 2 buttons to be able to connect to my zigbee stick D:
it's an amazon marketing thing for someone drop shipping.
π₯Ί
on amazon?
whats with neutral and no neutral
wtf 45$ damnnn
Some people's wiring has a neutral wire in their switch boxes. some people don't.
i see
and it looks like on amazon, they're basically out to stock π¦
and also expensive af
also for me they are on stock
but damn the price
too much
Buy cheap buy twice
D:
Look for linkind, enbrighten
There's also the option of using a sonoff relay in the box, if there's space for it/
wdym?
That does expand the choices
you get a sonoff relay, and plug the power into that. then connect the existing switch to the relay as a way to toggle it.
?
one of those does only one light?
those are wifi ones
the important thing is: They require a neutral wire.
I can't use them because I don't have any neutral wires in my light sockets
i dont think my garage buttons have neutral wire
thats why i wanted some directly switches
https://www.amazon.com/Compatible-SmartThings-Philips-ZBBridge-Required/dp/B0B74H2P6G doesn't need neutral apparently
at this point idk, it might end up on wifi devices..
no its a button to open the garage door
lol
ahhhhhhhhhh
yeahh
motors can be problematic when it comes to controlling things.
π¬
when they stop, they tend to backwash current
so
your garage door opener, however, may have some instructions on how to wire in a relay to control it
so you don't touch the switch. you add an extra control
it really depends on the garage door motor. But can be something like that sonoff zbmini-l2
where it's not carrying the current to power the motor
mhh
unfortunately I don't know anything about garage door openers (I live in a first floor flat π ) other than what I've seen on youtube.
I'd suggest looking at the opener, and seeing if you can see a model number or something. and look that up on the intertubes. you might get lucky
Hi,
I have cover switch type MS-108zr.
Is it possible to deactivate calibration mode and have a simple up, down and stop mode ?
Currently my up time is longer than down time . Therefore when setting x % down, then 100 %, cover is never physically at 100%. Solution is to set a long calibration time and make first a full down movement that is not acceptable
Thank you by advance
Phil
Hey! Does anyone know if this guide works for the ZBDongle-P https://dialedin.com.au/blog/sonoff-zbdongle-e-rcp-firmware ?
https://www.zigbee2mqtt.io/guide/adapters/#notes is what you want
Essentially, I have the -P model but would like to enable it to also work as a Thread router. Is this possible?
with a docker container i would assume
You'd need the experimental Thread firmware for it
It exists, but I don't know what the current state of it is
Loads of stuff talking abou the -E but can't find a single mention of Thread on the -P
Personally, I wouldn't run experimental firmware on my production device, but I also have other people in my house who rely on me to make sure HA just works when they need it to who are going to get upset if I break everything.
Look for firmware for the CC2652 based sticks, they (mostly) use the same firmware
Haos in a VM using virtual box
Zigbee2mqtt
Skyconnect
Continuously get this error. Had it working for an hour or so last night but haven't been able to get it back.
Starting zigbee-herdsman (0.14.117)
Error: Reset error: Error: {"sequence":-1} after 10000ms
at /app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:299:23
at Queue.executeNext (/app/node_modules/zigbee-herdsman/src/utils/queue.ts:32:32)
Please help
given z2m is complaining about a uart error, likely a passthrough issue to the vm. but can't rule out issue with ezsp coordinator with z2m since they are experimental.
Is there any troubleshooting if it is the passthrough issue
I posted a build that should work on it last year (the LaunchXL one) https://github.com/tube0013/tube_gateways/tree/main/openthread_boarder_router_fw
it's on my list to get a more up-to-date build
Or do I need to get a sonoff stick for z2m? Or switch to zha?
I created a whole product/store/LLC to avoid vm passthrough π so I'm not much help there.
Man I had ha/mqtt/z2m all running in docker on a Pi and it seemed overly complicated. Thought haos would be more straightforward lol
Great!!
Do you use it in production?
no. it was tested back when it was created and worked with otbr addon. but it may be too old
you could look at compiling the example: https://github.com/openthread/ot-cc13x2-cc26x2/blob/main/src/cc2652/README.md
you likely will need to change the some of the pins for the sonoff.
I originally compiled it from the rcp example in the ti sdk. but I think I saw they were removing it in favor of the above example.
hi all, following the instructions to update my FW on my SkyConnect, except I do not know where to get the actual file name on the last command
flash --allow-cross-flashing --firmware <firmware-file>
what is the <firmware-file>?
full instructions here:
https://github.com/NabuCasa/silabs-firmware/wiki/Flash-Silicon-Labs-radio-firmware-manually
version 7.3.0.0
<firmware-file> is the fle with the firmware
but what is the file name?
Well... it depends on the one you download
It does give you an example there
https://github.com/NabuCasa/silabs-firmware/ has various options for different sticks and different features
ahh thank you. I found it!
NabuCasa_SkyConnect_EZSP_v7.3.0.0_ncp-uart-hw_115200.gbl
If that's the one you download and use, yes
can anyone tell me what the numbers mean on the Zigbee Coordinator Topology Map, there are lines connecting the various devices, routers, endpoints, etc, and there are some numbers on the lines, like 126/122. what does this mean?
It's the Link Qualtiy Indicator (LQI) for that link
That's the LQI, a scale of 0 to 255
π€ higher = better?
Yes, ish
How the numbers are calculated is down to the device, and the coordinator chipset, and ... it's just a very rough thing
thx. i ordered some more "router" type devices to flesh out the mesh a bit, some of my endpoints are dropping off network daily and its getting frustrating
If the devices work then the LQI is irrelevant. If they don't work, it's also irrelevant
trying to update the stick....when copying and pasting in the terminal (SSH addon), i found it does not work well with ctl + C and ctl + V, is there some trick....like holding shift or something
for this part
$ universal-silabs-flasher --device <serial-path> \
flash --allow-cross-flashing --firmware <firmware-file>
I noticed that after the \ there is a line break, not sure how to do that in terminal?
or is it all one line?
never mind...removed that \ and made it one line and its now updating
The purpose of the \ is to allow you to continue the command on another line
pulled down the newest TI SDK and compiled and tested a new rcp with one of my modules. but sonoff uses same z-stack build so should be compatible. worked with latest otbr addon. https://github.com/tube0013/tube_gateways/tree/main/openthread_boarder_router_fw
I have the sonoff dongle E https://sonoff.tech/product/gateway-and-sensors/sonoff-zigbee-3-0-usb-dongle-plus-e/ what is recomended ? 115200 or 57600 baud rate ?
depends on what ?
115200
so if I have it right, if I use a sonoff zigbee dongle ... I can ditch the Aqara Hub's and connect the devices directly?
Yeah.
That's like, half the point of home assistant, eliminating proprietary hubs.
Interesting thing happened, I tried to add an Ikea Tradfri 2 button on/off switch via a relay (its DC powered and router so i added via this device), it was not adding so I pressed the switch on and off and it was turning the relay on and off π
ZHA SkyConnect
Hello, is there anyone who used heavily zigbee bind? I like the idea of having some switch working independently of Home Assistant.
If I want to change the server I'm using, I'll just make a back up of my HA and restore it in the new server, but what about the zigbee coordinator?
Do I just unplug it and plug it into the new one, or is there more to it?
I assume you use ZHA?
No, I'm using Z2M
As addon on Home assistant OS?
What is sure is you need to make sure you move the /data from it to the new place. Like explain in: https://www.zigbee2mqtt.io/guide/faq/#how-do-i-move-my-zigbee2mqtt-instance-to-a-different-environment
so just make sure the I transfered the /data, then just unplug it and plug it to the new server?
great then thanks a lot
I donβt use addons. I donβt know what backup/restore strategy they have in place
are you running HA core ?
I am not an exemple of simplicity π. I have a Homelab running k8s
Nope, I'm not at that level yet π
I'm just planning to move from my old laptop running HAOS, to a server with proxmox
Hello all, anyone have experience with the sonoff zbmini-l (no neutral) switch losing connectivity with ZHA. It still shows the state of the switch correctly but is unable to control it. Running ZHA with silabs multiprotocol add-on
I have to re-pair it constantly
I have one of those and I do not have that problem.
How far is the closest routing device? How far is your coordinator? How many walls are between the ZBMINI-L2 and either of those things?
Is your dongle on a USB extension or is it plugged directly into your machine?
What sources of possible interference can you identify, ie WiFi router, BT devices, SSDs near or between the device and the closest router and/or your coordinator?
If it shows the state correctly but you're unable to control the device, you've likely got interference or poor mesh causing packet loss.
Check your logs, you'll probably see 225 no route or 223 mac no ack.
Hello all. I have a handful of ikea tradfri 2 button switches. One of them is reporting battery different from the rest (255% with a new battery vs 100%). I noticed that the firmware appears different than other switches. Having issues updating it. It says no file exists. Is OTA updates broken for tradfri? Does HA have the latest firmware from ikea?
Is there any way to check?
@astral seal it's connects to a hue bulb router, 1 wall between switch and hue bulb. No interference, dongle is on USB cable. No SSD
which is strange because the coordinator is closer than the hue bulb
it shows the route in the connection map
seems to be working atm.. it's intermittent
Just seeing if anyone else is having issues with this particular device. It might be worthwhile deleting it completely and re-pairing it
Zha pulls those updates directly from Ikea's servers iirc. The actual answer to battery status reporting problems is "don't worry about it, it sucks".
Is there anything consistent for versions between switches though? Seems like firmware versions are all mismatched between each switch...
just as an FYI, I'm pinging a thread device on the other side of the house connected to the same radio and channel as ZHA
replys <100ms consistently
and no other devices ever going offline
What error codes show in your log when you try to control the switch but it doesn't respond?
Just in the standard system log? I might have to enable debug logging
Hrm.... it seems as some of my other switches are updating, but not this one. Two have matching firmware now, and it seems as if something has downloaded, whereas before the only error on my tail command was "no file found"....
Do they sell zigbee boosters?
Yeah Iβm using apara devices so I donβt think those repeat
Iβve got a few instances where the apara device is too far from the usb dongle I guess
If they're not battery powered, they probably do
youtuber smart home solver just uses a zigbee wall socket plug as a relay
In any case, and add some wall-powered devices
Hello everyone, i'm trying to submit a new device setting because i have some zigbee lamps not controllable out of the box
i've read documentation on zigbee2mqtt website but i have some questions about configuring new devices unsupported
any can help me?
ZIGBEE2MQTT NOT SURE this is the right channel
Does anyone know of a Zigbee dimmer module which will work with a rocker switch. Canβt to seem to find one
Can anyone help me with my mesh? I dont understand whats wrong with it.
I have 1 Gateway (coordinator), 4 routers, and 2 endpoints. Everything is connected in the Topology except for 1 endpoint device, a Sonoff Door Sensor. This particular sensor is actually extremely important to my daily life and I really need it to be stable. Lately its been dropping off my network at random, sometimes it will stay on for 8+ hours (my typical work shift) and then sometimes it will disconnect every hour or so, and the only fix is to crack it open to get to the pairing button and re-pair it.
The Gateway is in another room separated by a hallway (roughly 40-50 feet), in that same room I have 2 router devices that get good connectivity, in the hallway I have another router device, and there is 1 more router device in the room with the Door Sensor. I also have other Sonoff products in the room with the door sensor, and those are stable and show a solid line between them and my router devices. But the Door Sensor just wont show a solid line between it and any Router / Gateway.
What can I do to solve this problem?
sonoff end devices are known to suck and most people just avoid them for this exact type of scenario
π€
what door sensor should I use them? I need it to be very small and very lightweight
their coordinators are fine (i use one) although there have been a handful of issues
the aqara zigbee 3.0 ones are popular and work well
the cheaper aqara zigbee 1.2 ones work well too but dont get new routes as you'd expect them to so you pair them to the router closest to them and they do pretty well
π€ i searched them on amazon just now, but they are all very expensive Bundles, I only need 1 door Sensor by itself
i have a bunch of the cheap ones
https://www.amazon.com/Aqara-MCCGQ11LM-Window-Sensor-White/dp/B07D37VDM3 this is the old model
you can buy direct from ali e too
otherwise i guess the new gen e1 or w/e are only in bundles on amazon
cuz money
π€ when you say "pair to the nearest router" what do you mean? how do I do that? can Sonoffs do that?
i have one of the old models linked above in my mailbox and it triggers 100% of the time even tho closest bulb is pretty damn far away
idk how to do it in zha, but in z2m you just select the router you want to pair it to before turning pairing on
has nothing to do with the coordinator or sonoff or whatever
π€ ill try googling it a bit, if i could pair to the router inside the room, it might solve my problem
lol sorry, im genuinly trying to learn, im still new to a lot of this stuff
i just figured theres a setting somewhere that i just didnt know about
if you have a device that sucks, it's gonna suck no matter what you do
well, it doesnt suck, most of the time, sometimes it will work for long periods of time, then it cuts out
if it didnt suck you wouldnt be here
and i dont understand why, its just not connecting to the close router
sigh...guess im buying ANOTHER device...
thx for the suggestion, i am gonna buy the aqara
Yeah I have a couple of these https://a.co/d/iWlD2VN and I've been happy with them.
In ZHA, to pair via a specific router you will
Remove the device
Select your router under your Zigbee devices
Hit the three dots over to the right of where it says "reconfigure" under device info
And "add devices via this device"
Put your sensor into pairing mode
And let it do its thing
How does one change the Zigbee2MQTT channel? I've started to get Data request failed with error: MAC channel access failure` But changing the channel cause Zigbee2MQTT because a config mismatch, help please?
guess impossible without re-pairing all my devices, jeez...
some of zigbee devices now lag
Omg I just realized that the Phillips hue devices are just zigbee devices and the lights can all act as hubs
Routers (repeaters), not hubs, but yeah
Yeah Iβve got a sonoff plugged into the HA
Thank you for this!
however, i have not been able to get either of my sonoff endpoints to connect to a Router device. I even took the batteries out of them and let them sit for a bit then put them back in and put into pairing mode, the Router device is not finding it
it seems the endpoints refuse to connect to the routers, and will only connect to the coordinator
Did you hold down the pairing button on the end device until the light flashed? I don't have any of their entry sensors, but I have a couple of the temp and humidity ones (they're OK at reading temp but absolutely terrible on the humidity side) and you have to hold the button until the light flashes.
i have Door Sensor and Temp Sensor
niether will pair to a Router
they only pair to the coordinator
I removed my Temp Sensor from Devices, took out the battery, waited a min or 2, put battery in, clicked the 3 dots on the router Inside the Room, hit Add Device, pushed the button on the temp sensor for 5 seconds until the light flashed a few times, sat the sensor literally ontop of the Router Device, waited a while and eventually HA gave me the "nothing was found, make sure you have pressed the pairing button"
Did the exact same thing but first selected the Coordinator, pairs in like 10 seconds
trying again....
it seems to me to either be an issue with Sonoff in general, or an issue with these Router devices (which are also Sonoff)
yah its not finding it at all, which makes no sense, its like the Routers can only talk to other Routers/Gateway and Endpoints can only talk to Gateway
so...what is even the point of labeling them as Routers lol
@tranquil mica I have sonoff endpoints that connect to routers (hue) and I'm using zbdongle-e
I paired everything through the coordinator initially, it then determined the mesh routes
not sure how it works in that regard, but someone will and they should chime in when they see it
also, I didn't see if you are using ZHA? and do you know which firmware you are running on your coordinator?
zha
ok, with zbdongle-e ?
https://sonoff.tech/product/gateway-and-sensors/sonoff-zigbee-3-0-usb-dongle-plus-p/
i have this dongle
ahh zbdongle-p
build 20210708
that's a different chipset to the zbdongle-e, but as I said someone will know what the issue is when they see it
2 year old firmware hmmmmmm
i dont know how to update it
i dont even see where to find new firmware on their site
you might try watching this: https://www.youtube.com/watch?v=KBAGWBWBATg
he's got the resources too
links to them I should say
here's the same links to the firmware and some very basic instructions from blakadder : https://zigbee.blakadder.com/Sonoff_ZBDongle-P.html
welp...i took it apart...got the flash software....got the firmware
and my stick is not being detected
......
ive retried it multiple times now
it does not detect my drive...ever
maybe you need the drivers for it?
took it apart lol
π€ no where in his video does he talk about drivers
from the description: If you cannot see the Dongle in the flashing software, make sure that you install the drivers for the Dongle first.
I had to install the cp210x driver on my Mac and use the serial port device that it exposes
It exposed a device by default, but it didn't work
ya a lot of people have these installed already from messing with arduino/esp8266/esp32 etc
got it.
they're packaged inside installers usually
-.-; ok. now it wont go into bootloader mode
i tried pushing the button once, i tried holding the button for 10 seconds
it just keeps saying unable to flash, not in bootloader mode
suggests the python method again
ERROR: [Errno 2] No such file or directory: 'CC1352P2_CC2652P_launchpad_coordinator_20230507.hex'
-.-;
you might have to run the command in the same directory that contains that file.hex
i did
no such file or directory though
ERROR: [Errno 2] No such file or directory: 'CC1352P2_CC2652P_launchpad_coordinator_20230507.hex'
hang on
C:\Users\Administrator>python.exe C:\Users\Administrator\Downloads\cc2538-bsl-master\cc2538-bsl.py --bootloader-sonoff-usb -p COM4 -evw CC1352P2_CC2652P_launchpad_coordinator_20230507.hex
sonoff
Opening port COM4, baud 500000
Reading data from CC1352P2_CC2652P_launchpad_coordinator_20230507.hex
Your firmware looks like an Intel Hex file
ERROR: [Errno 2] No such file or directory: 'CC1352P2_CC2652P_launchpad_coordinator_20230507.hex'
its in there
can you enter the directory and run python.exe from there?
LOL now i get a message saying "this app cant run on your pc"
instead of specifying the path
bruh..i dont even know anymore
cd "C:\Users\Administrator\Downloads\cc2538-bsl-master"
OK its doing it
The reason is probably 'windows'
holy jeezus crackers....
see the reason is not following the instructions
it says it did it...
it was a 50/50 shot either fucking it up or succeeding
HA zigbee integration wont initialize...do i need to remove it???
nvm. im trying reconfig
well..GGs....it seems to be bricked now
what happens when you plug the dongle into your windows PC? Is it recognised?
HA detects it, attempts to load it, gets to "loading next step for zigbee home automation" and then Errors
you might try unplugging the dongle, deleting the integration, reboot the host, plug in radio once HA has started
phew...switching from a 3.0 port to a 2.0 port fixed it....which makes no sense...but ok
any idea how to manually set a group ID? ZHA
zha toolkit can do it (likely a websocket command too) https://github.com/mdeweerd/zha-toolkit
yea, i was just scrolling that page,
odd remote, for my daughter, so its fine. I have no problem hard coding her lights
Tested a similar one - only way to really use it was binding to a device or group
If you can get to a ha command line like the terminal app or something you can also do something like this:
$ hass-cli raw ws zha/group/add --json='{"group_name": "Test 0xF993", "group_id": 63891, "members": [{"ieee": "00:12:4b:00:1c:a1:b8:46", "endpoint_id": 1}]}'
That adds a group and adds the device with the ieee to it
Been a while since it messed with this
@molten linden it is late, so i tried a quick c/p before bed
but i forgot the h, so ass-cli was not found
i get what i deserve
going to bed, it "shouldn't" be that hard.
Agree, but also the id shouldnβt really matter and if it does a quirk should take care of it
hmm ... is ZHA or Zigbee2MQTT better / more functional for getting at everything?
@molten linden seems completely hard coded, it doesnt even send through HA
I was messing with Lutron aurora and it was sending on/off presses to a group ID. I sniffed it and was trying to add my coord to the same group
because why else would you care what your coord is on
good news is its documented my remote is on
well, i could then only use one zone.
Obviously you can only have 1 FUT089Z remote per Zigbee network as it always command groups with 101 to 108 ID
oh, what is the remote, right? im going to sleep
Same.
Anyone able to get the TS1201/TZ3290 zigbee to IR remote control thing to work? using ZHA
does anyone has any reference on whether ZHA will ever support OTA for hue automatically? so essentially a similar functionality to z2mqt has? (e.g. a roadmap of some sort)
updating HUE via ZHA is quite uncomfortable .. you need to cherry pick the image, find the exact model manually, load the files in a directory, etc ..
Some exposes in z2m for my smart plug such as voltage and current isnβt showing in HA, is there a fix?
Did you check the device page to see if it's disabled?
Not everything is enabled by default
How do I enable them?
Are they disabled?
I have a weird bug where my rgb color temperature is inverted, I have a zigbee controller wire to the led strips. Any ideas?
When I set it to cool in HA, it sets it to warm
Did you check to see that the light isn't mis-wired?
I'm using RGB CCT, is it Yellow to WW and White to CW?

There are ... dozens if not hundreds of controllers, and hundreds if not thousands of strips
And that's not covering the possibility of them being mis-wired
It does appear that it's incorrectly wired
Is there anything that has seen anything similar to this issue? I'm pulling my hair out trying to diagnose zigbee issues. For starters, I have a sonoff switch at my desk that activates 3 different scenes. It had been working perfectly until recently where suddenly, it won't run the automations. I can look in HA's log book at see the switch event being fired but it doesn't trigger the automation. Strangely though, if I go to the automation, change something about it - like have one click activate a different scene and save it, suddenly the entire animation works
Also, I've been trying to get motion sensors working with no long term luck. I had a cheap sonoff motion sensor in my bathroom and a simple automation to turn on the zigbee light when it detects motion. After a day or two, the sensor would just become unavailable and I'd have to re-pair it. So I figured ok, maybe it is a cheap sensor and went out and got a more expensive Samotech one. Same issue - it works perfectly for a day, maybe even a few days, but when stops activating the automation. Unlike the other sensor, it doesn't go unavailable, but it stops reporting accurately - HA says it is "clear" when it's clearly not - have to re-pair and start over
You canβt fire an automation and have it trigger if itβs already running. When you change something and save it, itβs no longer running, so that makes sense why it would work
My guess is your automation is using some long delay
I have no idea what is causing these issues. I've tried about everything I can thing of. The zigbee dongle is on a new very long shielded extention cable and I even added a few extra power switch repeaters to help
that's really weird as the automation hasn't changed, has no delay, and I've had no trouble with it until the last few days
Log time
I'm not sure I know what you mean by "trigger when it's already running" - clicking the switch is the trigger and it's not something that "runs" - it activates a scene and that's it
So um, any other ideas?
https://github.com/home-assistant/core/issues/94733 I wonder if there is something messing up zigbee recently
Nah. This is an issue with your system. My whole house is mostly Zigbee, I have buttons and a motion sensor, and I'm not having any problems. Worst thing I've dealt with lately was having to reset and re-pair my deadbolt after I did a channel change.
Let's see those logs. When things go wrong, there will be something in the logs explaining it.
Iβm using sky connect for my zigbee hub but my signal isnβt able to reach the garageβ¦ Iβve heard that the ikea smart outlet can be used as an extender. Are there any other options for extenders?
Almost any smart plug
Most mains powered Zigbee devices. Any plug will work, some bulbs, you just have to check, and many smart switches provided they're the ones that require a neutral wire.
You just have to see if the device specifications from the manufacturer say "end device" or "router" or "repeater".
Anyone using z2m and not all actions of a device is showing up in HA?
I have a IKEA 4 way button and the left hold and left release doesn't show up
That's pretty normal
Hi again π
Is there a way to solve it or make it better?
My left hold and release actually never appeared in HA and in z2m these actions are published
Also tried to remove and repair a few times in HA and they never appear
It's likely a bug with HA, maybe open an issue 
I see thakns
and in the z2m docs those actions are supported?
I've certainly noticed that HA's list of possible states (in the UI editor) is often/usually incomplete - and there's been many similar reports
The feature where it auto-populates that seems to be unreliable
yeah yeah otherwise I won't find this a problem
ya then i'd open an issue wherever it's broken
So it's this one: https://www.zigbee2mqtt.io/devices/E2001_E2002.html
ikea needs to be taken out back and shot for their naming of products
"the air quality sensor" oh you mean the "vindstyrka"
π¦
I have also encountered another bug. But that's on the z2m side. All my devices' avaiablity is "disabled" but I use all devices just fine
well at least now you know 1 more swedish town
If by 'appear' you mean in
-> States or in the automation UI, that doesn't necessarily mean anything.
what will i do with this new information?
actions are often ephemeral
maybe you can let someone else know about this fun fact over a beer
Nah just kidding
π
I mean in z2m -- devices click on a specific device then on the about tab
There all my devices' availability are shown as disabled but they are definitely not disabled
I don't know how to interpret most of that. I'm talking about the sensor entity you mentioned earlier
What Z2M says doesn't matter here
okay but I thought developer tools - state thing is a complete list of all entities
unless they mean the vindriktning. π (wind strength vs wind direction)
idk i'm happy knowing one language to communicate with
My point is that the names of the actions in the docs will probably show up in the action entity
states might not have anything for the actions on a button or remote type device because that's typically an event, not a state change.
Depends on the device and how Z2M exposes it. Here's an example of one of mine:
- id: kit_lights_switch
alias: Kit Lights Switch
initial_state: true
mode: queued
trigger_variables:
map:
up_single: "on"
down_single: "off"
trigger:
- platform: state
entity_id:
- sensor.kit_fr_action
- sensor.kit_dr_action
condition: "{{ trigger.to_state.state in map }}"
action:
- service: homeassistant.turn_{{ map[trigger.to_state.state] }}
entity_id:
- light.kit_overhead_scene
the action sensors momentarily reflect the action when the button is pressed and then immediately go back to blank
that's all more complicated than it needs to be, but hopefully it gets the point across
Gotta say for the moment I don't understand this
ok
the point is that you should use the action sensor in a state trigger testing for the values in the docs
A state triger? Not a device trigger? In the state trigger once I select this sensor action entity it doens't give me any options in the attribute or from to
you never need device triggers
ever
type what you want
ignore what's in the list
So in the state trigger entity, I choose this sensor.0x943469fffec8d2eb_action, then in the to section, I choose an action as documented at z2m for example brightness_stop?
Not choose an action since it doesn't give me a list so I have to type it in myself?
yes
okay then probablly there's a bug since all avaiable actions are not showing for entity but for device
but anyways
Now I also know why you should not use device trigger but state trigger
it has no idea what all the possible states are
I don't understand. Why does the device know but not the entity?
because devices in HA are made-up things that contain knowledge of the device and are very limited
that's becuase device id can change and entity id will never even after you remove the deivce and repair it
that too
just don't ever use devices for anything and be explicit about what you want
sure thanks
Hey all
I was sent here from automation
Okay - So I dont know whether this is the right place or not - but Im going crazy here. I have 5 aqara zigbee plug, they all have NO automation attached. Today some of my buttons suddenly startede to turn the 2 of the plugs on and off!. As I can tell they are in no way attached...:S
The logbook states:
Stue - Sofalampe (Sonoff-ZBMINI) Light turned off triggered by automation Stueknap - 1 Tryk triggered by event 'zha_event'
22:40:32 - Now
Stue - Lampe v. TV - Minirelæ (Sonoff-ZBR3) Switch turned off triggered by automation Stueknap - 1 Tryk triggered by event 'zha_event'
22:40:32 - 1 second ago
KΓΈkken (Bag sonos) - Repeater (Aqara) Switch turned off
22:40:32 - 1 second ago
Stueknap - 1 Tryk triggered by event 'zha_event'
Hi. Trying to set up a Conbee II with ZHA. Conbee is not auto discovered with HA on a Pi. Try to install ZHA manually but don't know to type for the serial path...?
using HAOS or?
Yes with haos
Yes terminal installed. Conbee II is a USB Device
do lsusb which list the usb devices connected
Binding. Go to "configure" under your Zigbee integration settings and look to see if it's created any groups. Also check "bindings" under "manage Zigbee device" on your buttons.
What to look for in bindings?
It seems empty
I'm trying to downgrade the fw for the round aqara plug with no luck
Im having issues with my zigbee network. I was using tuya wifi hub, just the cheapest thing i could find.
I bought some led strips to act as routers, and a bunch of sensors. Mainly pirs, contacta, and temp/humidity sensors.
everything has been going sweet for over a year, all my sensors trigger when expected everything was sunshine.
then just recently tuya's servers that gave updates to HA started to play up, with many ppl fustrated.
So i finally made the decision to jump to ZHA and bought a skyconnect.
But when i started to pair all the routers to the skyconnect i noticed the network starting to fall apart.
everything is in the same spot, i even added more extension to the usb cable to put the skyconnect in the same spot the tuya hub was.
*i have followed the guidelines as best i can
*i even moved my wifi channels over to make room
*turned of all other zigbee networks
*using a usb 2.0 port with 2.0 cables
- skyconnect is as far away from the router as the tuya wifi hub was
- checked with a wifi anylizer, no other conflicting wifi networks around the 20 - 25 zigbee channel
- tried both channel 20 and 25
Im about to try a ikea plug, i heard they are good repeaters but after that i dont know what to try.
I dont feel like i should need it though as the tuya wifi hub had no issues.
Anyone here who has been able to downgrade a zigbee device fw ?
Hi again, gives me 3 answears. BUS 001 Device 001: ID 1d6b:0002 and two more which look the same but with diffferent 8 bit code/macaddress in the ending
what is the whole output?
Bus 001 Device 001: ID 1d6b:0002, Bus 001 Device 002: ID 2109:3431, Bus 002 Device 001: ID 1d6b:0003
you have a usb hub?
no it is plugged directly into the USB2 port of the pi
then the pi seems to be not seeing the usb device
I am not that familiar with pi but I am familiar with linux
the OS is only seeing the Linux Foundation hub(1st and 3rd output) and the 2nd is a VIA Labs Hub which I assumes is the built in hub of the pi
have you tried the USB thing on other computers?
or plugging something else into the same port. such as a keyboard.
Okay.I think this is only the problem that it doesn't see it. I tried earlier with deconz and phoscan on my win10 machine and here it works fine. However when inserting it into the pi the deconz and phoscan app (I tried this earlier on the Pi but was advised the try with ZHA) does not register it as a conbee II stick but as a Raspbee and it can not see the firmware version.
Okay will try with a keyboard. Should I try lsusb again to if it picks it up?
yes, you can do lsusb, or simply type something and check the display output
I am not sure if there will be a login prompt on HA OS Pi though
It is running headless
Anyone here who has been able to downgrade a zigbee device fw ?
Im trying to do this though z2m but I can't even get it up and running
I did a firmware upgrade on a conbee ii but I used my win10 machine to do this. Found the instruction for my device online.
Upgrades are "easy" (not necessarily recommended, but easy enough). Downgrades can be hard/impossible
learned something new today!
Inserted the usb mouse. Did a restart and a lsusb but no luck. It does not detect mouse. Tried a sudo reboot from the terminal but still no luck. Will try to diconnect mouse and conbee II, restart with sudo reboot, and then connect mouse to see if it picks it up.
I have a zigbee device that corresponding to the control in HA takes 2 seconds. That's a bit long. Is there a way for me to see what's taking so long maybe a breakdown of time step by step?
ZHA or Zigbee2MQTT?
Start wth the Logbook, see when HA received the message
It's a button long press so basically HA just recieve the action once and then it keeps changing the device (a lamp) brightness. There I found if I make the delay in the repeat process <2s then HA doesn't get the updated brightness so it keeps using the old value
Sadly we're not mind readers (any more anyway, not after the last time we tried). Please share the YAML and any errors so we can see what you've done.
This sounds like a layer 8 problem - aka it's in what you did
For example if instead of 2s I ask HA to repeat the control every 1s then in the trace it does repeat the process every 1s but since each repeat do the control based on the previous value of the light and if in 1s that number is not updated yet so it just keeps asking the lamp to keep the same brightness instead of gradually changing
I will share the code
Sorry I can't share the code for the moment since I'm not home. Thought there will be a cached vesion in the HA app
Never mind, I will ask again later when I have the code
Then the OS is not seeing the port? Have you tried another port or another boot sd card with another OS? If issue persisted, it might be a hardware fault? Keep in mind that I'm not familiar with how the USB stack work in HA OS.
One of my Aqara door sensors disconnects pretty regularly and I'm reasonably sure it's because of how far it is from my dongle. Does anyone have suggestions for Zigbee devices that could go in a laundry room, kitchen, or dining room, that could act as a relay to expand my mesh?
Any Zigbee plug will do
Any suggestions in the US? Not sure I have anything that I need to be plugged in right now, but depending on price, I'm willing to have something that just plugs in and doesn't serve a purpose other than relay
If Innr do a US model then buy one of those
Looks like they've got them on Amazon! I'll check them out. Thanks.
Hi, I'm having problems with getting Skyconnect to recognise any of my zigbee devices after transferring from a Conbee II (using ZHA). I followed the instructions as laid out on the official page on how to migrate. None of the existing devices (powered or battery) are being reconnected (although zha shows a topology with all the devices there).
What I have noticed is that on the ZHA Integration/configure/groups details that I have two entries for the Silicon Labs EZSP (endpoints 1 & 80) and both have no associated end points
I'm running home assistant OS on an intel NUC, and the skyconnect usb is connected via the supplied cable.
if you pull the power from the offending device does it come back online for a while?
after giving it power again, of course
It's all devices. I tried the power off/on again for one device (Hue LCT001 light), but that seemed to make no difference. I then put it in pair mode using a hue dimmer and set ZHA to search for devices. It found the device and I left it with the same device name, but this did not seem to fix the issue. So, I tried the same procedure again, but this time changed the device name when it was discovered, which seemed to fix the issue.
ok, let me know how it goes. i bought a sky connect but cant get devices to stay online. they all become unresponsive at some point despite the link quality not dropping below 100
It only fixed the issue for that device...bit worried I'm going to have to go around the whole house and rename everything!
Hi, I use ZHA and I have a smart plug that occasionally drops reported power to 0 for a few seconds, which breaks my automations. Is there a way to reduce its poll rate somehow so that this doesn't happen?
I know in zigbee2mqtt this can be solved by setting the "debounce" attribute, but idk how to do that in ZHA
If not, could this be done with a threshold sensor? I don't see a debounce or delay attribute for it but maybe it's undocumented
hi i actually switching from deconz to z2m. For controlling my lights (with the opple 6 gang switch) i tried to use this (Controller - Xiaomi WXCJKG13LM Aqara Opple 6 button remote) blueprint, but when i keep the button pressed the light will dim one stepp and then freeze... had anyone the same problem?
Hi all, a few days ago I updated my SkyConnect Firmware (ZHA) to 7.3.0.0.
Now, on every restart, i get these 4 errors messages:
http://pastie.org/p/1DsOISMMS5JIyKW6JJIPZW
Nothing changed other than the firmware. I believe I was running 7.2.2.0 before updating to 7.3.0.0
Hmm...no luck with removing devices and rebooting. Apperently it does not recognize my mouse either. Guess I will have to try with a different sd card and OS. Oh dear...
I ahven't sued blueprint before but I know for automation you can go to the automation and check the trace there which shows some debugging info
it seems that it spams my z2m instance
i saw hundreds of messages changing the brightness in my log in the same second.
for now i reverted all to deconz but i have an sonoff usb stick to so there are 2 networks at the same time and that is what i dont want any more
trying to puzzle why this aqara door sensor won't send back status, figured it was distance so got a philips hue light put in between HA usb and the sensor, which seemed to work (but the hue light has to be on), so got a few sonoff zigbee outlets but those don't seem to help at all?
i know when I had the aqara hub it worked great, maybe because it was also connected to Wi-Fi?
Is there a better way of getting the extension? or could it be something i'm doing wrong with the sonoff outlets?
When you pair (pre Zigbee 3.0) Aqara devices then they use the first device they hear from, even if the signal sucks
Always pair them through a nearby router
Hi! It's possible to use the phillips hue bridge as a zigbee hub?
Are you running multi-PAN?
No just ZHA
That's the point. Thanks!
You'll only be able to connect Hue and "Friends of Hue" devices to it though
And some other smart plugs or lights that use zigbee 3.0 or zigbee light link
π€
And you're at the mercy of the Hub and firmware updates
It's not a great choice, but don't let us stop you making it π
and by router you mean a router or would a repeater work here? because the router is too far away and it's already mounted on a gate in the backyard :/
Router is the official zigbee term for a repeater
And don't confuse WiFi router with Zigbee router... the only thing we care about are Zigbee things
Anyone connected sky connect to a Sonoff zigbee router?
I heard that in the past year or 2 xiaomi has dropped support of zigbee in their newest gateways.
How would this influence the market?
What is FUD?
Fear, Uncertainty, Doubt.
i thought that was the sound you make after hitting your elbow
It's a marketing thing, to discourage the use of the target
Like Microsoft telling you that if you use Linux, you're going to have to GPL all your stuff
Or you'll be sued
okay I'm asking only to see if it's wise now to buy more zigbee devices.
if they are dropping the support then probabally it's not a good idea to buy more
They're still being supported by major firms. so yes
It's always wise to buy more Zigbee devices.
Jokes aside Zigbee isn't going anywhere any time soon.
Okay good to know
To be honest for smart home I think BLE will be more common than zigbee in the future
The reason is just for zigbee you need additional devices and every phone has a bluetooth chip
BLE doesn't mesh, does it?
And for a well designed smart home, the number of inputs you need is pretty minimal.
no.. it wont
and I really don't want to get my phone out to control it
Thread will eventually be more common, in 2 5 or more years
π Kind of defeats the doesn't need additional devices π
it's not the same as meshing in the zigbee sense anyways it's just the ability to add a "mesh" err wireless coverage of bluetooth with said devices across the house
I have a zigbee light. There is a problem. The color temperature slider is wrong. Wrong as in the range of the slider does not match the actual supported color temperature range, causing only part of the slider works, and sliding outside the range does nothing. How can I fix this?
What device is it
zigbee light
What model I mean
CL001
Some tuya one?
no
Using zha or z2m?
zha
Might need a quirk. Any open issues on GitHub?
don't think so
let me see
which repo?
yup, zero issue unless it don't have the keywords I searched for
when i search "cl001 zigbee" i dont find a product. what is the product?
like, what?
link to where you bought it i guess
is it a Terncy light?
i just looked on your site and "CL001" search shows nothing too
it's not supported
clicks link to random domain i've never seen before
waits for it to load
it failed
lol
you're not chinese π
./giphy unless
it might require a login
nah it doesnt resolve
maybe adguard blocks it
no it is rectangle
yay, another model number used for different devices
any idea?
basically everything else works except the slider
which gets annoying when you want to change the thing
does the device say its using a quirk?
where can I check?
in the device card
then it needs one
any documentation on how to make one that does the range limit thing?
hmm
looks simple to me but no idea where to start
where do I even get the signature
go to the device page, hit the 3 dots, select manage device, and signiture will be in a tab. it's also in the diagnostics download for the device.
Hello
I have some issues with Ikea Tradfri [single button] switches.
I am able to pair them trough ZHA. but it does not detect any button presses.
the ON/OFF version does work fine just like the STYRBAR, and button presses are detected.
Zigbee adapter: "Sonoff zigbee 3.0 usb dongle type-E"
Any suggestions that I can use to get the single button switches to work.
don't see manage device in the 3 dot
sorry paraphrased - manage zigbee device
ah found it
I thought you meant the outside main device list page
how can I replace the available color temperature range?
and disable RGB, which the light does not actually support
using a cluster like this https://github.com/zigpy/zha-device-handlers/blob/1e619d84a676347af3fa115f7f3af90f9550fc15/zhaquirks/lidl/cct.py#L28-L33 in the replacement
(that code still uses "magic values" and should probably be updated)
is it just the min/max that's wrong?
that would be defined in _CONSTANT_ATTRIBUTES too
is that for removing RGB?
yes, I think
Yea lol
something like _CONSTANT_ATTRIBUTES = {0x400A: 0x0010, 0x400B: 153, 0x400C: 370} (153 being min color temp in mireds and 370 max)
(it should use the new "zigpy codestyle" to access the attribute ids, but that'll still work)
got it, will try those in a few hours, family still sleeping
can you upload the device signature to https://dpaste.org/ + post the link here?
sure, why not
What does it mean when something "needs" to be integrated through zigbee2mqtt? How is that different than just going to my zigbee devices and "adding" a new device?
This doesnβt make sense. Are you running zha and asking about z2m?
Wtf are those things? I just passed the zigbee adapter through to my HA VM and it worked, I jsut started adding zigbee devices
Well then youβre using zha aka zigbee Home automation
Not z2m
Theyβre different programs
zigbee2mqtt is another way to add zigbee devices you're probably not interested in
it doesn't require it
The magic cube thingy
the aqara magic cube?
Yep
Thought it looked cool, wanted to play with it, got as far through the github as "required to be added through zigbee2mqtt"
No youβre talking about the blueprint I linked you
Yes
what?
Thereβs a zha one
Oh
So question, why would I want the zigbee2mqtt thing?
Should I get that server up and running anyway?
What kind of devices need it? Why have two different ways to add the same devices?
you would want it if a device you bought isn't working with zha but is supported by zigbee2mqtt and you really really want it to work
Theyβre different projects
Not on one dongle
what a silly question. why not have different ways to do things?
They use the dongle for communicating with zigbee devices
I also have a zigbee IR thing that looks like it got z2m support but no zha yet
Not everyone wants different ways of accomplishing something, they want one way that works. π
This is one of the reasons people prefer z2m but itβs usually 1:1 parity
still silly
i use z2m because i want the one that works π€£
TS1201
But zha is default on HA?
Zha is built into home assistant
any idea if any chance of it being added?
check github issues if its requested already
do see an issue that last comment is 2 months ago
The community is you
in general zha devices are added at a much slower pace than z2m
Is it tho
Ok so do I have to have the blueprint added BEFORE i add the cube as a device?
The majority of us are good at lots of things.. not coding
Because I'm showing no entities at all for the cube
what's the chance lol, last active 15 hours ago
the question is whether zha even has the infrastructure to add an IR controller
I believe that ZHA often just uses events rather than entities
cube is event based
Thatβs another reason I like z2m
try if a quirk like this works: https://dpaste.org/nUFYv (click on raw, then download or copy paste into a py file)
(use as a custom quirk for now -> https://github.com/zigpy/zha-device-handlers/discussions/693#discussioncomment-857274)
you need the device before the blueprint since blueprint no worky if you can't select the device
wow you just coded it?
was going to do it in a few hours π
Julian is one of the cool kids
The cube has no entities though. Like, just the basic battery and identify, but no... useable... entities
I try to open the blueprint and I can't save it because I can't select the "active face" entity
family is sleeping so can't really test it right now
it might not work lol. There's a "quirk generator" in the zha-device-handlers repo. I don't think it's fully up-to-date, but I have a more up-to-date WIP (standalone) version that I should probably push out, but it will give you a "stub quirk" (doesn't do anything, just detects + applies).
The only thing added in that quirk that actually "does something" is where it overrides the three attributes on the Color cluster. Maybe you can figure out how it works by looking at it and/or playing around with it π
have you read the blueprint instructions?
This blueprint adds support for rotating the cube per specific side, by using an Input Number helper to track the side that was last activated by a side-specific action (flip, slide, knock).
I added the helper number but things still aren't working. Like, I'm watching a youtube video and it shows them listening for events but nothings shows up when I do that
are you sure you have the aqara magic cube?
yes, the aqara cube t1 pro
I suppose that's not actually "called" the magic cube
but that's not the magic cube, that's the Cube T1 Pro
which isn't supported by zha
Well considering I had no idea what zha and z2m meant, those words meant nothing to me π
Then ask?
Why wouldnβt you
its hard to ask the right questions
You think people mix in extra words for fun?
and we're on the defensive stage now
There's a reason I ignored your friedn request π
Never sent one
To avoid looking more stupid?
I apologize that I'm very new to HA, only just installed it 1.5 weeks ago π Man you guys are a welcoming group π
that's not the problem here, not asking questions and giving vague answers is
Vague answers how?
I'm answering to the best of my ability?
I didn't even know the questions to ask?
Can you give me an example of a vague answer so I know how to improve in the future?
when asked which device try and give a name or model not answer "the magic cube thingy"
I didn't know there was more than one?
Like, now that I know, the first question I would ask someone who was... new to HA was which magic cube they bought π
there are 0 "magic cube thingies"
And besides, I got it working anyway. Turns out it does with with zha
cool
And you're being pedantic. There are exactly two "magic cube thingies" that I could have been referring to. I only knew of one of them.
and now you're an expert on magic cube thingies
Wonderful, so when someone asks a question about them, please ask them to DM me instead of confusing them and I will be glad to help them with absolutely zero judgement for them being new. π
noted
it should work without any support. IIRC some people mentioned they only needed to switch the mode on the cube to get it to work via ZHA
That was the correct answer and exactly how I fixed it. Thanks!
Good to know
we should really get proper support into ZHA though. Otherwise pre-made device triggers aren't available
and ZHA should write that attribute when pairing to switch the mode
I can program. How is programming for HA? What language even is it?
Python. The ZHA quirk stuff is here: https://github.com/zigpy/zha-device-handlers
Oh that's easy. I'll have a look.
It looks like we already have support for lumi.remote.cagl02 (T1 (Pro)?)
yeah, doesn't change the attribute on pairing though
Oh I see you can't add triggers in the normal way you would for a normal sensor, you HAVE to use the "magic cube" or whatever automation you added to have it trigger things. Interesting
Can you create an issue in that repo, just so we can track it (and have the device signature + diagnostics)?
https://github.com/zigpy/zha-device-handlers/issues/new/choose
@molten linden that remote just connected directly the devices near it btw
nothing with the hub needed. which for the purpose of it controlling RGB Lights in my daughters room, was perfect
Sorry took the dog for a walk, yeah let me see if I can remember my github login.
Done, hope it helps!
Has anyone switched from a regular off the shelf Zigbee dongle to the HA Sky connect? If so is it difficult? Anything I should be aware of? Only have like 3 Zigbee devices setup so far.
This is what I have been using. == SONOFF Zigbee 3.0 USB
With only 3 devices, I would just delete, install and re-pair. Migration is the other option, but it's not always 100%
Hello, I am running a rasp pii with zigbee dongle. I have 34 devices and if I add a 35th I start to lose connectivity on devices. Is there a max on the number of devices you can have ?
There is but it's a lot higher than 34.
do I need to do anything after adding the zha quirk path config and restart?
The custom quirk file is in a .py file in that custom quirk path folder?
yup
Can you see if the signature now includes a different "class" at the bottom?
zigpy.device.Device means no quirk is applied
Hmm, thatβs weird. You could enable debug logs to see why it doesnβt match
On what HA version are you?
you hate to see it
Does it say what line is affected? Did you copy/paste the contents 1:1?
yes I did, for some reason it added 4 extra spaces on every single line and I didn't notice
trying to fix
@trail aspen I converted your message into a file since it's above 15 lines :+1:
now I get an actual error
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/zhaquirks/__init__.py", line 454, in setup
importer.find_module(modname).load_module(modname)
File "<frozen importlib._bootstrap_external>", line 605, in _check_name_wrapper
File "<frozen importlib._bootstrap_external>", line 1120, in load_module
File "<frozen importlib._bootstrap_external>", line 945, in load_module
File "<frozen importlib._bootstrap>", line 290, in _load_module_shim
File "<frozen importlib._bootstrap>", line 721, in _load
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/config/zha_quirks/cl001.py", line 30, in <module>
class CustomColorCluster(CustomCluster, Color):
File "/config/zha_quirks/cl001.py", line 34, in CustomColorCluster
Color.AttributeDefs.color_capabilities.id: Color.ColorCapabilities.Color_temperature,
^^^^^^^^^^^^^^^^^^^
AttributeError: type object 'Color' has no attribute 'AttributeDefs'
seems like you're editing text files in Microsoft Word
nah
I just copied it from the paste site
@mellow geode any idea why Color has no attribute AttributeDefs?
^ can you check?
right
Home Assistant Core
Installed version
2023.6.2
Home Assistant Operating System
Installed version
10.2
The AttributeDefs stuff is pretty new. I thought it was already merged into current versions, but clearly not
Replace it with something like Color.attributes_by_name["color_capabilities"].id
For each of the three attributes
whatever happened to the misc setting for Power LED so you can turn the damn thing off :/
after this, I get NameError: name 'Color_temperature' is not defined
File "/config/zha_quirks/cl001.py", line 30, in <module>
class CustomColorCluster(CustomCluster, Color):
File "/config/zha_quirks/cl001.py", line 37, in CustomColorCluster
Color.attributes_by_name["color_capabilities"].id: Color_temperature,
^^^^^^^^^^^^^^^^^
oops my bad
works great now, but how do I know the actual color temperature range supported?
currently it is 50 to 500
(set by you)
Yep, I think thatβs what Z2M had for that light
You could play around with those values
well, just found the official spec. 2700-6500k
hmm, but 2700 and 2000 does have a different color
wrong official spec? :thonk:
Hi, please can someone advice me about exterior curtain switch? I found TuYa TS130F ver. 1 - with touch glass , does anyone have experience? I using Zigbee2mqtt on sonoff dongle plus.
@trail aspen when everything works with that quirk, can you file an issue (with the custom quirk), so we can merge it (and I don't forget about it): https://github.com/zigpy/zha-device-handlers/issues
is it possible to use eero devices as part of a zigbee network or is that a fools errand
No, it's not
d'oh π
The problem is that a mesh can have one coordinator, and those devices will be coordinators
Sure, but what about the color temperature thing
How can I determine the actual range the hardware supports
How should I credit you
I have a pair of Tuya devices which aren't fully supported and I wish to try to get them working with custom quirks. I can get the custom quirks to show up in the logs but I cannot seem to change the behaviour of the devices to change. Is there a way to know for sure that my custom code is being executed for the devices in question? Do the quirk files have to be the same or have to be a different name? Can I change the models of an existing quirk so that a different quirk in the same file is used? EG. I have a Tuya Air Quality sensor, model _TZE200_dwcarsat, which is using "Quirk: zhaquirks.tuya.air.ts0601_air_quality.TuyaCO2SensorGPP" I wish to use a custom quirk I am calling TuyaCO2SensorGPP_2 by commenting out the model in TuyaCO2SensorGPP and adding the model in TuyaCO2SensorGPP_2. However the quirk being reported isn't changing, even after a restart. The logs say the custom quirk is being considered to replace the original.
hi i tried zha instead of z2m (just migrated the coordinator_backup.json, and relearned the devices that would not appear). Now i saw that in the network view are no lines and in the device overview is no lqi listed... did i something wrong or is the normal?
I just wanted to say thank you. Running the commands meant that my stick would drop out sometimes which was odd. I disconnected the stick and my Z-Wave stabilized now for 72 hours. I have a Sky Connect stick on the way for zigbee but may just bypass it. I went ahead and moved my critical motion sensors over to Lutron's which has been rock solid for me too
Give it some time. You can click to refresh topology as well. Youβll still need to wait a bit for the scan to finish.
Okay than i will wait over night. Do the other entities apear as well after some time, (lock functions from heating valves and so on)?
howdy. i recently switched 45 lights and a bunch of dimmer switches from the Hue Hub to a Sonoff Zigbee dongle. things are mostly working fine, but i can only "dim up" to turn lights on, rather than being able to press the button on our Lutron Auroras to return the lights to either their last known state, or full brightness
i'm somewhat unsure of wher to go from here-- this even affects the toggle switches in HA dashboards-- if the light is "dimmed up" using the slider it will turn on, and the toggle switch will turn it off
but when toggling back on, it's at 1% brightness
so it does "turn on" but not visibly because it's so dim
so i either have to turn the dial on the aurora to get the lights on, or click on the entity and slide the slider to 100% to get them to turn on
Not likely. As far as I know Iβm not super familiar with the heating valves. You can check the zha quirks repo for open issues or submit new ones if you think something is missing. Guessing tuya and know there are a number of variants with multiple random alpha numeric manufacturer names
Assuming you are using sonoff-E, you wonβt get events for on/off as they send them to a group id. I was going to try and put a quirk together but havenβt had the time . Work around is to bind them directly to a bulb or a group . I do it to hills havenβt tried groups in a while
so in the automation try binding the devices themselves instead of the group?
because i've done that and it exhibits the same behavior. how do i know if it's sonoff-E?
if you go to configure zha
it seems like the issue is that as it turns off, it's setting the "last brightness" to just before completely off
you'll see ezsp
so when it comes back on, it's reverting to that
as the radio type
but it should be storing that at the start of the toggle, not the end
I bind them directly to bulbs and they come on full brightness when I toggle them back on, even if dimmed low before
nothing says E in the config page
radio type ezsp?
this is how it should work, it's just not
so you should just look at events coming in and see what shows.
where do i look for that?
dev tools
events
listen for zha_event
toggle button/dim
look for events
then you can use the event data for automations since the auroa doesn't have built in device automations yet. (there also are likely some blueprints available)
i'm using this blueprint for the switches https://gist.github.com/richlee91/01e13b35364e464b48a3dfa27024da70
i would paste pics but can't
the dimmers seem to be generating the correct data
when i toggle the light in the web interface, no zha_events show up
they appear to be formatted correctly when i press the button or turn the dial though
only the button will give events.
you won't see events for the light. as it has states
@muted shard I converted your message into a file since it's above 15 lines :+1:
i pressed the button to power the lights on from off. it seems to correctly pass the light level as max (255), and the group is now listed as "on" in the interface, but the brightness in the group state is 1
yeah, no matter what it seems to be setting the power-on brightness to 1 when any light or group turns off
is there a way i can globally force full brightness when toggling from off to on?
FLIPPING HELL
π€¦
id,x,y,brightness,transition
group.all_lights.default,,,1
gee i wonder why all the lights were coming back on to brightness level 1
i was messing around with this earlier in the week to force transitions, but forgot a comma and was setting the default brightness to 1 for all lights
thanks @sour shadow for the nudge
If I add additional zigbee hub devices, will my mesh auto reconfigure (with zha)? Or do I have to be careful how I add things? (Like adding specific things to specific hubs/repeaters.)
Routers
Awesome, yes those!
Most Zigbee 3.0 stuff will change routes as they feel appropriate
Most Xiaomi Zigbee 1.2 end devices won't change routes
Everything else... 
And for those who don't? Do I just have to remove and re-add it to the correct router?
Can you force the entire mesh to be rebuilt (in zha?)
No
Sigh, ok then, guess I've got a few minutes of work to do haha
it's up to the devices
If you want to force something to (at least initially) use a router, you have to (re)pair it to that router
Ok, final question: Is there a way to remove a device, then re-add it and have the automations that used that device be unaffected?
IMO you're best off pairing all the router devices first, and then pair the end devices to a "nearby" router
You can just re-pair it without removing it
Yeah I figured that was the best option, but I underestimated how many routers I'd need π
Oh
Oh you don't like to be pinged? Sorry!
Well thanks for the info, I've got a bit of work to do!
When using a custom zha quirk, will the quirk listed under Zigbee Device Info change? In my case from "Quirk: zhaquirks.tuya.air.ts0601_air_quality.TuyaCO2SensorGPP" to something like "Quirk: config.zhaquirks.ts0601_air_quality.TuyaCO2SensorGPP_2"?
@molten linden https://cloud.komarow.net/s/ssqnkReeRe9nFqK
Nice
If I install a new router device, will my end devices eventually auto re-learn the routes if it get a stronger signal from the new router?
not a blanket yes, depends on the devices
It's an Innr smart plug that I've installed. Then I have Aqara door & window sensors that are the end device
the new zigbee 3.0 ones or the older 1.2 ones
Aqara devices will likely need prompting to find the new route. Unless they're the latest ones
I am unsure.
For finding the new route do I just have to re-configure the end device? or Is there a specific way to do it?
look up the model numbers lol
From googling around, it appears the Aqara are Original version
then no
expecting them to get new routes is gonna leave you disappointed
they technically can, they rarely do
lol that's fine. Just looks like I basically need to re-pair?
you just re-pair
i think that means deleting then re-adding? i'm still not 100% on that
everyone just says re-pair
Okay so in case anyone is curious. I put my zigbee dashboard in pairing mode. Then just held the button down on the sensor. It pretty quickly reset (removed from dashboard), but I had to do the button hold a few times before it worked properly.
The map doesn't seem to be showing it as using the new route (or any route yet), but the LQI is significantly higher than before so I'm keeping my fingers crossed.
zigbee2mqtt