#zigbee-archived
1 messages · Page 64 of 1
They do now. Seems like after months of no communication they’ve released SM323v2 which has basic energy monitoring too. Z2M doesn’t have that but yet but I’m trying to figure out how.
Interesting. Out of curiosity, why is this?
ouch.
Many people don't have problems, but maybe you'll get the faulty NVRAM causing the stick to stop working, and maybe you'll get hit by the silent lockup bug
Maybe you'll get both 😄
sounds like a lottery! None of those two here. yet.
The lockup bug is more likely with more devices, and more commands being sent to devices
yeah i swapped over to killing my channel 1 cuz my neighbors suck with their AP's
someone channel bonded 11 and 6 which is a jerk thing to do
2.4Ghz is not the answer for wide channels and high bandwidth 🙂
try telling that to all of my neighbors
or maybe just their shitty router that THINK it's the best option
Be aware that Zigbee and WiFi channel numbers don't correspond (i.e. Zigbee 11 and WiFi 11 are completely different channels): https://img.community.ui.com/5f743aa0-9c43-44fb-8889-afd9eccba833/comments/d1ae2c9e-9162-47e2-abcc-12e54862b200/82ccb020-c270-45fc-995c-f837ada4f9c3
Move your WiFi networks onto channels 1, 6, or 11 and then pick the quietest Zigbee channel. It will be one of 15, 20, or 25. ZHA automatically does this when you form a new network, or if you manually change the channel and pick auto.
My experience is that the Sonoff 3.0 dongle is the most consistently reliable one so YMMV!
anyone can recommend good wall switches and fan dimmers from a same company and on budget side
@finite mantle Looking for advice about a device to buy? Remember to provide guidance on:
- Which country you're in
- What your budget is
- What protocols you prefer (eg Zigbee, WiFi, Z-Wave)
- Any features you want (such as power monitoring, dimming, etc)
@coarse radish 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?
Hello guys, I have a quick question regarding the "lqi" entities on HA, I'm using Z2M at the moment but I still expose all the lqi entities to HA in order to monitor them with ease on my dashboard but I was thinking that maybe disabling them will somehow decrease the traffic on my network?
Am I wrong?
You're wrong 😉
All that info is still transferred over Zigbee, Z2M knows nothing about what you did do the HA entities
So even disabling entities the info will be transferred over zigbee, got it. Just thinking out loud as I'm cursed with concrete walls. Thanks!
for now just 6/58 Devices I have are below 50 lqi
5 of my 90 are below 50, one sits around 10 most of the time, sometimes low single digits
Is it normal to have to restart Z2M after restarting HA
nope
I like to use Z2M as a separated container because of this
There's known issues with the version of Mosquitto in the Mosquitto add-on that may cause this
boo. Run your own containers, control your own destiny!
throw off the yoke of oppression!
free the Springfield two!
Hi all. Is it normal that end device isn't visible although it's 3 meters far from the router and only thing separating them is window? If I bring the ED inside (just move 15 cm closer) it is visible
What do you mean by "visible"?
Is it joined to your network already and you move it around, or do you mean that you cannot join it? If you're using ZHA, can you upload diagnostics JSON for the integration and post a link?
Hi If an ikea styrbar connected via zigbee2mqtt with homeassistant discovery, but I only see a device related to the battery e.g sensor.ikeadimmer_battery and no action
so I can't selected in the stybar blueprint
I must miss something stupid
I do have two automations working using the on and off buttons
Hi. Having a zha issue here, would love any tips: a chunk of my zigbee network has diseappared for a few days now, surviving reboots, etc. It is a certain area of the house, so I assumed it was a path failure, but now I don't think so. I checked the visualization, and it still thinks those devices have multiple distinct paths, including directly from the coordinator, even though it sees them as offline. I also added in a new zigbee router right in the gap between the coordinator and the disconnected portion. It added fine and can be controlled, but the visualization (refreshed) shows that device with no links, even though it functions. It seems like something else is going on. Any suggestions? Happy to log things, etc. if it would help debug. Thanks!
Ignore visualization. It's not live and if parts of your network are offline, "lines" might not disappear for those.
With which devices do you have issues? End-devices or routers? Is your stick on an extension cable to reduce interference?
Having trouble with both; at least two routers (mains light switches, also the closest devices to the coordinator/rest of network), as well as some sensors, a lock, etc. that go through those. Probably a couple things I'm forgetting. And it's everything in that area.
And stick is on an extension. (Well, sort of; it's on an unpowered hub on a cable.) But it's been stable for years, and there are a good number of routers so the mesh is pretty robust.
I was thinking that if reception was the issue, the router I added should fix it. Is there anything I should do to make the missing nodes pick up the new, closer router? Though it would surprise me if after years of working the reception to both routers (very close to each other) would fail simultaneously.
Just did a quick check: there's a third router (outlet switch) and a few more sensors (temp/humidity, door open).
BTW, reconfiguring the new router I added (it's a plug-in outlet) fails. But it still appears to operate fine.
hi
@compact oak I converted your message into a file since it's above 15 lines :+1:
I encountered this error when installing Mqtt for zigbee
Pretty sure I finally figured it out. I think the light switches (which were the primary bridge nodes to the rest of the network) were in a weird state. I saw them behaving oddly and removing/re-adding didn't produce any reaction at the controller, so I cut their power and restored it and everything came back to life. Not ideal, but fixed and seems to be rare.
I guess technically I cut the plug-in outlet's power too.
Huh, what manufacturer/model are they?
Jasco 43090.
(aka Embrighten, etc.)
They've actually been solid until this; I had the equivalent z-wave switches in there previously and the reception was unreliable/borderline even with roughly the same distance to a node in the main area. A couple of years ago I dropped these in as replacements and this has been the first hiccup.
can anyone help me with the setup of the zigbee 3.0 usb dongle plus efr32mg21? Or link me a video or guide. thanks
For ZHA, or Zigbee2MQTT?
Mostly it's plug it in (to a USB extension cable) and follow the docs
So, you probably want to use ZHA
Plug the stick in, to a USB extension cable, and it should be auto-detected in the integrations menu
OK now I'll try. One question: how come you can't connect directly? Thanks
Check the pinned messages, they explain that (and more)
Is anywhere a good ressource to make quirks?
I have a Paulmann smart switch with zigbee. I paired it with ZHA and i see in the logs the button press, but there is no entity for any of the dimmer functions or on off functions.
So i figured i probably need something people call quirks, but i haven't found a good ressource to read up on it and how to make one for a zigbee device. Can someone link a ressource so i can read up on it and learn it?
i found this ticket/s which exactly have my problem and seem to have solved it.
https://github.com/zigpy/zha-device-handlers/issues/2662
But i do not really understand the ticket of what has been done or what i shall do from the ticket to solve it. I see that my zigbee device is also
"Paulmann Licht GmbH" and 501.34
Where as the integration that is linked has a different string "Paulmann LichtGmbH"
Does that cause the issue or is all of that just in implementation stage and future zha updates will receive it, or how do i read the situation correctly
Well... I don't use ZHA, but that was closed 47 minutes ago
47 minutes ago
There's not a snowballs chance in hell that's been merged into any version of HA yet 😉
Of course, if your device doesn't match that quirk then clearly the quirk won't apply to it
i mean i see that someone commented it in the ticket that the listed device name is ambigious, with the correct name that i see also with mine.
Stupido question from my part, how long does the merge back to release cycle usually take in HA?
Well, step #1 is a release of zigpy... however long that takes
Then it needs to be added to the next HA beta
So, if zigpy drop a release right now then the earliest it'd be included would be 2023.11
would that be part of a zha update or would that be os part or core part?
You'll probably have to run with a local, modified version, of that quirk until it's part of HA
I mean i freshly bought my apartment and making smart, i can do other things in the evenings than do wiring of switches and what not at least for the coming weeks 😄 so i can sit it atleast a bit out. Other renovations need to be done as well
eitherway thanks for your explanations
Helpful hint: Save your self some time and angst and buy devices known to work
i already fugged myself with TRVs i bought some from robbshop.nl but they are not reacting on any input i do over home assistant they just display it. I went then into HASS forums and bought the first that someone suggested from ali express -.-
Seems that paulmann dimmer is a known working device, there's just a bug due to an extra space in the device name.
There's a quirk it's just not uh, quirking.
Helpful hint 2: Trying to save money with stuff from Ali Express may end up costing your more when you waste time trying to figure out how to make it work and end up buying the known working devices -- start there
I mean thats why i bought from known european smart home shops in the first place. But the cheaper option i bought are shit and dont communicate great with hass
And in my 2nd attempt i just did what has been suggested on Hass forums to another person that had similar problems. I preferebly do not got to ali express but my first approach already failed me.
In the HASS documentation are known working devices of all types, brands and prices
Would you be so kind and link it?
No offense but that is integrations. How do i know which zigbee device falls under it, because my TRV is zigbee and the readouts work fine but the controling from HASS does not work. So just going by "zigbee" obviously didnt work for me
@rapid reef Is your coordinator on a USB extension cable and away from SSDs and USB 3.0 ports?
On the left side of the page is long list of device categories which will lead to pages full of device manufactures ...
im not sure if my zwave coordinator is on a extention or my zigbee but one of them is but its only like 1m. It should be on usb 3 ports
A quirks update will likely only be in 2023.12.x
Until then, you could use a slightly modified file as a custom quirk
i thought about it, the quirk files are normal py files so i could copy the original file or is it baked in?
The original file is "baked in", but not the modified one which was merged an hour ago
There's no such thing
It depends on a new import though for the alternative manufacturer name. You can just remove that and put the string directly in the "custom quirk"
just wanted to say it just tells integrations and not known good devices :/
For Z2M, sure, but not for ZHA
I guess I just imagined this
https://www.home-assistant.io/integrations/#light
That's got nothing to do with ZHA
And, there this which is more specific to Zigbee and calls out ZHA compatible devices
https://zigbee.blakadder.com/index.html
My original comment was inclusive of all devices and protocols
Well, that guide isn't official, it's built by a few other users, so while probably a device there that's said to work on ZHA will work, not being there tells you nothing (and it's been wrong before about devices being supported)
Helpful hint3: It's better than nothing. There is no official list AFAIK, and Its likely there never will be because it would take an army to continually certify thousands of devices. If it's on the list then some body has integrated it at sometime, If it's not then .... who knows
Z2M manages it 😛
(and yes, devices have turned up on that site based purely on somebody thinking it'll work, not having tested it)
OK .. then what do you suggest as source for known HA compatible devices? Ouija board?
For ZHA... ask here
That also means you don't buy supported but junk (Tuya, many Sonoff, etc)
Sonoff is junk? i mean the sonoff zigbee stick is literally listed as the suggested zigbee stick for HA under zigbee integrations D:
I personally tried that and ... most often crickets
Many of their sensors are problematic, and their mains devices can be really bad routers
i mean Occam isnt wrong. I mean i love that you all reply to me so much in depth right now, but i tried to ask for help 2 other times here and once it wasnt reacted to at all and other time the person that replied was dismissive and not really helped me and told me what i was doing wrong.
sonoff zigbee plugs have been known to blackhole routes, sonoff temp/humidity/etc sensors are generally shit compared to aqara, sonoff p dongle can have issues but worked well for me
in general it's best to just avoid sonoff across the board tho
And... I've heard exactly the opposite on the channel. Sorry about the pings ... I keep forgetting . Can is set it off by default?
Sadly no, blame the Discord devs
When using Discord's Reply feature it defaults to pinging the person you reply to, which can get frustrating for the target. Use Shift + click on the Reply option, or click @ ON to @ OFF to stop this - on the right side of the compose bar.
You have to change this every time (thank the Discord devs for that).
However, shift+click works
easier to just not reply to people imo. depending on the amount of people talking it's pretty easy to follow along without the reply arrows or w/e
There is an arrogant attitude of some of the old guard on this channel . As a 2 month noob I've experienced it. I've found it best to not relay on one opinionated persons take and combine that with all sources of information before making decisions. Loud mouths aren't always right .. often they're just loud
Hey all, I'm having a few issues with my Zigbee devices where some seem to not respond, and I often have to push a button 4-5 times to get every device to, for example, turn off correctly. Some quick details
- I'm using Z2MQTT, a deConz USB stick (connected via a USB extender, a little over a meter from my server/AP)
- I have 21 Zigbee devices currently. Most are Hue light bulbs, as well as 2 hue wall switches, and a door sensor.
- My entire apartment is only 650sqft, so it's a very small area
Problem I'm having is I'll push the "Off" button on the Hue Switch, which is set to turn off every light in my kitchen and living room. But almost every time 1-2 bulbs stay on, and I need to keep pushing the button over and over until they all turn off.
Any idea in what I can do to troubleshoot?
Did you pick the Zigbee channel when you set Z2M up?
Did you check for WiFi on the channel Z2M is using (see the pins)
So Zigbee is set to channel 11. I couldn't for the life of me figure out how to set the wifi channel though, I'll look through the pins
Sweet, I'm gonna try repairing htem on channel 25, thanks!
If you live in an apartment it's likely you're surrounded by a storm of Wi-Fi from neighbors, and may not be able to find a Zigbee channel that's not being interfered with. You should consider trying Z-Wave devices as they operate in the 800-900 MHz range where there is not as much RF traffic. You can get free download of a Wi-Fi scanner for your phone that will give you an idea of how many APs are near you and what the Wi-Fi channel load looks like.
Changed batteries in a couple of Develco SMSZB-120 (Smoke detector) - now z2m says "Interview failed"? I've tried "re-interviewing" while sporatically pushing the button on the back to "keep it awake", didnt help..
I tried both.
If the ED is outside I can't join it. If I bring it inside (move 10-15 cm closer to the other side of window) I can join it but if I move it back it becomes offline and no data is coming.
Yes, I use ZHA. The diagnostic file is here: https://docs.google.com/document/d/1eK0_xzp7AVVzPNice1Zf_oViC0StqwCo2e55DcBf5LE
Sigh. I recently rebuilt my whole zigbee network (~150 devices) to move away from channel 15 and switch to Z2M. I thought I had correctly set up the conf to use 25 but only realized later that it somehow picked 11 instead (and was yelling that the conf didn't match). So now I'm on 11. It's better than 15. But I know in my heart of hearts I gotta move to 25 to get things to great. I'm not looking forward to the migration though lol
did you do an energy scan to see what your lowest inteference channel option is?
zha should've already taken one and used that channel tho..
You're using Home Assistant 2022.9.7 with a CC2531. Please upgrade to the latest version and regenerate the diagnostics file, your install is over a year old.
And buy a better coordinator
Yeah I figured that, sadly I'm lacking the skills to do it myself.
But I'm happy to test once it makes progress, so hit me up if I can help with testing the thing.
OK so an update on this. I just repaired everything to channel 25, and I'm still having the same issue 😦
I have an automation on this Hue switch to turn on the kitchen/lving room when I push the on button, and turn off everything when I push the off button.
- The On button seems to pretty reliably turn on everything except for one Hue bloom
- The off button turns off everything but 1 or 2 bulbs, though the exact bulbs it doesn't turn off varies
I actually recently swapped to Unifi (just trying to learn it all) so I can check this! Although I'm moving in a month to a house, so maybe that will resolve the issue lol
In general, I really recommend migrating away from a Conbee. Get some CC2652 based coordinator if you're using Z2M.
From my experience, there are issues when controlling multiple devices at once when using a Conbee.
If you have many lights, you can also try to create a light group from within Z2M. It's different than from creating a light group inside HA, because a "Zigbee light group" only sends the on/off commands once to the network. All lights get it (which can cause issues on its own). Those which are part of the group it's addressed to then execute it, others ignore it. This might work better for you.
Oh nice, OK thanks! Maybe I'll just get a new coordinator then, might save me trouble in the long run
Appreciate the help
If i have a zigbee device, data is correct, but it says unk_model / unk_manufacturer, how do i supply this info?
It shouldn't say that. Pairing probably didn't complete. Can you remove the device and try again?
I get the same thing with a MACREO ST4 temp sensor that is supposed to only work with a MACREO hub but it is Zigbee and reports temperature RSSI and LQI to HA. I'm guessing it's not fully Zigbee compliant because MACREO is using with their hub. I got it to give it try to monitor my freezer because it has DS18B20 sensor on a thin cable that doesn't create an air gap between the door seal.
I’d try to re-pair that device. I’ve never seen a device that doesn’t support those attributes
That's what I thought so I paired it multiple times and it reported that the interview was complete. Its using an older cc2531 chip (I looked up the device info on the FCC site) but it has strong reliable signal it reports in about every 0.9 degree F delta. It has 1800 mAh rechargeable battery. It will be interesting to see how long the battery lasts. So far it looks like nice device. Too bad it isn't sold as Zigbee device for general use.
I live in neighborhood with lots that average 10,000 square feet and this below is what the 2.4Ghz looks like. So unless you live in an area with real large lots or your neighbors are technical Neanderthals, your low power Zigbee devices will always be fighting for 2.54 GHz breathing space. Note also that most modern Wi-Fi routers change channels automatically looking for the channel with the least traffic. So a less used channel and one point in time will be used at another time. Use Zigbee 25 for best results.
https://i.imgur.com/tRioGIY.jpg
By comparison this is what the background noise for Z-Wave looks like at 908 MHz (US Z-Wave freq.)
2023-11-02T00:08:19.798Z DRIVER « [RES] [GetBackgroundRSSI]
channel 0: -113 dBm
channel 1: -110 dBm
channel 2: -110 dBm
They spelled success wrong
So. Who has a good recommendation for a Zigbee light switch that still has the little knob? Embrighten used to have a stand alone switch but they don't sell them anymore.
|-
You could always use something like a Sonoff zbmini that's just a module that makes an existing dumb switch smart.
Does anyone know how to add a new button in ZHA so that I can use short press and long press trigger conditions
After adding this button in my hand, there are no triggering conditions for short press and long press
Hi guys,
I just recieved Moes ZHT-006 (GB 16A) thermostat and when I paired it with ZHA, it doesnt have any controls in HA. It supported by ZHA according to compatibility page. Did anyone here had this problem?
Thanks for any help
what's the vendor id?
is it possible to change quirks on zigbee devices?
they all report >100% battery
because they use zhaquirks.ikea.blinds.IkeaTradfriRollerBlinds instead of zhaquirks.ikea.blinds.IkeaTradfriRollerBlinds2
which contains this line: https://github.com/zigpy/zha-device-handlers/blob/master/zhaquirks/ikea/blinds.py#L69C1-L69C1
"DoublingPowerConfigurationCluster"
but the blinds have all been updated to newer firmware which doesn't need this quirk for accurate reporting, so instead it's just doubled unnecessarily
So for anyone else in 220v land wanting smart wall switches... After about 2 months my Aqara E1 just died out of the blue. I'm going to do an autopsy to see what caused it.
seems like there's a real lack of 220v smart light switches, everything over here is usually smart bulbs or behind-switch relays.
so i'd like to change which quirk they use, but i can't find where to do so, anyone know?
My Aqara sensor are loosing their connection really often. Is there something I can do to improve connection stability.
Your message is reply to mine?
considering noone posted before you for 3 hours, yes
ZHA is showing: TS0601
by _TZE204_aoclfnxz
requires a custom quirk https://github.com/zigpy/zha-device-handlers/issues/2433
your vendor id is no the same as the one thats officially supported
@violet dagger you seem to know your stuff, how are quirks selected?
according to https://github.com/zigpy/zha-device-handlers/blob/master/zhaquirks/ikea/blinds.py there is a IkeaTradfriRollerBlinds and a IkeaTradfriRollerBlinds2 quirk, but from that, how do i tell the criteria used to select it? and when is selection made?
does it change or is it chosen when the device is paired and then never reconsidered?
looking at it again, I see that on the last line, for the second version it still pulls in the "replacement" configuration for the initial version, so it'd behave the same wouldn't it?
by the modelid and vendorid
if something doesn't work as expected re-pairing is the way
Okay, found the quirk, set up a directory in HA and defined it in co figuration. How should be the .py file be named?
your choice
also that's the thing, it looks like this is "expected behaviour" according to the code, but it's wrong
then file a bug report
it was probably right on an earlier firmware version, but not anymore
if this bug report is to be believed: https://github.com/home-assistant/core/issues/96020
that says to remove the device, wait a while, then re-add it
So just paste the quirk code inside <anyname>.py file inside custom quirks directory?
holy crap guys i just got my first zigbee stuff set up and holy crap it's fast
it's my first physical (not in wall shelly) smart device and i am impressed!
We‘re aware. There should also be an issue on the zha-device-handlers repo for this.
I think deCONZ (and Z2M?) just removed doubling completely regardless of firmware version, but that’s not ideal, as not everyone updates their devices.
We can’t yet match quirks per version though.
Since the batter voltage should be reported the same between versions, I thought about just mapping that to the percentage. We‘d have to find out how exactly the IKEA devices map that to percentage though.
Not sure if that’s the best approach.
I don't know much about zigbee devices, but in most other systems batteries often report their own max values, but I guess zigbee is too lightweight to be able to do that
For what it's worth, I have a two button remote from ikea which behaves in a similar manner
I.e. Battery is shown as > 100%
But I don't really care about those, don't really use them
any zigbee touch control switches?
Only have them configured because they came with the blinds hehe
but on the topic of firmware updates, I was a little surprised that it's so difficult to manage firmware updates for most Zigbee devices in HA
I get that there isn't a convenient master server for firmware one can just pull from for any given device, but that it's only a handful of vendors it's even possible to get ZHA to automate it for was a surprise
For others, just download the OTA files from zigbee-ota repo for example and put them in your configured ota folder.
And some point in the future, this should be improved though
I think you are better off pulling the index and creating a script to pull things in as some URLs go right to manufacturers like hue
touch zigbee wall switches ?
Hey all,
I'm just looking for some cheap zigbee sensors to add to my dashboard 🙂
When I look for Zigbee temperature sensors i find the Tuya sensors on aliexpress.
Are those any good?
I'd like to place about 4-5
same for the Tuya door sensors.
The zigbee2mqtt docs for the aqara temp/weather sensors that I use: https://www.zigbee2mqtt.io/devices/WSDCGQ11LM.html
I'm sure the advice about keeping them on the network is equally good for ZHA if you use that
Most of us see tuya and stop reading
I would recommend the Aqara ones. I have quite a few various things and they all work very well …
Anyone know if it’s possible to set the ‘music’ modes on the Aqara T1 Light Strip via Z2M?
what about wall switches?
Inovelli blue or bust
what's wrong with tuya?
touch one's
I use IKEA shortcut buttons, and a couple of the Moes 4 button scene switch ones. All good.
but moes are tuya one's
are you using some smart wall switches
I have 4 Sonoff ZBMINIL2’s if that’s what you mean? They have worked faultlessly too…
Anyone having an idea why i have issues with a develco energy meter? i installed new batteries to it and after that under exposes in z2m Energy says Null kWh.
Zigbee2MQTT:info 2023-11-02 16:48:05: MQTT publish: topic 'zigbee2mqtt/0x0015bc001b0216a0', payload '{"battery_low":false,"check_meter":false,"current_summation":null,"energy":null,"interface_mode":"electricity","linkquality":100,"power":1026,"pulse_configuration":1000}'
Hey guys, I was just wondering what battery powered zigbee temperature sensors do people recommend?
Hi all - I'm new to HA and having issues configuring an Aqara P1 motion sensor - it alls works fine with ZHA but I can't change the sensitiity (low/medium/high) or more importantly the interval (currently set on default of 30 secs). Every time I try (via the panel and/or script) I get the following 'Failed to call service number/set_value. Failed to send request: Request failed after 5 attempts: <Status. MAC_NO_ACK: 233> Am I doing something wrong or is it a problem?
Aqara
Any ones in particular? Or just whatever ones are available?
You probably need to find some way to keep it "awake" while you're setting the options. Is there a button on it you can keep pressing over again while you're setting the option?
Yep there is a button on it - I'll give it a go in a few minutes and let you know : )
Sweet, thanks!
Yep, it worked thank you so much - I had to keep pressing the button over (and over and over) again but it finally got it - odd that the command to change it from HA does send a 'wake' first or I wonder if there's any other way to extend the wake time to something necessary?
They have likely worked hard to keep the radio device sleeping, to increase the battery life.
Some devices support a cluster that allows you to tell the device to poll rapidly for info for a time (poll control) but it is rarely ever implemented
Thanks for that - I've rechecked and there certainly doesn't seem to be an option for poll control/clustering (that I can find easily) on these sensors - I suspect as busywait said they've done everything they can to extend battery life (and based on that I've turned the sensor light off too now - which also required multiple presses of the button : )
You're using Home Assistant 2022.9.7
I use ZHA and apparently it's on channel 25, while I'm sure I left it at 15 when I set it up, or am I just looking in a different setting for ZHA? For example I also see the PAN IDs and Coordinator IEEE
ZHA dynamically picks the network's channel when you first set it up. The channel shown in the configuration page is correct.
Okay, so that issue is out of the way, since I moved my WiFi channel to 1 now. I guess the next part is getting an extension USB cable and use USB2.0 port. Should the cable be USB2.0 too?
It doesn't really matter, just as long as you use a USB extension cable
Okay, hopefully my problem "Failed to send request: Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>" will go away afterwards.
Well, even with an extension cable I still get these error, anything else I can check?
Can you download diagnostics for the ZHA integration and upload the JSON somewhere?
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.
Here you go: https://dpaste.org/MzFJq
This is for a specific device. Could you also include the diagnostics for the whole integration?
You click on the cog wheel next to ZHA and then the drop down menu: https://i.imgur.com/X8cWybU.png
Ah, you are using multi-PAN with I assume a SkyConnect. What coordinator did you migrate from?
Nope, I'm using the Sonoff Dongle-E
Which coordinator did you migrate from? Or did you set your network up entirely with multi-PAN?
There was the option to enable Thread to if I remember correctly. I set it up like that, no migration.
That would be available only for the SkyConnect, for the -E dongle you would need to manually install and configure the addons and firmware. I would migrate away from multi-PAN and first see if the issue is present with the normal Zigbee firmware.
Hmm, right now I remember. I flashed the E-dongle with the, I guess Multi-Pan. In case I use Thread in the future.
After you do migrate back to Zigbee firmware, can you regenerate and upload the same diagnostics?
Sure, but that will be tomorrow. Kinda late for that here now. I guess I have to reconnect all devices after that?
am saying moes products are tuya one's and mostly people rate tuya not that good so that why am asking
Use the migrate radio button in ZHA. After it asks you to disconnect your current radio, do so and flash the normal Zigbee firmware with the web flasher, then plug it back in. It's straightforward and your devices aren't lost.
I haven’t had any problems…
you using tuya devices locally or on cloud
and what about sonoff its wifi one's or zigbed
All local via Z2M
Having problem getting my Zigbee-sensor to be accessible in Dashboard. I can see it in Zigbee2MQTT, but it says "unavailable" in entities. Someone that can help me?
Does the device show available in the Z2M dashboard?
Look at the main view
255 is bad
You'll probably want to enable availability
255 is, in theory, a perfect signal, but often means no idea
It says that for all my units now. I had to recover my HA OS installation. And now that's what it shows on all entities
That suggests nothing has talked to Z2M
Of all the 38 Zigbee devices I have, there is only one I regret buying (Aqara cube remote, too fiddly to use). Two ikea bulbs also frustrated me for a while, I had set them to transition on over a couple of seconds, but they don’t switch on until at 30% brightness, so it appeared there was a delay in them coming on. Took me a while to realise what was happening…
I've just re-added the sensor.
Availability and last_seen are really helpful here
Thank you, i'll look into it!
2023-11-02 21:42:36.700 ERROR (Thread-2 (_thread_main)) [homeassistant.components.mqtt.client] Unable to connect to the MQTT broker: Connection Refused: not authorised.
2023-11-02 21:42:36.701 WARNING (Thread-2 (_thread_main)) [homeassistant.components.mqtt.client] Disconnected from MQTT server core-mosquitto:1883 (5)
Found that in the logs
There you go, that's not helping you
@sour shadow It says I need to add "availability: true" to my configuration.yaml - but there must be something im missing? Can't add that only, wont work.
I got an error while doing so when i checked my config.
Well... that's because you failed the first test
Knowing that Z2M's docs refer to Z2M's configuration files, not HA's
Yeah, figured! 🙂 I'ma check the authorisation info, see what's happened.
Then you need to un-fuck your broker
haha, yeah
Hi, is it possible to use bosch smart home relais as zigbee repeater?
@sour shadow - Got it resolved - thank you!
Reason was simply that i had changed password and username since i restored the installation.,
If it's a Zigbee router device, and you can add it to your mesh, yes
Hi. I have the Candeo Smart dimmer (https://www.zigbee2mqtt.io/devices/HK-DIM-A.html), and Z2M has informed me about firmware updates.
I updated one of my dimmers, which worked, but removed the device from the network afterwards. I just re-paired the device to my network and it's all good again. Nothing in the firmware version sections had changed afterwards, but it did get rid of the annoying update available message in HA.
I then proceeded to try the update on another. The same thing happened where the device was removed from the network at the end. This time though, I'm not able to re-pair the device back onto the network, even after factory resets of the dimmer. I am able to pair other devices however, so I think the update has broken the dimmer.
Is there anything else I can try to get it to work?
hey guys, i've heard about groups in HA and zigbee groups - is there much of a difference between them? i want to have a door sensor on the garage door and another one on the garage->house door, and an automation to turn on the garage light when either door is opened
i was thinking of making a group in HA for the garage door sensors but is making a zigbee group better? if so, why?
Zigbee groups are for controlling a group of Zigbee devices. Those two door sensors send messages to HA, so you can't really put them in a Zigbee group.
Just create a HA group for that purpose (or use multiple triggers in the automation).
ah perfect, that's easy enough then! thanks!
I was listening to the Self Hosted podcast, an episode from late 2022, and the host kept saying Zigbee was a part of Matter. Is there anything to that?
Kind of. The Matter standard is somewhat based on the Zigbee Cluster Library (ZCL). So, which commands and attributes there are and so on
Ok so I bought this Visonic MCT-427 smoke detector off eBay to mess around with. It pairs with ZHA , but all I have is unk_model unk_manufacturer, no entities, only exposes the "basic" cluster. Anyone know anything I can do to get the device to work? I suppose there's probably a chance it uses Zigbee in some proprietary way.
Can Anyone recommend a more consistent setup for ZIGBEE2MQTT - HA? I have a few AQARA sensors - motion / door-contact sensors and they seem to be more asleep - than working. It takes about 4-5x to trigger it to actually turn on the lights. I also have a sonoff ZB-dongle-E (should I get a -P instead?)
Try to remove and re-pair the device first. Those manufacturer/model names mostly indicate that pairing didn’t complete
hey guys, i've just got my first zigbee devices and have set them up in zha but in the visualisation tab, even though they're connected and working, there's no lines between them and any routes/coordinators - is there a way to fix that?
It’s not live, wait some hours or refresh the visualization manually using the button and check back some minutes later
ah easy, i can wait until it updates then! thanks!
also, what's the number in the line connecting devices? between two devices there's a number of 153, whereas another two devices is 173/142?
I'm running into problems with one of my Zigbee TRVs. It just suddenly started, not sure when. CAN be when I updated to 2023.11 but I don't think so. Before I remove and re-add the device, any troubleshooting someone can suggest here?
Publish 'set' 'occupied_heating_setpoint' to 'Small Study Radiator' failed: 'Error: Write 0x54ef4410006fdbae/1 hvacThermostat({"occupiedHeatingSetpoint":1500}, {"sendWhen":"immediate","timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (no response received (44))'
I have another TRV (same one) and that one works fine.
LQI, max is 255. Reported by both sides. You can mostly just ignore it though if things work fine
cool, that works! thanks!
Oh and in Z2M I can see the state changes that I do on the TRV, so it seems it's only commands from Z2M TO the TRV that doesn't work
Hi, I think about moving all hue devices from philips hue bridge to zha since I already have a conbee stick installed and dont like to have another device (bridge). I already added a switch and a bulb from one room for testing. What makes me wondering: Do I really need to add an automation, for every button, every room and every switch ect.? For example hue dimming switch (4 buttons) I need to create an automation for:
-switch on
-switch off
-brightness up
-brightness down
-ect.
This would end up in tons of automations for a whole house. So I wanted to know, if there is an easier way to controll the lights?
You can use trigger ids, so put all four triggers in one automation and assign each of them a trigger. Then, use a choose for checking the trigger id in the automation part
Or just use a blueprint if you find one
Or write your own blueprint
blueprint sounds interessting, I will look into it. thank you very much 🙂
@eager bluff I converted your message into a file since it's above 15 lines :+1:
Since I can't seem to troubleshoot why my TRV isn't receiving any messages, I want to remove and add it again. It's in z2m. If I rename it exactly the same as before after force removing it, all automations, etc. should work the same right? Or will HA give it a new (eg _02) name?
hey guys! Which zigbee modules do you recommend for light switch? Variably in Europe.
I'm checking out Aqara SSM-U01 as per @sour shadow recommendation, but would like to see other options. Also would these allow to dim the lights, or does that need to be a different module? Does it have mesh?
Do dimmers work with normal lightbubs?
I've read zigbee all work in a mesh network, but not all zigbee work as a "repeater" or support this
Well, if the bulbs can be dimmed, yes
Depends on what you mean by "normal"
Old school incandescent then yes, those can be dimmed. CFL mostly no. LEDs vary widely. Smart bulbs not at all (other than by using the smart features)
As for routers (what "repeaters" are called) then any mains powered device s a outer other than two-wire switches/dimmers, Sengled bulbs, and most things USB powered
Can anyone tell me why I am getting hundreds of Zigbee errors related to the same type of device (Samjin plug in outlet - from SmartThings days): https://pastebin.com/TAjSzpSQ
I also have close to 2000 of this other 'NoneType' error: https://pastebin.com/sVXMUepv
lol, and the list goes on... errors reporting "Watchdog check failed" - Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/zigpy_znp/api.py", line 1028, in request response = await response_future
Can the coordinator's firmware be at fault? I am testing one of Koen's latest releases 0923
Your coordinator is disconnected and requests are being sent while it is. Not really something that can be fixed in software, it's a firmware, hardware, or VM issue.
I might miss something obvious (voltage for one) but I'm trying to find alternatives for my IKEA zigbee 5 button remotes (might even be with less options) but I'd love to have something that doesn't eat batteries for breakfast.. ideally something that can be charged via for example usb-c. Does anyone know if there are any?
Could these errors be generated during a system reboot? Or are they exclusively a sign of real issues with the coordinator communication?
No, the integration doesn't start until it can connect. If you get those errors then it started, was running, and then the coordinator disconnected at runtime and cannot reconnect
tuya devices could be the reason
I often reboot the machine running Proxmox without shutting down the VMs as Proxmox takes care of it. Any chance this UART disconnection might happen during teardown? I am trying to narrow down the cause...
zigbee wall switches or wifi wall switches which are better
So I reflashed the device but I cannot connect it to ZHA anymore, it always said "failed connection". Tried another firmware still the same error.
I flashed it with the pip universal-silabs-flasher since the webflasher never could connect to the dongle for some reason.
Also the window after migrating the radio just disappeared, so I guess I can't swap over my devices anymore if I ever get the stick working again.
Any ideas here?
Which firmware did you flash?
Did you also uninstall the multiprotocol addon? It will keep trying to communicate with the radio the moment you plug it back in, which will prevent ZHA from communicating with the stick
You can always re-run the migration by clicking the same migration button but instead clicking "re-configure current radio", since you have just one, even if the integration fails to load
This I did not, but I suspected that and searched a little bit on how to do that but couldn't find it. Edit: I mistook that for the multiprotocol firmware on the stick. I thought there would be an A/B flash, which could hold multiple firmwares.
First I flashed this one https://github.com/darkxst/silabs-firmware-builder, where I had the mulitprotocol one from initially and then the official one from sonoff.
You would go to http://homeassistant.local:8123/hassio/addon/core_silabs_multiprotocol/info and click the uninstall button. You should see Silicon Labs Multiprotocol in your addon list.
And do I need another add-on for Zigbee only or does this work natively? I can't seem to find one in the add-on store.
No, you only need an addon for multiprotocol
Got it, will try now.
Which firmware is recommended though? The original one or the one from darkxst which gets updated?
The most recent one is fine, I don't think Sonoff has released any firmwares beyond the one that shipped with the stick
Can Z2M (or ZHA) expose to Home Assistant the Zigbee router device name that an end-device is currently using, so that I could add a history-graph in an HA dashboard to track roaming?
Unlikely. ZHA/Z2M also have to ask/poll the routers for the connected devices.
Thx. Oh well. I only have Z2M running at the moment, and when I build the network map I see some debug logging, but I can't even see the router-end-device relationship logged in that :/
It's in the network map so you should be able to scrape the data...somehow
Ah, yes, there is a big block of data dumped at log level INFO
Info 2023-11-03 17:21:44MQTT publish: topic 'zigbee2mqtt/bridge/response/networkmap'
...
I "just" want to see the last router that my end device was using before it disappeared 😅 (or, have that info available if a device does disappear)
We're working with Silicon Labs to fix these bugs
It will take at least a few months, however, because only they can fix some of them
You still have to write a tutorial for how you manage to get the firmware to crash so much. It would help me a lot 😄
It is. I sent you a DM, it may be easier to discuss there!
When it does happen most of the times it recovers by itself but it's those times where it doesn't recover and I have to unplug the USB and plug it back in
I feel 4.3.0 was more stable than 4.3.1
I'm trying to reproduce the one where you have to unplug it and plug it back in to fix the problem, as that indicates that the firmware has completely frozen. If you can send me what devices you have on your network (Zigbee and Thread), I can try to reproduce your environment.
Sure would you like me just to list them off I have about 41 ZHA devices and 5 thread devices, or would some diagnostic file have this information for you?
can i get a handwritten copy in cursive
I think just the Thread devices will be fine. I've never been able to reproduce any crash with just Zigbee.
Ah, Nanoleaf again
7 thread border routers (all on same network): 5 Googles, 1 skyconnect, 1 NL shapes border router
I thought you were going to say that lol
I just listed CC2652 P7 based PoE coordinators in the store.. you can ask @grim igloo and @half cradle who have been testing/using them for the last few months (Thank You). I haven't heard from them in awhile 😂 so figured it was good to finally list as I have way to many of these modules on hand to keep through the end of the year 😬 If you have a 2022 or 2023 p2 and want to update I hope to get a listing for that up soon!
i told you i'd let you know if i ran into an issue again and it never happened 😛
smooth sailing so far
my understanding is Koenkk is using a P7 (from Beagle) for his main network. so 🤷🏼♂️
I think the larger ram and memory helps with the Table Full errors happening in 20230507 for a lot of people with P2s
yeah i'm still on 0507
It works awesome. Only issue I ever had was related to my wireless subwoofer 😄
Got back to my stick problem, so I wanted to flash the latest one from darkxst, but it always gives me the error "Error: Failed to probe running application type" right after the line "Probing ApplicationType.SPINEL at 460800 baud". Thought this device was in use by another process so I restarted it, but no luck. Is this a known problem?
Can you post the entire flashing debug log? If you/some other process interrupted the firmware update and your stick doesn't have valid firmware, you may need to manually enter the bootloader. Change flash to flash --sonoff-reset and see what happens.
That looks better, now it detects the bootloader version, which it didn't before.
Also every time the flashing gets stuck at 100%. I also waited some minutes for one flashing but still nothing happened.
Am I safe to Ctrl+C or unplug?
So I finished flashing the stick now, set it up the network with the backup and created a diag log.
https://dpaste.org/dso4S
Still got the same problem with some thermostats that no commands can be sent to them. Will reconfigure them tomorrow and see if that might help. Otherwise that purchase was a bad one I guess.
So now the problem is clear. Multi-PAN doesn't support energy scanning at the moment but with normal Zigbee firmware you can see in your diagnostics that your Zigbee channel (25) is 91% congested. Others are similarly noisy. Make sure to keep your stick on a USB extension cable and move it away from interference sources such as USB 3.0 ports, SSDs, and things like that.
Okay, with extension cable I checked the two diag logs, one was with 49% and the last one was with 6%. Still the same problem. I can control some, and some not.
Do what you can do get it down as low as possible and let ZHA run for a while. It collects failure reasons as it runs so in the next diagnostic file, you can see how many requests failed due to noise (PHY_CCA_FAIL_COUNT)
Alright, thank you so much thus far. Will just let it run for now, maybe re add some thermostats, which aren't working right now.
I could have sworn i saw the noise-stats of each zigbee channel in the json file made by ZHA backup function. Now its gone?
it's at the bottom
oh backup function thought you meant the diagnostics file
firefox just opens a new blank tab with no info... Android doesnt work as well
(when downloading ZHA diagnostics)
it used to work with firefox. Its all i ever use
No issues here on FF119
so i saved the link with rightclick. Gives me a html page.
opening that in text editor: 401: Unauthorized
It's not a webpage you can download, it's done with JS
Make sure you have no addons that could interfere. I only ever test it on Firefox and have never had a single issue.
i should be served a file i know, but it opens a blank firefox tab
Why custom quirks considered as not optimal and as could break at any time?
I just tried first custom quirk from jacekk015 repo for Moes TS0601 by _TZE200_aoclfnxz thermostat. And it's like day and night. Using built in quirks I was unable to adjust temperature calibration, can write, but when reading it reads none. Custom quirk added slider in device settings for that. And add a big bonus it set a correct time on all of my thermostats 🙂
hi guys, is there anyone here that could help me out? Im trying to install zigbee2mqtt and follow along the guides step by step.... Aaand now something's wrong 😄 when I try to open it in my browser it doesn't load at all, despite the container being up
So I've figured out it doesn't like something about the yaml file's user/password line, but for the life of me I can't figure out how it's supposed to look like
I've figured out it doesn't like something about the yaml file's user/password line
How?
What do the logs say? Did you check the config in a yaml validator? https://jsonformatter.org/yaml-validator
Just figure it out via trial and error - so, despite me getting the config file directly from https://www.zigbee2mqtt.io/guide/installation/02_docker.html#creating-the-initial-configuration (as per the guide I was following), there was one extra space before the user and password lines that was breaking it
So that works! Thank you for the help btw, I'm bookmarking that yaml validator (didn't know it was a thing!)
Now I just need to figure out why the web UI isn't loading 😄
Releases of zha-quirks are continuously tested to make sure they always work. If you write your own quirk and the API changes, your quirk will break and you will have to fix it.
Hi ! I'm trying to make some changes to monitor apparent Volt-Amps power (S=U*I) with a template to compare with my electrical provider meter values.
I use ZHA with a Sonoff Z Dongle (SoC EFR32MG21) and many plugs (TS011F by _TZ3000_ynmowqk2, Lidl Silvercrest HG08673-FR) which report datas: rms voltage (V), rms current (A), consumption (kWh), active power (W), but no power factor nor reactive power. All values are correct except for RMS current. The plugs have theses 3 ID's about it on 0x0b04 endpoint: 0x0508" for rms_current, 0x0603 for ac_current_divisor, 0x0602 for ac_current_multiplier.
I should have for this example value 20 on 0x0508, 1000 on 0x0603, 1 on 0x0602. So 20/1000 = 0.02 A. But the RMS current Entity shows 0.0 A. Changing the precision doesn't help (shows 0.00, 0.000, etc...). Seems to be rounded to 1 decimal.
How can i get the most accurate value with 2 decimals? Should I create a custom quirk (if so, how) ?
Other question for other needs, is there a way to set a custom value refresh rate (currently 30sec, i'd like to set critical devices to 5 or 10) ?
Which TRV valves with PID do you recommend ?
Thanks for reading and for the help !
So I have a sensor that's connected in Home Assistant, using ZHA, but it's... not part of the network?
Like, it's in the network topology, but not connected to anything?
Yeah that happens. If it works don't worry about it.
Seems connected now
Question. So I have a dryer I'd like to text me when it's done
Using the Aqari vibration sensor
Which sort of works if I fiddle with sensitivity and positioning
Automation works
But it does this thing where it drops out of the network randomly until you press the button on it again
I thought I heard somewhere about changing the delay between reads to something higher than 60 seconds fixes that and causes it to not sleep like that
But I don't know how to do that
ZHA, figured out via forum post how to change sensitivity, https://community.home-assistant.io/t/zha-xiaomi-aqara-vibration-sensor-settings/152917
All docs I can find for the delay are for other things like zigbee2mqtt, which is a whole different thing
If I can change the delay and get it to not drop off the network like that, we'll be in business
Option 2 is: Does anyone have recommendations for a sensor I can hook up that does a better job than this?
Cause in theory, a vibration sensor is what I need, but their vibration sensor, sensitivity-wise, seems a bit fiddly
I just haven't been able to find a decent alternative
How I can help to elevate that custom quirk to core quirks?
I have (after moving my HA instance from a Raspi 3 to 4 and from a deconz to a Sonoff stick) the problem that it switches off all Zigbee devices briefly when I reboot the system. All sockets, for example, are switched off briefly - which was not the case before and is of course not nice. Is there a solution for this?
Does anyone have any tips for connecting the HA SkyConnect to Home Assistant more reliably? I'm using a docker for home assistant and have the --device=/dev/ttyUSB0 command to pass through SkyConnect, and it works but then randomly drops off and stops connecting and doesn't come back unless I restart the whole server, just to confirm yes I am using the USB extension that comes with the device! 🙂
I'm getting the following in the logs when it stops connecting:
serial.serialutil.SerialException: [Errno 6] could not open port /dev/ttyUSB0: [Errno 6] No such device or address: '/dev/ttyUSB0'
2023-11-04 21:09:27.294 DEBUG (bellows.thread_0) [zigpy.serial] Opening a serial connection to '/dev/ttyUSB0' (115200 baudrate)
2023-11-04 21:09:27.298 WARNING (MainThread) [bellows.zigbee.application] ControllerApplication reset unsuccessful: SerialException(6, "could not open port /dev/ttyUSB0:
If i move all files from my HA Container over to a new machine, will that migrate the zigbee connections too?
If you use the integrated backup and also use the same coordinator it should
was planning to copy the whole installation just over
If you do it properly (permissions, hidden folder/files) the effect is the same
is there a way to manually send an request do z2mqt in any way.
Try to test sending a value to : number.wohnzimmer_heizung_current_heating_setpoint_auto
Any MQTT client. It's in the name. I recommend MQTT Explorer: https://www.zigbee2mqtt.io/guide/usage/mqtt_topics_and_messages.html
You're asking about HA though.
Open your Home Assistant instance and show your state developer tools
ah, great, thx
I wonder about following....
The GUI of Zigbee2mqtt shows that there is a current_heating_setpoint parameter, but the entity isn't shown anywhere in HA to access it
Similar to this posting: https://github.com/Koenkk/zigbee-herdsman-converters/issues/6397
is there an easy way to add this parameter ?
Zigbee devices are switching off during reboot
Hey guys i'm having a bit of an issue with the Zigbee integration after restarting. I just did a full reboot of the whole system and for some reason the integration fails to start. The logs said something like this https://hax.1337.sx/A1XVFxf8ci.png but I've got no idea what that means. I'm running everything in a docker container with this as my docker-compose file
version: '3'
services:
homeassistant:
container_name: homeassistant
image: "ghcr.io/home-assistant/home-assistant:stable"
volumes:
- /home/hax/docker-config/homeassistant:/config
- /etc/localtime:/etc/localtime:ro
- /run/dbus:/run/dbus:ro
restart: unless-stopped
privileged: true
network_mode: host
Oh this server doesn't allow embeds for images
Its somewhat strange because last time this happened I managed to fix it by just restarting HA and switching the port the Zigbee dongle was connected to
hi it is normal that zeegbee plug 230V transmit message to HA only when tuya app is open on phone ?
i can not read f.e. in HA info about power and other parms.
its only wokrs only when tuya app is opened on phone... 😦
After setting up the intergration (again) its now half working. It seems to be communicating with the zigbee devices correctly but its doing so really slow. Like you can click a device and wait 15~ seconds before it finally turns on / off the light again
Alright I've managed to fix it by just unplugging the RFlink module next to it.
Electric or gas dryer?
Can you not use the Bosch Thermostats that require the install code using ZHA?
I am pretty sure I have a TI-based coordinator https://community.home-assistant.io/t/bosch-thermostat-2/492845/18
Ah got it. Pretty complicated with the zha.permit
God, the Bosch Thermostat 2 is pretty basic given the price tag
Seems like there really isn't the perfect thermostat out there. Either the hardware is great and it is closed-off non-Zigbee stuff like Tado or you get cheap Tuyas or expensive Boschs that are not better than the cheap Tuyas 😕
HA is your thermostat
It would be if the temperature calibration for the Bosch were implemented in ZHA
@tropic depot We need to cook!
Actually I would rather work on some signal processing algorithms now. This home automation stuff is curse and blessing at the same time!
This is a bit of a noobie question, but I couldn't figure it out by myself. I have some zigbee light switches and some zigbee buttons. Initially, I was planning to create scenes and automations in node red (using zigbee2mqtt) for them. However, it occurred to me that this would mean that the zigbee devices aren't actually talking to each other, but to HA. Is that kind of setup possible? Like, make a zigbee device remember that "x button press" -> "send x command to a specific zigbee device"?
I guess, I'm asking because I don't want to spend a few hours setting everything up in node-red and then figure out there's a better way of doing it 😅
Only in a very rudimentary way. If the device sends an "on" command on button press, you can bind it to another device or to a group that will receive the "on" command. But you lose the ability to make the automations smart (e.g. time of day changes how things work) or work in instances where two devices can't directly communicate (e.g. button turns on heat).
But you lose the ability to make the automations smart
Is it possible to have a combination of the two? Like for example, have the basic "light switch turns on light" stuff that way, and add more complex logic (like, "motion sensor + timer -> if I've been out of the room for more than 10 mins then turn off the lights") via node red?
Also, where would I even go about setting this "simple" zigbee to zigbee logic? (It's enough if you just tell me what to google to find it 😅 I've been poking around in HA but haven't really found such an option...for reference I'm using zigbee2mqtt to connect my devices)
Kind of. Depending on button, it can both be bound to the light(s) via Z2M and still send events to HA.
Your button would always turn the light on then. HA would see the button press and just start an automation with a 10 minute delay to turn the light back off again.
Thank you, that helps! Tbh I'll probably just end up doing everything in Node red anyways, but it's good to know what options I have 😅
Electric, but power monitoring isn't really an option, hence the vibration sensor
Why is power monitoring not an option?
I mean, with a dryer, it's a 240v plug, so
Shelly EM is the way to go for that. That's what I did with mine.
23-11-05 18:08:15 WARNING (MainThread) [supervisor.addons.options] Unknown option 'base_topic' for Zigbee2MQTT (45df7312_zigbee2mqtt)
I got this error.
Can someone guide me to fix this error.Thank you very much.
data_path: /config/zigbee2mqtt
socat:
enabled: false
master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
options: "-d -d"
log: false
mqtt:
base_topic: zigbee2mqtt
user: mqtt-user
password: "127621129"
server: mqtt://core-mosquitto:1883
serial:
port: /dev/ttyUSB0
This is Option in zb2mqtt
Can I remove the line base_topic: zigbee2mqtt
@hard swift To format your text as code, enter three backticks on the first line, press Shift+Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks.
```yaml
example: here
```
Don't forget you can edit your post rather than repeatedly posting the same thing.
That is valid, but it's also the default so you don't have to set it. I'd also check if that's a known problem/feature with the add-on
So I can delete it in zigbee2mqtt's Options
Carefully
(and mostly you can't)
- Make a note of every
entity_id(you can't do this for devices) - When you re-pair everything to Z2M rename the entities, where they exist, to match with the old one
I'm trying to determine a good way to get near real time positional tracking to help "smarten" a ceiling mounted tilt/rotate TV mount. The mount lifts the TV parallel with the ceiling and lowers it to around a 70 degree angle off the ceiling. It can rotate in a 180 degree arc. Ideally I'd like to know when it's raised, when it's not raised, and when down, what direction it is facing. (Knowing whether it is facing one of the two extremes is fine 0 degrees or 180 degrees)
I tried an aqara vibration sensor, but the tilt tracking seems to be pretty much crap
I also tried to get the facing direction using a couple of zigbee contact sensors, but they also weren't very reliable. I could replace those with 345mhz door sensors, which have been very reliable for me but was wondering what other options might be out there
I was referred over here by #hardware-archived: I recently received my SkyConnect batch 7 from AmeriDroid and it seems to be identifying itself as a generic CP2102N serial device. Flashing updated firmware and setting up Zigbee works fine, but I'm missing out on the easy integrations and HA management features of it being a SkyConnect device. Any hints on how to get the device to correctly identify itself as a SkyConnect_v1.0?
Hello so with buying Zigbee downlights i have attached a link do i have to buy the dongle too for HA ?
downlights - https://www.amazon.co.uk/gp/product/B08Q7G52LN/ref=ewc_pr_img_1?smid=A1D4QAEPAWHUPX&th=1
Dongle - https://www.amazon.co.uk/gp/product/B09KXTCMSC/ref=ewc_pr_img_1?smid=A26QA7NDH2SGKH&psc=1
Also im going to buy ordering 8 of these lights im guessing there is no limit to number of them in the same room
yes if you don't have one already
okay thats perfect
Every mesh needs a coordinator (see the pinned messages) - no coordinator, no mesh
okay will look pretty new to setting up this stuff
Just to make sure my reading comprehension is intact .. When I upgrade/switch to the HA Yellow, I will be able to directly connect zigbee devices to it using the built-in radio without another hub, right? Trying to get everything planned out before I spend any money lol
yes but it's often a better idea to buy a mini pc instead of a SBC like a yellow
In general, or specifically for zigbee connections?
in general
Hm okay, I will look into it. Like just running linux on a purpose-built machine and installing HA?
The Pi is a pretty low spec platform, and it's easy to out-grow it
let's jump to #hardware-archived
You can also run HAOS on a PC
hi everyone. what's the difference between the Z2M Configuration tab in the addon, and the /config/zigbee2mqtt/configuration.yaml? As they are not the same. And I'm confused when to use one or the other.
Use the add-on UI to manage it
that's the thing. I want to transform a switch to a light, and I was required to use /config/zigbee2mqtt/devices.yaml
my change in the addon UI did not do the transformation from switch to light.
Z2M has to restart for YAML changes to take effect
I restarted Z2M, did not work. I even restarted the RPI4 as well.
(plus some files may be re-written on shutdown of Z2M)
the thing is, what's in the UI config, it's not the same in the /config/zigbee2mqtt/configuration.yaml
they look like 2 different files, and I've no idea where the UI config is even stored.
The add-on does odd stuff, it makes no sense to me
One question regarding zigpy and zha-device-handlers: Afaik you need the quirks if a device does not follow the official Zigbee specifaction, which is the case a lot of Tuya and Xiaomi devices obviously. I have a Bosch Thermostat 2 here though and many endpoints are not recognized by ZHA. There is the thermostat, but many more things are missing: Most importantly the local temperature calibration and the temperature unit (metric/imperial) settings. Bosch seems to follow the Zigbee specification though. I have looked it up.
So why are these endpoints not recognized by ZHA? They shouldn't require a quirk, should they?
I would write a quirk if that is necessary, but I first want to make sure that I am on the right track
i have hama thermostats connected via z2m to HA, in z2m i can set these thermostats to "auto" mode, is there a way to change the way these thermostats act in auto mode or even see what the automode does and when? or is that "hardcoded" into the thermostat or only accessable via the original app? guess some other thermostats have the same mode
Many
not measured, but they're way better than some Gledopto Pro controllers
Many thanks
has anyone here being able to change their MQTT broker from MOSQUITTO to EMQX?
good thing i backed up my HA before I did anything - it was stressful!
It needs to get exposed. Many endpoints are not exposed by ZHA unfortunately. Zigbee2MQTT does a better job there, but is also less stable in my experience
@austere patio
@mellow geode
As discussed some days ago, the zigbee light of one my neighbors is back in my Zigbee/Zha network.
Yesterday I was also able to control the light.
What is the best way to "tell" the light, to leave my zigbee network? Just deleting the light doesn't seems to help.
If it's helpful, this is the light model "OSRAM Surface Light W �C LIGHTIFY"
i'm using zigbee2mqtt, but it doesn't seem to expose that..
When you remove device from Zigbee2MQTT there is "Block from joining again" switch there. Is it not enough?
I'm using ZHA not Zigbee2MQTT. I don't see any option like this.
ah, ok then
any zigbee wall switches like aqara
Didn’t you just ask this?
lmao
The most Aqara-like switch would be one by Aqara
which Aqara switch!?
The most switchy one 
noone switches like Aqara switchies
there isn't really, especially not for zigbee devices
you have thermostat devices for that
Any body try using a Nyce NCZ-3010 Zigbee door hinge sensor?
I have stick with CC2652P2 chipset. Is that enough to find a suitable firmware? Or do I need more info like brand etc
that's going he be he LaunchPad variant of the Z-stack fw.
the Z-Stack Firmware repo has a chart which breaks down which firmware for which devices. it has a number of devices listed
That's a golden answer 😊
unless you want potential issues, stick to 20221226 not the latest release
Thx!!!
i thought 0507 was safe now
on the P7, still lot of people with issues with other coords with lower ram.
oh
What's best practice when rolling back a custom quirk to original ZHA? Remove and Add the device?
remove and restart HA
Remove the quirk or the device?
custom quirk
some devices may need to be re-paired but just try the quirk removal and restart first.
Okay, because I feared that the temperature offset would still be counted from the custom quirk on top of the native one.
I have a skyconnect that I'm (finally) setting up. I run HA core. I see the device as a USB device in the OS, but it is not detected in HA. Any tips?
yes and yes, ubuntu 23.04
[759919.590250] cp210x ttyUSB0: cp210x converter now disconnected from ttyUSB0
[759919.600532] cp210x 1-1.5:1.0: device disconnected
[759923.140483] usb 1-1.5: new full-speed USB device number 8 using ehci-pci
[759923.250845] usb 1-1.5: New USB device found, idVendor=10c4, idProduct=ea60, bcdDevice= 1.00
[759923.250851] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[759923.250854] usb 1-1.5: Product: SkyConnect v1.0
[759923.250855] usb 1-1.5: Manufacturer: Nabu Casa
[759923.250857] usb 1-1.5: SerialNumber: e0917b89c15aed1193d3ed165820eef3
[759923.251289] cp210x 1-1.5:1.0: cp210x converter detected```
Anyone know why PowerConfiguration would fail on ZHA? Can't find much about it, it's an IKEA lightbulb. Logs don't mention it
And it shows under /dev/serial/by-id?
like /dev/ttyUSB0? no
understand ... /dev/serial doesn't exist
ls -l /dev/serial/by-id/
ls -l /dev/tty*
There was a systemd bug which caused that to not be created but that shouldn't affect /dev/tty* afaik
That systemd bug should have been fixed by now though
╰─○ ls -l /dev/serial
ls: cannot access '/dev/serial': No such file or directory
ls -l /dev/tty*
crw-rw-rw- 1 root root 5, 0 Nov 6 17:04 /dev/tty
lrwxrwxrwx 1 root root 8 Nov 6 17:01 /dev/tty1 -> lxc/tty1
lrwxrwxrwx 1 root root 8 Nov 6 17:01 /dev/tty2 -> lxc/tty2
lxc
Is this inside a container?
yes, lxc with the USB device passed through
That would have been crucial information
That detail matters 😉
oops 🙂
In the past, passing USB devices through has been pretty staight foward - you just pass the USB device
I just wrote a post about this in the Z2M discord in case you're a member there: <#1170981561584341032 message>
drat, no access
https://discord.gg/NyseBeK
You can also share your LXC config but perhaps in a thread as it's a bit off-topic
Hey! Probably an over-asked question but what could be the cause of ZIgbee devices dropping to unavailable quite frequently?
It's usually my passive devices (temp sensors, door sensors, etc), and usually about one every couple of days goes unavailable, then I have to go and remove and re-insert its' batteries
Interference and/or battery problems
if I have a hue hub connected to HA is it easy or even possible to link non hue or even non lightbulb zigbee products to HA through that hub?
How long does OTA takes for ikea shortcut button?
"ages" - it wasn't like a firmware upgrade that I'm used to where it's ok to sit and watch it
Zigbee is much lower data rate than wifi, and the devices are slow.
When I used Trådfri directly I did not bothered so will not now.
Anyway so far going back to Trådfri hub is my backup plan.
You can try and keep it awake to have it go faster….. at the cost of battery
These are sleepy end devices which is part of why it takes so long
If everthing has been on a Tradfri hub it might be up to date already?
For IKEA stuff it's probaby safe to set HA/Z2M to automatic updates, and walk away
This channel is about using HA as a Zigbee hub, though there might be someone here that has Hue experience
For that button, my experience tells me you need to keep clicking the button every minute or so, until it's done. At least that's what I remember from the last time I tried it.
I think #integrations-archived is the place to talk about the Hue integration. I don't have a Hue hub, but I know that there are certain non-hue devices that are supported: https://iconnecthue.com/supported-devices/
Hi everyone, i have some doubts about the zigbee protocol.
I know that alexa can control local devices using zigbee such as philips hue, for this reason there exists an integration that emulates the hue in the network and lets alexa control entities locally. But how does this work? zigbee doesn't operate over wifi, and my x86 pc where i installed HAOS surelly doesn't have a zigbee module.
Is there some balck magic thing i don't know or did i misunderstood the setup?
Well, how did you connect those Zigbee devices? Hue hub?
Alexa talks to whatever it is that manages those Zigbee devices, it doesn't need to know anything about how they're connected, just that the Hub has X lights with features Y and Z, W switches, etc. Same goes for Home Assistant when it comes to the Hue hub
well i don't acutally own any zigbee devices, i was talking about the home assistant integration emulated_hue.
So you are telling that emulated_hue doesn't emulate acual devices, but rather emulates the central hub and alexa communicates localy with the emulated hub?
i thought that alexa acted as a hub and communicated with the devices which were emulated by emulated_hue
yea now it makes sense if it's an emulated hub it talks to alexa via http locally sure
Emulated hue is just a bit of software lying to Alexa
yea sure, i thought it lied to alexa acting as a zigbee device, not as a hub for zigbee devices
Yeah it's the second thing. No Hue or Zigbee is necessarily involved. It's basically a way to link devices to Alexa or Google Assistant without having to make any other major configuration changes or set up https or whatever.
i have a gui10 spot right inbetween 3 others. 3 meter outs i have even more zigbee-routers, So that part is a tight mesh. Still this spot fails me. Even swapped it with a fresh one. same issues. I thought it was Ikea which failed me, but its the actual location
What could be the issue? electrical interference?
its causing to chain-fail a script sometimes and its annoying AF
Hey all, I'm using z2m on homeassistant OS on a pi. I have 2 am43 zigbee shade controllers from Didoya (ali express, I think it's just another one of those generic retailers like moes). Anyway, they usually work fine, but randomly will not work and not be able to connect and I'll have no idea why. Usually unpluging them and taking the battery out works, but sometimes it doesn't. Has anyone dealt iwth anythign similar and have a soultion? THe answer can even be "that product is terrible, get this one"
Is there a way to determine if any of my in-range neighbors have Zigbee or Z-Wave devices running... A sniffer add-on?
Not really a sniffer but probably more what you're looking for: https://github.com/zigpy/zigpy-znp/blob/dev/TOOLS.md#energy-scan
You want to use https://github.com/zigpy/zigpy-znp/blob/dev/TOOLS.md#network-scan. Or, if you have a EmberZNet radio like a SkyConnect, you can use it as a sniffer.
hello! I am in the proces of recreating a zigbee setup after migrating from deconz to ZHA. I have issues with two ikea trädfri on/off buttons. they were found by ZHA, but when I try to bind them with a bulb, the green check that confirms binding is active stays only for a few seconds and then disappear. I thought I might remove the buttons from the list of integrated devices before readding them, but could not figure out how to do it
I am probably too stupid but I cannot figure out how to remove a device inZHA. Edit. I figured out. I removed the light and button, added them again, no success 😦
Has anyone set up a ZY-M100 presence sensor in ZHA? I am trying to do so. It's online but has no entities I can interact with at the moment.
Not even the occupancy sensor that I want.
ZigBee Sniffer with Wireshark on that spare Pi - How to build one! - Home Assistant Community: https://community.home-assistant.io/t/zigbee-sniffer-with-wireshark-on-that-spare-pi-how-to-build-one/114086
Never done it myself, but I bookmarked the link becuse it looked interesting 🙂
Hello
I have installed a RaspBee 2 on my rasberry pi 4 and i want to update the firmware over home assistant
does anyone know how to to this?
or other question
i have nous A1Z Sockets and i want to add them to Hoime Assistant but i dont know how to add them.
https://nous.technology/product/a1z-1/eng.html explains how to put them in pairing mode
yea how to get them in paring mode is simple
but idk how to add them in home assistant
like what add on or idk should i use?
Zigbee :bee: - please remember to mention whether you're using zha (https://www.home-assistant.io/integrations/zha), zigbee2mqtt (https://www.zigbee2mqtt.io), or deCONZ (https://www.home-assistant.io/integrations/deconz). If you're using some hub, we probably can't help you though - try the #integrations-archived channel instead.
Looking for devices? See https://zigbee.blakadder.com/ and https://www.zigbee2mqtt.io/information/supported_devices.html.
Wanting advice about what stick? Look in the pinned messages. Just don't buy anything CC2530 or CC2531 based.
yea i already tried that
when i set it up
i use the /dev/ttyAMA0 - ttyAMA0 path
and then idk what to choose
What do you mean?
Well. Still fighting with my transfer from deconz to ZHA with raspbee II . I probably did not chose the best way. I simply diasbled deconz and then installed ZHA. Now I realized that the devices that were "transfered" were marked as attached to both. So I started to factory-reset them one by one and add them again to ZHA. Seems to work fine BUT, seems the raspbee is also Registered in both: when I select devices /raspbee II / device info , I see both deconz and ZHA. I am not super keen of removing the raspbee device the same way I removed the rest... but maybe I should do it ?
I cant explain it that good
my Home Assistant is on German and i cant put it into english sadly
i click on Zigbee Home Automation
and then i get a window that said something about serial Port
I chose /dev/ttyAMA0 - ttyAMA0
and then there are 4 more options
If it helps you there are forums for other languages including German
rummaging through my parts bin and came across a XB24CZ7 (Xbee) module. I seem to recall it working as a coordinator with ZHA, but does anyone know if there's a way to utilize it as a Zigbee router device, or should I just chuck it back in the bin for another purpose?
Is this the same under the hood as the SkyConnect
SiLabs EFR32MG21 micro controller
Nice it has BLE built-in for thread commissioning
So it does use the same radio as the skyconnect
Hi i am trying to write my first Zigbee2Mqtt device integration. The device i have already exists and works with z2m, but is missing the thermostat function.
When adding my own external converter file its seems like it defaults to the one already exisiting in github..
How can i force it to use my own external file so that i can test the driver before committing the code to github??
I have added the external converter in z2m configuration tab
advanced:
log_level: debug
external_converters:
- testNamron.js
and made the file testNamron.js
where i have the old driver , and just added a TEST in the vendor name to see if it worked. vendor: 'NamronTEST',
Thank you
ConBee 3... I wonder if it's going to have the same problems with noise as the older versions 
@bitter kayak To format your text as code, enter three backticks on the first line, press Shift+Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks.
```yaml
example: here
```
Don't forget you can edit your post rather than repeatedly posting the same thing.
I think you have to un-pair and re-pair it... but the Zigbee2MQTT Discord can possibly better answer that
i googled zigbee2mqtt discord but could find. could you point me?
Thanks tinkerer
Any time you want help with some software, start with their doc pages - not Google 😉
Is there any good way to turn traditional wall switches into "smart" ones, but in a way that they do not turn off the power for the bulbs (because the lamp itself has zigbee color bulbs)? It looks like zigbee relays will switch power to the lamp off… which would then make them offline.
I think the new Hue switches do exactly what you're looking for. It connects inline and handles the switching while keeping the line powered. Only drawback is if you ever put a less smart bulb in the lamp, it will always be on until you disable the switch.
Did anybody around at least once managed to bind an ikea tradfri on/off button with any other zigbee device, using ZHA and a raspbee II ?
Yeeeess... but wanting to bind zigbee devices was the main reason I jumped from ZHA to Zigbee2mqtt because (a year ago when I tried) there wasn't much documatation about ZHA binding and the UI made my head hurt.
Now I have everything set up I find that I use HA automations much more than binding anyway
I think the new Hue switches do exactly
https://bread.s-ul.eu/90oJ7EP8.png I'm setting up zigbee2mqtt (with mosquitto broker) on my HAOS install, but I can't seem to figure out what people mean by these these commands/messages? I've googled a bit but I can't figure out where in the UI you input them
You don't - you use an MQTT client like MQTT Explorer
You could also use HA's MQTT publish service, but frankly it's easier to simply use Z2M's UI
Yeah I saw someone using another kind of mqtt client so that confirms my suspicions that I was doing something wrong. Thank you for the help
I almost never use MQTT for controlling Z2M, the exception being when a particular feature isn't exposed in the UI (like calibrating the E1 TRV)
Aha, that looks helpful. I recently used Settings > Devices & Services > MQTT > Configure > Publish a Packet (to do a coordinator check) which I now realise was the hard way 🙂
I have two philips hue lights (https://www.zigbee2mqtt.io/devices/3261331P6.html and https://www.zigbee2mqtt.io/devices/3261331P6.html) which I am trying to pair in zigbee2mqtt running on HAOS on my rpi3. I'm using a CC2531 I had since earlier, if it comes to this stick simply not being good enough I'll get a new one. I have factory reset the lights both using the dimmer and using the bluetooth feature in the app and the lights blink just like they're supposed to. At first the bulb connected, but I then accidentally reset it again while attempting to reset the other light. It's still listed in the z2m configuration.yaml, I don't know if this is something that would cause problems. Now I can't get either of them to connect, and I'd love to hear if anybody has any troubleshooting steps for hue lights not connecting after factory resetting and permitting joining in z2m.
I don't think that having it hang around in the .yaml will cause you problems if you're re-adding it anyway.
Oh ok, good to know
Hue Motion Sensor (SML001) keeps losing connectivity
I have two philips hue lights (https://
Hi, I just got the Digi XBee module S2 and I downloaded the XCTU software and am trying to flash the firmware on it that can run it as a Zigbee router so I can add it to home assistant via ZHA (Sonoff USB ZB-dongle plus) for some while but I couldn't do it. Does anyone know how to do this?
I did use my connector with Z2M instead of ZHA to get an update for my Bosch valve. Afterwards the network configuration was wrong. I did use the backup and afterwards set the channel to 11, since that was recommended to me once. After reloading I got a message that also the NWK (network I guess) has change from 0 -> 1. The problem is that my Tuya valves don't seem to be able to join anymore now. Is it possible that some device only support NWK 0?
Does anyone come from smartthings? How is your zigbee network after migrating to HA and using what hardware?
When ZHA failed to start up and said that your network settings are inconsistent, did you restore the backup? Or did you manually change the channel?
I restored the backup once more now. @tropic depot told me to use channel 11 though. Anyway, channel 15 works as well.
I would first get your network to a state where it works by restoring the ZHA backup from before Z2M changed the adapter's network settings. If you want to migrate to channel 11, use the dedicated channel migration button within ZHA to do so.
I did all of this because I am having connectivity issues with my Bosch Thermostat 2. I know that a quirk is still missing for it (I want to write one actually), but that doesn't explain the connectivity issues.
Everything is already restored. Seems like the Tuya thermostats only support NWK 0
The NWK update ID is usually ignored
Maybe the Bosch Thermostat works better on NWK 1? Does that make sense?
Okay, then I guess not
The Bosch Thermostat stops responding after a while and I have take out and insert the batteries again
Can you download diagnostics for the ZHA integration and post a link to the JSON?
Sure
What does NWK stand for btw?
I can see that it is stepping through them when configuring
What exactly did it say?
I just reset the thing and it is still configuring
Let's start with the integration diagnostics for now. If you have interference issues that prevent new devices from joining, that would be the first thing to tackle.
No, that is solved
I did do a HA backup and aftewards a ZHA backup
Just the Bosch issue remains
The thing is: The conection was stable with Zigbee2MQTT. Wonder how that can be..
Z2M uses channel 11. If the connection is stable on channel 11 but is not stable on channel 15, it sounds like you have interference problems.
All other devices work well though
Here is my config http://ix.io/4L1u
Yeah, it is not looking good
55% congestion on channel 15 vs 34% on 11 so it's not that big of a difference but I would try migrating to channel 20 (what ZHA would pick if you leave the channel selection dialog on auto). Some devices can disconnect from the network if a quirk doesn't replicate the manufacturer's initialization process. Some others also only join on specific channels, but since yours is already on the network that probably isn't it either.
Why did David then say to use channel 11? Is it the most compatible?
Do I have to reload ZHA after switching channels?
You can reload the page, it'll show the new channel
Hmm, it looks like your device can only join with an install code present in the battery compartment
Yes, I already did that
It works, but afterwards the connection is not stable
I really want to write a quirk for it. Finally a Zigbee thermostat that can regulate the valve opening in %
Actually that endpoint is showing as not supported when downloading the diagnosis, but it works in Zigbee2MQTT
I also did not see a remapping of the endpoint the their integration
There's nothing that Z2M is doing as far as I can see with this device to get it to stay on the network, it's just a standard device with weird firmware quirks regarding attribute reporting. What parent router is your device picking?
hi! I'm using HA's SkyConnect zigbee dongle with ZHA, and I can't add a Tuya temperature sensor (TS0601 TZE200). the dialogs alternate between "The device is ready to use" and "Configuring". logs show that HA is retrying multiple times. all the while the sensor's led is still blinking
is there anything I can do to fix that problem?
running the latest HA stable by the way
Thought so too. Need to sleep. Will have a look tomorrow
logs go ```Considering <class 'zhaquirks.tuya.ts0601_sensor.TuyaTempHumiditySensor_Square'>
Fail because input cluster mismatch on at least one endpoint
is there a better place to get help with that problem?
well well what do you know, in the last hour I learned what custom ZHA quirks are, how to add one, and why the one I added would not work. it was all because the name was a slightly different random string of characters, and the quirk only knew of two other such strings
when I added the one from my device to the quirk’s file and restarted HA, the device suddenly reported its readings
now, it hasn’t updated since that restart a few minutes ago, but I’ll see if it works after a good night’s sleep I guess
ugh, it’s stuck and not working
So fun problem
I have many lights
Philips Hue, from when I used their bridge for things
Migrating them to HA to remove the second Zigbee network
Varying wattage. Some are brighter. Some are white, some are white ambiance
None of them are color
Some of the lights properly work like white balance, and respond
Some of them, however, show as color bulbs in HA, and respond to power and brightness, but not color changes
Can't change the color temp, cause it's like it thinks they're color bulbs. A few in question, in one room, they're all the exact same bulb, but some of them show as color bulbs, so they don't all respond to color changes
I've tried reconfiguring them to no avail. Thoughts?
Firmware and model number is identical between two lights (one shows properly, one does not), so it's not a firmware thing or anything
Apparently rebooting Home Assistant fixed that
Hello!
I recently moved to a bigger place and noticed that my end devices started falling off the network a lot. Been looking for the problem a little while and I think I narrowed it down to aquara sensors and my routers being 90% Ikea tradfri bulbs.
Is there any way I can make this work or is there any good alternatives to the aquara sensors (contact/door sensor and temperature)
Could well be interference problems, but also did you pair your end-devices to a nearby router, (good) or just let them pick (not good)
I paired them to a bulb that is less than a meter away
But they fall off less than an hour later
I did change the channel to 25 yesterday to see if that would help
25 is the least populated channel in my apartment, I will try some new batteries too
Thank you for now
whats the basic worksflow of upgrading firmware of a z-stack stick?
- download backup
- Flash stick
- use the migrate button to push the backup the the newly flashed stick?
No need to worry about backups, just check that the firmware doesn't have known problems and then flash it
(at least, no need to worry for Z2M, I assume ZHA's the same)
does anybody know, if this switch is compatible with zha? I used google, but I didn't find any informations about this switch https://ledonline.de/smart-home/zigbee-wandschalter/zigbee-wandschalter-4-zonen-funk-weiss/?channable=02a4de6964003335323537348b&gclid=Cj0KCQiAo7KqBhDhARIsAKhZ4ugZ1Vsm11n5ZHjIoHiaoouUG1UmknIyKFg-y_1ereCJoOWHKYzMg3QaArj2EALw_wcB
I have a ZBDongle-e that I wan't to chekc what firmware is installed on. Anyone know how to do that? I use Zigbee2MQTT if that helps
Go to the Z2M UI and then Settings -> About
Thanks. I tought I would have to open it up to fix it as I did when trying to update the FW.
Sadly I have updated the firmware, but still have the same problem with my Xiaomi smart switch.
Hello.I would like to get some help. I restored Z2M & MQTT Addon. Anyhow I did not added back the HA installation itself, Im using newer version, I thought somehow It should be possible to get back the Zigbee connected devices if I put back Z2M and MQTT backup.
In the Z2M Logs I see many known zigbee devices sending info, but as soon I start Z2M dashboard there is 0 devices.
When you restored it, did that actually restore database.db, coordinator_backup.json, etc?
anyone care to ping me about an usb stick flash possibly gone wrong?
i 'succesfully' flashed CC1352P2_CC2652P_launchpad_coordinator_20221226.hex
to a zigstar RF-star RF-BM-2652P2 CC2652P
Now it is 'not found by HA', as in ZHA integration errors. Also. The green and blue lights wont flash when plugged in
Hello, is here anyone with _TZE200_hue3yfsn Tuya TRV? When I have heat mode and switch to off, the valve is not fully closed and I need to set_current_heatpoint to 5°C to fully turn off heating. I have added it to via zigbee2mqtt.
Turning it off means it's not doing anything, leave it in heat mode
Yes that's what I want during nightime - exactly nothing
But that also means it won't close the valve further
Off means do nothing at all, not opening or closing
That's not exactly true, when I click on off, it automatically turn on heating_stop
Heating stop
Battery life can be prolonged by switching the heating off. To achieve this, the valve is closed fully. To activate the heating stop, the device display "HS", press the pair button to cancel.
But it leaves the valve a little bit opened so it continues heating
Ah yes, consistency across devices ... who'd want that 😄
Either it's a design decision or you've got a faulty device
I have two of these and both are doing exactly same thing
Double the tuya double the fun!
Very helpful comment ...
Ok
Tuya are well known for being a bit shit
Tuya's WiFi stuff is the exception though, it's mostly ||a lot shit||
Well the problem is not in that it can't fully close the valve, when I set temp to the lowest point (5°C), than it closes the valve fully
Either you have two faulty devices, or that this is just how they work
if i go shopping for a new USB stick. Which chipset is currently the most modern?
think i have killed mine today...
Cc2652p is fine you might’ve flashed the wrong fw or something. Repost your issue from last night
did all the right steps. Used Zigstar GW tool in windows.
plugged in stick: blue and green light flash once (as always)
1choose com port
2added hex file
3ticked Erase/Write/verify
4Tool starts to flash
5writing as seen in infobar down below
5tool says: All is OK. Restarting Zigbee
6 NO profit.....
Replugging stick in. No more blue and green lights flash>
I’d reflash with python method
Could be just a firmware issue? Problem is I don't have Tuya gateway and Zigbee2MQTT does not offer OTA and gets me an error
Possibly, if that's fixed in newer firmware and isn't a design choice
i was just investigating the python method
Any way how to check if I have latest firmware without Tuya gateway?
#zigbee-archived message this is also an option but I’ve never personally tried it
No idea I'm afraid
maybe i need a working stick first...?
Maybe
besides. When i LSUSB in proxmox it sees the stick. When i passthough to the VM, then i dont see the device with LSUSB in the VM
(the way its been running for ages)
Reading data from CC1352P2_CC2652P_launchpad_coordinator_20221226.hex
Your firmware looks like an Intel Hex file
Connecting to target...
CC1350 PG2.0 (7x7mm): 352KB Flash, 20KB SRAM, CCFG.BL_CONFIG at 0x00057FD8
Primary IEEE Address: 00:12:4B:00:22:98:1E:0D
Performing mass erase
Erasing all main bank flash sectors
Erase done
Writing 360448 bytes starting at address 0x00000000
Write 104 bytes at 0x00057F980
Write done
Verifying by comparing CRC32 calculations.
Verified (match: 0xa9dc145d)```
python flash output. still no go 😦
Any TRV's to recommend for reasonable price? I prefer zigbee2mqtt compatible.
Aqara E1
hey guys, i'm looking for some good zigbee temperature sensors - are the aqara ones any good or are there better options? i currently only have aqara door sensors so don't have much zigbee stuff going on
they're good. I have some, their price increased by a lot so I thought I'd get the cheaper Tuya ones. after all it's all zigbee 3.0 right. well now I regret not spending the money on the Aqara, because those just work
now I have lost what little money I saved, in lost free time
the hue motion sensors include a temperature and lux sensor and work very well. no added humidity tho
OK so I'm currently trying to swap over from an old Conbee II controller that was giving me issues to a Sonoff for my Zigbee2MQTT installation
I'm now getting a very unhelpful Zigbee2MQTT:error 2023-11-09 09:52:42: undefined error when I try to boot Z2M.
- I fully uninstalled and reinstalled Z2M
- I confirmed that my config file is pointing to the stick correctly
Is there somewhere I can find a more detailed error log or something?
for temp/humidity prob best bet is aqara zigbee 3.0 but if you're trying to be cheap the xaiomi bluetooth ones around $5 arent bad. there was links shared recently to flash them to zigbee but i havent done that myself (yet)
i think the motion sensor is a bit overkill, as is the price on them
especially when i'm just really looking for temp and aren't too upset if there's no humidity
but for the price, the aqaras seem pretty good overall
Bingo! proxmox doesnt do hotswapping USB 😆 🫣
pretty sure that's a motherboard / usb controller thing
its a server grade board, who knows....
glad its sorted within the timeframe before girlfriend come home hehe
thx for the help
I've got the OG and now the T1 Aqara temperature sensors, both work well
if it's old usb 2.0 ports on like an old dual xeon it very likely could not support hotswap. my server's old ass ports dont
cool
learned something today ;)\
you can add a pcie usb card that brings in that functionality if you just had to have it
but if you want to split the usb ports to passthru to multiple VMs or containers or whatever you'll have to buy an expensive one with multiple root hubs or some shit. i havent looked at that stuff in years
my server is just idling a lot of LXC containers and an HA VM. pretty basic
been looking at thinclients hehe. but where to store my 4 disks then. But thats something for another channel
Hi, I have a few smoke detectors in Z2M. I can selftest and mute the alarm there. I can also do that in HA via MQTT but the entitites are select. instead of buttons.
Is there an easy way to change that in Z2M?
we can move to #hardware-archived
imma go quickly now to re-pair some stuff before girl is home 😉
"during a smoke alarm it can be manually muted by up to 80 seconds" wow that sounds super safe
cyaz!
Resolved! I needed to add this to my config:
adapter: ezsp
Back again, changed the batteries in all of my sensors and paired them up. One of them was still connected. Looks like the others were alive for like 30-60 minutes and then went dead
There are no known compatibility issues between older Aqara and Tradfri routers. What integration are you using?
I have a ZBDongle-e that I'm trying to run Zigbee2MQTT on. I have some Mijia (Xiaomi) switches that disconnects after a few minutes, and I find an article on Google that updating the FW might help. What firmware should I update to? The article said 6.10.3 but I had the same problem. Tried 6.10.7 and still the same, but I see 7.3.1.0 on this site, is this for my dongle? https://github.com/xsp1989/zigbeeFirmware/tree/master/firmware/Zigbee3.0_Dongle-NoSigned/EZSP
I am using ZHA through a Skyconnect stick
Can you upload diagnostics for the ZHA integration?
The door sensor also exposes temperature doesn't it? 🤔 Mine needed a calibration of -9 to match the temperature sensor. (Also the temp from the door sensor updates very slowly with 1°C precision vs 0.1°C for the temp sensor)
ZBDongle-E fw 7.3.1.0 supported?
I have a Raspbee board for zigbee, and am considering changing it for the Sonoff Zigbee 3.0 dongle. Anyone have opinions on this? I have 42 zigbee devices in my home and it works, just seems like latency is an issue sometimes.
@summer mulch I converted your message into a file since it's above 15 lines :+1:
I have a bunch of aqara sensors, and they have a choice of IKEA bulbs, IKEA sockets, Tuya Sockets and a ZBDongle-E for routing. They never choose the bulbs, they like the IKEA sockets and the ZBDongle-E. Just going by what I see on my network map.
Hi everyone
Could you please help me with an error appearing with a zigbee lumi.motion.agl02 device? I'm not sure where to report the issue
oh my, i don't understand how to attach a file with logs
File "/usr/local/lib/python3.11/site-packages/zhaquirks/xiaomi/aqara/motion_agl02.py", line 36, in _update_attribute
self.endpoint.illuminance.illuminance_reported(value)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/zigpy/zcl/__init__.py", line 845, in __getattr__
raise AttributeError(f"No such command name: {name}")
AttributeError: No such command name: illuminance_reported
I use SONOFF Zigbee 3.0 USB Dongle Plus-E dongle
so home assistant server doesn't receive any updates from the device
On the zha-device-handlers repo, but I've already created a PR that should fix your issue: https://github.com/zigpy/zha-device-handlers/pull/2733
We still need a "Xiaomi attribute report" for this device to add proper tests though. Please do the following:
Enable debug logs for ZHA (on the integrations page), let the sensor idle for a time, and then trigger the sensor. Lastly, deactivate debug logs on the integrations page again. That should prompt you to download the entire HA log file. Please send me the whole file or the relevant snippet of the log file via Discord DM.
If you want to test the fix as a custom quirk, then download the modified (raw) file and install it as a custom quirk.
Hi guys,
I just deleted a zha climate device to factory reset it. Now, I reconnected it and gave it the same name as before.
Now, the device seems to be connected (I can see it's sensors and so on) but cannot really interact.
As I change the temperature on the device itself, the entity in zha gets updated with the new temperature, so it should be connected fine.
But when trying to change the temperature over HA, I get the message Failed to send request: Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>
I enabled the zha debug logs, where I can find the following lines:
Cannot migrate history for entity_id 'climate.d5x84yu_et093wro_thermostat' to 'climate.heating_2_thermostat' because the new entity_id is already in use
So, it might work just resetting again and giving the device a new name. But as this is a little uncomfortable and I assume there should be another way gettings this fixed: Any ideas?
<Status.MAC_NO_ACK: 233>
I think this is often due to signal level or interference - could there be new sources of wifi traffic, noise or shielding?
I had this error appear for most of my devices last week (after flashing new firmware on to my coordinator). It went away after I twisted the antenna back on more securely.
OK I'm at a total loss, so hopefully someone here will know the answer. I'm in the process of swapping from an old Conbee II controller to a Sonoff 3.0.
I've gotten it recognized, and Z2M boots up now without issue. Almost all of my light bulbs repaired without issue (struggling with Hue Blooms, but those were always finnicky for some reason, even on the old stick)
Big problem now is non bulb devices. In this case:
- 2 Hue Switches
- 1 Hue motion sensor
- 1 Smartthings Button
- 1 Aqara door sensor
The switches are what I'm trying to get now. I resett it/put it in pairing mode, and Z2M just has it join, start the interview, disconnect, reconnect, over and over until eventually the "Enable Join All" expires and it just says failed interview.
I don't think so... I didn't either changed anything but re-connecting that device.
How can I find how noisy the environment is and on which channel?
In Home Assistant > Settings > Devices & Services > Zigbee Home Automation > '...' menu > Download Diagnostics
That will offer you a .json.txt file to download. At the bottom you'll see a block of energy_scan information including the amount of noise/traffic/radio energy for each zigbee channel; higher numbers indicate more radio chatter in that channel
Remember that although Zigbee and WiFi spectrum overlaps the channel numbers are unrelated - Zigbee channel 11 is impacted by WiFi channel 1, and Zigbee channel 25 is just above WiFi channel 11. There's a helpful picture linked in one of the pinned threads in this channel I thnk.
Or, bluetooth or microwave ovens, wireless speakers, .... ??
Interesting update. One of the two switches connected. I literally just reset it over and over and over until it worked. Took probably 10 resets
How does Z2M know that there is a firmware update for a device in my network? Do the updates come with the monthly Z2M updates, or does it actively check for them on the internet?
Is there a Zigbee equivalent of this product?
https://www.amazon.com/Lutron-Wireless-Lighting-PD-3PCL-WH-Assistant/dp/B00KHSXB60?th=1
it doesn't have to have the buttons on it, but at least ability to dim
nevermind, i found some on black adder of course
does zha give me something like a device serial i can use to properly name the entity
hm the ieee number may do that
how would i even rename the device id
my aqara door sensors are just door sensors, not temperature sensors as well?
I've got one like this: https://www.zigbee2mqtt.io/devices/MCCGQ11LM.html
ahhh, i have this one https://www.zigbee2mqtt.io/devices/MCCGQ14LM.html
oh interesting the zigbee 3.0 one removed the temp
cool it says it's 64F in my mailbox (prob off a bit cuz of the device itself)
yeah, weird why they did that
Yeah I have one on my bedroom door and the device temperature is definitely off from what the room actually is.
Ya but if it’s predicable you can just add an offset
I have 4 hue led strips connected via z2m. Yesterday I tried updating them, and the update state has been "installing" for at least 20 hours. If I look at the device in z2m, the update state is "available" and there is no indication that the devices think they're updating. I've restarted home assistant since those updates started, and those updates just keep spinning. How can I make these updates actually occur? @mellow geode
Can you check what firmware image they're requesting and what firmware version they are on? (also in OTA image request)
I can see if they require an intermediate version then
yeah "update": {
"installed_version": 16785410,
"latest_version": 16785412,
"state": "available"
Can you also find the image type (id)?
Hue does it for some older devices
Where can I find that?
Not sure, since I'm not using Z2M. Might be in some kind of logs. It's either 287 or 288 for your device
ok, I'll see if I can find it
Is this a new Hue Go or some other device? edit: you said LED strips of course
in z2m i dont see anything labeled image type
we have device type router but.. lol
can it be looked up by the IEEE?
Okay, there are no intermediate updates for the device.
It's somewhere in the logs if an OTA image notify is sent to the device
No
I'm not sure why the update isn't installing then. Check Z2M logs and maybe restart it
Ok. I was able to clear away the updating states by deleting the persistent topics on the mqtt broker of the form 'homeassistant/update/<IEEE Address>/update/config'
this is what those topics contained, in case it's interesting for any reason:
{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/Kitchen Counter West/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","command_topic":"zigbee2mqtt/bridge/request/device/ota_update/update","device":{"identifiers":["zigbee2mqtt_0x0017880109449a57"],"manufacturer":"Philips","model":"Hue white and color ambiance LightStrip plus (8718699703424)","name":"Kitchen Counter West","sw_version":"1.104.2"},"device_class":"firmware","entity_category":"config","entity_picture":"https://github.com/Koenkk/zigbee2mqtt/raw/master/images/logo.png","json_attributes_template":"{\"in_progress\": \"{{ value_json['update']['state'] == 'updating' }}\"}","json_attributes_topic":"zigbee2mqtt/Kitchen Counter West","latest_version_template":"{{ value_json['update']['latest_version'] }}","latest_version_topic":"zigbee2mqtt/Kitchen Counter West","name":null,"object_id":"kitchen_counter_west","origin":{"name":"Zigbee2MQTT","sw":"1.33.2","url":"https://www.zigbee2mqtt.io"},"payload_install":"{\"id\": \"0x0017880109449a57\"}","state_topic":"zigbee2mqtt/Kitchen Counter West","unique_id":"0x0017880109449a57_update_zigbee2mqtt","value_template":"{{ value_json['update']['installed_version'] }}"}
I'm trying to solve the same problem and was able to clear the update the same way. But after a restart the update just started again. Did you find out how to permanently stop it from appearing?
Oh, I haven't restarted. So I don't know. I can check a bit later
Restarting home assistant did not cause the upgrades to reappear
Hello everyone. I was wondering if anyone else has encountered the same issue I am currently trying to wrap my head around.
I have couple Aqara TRVs installed via ZHA and I noticed the current temperature reading is initialized (upon adding or HA restart) correctly with 0.1 precision, but then it only changes with increments of 1 degree. I tried to investigate in zha source yesterday, but it was already late so I didnt get very far.
In attached image you can see how the entity reading jumps by a degree except for the change at around 22:00 where I restarted HA.
https://drive.google.com/file/d/1w16h9BDnzaAqL3i7yrnkvBy8rJP-aP90/view?usp=sharing
Did you restart just Z2M or HA completely?
I restarted HA
Interesting. That's not the case on my system.
However, I tried to also delete homeassistant/binary_sensor/<IEEE Address>/update_available/config and that seems to do the trick. After the restart, the update does not show up again so far.
Hey! I am (Soon) hoping to be HA user as i got annoyed by having 3+ apps for all the products.
I am able to get Home assistant Green in about 2 week time. Should i buy SkyConnect (The blue stick) or should i buy Sonoff Plus E stick instead, since most of my things are Zigbee?
(I'm sorry if this is not the correct place for questions like this)
And which one is more stable - ZHA or Zigbee2mqtt?
Does anyone have a blueprint for the IKEA Styrbar remote that works well?
I found a couple that are either outdated or just don't work
If you plan to use IKEA Products, I recommend Zigbee2mqtt. I did not get ZHA to work reliably with battery powered IKEA devices (motion sensors).
I am using the SkyConnect on a HA Yellow
as for now, i have 4 temperature sensors, radiator smart valves and smart plugs from aqara, Some philips hue devices and also some Google home devices. Ideally, everything would be in Home assistant in the end, so instead of telling people that live with me to use 3 different apps, they could use just 1
Aqara devices seem to have the same issues as Ikea devices in ZHA, so i suppose zigbee2mqtt is the best bet for my use case
I am up for any suggestions on what would be preferred in this instance
I read, that some people were having issues with SkyConnect in general, as can be seen here https://www.reddit.com/r/homeassistant/comments/10mz3jp/terrible_experience_with_skyconnect/.
Any issues on your end with it? And are you using it dirrectly in yellow, or do you run extender cable?
I had no trouble with the SkyConnect yet myself. And at least some of the online rants are due to user error - like using all kinds of HAOS add-ons with it, thus installing other firmware which didn't work with the solution they tried to archieve.
An extender cable is always recommended
Thank you. This Sonoff 3.0 dongle looks exactly the same as Skyconnect though https://mediarath.de/en/products/sonoff-zigbee-3-0-usb-dongle-plus-zbdongle-e-zigbee2mqtt-zha-matter-thread-home-assistant-skyconnect
Since it's cheaper (about 15 EUR) or 16 freedom dollars, should i just go with Sonoff in this case?
If I remember correctly, the Sonoff Dongle Plus E has not been recommended here.
I see, so skyconnect is the way to go
Can i use both ZHA and 2mqtt or do i have to choose (apologies if it's a bad question, just have been trying to do some digging for 2 weeks now, and it's like a whole new world)
I'd wait for some of the people, who are more into the coordinator stuff. They might have a good alternative for you.
Thank you!
You can use one coordinator with one Zigbee integration. If you need or want to use another integration too, you would need a second coordinator. But that might open another can of worms.
I want a Home Assistant action to send a Zigbee "commandOnWithTimedOff" to turn on my porch light for two minutes.
I'm trying to bind a IKEA Styrbar remote to a Zigbee light group via ZHA, the pairing button says success but the remote is not turning the lights on/off, does anyone know why this might happen?
Does it help if you try to keep the remote "awake" (by pressing a button over and over) while you are saving the binding?
It did not, but I found a post on Google that apparently IKEA remotes cannot be binded to Zigbee groups anymore
So I binded them to each individual bulb in a fixture and that did the trick
Hey all, I'm running ZHA on my Home Assitant VM running on VMWare Workstation w/ a USB passthrough Sonoff 3.0 dongle.
It worked great for months, but sometime over the last month it stopped showing up
FileNotFoundError: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_...if00'
Something that complicates the "What changed" question is I have so few Zigbee devices, I'm not sure when it broke, so I'm having a tough time correlating changes to when it stopped working.
I validated that Workstation was passing the device through... and eventually got it working by going Configure -> Migrate Radio -> Reconfigure -> select /dev/serial/by-id/usb-1a86_USB_Single_Serial_#######-if00 -> Keep radio settings
Noting that it looks like it's being presented differently from Windows -> VMWare Workstation -> Home Assistant... I assume this may have been something on the Windows or VMWare Workstation level that changed this?
None the less, every time Home Assistant reboots I have to manually repoint this now. Any pointers on where to make a change permanently?
Are the two serial port paths identical?
They're not, sorry about the wall of text above. I'm thinking it was a VMWare Workstation upgrade that may have changed it.
'/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_...if00'
vs
/dev/serial/by-id/usb-1a86_USB_Single_Serial_#######-if00
The bottom one looks like what happens if the USB chip can't be queried properly, since it is what provides ITEAD and SONOFF Zigbee 3.0 USB Dongle Plus V2
I think it's using a CH340 USB-serial chip. Perhaps there's an incompatibility somewhere? One workaround is to move the dongle to a Raspberry Pi or another computer and expose it over TCP with ser2net. That will let you connect to socket://ip.addr:port from ZHA, which bypasses USB passthrough.
That sounds likely, considering "what's changed" on my host and not knowing when it broke. Thanks
(Add/Remove programs shows I updated to VMW 17.5 build 22583795 on 2nd of Nov, so even more likely)
Just looping back to this, could someone tell me, what are the differences, if any, between skyconnect and Sonoff 3.0 Plus E (In the link)?
Differences in what sense? Hardware? Software? Firmware?
Usecases for a new HA user, who would be getting HA Green
SkyConnect has first-party support within Home Assistant Core and is directly supported for automatic firmware flashing with addons you can find in the Addon store, works directly with multiprotocol migration, and so on
Sonoff-E uses the same chip but you'd have to manually do the above things if you use it
I see, so SkyConnect is the preferred choice for new users. Thank you!
Not necessarily
Tube makes an efr32 based PoE coordinator that does all the same things as above and can be centrally located regardless of where home assistant lives in your house
And as much as we don’t have definitive evidence, I’ve seen enough people having issues with a skyconnect then moving back to old dongle and issues disappear that I can’t personally recommend them.
But with that being said I’m not convinced it’s the skyconnect vs every efr32 coordinator and bug(s) that haven’t been found yet
So in some eyes, a cc2652p based coordinator is actually a better option.
If you're getting started with a Green, I doubt you'll have issues with either one. You can always switch after the fact.
Haven't seen this being sold in my area (Eastern Europe). I am already being forced to get HA green as a delivery from Germany 😄
It is shipped worldwide by @molten linden
Switching yes, but would rather prefer having the least issues from the get-go
You weren’t forced to buy a low powered SBC- a lot of us actually recommend against it.
Haven't bought yet anything, as i am trying to figure out the best approach for first time user
There’s a plethora of prior discussions on it in this server if you want to search around
If I were in your shoes or was suggesting something stable and somewhat future proof I’d have you buy an n100 based newer mini pc or older cheaper used mini pc such as an m910q. Then Id have you buy https://tubeszb.com/product/cc2652p7-zigbee-to-poe-coordinator-2023/ and use Zigbee2mqtt. ZHA will work perfectly fine with it as well.
Has SkyConnect been tested at all on HA Core? I picked one up, plugged in it, confirmed my machine can see it via lsusb, etc. HA picks it up and offers the integration, but when I click it, it immediately fails with Failed to probe the usb device.
The System > Logs screen shows no logs whatsoever when this happens - is there another place that logs would be stored so I can find out what's happening?
I could also try this with ZHA, but I've read that it may not work on SkyConnect without flashing it to Zigbee-only first (which I'd rather not do).
Of course. When you mention "without flashing to Zigbee-only", do you mean that you flashed it with multi-PAN firmware?
I did not, I have whatever they shipped from the factory. Maybe that one is already not multi-PAN?
It does not ship with the experimental multi-PAN firmware, it ships with Zigbee firmware
Okay good to know. Should I try setting it up with ZHA instead of the SkyConnect inetgration? Really not sure what's wrong, the logs have nothing.
They're the same thing. Do you have another Zigbee integration running that could be interfering? What hardware are you running HA OS on?
I have no existing Zigbee integration today.
Hardware is a machine I built, mid-tower PC running Arch Linux. I have HA + a ZwaveJS integration running just fine with an Aeotec stick as well.
I see both the Aeotec stick and SkyConnect in lsusb, and they both have IDs in by-id:
# lsusb | grep -i 'labs'
Bus 004 Device 004: ID 10c4:ea60 Silicon Labs CP210x UART Bridge
Bus 006 Device 002: ID 10c4:ea60 Silicon Labs CP210x UART Bridge
# ls -l /dev/serial/by-id
total 0
lrwxrwxrwx 1 root root 13 Nov 10 00:57 usb-Nabu_Casa_SkyConnect_v1.0_5c0b9a5f1bb7ed11b4289c5938a92db5-if00-port0 -> ../../ttyUSB0
lrwxrwxrwx 1 root root 13 Nov 10 00:51 usb-Silicon_Labs_CP2102N_USB_to_UART_Bridge_Controller_7c48c2893985ed11ad29cd9f9d1cc348-if00-port0 -> ../../ttyUSB1
How are you running Home Assistant?
It's Home Assistant Core, just installed directly into the OS.
I realize that's the most pain in the ass way to do things, but I'm generally pretty comfortable with bare OS installs of things.
Enable debug logging for the ZHA integration (https://www.home-assistant.io/integrations/zha/#debug-logging) and see what the probing failure is
I've thought about moving to the container, but before this Zigbee stick snafu, everything's been working great.
Thanks, let me give that a try.
Most likely a permission problem with accessing the serial port
I thought so too - but the perms are the same with the Aeotec stick so I'm not sure why this would be different. Let me enable debug logging.
You are 100% correct @austere patio. 🙂
File "/var/lib/hass/.venv/lib/python3.11/site-packages/serial/serialposix.py", line 325, in open
raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
serial.serialutil.SerialException: [Errno 13] could not open port /dev/serial/by-id/usb-Nabu_Casa_SkyConnect_v1.0_5c0b9a5f1bb7ed11b4289c5938a92db5-if00-port0: [Errno 13] Permission denied: '/dev/serial/by-id/usb-Nabu_Casa_SkyConnect_v1.0_5c0b9a5f1bb7ed11b4289c5938a92db5-if00-port0'
2023-11-10 11:11:04.471 DEBUG (MainThread) [zigpy.serial] Opening a serial connection to '/dev/serial/by-id/usb-Nabu_Casa_SkyConnect_v1.0_5c0b9a5f1bb7ed11b4289c5938a92db5-if00-port0' (57600 baudrate)
2023-11-10 11:11:04.472 DEBUG (MainThread) [bellows.ezsp] Unsuccessful radio probe of '/dev/serial/by-id/usb-Nabu_Casa_SkyConnect_v1.0_5c0b9a5f1bb7ed11b4289c5938a92db5-if00-port0' port
Traceback (most recent call last):
File "/var/lib/hass/.venv/lib/python3.11/site-packages/serial/serialposix.py", line 322, in open
self.fd = os.open(self.portstr, os.O_RDWR | os.O_NOCTTY | os.O_NONBLOCK)
Since this is a tty device, I suspect the user running HA would need to be in the uucp group, but the SystemD file for HA Core uses Dynamic Users, so I'll have to figure out the right way to do that. Thanks! I'll report back if I can't figure it out.
Also found out why ZwaveJS works and not this - it's in docker, running as a user that IS in uucp.
@mint flume I converted your message into a file since it's above 15 lines :+1:
Created configuration for SkyConnect v1.0.
We found the following devices:
Zigbee Coordinator
EZSP = Silicon Labs EmberZNet protocol: Elelabs, HUSBZB-1, Telegesis (ZHA)
🎉 🎉 🎉
@austere patio could you reformat that above and then pin it? might be useful for others in the future
I doubt many people run HA Core directly 😄
Hi, I just got the Digi XBee module S2 and I downloaded the XCTU software and am trying to flash the firmware on it that can run it as a Zigbee router so I can add it to home assistant via ZHA (Sonoff USB ZB-dongle plus) for some while but I couldn't do it. Does anyone know how to do this?
You probably have to manually program in the network settings for your ZHA network with XCTU
And switch it to router mode with XCTU
