#zigbee-archived
1 messages · Page 23 of 1
"Golden" ... iron pyrites maybe
Can you enable ZHA debug logging and download a log?
Specifically a log where you try to control a device and it fails
How long ago did you buy it? Maybe you can just return it and save yourself the headache
Enabled logging, tried switch - where to download?
I may end up doing that. Just got it today in the mail
How did you enable debug logging? If you did it from the frontend, just disable it the way you enabled it and it'll download a file
If you did it from the configuration.yaml file, it will be saved as /config/home-assistant.log. You can PM me either file.
Source: components/zha/core/channels/base.py:486
Integration: Zigbee Home Automation (documentation, issues)
First occurred: 2:08:33 PM (75 occurrences)
Last logged: 2:12:18 PM
[0x0AA4:1:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver packet: <TXStatus.NWK_ROUTE_DISCOVERY_FAILED: 208>'), DeliveryError('Failed to deliver packet: <TXStatus.NWK_ROUTE_DISCOVERY_FAILED: 208>'), DeliveryError('Failed to deliver packet: <TXStatus.NWK_ROUTE_DISCOVERY_FAILED: 208>'), DeliveryError('Failed to deliver packet: <TXStatus.NWK_ROUTE_DISCOVERY_FAILED: 208>')] ```
Have you tried power cycling the devices that can't be controlled? Also, can you look at the ZHA network backup (you can download the JSON from the ZHA config page) and look at the network key's (not the TC link key's!) TX frame counter? What values are shown?
If you migrated from a backup created from a Conbee with old firmware, the frame counter will be small, since the old firmware did not support reading/writing this parameter. In that case, you just need to bump it up to a higher value (like 1000000) and restore the backup JSON file manually (it'll be an option in the migration flow).
Thanks @austere patio That was my thought, I was hoping I could get away with connecting it somehow to the Hue bridge as I believe that uses Zigbee too 😄 I'm stupid I know! haha
Thanks @hollow chasm That was exactly what I thought but it was a bit of a minefield trying to work out what would actually work, particularly as most of the things I was finding was for the Conbee II and only if I was using docker.
I will check out those devices you've all mentioned now I've worked out what ZHA is. I'll need to figure out what some of the other things that were mentioned are but it's a really awesome starting point. Thanks again everyone for giving up your time to assist me.
You should also be able to move your Hue stuff to whatever stick you end up getting
Power cycling makes no difference from what I can see.
Network Key:
"key": "8f:8e:25:0d:33:1b:29:28:17:c0:6d:11:3b:e1:f1:8c",
"tx_counter": 2208,
"rx_counter": 0,
"seq": 0,
"partner_ieee": "ff:ff:ff:ff:ff:ff:ff:ff"
},```
I am migrating from a Sonoff Zigbee Bridge
I hoped that would be the case, even better! 😄 I think this should do? I'm in the UK and a lot of the links were in $
https://www.amazon.co.uk/gp/product/B09KXTCMSC/
Though spaceman above says he's migrating from something similar 😮
Updating tx_counter to 1000000 makes no difference, bummer
I don't have a Sonoff dongle, but I know I've seen people mention there's a P and an E version, and that you'd want the P version
Says "Base on TI CC2652P + CP2102N" in the description so hopefully got the good one 😄 Ah hold on... says ZBDongle-E in "Size"...
Edit: I think this is possibly the "E" version and is based on EFR32MG21
https://www.amazon.co.uk/Sonoff-Universal-ZBDongle-Gateway-Assistant/dp/B0B6P22YJC/
Hopefully I have the right thing...
(This is what I was migrating from - https://digiblur.com/2020/07/25/how-to-use-the-sonoff-zigbee-bridge-with-home-assistant-tasmota/), not a dongle, it's it's own little device
How did you perform the restore?
When downloading another backup, does the increased counter value persist?
Just to be sure, is your old coordinator unplugged?
Yeah. After the first migration I still saw it listed in Devices so I removed it.
I migrated back 🙂 At least that was super easy.
I may just return the Conbee II and get something from this list. Anything you'd recommend? https://github.com/Koenkk/zigbee-herdsman/issues/319#issuecomment-789757269
They're all just different packages built around the same few chips. Get a CC2652 or an EFR32MG21
https://itead.cc/product/zigbee-3-0-usb-dongle/ may be the one then. It mentioned Zigbee2MQTT but I assume ZHA would be fine too?
It's well-supported by both. There are two poorly-named variants: the v2 is based on the EFR32 and the other one is the CC2652. Two completely different chips.
Ok. Thank you for your assistance on this.
do you need to specify an adapter in z2m configuration for Tubes CC2652P2 Based Zigbee to PoE Coordinator?
Adapter type? Nope
hmm
I'm getting "Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)"
I know that one, @jovial plume ... look at. https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html
means your stick didn't respond when z2m tried to talk to it
could be one of several things, listed on that page
My Zigbee network seems to have died. I read that this could be a wifi issue? How can I figure out what channels I should avoid? What channels is Zigbee using?
emily, describe the environment... home? apt? new neighbor?
House, recently moved in. Recently set up HA with SkyConnect and aqara sensors. Network is set up with 3 unifi wifi APs
do you know what channel wifi and zigbee are using?
I don't know what the Zigbee is using, but the wifi is on auto config.
ok, how long was it working before it died?
I would not be surprised if the wifi is clobbering the Zigbee network, so if I knew what the Zigbee was on I could change the wifi setup
z2m , zha, or deconz?
rebooted wifi recently?
Nope
It can change channels spontaneously if it detects interference
hello again, does anyone know how I can stop my hue motion sensors from becoming unavailable? I'm using the HA Yellow. :)
Emily, look through this: https://www.metageek.com/training/resources/zigbee-wifi-coexistence/
Try setting your wifi to channel 1, and zigbee to channel 24
Channel 24 is a poor choice
ok, better suggestion?
15, 20, and 25 are usually the better choices, and maybe 26 in Europe
It's typically best to stick with 15, 20, or 25
thanks
It's on 15 apparently
Can't seem to figure out the issue. Ran through a couple of these scenarios and not getting anywhere
@jovial plume: tell me about your setup -- hw/sw, etc
rpi4, latest HA, Tube POE CC2652p2
ok, running HAos?
Yes
I re-generated panID
And changed channels
Migrating from Conbee II to Tube POE CC2652p2
I haven't tried uninstalling z2m and reinstalling
meat:
test -w [PORT] && echo success || echo failure
does it give success or failure?
where port is /dev/ttyUSB0 (or 1) or /dev/ttyACM0 (or 1)
or whatever port is /dev/serial/by-id/
hey, has anyone used sonoff zigbee usb dongle ? Do I need to upload different OS on it before using it with zigbe2mqtt or no ?
failure using port as all of the above
Rebooted HA... And it's yet to wake up -_- please don't have died on me...
look at the logs
You'll want to flash it with the latest firmware, same as any other coordinator
@jade mirage https://pastebin.com/Xk86Ux2n
after that, will i only be able to connect mqtt devices with it or any zigbee/sonoff device ?
It's firmware for the coordinator... the USB stick has nothing to do with MQTT
You'll be able to use the stick with Zigbee2MQTT, or ZHA, whichever you prefer
@jovial plume: show me your config file for z2M
okay, thank you
Just checking that this is a good zigbee bluetooth dongle before i order... https://i.imgur.com/3s6wLqa.png
how do the logs look Emily?
meat: did you do this stuff: https://www.zigbee2mqtt.io/advanced/remote-adapter/connect_to_a_remote_adapter.html ?
It's not booting... So it'll take a bit to figure out =\
thats why the logs are needed
Don't think so. Let me look into it and see what I need to do
Hi guys. Seems like Philips HUE has a new version for many of my lights, but get an error when trying to apply it? "error 2022-12-30 23:09:02Update of 'media_filament' failed (Image padding contains invalid bytes)"
using z2m, v 1.28.4
oh, sorry (and thanks)
This is so weird and annoying. I've had 2 hue motion sensors die on me. Had the first one replaced by Philips, now this other one just died after sitting in the exact same place
All my other ones have worked fine. I've replaced the batteries so that isn't it
It connects but then it doesn't give any status updates
Only thing I can think of is that it's sitting right under my monitor so maybe that's causing some kind of damage?
Or that it's getting activated too much so that's messing it up somehow? It sits almost right behind my keyboard so any time I'm using my keyboard it's getting activated
It isn't totally dead though. Like the device will get added after I delete it just fine. But then it never sends any motion or other updates
The only constant is the location where it is. Something about that location and possible that it's getting activated/deactivated so frequently is causing this weird behavior to happen twice
On totally different devices
@molten linden do I need ser2net in order to use the CC2652P2 POE coordinator?
no
no, BOTH zha and z2m support serial over tcp OTB
hmm..can you help me troubleshoot? I can't seem to connect to the adapter
dm please.
FR sent
My aqara devices are falling off the netwerk when using ZHA.
Switch to z2m? Or is there something Im missing?
Switching integrations likely won't help, as it's up to the network.
- What coordinator are you using?
- What routers (mains-powered devices) are you using?
The network always has been stable. Coördinator was a CC2531.
Using z2m. Then I reinstalled HA and switched to ZHA.
Now my coördinator has been switched to SkyConnect.
Same issue.
The routers are dimmers in the wall. There is one every 2 meters or so. The routers and my Ikea blinds are stable. But the aqara temp and contact sensors keep dropping off the network.
Z2m always was stable. Zha never for the aqaras
What routers are the dimmers in the wall?
Aqara sensors are incompatible with some routers and drop-off after some time.
You can re-join them using a particular router and they'll hopefully stick to that.
Perhaps they changed parents (routers) when you switched sticks or changed integrations?
But again, the integration can't really cause Aqara sensors to drop-off.
I have ran for a few years with these routers.
But all the sensors are also very much in reach with the coördinator
I will just test with z2m I guess.
Is there a way i can have a zha_quirk ignore if it has been triggered mutltiple times in that last 30 seconds?
Hey will the zonoff zigbee dongle plus (not the newest version) work with the silicon labs multiprotocol add on? I'm redoing my set up, wondering if I should stick with zigbee2mqtt or go with the multiprotocol
Multiprotocol is exclusively for the Silicon Labs EFR32. The "old" Sonoff I think can be re-flashed with Thread firmware but it won't do Zigbee and Thread.
or is there a way to ignore updates via an automation for a bit. I guess i am looking for a debouncer
Put a delay at the end
@carmine hamlet at the end of my quirk with a sleep?
The automation
@carmine hamlet my automation is for when the switch turns off. When I turn it on it seems to cause the state to jump around a few times fro 10 - 15 seconds
I was hoping to avoid needing another automation for when i turn it on.
If you want the device to behave or act differently, then yeah, you need to do something at the source. I thought you wanted to control the effect
@carmine hamlet make sense i am trying to just limit the noise. I guess I can do an automation that does it but feels a little icky
i guess i will make my automation turn on and off the other for now till i can find something that debounces at the source
What device is jumping around?
My wyze lock
I am thinking about just adding a throttle to my custom quirk
Seems to be working as i want. Might move to a debouncer in my quirk
there a good sensor to use to determine if someone is standing in a room vs sitting or laying down ?
Hey I have a question relating to zigbee2mqtt crashing on startup having to do with an incorrect syntax for a filter I set up. Is this the right place to ask about it? I'm new to this discord
Related to HA in some way?
Yes, zigbee2mqtt is/was running as a HA addon
I'll ask the question anyway. I had z2mqtt running for a few months but recently I was playing around with the settings because I noticed there was a filter option and I wanted to see if I could filter out a message being sent from a device. I didn't read any documentation and I belive I entered a filter for "*slide". From what I can tell the asterisk is somehow breaking it because it immediately crashed and anytime I try to restart it it fails as well. I'll paste the log after. The issue is the only way I know how to edit the filter is through the user interface which isn't present as it's crashed.
I've tried to uninstall z2mqtt and reinstall just to clear it all out but it still gives me the same error message so there must be some file somewhere saving the settings that I need to clear before reinstallation, but I can't find it. I think finding and clearing it out will be the easiest solution
Here's the logs I'm getting. There's a lot of lines initializing my various devices before it gives the message that z2mqtt has started, but then immediatly crashes with a syntax error:
Zigbee2MQTT:info 2022-12-31 01:34:49: Zigbee2MQTT started!
SyntaxError: Invalid regular expression: /^*slide$/: Nothing to repeat
at String.match (<anonymous>)
at /app/lib/util/utils.ts:355:45
at Array.find (<anonymous>)
at Object.filterProperties (/app/lib/util/utils.ts:355:24)
at Controller.publishEntityState (/app/lib/controller.ts:270:15)
at Controller.start (/app/lib/controller.ts:159:26)
at start (/app/index.js:107:5)
I have home assistant running on a VM through ProxMox if that's important to know
Have you checked /config/zigbee2mqtt/ ?
@covert solar I think the regex is invalid because * is a modifier (match zero or more times) for the previous character or character group - in your case there is nothing before the *
If you are trying to match anything ending in 'slide', then this should suffice
/slide$/
@covert solar I converted your message into a file since it's above 15 lines :+1:
Hi all,
I am busy moving over to ZHA and created groups in ZHA, but I cannot see the groups as an entity in Home Assistant. Is that how it's supposed to work? I mean, I expected the Zigbee groups to appear as HA entities so that I can use them in scenes and automations, etc.
Removed them and added them again and now they are there.
Hi everyone, Im a total newbie in HA and started all the magic now in tiny little steps. I got an Raspi-4 with HomeAssistant OS and a Conbee II Zigbee Stick. Setup everything on an SD Card an ran it - works absolutly fine and perfect. Now I changed from SD Card to SSD and installed HA again from scratch and the Zigbee Integration isnt working anymore. Failing to setup with Logs that I dont understand...
I tried installing it again fromm scratch, using different USB Ports and rebooting ALOT but getting the same Error everytime.
"Failed to set up
Check the logs "
Anyone else having problems to update some Philips lights via Zigbee2MQTT?
"Update of 'Erdgeschoss.Schlafzimmer.Bettlicht.1' failed (Image padding contains invalid bytes)"
https://github.com/Koenkk/zigbee-OTA/issues/218, will be fixed with the next z2m release. There's a dedicated discord server for z2m too where this question has popped up several times in the last few days.
Oh sorry, thanks for the hint!
Just a bit annoying that the Settings Page fills with updates, I guess it is possible to turn off the Zigbee OTA Updates showing there but I didn't found it..
I have a device that I think is not supported by ZHA, but it might be supported by Zigbee2MQTT (https://github.com/Koenkk/zigbee2mqtt/issues/11633) How can I make it work with ZHA?
Make sure you Conbee is on a USB 2.0 extension cable. USB SSDs specifically are known to emit heavy interference.
I tested it again with the SD card and it works perfectly fine - back to SSD and the integration wont work. I will grab an extension real quick
Big Brain move buddy - thank you very much that fixed it... I think I need to study more FAQ's 🙂
FYI there's an existing support request here: https://github.com/zigpy/zha-device-handlers/issues/1955
Why is zigbee still telling me it is ot started while the log states it is started ?
Been busy for two days now trying to get a Texas Instruments cc26x2r1 into Home Assistant, but I can't get it to work.... Is there anyone who can take a look with me?
You're trying to use it as a coordinator for ZHA or Zigbee2MQTT, or ... something else?
@glossy lintel I converted your message into a file since it's above 15 lines :+1:
and I'm getting timeouts now
error 2022-12-31 17:18:21Publish 'set' 'state' to 'Cave - grande cave - interrupteur sonoff' failed: 'Error: Command 0x00124b002579be7c/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 (Data request failed with error: 'No network route' (205))'
this failing device is located a little further than the first on off switch (wired device) which is linked correctly and do not report errors
Anyone have tips on flashing a sonoff C2652P chipset for use as a sniffer? I read a thread suggesting cc1352p1lp\sniffer_fw.hex firmware due to similarities in the chipset. I used cc2538-bsl.py -evw -p /dev/ttyUSB0 --bootloader-sonoff-usb sniffer_fw.hex to flash but it seems like I did something wrong as I can't find the device in sniffer 2
Honestly it’s a lot easier to use an ezsp based one as no special fw is used or pick up a Nordic nrf for to use as a dedicated sniffer they aren’t expensive
Thank you!
Have you used windows or linux for wireshark? For some reason can't get loopback adaptor to list itself in wireshark in linux after successfully running zigbeesniffer.jar with a spare HubZB stick
nevermind got it
had to chmod a directory first
I think linux, but it's been a long time, I use an nrf now (though haven't sniffed anything for a while either) You can also use bellows to just dump straight to a pcap and then open it in wireshark later. that's typically what I did in the past with ezsp. only used the jar once.
Hi. Is there a place (IRC, discord, telegram, signal, anything) for zigbee2mqtt dev? I need to add some attributes to a device that's already supported by zigbee2mqtt. I have the cluste/attribute hex values, but I don't understand how to modify the .js file accordingly. This is the file I need to modify: https://github.com/Koenkk/zigbee-herdsman-converters/blob/master/devices/lixee.js ; and what I need to add is this: https://github.com/fairecasoimeme/Zlinky_TIC#version-0007 cluster 0xff66 attribute 0x0100
From the .js file I can list that the attributes are listed (line 64 onwards), but the attribute hex addresses are juts comments
So I'm not sure how to add a new attribute.
There is a Discord for Z2M, carefully linked from their docs, however the developers themselves aren't really active there
https://www.zigbee2mqtt.io/ -> Support -> The obvious link
running into issues with having right channel chosen. I used to have the resource for bellows commands, do you happen to have it?
Thank you. I feel silly for not having found it 😆
think it's just -c
just use the help within it usually
sorry meant issues with choosing channel in wireshark with zigbeesniffer
yeah sorry don't know that as well.
i'll give bellows a shot
Usage: bellows dump [OPTIONS]
Capture frames on CHANNEL and write to FILE in tcpdump format
Options:
-c, --channel CHANNEL [11<=x<=26; required]
-w FILE [required]
--help Show this message and exit.```
Can anyone lend a hand with zigbee2mqtt and Aqara switches? I cannot seem to get them to pair no matter how many times I try. Running latest edge version with Conbee ii on latest firmware.
Is the Conbee on a USB extension cable?
Tried pairing mode alone and also pairing mode and pushing button every second.
Yea, 3 ft extension.
Had to pair door window Aqara sensors by moving them with a foot of conbee. Then moved them to the door (which is further away then the switch) and they work fine now.
Obviously moving a switch screwed into a wall in not an option.
Did you check for WiFi interference on your Zigbee channel?
Z2M's default channel of 11 is ... usually a terrible choice
Zigbee is on 15 and Wi-Fi is in 11 (far end on right). Seems like it should be ok from the overlap/channel diagrams I have seen.
Should be, yes, but what about your neighbours?
Yes there is plenty of Wi-Fi on 1 and 11.
Was able to get a pcap dump. Imported in wireshark and there are around 5,000 messages over 60 seconds
Now the question is how do i interpret this? How do I know where the traffic is originating from/going to?
I've put in my network key so I think it's decrypted
you need to add your key to wireshark to decrypt
maybe I didn't do that correctly
NWK addresses should be there to know what is what 0x0000 is the coord
I fumble through this at times
I'm trying to trouble shoot these blue series switches
this is what i'm getting. i'm assuming this is still encrypted?
I think so
any idea how to go from the listed source to what device is actually involved?
sorry for so many questions
Source/Dest are the NWK addresses. you should be able to find that somewhere in z2m
Yeah, the network addresses are displayed in the z2m frontend
There are two places that list source. IEEE 802.115.4 and Zigbee Network Layer. Which one should I be looking at? The other weird part is that in the top pane where it lists source does not include anything listed in Z2M
here is an example
You guys are not having a new years eve? 🤨
heyya meaning
If I understand it correctly, I can plug some Zigbee coordinator stick into the USB port of a Pi 4 running home assist.
I am trying to set up motion detectors.
Yes
There are three Zigbee options with Home Assistant (regardless of how you install it). These are:
zha is actively developed as part of Home Assistant Core, using the zigpy stack, the UI also being part of Home Assistant. The EmberZNet based sticks are recommended (though the HUSBZB-1 uses an older chipset), but there are other options including the CC2652 based sticks. There is no list of supported devices, as any standards compliant device should work. Devices that require extra support are listed, and adding unsupported devices is documented.
Zigbee2MQTT is very actively developed and can run in an add-on, in a Docker container, and natively. As of 1.15 has a native UI, and it also uses MQTT for control and configuration. It supports mostly TI based sticks, with the recommended option being the [CC2652 based sticks](#zigbee-archived message). If you want to use an EmberZNet stick see this issue. The known working devices are well documented (which usually includes how to pair them so you don't have to find the manual), and adding unsupported devices is also documented.
deCONZ is relatively stable and mature with its own UI (and Discord server). It can run in an add-on, in a Docker container, or natively. Only the ConBee range of sticks and RaspBee GPIO boards are supported. Known working devices are documented, and how to request support for a new device is documented too (you can't add unsupported devices yourself).
☝️
I don't know much on this area and I have to deploy soon. Do you have any recommendations?
If you want easy then use ZHA and any Sonoff Zigbee 3.0 Plus stick
If you happen to buy the one that's CC2652 based then you could change to Zigbee2MQTT later if you wanted to
So CC2652 based zigbee stick of some type
I don't want to have to worry about compatibility issues
The stick is less important than the software you use - ZHA or Z2M
Those are what define compatibility
Which option is compatible with everything 🙂
Neither
Or both
See the bot message, to save me repeating what's in there #zigbee-archived message
Practically speaking it's a wash - it makes little difference most of the time
The bot message says that deCONZ doesn't support Pi 4 so I should avoid that ( assuming I read it correctly)
Can I use both on pi 4?
Don't buy anything based on the CC253x chips, and don't buy a ConBee/RaspBee
Yes, the hardware you run is largely irrelevant here
Other than SD cards having a terrible lifespan
I was going to try samung 512 MB ones since they are least likely to die
@fleet raptor When using Discord's Reply feature it defaults to pinging the person you reply to, which can get frustrating for the target. Use Shift + click on the Reply option, or click @ ON to @ OFF to stop this - on the right side of the compose bar.
You have to change this every time (thank the Discord devs for that).
The size of them is irrelevant
It was for storage space of video
If it's an endurance card then that's different
Are both zha and Zigbee2MQTT open sourced or is one proprietary?
Yes, open source
deCONZ is commercial
ZHA is part of HA
Zigbee2MQTT is external
If you just want to get going quickly, pick ZHA
You're better off getting an external USB SSD. Your SD card will die eventually
Zigbee2MQTT will require you to do a little more learning and more setup, which if you're in a hurry isn't ideal
Can you think of any issue I would have with using a zha for what I described?
Only if you buy some obscure Zigbee devices that aren't standards compliant
Which is much the same problem you could have with Z2M
Just stick to Xiaomi Aqara and you'll be fine.
Don't buy Tuya.
Don't buy Sonoff sensors.
Don't buy Osram bulbs.
Will anything on this page work with zha ? https://www.home-assistant.io/integrations/zha/
I might just buy a spinning disk 5 TB hard drive then.
That is the ZHA page...
I thought I asked since I saw mention of deconz on it.
There's a difference between will work and is a good choice
I mean, you can drive your car at 120 MPH in heavy rain on busy roads, but that doesn't mean it's smart to do so (or that you'll do so for long)
I should look through the zgate, silicon labs and TI based ones?
If you want easy then use ZHA and any Sonoff Zigbee 3.0 Plus stick
If you happen to buy the one that's CC2652 based then you could change to Zigbee2MQTT later if you wanted to
thankyou
Or just buy anything CC2652 based
I was scrolling through the conversation to see if there was an earlier statement answering my future questions.
@sour shadow Any idea how far this antenna will reach in a house? https://itead.cc/product/zigbee-3-0-usb-dongle/ I am thinking of using these sensors. https://itead.cc/product/sonoff-snzb-03-zigbee-motion-sensor/
@fleet raptor please ... don't tag me to demand my attention, just ask your questions
Also... I said:
Don't buy Sonoff sensors.
oh
The answer to range is ... about 6 to 8 meters you need to ensure you add routers to your mesh
And sorry, just didn't expect people to remain in chat for intermittent conversation.
Well... even if I'm not here others can answer you
That'd be the one I've suggested to you twice before 😉
Sorry, in a stressed mood right now.
More haste, less speed...
Range also depends heavily on the age and construction of your house. A brick house with brick walls vs. old plaster and lathe vs. drywall will have varying degrees of wall penetration just like wifi
And smaller rooms means more walls than larger rooms
Foil backed plaster is the speciality in my building. Good luck getting signal between rooms without repeaters.
Thankyou. That is picked out. Now I need to find a repeater and motion detectors and I think I will have all the hardware needed.
Xiaomi Aqara for any sensors
For repeaters any mains plug will do, Innr are well regarded
Is mains plug a brand name?
No, mains plug = a smart plug
(as in one you plug into the wall for power and something else plugs into it)
Is there such thing as a multi-outlet repeater plug? All the ones I see are bulky single plug
Depends on which country you're in
Theoretically anything permanently powered with neutral will repeat
There's not one global power standard
You can buy dedicated repeaters
This is the one time a CC2531 isn't a terrible choice... it's just not a great router
Do the Zigbee 3.0 sensors actually reroute if needed?
They do
US. I was looking for something like a six plugs that go in a two wall outlet.
Interesting. Would this reroute? https://www.amazon.com/gp/product/B07D1CRRVF/ref=ox_sc_act_title_2?psc=1
No, that's Zigbee 1.2
You want their E1/T1/P1 range
Though, if you're not messing with the routers it's fine
I have a few of them, they work well as long as you don't turn off the router they're connected to... which is a problem for any Zigbee sensor
I didn't see any multi-plug repeaters so I think I will get these unless you know a multi-plug solution. https://www.amazon.com/gp/product/B08P3T48MD/ref=ox_sc_act_title_1?psc=1
I don't live in North America, I have no idea what you have
I think he means an extension lead
Yeah, but I've no idea what the US market has... I barely have any idea about the EU market and they're next door
https://zigbee.blakadder.com/plugs.html This might have something @fleet raptor
Thankyou, though they are all single plugs. I was looking for multiple three prong plugs.
They are not all single plugs, I saw a number of UK and EU multi gang plugs 😉
Must be US
I just didn't look far enough to see if there were US equivalents
There must be US options ... I can buy a UK one and our market is tiny
Oh heck, you want an outlet?
Ouch, you're probably going to struggle, but I know you can get in wall switches to put behind them, if you have the room and the knowledge
(FYI, if you remove everything from ref=... onwards from an Amazon link it removes the tracking rubbish and makes it a lot shorter)
I wanted to avoid the power strips
https://zigbee.blakadder.com/Aqara_SSM-U01.html But this would probably work, you'd just need 6 of them
*Probably, I can wire a UK plug and a UK socket, but have zero idea how your electrical system works.
I wanted to avoid rewiring the house with the two plug repeaters.
You can just plug in plugs rather than rewiring anything
You read my mind, I was actually going to ask this because it was the one thing holding me back from buying Aqara stuff after seeing the info about them not rerouting. I guess it was old info
The old Aqara stuff is really sticky - it does reroute, just enough to prove that it can
Their Zigbee 3.0 stuff is well behaved
(Just damned hard to get a hold of outside of China)
Is there something the name to tell if something is zigbee 3.0?
Only if it says Zigbee 3.0
I've got one of their E1 remotes, a bunch of E1 door/window sensors, a P1 motion sensor, and the Mijia light sensor - all those merrily pick new routes when they feel like it
I like this compatibility list 🙂 https://zigbee.blakadder.com/sensors.html
It's user submission based, it's not complete, or necessarily entirely accurate... but it's the best thing out there for ZHA
||it's the only thing out there||
Zigbee2MQTT also has a great devices list
Is there any strategy other then braving the name of every motion sensor on the list for its spec sheet to see if it supports zigbee 3.0?
I was figuring if I am buying hardware, mine as well by hardware that will not give usability issues.
My non 3.0 Zigbee devices are fine
I did deliberately ensure that all my routers are now Zigbee 3.0, but even when I ran a mesh with some 3.0 routers and some 1.2 routers everything all worked the same
I'm not a zigbee expert and was wondering if anyone has a ballpark number for expected network messages over a given time. I recorded for roughly 60 seconds and had nearly 5,000 messages over that period of time with roughly 70% being broadcast messages. Is this normal?
Is this the channel for skyconnect help? Moving from Hubitat (via Maker API) to Skyconnect and seeing some issues where not all properties of devices show up?
I have some old SmartThings sensors that showed Motion/Occupancy in Hubitat, but SkyConnect/HA doesn't seem to show it.
I have a different version of the ST sensors (older) that do show motion/occupancy.
Well, that's just a stick you can use for Zigbee (or Thread)
Are you using it with ZHA?
I think so, Big red circle with a Z cutout? I just followed the automatic install steps when HA detected SkyConnect.
Then you're using ZHA
And the behaviour you're seeing has nothing to do with the SkyConnect - that's just a radio - it's going to be a feature of ZHA
You can look up the model of the device to see if it's supported by ZHA https://zigbee.blakadder.com/
Well, that guide isn't always terribly accurate
Apply a pinch of salt, or maybe a bucket load
Here is where you get "support", unless you're wanting to help improve/create the quirk to support all the features
Yea, its not on there, but someone in a github comment indirectly mentions they got the CentraLite 3325-S working.
I am familiar with code,. Be looking at the diagnostics and logs trying to see anything.
What is this "quirk" you speak of?
Thanks!
Got my SkyConnect today too, mostly on a whim since I've generally been pretty happy with Z-Wave. Given that, anyone have thoughts on something that really shows ZigBee's strengths vs. Z-Wave? I know there's more different things available for cheaper given the lack of regional frequencies and less restrictive licensing, but I'm curious if someone's got a specific use case that's not possible without those more offbeat/broader options
Ah, looks like its not using the right quirk. the 3305-S quirk has the 3325-S model listed, but it seems to be defaulting to a different one.
I have both, Most of my devices are legacy ST devices, which were zigbee. I have a few zwave devices. Mainly more of a "what could I get at a reasonable price", and now I am no longer restricted by a type of network.
Hi every one Happy new year for Down Under
I need to change the panid of my z2m adpater, where do I edit the config? I'm using the latest hassOS rpi4
any assitance?
I just got my Sky connect and am now repairing my zigbee devices. I have an Ikea remote https://zigbee.blakadder.com/Ikea_E1743.html, but it only shows me battery percentage and identify, no options for click on/off or brightness. How can I get those options? Do I need to use zigbee2mqtt? Can I use my skyconnetc with zigbee2mqtt? Should I run a docker instance with zigbee to mqtt with my old sonoff dongle also?
ZHA doesn't create entities for buttons or remotes; it only fires events (zha_event)
How can I look for those events and use those instead of my actions in my node red flows?
Developer tools > events and listen for zha_event
You can use the skyconnect with zigbee2mqtt, but support for it is only experimental so you're more likely to run into issues than with a fully-supported adapter
When I listen for zha_event and click my remote nothing happens
I restarted ha and it works now
Anyone else getting Hue bulb OTA errors? https://i.imgur.com/S6Ywkf9.jpg
Thankyou everyone, system is ordered.
@cyan temple search this channel and you'll find the answer
a resounding yes then; thank you -- #zigbee-archived message
See https://github.com/Koenkk/zigbee-OTA/issues/218#issuecomment-1367170277 or https://github.com/Koenkk/zigbee2mqtt/issues/15805#issuecomment-1367777902.
Depending on where you live, Z2M 1.29.0 will come out today or tomorrow and include a fix.
For now, just don't apply the updates.
Out of curiosity, what frequency does this use? https://www.amazon.com/SONOFF-Gateway-Universal-Assistant-Wireless/dp/B09KXTCMSC/ref=sr_1_4?keywords=Zigbee+3.0+USB+Dongle+Plus–ZBDongle-E
I see Zigbee devices use many different frequencies
Zigbee devices all use 2.4 GHz
As far as I know, everything you'll end up buying is 2.4GHz. Wikipedia says it can also use other frequencies like 915MHz in the US (which is the same band Z-Wave lives in), but I haven't seen things mention that they're on other frequencies
The 915 MHz is technically true, but I don't think any consumer devices are for sale that also use that frequency
If they use 2.4 Ghz then why does Zigbee need a controller?
A microwave is also on the 2.4 GHz spectrum but doesn't act as an AP
It's a different protocol (for Zigbee vs WiFi -- not the microwave). Bluetooth also uses 2.4 GHz
It's not WiFi packets, it's just the same frequency range. Lots of stuff uses it because it's open frequency everywhere
The coordinator forms the network, the routers repeat
I guess they used a different protocal for power saving reasons.
Some microwaves also have wifi, so double 2.4GHz!
Can those Microwaves play Crisis though 🙂
Yeah it's very low power. The battery powered devices wake up, do their thing, and then go back to sleep
Some devices can go years on a little coin cell battery
Thankyou for the information
Z-Wave is the same idea, very low power devices that can sleep most of the time, just on a lower frequency
Found these from your post, thanks, but also this one; https://github.com/zigbee2mqtt/hassio-zigbee2mqtt/issues/438, why several places? I also would think this could be a good place to announce on (too broad perhaps?) https://alerts.home-assistant.io/# It would be great to know where to look for an issue when things act up, now kind of hard to find them all
It's not a breaking issue though. It's just telling the user that a firmware update for specific newer Hue lights can't be installed -- it doesn't break your Z2M installation. Home Assistant Alerts is also only for HA integrations and Zigbee2MQTT just integrates via MQTT (not via a specific integration in HA).
The issue trackers are separate, as they serve separate purposes but the same issue is posted on multiple issue trackers now because those users didn't research their issue before opening a new one
Cool, thanks. Well, that is a bit of the point I was trying. For a dev it is natural where to go for these kind of things. For an ordinary user who just wants to know if and what, it could be clerarer where to look first. Anyhow, great job all involved, thanks a lot! 🙂
Just got the updated z2m installed and upgrading my remaining lights. But it is slooooow! Upgrading the older lights from 1.88 took about 15 minutes. This is estimated to about 60?! Is the upgrade that much bigger? Just curious, it seems to work quite nice 🙂
ZigBee updates are very very slow. My IKEA Tradfri remote took almost 3 hours
Battery devices can be really slow. I find powered devices a lot faster
Yeah the powered stuff is definitely faster, but either way it's just a slow protocol. I think the signal repeaters that came with my blinds took ~15 mins for a 200kb firmware file
I just received my HomeAssistant SkyConnect. Tonight i'll give it a go
Yeah, the max throughput of zigbee is 250 Kbps, so assuming a file size of 200 KB, the upgrade would take at least 27 minutes
what's the best way of add zigbee to HomeAssistant nowadays? That time I tried zigbee2mqtt was the way to go, but that was a long time ago and now there's a zigbee integration in HA that supports the sky connect usb stick. What's the current advice?
Oh this isnt good. I just got the update for Zigbee2mqtt and.. all my devices are now unavailable. Hm.. restarting HA fixed it seems but that was a bit worrying 😄
they're both free so you can choose yourself
Sure, but maybe the community was tilting in one direction
it is depending on which part of the community you ask
I personally prefer how Zigbee2MQTT handles things like button presses.
I also like the decoupled aspect and MQTT in general
Restarting HA and thus ZHA used to be problematic for me so I switch to z2m a few days after I got my zigbee stick. Now I can restart the two individually
@potent dock meet the MQTT part of the community 😄
And I recently started writing my automations in AppDaemon and directly used MQTT in there, much more logical for me as a programmer compared to the automation yaml stuff in HA
I try to use HA automations as much as I can but for certain level of complexity I also resort to node red
Prior to 1.29.0 z2m update I had configured an unsupported device (Philips Hue light), and now it's throwing errors. My assumption is it has to do with the .js external converter. Anything about the new update I can pinpoint to troubleshoot? I looked through the changelog and nothing stood out to me. For now I restored from backup and using 1.28.4-1 with no issue
Happy New Year all! Does anyone know how to put the ZBDongle-E in pairing mode when you flashed it as a router?
Publish 'set' 'state' to 'Cave - Grande cave - interrupteur sonoff' failed: 'Error: Command 0x00124b002579be7c/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 (Data request failed with error: 'No network route' (205))'
all my devices are disconnecting from my sonoff usb zigbee key
😦
I also get another error
'MAC transaction expired' (240))'
really, I can't say switching from the official sonoff hub to that key + zigbee2mqtt helps... it's actually way worse
i have one of the zigbee smart knobs, is there a way to make them a bit more responsive? i'm using a conbee2 and the zigbee integration
There's probably a few dozen "zigbee smart knobs"
Tuya 
Well... generally speaking... Tuya's pretty far from good
Some Tuya (Zigbee) devices aren't total crap
what would you use/what alternative is there?
Almost anything else (other than Sonoff)
Ikea do some dials, and Terncy does too, but they'll all have some lag to minimise sending streams of messages
some lag would be ok, but rn it sometimes takes 10 secs for them to even update
let me check the ikea one
Yup
I have the Terncy dial, it's way faster than 10 seconds, typically less than one
While I'm trying to pair my zigbee: https://pastebin.com/ngzZQixM
meh, probably going to buy one then, ty. sucks a bit, it's somehow always a shot in the dark to get a good device
If you avoid Tuya you'll usually be better off 😛
dumb question but is there a way to change the ZigBee channel with ZHA?
will do!
Yes, it's documented in the integration docs ...
Oh thanks i didn't see that, I'll check again
I thought yaml config was depreciated, I guess I was wrong
Well, yes, but no. Some YAML is deprecated
link in case someone has the same question in the future
https://www.home-assistant.io/integrations/zha/#defining-zigbee-channel-to-use
Hi all, I was wondering, can someone explain this change to me. I can't wrap my head around what changed. https://github.com/Koenkk/zigbee2mqtt/pull/15555
I see them behave in exactly the same way they used to, unless I missed some idiosyncrasy.
This cover type always created a separate entity for moving state, and this entity still does exist.
https://i.imgur.com/WTIIyBi.png
Am I to understand now the main cover entity has a moving attribute, which was not there before?
I don't recall if it was there before or not.
https://i.imgur.com/mhPw75N.png
I don't see the state changing to opening or closing - just up or down as it used to be.
Here is the commit: https://github.com/Koenkk/zigbee2mqtt/pull/15555/commits/ec9cedd140d589fe72203a56f18d590890943bcf
I asked about it in the z2m discord and was told to discuss it here.
This change doesn't seem to have any effect on my end as I think it should work (but may be wrong), or I may need to do something first for it to work. Re-discover the device, re-pair (hopefully not), etc?
Looks like it just depends on if your device reports a “motorState” or a “moving” state. If it’s the former, no change. If it’s the latter, it will now show up properly where it did not before.
Don’t know much about that specific hardware, but devices can* change what they report/support between revisions of the same part number. Maybe something like that applies here?
Two follow-ups though:
- I have the exact hardware the original reporter indicated having the issue and I see no change whatsoever.
- If I understand the pull correctly, the detected state/attribute should be opening/closing/open/closed/stopped, but mine are still up/down/stop.
I just came to share my experience moving to the HA SkyConnect dongle for my zigbee stuff. The native integration didn't detect some of the devices I was adding (some tuya temperature+humidity+air-quality) so I had to use zigbee2mqtt. Not a big deal since it's what I was using before.
Range: A bit better than my Texas Instrments CC2531. Hard to say exactly, but maybe ~15 to 20% better. Not massively better but I can notice it.
Caveats: In zigbee2mqtt you need to switch to the ezsp adapter.
Power: I can't say, I have only 4 zigbee devices. One sonoff mini, the aforementioned air quality sensor, a smart plug I only bought to extend range to signal reaches the garage and an ikea switch button
Dunno. The z2m folks probably had you come here because you’re reporting what you see in HA. Did you go to the device in the z2m dashboard and see if you can see the states there?
Might go back to the z2m folks and show them that without any mention of HA. HA can only see what z2m publishes.
Good point!!
This config is only read when forming a new network. There currently isn't any easy way to change the channel and also to have devices be aware of the change. A stopgap is to download a network backup, change the channel in that, and then restore it.
Hey guys, those in North America, what Zigbee plug (that is also router) do you guys use? I tried Sonoff but it has been horrible in reliability and caused my network to get all messed up.
sengleds work well. have an innr 15 amp on one order to try as well.
I use innr and sengled I have ewink as well but prefer innr over all
Innr
I've been enjoying these: https://a.co/d/5KXxApQ
RobC: do they show enery use?
Nope
ok....
Cheap, small, have a physical button, flawless inclusion/exclusion, fast
But just simple on/off
Cool... I[m trying to monitor a few appliances
The ThirdReality plugs need an OTA update before they properly restore their state after a power outage. Other than that, they work and turn things on and off.
Hmm, all of mine are on v1.00.19 and Z2M doesn't pull up any available updates. Is there something newer?
Mine seem to revert to 'off' if I unplug them and plug them back in. Better than turning on, but not ideal I guess.
https://tr-zha.s3.amazonaws.com/firmwares/SmartPlug_Zigbee_PROD_OTA_V29_v1.00.29.ota I think is the most recent firmware for them
Yeah, they turn off after being unplugged/plugged back in, instead of respecting the power-on setting you configure.
I'm trying to do a local update and it doesn't want to do it unless I add "force": true" for some reason
Zigbee2MQTT:debug 2023-01-01 21:38:53: ZigbeeOTA: Loading override index /app/data/my_index.json
Zigbee2MQTT:debug 2023-01-01 21:38:53: ZigbeeOTA: getting local firmware file /app/data/SmartPlug_Zigbee_PROD_OTA_V29_v1.00.29.ota
Zigbee2MQTT:debug 2023-01-01 21:38:53: Is new image available for '0x282c02bfffeb336c', current '{"fieldControl":0,"manufacturerCode":4659,"imageType":54182,"fileVersion":268513281}', latest meta '{"fileVersion":268513310,"url":"SmartPlug_Zigbee_PROD_OTA_V29_v1.00.29.ota"}'
Zigbee2MQTT:debug 2023-01-01 21:38:53: Update available for '0x282c02bfffeb336c': NO
Zigbee2MQTT:info 2023-01-01 21:38:53: No update available for 'LR Center Lamp'
268513310 is clearly larger than 268513281, so it must be looking at something else
I don't want to brick it, so I'm apprehensive about forcing it without knowing what it thinks is wrong
pretty sure there's a bug in this commit: https://github.com/Koenkk/zigbee-herdsman-converters/commit/8cc07f3e839f80febe50b7e58144367dfc56e01d
the debug statement statement is definitely wrong now:
logger.debug(`Update available for '${device.ieeeAddr}': ${available < 0 ? 'YES' : 'NO'}`);
if (available > 0) {
logger.warn(`Firmware on '${device.ieeeAddr}' is newer than latest firmware online.`);
}
Other than that, they work and turn things on and off.
can't say this about my OSRAM plugs lol
yeah, I also had some issues with Z2M not saying there was an update available when testing. But it did show the update using an update entity in the HA UI (with an "update" button)
Even that looks broken to me, but the comments indicate that it was done to support HA
Looks like the change was half-done
Just out of curiosity: How much bandwidth does zigbee usually offer? I see firmware updates taking 30mins and more. Are files that big? 😉
Low bandwidth + very low power/slow devices
Is it wise to trigger updates simultaniously?
I'm updating 10 now with no problems
Straight from the z2m guide:
"While a device is updating a lot of traffic is generated on the network, therefore it is not recommend to execute multiple updates at the same time."
Pfft
😄
Generally, updating multiple at the same time can clog up the network to a point where stuff just doesn't respond in a timely fashion.
But if you don't need to touch your lights or switches for ~10-30 minutes, go for it 😄
Is it wise to trigger an update via HA, while Z2M does not yet show any update necessity?
There's a bug in the current z2m version with the OTA tab 🙂 https://github.com/Koenkk/zigbee2mqtt/issues/15862
"update_available" is set to null for some reason, even if there is a newer version available, making it so that you can't currently update from the Z2M GUI. Triggering the update manually with an mqtt message, or through HA, works fine.
Yeah, I've seen that the firmware version format switched to integer (from string).
Thanks for the insights.
Any good recommendations for good Zigbee no-neutral wall switches that also work as routers ?
literally none
And with neutral?
My bad, I meant wall sockets, not switches
I missread
do you live in a country that takes any type of wall socket?
not a lot of those that aren't tuya, best choice probably Schneider Electric
Innr also do EU plugs
Schneider electric has zigbee devices? That would be ideal because ever wall socket in my home is already from Schneider
That said, other than one Ikea battery switch all my zigbee devices are tuya and they have worked fine
They would blend with the rest of sockets
are plugs wall sockets?
aren't wall sockets things that go into the wall that you plug plugs into
SE has their own "Wiser" ecosystem, no idea if that's based on Tuya or not though
I have a handful of Namron 5401395 ovens... connected via the zigbee coordinator. They seem to be missing a few of the settings one of my friends sees when connected to zigbee2mqtt.
CCT711119 is a smart plug from them 😄
Who should i poke to get them to support all setting in my setup?
You?
Start by checking that you're both on the same version of Z2M
Then check that they're reporting the same model and firmware version in Z2M
they are all identical, bought on the same day 😉
these to be exact: https://www.zigbee2mqtt.io/devices/540139X.html
And you're both on the same version number of Z2M?
probably
It would have helped if you'd mentioned that earlier
https://www.home-assistant.io/integrations/zha#zha-exception-and-deviation-handling you get to help create a quirk
If I open a innr Zigbee light bulb, where can I read up what the configuration entities of it mean and how to properly set up the values? I'm not sure where even to search for that documentation
e.g. number.innr_rb_278_t_start_up_color_temperature is at 454, what does that value mean and what proper values and their impacts are there?
Are you using ZHA or Zigbee2MQTT?
I have this remote: https://www.zigbee2mqtt.io/devices/929002398602.html
I use the upper button for on/off of a hue led strip and the two below to control its brightness.
I want to use the "hue" button to trigger a HomeAssistant scene. Is that possible? (Zigbee2mqtt)
ZHA
ok, i'll look into it 😉
@mighty river Z2M documentation for that device state the color_temp_startup value is between 153 and 555, the higher the warmer the color is.
Yes, with #automations-archived
It's mired scale (or reciprocal megakelvin)
Good thing with Namron though, they include the complete list of all zigbee stuff they support...
thanks, where can I find and read up on that documentation?
and is there some converter like if I have x K as color temp in mind, what does it correspond to on that mired scale?
That's mostly Z2M specific, but will somewhat translate to ZHA as well
Z2M addon fails to start with after a power outage. I run HAOS through VmWare and have a Sonos Zigbee controller. I've tried disconnecting the USB device through VMware, restarted PC and phyiscally reconnect it to USB. Ideas? https://pastebin.com/5ScvnyBC EDIT: Fixed it. database.db was missing "} at the end for some reason.
https://www.tanguayphotomag.biz/colour-temperature/mireds.html <- Here's a mired to Kelvin conversion table 😄
yeah my point was I was wondering where I can even read up what those values mean
so if I read this doc, what is defined as "start_up"? After it was just off -> on or after it completely lost power at some point?
maybe you can help me out to understand if my bulbs are actually losing power. My setup the following: a dumb momentary switch (essentially the button goes back to normal position once pressed), behind it a fibaro smart switch set to "momentary switch" setting, and the power cable goes to the innr light bulb. So when I turn off the innr light bulb via this switch, does it actually lose power or does it just receive a "turn off" pulse signal but still keeps its power?
my understanding is that this momentary switch doesn't completely cut the power but just sends a toggle signal, right?
Depends entirely on the behaviour of that smart switch
However, given that it's Z-Wave and your Innr is Zigbee, I doubt very much there's any "signal" involved, other than cutting power
I'm getting the same error if I first disconnect the Sonoff dongle in VMware and start Z2M addon in HA. Does that mean Z2M can't find my dongle? Hmm...
If I do dmesg in terminal addon in HA it says usb device found and attached to ttyUSB0
then 2 other thoughts:
- if the zwave switch is "off", but the innr light bulb is reporting its state in HA and can be toggled directly in HA, is that not an indication that it accessible and thus has power?
- if the zwave switch is "off", but I'd touch the inside of the light bulb socket with some electricity meter and it showed a flowing current, would that be an indication that the zwave switch is not completely cutting the power to the bulbs?
Well, check the settings
You have it in front of you, all we can do is guess based on what you tell us
"settings" of the zwave switch?
That too
well as switch type the zwave switch is configured as momentary switch
Well... turn it off and see what happens to the Zigbee bulb
Three options:
- Nothing
- It loses power
- It turns off briefly
if I turn the zwave switch off, the physical light bulb turns on, but in HA its state is reported as on
Then it sounds like probably (3)
I've been having weirdness last couple days with my zigbee stuff too... it detects and reports stats from the switch, but turn it on and it flips state and reports a zigbee error swiching back immediately. But only intermittently. It's kinda weird. And then sometimes an hour after my automation triggered the switch switches. Very odd.
so then my switches are never cutting off power to the light bulbs, hence they shouldn't be influenced by that color_temp_start_up setting anyway
?
Well, from the fact that it's turning on when you turn the switch off I'd expect that it's cutting the power
the light.innr_lampew_arbeitszimmer entity stays and continues to stay in the "on" state. when I toggle the switch.doubleswitch2_lampe_arbeitszimmer entity (the zwave switch), it turns this innr light bulb physically on or off, but the light.innr_lampew_arbeitszimmer entity doesn't change its state to off. so you're saying it may be a lag and the power is cut off to the innr lamp and it just hasn't updated its status in HA?
Well, the not updating in HA sounds like the light isn't configured to report state changes
In Z2M that'd be done by binding it to the controller
That’s how I understand the terminology too. Sockets are in the walls, plugs are the things you insert into the sockets
Z2MQTT addon UI gives me a 401: Unauthorised when trying to see the UI. The log looks fine, and I've tried restarting it a couple time, as well as HA. Not sure if it's happening since I updated it today or earlier on (it's been days since I accessed).
Any idea?
is it possible to do that in ZHA somehow?
No idea, I'd assume so but I don't use ZHA
hmm so I turned off the zwave switch to off, updated the start_up_color temp in the innr bulb and HA has popups in lower left saying "Failed service call to set value". So maybe I guess that's an indication that power is cut off and the bulb's parameters can't be updated
nope. when i flip the light.switch of the bulb, it turns to off in the HA gui, the physical bulb stays off, then the light.switch goes back to the on state in HA gui
And ... now you know what's going on
what a journey
Hopefully that's a Sengled Zigbee bulb
nah it's an innr zigbee bulb
Ah well, then you've been screwing up your Zigbee mesh all this time
why hopeful for a sengled bulb and why have i been screwing up the mesh?
Because Sengled bulbs aren't routers
And, you've been turning off a router for your mesh
That means that your devices are continually having to work around a changing mesh as you turn it on and off
Some devices take hours (or may never) re-route
oh... yeah that's awkward. and I was working on the assumption that i've done the proper thing with those fibaro smart switches that they don't turn off the electricity completely but just "toggle" the signal....
hmm just thinking how to salvage this. can i somehow set the fibaro smart switches to just send a signal instead of physically cutting the power on/off when they're triggered, thereby toggling the light bulbs via the protocols?
Yey. Figured it out. database.db was missing "} in the end for some reason. Weird stuff. Added that and addon started.
The only way to do that is to use HA for the on/off and not have the Fibaro control the load at all
Hmm... after latest Z2M addon I have 3 IKEA devices asking for update in HA. They want to update from version 2.3.080 to 587728433. Hitting update does nothing. Wth? 🙂
What version number of Z2M?
1.29.0-1
When checking OTA tab in Z2M it looks like those devices have an update pending. Not able to update there though... just says 'device didn't respond to OTA request'. I guess I need to be home to physically wake it up before I do the update.
If it's battery powered then yes
"New" ... in the last few months
https://github.com/Koenkk/zigbee2mqtt/issues/15862 <- It's a bug in the latest Z2M, OTA from it's gui is currently bugged. Triggering it manually through either an MQTT message or through HA works fine.
Fixed in dev version, but 😄
Ah, thank you.
yes I wanted to ask this here :à)
can I use a usb hub as extender to plug my sonoff zigbee key ?
ok so usb3 is a no go
thanks
...
the key is indeed not detected anymore under z2m
...
If you want to use a USB 3.0 hub you still need to use an extension cable between the hub and the stick
ok then it's worthless
I'll simply try an extension cable
but I'm quite afraid about z2m, it lost the 5 devices I paired so far
loosing 1, I'd get that, but loosing the 5 of them
other question
can I plug the key on a usb port 3.0 anyway ?
Sure, with an extension cable
ok, so in short, for now I see this
Zigbee2MQTT:info 2023-01-02 14:32:39: MQTT publish: topic 'zigbee2mqtt/Salle a manger - senseur temperature et humidité sonoff', payload '{"battery":100,"humidity":55.78,"linkquality":105,"temperature":20.05,"voltage":3200}'
Zigbee2MQTT:info 2023-01-02 14:32:39: MQTT publish: topic 'zigbee2mqtt/Cuisine - senseur température et humidité sonoff', payload '{"battery":100,"humidity":59.66,"linkquality":58,"temperature":20.3,"voltage":3300}'
Zigbee2MQTT:info 2023-01-02 14:32:39: MQTT publish: topic 'zigbee2mqtt/Cave - buanderie - interrupteur sonoff', payload '{"linkquality":87,"power_on_behavior":"previous","state":"ON","update":{"installed_version":"1.1.1","state":"idle"},"update_available":false}'
Zigbee2MQTT:info 2023-01-02 14:32:39: MQTT publish: topic 'zigbee2mqtt/Cave - Grande cave - interrupteur sonoff', payload '{"linkquality":61,"power_on_behavior":"previous","state":"ON","update":{"installed_version":-1,"latest_version":-1,"state":null},"update_available":null}'
Zigbee2MQTT:info 2023-01-02 14:32:39: MQTT publish: topic 'zigbee2mqtt/Salon - senseur température et humidité sonoff', payload '{"battery":100,"humidity":45.31,"linkquality":112,"temperature":25.38,"voltage":3100}'
Zigbee2MQTT:info 2023-01-02 14:32:39: Zigbee2MQTT started!
Zigbee2MQTT:error 2023-01-02 14:41:09: Publish 'set' 'state' to 'Cave - buanderie - interrupteur sonoff' failed: 'Error: Command 0x00124b00257a0f79/1 genOnOff.off({}, ````
it's strange, as it looks like the sensors do update z2m
but I cannot query anything from the webui
my switches (on/off) even started blinking again, which means they are in pairing mode again, right ?
actually, even trying to REMOVE a device brings me this error :
error 2023-01-02 14:44:31Request 'zigbee2mqtt/bridge/request/device/remove' failed with error: 'Failed to remove device 'Cave - buanderie - interrupteur sonoff' (block: false, force: false) (Error: AREQ - ZDO - mgmtLeaveRsp after 10000ms)'
info 2023-01-02 14:44:31MQTT publish: topic 'zigbee2mqtt/bridge/response/device/remove', payload '{"data":{},"error":"Failed to remove device 'Cave - buanderie - interrupteur sonoff' (block: false, force: false) (Error: AREQ - ZDO - mgmtLeaveRsp after 10000ms)","status":"error","transaction":"y3e21-1"}'`````
I have to check "force remove" to get rid of it
Is it an end device? Battery powered...
nope
it is a power switch
the first one is located at max 1m from my HA server
now I forced unpairing it
and it is not discovered anymore...
info 2023-01-02 14:49:00MQTT publish: topic 'zigbee2mqtt/bridge/response/permit_join', payload '{"data":{"time":254,"value":true},"status":"ok","transaction":"brj89-4"}'`````
and thats about it....
damn I don't get it
Good morning,
i have a custom CC2652P device with 8 endpoints of Smart Plug type, each one exposes its energy attribute (the devices are connected to a Z2M instance with a custom external converter), but in my MQTT integration i only see 1 energy entity for device
How could i make it show all the separate entities?
possibly your external converter isn't telling z2m to create energy entities for HA
Can I replace a standard light switch with a zigbee model that’s wired in parallel with another normal one? (Eg just one of the switches at the bottom and top of a staircase)
Yes, but then you won't know if the light is on or off
So in this pretty common situation, I need to buy two switches? And I can keep the existing wiring?
You put a smart switch module between the switches and the light being controlled
That or you have the second switch wired to the smart one, so that only the smart one controls the light, and the second switch is just an input
Wiring in parallel sounds a bit iffy to me, I'm not confident its guaranteed a smart switch would not be damaged by applying line voltage to the load terminal when the switch is off. Maybe they're designed for that, but I don't know.
Perhaps "in parallel" is not what you meant though. I think you're just describing a 3-way, which is not the same thing as "parallel"
I’m probably using the wrong word,m - tbh the wiring confuses me in this situation. I’ve got two separate switches controlling a single light (I thought my staircase example would be a common thing)
The second switch remaining a dumb one but becoming an input would be ideal
But as long as I don’t have to change any of the wiring, I’m happy to buy additional switches - just trying to get my head round it!
sorry, yes what you're describing is not parallel, but a 3-way (at least it's called that in U.S., I think in some parts of the world that's known as 2-way...)
many smart switches should be able to handle that case.
The problem is with multiple smart switches you'll have to track the actual state of the light separately
You turn on switch A turning on the light, then you turn on switch B and the light turns off
Also, it'll get expensive
Yeah gotcha - so the “ideal” is to have one one smart switch?
Well, sort of
Something like that instead
Put that between the existing wiring and the light
It's not required to have a module, it can work with a smart switch, it depends on your wiring. Many smart switches can work fine in a 3-way with a dumb switch, and they track the light state correctly. I know zooz do, but that's z-wave. I have less experience with zigbee.
That brilliant info - I’ll look into what specific switches support and the module option
You need to read the manual for the specific switch you're looking at to understand the 3-way wiring options.
There are 3-way smart switches that allow for a dumb switch (e.g. Wemo), but not all brands support doing that. Others will require a smart switch and an "add-on switch" which is basically there to complete the circuit and send a signal back to the "real" switch
Jasco sells 3-way Zigbee and Z-Wave switches that require the "add-on switch" to operate properly, for example
Thanks a lot everyone!
It's clearly possible for a 3-way switch to work fine with a dumb switch, so the only explanation I can come up with as to why they require an add-on switch is to milk you for more money
I do believe there are some possible advantages to using an addon. For one in the smart+dumb case, it may not work for all possible ways the house could be wired, or it may force you to locate the smart switch in only one of the multiple locations. If you have an addon you should be able to locate the smart switch in any of the locations. Some people may prefer the dimmer switch in a specific spot.
But yes usually it is more expensive for addons.
In theory an addon could also support dimming, which a dumb switch couldn't. I don't know if any do though.
Yeah for a dimmer you'd definitely need the addon, though I don't know many use cases where you'd care about a dimmer on a 3-way since it tends to just be stairs, entryways, etc that you're putting a 3-way to meet code
My kitchen has a 3-way on both sides, would be nice to be able to dim from both. Could always just buy two smart switches I guess.
I have several Aqara temperature sensors... but one of them won't reconnect after being offline for a while... any tips?
well, now it has been a few weeks...
it lost connection due to poor signal strenght i guess... (it was inside a fridge :))
a have another one in there that works pretty fine...
Ah. Have you tried changing its battery?
yep, and re-pairing it... never shows up...
it seems to work as the other ones though... same blinking as when i pair one of the others
But never shows up in ha...
How are you joining it? Holding down the button until after the third blink, then letting go and just waiting?
This was fixed last night, BTW
I find it a bit weird...
I don't see the "Exposes" power_on_behavior section for my Third Reality plugs that I do for my Ikea plug, and I don't see anywhere else that I can set the power_on_behavior for the TR plugs. Am I missing something?
I don't use Z2M so I can't say why that is missing, but it's a standard ZCL attribute
hmm, okay. odd that I see it for the Ikea plug, but not the others
ah, it's specified in the converter, and it's missing for the TR plugs
yeah, i was just about to say that heh
toZigbee: extend.switch().toZigbee.concat([tz.power_on_behavior]),
fromZigbee: extend.switch().fromZigbee.concat([fz.power_on_behavior]),
exposes: extend.switch().exposes.concat([exposes.enum('power_on_behavior', ea.ALL, ['off', 'previous', 'on', 'toggle'])
.withDescription('Controls the behaviour when the device is powered on')]),
Is it rated for being in a fridge or exposed to water? There's a lot of condensation that happens in a fridge, so if the rest of the electronics aren't sealed against moisture, that could easily kill it
yeah, I was going to say that it's probably already dead 💀
Good afternoon all. Any TRV / UI experts in? I have added a bunch of Moes TRVs (MoesHY368_Type1new) into HA (latest build as of today) and some have a range of 7-30 C which is perfect. Others have a range of 7-300 C which is not exactly perfect. Looks like there is some kind of multiplier at work but I cannot find where that is set / stored. Any idea how to get the 7-300 C TRVs back to a reasonable range? Signature files look the same for a 7-30 C TRV and a 7-300 C...
I have integrated with ZHA, would I be better off migrating everything to Zigbee2MQTT, for these devices to integrate uniformly?
depends on the light switch. if looking for zigbee and in the us inovelli has a new blue series that can work with one dumb switch and a smart switch in 3 way like you describe
I updated Z2M from 1.28.4-1 to 1.29.0 and now it won't start, and this is the error I'm getting: https://pastebin.com/2D5vaCD3
I think it's related to this unsupported device added to external_converters (https://pastebin.com/jDADqttU), but what about the 1.29.0 update broke this? I looked at the changelog and nothing stood out
Well, the easy test is to remove the converter and try again
Just looked at the Amazon page for the Aqara sensor. In the customer questions, somebody asked about putting it in a fridge and Aqara themselves said don't put it in a fridge, so yeah it's very likely dead
The Aqara Temperature and Humidity Sensor is suitable for indoor use. We do not recommend using the sensor in the refrigerator.
Normal operating temperature:-20 to 50°C (-4 to122°F); humidity: 0~100%, non-condensing environment.
Do not expose the sensor to rain or vapor. Do not install the sensor in the refrigerator, kitchen or bathroom.
sorry fcor being such a noob about it, but do I have to flash tasmota to all my sonoff devices to get them to work with zigbee2mqtt
low voltage + moisture is usually a death sentence for sensors
No, you can't flash Tasmota to Zigbee devices - Tasmota is for WiFi devices
If you've bought Zigbee devices then they'll work with Z2M (at least as well as any of Sonoff's sensors work)
for example, I have sonoff dualm3 switch, and my Zigbee2mqtt doesn't recognize it when in pairing mode, should i do something besides just putting it in pairing mode?
Right ...
Did you read the product description?
Dual Relay Wi-Fi Smart Switch
That's not a Zigbee device
No... not even close
Sonoff makes Zigbee stuff, but not exclusively
They're probably better known for their WiFi hardware
here's the tasmota info https://templates.blakadder.com/sonoff_DUALR3.html
so i do have to flash it right ?
It's never going to work with Zigbee2MQTT
You can't turn a WiFi device into a Zigbee device like that
You can flash it with Tasmota (in this case) and use the Tasmota integration with it
so if i buy zigbee devices then it should work with zigbee2mqtt without doing anything else, right?
I've flashed that device with tasmota before, it's very ideal if you want to control the relay in HA. As long as you have a stable connection, everything will work as you'd want. It even has some fancier controls for momentary stuff on the device.
If you want to buy something that "just works" buy something on that list
okay, thank you
one more question
sonoff zigbee 3.0 usb dongle plus is used for what exactly? Only for zigbee devices?
because you need that for zigbee2mqtt if im correct
that is a zigbee coordinator. only zigbee devices will connect to it.
The TL/DR is that anything for Zigbee2MQTT (other than the little MQTT bit) is for/about Zigbee
As the name hints, it's for "connecting" Zigbee devices to MQTT, allowing other things (like HA) to use those devices
Woohoo, works!
{
zigbeeModel: ['3RSP019BZ'],
model: '3RSP019BZ',
vendor: 'Third Reality',
description: 'Zigbee / BLE smart plug',
extend: extend.switch(),
ota: ota.zigbeeOTA,
configure: async (device, coordinatorEndpoint, logger) => {
const endpoint = device.getEndpoint(1);
await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff']);
await reporting.onOff(endpoint);
},
toZigbee: extend.switch().toZigbee.concat([tz.power_on_behavior]),
fromZigbee: extend.switch().fromZigbee.concat([fz.power_on_behavior]),
exposes: [e.switch(), e.power_on_behavior()],
},
I'm getting 401: Unauthorized in Z2MQTT when I try to go into the UI. The addon works and my devices work, and the log doesn't show errors.
I'm not sure when it started, but today I updated it and also I replaced my broadband router (same model and I'd say same settings).
Any ideas?
The only auth built into Z2M is the auth_token (https://www.zigbee2mqtt.io/guide/configuration/frontend.html#advanced-configuration)
If you didn't set that it's a problem with the add-on
nope, didn't set it. Can I get help here or should I go to #add-ons-archived ?
Assuming it's the only problem add-on here should be fine
hey folks, any recommendations/experience on wireless zigbee water valves (excluding sedna) available in EU?
Can anybody recommend a reliable wireless dimmer remote? The IKEA Tradfri dimmer seems like a good value but I've seen some people here say that they are prone to issues like rapid battery drain for no apparent reason. I'm in the US and use Z2M if that helps
I got two square ones from IKEA, no drain
hmm, I had done some searches here and Rosemary had mentioned drain when they're not paired to their hub. Maybe it's only certain buttons?
The tuya gas/water ZigBee controllers are very popular, cheap, and work flawlessly with z2m
https://smarthomescene.com/reviews/tuya-zigbee-water-gas-valve-controller-zn231392-review
Order from AliExpress
they work with ZHA out of the box as well, no quirk needed and none of the typical tuya noneense.
I use Hue dimmers, they work very well and I've only ever had to replace 1 battery in the 2 years I've owned them (currently have 3)
I'm having a little bit of trouble with my Sonoff Zigbee 3.0 dongle plus. I have flashed it and installed the most up to date firmware, but when I plug the dongle into my home assistant (pi 4) it all falls down. Home Assistant discovers it and when I tap configure I get a prompt to choose the network settings for the radio. I am just starting, so currently I don't have any other devices to Restore, so I tap on erase network settings and form a new network. Then she bugs out and it just says error. I tried tapping upload a manual backup but I have nothing to upload. Any help with this would be fantastic
What is the absolute best co-ordinator money can buy?
by firmware i'm assuming you're meaning the open source one by koenkk? and not the latest sonoff firmware?
if not this is the one you want https://github.com/Koenkk/zigbee2mqtt
oops that z2m not the firmware
Open sauce
are you using ZHA or Z2M?
ZHA is the one that is discovered
I've not used ZHA so cant assist on that front, it tends to be less reliable than Z2M, most people around tend to install Z2M which bypasses ZHA and tends to work well.
np
you have to add it as an integration click the link i provided above and it should give you instructions
Best ... is very personal, but I'd buy one of Tube's
Got a link? my network has completely given up the ghost and only thing i can think to do is change the coordinator at this point as not sure my Sonoff Zigbee 3.0 dongle plus is capable of running all those devices reliably
I assume you mean tubeszb?
i dont remember the exact number but i think it's around 50
Is that all?
I have about 80 to 90 on my Sonoff P, zero stability issues (other than Z2M shitting the bed last night, but a restart cleared that)
mine hasn't worked in almost 2 months and i've reset all the devices and issues persist, it's gotten even worse over the last week when my bulbs have stopped working and i hadn't touched it, i've not logged into the box to look into that yet as i was too ill till this morning
You've done all the usual things? USB extension cable? Checked for WiFi interference? etc ettc
yep
Changed channel?
Pretty sure I tried that, but will try a diffrent one when i get the chance
Check what channel your Wi-Fi is on and if you can scan for other networks check those too. Then avoid all of them.
pretty sure my wifi is on 11
and I think ZigBee is on something like 23
whatever the optimum number was for around that space
Hopefully those numbers aren't what you're really using
Zigbee should generally be on 15, 20, or 25 (or maybe 26 in Europe)
looks like the usb stopped working right on my server the other day which is why the lightbulbs went down, wating on it rebooting then i'll check the channel, whatever number it is, i used what was recommended in the docs
usb stopped working
That's ... very not normal
If that's the whole USB bus it's time to replace the server
If that's just the USB stick time to replace that... but hardware failure of those is exceedingly uncommon (once you're past the CC253x sticks)
it seems to be the id of the usb device has changed rather than a usb error, as when i did lsusb i saw everything there, but it's not finding the usb id that was previously working it seems, currently debugging
Well, at least it looks like the source of your problems is clear
Aren't you using the serial id?
not necisarily, as the usb issue only just happened ruling out a usb hardware failure, the original issue is still in place
yes, but i'm also using docker
the issue is the id on the host machine
I think
looking to see what it was previously on the host so i can check it
What do you mean id?
Are you talking about /dev/ttyUSB0 or the /dev/serial/by-id/ path?
so it looks like i was using serial on the host machine
/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_e2f09d4e57c9eb11aaaa8b4f1d69213e-if00-port0:/dev/ttyACM0
but it's not showing for some reason, ugh
Well, if that left hand side changes you've got either a broken stick, or a broken host
I think it's the stick
or that port is borked, about to switch it
serial is gone but lsusb still shows Bus 003 Device 006: ID 10c4:ea60 Silicon Labs CP210x UART Bridge will switch it over to main pc and see if that sees it there
and it was channel 25
Oof. Struggling again. Zigbee2MQTT won't start. Do I need to configure things?
the 2 things you need to do for z2m from what i recall on hass is create a user and provide the details to z2m config and set the device id of your dongle, which should be under /dev/serial/by-id/ on hass
should look similar to /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_e2f09d4e57c9eb11aaaa8b4f1d69213e-if00-port0
I'll have to have a proper go wonight when I get in from work. Trying to do it on my mobile phone is no fun
Yes... it needs the MQTT broker and the Zigbee stick configured
Hi all, are there any recommendations for Zigbee smart plugs with energy monitoring? Most I'm finding state they are Wi-Fi which from my limited understanding is completely different. Or am I actually better off getting those instead?
What country are you in?
Should have stated, apologies. UK
Salus SP600 does, as does Hive's plug
https://www.zigbee2mqtt.io/supported-devices/ will find others
Never heard of Salus so I'll check those out. Many thanks!
I prefer the SP600 over the huge Hive
Amazing, thanks!
Got a mqtt question, is it possible to use data extracted from z2m with mqtt: dump after mqtt: publish "get" in an automation.
I am trying to get mqqt to send a melinera light string (lidl) its state (in effect mode) so i can go back to the latest effect it was in before i changed it to lets say warm white?
Hi all, it's a question on the cusp between hardware and Zigbee, so I hope I won't be chastised for it.
I am seeking a good air quality zigbee sensors (mandatory CO2, good to have PM2.5,VOC,etc.).
What are you using at home? If it's not Zigbee the next best thing is Wifi.
I know there are offerings from Tuya, with some issues of late, but anything worth recommending?
Please @ me when responding.
https://www.zigbee2mqtt.io/devices/TS0601_smart_air_house_keeper.html for example - though I've seen them reporting information in incorrect sensors, etc.
I find most air purifiers have this built in. But on the non-zigbee side my netatmo sensor is pretty nice. https://www.netatmo.com/en-gb/aircare/homecoach
I take it you already looked through this list: https://www.zigbee2mqtt.io/supported-devices/
And this one: https://www.zigbee2mqtt.io/supported-devices/#e=voc
I have a whole house PM25 filtration, so no standalone purifiers.
I'll have a look at the netatmo
Indeed I did look at the supported devices, but even though the Tuya looks sweet for a low price, they are reported all over to have issues.
I do like my Aqara sensor from the second list, it doesn't do CO2, but you could always try the #diy-archived route with ESPHome for getting exactly what you want
In my case I have mostly everything else from other sensors, but want to control my HVAC system incoming air based on CO2 levels, so it's a mandatory measurement
I was researching ESPHome route already
Need to find a sensibly priced sensor combination though, and so far wasn't able due to the electronics market crash.
Anyone have a working zigbee configuration running with SkyConnect? I tryed to migrate my ZHA config from Conbee2 to SkyConnect.
But the zigbee devices doesn't work anymore after migrate
Which devices are working/not working? Did you update your Conbee firmware before migrating?
It looks like alle divices are not working Ikea Tradfri bulps and motion sensors. No I haven't upgrade the COnbee firmware, is that necessary?
Do you receive sensor updates?
good question, I have rolled back to Conbee, but I can try the migration again
And is the SkyConnect connected via a USB extension cable?
yes
For the migration, did you run the ZHA migration flow?
first time yes, 2nt try I delete conbee and inserting SkyConnect and than I used the autodetect SkyConnect and load old configuration dialog
The "restore an automatic backup" option, or the "use existing settings on the stick" option?
use existiong config
Ah. Next time, restore the backup.
First I try to upgrade the conbee firmware?
Yes. The old Conbee firmware doesn't allow all of the settings to be migrated, so you may issues controlling some devices after the fact
ok
But regardless of the firmware version, you should be able to receive sensor updates if the migration was successful (no reason for it not to be)
now upgraded to the newest conbee2 firmware. Which way is the best to migrate to SkyConnect, using the migrate dialog at the ZHA config or remove - wait for detect the SkyConnect and load there an old backup config?
Plug in the SkyConnect and click the "Migrate" button in ZHA's config
Then follow the instructions to migrate to the new radio. It'll reset the SkyConnect and ask you to restore an automatic backup. Which ones are show?
uhh some trouble... I need to restart the HA, he couldn't reset the "old" device "Unknown error occurred"
Odd. No need to restart HA (unless you're running it in a VM or something), the migration is stateless
no vm, I have the HAblue
so co-ordinator is working, still doesnt show under serial by-id but it does exist as /dev/ttyUSB0 and that doesn't appear to be a symlink so changed the mapping in docker to that and it's working again, but the original issues are still to be resolved
The new Sonoff usb 3 Plus keeps loosing an ikea signal repeater on another floor. Is it normal for Sonoff? I start suspecting smth is wrong with my HA OS installation.
Well, that's usually a sign that:
- You've not put it on a USB extension cable
- You've got interference
- The signal is weak at the Ikea end
I loaded the last backup
but noting, I cannot switch the lights
You've got a lot of backups, each for a different network
I suspect the one you want is from December 25th
Since 2-3 weeks I‘ll try to get the SkyConnect working …
Hey everyone! Finally received my Sky Connect today! YAY! 🥳
I was coming from a Sonoff Zigbee 3.0 Plus v2 (Dongle-E I think) and ZHA.
In ZHA I did download a backup, and then a migrate radio operation. Was asked to upload a backup and did. Changed the IEEE for the new radio (SC), unplugged the old Sonoff Dongle and restarted. I still have not gotten any errors or warnings, but none of my Zigbee devices are responding.... Any steps I missed??
Can you download a backup and compare it to the backup you downloaded previously?
Sure...
The first backup had this entry:
"children": [
"00:0b:57:ff:fe:e7:24:c6"
],
whereas the latest backup (after migration):
"children": [],
Otherwise identical
Actually...
The first backup also has an entry more under nwk_addresses:
"nwk_addresses": {
"00:3c:84:ff:fe:d4:48:9b": "9DCE",
"60:a4:23:ff:fe:7e:b6:9b": "2E70",
"00:0b:57:ff:fe:e7:24:c6": "D7BF"
versus
"nwk_addresses": {
"00:0b:57:ff:fe:4b:d1:92": "AD2C",
"60:a4:23:ff:fe:7e:b6:9b": "2E70"
Not sure what this indicates, if anything at all...?
As long as the network key, PAN ID, extended PAN ID, and channel (should be 15) are the same, the migration worked fine
All keys are identical...
Is the old stick unplugged?
Removed from VM, but still plugged.... I can unplug it! Maybe other devices still sees it and refuses to migrate over?
And is the SkyConnect plugged into its provided USB extension cable?
It is! 😉
Yes, you definitely want to unplug the old coordinator if you did the manual backup/restore route
As right now, both are broadcasting the same network settings
Unplug the new one too for a few seconds, then plug it back in
Should have thought of that...
Lets see what happens now...
Nope... Still the same... No errors/warnings and no action!
But in the logs I see stuff like this:
[0x457E](TRADFRI Driver 30W): Device seen - marking the device available and resetting counter
[0x457E](TRADFRI Driver 30W): Update device availability - device available: True - new availability: True - changed: False
Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE12F), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.Broadcast: 15>, address=<BroadcastAddress.ALL_ROUTERS_AND_COORDINATOR: 65532>), dst_ep=0, source_route=None, extended_timeout=False, tsn=143, profile_id=0, cluster_id=0, data=Serialized[b'\xbe#,\xf8\xfe\xff\xdb\xb4\x84\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=216, rssi=-46)
[0xe12f:zdo] ZDO request ZDOCmd.NWK_addr_req: [84:b4:db:ff:fe:f8:2c:23, <AddrRequestType.Single: 0>, 0]
So there is some communication going on...?
Yeah, the coordinator is seeing traffic. Can you enable debug logging (click the three dot dropdown menu on the ZHA integration), let it run for a few minutes and try to toggle a few lights, then disable it? It should download a file.
Not sure why, but after yet another reboot and unplug/plug, it started working!
Thanks for the input! 🙂
Seems like the two coordinators running at the same time were the problem
The EZSP ones (like you're using) automatically start working when powered, even if nothing is talking to them
Oh... Nice to know!
FWIW, is there a better route for people coming from Sonoff and migrating to SC?
The "Migrate" button in ZHA's config has two paths: a migration and a re-configuration
If you plug in the SkyConnect and click the button, it'll reset the old radio and migrate to the new one (avoiding the two-radios-running-at-the-same-time problem)
It looks like the aqara motion sensor works with SkyConnect
The IKEA motion sensors too
but not the lights
So is it true you still have to pair routers first to the coordinator then pair end devices to the routers? Or does ZHA and zigbee just know to recompute routes that are best?
Routers first. ZHA can't control how end devices connect to the network directly, especially after they're online .
I see, so if I didn't do that then I should probably just remove everything and re-pair?
Not every end device will re-route later, so you should always make things as easy as possible on them
None of my end devices are routers
Well, duh
isn't that the definition of an end device?
Yep, my bad
Remember to pair all Xiaomi devices through a chosen router, not by all
Depends on the devices you have
End devices are all sengled bulbs
It seems like 5-10 go offline every 24 hours or so
Zigbee 3.0 devices are more likely to re-route than Zigbee 1.2 devices, but it's all so very brand specific
So trying to see how to fix or troubleshoot that
Try disconnecting the coordinator for an hour and rebooting the bulbs
Coordinator is on an extension cable?
You've picked a Zigbee channel clear of active WiFi?
Yes
puddly helped me figure that one out last week.
Always been on an extension cable
How do you tell if a Sengled bulb is Zigbee 3.0?
Probably they're all 1.2, but that doesn't mean they won't re-route
I'm going back to conbee2. The SkyConnect doesn't work for me
If you want to send me a PM, I can try to help you debug this. The migration between the Conbee and the SkyConnect is pretty well-tested at this point.
Hey together, how can I change the network key of my ZigBee network?
- Home Assistant: 2022.12.9
- Supervisor 2022.12.1
- Operating System 9.4
- Frontend 20221213.1 - latest
I'm using a Texas Instruments - LAUNCHXL-CC26X2R1 for ZigBee.
I know that I have to re-pairing all devices after changing the network key, but I don't find the option for changing the network key.
Are you using ZHA or Zigbee2MQTT?
ZHA
ZNP = Texas Instruments Z-Stack ZNP protocol: CC253x, CC26x2, CC13x2
von ZHA
Just rebooted all lights and re-plugged the coordinator in. Let's see.
Sounds good, thank you 🙂
Any experience with the note from regevbr?
https://community.home-assistant.io/t/how-to-change-zha-network-key/319436/2
I don't use ZHA, so ... no
Okay 🙂 Thank you!
I think the easiest way to do it currently, would be to download a backup, modify it in the backup file, and then restore the modified backup
Alright, my shut off and reboot lights doesn't seem to have worked. Nothing is wokring
Is there an easy way to just destroy and re-pair everything?
Hello! I've seen various GitHub issues about Zigbee light status not syncing up correctly, specifically when they're controlled in zigbee groups and I can replicate on both installations I've got one, one with over a hundred devices, the other currently with only 7
Has anyone figured out a good workaround? The lights do actually seem to work correctly when controlled in groups, it's just frustrating that they show the wrong status in HA
So the lights all toggle correctly, but they don't notify ZHA of their state change?
Correct
How many lights are in the group?
Just the 7! We use HA in our office and I thought I'd bite the bullet and start moving some of my home stuff over, starting with the drive.
But yeah, same problem at work. I just found it surprising it's an issue with 7 lights as that feels very much like what a typical user would have.
But whyyyyyyy
("All Lights" is a Zigbee group)
@twin gazelle
Just wanted to say a big thank you for the advice earlier. Pretty sure I got Zigbee2MQTT working now. Now I just need to buy sum zigbee devices
That was going to my next Q: Is Zigbee2MQTT considered more stable than ZHA?
Fair! A cursory glance suggested a few things like OTA might be less awful using Zigbee2MQTT
I think it's mostly personal preference (I run Z2M)
ZHA wins when a device complies with the Zigbee standards ||which is damned rare||
Z2M has a bigger user base, and when a new device needs support they usually get it first.
I might give Z2M a go as I'm starting basically from scratch here anyway, just to see what the deal is
I don't really want to commit my 100ish devices at home to ZHA and then run into the same problems as at work
i dont really understand how Z2M is different, but i have been using ZHA for a long time, much enjoy
Apologies if I've not seen a post somewhere that deals with this - I did try to search!
I've got Home Assistant OS running on a RPI 4, with the Skyconnect dongle managing ZigBee connections via a USB extension, using ZHA.
My problem is trying to pair a new ZigBee plug - it's within a metre of the other ZigBee plug I'm trying to connect it via (attempting to create a rock solid network with four Woolley SA-003 ZigBee plugs acting as extenders both upstairs and downstairs), but it never gets further than 'starting interview'. I know about the trick of tapping the pairing button on sensors to keep them awake, but since this is plugged in I don't believe it applies.
Any ideas?!
From what I understand, Z2M "solves" this problem just assuming group commands always work (https://github.com/home-assistant/core/pull/84938), while ZHA waits for the lights to actually report the state change. Will be configurable in ZHA in a future release.
Ah interesting, I'm using short (0.4) transitions for turn on and 5 seconds for off
And the problem is worse on turn off
Which checks out
there is no reason to setup SkyConnect rn if i already have a new zigbee 3.0 usb radio working right?
Oh this PR is super recent isn't it 😄
If you have a Sonoff stick, probably not. You can use it for Thread (for Matter) later, though.
Looking at that PR I'll probably just wait for it to get merged, looks like it'll happen imminently anyway and the other stuff in ZHA is mostly fine
yeah, my plan was to use it for thread, i think i ordered skyconnect, forgot it did zigbee and thread, and so a month or 2 ago i upgraded to the sonoff zigbee 3.0 metal one

