#zigbee-archived
1 messages ยท Page 27 of 1
No, it should work fine with that. Can you confirm that the USB port is functional? Does the SkyConnect show up when plugged into another computer?
that is the first thing I should have tried... one second
yep, I see SkyConnect v1.0 on my windows 11 machine
and I am using the usb extension as the documentation recommends
For connecting it to both machines?
correct
just tried both, it registers with and without on the w11 machine
and nothing with or without on the HASSIO machine
I see a ttyUSB for the sonoff
Just added my first Zigbee device (Phillips Hue bulb) to my Home Assistant Skyconnect with Zigbee2MQTT
man I love this
Exact same USB port?
other side of the machine, assuming a different usb hub on the system board
aeotec gen 5 controller
tried 2 open usbs
one on one side, one on the other
Try it in a known-good USB port used by an existing device, to rule out hardware failure. I think Z-Wave JS can reconnect without issues.
testing now
no luck
I have the terminal add on, anything you can think of I can try there?
looking at assinged ports, I don't see anything for it
what files do you need to back up ZHA if I need to blow away HA and start anew.
The network backups and device cache is in zigbee.db
I have a lot of orphaned entities from ha os etc
But it won't store HA-specific customization, only the fact that a device exists on your network with a given model/manufacturer name and some info about capabilities
Everything else is in .storage
might move to ZHA later once matter is up and running
I was following the steps at https://github.com/zigpy/zigpy/wiki/OTA-Device-Firmware-Updates to do a forced OTA update, but the UI it mentions has required parameters manufacturer_code, image_type, and new_file_version. The documentation doesn't mention this. Does anyone know how to get those values?
Set the payload type to 0, the jitter to 100, and 0 for everything else. You should be able to issue this command from the clusters UI in the device management page.
Yup that's where I am, just wasn't sure what to set for those values. Thanks!
Good to know! If I'm migrating from a Conbee II coordinator stick to the SkyConnect coordinator, I imagine I'll need to repair all my devices as a new ZHA network since the chipset is different between the Conbee II and SkyConnect?
Nope, the migration is stack-agnostic
Make sure to upgrade your Conbee to the latest firmware before migrating though. Otherwise a critical piece of info will not leave the Conbee and you may have issues controlling devices until they're rebooted.
argh didn't notice the OTA update logs are set to debug level. I assume if it fails I'll get a log message at least?
You should be able to enable debug logging from the integrations page, in a dropdown menu
What device are you updating that requires all this effort?
Does anyone recall if zha can stop end devices from connecting directly and for them all to use a router? I thought I read it can but i can't find the webpage
An Innr receptacle. I have 2, one seems to drop of the network sometimes. The other is flawless. Noticed the flawless one is on a much newer firmware
I set that, but that just sets zha to debug, not zigpy, right?
It should set everything related to ZHA to debug
well then not seeing any logs. I'll give it some time. Thanks for the help
You may have to either manually tail the home-assistant.log file, or disable it and look at the downloaded file
that worked, thanks!
Getting OTA better integrated into the frontend is a priority so in the future it'll be less involved ๐
that's be great. I use zwave a lot more. A bit more seamless there ๐
For sure, they do amazing work
Manโฆ migrating my hue stuff to Skyconnect is soo fast
i wouldnt call zwave updates seamless lol
Anyone got any tips to prevent Hue sensors from dropping off SkyConnect? And is there any way to get them to re-join without needing to go and reset them every time?
Have a mix of Hue Bulbs and Ikea sockets as repeaters.
What model of Hue sensor are you using? (SML00x)
Look to all be SML001
Wish I was having your luck right now. Can't seem to get my devices moved over to a new network w/ a SkyConnect & ZHA.
Oh, you're on Z2M w/ SkyConnect? Thought support was experimental.
Use --baudrate 115200 ezsp instead of znp
It depends on your specific environment but usually one of 15, 20, or 25
What are you moving them from?
@austere patio โ Appreciate all of your help, but I'm gonna have to take a look at this tomorrow. It's very late here. Sadly I have made no progress by the end of the night. Haven't been able to connect a single Zigbee device ๐ฆ Also tried restoring my entire HA install back to a full-backup, and none of my Zigbee network is working. So sad.
If you're trying to migrate devices from another network and are having issues, feel free to ping me when you start again
Maybe I'll try approaching it fresh tomorrow. Not sure exactly where to begin, if I should start with my new SkyConnect adapter and set up Z2M or ZHA. Or start with my Conbee II stick and a fresh install of the Z2M addon. Whatever I did I bonked my entire Zigbee network.
I appreciate it!
At this point I'm just wondering if it'd be best to try and start fresh.
If you're starting anew, I'd stay away from the Conbee. But it's unusual to have to do that, Z2M should have network backups, ZHA definitely does, so if you haven't rejoined many devices, your "old" network should still be there
Still would prefer to use ZHA just because it's a bit more integrated into HA, but based on Blakadder's device compatibility matrixes, it would seem I have a good handful of devices that are not compatible yet with ZHA.
So you'd recommend going with the SkyConnect?
SkyConnect + Z2M?
His database is built from user submissions for "it works for me". Unless you have a ton of Tuya devices (i.e. while label ones with randomly generated manufacturer names), they'll likely work with ZHA.
Z2M has a whitelist (and how many devices automatically end up in the Blakadder database), ZHA does not, so devices that work with the former (that aren't Tuya) will likely work with the latter without issues
Hmm ok
I'll have to take another crack at it tomorrow then. Really appreciate the help puddly!
No worries. I'm obviously biased in working on ZHA/its libraries so use what you prefer but if the SkyConnect specifically is not working (and it's not environmental issues like USB 3.0 ports, nearby SSDs, channel issues, etc.), that's something that should be looked into ๐
I think it's odd though that like I even tried removing Z2M add-on completely. Reset a single Philips Hue bulb via Hue dimmer remote, then configured ZHA with my SkyConnect coordinator and put it in pairing mode, then flipped the Hue bulb on and searched multiple times but it doesn't connect to the coordinator.
Tried a handful of other bulbs as well that should work and those don't connect either.
I would love to use ZHA/its libraries.
Try the channel suggestion I made above. Other than the default channel choice (or Z2M's hard-coded defaults, which you say you aren't using), there should be zero difference between how the two integrations handle joining devices
What would be the process you'd suggest if I want to start from scratch, other than a fresh HA install. (I have a lot of other configurations set up in HA.)
Could you please elaborate?
I can send you my configs
If you are already using Z2M and want to migrate to ZHA, move your existing coordinator and then use the migration feature to move to the new coordinator. If not, ZHA's channel config is only used when setting up a new network (https://www.home-assistant.io/integrations/zha/#defining-zigbee-channel-to-use) so make sure to set it to 25 and then click the "form a new network" option in the config flow
I can try this, only thing is none of my Zigbee devices are working since I've reverted back to my HA backup. Have tried restarting both HA and my RPi a few times. Can confirm that the Z2M add-on and Mosquitto add-ons are running. Also can see my switches as toggle-able in the Lovelace front-end. Controlling them does nothing. If I try and toggle a light for instance directly within Z2M, I get this message:
Publish 'set' 'color_temp' to 'Kitchen Hanging Pendant Light' failed: 'Error: Command 0x001788010320c27e/11 lightingColorCtrl.moveToColorTemp({"colortemp":500,"transtime":450}, {"sendWhen":"immediate","timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (no response received)'
Literally like no Zigbee devices is responding on my network.
(This is still using the Conbee adapter...was just trying to revert back everything to exactly the way it was tonight)
The Conbee "not working" is not surprising so give it a few minutes after a reboot. I'm also not 100% sure that Z2M actually restores backups to the Conbee so make sure that its network settings match what's in your config file.
Ugh haha. I'll have to take a look tomorrow. Can hardly keep my eyes open. Guess I'm gonna be unscrewing some bulbs & flipping some switches to get everything off for at least the night. ๐
I'll give it another go tomorrow.
Thanks again puddly, seriously!
No worries, especially since nothing is working ๐
I'll message ya tomorrow once I can look at things with fresh eyes and hopefully a clear mind.
One of my Hue motion sensors (SML001) keeps dropping off my network, but only one of them. How would I go about finding out the cause for it?
Is it trying to re-mesh and failing?
@tiny timber you could check if the firmware versions match
They do match.
Just did before moving them from Hue to ZHA on SkyConnect.
do you have any router devices connected? if so, you could try connecting the motion sensor via that device
instead of pairing it with the coordinator directly
Yes, bulbs and sockets. I believe I did pair it with the closest socket originally.
if you've got any bulbs that are never unpowered, try one of those
Why would a bulb be better than a socket?
depends on a few factors I guess, manufacturer is one
Sockets are Ikea, bulbs are Hue - so might be better comms Hue -> Hue I guess.
Can't hurt to try ๐
that's what I was thinking
Alright, so very interesting results. It will only interview directly with the coordinator which is downstairs which explains the dropping off the network.
But more importantly, why would it only interview directly with the coordinator?
no idea sorry, wait until one of the devs see it, they might know
Thanks for debugging with me anyway. Got some interesting results!
hey. are there any din-mounted raspberries with onboard zigbee?
short version (long version with details being typed into notepad):
using zigbee2mqtt as an HA add-on, I have a door sensor that I want to invert contact detection for. in HA /config/zigbee2mqtt/configuration.yaml I am setting payload_on/off; changes I make here appear in the zigbee2mqtt device but these two settings are being overridden by something (the device class?)
how do I invert the sensor using payload_on/payload_off?
is there an easy way to migrate zha to z2m?
MY zigbee switch is no longer working. it halts on starting interview when i want to reconnect it.
Hey all I'm a little confused if the new Aqara Cube T1 Pro is an improvement over the older cube in terms of functionality. Anybody know ? Thanks
I'm about to migrate everything from ZHA -> MQTT. So I disabled ZHA, and I'm now installing mosquito, etc. That should work right? I don't need to delete the ZHA integration?
You probably do want to remove it, but I don't think it's necessary
it has labeled sides and a led light on face one right?
otherwise functionality is similar or the same i think. maybe newer chip or sensors?
I'm wondering if it's related, but when I try to install the MQTT integration, it doesn't "automatically" see the mosquito service, and then I try to configure it, it asks for the broker name, etc.
That's not related
i have 3x of the non pro cube and like them a lot. i use the blueprint made by whatarewefixing today to add triggers
AFAIK the MQTT integration is only set up automatically if you're using the Mosquitto add-on
All the tutorials show different screens than mine, might simply be older HASS version
Yup, using mosquito
Well, any video over a week old risks being outdated
True, it's amazing how quickly HA develops
isnt this expected behavior?
addon = container to run the mqtt broker. integration = wants details to integrate with said broker
No it seems with mosquito it should automatically find the broker and configure.
Some add-ons auto configure the related integration
I tried adding the hostname manually, got an error with no explanation
What host name did you use? The docs for the add-on specify the host name
It also doesn't auto discover the MQTT integration, only my ZHA integration with the conbee stick listed. Maybe I'm supposed to remove that first somehow?
core-mosquito (I can see it in the mosquito config listed there)
It just says "failed to connect"
Is the mosquitto add-on running? Try setting its log level to debug and seeing what its logs say
Trying the debug, it is running.
Or it was, until HASS crashed... hard reset I guess...
What machine are you running on? Crashing sounds like a problem with running out of memory
Rpi4 8GB. Never had a crash before, and I have like 20 devices max.
been monitoring memory closely and never even got close
8GB should be enough. Are you running on a micro SD or SSD?
Was hoping so ๐
One day might look at a NUC if I want to do something like frigate, but for the foreseeable future this should o
Yeah I'll have to see which blueprints I'm using but I too have three of the old ones and they work pretty well with the exceptional warning in the logs when I try to rotate the cube but I think that's just a blueprint issue. Hardware why sounds like there isn't much of a major Improvement
that actually is a blueprint issue and was fixed recently
RIght, so have debug turned on for the add-on, but nothing in the logs there.
Interesting how do you update blueprints?
s6-rc: info: service legacy-services successfully started
[18:27:22] INFO: Successfully send discovery information to Home Assistant.
[18:27:23] INFO: Successfully send service information to the Supervisor.
i believe you delete and add the new one.. no updates
Not even when you add the integration?
nope
Nothing in the HA core or supervisor logs either?
Okay I'll do that thanks very much but I guess that means I'll have to redo all my triggers? And automations
How do I get to those in an easy way. Until now I've been using the studio code thing, but that's of course not a simple way
If I go co config/logs then I see some logs there, for core I see nothing related to mQTT or ZHA. Only a bunch of automations that currently don't work because my zigbee devices are gone ::
i'm sure there's a way to copy/paste or something- maybe explained in the thread or you can ask the guy
or ask in #blueprints-archived (he frequents there)
Thanks again will do
See the bot message I just posted
It's under settings ๐
Ahhh found something... Interesting...
23-01-15 18:37:34 ERROR (MainThread) [supervisor.services.modules.mqtt] There is already a MQTT service in use from core_mosquitto
Interesting, and not something I'm familiar with I'm afraid!
In devices it keeps auto discovering the Conbee. Is that ok, is that coming from the conbee stick? I'm guessing that's HA trying to use ZHA?
Yes, you can use the
to ignore it.
@raven jewel should I ask the question here again or just continue? (ref: zigbee id: light vs fan)
I'd go to #zigbee-archived as Tinkerer suggested ๐
Ask again, not everybody is in every channel ๐
Also... provide the information I said you should provide ๐
This is the #zigbee-archived isn't it?
Indeed I was
mosquitto has 2 t's.... ๐คฆโโ๏ธ
Sorry.
Hi, IFor a Zigbee switch HA automatically generated the entity id to: light.tz3000_46t1rvdu_ts0001_light.
Can I change the domain and automatically added suffix (both = light) to fan maybe to something like: fan.tz3000_46t1rvdu_ts0001_fan, or just: light.tz3000_46t1rvdu_ts0001_fan?
Using ZHA, I have a zigbee mini smart switch controlling a regular bathroom light switch that turns a bathroom fan on/off (no light).
I hope this is the right channel/thread since this seems to be more HA related than zigbee.
Ok, I'll look into the link and the suggestions given to me in the 'General' channel by you both. Thanks again.
Haha never heard that one before, good one, and indeed, user error.
Something I can't seem to easily find. DO I need to do something to "connect" my conbee stick, or can I just start adding devices and HA already gets that the stick is involved?
Well as you're using MQTT I presume you want to use Zigbee2MQTT, you just need to tell Z2M the path for the stick (use the serial ID one), and pair things with that
Yeah, if you're using Zigbee2MQTT HA doesn't have any involvement
Indeed, want to use z2m, but I'm kindof lost on the next step to start configuring.
Once you add the devices to Z2M, assuming you configured MQTT in Z2M correctly the devices will just show up in HA
Yeah, it's where to add the stick that I'm struggling with. Going through the docs again now.
Do you have the path for the stick already?
through dmesg you mean?
I mean something like /dev/serial/by-id/usb-Silicon_Labs_HubZ_Smart_Home_Controller_C0F003D3-if01-port0
Settings > System > Hardware >
> All Hardware is where you'll find that ๐
Got it now ๐
Thanks
So yes, I have the path
Device path, and Device ID (one including the whole device name with serial number, etc) and one simply ttyACM1
You want the whole one with the serial. Otherwise when you reboot the host the other one might change ๐
https://github.com/zigbee2mqtt/hassio-zigbee2mqtt#installation
This should help!
Ahhhh I was still missing the z2m addon
Well that's a bit of a hurdle, but at least you're on the right path now ๐
Whoo! Thanks!
Got it working
Congrats!
Hey just a heads up before pairing devices you might want to prep a little @ember raven
Choosing the correct zigbee channel, changing network keys, pan id, and extended pan id
All require re-pairing all devices after changing them so best to do it now
Btw is this something we could get added as a pin @carmine hamlet ?
Itโs pretty useful for any z2m user
Thank you both. The link was the ticket. I replied to myself so as not to tag anyone. Now I understand zigbee a little better.
Is it correct that if I add a router later than an end-device, that end device will never connect through it? I assume not right>?
Well, maybe
It depends entirely on the end devices, some will, some won't
Zigbee 3.0 devices should, Zigbee 1.2 devices from Xiaomi almost certainly won't, others ... may
tinkerer thoughts on pinning information above?
Ah thanks
Which information?
[12:39 PM]Hmoney007: Choosing the correct zigbee channel, changing network keys, pan id, and extended pan id
[12:40 PM]Hmoney007: All require re-pairing all devices after changing them so best to do it now
[12:41 PM]Hmoney007: Btw is this something we could get added as a pin @RobC ?
[12:41 PM]Hmoney007: Itโs pretty useful for any z2m user```
i can summarize it and condense into a single comment
Yeah, I'll steal some other content from another Discord too
ok thanks
digiblur has a video on it discussing why and how to change it if you want to link that in the pin (for people who want video guides)
https://www.youtube.com/watch?v=L9lC0Mse0K4 webui in z2m hasnt changed since release of the video AFAIK
If you're setting up Zigbee2MQTT then:
- Upgrade your CC2652 to the latest firmware
- Plug it into a USB extension cable (USB 2.0 cable or USB 2.0 port, not a USB 3.0 cable in a USB 3.0 port) - see this video for why. The manufacturers of the ConBee range recommend this too, and you can read more about it in this whitepaper
- Do not use the default network channel (as of 1.33.x the key, and panID/extendedPanID are auto-generated)
- Take the time now to find a good Zigbee channel (and where possible use a ZLL channel - one of 15, 20, or 25)
For those of you that love your videos, see DigiBlur's video
Thank you
I have a quick zigbee2mqtt question. I have a Hue dimmer switch and a Hue lightstrip. How do I pair them together? Via automations in HA? How would I do a long-press for dim-up/down? Thx for suggestions ๐ Same question again afterwards with an IKEA dimmer-puck-thing and an IKEA bulb... but I guess the procedure will be the same then ๐
Deconz used to have a seperate menu for that... maybe zigbee2mqtt has it as well an I am just blind
Fwiw I created a GitHub issue on z2m repo asking for these defaults not to be static across all installs and it was closed by the owner
So I guess it isnโt important to him
https://epmatt.github.io/awesome-ha-blueprints/docs/blueprints/controllers/philips_324131092621/ this blueprint for the hue and he has another similar one for the ikea dimmer remotes works great along with the "light hook" one as well
otherwise you can technically diy it all with automations and helpers but this is the simple way
Awesome... thanks!
But so I need to configure every button, right? so light.turn_on and light.turn_off basically? Do you also know how to use the value stored for brightness?
Cause in zigbee2mqtt i have seen it in the payload at least..
Probably because there's the GENERATE option
Itโs not supported in haos per the documentation and thatโs only for network keys iirc
It works for panID too
Cool
As for the add-on version,maybe it's a limitation of that platform
Leaving it up to the end user to change these and leaving them at defaults is the least secure option possible
Puddly doesnโt have ZHA do this.
So submit a PR to Z2M ๐
I did and it got closed I said it above
Well I opened an issue to get feedback from the dev first
Just to have the example use GENERATE?
I know I suggested a while back that the default config didn't use (channel) 11, but that went nowhere
I have some Aqara (Xiaomi) sensors. Suggest that I directly bind them to the closest router, or is it enough to add them to the coordinator as long as the routers are already connected?
Zigbee 1.2 or 3.0?
Their Zigbee 1.2 stuff pairs to the first device it hears from... you probably don't want that
How do I see? It's this device: https://www.zigbee2mqtt.io/devices/WSDCGQ11LM.html
ugh im special. i saw the email that it got closed and didnt confirm it.. it was the damn stale bot marking it closed not Koenkk.. ๐ฆ
That's Zigbee 1.2
Hello !im wondering if anyone else have had problems with their IKEA on/off switches.? Connected via deconz mine two days ago and was working fine. Today they are living their own life, working when they want to. Ive changed the batteries a couple of days ago. Thanks.
I also have a motion sensor from IKEA. How do you suggest to join that, since it's the furthest from the coordinator so I really want to relay it through a router that's nearer.
Are you using Z2M or ZHA?
Instead of clicking Permit Join (all), click the drop-down and pick the router you want it to join to
I am no expert by any means... I had the same problem, with lights turning on and seemingly random... but it was lights and switches linked to the same room (which they shouldn't have been... was a user-error by me ๐ ) in deconz, which got triggered by a remote (the kids were playing with...) maybe it's something similar for you?!? just a very wild guess ๐
https://github.com/Koenkk/zigbee2mqtt/issues/16188 made a new one since it wouldnt let me reopen. feel free to thumb up or add additional info if you think it will help.
Hmm.. maybe, (not the kids playing though) , but im going to try and disconnect and reconnect them , se if that solves anything ๐
and check the rooms they are in... maybe there is something misconfigured there... just a wild guess... good luck ๐
thanks ๐
Edit: So... This is kinda of embarassing... I kinda switch the rooms around and put the wrong switch in the wrong room.. So I solved it ๐ณ
thanks
Any advice or tips would be appreciated.
Tried pairing my motion sensor (IKEA) directly with the router, but in my map it still ends up connected to the coordinator
is this normal?
Devices get to pick how they connect, you can't lock them to a given router
Does anyone know why 1 of my Hue Motion Sensors (SML001) will only allow connection via coordinator (times out when connecting via much closer routers), while my 2 others can connect/mesh via routers fine? Using SkyConnect & ZHA.
Ah ok, but as long as the router existed in the network at time of pairing they can choose it right?
It's up to the device
You can say pair via this router and they have no choice right then but as soon as they've joined they get to pick what they do
Add a new router later, maybe they'll pick it, maybe they won't
OK, interesting. Looks like it has re-meshed to the closest router which is good. Just thought it was weird that every other device of the same type/firmware could connect direct to the specified router, but that one couldn't.
I was having connectivity issues with a motion sensor that's far from the controller, that's why
Exact same issue for me @ember raven. Let it settle for a day or so by the looks. My problem sensor has re-meshed itself to a better router.
Add routers, re-pair via the router, let it work it out from there
Ok cool thanks!
Just did backup of HAOS on Pi4, and restored it on a CM4 IO board. Using same USB Zigbee stick w/ZHA fw but Zigbee lights are not responding.
Stick directly connected to USB before and after; is the IO board (also USB 2.0) more noisy needing an extension cable?
edit: yes, yes it needed the extension ... just had to go buy one.
Hi!
I would love to add zigbee to my HA setup. What is the best website to preorder the new skyconnect stick in the netherlands?
Tagging balloob is unlikely to get you a meaningful answer
And is a little rude
The ZHA devs would be more likely to be able to answer that anyway
Oh I am sorry. I just dont know who to ask for ZHA stuff?
Well, mostly pinging devs is considered rude and counterproductive
Point taken
You can search to see if it's been discussed already
You can open feature requests on the forum
I have a YRD256 Yale Assure SL door lock connected via ZHA through my SkyConnect that doesn't seem to be reporting state correctly. It's responding to lock/unlock commands, but doesn't ever update its locked/unlocked status. Anything I can do to try debug that?
Did you post your ZHA question anywhere?
Yeah on the feature request forum
Ah, yeah. Regions are somewhat hard to support for the FP1
But I believe that developer had figured it out?
Itโs not trivial to port it to ZHA though (and it likely requires changes to both zha-quirks and ZHA in HA core)
Does anyone know what this could be for? I actually have two on_off switches in HA as well as the actual switch for just one physical light switch
Toggling them does not seem to do anything at all
I'm using ZHA
The switch likely has 2 endpoints with each having a on_off cluster. Whatโs the switch? Is there a quirk loading for it?
Aqaraย Smart Wall Switch H1 EU (No Neutral, Single Rocker)
What is this on/off cluster for though? What does it activate/deactivate?
These switches that get made seem to be different from the actual physical switch that it controls
I can't send images here for some reason, but I have 3 total switches for a device that only has 1 actual switch. The first switch works fine, but the other two ones seem to do nothing
There's two onOff clusters indeed, and there's also the WallSwitchOnoff cluster which has the working switch.
What would the other two be for? I can't seem to find any info online about this
Edit1: They show as endpoint IDs 2 &3, id:0x0006 for both, type in for both
Edit2: I think this is the quirk? zhaquirks.xiaomi.aqara.ctrl_neutral.CtrlNeutral
Iโd recommend checking the zha device handlers repo for any existing issues and if none, create a new one
I mean it's not really an issue, just not sure what these are for
I'm trying to figure out the best way to smarten a couple curtain motors controlled by 3 switches and 4 outlets. One switch powers two 3-way switches which control up and down for each curtain by flipping power between each outlet in a receptacle. I would like the switches to be Zigbee, though I could go with Z-Wave. I'll need the 3-ways to have an off position so I could control one curtain at a time, I currently hover (for lack of a better term) the standard switches in the middle to achieve that. I would also like the ability to control speed especially because of how loud the motors are. I was thinking the main switch could be a dimmer, but that won't work right with the 3-ways being smart. Any ideas or switch recommendations?
Do you necessarily need a single 3 way?
You could wire up 3 different smart relays, one wiwth a dimming capability, and still use your existing switches the same way. The energy usage is negligible. Or at least you should be able to
I m trying to figure out the best way to
Anyone got any idea why a device would be having trouble updating state/responding to service calls since moving to SkyConnect from Conbee II? Still using ZHA, so imagine the quirks are all the same. The device in question is the Yale Assure SL. Identifies as a YRD226/246 TSDB.
Was working totally fine before the move to SkyConnect, now either state won't update, controls won't work, or both.
Weird thing is that it doesn't go "Unavailable".
Am getting this error when trying to unlock it: lock.frontdoor: Error with unlock_door: Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>
And have these on startup which look to be related:
[0xA557:11:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
[0xA557:11:0x0008]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
hey guys, I am STILL trying to stabilize my Z2M setup, and I activated availability in my settings, thing is, I can see EVERYTHING offline when I do this. Still I can trigger my switches, so they are there, but I have to trigger them so tat Z2M sees them as present.
i this normal ?
As I have devices which sometimes do not respond anymore, I'm wondering if it could be that they suddenly report being offline?
Note that this timeout is persisted between Zigbee2MQTT restarts. So if you e.g. stop Zigbee2MQTT for longer than 10 minutes, all yours active devices will be marked as offline initially.
ok, so it is normal actually, if they are not reporting anything they get pinged after 10 minutes (or 25 hours for the passive devices)
clear
I noticed on very strange thing though
so, sometimes, I have to press my hue button several times, and nothing happens (the lights are not started)
after a few pressed, something happens, I don't know what, but the light suddenly start to work at each press of the button
could it be that the on/off switches enters some kind of an idle/sleep mode ? Or could it be that Z2M has to figure out the route to the devices again or something like that ?
Sounds like it's not connected to your mesh and is having to reconnect
Z2M has nothing to do with routes though
can I force the switches to send keeplives ?
keepalives
hello Tinkerer by the way ๐
thanks ! my battery devices doesn't seem to have any issues
I can see the buttons actions reported in the logs
it's really these damn sonoff ZBMINIs who seem to loose their routes
For instance, I have a bulb that sometimes doesn't turn on/off when told, but Z2M thinks it has, so I have it set to report the on/off state periodically
here its different
Z2M shows me a timeout message
then I eventually will see it start and stop super shortly
and after that, it just works
I4m heading to the reporting tab, there is an option in there to keep wired devices alive ?
hm and now that I say the countrary, I get a timeout on both devices....
Publish 'set' 'state' to 'Toilettes - interrupteur sonoff' failed: 'Error: Command 0x00124b0024bfee05/1 genOnOff.off({}, {"sendWhen":"immediate","timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Timeout - 59175 - 1 - 166 - 6 - 11 after 10000ms)'
I'm sorry but I cannot find any reporting tab, what do you exactly mean Tinkerer ?
I found the reporting tab, but it's a little hard to understand at first sight
for example
ok so for me, this one is the most problematic one
damn I'm not allowed to post screenshots in here, true...
first of all I need to get it back online, or it wont work at all ๐
ok Tinkerer, I stupidly did copy your settings
what will this do now ?
the device will shoot a keepalive signal after max 81 seconds ?
this is how it looks on my end
endpoint number is 1
it's the only choice I've got
if I get it, I tell the on/off switches to send the status of their on/off state every 81 seconds
which is actually the contrary of the availability feature ? (where the server tries to ping the on/off switches) ?
and hopefully, making the end devices send their states will keep them alive and connected ?
I'm just trying to understand what I'm doing instead of stupidly copying what you tell me, so sorry if the question sounds dumb ๐
It's as you said, getting the device to report in every (in that case) 81 seconds.
I don't have them all set to 81 seconds, and many end devices are set to only report in hourly (where they even support it)
I doubt this will help you though, but it probably won't hurt
I just bought SONOFF Zigbee 3.0 USB Dongle Plus ZBDongle-E and its not work very well with Z2M. Can I flash ZBDongle-E with this firmware?
https://github.com/Koenkk/Z-Stack-firmware/tree/master/coordinator - Z-Stack_3.0.x
damn, fail purchase
ZHA should be just fine with it
i still think it's interesting sonoff just straight up gives instructions on their own site how to use it with HA.
unrelated, zigbee isn't a fan of european construction with all the brick walls and metal support structures ๐ฅฒ
reposting: I've got zigbee2mqtt as an add-on in HA(OS), and a tuya contact sensor in the garage, the idea being I can set up a "garage door is left open" alert. the state in HA is inverted, so when the contact is open (no magnet) the device shows the door as closed.
in the HA web UI file editor, in /config/zigbee2mqtt/configuration.yaml I set payload_on: true and payload_off: false for the device (then delete device from HA and reload MQTT integration), but I THINK it's being overridden by whatever is responsible for applying a device class template, as its entry under Settings -> Devices & Services -> Devices -> MQTT Info -> Entities -> [devid]/contact/config payload shows the inverse for the payloads and it has gained a "value_template": "{{ value_json.contact }}"
what I am doing wrong and how can I debug this?
tell me about it....
๐
i had a suspicion it would be crappy (as wifi in general is a pain in the house) but i didn't expect it to play this badly with it. TBF there's like 5 inverters fucking up the WIFI space with the accespoints i can't disable
it'll be a very close together mesh
Personally for my bathroom door where I have the same problem I just created a template binary sensor instead of doing it in Z2M
I have a few Sengled bulbs that keep becoming unresponsive until I power them off and on. Is there an easy way to find out what's causing that without removing other devices from the network and waiting for it to happen again?
"found" (more like realised) the issue that causes poor signal. i use the sonoff zigbee stick as is. so the default 5db transmit power. haven't gotten arround yet to reflashing it and using Z2M instead of ZHA
is there a problem with the default transmit power? I thought you wouldn't want it too high since end battery devices wouldn't be able to transmit back easily and you're better off relying on a strong mesh?
it hadn't actually occured to me yet that whatever device you buy might just have a crappy radio. and there's probably very poor documentation of it
If you have a weak mesh, increasing the transmit power won't help (since you can only do it for the coordinator or a router running custom firmware). The devices trying to respond will still not be heard.
Being picky about what you add to your zigbee and or zwave meshes is pretty important
I got the SkyConnect Zigbee dongle and bought this Zigbee compatible switch from amazon. HA wonโt detect it https://a.co/d/fZFOyIz
So you're saying that the switch doesn't join your Zigbee network? (but the SkyConnect works fine?)
I'm going to try the toggle helper, as it seems to be what it's there for. also I don't know how to not have it in zigbee2mqtt ๐ but really I want to understand what I am doing wrong, and really how HA fits together. even found a recent blog post that suggests it's correct: https://home-assistant-guide.com/guide/how-to-invert-a-binary-sensor-in-zigbee2mqtt/
https://github.com/RosemaryOrchard/home-assistant-config/blob/main/templates/original_binary.yaml#L8
Trust me, the template sensor is not hard ๐
hello! kinda new here but looking for some help with aqara air quality monitor
- I was able to add it successfully to my HA; however, the device reads 0009 ppb (TVOC) and HA reads 264ppb, so wondering if there's something wrong there or some conversion I'm not aware of?
- The Zigbee USB seems to disconnect from the monitor at times
Thank god for touchlink
I accidentally nuked my z2m network while moving over my hue devices before I made a backup ๐
I didnโt have a hue dimmer to reset lol
another round of bughunting. Whenever my zigbee mesh becomes slow to respond i think i get this:
Source: components/zha/core/channels/base.py:486
Integration: Zigbee Home Automation (documentation, issues)
First occurred: 19:42:42 (3 occurrences)
Last logged: 19:42:42
[0x1E0F:1:0x0006]: async_initialize: all attempts have failed: [TimeoutError(), TimeoutError(), TimeoutError(), TimeoutError()]
[0x1E0F:1:0x0008]: async_initialize: all attempts have failed: [TimeoutError(), TimeoutError(), TimeoutError(), TimeoutError()]
[0x1E0F:1:0x0300]: async_initialize: all attempts have failed: [TimeoutError(), TimeoutError(), TimeoutError(), TimeoutError()]````
ive seen this pop up on discord but never conclusive
It's not a problem, it's a symptom. All it means is that when a device was being initialized, the request to it timed out.
i gave the box a ye'old reboot and all misery went away. But its recurring eventually
make logs readable again ๐ lmao
What do you mean?
sorry it was a bad twist on words from maga "make america great again"
but other than the joke, i meant it could be a bit more clear from a noob perspective
i.e. the logs could summarize like you did
That would be good, for common errors to have clearer messages that include possible reasons for the error.
yep
sigh My troublesome Hue motion sensor (SML001) has dropped off the network again. And my front door lock is still not reporting state/responding to commands. Didn't have any of these issues with the Conbee II, anything I can do to debug them on the SkyConnect?
Is your SkyConnect on the USB extension cable and in the exact same spot as the Conbee?
It's older, but I have 2 others of the same gen that work fine. It's gotta be to do with router or something.
Yes, same USB port too.
That would be great, except if the message is flooding the log and you have limited storage. I've had a few cases where flooded logs used up all the space on the drive, not necessarily HA but some server applications. Maybe log messages should always summarize and include short links to more details if the summary isn't already very clear.
SML001 and SML002 are first-gen. I think they're Atmel based. SML003 and SML004 are second gen (Zigbee 3.0)
ah
Recreated the hue 400ms transition time with z2m and my skyconnect ๐
The brightness change is smooth again
Guys quick question.. where can I see which is the latest firmware for the sonoff usb dongle plus?
I have the 20220219
actually I want to see if I can increaste its TX and i've read that you can do it on HA GUI but the option is not appearing on my side
Not sure if this is the right channel. I have a couple zigbee bulbs connected to ZHA. After a recent power outage, the bulbs no longer connect to HA and I can't re-pair them because HA doesn't find anything after I take them out and screw them back in. Not sure if it matters, but one is a Hue bulb and the other is Sengled. They still work perfectly fine as normal lightbulbs, so it seems like something specific to zigbee got messed up. Is there anything I can do to get them working again? Or do I just need to replace them?
For ZHA:
zha:
zigpy_config:
znp_config:
# between -22 (low) and 19 (high)
tx_power: 12
Taking them out and putting them back in won't put them in pairing mode. You need to turn them off/on 4 times with about 1/2 a second delay between each (for Hue).
At the moment, there's newer firmware here: https://github.com/Koenkk/Z-Stack-firmware/tree/6.10.01.01/coordinator/Z-Stack_3.x.0/bin
It'll be marked "stable" at the beginning of February (but works fine for me)
Thanks!, noob question, If I use ZigStarGW-MT to upgrade the firwre will I lose all my configurations?
Take a ZHA backup in the config panel to be safe. (ZHA should automatically restore the last auto backup though)
So you should be fine
Thanks!, and last question (I don't remember which one should I get) My coordinator is CC1352/CC2652 (without the P) at the end should I use the "launchpad coordinator" file?
Oh really? So like flick the switch on and off four times?
Not 100% sure, but very likely. Check the official zig-star.com site maybe
Yes, or use a Hue Dimmer Switch and hold the on and off buttons at the same time while holding the remote next to the bulb.
IIRC it's power-cycling the light five times (but may have been four)
Good to know. I'll give that a try then.
Doesn't work on all Hue lights though. Depends on what model they are (and what firmware)
I think you're right. I think it's 4 presses on the Ikea accessories to put them in pairing mode.
The Z2M website has great pairing instructions for basically everything
I'll check, I don't want to brick my coordinator .P
Hi --- (new to HA) --- I just bought a SONOFF Zigbee (https://www.amazon.es/dp/B09KXTCMSC?psc=1&ref=ppx_yo2ov_dt_b_product_details) and on the page it says it's based on TI CC2652P + CP2002N, ie. ZBDongle-P. However, when I go to the serial port (in order to flash it) I see: /dev/serial/by-id/usb-Silicon_Labs_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001-if00-port0. Does the "Silicon_Labs" there mean that this is based on the other chipset, ZBDongle-E? Is there a way to be sure?
CP2002N is by Silicon Labs. It's the USB-serial chip, not the Zigbee chip.
Same as mine
Ok - great. Thank you.
And I can safely use CC1352P2_CC2652P_launchpad_coordinator_20220219.hex for the firmware?
The table in the firmware repo should tell you which firmware is compatible with your stick
Yeah - that is the version that's liked from "SONOFF ...". Thank you all for your help.
That's the one I've used yes!, flashed in seconds no issues
notice: My Sonoff is the "Zigbee 3.0 USB Dongle Plus"
not the ZB or the later ones
Hi all, I don't have any zigbee devices yet, but now would like to buy some Aqara devices (some smart plugs and TVOC sensors) to be used around the house. Probably also one of those cubes for my son to control his room.
I think I prefer going Zigbee instead of using the aqara hub with homekit integration.
Which zigbee adaptor can you recommend? I'm looking at conbee II or the sonoff zbdongle E. Some recommendations here?
or maybe I should get a skyconnect thingie, but out of stock/hard to get delivered
saw a youtube video about conbee II with Z2M and that it does not work reliably. but also read posts about the sonoff working less reliable. so don't know what I should buy for my home.
also a bit worried of the range, since my HA server sits in a concrete basement and would like to have coverage around the house. For that an aqara hub would be easier since I can place it somewhere around the house, with zigbee I have to plug it into the usb port in my rack in the basement.
problem with the aqara hub is that I can't use the aqara cube then in HA through the homekit integration since homekit doesn't offer support for the cube. that's why zigbee is probably a better fit for me
I can vouch for the SONOFF dongle, it's awesome and I have never had issues with it and Z2M. The range could be an issue although the good thing with Zigbee things is that the devices act as a relay. So if you have some devices in your basement and moving up all the way, it could still work, although I just got a few meters of USB cable and taped it somewhere better.
I don't recommend the Aqara hub, although I'm just using their devices, since you connect everything else too! I started out with Aqara thermostats, moved over to some power plugs, then IKEA light bulbs xD, and everything with that dongle. No three different hubs / apps.
Youโve gotten some weird advice or information online. Ignore conbee and aqara hub existence
^
I don't know both yet, but anno 2023 things seem to move towards z2m more
I've had some random issues with ZHA but Z2M has been working perfectly on my new installation.
Tubeโs PoE coordinator with z2m is what Iโd use in your scenario
also will use mqtt for other things too so maybe mqtt is best for me
PoE coordinator can live anywhere like middle of the house away from the pi
my house is a KNX house, but could use some small additional sensors here and there
ah PoE would be great and I have many ethernet ports around the house ๐
I hope you have fun with Zigbee :D
I just hope it works and will be reliable ๐
They go out of stock often so Iโd suggest putting an order in once you decide
If you do it properly, it will
@molten linden <- creator of linked coordinator above. he's very attentive to customers needs and i'm not sure i've seen one unhappy customer yet
i've seen people having trouble getting started cuz they didnt follow his directions or any directions but that's on them lol
sounds good, just need to see if shipping to EU/Belgium
It took me a few tries too but once I got everything set up it's like a 2 min process to add new devices
Yeah I ship world wide (where allowed)
great!
The KNX hub was introduced in Home Assistant 0.24, and it's used by 1553 active installations interesting
not very many
the basic stuff is done in KNX and works decentralized, and just added HA later on for visualisation and advanced automations
yeah KNX devices are addressed like that, but works great though. and very stable spec
on a slow 9600 bit bus ๐
but at least things will still work and be supported in 20 years time
so using HA and new fancy sensors for additional stuff and don't rely on it for basic house operation
now that I'm in #zigbee-archived: any recommendation for a decent keypad to use for arming my alarmo instance?
Flashed and working. Thanks again.
Letโs hope this improves our signals
Should i put this on config.yaml? can I try 19?
I'm getting very low LQIs since my apartment has all concrete walls
Keep in mind that raising the transmit power on the coordinator will just make it yell louder, not hear devices better
It also will have zero impact on LQI
hey guys, if i were looking into getting started with zigbee (probably through usb), what coordinator would people recommend? i've heard a lot about the conbee 2 stick - is that a good one, or should i get something a bit more substantial?
that is not a good one
ah, fair enough
see the pinned messages here
i saw on a pinned comment a list of other coordinators, but not sure what a good choice would be out of them
Zigbee2mqtt and sonoff p dongle or zha and sky connect dongle
Or tube PoE coordinator with z2m or zha
should i go PoE or usb?
PoE is nice cuz it can be away from your home assistant install and centrally located easier in some scenarios
I use z2m with the sonoff p dongle myself
Because it was cheap and I liked z2m user interface
I use a Pi for my ZWave/Zigbee/BTLE presence dongles
not PoE, but decoupled from my main HA instance, too
well atm i'm still using my laptop with a VM to run HA, but i was thinking of moving it to my plex PC
also out of curiosity, how cheap was the sonoff dongle for you?
$19 on Ali express
is this it? i don't use aliexpress, but if i'm reading this right, i think i can get this for $0.15? https://www.aliexpress.com/item/1005003606832844.html
But I bought it from the sonoff official store on Ali e
i was very very very confused for a second there ๐
Z2M: I have a smart plug that suddenly doesn't report watt. Is there a way to try to "wake it up" remotely without turning it off and on again? It's running something atm that shouldn't be stopped midway.
hmmm all my battery devices are seen as offline by Z2M
I've started pining them on a regular basis (1 minute) to check their availability, because I've noticed that my door opening sensors are not reporting openings
how can I make sure the door sensors reports the opening as soon the door gets opened ? I mean, this was working fine with the sonoff official hub.
@molten linden any known issues when upgrading ESPHOME on the ethernet coordinator ? Just did a fw upgrade of the zigbee module, no issue, wanted to upgrade esphome from 2022.09 -> latest on your repo, but it doesn't respond to ping any more even after replugging
- Stop banging the rocks together
- https://www.zigbee2mqtt.io/guide/configuration/device-availability.html#device-availability
- Find and fix the actual problem (see #1)
It's allright and I get that, theysend a keeplive from time to time, and should do it at least once every 25 hours
and thats fine
and for temp sensors, it IS fine
but I don't get how I can make sure my door sensors sends their open/close statuses as soon the door opens
Seems like the ESP is putting this out on boot, but I guess ethernet failing is because it isn't connected
https://hatebin.com/tjchyfyyuj
I believe they should be sending their "signal" as soon they detect a change
They should be, but ... did you read the link and actually understand what it said there?
You cannot ping end devices
I repeat you cannot ping end devices
Setting the availability timeout to one minute for end devices is ... not smart
You're ensuring that they get marked as offline
ok that makes sense
Passive devices (everything that is not an active device, mostly battery powered devices): these devices need to check-in every 25 hours, they cannot be pinged so if they don't they will be marked as offline.
Your problem is that your mesh is broken, devices aren't staying connected
Pinging them isn't going to help with that
Pinging them may indeed make things worse as you're adding traffic to the mesh
Start by making sure all your routers are stable and working, that none of them are going offline at all
they are not going offline
hmmm all my battery devices are seen as offline by Z2M
@molten linden problem solved, classic PEBKAC, Flashed the usbeth firmware instead of the POE firmware 
so i am setting up a new ZHA network with a CC2652 (sonoff) stick. I've added two hue bulbs. I want them in a zigbee group so that they are joined; i've created a group in ZHA and added them to it. I was expecting to see entities appear that relate to the group, but there is nothing of the sort. Am I doing something wrong, or does it just not work like this?
An entity will appear for every ZHA group that has two or more members.
Those groups entities are currently assigned to the coordinator device.
oh i have found the entity now. i don't know why i missed it before.
thank you
is there consequently no way to get rid of the constituent devices? or should i just hide their entities?
Hi all I have a problem with ZHA (sonoff zigbbe Dongle V2) and january updates.
with the 2022.12.x version everything works fine if I update to 2023.1.x the dongle doesn't work and everything that is zigbee disappears. If I remove "custom_quirks_path: /config/zha_custom_quirks/" from the configuration.yaml file everything works, but I lose the opening percentages of the thermostatic valves (TS601) that I need to control the heating.
if I downgrade to version 2022.12.x and everything works great again.
Some idea? thank you
If you run custom quirks, it's 100% up to you to read the debug log and fix your quirks accordingly. Code that has been deprecated since September (with a prominent startup warning message!) was removed in 2022.1.0, likely breaking your quirk.
I think it's better to just use the last stable version on my opinion
fun fact (happened also with my 2.4 wifi)... Decreasing tx power gave me better LQI (and also better wifi coverage and speed)
@mighty river I converted your message into a file since it's above 15 lines :+1:
@austere patio any chance we will see otw updates soon? I know not all sticks support updates without opening them up. The sonoff ZigBee 3.0 stick though I remember reading has an API now?
For the sticks themselves? Not planned, though there will be a website to flash the SkyConnect and other EZSP-based sticks, like the v2 Sonoff.
Whats the verdict on SkyConnect atm? Is it worth upgrading from Conbee 2 if everything is running relatively smoothly currently?
If you want zha and future proofing for thread then itโs not a bad idea
If I were in your shoes and wanted z2m Iโd buy a $20 sonoff p stick or a tube PoE coordinator if I needed that and had the funds
Got a couple of innr bulbs. They connect up to my gateway fine. HA doesn't offer native colour control for them. But I am able to use the "Manage Zigbee device" to see and use colour commands on the device.
i.e. They definitely change colour and I can prod Zigbee through HA to do it.
Any recommendations on how to go about integrating some actual colour controls for these bulbs?
That sounds like a bug. Do color controls show up when you restart HA?
Can confirm no. At least when restarted through the Dev tools section. I could give it a full power cycle if you think that is likely to do it.
In that case, can you upload the diagnostic JSON for the bulb?
Sure, no file uploads on here. So hopefully discord will at least compress it down
You may have to post it to a code hosting site (e.g. https://dpaste.org/)
Trying to send a message
https://dpaste.org/qsZao That's a lovely little site. Thanks
Got it
(Sorry, I think it had a little panic over when I tried to convert that to a text file first)
where are you looking in the UI for the controls
for the light colors
color controls only show in the UI when the light is on and when you are in the more info dialog
the diag data looks correct
yeah the color controls are in the more info for the light entity
Oh, am I just really dumb?
I picked this up last Saturday and slightly threw myself at it. These are the first automated lights
Brilliant! All works
awesome, have fun!!
Any last suggestions about how to mess with the colour in automations/scripts etc.? Given that it doesn't expose an entity for these other than the "light" one
It's my first light. So that works for me. Perfect thanks. (I was looking at the device -> turn on option)
Yeah, don't use device triggers/conditions/actions
They're basically the training wheels version
For "anything"? Or specifically lights
For anything really
Okay. Services it is
What about? CC1352/CC2652, Z-Stack 3.30
Not planned but it'll be possible in the (probably distant) future
If it says Z-Stack, it's not v2
Good to know lol
any experience here with Aqara smart plugs? I would like to know if you can measure low power usage with those plugs. Like consumption < 2W: does it pick this up properly?
What do you need to monitor that pulls that low wattage?
Hey @austere patio , I'm back. Hoping you can help me further debug ZHA. Despite trying to migrate my network like I was trying a few nights ago, I decided to start fresh, but after trying numerous Zigbee lights & plugs (that have been properly reset), nothing will pair.
- I completely removed the Zigbee2MQTT supervisor add-on, removed any traces of that add-on I could find (i.e. the
/zigbee2mqttfolder. - I also made sure that ZHA integration was not set to be ignored. I then shut down my RPi (which runs latest HA OS v2023.1.5).
- I then plugged in my SkyConnect dongle (using the included USB extension cable into a USB 2.0 port on my Pi) & booted up my RPi 4.
- Once HA had loaded, I see the Notification where the SkyConnect v1.0 is discovered by ZHA.
- I clicked "Configure" and then "Submit" when asked if I want to set up SkyConnect v1.0.
- I then select "Erase network settings and form a new network" since I am starting from scratch and do not need/want to migrate anything.
- ZHA integration is successfully loaded and when I click "Configure" on the integration, it shows my PAN ID, Extended PID, Channel Num., Coordinator IEEE, Network Key, and Radio type. I then click "Add Device" and let it sit there after turning on several different types of devices (lights, switches, sensors) and nothing is ever found by ZHA.
Is there a known bug w/ ZHA + SkyConnect + HA 2023.1.5? I am not seeing any errors in System > Logs by the ZHA component, so I followed the documentation to enable debug logging. I can send you a dPaste of that if that would be helpful. I see lots of 'SUCCESS' messages in the debug logs, but there is one that is shaded in red.
I paired the new Sonoff ZBMini L2
to zigbee2mqtt and it shows as an end-dvice instead of router, although it is not battery powered
is there a way to flash it with router firmware ?
Have you previously managed to join any of these devices before to an existing network?
Devices I have tried include various Hue bulbs, Aqara sensors, SONOFF smart plugs, and Sengled smart plugs.
Yes, every one of them I am trying.
ZHA doesn't search for devices: it's up to the device to connect to the network, and you'd be notified immediately when one does. If one doesn't, that means one of two things: either the device isn't properly reset and isn't searching for a network, or there is a lot of interference in the location where the SkyConnect is currently residing.
I've got these TV settop boxes that have some lower power usage. I would just like to monitor exact power consumption of such devices also when they are in idle/standby mode.
The SkyConnect dongle has been placed in the exact same location as my previous Conbee II dongle.
As a test, download a ZHA backup JSON from the configuration page
And change the channel from 15 to 25 in that JSON file. Then, click the "migrate" button again but re-configure the current radio and upload that modified JSON. It will change your network channel to 25.
Ok, trying this now
Do I need to restart HA or my RPi once I make this change?
No
So far nothing is happening yet while it's 'searching...'. I currently have 3 different brands of (reset) smart plugs and 2 different brands of (reset) bulbs on.
I presume the USB cable is fine since HA is discovering the SkyConnect, but I'll swap that out with a different cable (the extension cable I was using before with my Conbee II) just to rule out that the cable isn't an issue.
Hmm. There's one more thing to try. Send me a PM if you have a few minutes to install the SSH addon and try something a little different.
Can we get an update in the channel on the resolution?
@austere patio โ Ok...I might be onto something, but it'll be a few minutes for me to try pairing a few things. I swapped out the cable, plugged the SkyConnect into that and the two devices I have plugged in are now discovered by ZHA. Things to note are that the second USB cable I tried is thicker (has better shielding). It is a cable that is ~ 3 feet long vs. the 1.5 ft. length of the extension cable supplied by NABU CASA with the SkyConnect.
Location of the dongle remains unchanged.
I also still have the channel set to 25 like you tried having me change. I'm going to try changing it back to the default of 15 now and reset those devices to see if it works on channel 15 since the documentation says...
Regardless, note that the best practice recommendation is, however, not to change the Zigbee channel from default as not all Zigbee devices support all channels. If you have issues with overlapping frequencies, then it will generally be a better idea to just change Wi-Fi channels on your Wi-Fi Router or all your Wi-Fi Access Points instead.
25 is no worse than 15 in that regard
Things get bad when you try to use channels that aren't 15, 20, or 25
Yeah, I was just going to switch it back to the default of 15 because of what the documentation states (that I pasted above)
Sounds like older Zigbee devices might not support channel 25 as well as they do channel 15
other way around iirc
What do you mean?
some devices have been reported to have issues joining channel 15 or actively refuse to iirc
Oh, ok! Well I'll leave it at channel 25 then. I just was trying to prevent deviating from the documentation as much as possible.
It's only a few (at this point) obscure brands that had issues with nonstandard channels (i.e. not 11/15/20/25)
ZHA has used 15 as the channel default for years now and I've not heard of any devices having issues with it
@austere patio โ Say I want to go back to channel 15 to try out, what's my process there? Do I just need to blow away the integration and start fresh again?
That's the easiest way. You can also just do the same thing you did to go to 25...but use 15 instead
Or follow your process with the download backup, etc.
If I can get this all working, I'm literally going to virtually hug you
...and honestly sooooo ready to divorce my Conbee II. I know they're great, but truly have had more issues with later versions of HA. They're so slow to roll out firmware updates.
Newer firmwares also seemingly have issues, so you may not want to eagerly upgrade it to begin with ๐
But their entire firmware is closed-source, unlike all other popular coordinators
Haha, very true, but like my Conbee II would just drop the network at points or something. It was weird.
Plus, I'm rooting for NABU with this SkyConnectโwanted to support them and know if they manage it like everything else like you and the codeowners do, it'll be top-notch. ๐

And I won't have to worry about upgrades as much.
Long live Texas instruments, have had two issues the last 4 years that wasn't my own fault
Rock solid ZigBee stuff
If swapping out the USB cable does make a difference (and if swapping back to the original one makes it break again), let me know, it's definitely something interesting
Let me get a few things paired and take a backup, and then I'll try swapping the cables back later to see what happens.
Curious what dongle you use, or did you roll your own?
Too bad nobody at all uses their stuff for Zigbee outside of DIY coordinators. Everything deployed is almost always SiLabs ๐คทโโ๏ธ
Cc1352 then zzh (cc2652) then tubes Poe coordinator (cc2652)
Cool! Was looking at the SONOFF Zigbee 3.0 dongle for awhile and almost considered that tbh because it seems like a lot of YouTubers are bragging about it.
YouTubers aren't generally the best source for up-to-date (or accurate) information ๐
no one brags about sonoff sticks they're just cheap and only some of them are fucky wucky (technical term)
YouTubers ๐คข
Haha fair enoughโI do try and take everything with a grain of salt, hence why I never ordered one. haha
That zzh stick looks nice!
Too bad they're out of stock haha or else I'd be tempted to try that one out. (Damn chip shortage.) I don't have PoE so unfortunately the tubes one isn't a possibility.
But for now, guess I'm gonna give the SkyConnect a run for its money.
everyone has PoE some just havent bought the hardware yet to unlock that perk
it's in our hearts
Best thing I've read all day
@austere patio โ Where does ZHA save it's device database? I tried removing the integration, restarted HA, and then re-added the integration but the couple of devices that ZHA found are showing (even though they're not plugged in). These were channel 25, not the channel 15 I'm switching to. How are those two devices loading back in with the ZHA integration? Can I make it so that I start with a completely fresh integration of ZHA?
I must be going crazy...I see no zigbee.db
That should be next to/at the same level as my HA configuration.yaml file, correct?
Yes
I am very much getting sick of my devices (Hue motion sensors SML001 and Yale YRD226/246) dropping off my SkyConnect (ZHA) mesh every day and no one has been able to even remotely help with debugging it. Have plenty of routers, but without fail they will drop off at least once a day when they worked fine on the Conbee II. I'll ask here once more before I migrate back to the Conbee - any ideas on how I'd debug it?
How many routers and how many end devices?
7 routers + coordinator over 2 floors. 20 end devices.
Where is your coordinator physically located?
I gave up on hue motion sensors as well. They just donโt stick to zha
that's not accurate
Integration has zero impact on network operation beyond the initial channel choice
Everything else is handled by the adapter
Exact same place the Conbee II was. 2m USB extension cable close to the roof of the bottom floor.
Just my personal experience
Can you download the current diagnostics JSON for the ZHA Integration and upload them somewhere?
Sure, give me 5. Not at my PC.
Thread will fix everything ๐ ...but I had a Hue sensor awhile ago and found it wouldn't trigger very quickly at points, never noticed it dropping off my network. However, never been the biggest fan of Philips anything apart from their bulbs. Switched all of my motion sensors to Aqara. Low cost-of-entry and they work pretty darn well.
Although with the Aqara's, I feel like I replace batteries a little more frequently and I've also received a few off of Amazon where the battery was low. Replacing them with fresh paired them almost immediately.
Don't rely on the battery percentage displayed within HA. They have no reliable way to report battery percentage, unfortunately
Yeah, I don't haha. Love the FP1's though they came out with!
I prefer Poe based, can place it anywhere
Poe pi with a zigbee stick
I have problems with my zigbee tuya switch.. It did work. but i lost connection some weeks ago.
I cant go past starting interview most of the times. Sometimes it shows as unknown device.
TCP that serial anywhere
Poe is the only sensible way to power a pi, if you must run a pi ๐คข
cheaper to buy a small gold brick
lol yes but my skyconnect lol
pi+poe hat + zig usb dongle + power adapter + ssd to usb adapter + ssd

Lol I just have my skyconnect sticking out of my network rack and I have a strong connection
Works fantastically well with zigbee2mqtt
I've got my SkyConnect and I'm wondering if ZHA is recommended over Z2M. Especially considering the thread/matter support down the line. I'm currently using deconz with a conbee II so I'll be migrating either way. I'd honestly prefer Z2M so the zigbee network will remain active through HA restarts, but if it's not going to work with matter / thread then it doesn't seem worth it.
Multi-PAN doesn't depend on ZHA, Z2M can use it as well
It will be an upgrade at least
Also I realize it's currently in an experimental stage with Z2M
The "easy install" option is just disabled until a few firmware issues are resolved
I'm running Z2M in docker and have the SkyConnect, well... connected
but I haven't paired anything with it yet
I just want to make sure that's the right path forward before I connect everything and then find out down the line Z2M isn't going to work with matter/thread
The two are entirely separate
@austere patio : Here's the diagnostic JSONs for the coord + one of each of the problem devices. https://drive.google.com/drive/folders/1LjbF4hRrbOz7OJAQB7sB_WFMX6xCVhlc?usp=share_link
The integration itself has diagnostics, that's the one I was looking for, not the coordinator device
The three dot dropdown menu in the integrations page
So Z2M isn't going to support matter / thread? Isn't thread like a zigbee v4 network? 2.4 ghz etc?
They're totally unrelated
Other than both being built on top of 802.15.4 (i.e. both 2.4GHz)
Ah sorry. That's been uploaded now.
So Z2M will never support Thread+Matter in the same way it won't support Z-Wave
So if I want to use SkyConnect with thread I need to use ZHA and not Z2M? (considering I'm passing the device in docker)
No, you'll use the Matter integration ๐
Perhaps there will be M2M
I'll wait till matter matters ๐ฅ
Or T2M
ok, anyone have a guess if the device will show as 2 radios (kinda like the HUSBZB-1)?
No, it requires software to "split" the single radio into two: the multi-PAN addon
The Zigbee integration will connect to the multi-PAN addon on a special port, just like they already do when talking to other TCP coordintors
so would I be able to use Z2M, and a "T2M" etc with the same stick in different docker containers?
They have been tinkering with thread for 5 years on cc2652 already, wonder if it is stable yet
Matter is what you'll be using, which can talk over Thread. I'm not aware of any other public, open Matter project beyond the HA Core integration.
I should play around with my cc1352 and this https://github.com/openthread/ot-cc13x2-cc26x2
Looks like Hue devices are just busted on most custom chips that support Zigbee 3. https://github.com/Koenkk/zigbee2mqtt/issues/2693 250+ message issue that's been open since 2020 ๐ฆ
https://www.zigbee2mqtt.io/devices/9290012607.html also states:
This specific device has been reported to have issues repairing to a Zigbee network after upgrading from a CC2531 to a CC2652 controller (Zigbee 1.2 to 3.0). (Re)pairing may only work after pairing the device to another network and channel first (has been tested with a Philips Hue 2.0 hub in this instance) before pairing it back to the Zigbee2MQTT network again
Conbee and SkyConnect are both Zigbee 3.0
The Hue sensors were previously on the Hue hub. Wanted to port them over to ZHA to avoid the 1s polling delay to Hue.
The lock however, was on the Conbee and it's busted now.
ok then use Z2M with SkyConnect for zigbee and also pass SkyConnect to HA for thread/matter. Is that possible? Or will be possible?
It will be
ok thank you.
How long has it been since you last restarted HA or unplugged the stick?
~14 hours
day 2 with the hue devices on my skyconnect ๐ค
Trying a very random "fix" suggestion in that issue above for one of my sensors. Have removed it from ZHA, and removed the batteries. Will give it an hour and try re-adding it.
I just did a reset on mine from the hue hub, using network 15 and its good
As in your old Hue network was on 15 and you just reset the device in the app?
IDK what it was on, 15 was just one of the best options to pick for compatibility and some good practices
Yeah, my hub is on 15. SkyConnect is set to 11.
11 generally is a poor choice, since it overlaps with WiFi channel 1
and before interference
I have my 2.4ghz set up on 6 and 11, so 11 Zigbee should have no interference right?
Depends on neighbors
Hmm, you might be onto something! Didn't use to have active using it, but now there's definitely a fairly strong signal on band 1.
puddly has posted this before
i did a wifi scan with my AP closest to my zigbee stick, then worked around that. i.e. i used channel 25 zigbee and put channel 11 AP furthest from the stick (compared to my other two APs) and kept band width at 20mhz for 2.4ghz
This is from WifiMan https://photos.app.goo.gl/Ze2C7yNTtSjp7bCM6
your link doxxes your first and last name btw
Wide-ass channel width on that TP-link.
use imgur ๐
ya cuz people buy eero mesh and other pieces of shit that shit on the entire spectrum and neighbors dont know better and even if they did, care lol
anyways not a zigbee thing, you're on the right track
Boo ๐ฆ
You can change this using YAML configuration, but this only works if thereโs no existing network. To change the channel for an existing network, radio has to be factory reset and a new network to be formed. This requires re-pairing of all the devices.
protocols gonna protocol
Zigbee doesn't handle channel changes very well. See https://github.com/zigpy/zigpy-cli#changing-the-network-channel for a way to migrate your routers and probably most of your other devices
Do an energy scan at the same time, to see what channel is actually quiet, as opposed to relying on a WiFi scanner's approximations
zigpy-cli is installed in HA OS right? Just need to disable the integration and SSH in?
No, you need to run the pip install command at the top
And it won't install in anything other than the HA Docker container. Follow these four steps to gain access: https://github.com/zigpy/zigpy-znp/blob/dev/TOOLS.md#in-home-assistant-os
Do you need to restart after disabling ZHA? Getting a timeout error trying to run zigpy radio znp /dev/ttyUSB0 info
Yours isn't a ZNP radio
Oh, ezsp?
If it's a SkyConnect, you'd use --baudrate 11520 ezsp, yeah
What do the scan results look like?
you understood what i said above about this link right? it exposes your first and last name (doxxes)
Yes ๐
Still doesn't run:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/asyncio/tasks.py", line 456, in wait_for
return fut.result()
asyncio.exceptions.CancelledError
What does ls -l /dev/serial/by-id/ show?
total 0
lrwxrwxrwx 1 root root 13 Jun 3 2022 usb-Nabu_Casa_SkyConnect_v1.0_34a307494cedec118e8b4740ad51a8b2-if00-port0 -> ../../ttyUSB0
And you're 100% sure nothing else is running that could be accessing the port? The exact same library is used in both ZHA and zigpy-cli to talk to the radio. You can run it with zigpy -vvv for extra verbosity.
I disabled the ZHA integration but did ask whether I need to reboot after disabling or not.
You don't need to but it won't hurt
Here's the output with verbose mode. Will try rebooting.
2023-01-18 07:27:18.360 homeassistant asyncio DEBUG Using selector: EpollSelector
2023-01-18 07:27:18.605 homeassistant asyncio DEBUG Using selector: EpollSelector
2023-01-18 07:27:18.625 homeassistant bellows.ezsp DEBUG Resetting EZSP
2023-01-18 07:27:18.627 homeassistant bellows.uart DEBUG Resetting ASH
2023-01-18 07:27:18.628 homeassistant bellows.uart DEBUG Sending: b'1ac038bc7e'
Traceback (most recent call last):
2023-01-18 07:27:23.639 homeassistant bellows.uart DEBUG Connection lost: None
File "/usr/local/lib/python3.10/asyncio/tasks.py", line 456, in wait_for
2023-01-18 07:27:23.640 homeassistant bellows.uart DEBUG Closed serial connection
return fut.result()
asyncio.exceptions.CancelledError
@tiny timber I converted your message into a file since it's above 15 lines :+1:
15 appears to be almost the noisiest channel, with 11 being one of the lowest.
That's a pretty noisy environment but maybe try 20
20 is still higher than the current channel though?
Not by any appreciable amount, maybe it'll work better ๐คทโโ๏ธ
OK, will give it a go. And to confirm, I would need to use the change-channel --channel 20 command, as well as update the YAML (and restart HA) before re-enabling the ZHA integration (and re-pairing any sensors that didn't migrate)?
No need to change YAML
I had manually-specified zigpy_config. So just remove that and let the coordinator handle it?
That config is ignored until a new network is being formed
damn just ordered an aqara cube T1 pro (instead of the old cube) but now I see it's not working yet with Z2M as there is no proper template for it yet.
hope that one will follow soon
Hi guys, I'm developing a custom Zigbee device to work with zigbee2mqtt and running into some interop troubles. Some folks on the z2m discord suggested posting my question in here. I uploaded the packet captures at https://imgur.com/a/z3tshCj
My device is currently set up to report an attribute change to the ZC every 2 seconds. The attribute value increments from 0..7 and then repeats. When this works correctly it looks like the first screenshot: attr report, then APS ack, then ZCL default response.
Every couple of minutes, z2m quits acknowledging 100% of the reports for ~30-120 seconds (exact time varies). The reports also stop showing up on MQTT. Then it goes back to normal. This is shown in the second/third screenshots. In the interim, other ZC traffic is fine, so it's not a case of interference shutting down the entire channel.
This happens even if the reports from the test device are reconfigured to be more infrequent, e.g. every few minutes. In both cases I see the 802.15.4 network level Ack on the "lost" reports (which isn't shown in the traces because it's hard to filter for). I made the reports more frequent so that I could run this test and see the problem manifest itself over and over.
What is the best way to debug this? I'm wondering if there is a problem with e.g. sequence numbers on my ZR device, or if there is an internal problem in the ZC dongle firmware that's causing packet loss. It would be useful to see any debug messages telling me why these packets were discarded, and/or what counters or other metadata the ZC dongle expects to see in the attribute updates.
z2m is using the Sonoff CC2652P Zigbee 3.0 dongle and the test device is an nRF52840 running ZBOSS configured as a ZR. There are no intermediate hops between the test device and the ZC.
What do the Z2M/herdsman debug logs show for this time period?
When the report is received by z2m I see it logged. For the missing reports, zilch. I enabled DEBUG=zigbee-herdsman:adapter:* and still see nothing for the missing reports, which leads me to believe they're getting dropped somewhere in the Z-Stack-firmware (which I was hoping to debug, with some pointers from someone more familiar with it)
Is the SONOFF SNZB-02 a good temperature sensor for TRVs and does it send frequent and accurate updates, as my Aqara TRV only sends every 1ยฐC. I'd need at least one decimal place.
I'm not aware of any packet loss bugs in Z-Stack. Try another Zigbee stick running another stack (e.g. EFR32, a Conbee) to rule out network connectivity issues first.
I don't know if I can reproduce this at all with a different/simpler configuration...
Any way to access e.g. counters or error messages or per-node states coming from Z-Stack, which might point me to what it's "thinking" when it receives those packets and drops them? Anything that makes it less of a black box would be helpful
It more or less is ๐
How do the developers work on it?
TI develops it, the Z2M patchset on top of it is pretty simple. But maybe you'd have better luck with one of the dev kit boards.
Though it'd be a lot easier to try something like an EFR32 stick, which has a bunch of global counters you can read to see what the stack received
Z2M supports those types of coordinators as well
OK I'll look into both. Also would you be able to look at the traces I posted and see if anything obvious jumps out re: sequence numbers or such?
If the ZBOSS node is misbehaving in a way that causes it to get out of sync with Z-Stack, then I'll need to follow up with ZOI/Nordic rather than digging into the Z-Stack internals
Looks pretty normal to me, the coordinator is just not ACKing
How close together are the two devices?
And where in relation to the coordinator is the sniffer sitting?
If you're sniffing with another nRF52840, you should be able to configure it to include RSSI information as well
Devices are ~10 meters apart, through a few walls. Not too close. I do see occasional retransmissions in the trace. I can retest with it closer together if that helps. Would not be surprised if something was getting out of sync when trying to recover from packet loss, which is why I originally asked about sequence numbers.
Sniffer is sitting right next to the Sonoff dongle. It's not Nordic; it's the Nortek Zigbee/Z-Wave combo dongle. I'm using the Z-Wave side to control some of my Z-Wave devices, and the Zigbee side purely as a sniffer
The sequence numbers don't really need to be synchronized so I suspect you just need to stick a mains-powered router halfway between the two and then see what happens, before digging into firmware
10 meters through a few walls is pretty far
I have a bunch of Hue bulbs and other ZRs in this network. It's 40+ devices. For some reason a lot of devices still want to connect to the ZC directly
Any easy way to tell this device to connect to one of the ZRs instead? IIRC when I've clicked the Permit Join dropdown in the z2m web GUI and selected a specific router, devices initially connected to it for pairing but then "wandered" off to another router later
No way to force it, unfortunately. But with an EFR32 coordinator, you can set the child table size of the coordinator to 0 to force devices to connect only via intermediate routers
OK. Looks like the Sonoff EFR32 board has an external antenna so the range will probably be better than those tiny dongles. Is that my best option right now?
Which tiny CC2652P dongle are you using?
I'm currently using https://itead.cc/product/sonoff-zigbee-3-0-usb-dongle-plus/ which does have an external antenna
The z2m page ( https://www.zigbee2mqtt.io/guide/adapters/#based-on-silicon-labs-efr32mg2x-mgm21x-and-efr32mg1x-mgm1x-series ) recommends three EFR32 USB dongles and this one looks like it has the best antenna: https://itead.cc/product/zigbee-3-0-usb-dongle/
The coordinator's antenna has little impact on mesh stability when you have enough routers
So all my routers survived the channel change, but all my end devices are having a REAL hard time re-connecting. Only succeeded with 1 so far.
If there's an EFR32 dev board that provides better I/O / serial console / JTAG / etc. I'd consider that instead?
Anyway I'm open to suggestions since I don't know which dongle to buy...
I'm not aware of any cheap EFR32 dev kits, unfortunately. The TI ones are cheap but you're better off just getting a $20 stick to test with and making sure your coordinator is positioned away from typical interference sources, such as USB 3.0 ports, SSDs, 2.4GHz APs, etc.
What brands?
Hi, is the SONOFF SNZB-02 a good fit for measuring accurate temperature in a room? Does it update accurately?
Sonoff's sensors usually aren't very good
Aqara. Think I found the trick. Pairing then keep alive by spamming the button ๐
Ah, yeah, Aqara doesn't really migrate (except for their motion sensors for some reason?)
What about Aqaras?
Or what sensors do you recommend?
Waitโฆ @austere patio the zigbee / matter dual setup is as simple as a basic docker container serving the TCP serial streams out?
Yeah
Sweet then one does not need ha os at all
Thanks, going to have fun with this
You'll also need to flash the stick with RCP multi-PAN firmware: https://github.com/NabuCasa/silabs-firmware/tree/main/RCPMultiPAN (the addon does this on its own)
Aqara P1 Motion Sensor is great (it's different from the Aqara Motion Sensor)
The way it was said on the website made it sound like a lot of extra has to be done on other non HA os
I don't need a motion sensor though, only temperature lol
But if itโs this simple ๐
But I'll take a look
(Not beginner simple) some one who knows that they are doing simple :p
yeah so what sensor should i use?
Aqara's not a bad choice if you want something cheap. They're accurate and report every time there's a 0.5C change (or every few minutes, at least once every once in a while).
ah well that sucks, is there anything like accurate to .1ยฐ?
They are accurate to within 0.1C, they just don't report every time there's a 0.1C change
Yeah, I'll be sending that to my TRV so that might not be the best option
More expensive (Zigbee 3.0) sensors let you configure the reporting parameters if you use them with an integration that allows you to change those settings (Z2M currently)
I see
https://i.imgur.com/YHaiy9V.png is what I get with my Aqara sensor. The difference between the two steps is never greater than 0.2F/~0.1C
oh, so they update every few minutes too?
All Zigbee sensors update on a min/max/change system, where they update at least once every max seconds, no more than once every min seconds, at least every time there is a change of more than some set resolution (which you can set to 0 and drain the battery in a few hours)
I see, and you can change all that in Z2M?
Depends on the sensor
Tuya and older Aqara, no. Zigbee 3.0 sensors, yes.
But I suggest the Aqara. It's precise, cheap, and its defaults are more than enough for tracking temperature in a room for heating
Mine last a year outside but they're under a cover
they broke after a year?
TKV?
Oh, the TRVs. Dunno, I don't run one. Those run on 4xAA batteries, the temp sensors use a CR2032
Oh, I see
Are there any alternatives to their windows sensors? I cant get myself to spend 17 euros on a window sensor xD
I'll just get those
Is there a reason for the Aqara TRVs not to mesh, like connect with other devices?
I understand that being a repeater sucks for battery
But as a receiver it should work, no?
I have a power plug almost next to it and it connects to another plug and thus has a much better lqi while the TRV is pretty ppor
Mine arrived in 2 weeks. I ordered them January 1st
But Chinese/Lunar New Year is coming up so if you order right before or during that you'll likely have to wait longer
ah i see
amazon looks like a scam comparing those prices :kekw:
Pick your poisons, if you want things fast pay more ๐
Thank you, another random question, can I use the IKEA Tradfri in my bathroom?
Well, it depends on what you mean with Tradfri and what you mean with bathroom
give me a second
"can I have a lightbulb hanging in the spray of my shower?"
Technically yes, but not recommended for electrocution reasons.
xD
"Can I use an IKEA motion sensor in my bathroom?"
Sure, though you can get better smaller ones cheaper from Aqara
I just wanted to ask because if i like those I ordered it would be easier for me to add the rest
I would put them there where I have my current ones, and I have never been electrocuted
I'm just thinking about humidity
The bulbs are fine, though as always anything electrical subjected to repeated high humidity is likely to have a shorter lifespan
and since smart bulbs aren't just power -> light there might be some stuff that could break
That's fine
thank you again
A quick question for anyone with Aqara motion sensors...I added one to ZHA and I get both a "laszone" and "Occupancy" sensor. Is there any difference between these two? Both currently show 'Clear' and it looks like they are both binary_sensors that alternate between "Clear" and "Detected" states.
I'm currently using a conbee ii with z2m. Just ordered a SkyConnect. Do I have to re-pair every device on migration?
Check with @austere patio . When he and I were talking a few days ago, I think he maybe mentioned there's a way to do it, however, I ended up repairing everything today with my SkyConnect and so far, so good. I know I probably wouldn't have had to do this, but it also allowed me to better place some Zigbee routers throughout and let the mesh network settle a bit better than when I had originally added devices to my place.
Also, for what it's worth, I believe Z2M's documentation states that repairing is necessary when chipsets are different (generally different model numbers within the same family are fine and don't require repairing). I'm not sure if SkyConnect's chipset is the same as the Conbee's. Maybe you could compare spec sheets to see?
I just moved from a Conbee II today running with Z2M to my SkyConnect running with ZHA. So far, so good (knock on wood)!
@sharp berry By any chance do you know if a Apple Homepod (mini) is still necessary to talk to thread devices with a SkyConnect?
I've got 3 remaining Aqara door sensors which just won't pair. Anyone got any tips? Have heard that it's a bad idea to pair them close to the coordinator as they are bad at re-meshing.
An Apple Homepod mini will not be necessary to talk to Thread devices. NABU CASA mentioned that they will be releasing a future firmware update to roll out Thread support for the SkyConnect. This will then allow you to add both Zigbee and Matter devices to your network.
I added several of these this evening and in short...they're not fun. Aqara's battery-powered devices take a bit to be discovered by ZHA. Here's what I found works...
- Push and hold the reset button on the door sensor for ~ 5 seconds until you see the blue light flash a couple of times then IMMEDIATELY let go.*
- Wait until the blue light stops blinking...generally there's another second or two delay, and then the blue light flashes on and off again.
- Once this has happened, then begin pushing the reset button every 1 second until you see the device being interviewed in ZHA. It's crucial you continue pressing the reset button every 1 second until the device has been fully registered, or else the device may get stuck in the interview process.
*Sometimes you will have to repeat step 2 numerous times until your device sees your coordinator.
Another thing to note are that make sure that your battery has some life left. It seems that I've had a harder time pairing battery-based devices (especially Aqaras) when my batteries are low in my sensors.
Yeah, all of mine are over 60% battery. I'm just re-pairing on a new channel and didn't expect it to be this hard. Took about 4 hours all-up for only around 15 sensors.
PITA for sure!
Haha it be like that...sadly. Still trying to get two multi-sensors paired yet in my place. Love how cheap the Aqara's are, but pairing them is for sure a PITA.
I'm pretty noob at HA still, I'm stuck trying to get a ts0601 tze204 working.... It pairs with my network (after a couple of attempts) but exposes no attributes to zha. If I'm reading I need to use a quirk, there's a similar tze200 in the quirks repo, if anyone has any tips or advice if I'm going wrong or right here, I'd greatly appreciate the clue.
Hey all! My Zigbee mesh has been performing pretty poorly lately, with devices dropping off and plugs not reacting. How would I go about debugging this? I have a repeater in every room and a mix of devices: random cheap bulbs, some tuya plugs, some LEDvance/osram plugs. For battery-powered devices, I have some Sonoff buttons, Sonoff temp/humidity sensors, Sonoff window sensors and Danfoss TRVs.
So far, the Danfoss TRVs have been really stable. I am used to the Sonoff temp/humidity sensors dropping off occasionally but I am worried about reliability of some plugs in my office as well as my Sonoff window sensor dropping off. I also have a hard time getting the Sonoff temp/humidity sensors to pair again in my office despite fresh batteries.
Here's what I have done so far:
- Cleaned out any unused and old devices from the mesh
- Disabled a 2.4GHz wifi network repeater that was close to the unreliable plug
- Flashed my Conbee II stick to a recommended firmware version
- Ordered a high-quality 2m USB extension cable to replace the random 1m USB extension cable I currently use with the Conbee stick
- Ordered some ferrite cores to try and dampen USB 3.0 EMV (not sure it will do something, but why not)
Possible next steps:
- Move from Zigbee channel 15 to 25 where I see less wifi interference
Is there anything else I can try? Also, is there a good way to monitor if my measures are effective? I am aware of the network visualization, but I have a hard time making sense of it.
Ugh, sorry for the wall of text.
Moving off the conbee stick is what most people here will suggest
You can search conbee here and see all the issues people have had
https://github.com/zigpy/zigpy-cli#performing-an-energy-scan this definitely wonโt hurt whether you get a new stick or not
I've also seen several recommendations to avoid Sonoff sensors due to being garbage
Yeah, I read mixed things about the Conbee. Too bad, wanted to support some German Engineering.
After that, choosing which devices you add to your mesh matters. I donโt have a full list but you should absolutely confirm none of your devices are on the Nono list
Ignoring anything with the name tuya is a great option
It kinda looks like you have all the problems lmao
๐
I think problems got really bad when I moved the wifi repeater close to the problematic plug. I will continue to monitor that one
Some devices blackhole routes which is why I said make sure they arenโt on the no no list
Wi-Fi repeater?
Yeah I read about some devices that will just break your mesh
No one should be buying anything with Wi-Fi and repeater in the name
It's actually an access point that connects via powerline to the rest of the network
Repeaters wirelessly mesh back to another AP and ruin bandwidth at best
God and power line
Bro you just keep checking the wrong boxes lol
How much money do you have to throw at a better solution?
Ripping out power line and running Ethernet to multiple APs is a much better solution but thatโs for another day
Are you using zha or z2m for zigbee
I am using ZHA
Renting this place, btw, or I would not even be bothering much with Zigbee
Power line is way better than repeaters
Then Iโd buy a sky connect or sonoff e dongle and move your mesh over to it
I will try the zigpy energy scan, seems that is supported with hass os. Thx
Iโd also run the energy scan I linked above and choose a new channel if it helps
On the new stick that is
And Iโd confirm you donโt have any bad devices like discussed above
And ideally Iโd plan out 2.4ghz channels used with APs
I will monitor my mesh for another week or so before I pull the trigger on the new stick. But it's definitely on the list. It's a cheap fix
I.e. closest AP to zigbee stick should be furthest away in terms of spectrum. Like channel 25 zigbee and AP on channel 11 furthest away from the stick
Youโre wanting to wait another week instead of just spending like $20?
U crazy
I will keep that in mind and maybe do a channel survey here as well. I can control my own APs, but I have lots of neighbors using 2.4Ghz.
Yeah
Well, I already changed some stuff around and I want to see if it sticks. Not a fan of changing too many variables at once
If you look up a chart there isnโt a ton of overlap with 20mhz band width on 2.4 and zigbeeโs channels
But there is some
Not the route Iโd take for this but I agree with the logic in general
Alright, everything is finally paired again, channels changed, AP signal width/tx power reduced. Let's see if that has any major effect.
You just came into the ER with 5 bullet wounds and Iโm suggesting we go ahead and try to plug all the holes.


About the Sonoff bullet hole. What to buy instead for temp/humidity sensors? I heard that Aqara doesn't stick to the Zigbee spec so I steer clear of that
Is there a better channel for my ts0601 question from ~1hr ago?
Aqara sensors are fine they donโt fuck up the mesh. Their only issue is they donโt always want to get a new route so you should pair them in their final resting place and add them with an intentional router selected not any
Iโve read mixed reports here where sometimes they look for a new route but you shouldnโt or donโt need to hope they do when you can force them to join to a specific router
No sometimes stuff gets buried and sometimes no one is on to help with specific things
Itโs people helping people and devs helping people no money or help desk tickets here
So best idea to repost periodically then in the hopes someone who has clues might be watching? I don't want to disrespect anyones time by reposting
Pretty much
Or post on Reddit or forums or GitHub depending
Luckily a couple devs from zha / zigpy frequent here daily
Thanks mate, I'll keep poking away at it and hopefully don't break anything. Right now I'm having HA's gui go dead trying to click buttons in vscode... I'm starting to think this rpi isn't enough to actually run HA.
Not the case with most other channels
If you search in this server with specific keywords you will probably find someone already asked for help with it
And instructions or a conversation about it is there
โts0601โ gets 119 results including GitHub issues and conversations about it
So what stick do I get? The SONOFF ZigBee 3.0 USB Dongle Plus aka ZBDongle-P? Has a CC2652P chipset.
Thatโs the p dongle, since youโre using zha the e dongle is fine to get with newer chipset
E dongle has experimental support for z2m so itโs not currently suggested for that. I use z2m with a p dongle
Or you can order the new home assistant skyconnect which will bring thread support eventually
So far theyโre working well for people
Or you can buy a PoE coordinator such as the tube PoE one
For the skyconnect, I understood it needs an additional piece of software running on the host, right? I somehow don't trust that, not sure why.
Itโs way more expensive but you can put it in a more central location than a usb stick off a pi or whatever
A lot of people like that
Aand heres puddly :p
The PoE coordinator sounds nice - I could totally run it off my powerline network ๐