#zigbee-archived
1 messages · Page 103 of 1
can you expand on that a bit
even though it actually triggered the devices to turn on?
yep
is there some kind of message back to the controller
Sure, messages get lost all the time
and thats getting lost?
speacially if you used group messages, since those are broadcasted
The coordinator sends a turn on message and waits for a response to say it was done
If the response gets lost, it doesn't know it happened
so...
-which stick?
-are you using an USB extension?
-is it connected to a usb 3.0 port?
hi, is there a way to enable debug logging(like when you click add device) at runtime?
for groups, I'm not even sure it waits for a response
- conbee2, connected to a USB extension cable to a USB 2.0 port
perfect
i am currently debugging connection drops and unresponsive devices for a conbee2 on a rpi4.
check ZHA integration doc page, it has the config for debug logs there
(conbee2 has latest FW, 2x 2M USB 2.0 Extension, away from the pi)
should be fine... I think USB only starts to have issues > 5m
let me drop one
Depends on the quality of the cables...
the second was was a test
any other tips to improve my network to prevent packet loss?
does zha vs deconz vs Z2M matter here?
Only if you want to join the Z2M master race.
The protocol is still the same for all three. What differs is how you get HA to talk to it.
any difference in latency?
i notice i have a small delay at the moment with a zha group
oh
255 would be a perfect signal 😉
maybe you have some device "eating" messages
is there any add-on you guys use to see signal info in one place. or a better visualization tool than the one that comes with zha natively
Well, the graph should give you it?
I use Z2M, where I get all the info in the UI natively 🤷
Of course, I also pull it all into HA, for ... reasons
zha now has zha_map natively?
yea it does
It's had it for a while, longer than Z2M has had a UI ISTR
since when?
year or so
IIRC since 2020.12.x so relatively new
huh
i restarted HA now for the logger changes, since i did not have the set_level service
part of my problem might be bad routing in the mesh
another oddity i noticed about zha groups
i have two entities available, light.xxxgroup and switch.xxxgroup
why is that?
for other groups, only the switch shows up as an entity
i seem to have one mains powered device which resets frequently needing a repairing :/
"TXStatus.NWK_ROUTE_DISCOVERY_FAILED" and "TXStatus.MAC_CHANNEL_ACCESS_FAILUR"
"TXStatus.MAC_CHANNEL_ACCESS_FAILURE"
MAC_CHANNEL_ACCESS_FAILURE is very not good
That means that the radio says that there is too much interference to even attempt sending a packet
Are you using an extension cable and keeping the USB stick away from other RF noisy devices?
i moved it over 1,5m now its "nearer" to the rpi but hanging of the sloped ceiling without any contact vs directly against the wall
2M, and i recon there should not be too much in that area
but heck now it works nicely
even the way further located wall switch paired directly
would a google wifi router count as a "RF noisy device"?
Anyone know if it is possible to run ZHA and Z2M side by side (using two Zigbee sticks)?
haha i accidentially even switched usb cables.... i had a bit of tape sticking to the plug to secure it to the wallclock(which is only active on DCF77 and more plasticy than anything else)
wifi/BT would in theory being the most offending thing as they send close to the Zigbee channels and on relatively high power levels
Well, 2.4 GHz WiFi
Unless you're exclusively using 5GHz, the 2.4GHz radio of your router is significantly more powerful than your tiny Zigbee radios
yea 5Ghz not 😄
well crap
my pi is hooked directly to that router
how are people getting around this
Directly to the router? Are you powering it off of a router USB port?
its hooked directly to the router's ethernet port
what i now ask myself.... might it be the amazon bought extension cable which was part of the problem?
this warrants debugging tomorrow
Being on the same network isn't an issue, it's the physical proximity
thanks puddly
Just move the pi or the radio via a usb extension cable somewhere else
how far away from the router is recommended?
i currently have it on a 2m apple extension usb cable
That should be fine. As long as you're not getting errors like MAC_CHANNEL_ACCESS_FAILURE you're probably not being seriously affected by RF interference
i am getting pretty low LSI values for my zigbee network
and some lost packets
wondering if that could be related
Is this also with a Conbee?
yea
Low LQI isn't that big of a deal. If you want to debug it try looking at the error that caused the requests to fail
I've got devices with an LQI around 20 without issues
mh... the previous cable went throu the back cablechaos of my desk... lots of power, usb3.0, PSUs and other stuff in there
but then could this explain the radios complaining about not being able to send stuff?
Hello there! Got some Zigbee issues :p
Don't ask to ask, just ask your question. Then people can answer when they're around.
When you do ask a question, try to provide as much background detail as possible. Ask yourself these questions first so that others don't have to:
- What version of the Home Assistant are you running? (remember, last isn't a version)
- What exactly are you trying to do that won't work?
- Is the problem uniform or erratic?
- What's the exact error message?
- When did it arise?
- What exactly don't you "get"?
- Can you share sample code, ideally with line errors where the error occurs?
Trying to send a screenshot but for some reason Discord is acting strange
Anyway! I've got a SonOff bridge, flashed with Tasmota, and one basic Aqara switch paired
The switch only shows up in the Tasmota WebUI and not in HomeAssistant
You can't post images here, because too many idiots share code as images if it's allowed 😉
derp
Please use imgur or other image sharing web sites, and share the link here.
There is no discovery for Tasmota Zigbee devices
Please use https://paste.ubuntu.com/ or https://www.hastebin.com/ to share code or logs.
https://i.imgur.com/hW4Sjut.png so yeah
Time to manually create those entities
Oh! So that's the part I'm missing then, not bad
yup, documented too 😄
https://tasmota.github.io/docs/Zigbee/ here, right?
The downside of using a massively cutdown port of Z2M 😉
Wait, that's the Tasmota side, not HA
you can use that sonoff with ZHA, right?
They document what's supported 😉
https://i.imgur.com/VOWXLLv.png It's running Tasmota now so yes, it does show up in ZHA
The end goal is to have it show up in node-red and have fun with that, eg different actions according to the time of day etc
https://www.digiblur.com/2020/07/how-to-use-sonoff-zigbee-bridge-with.html this seems to show discovery working in the scenario I'm in
I paired the switch here using the Tasmota cmd line (ZbPermitJoin 1) though
I think thats why it does not show in HA
I have no clue what that does, though. I don't know what tasmota has for zigbee.
I don't think that Sonoff bridge is natively supported by HA to begin with, it needs Tasmota to work with ZHA
Trying discovery from within the HA WebUI, it seems to fail
(Note! This first have to be flashed)
Since you are running Tasmota, you have flashed it
The screenshot shows that it's an EZSP coordinator, this is just using Tasmota as a serial-over-TCP bridge, right?
I think that's indeed the case
Full reset of the bridge, flashed the .ota again and issued the commands as seen on the Digiblur page
Turns out the Aqara switches are just a bit finicky (also one can't read the battery state for some reason, it's a two gang variant)
It should update battery eventually
https://i.imgur.com/ioOMux6.png Is this just a zigbee-enabled battery sensor? Am I missing the actual switch entity? 😄
Remotes/buttons don't show as entities in ZHA
Event trigger with zha_event or a Device™️ trigger if compatible
Ho, okay! Sorry, it's apparent I still have a lot of reading to do
Success, triggers work as expected with regular automation
Will have to explore more (node-red stuff) later on
Thanks for the support!
Note: had to try 6 or 7 times to pair one of the Aqara switches, but now that it's done, it seems to be reliable
was it failing to pair, or not showing up at all?
Wasn't the Xiaomi fast joining stuff released recently?
Not showing up at all
Does anyone know if there are any EU outdoor plugs (apart from the OSRAM/LEDVANCE plug)?
Also, is it "easy" to downgrade a Zigbee device (with ZHA/zigpy)?
In theory, I should be able to just remove the check?
OTA downgrade?
Well, trying to test different firmware on OSRAM devices
(Probably I can just modify zigpy: https://github.com/zigpy/zigpy/blob/dev/zigpy/ota/__init__.py#L54)
Yeah just disable the check. Not sure if the most recent version of zigpy is in stable HA but it is in the ota module
And then just use the file provider. Make sure to keep only one valid image per device, otherwise only the highest version will be used
Yep, will try
Might be a stupid question, but what's the simplest way to read the OTA header of an OTA file?
Parse the image and look at the .header property
Something like this: ```Python
import pathlib
from zigpy.ota.image import parse_ota_image
data = pathlib.Path('/path/to/image.ota').read_bytes()
image, remaining = parse_ota_image(data)
assert not remaining
print(image.header)
Ah, thanks! Was trying something along those lines, but wasn't quite there yet
Most common objects should have needlessly verbose string representations so you should be able to just look at image and it'll dump everything
Just popping in to say ZZH migration was totally flawless -- didn't lose a single node or have any hiccups at all, completely seamless
Also selling 31 ecosmart bulbs to some poor guy in Iowa, so that chapter of my life is no more 😂
I should do that with all my OSRAM stuff
https://update.ledvance.com/firmware-overview Why is this down now...
Also, who would run something like this on Windows (C:\OtaProject\Firmware.UI\Views\VisualFirmware\ListFirmwares.cshtml)
Oh well
Looks to be very broken. I should start saving these just in case.
They also seem to be on Koenkk's repo: https://github.com/Koenkk/zigbee-OTA/tree/master/images/Osram
Ah nice
technically it's still in beta guys, so don't be hating 😆 X-SITE-DEPLOYMENT-ID firmwareapi-beta
For some OSRAM devices, there's even newer firmware available here: http://s3-eu-west-1.amazonaws.com/lightify-osram-firmware/
However, it's all in an encrypted format. I should probably just put some (IKEA) smart plugs in some plastic housings and then put them outside.
I do need some proper RGBW controllers though. The Gledopto Pro controllers (their Zigbee 3.0 series) finally ask for OTAs, but with image_id=0 and manufacturer_id=0. (The "support" never responded to a single request).
On the current "1.0.0" firmware, literally all transition stuff is broken (but I guess the last released firmware for the OSRAM Gardenpole controller also dates back to 2017..)
OTA_CLA60_RGBW_MasterKey_01020307_110C_encrypt_key.bin and NAFTA_ZHA_A19_TW_01020427_encrypt_key.bin look interesting
Mhm, interesting. They are identical. So I guess every "decryption key" (?) for the OTAs is the same
the ewelink bulbs don't even have an OTA cluster... so forget about FW updates 🤦♂️
There are a bunch of non-encrypted firmwares in there
pip install awscli and aws --no-sign-request --region=eu-west-1 s3 sync s3://lightify-osram-firmware/firmware/release/OTA_image_file lightify-firmwares
Hi, I am new to zigbee network. currently i am using zzh cc26xx as coordinator, multiple aqara siwtches as router, more than 30 end devices.
my devices go unavailable by randomly pick at certain time. same issue with be happen on different devices too. the issue only get resolved temporarily by repairing it. any thoughts?
i found out zigbee connectivity in xiaomi hub having more stability. any reason why?
see the pinned post for xiaomi devices, they are picky about the routers they use. (some just don't get a long).
should i change the aqara switches to end devices and deploy other compatible router?
I guess only the "development" bit seems to be encrypted then (or not have "unencrypted" OTAs available)
The encrypted NAFTA_ZHA_A19_RGBW files are kind of "funny": all of the "showcase" firmwares for different stores and "NO_OVERTEMPPROTECT" firmware (mostly firmware/release/Cloud/copy_from_US_server)
What routers (mains powered devices) are you using in your network? (OSRAM, IKEA, Philips Hue, ...?)
Or only the Aqara switches?
(Are they "no neutral" switches ("end device firmware") or powered by both LINE and NEUTRAL (so come with "router firmware")?
only aqara switches with neutral come with router
Yep, that's why I was asking
Not sure why your devices keep dropping off then.
Aqara routers and Aqara sensors should work fine
is aqara router work fine with non aqara end devices?
the deCONZ integration isn't discovered automatically anymore, any idea what to do about that? I can't add it...
You can manually add deCONZ by going to the integrations page.
Does that not work?
well what i have to put in there?
127.0.0.1 for host?
default port 80?
i use the official deconz addon
I doubt it's 127.0.0.1, but you could try it - I'd personally suggest the IP of the HA host
gateway is opened, and its not visible under ignored integrations
ok let me try with the local ip
it still says "can't get an API key"
Did you generate one?
i opened the gateway to let the integration get its API key
thats the way it should work imho
before it found the integration many times automatically...
do i have to use another IP or port?
I don't use deCONZ, but I'm sure somebody who does will be along eventually
hope so
There's also the deCONZ Discord though 😉
deconz/phoscon works... its just the HA integration
And they have a channel there for HA 😉
xD
does anyone get one of this? to give me the signature in zha
https://s.click.aliexpress.com/e/_9jLjct
please
@sour shadow @jolly narwhal this seems to be good and 26E dollars whatever that is ....do i need to get a pi3b ready or add a docker to I7 nuc
yall ops will that work?
especially for xiaomi ....i was using the gateways but that is broken in latest release from what i can tell
NUC for the USB stick, Pi for a HAT
https://slae.sh/projects/cc2652/ this is the one i could find available ....damn i meant to show link LOL first time
iot stuff and other cool hacks
That'll work in whatever you want
I'd personally spin up Docker on the NUC if it's at all sensibly located
in midlle of house but sorrounded by audio equipment and speakers ...but not many other places
i have speakers and amps everywhere
Stick it on a USB extension cable and you'll be as good as you can get - as long as you run that cable somewhere other than right next to a bunch of other cables 😄
too bad cant use ap's to bring signal in ... i have them everywhere
damn rssi is good i dont know why it drops
got another one about same distance from radio and simular rssi and it has stayed connected
and by LOS it shoots thru a unif ap
LQI 255 generally means I have no idea
255 would be a perfect link, which is unlikely
hmm didnt know what that meant this is the one staying connected
all of mine have LQI of 255
hue motion and every xoiami device
and some plugs levdance or what ever there name is
Weird... wonder what ZHA is doing then 🤷
i have no clue
I am moving my question to this channel as it may suit the question better:
I am slowly replacing our ordinary light bulbs with smart light, but I am faced with a conundrum which I would like your take on.
The current light switches installed in our walls cut off the power supply to our lights rendering the smart functionality in the lights useless. I have considered to replace our switches in the house with smart contacts so they don't cut off the power to lights but simply sends a signal to the lights that they needs to be toggled. I am a bit hesitant on that solution, because it means I need to rely 100% on my smart solution. If my raspberry pi (host of my HA installation) goes down, I will not be able to control the lights in my house anymore
How are you tackling this? I know a solution is to use both a smart switch and a physical switch but that I believe is a bit messy and visitors would surely mess it up. I am currently using IKEA lightbulbs and the bulbs are right now mechanically toggled from a light switch mounted in the wall where wiring is hidden behind the wall, so the use of smart sockets is not an option. E.g. example of a mechanical switch in our house: https://imgur.com/tJRUla3
(Previous chat about this at <#hardware-archived message>)
@cosmic shoal I use Shelly’s with esphome on them in a few spots. If the bulb is available in HA the switch toggles the smart bulb through HA if Its unavailable it will trigger the relay.
1881? Your year of birth?

Hi, I am trying to pair 3 philips hue bulbs to my setup (HA + conbee II on deconz) but phoscon cannot find the bulbs, I have resetted them using the Echo Plus but still they cannot be found. can you please help me out?
and now you know why smart bulbs are worse than smart switches
Not when you have a proper system
I haven't had a single pairing issue since moving to zigbee2mqtt and cc1352
I assumed blakadder was replying to Pingo.
But I was replying to the Croat 
John o'Croats
I am awaiting the sonoff's, 😄 calm down 😛 i will see if I can reset them with a dimmer.
had the exact same idea a few weeks ago when we moved but haven't found how to do the available/unavailable part inside of ESPHome. Could you share your config?
I just check if it is on or off and if not one of those fire the relay. I have a gist with the code I’ll dig it up
Probably could be simplified some but works for me... 99% of the time the relay just stays on has bulb is available. https://gist.github.com/tube0013/dbe82993340b2d811e2d4d9bb52e0e2e
If i would like to run deconz on a windows 10 server could it be connected to home assistant?
Got my answer already 🙂
share it... there may be someone in the future looking for the same answer 😛
@golden vessel Nothing special 🙂 turns out i needed to wait a little longer
So I enabled debug logging for zigbee to try to track down what's going on (I have a lamp with a zigbee bulb that has in the past week begun turning on at random times during the night for no apparent reason)
I don't understand what's sending the message.
Can you include a lot more of the log? Everything you're seeing is just the bulb reporting that it was turned on.
Can you get 2021-01-03 03:48:00 until 2021-01-03 03:50:00?
Sure. There's no event I can see that has triggered it, but I will paste
More context is better so if you don't mind posting the entire log, that would be easier
This page is no longer available. It has either expired, been removed by its creator, or removed by one of the Pastebin staff.
-_-
It doesn't seem to like me pasting that much? Just tried a new paste and got the same when I went to it myself.
Please use https://paste.ubuntu.com/ or https://www.hastebin.com/ to share code or logs.
Not directly related, but Ubuntu paste is really annoying sometimes because the "download as text" link is behind a login for some reason
Yeah, devices 0x3741, 0xcfe1, and 0x5bb6 just report that they turned on
Usually if they were physically powered off and then back on (and turned on by default after power loss), they would announce themselves on the network first
In the logbook, it just says "turned on" as opposed to any instances in which they are manually turned on ("by username") or triggered by an automation
Yeah, the coordinator is subscribed to receive attribute reports when the on_off attribute changes. It changes but not as a result of anything done by ZHA.
Do you have these lights bound to some other device (a remote)?
What's interesting is you say 3 devices are turning on but there's only one I'm seeing actually turn on
What brand are these bulbs?
Lightify
They could also currently be on and the bulb firmware just reports any on_off change, even if it doesn't actually change
That could be. There would be two other bulbs on at that time, on the left and right of the front door outside
This bulb isn't bound to a remote, but there is a pico remote that has an automation that can affect it
But those show the automation name in the logbook when used
other than that, it's also part of a couple light groups but that shouldn't impact things
I'm now just finished moved my HA to HA Blue with Conbee II , it's works perfectly and no more issue with it as I'm mentioned before..
Skipping layers of virtualization will do that
Looks like you're not the only one affected by this according to Google, though it's hard to tell if other people have the same root cause and not some broken automation in their respective home automation platform
Only thing I can think of is a firmware issue. Set up https://www.home-assistant.io/integrations/zha/#ota-firmware-updates and clone https://github.com/Koenkk/zigbee-OTA/ into the otau_directory directory (you can disable the IKEA and Ledvance providers, just enable the otau_directory one)
https://old.reddit.com/r/homeassistant/comments/fak430/how_to_update_your_ikea_or_ledevance_firmware/ explains it a bit better than the docs
I'll give that a shot. Worst case maybe if I remove and readd the bulb the issue will resolve itself
Thankfully it's an office table lamp downstairs. It'd create more consternation if it were the lamp in the kid's room at night :)
3:49am, TIME TO WAKEY!
In zha-ng/EZSP-Firmware repo, what does "DCDC bypass" mean?
Thanks. I should get used to searching before asking 😄
Hello again. One quick question: should the coordinator (using the zha integration) have a device type set? I'm using a PiZiGate and it's showing "unknown" in the device settings..
Can maybe someone with a "Raspbee" (this deConz stuff 😄 ) check this in HA?
Thank you! Will check it out shortly
IIRC then I also had this problem multiple times. I had like two devices (or something like that). Reinstalling the integration (and restarting Home Assistant maybe) seemed to help.
Anyone using Ecosmart/Consciot/Leedarson bulbs have any issues turning them on at 1% brightness?
For some reason mine "warm up" for like 10s (or refuse to turn on). Maybe this is why the IKEA ones jump up to 10% and then back down to 1%...
Thank you for the suggestion, unfortunately I already tried that... seems like a bug in zigpy-zigate. I already asked there..
I'm looking for a battery powered zigbee switch to physically wire to the battery powered Somfy Izymo io-homecontrol transmitter.
It has nothing more to do than open/close a couple of battery powered circuits .
https://shop.somfy.co.uk/wp/wp-content/uploads/2019/05/IZYMO-Transmitter-io-EN.pdf
Can someone recommend such a device. To be clear no mains electricity needs to be used.
I would just look through the z2m supported devices or whatever you're using
hrmm, I am not seeing anything great. It might need some diy love
New version is looking great!
Thanks Samantha, looks amaze balls
you aren't walthowd by chance, are you, lol
@amber gull If you hare walthowd, I was reading through some stuff trying to understand things and have a couple of questions. sorry to ping if you are them or not 😛
might just be a weird coincidence, haha. I was reading the github stuff and looked over
Yes, that’s me
Welp, that is a weird coincidence indeed. I have been reading through the z2m stuff tonight trying to sort an issue. I came across the PR where you added firmwares for sengled devices.
It seems my device is enabled somewhere as a device that can be updated via OTA but the firmware (image type) isn't in the json. The result is thousands and thousands of errors in my logs 😛
Are you still set up to get firmware updates? I don't have a bridge :/
Yes, I still have the bridge. What is the reported model ID of the device?
E12-N1E
I am pretty sure this device is the culprit.
I have 10 of them
It has to be.
The way the process works, you have to add the model ID to your bridge with a old firmware and then it will give you an endpoint to download
Pretty sure I tried E12-N1E but I can look again when I get some time tomorrow
I don't have a bridge myself so that would be great. I'd definitely appreciate it.
Yeah, it's in the list there on the first PR -- but I'll give it a shot again and see if anything new is available
Either that or something needs done on the z2m side to not make my device try to OTA over and over
Thanks!
You can see I submitted it here as bulb 40, with fw 0.0.1 and only got back the endpoints I submitted to the zigbee-ota https://pastebin.com/raw/aRFWr9kR
I was reading through that file but didn't fully understand it. Assuming they treat semvar correctly, it would mean there are no updates, eh. I'll have to find the part in z2m that tells my device it is OTA compatible
well, I think I actually did find that. They loop through the docs or something, lol. Maybe not
Some of the models share firmware
well, it just needs to fail nicer. the assert() they have is in like a helper that is spamming the logger
wouldn't be an issue if it failed silently
Thanks for everything. Let me know how it goes if you find time tomorrow.
Yeah, just scanned all the ones I have and none provide image 1016 - https://paste.c-net.org/DividedClader
I'll ping you tomorrow if I see anything different
yeah, it's a recessed light. I guess not a lot of users.
I am trying to understand a function of how Zigbee (ZHA) works with groups. I have most of my lights assigned to groups that works 99% of the time. Sometimes I notice one light is not reporting its correct state in HA (or is unresponsive)
But I can turn it ON/OFF as part of a group. If I try to singularly toggle it, it is unresponsive.
How is this light getting its commands ?
Is it an IKEA bulb?
yes, all of them
Does someone here use Blitzwolf plugs by any chance? If yes, how "good" are they at being a router? (OSRAM plugs are bad...) (Do Aqara sensors drop off for example?)
There's an apparent firmware bug with IKEA bulbs that causes them to lock up like this but due to unknown circumstances. The next time it happens try physically power cycling the bulb. If it starts accepting unicast requests after this, then you're experiencing this same bug, unfortunately.
Quick update regarding my connection issues:
The 2nd bulb (different type, but also Hue) had been installed a few days ago - and is working fine.
So, it really looks like the close proximity of the two Hue color bulbs was causing issues.
Weird, but that's the only explanation I can come up with.
Thank you. Is their any posts or links that discuss this bug?
And I assume it’s a software bug... do I have hope?
I am starting with zigbee on HA and have baught a Conbee II. I would use it for Philips Hue and Xiaomi Mija sensor, which system would you recommend for this: ZHA / DeconZ or Zigbee2MQTT ?
See the pinned message about the options
The TL/DR:
zha if you want things fully integrated in HA
Zigbee2MQTT if you don't
deCONZ if you have a reason to use deCONZ
deCONZ if you're a masochist 😄
I've read the pinned one... but all seem to be compatible... And for all I also read issues online.
So that was why I was asking for my device types...
So ZHA would be the preferred ?
That's your choice 😉
Those device you mention work with all three, equally well (or badly)
I run Zigbee2MQTT, got no issues with Xiaomi or Hue, or other things
Advantage of Zigbee2MQTT would be separate device possible...
But is the Conbee II already 'production ready' for zigbee2MQTT ?
just got a Raspbee 2 module, is this the guide to follow? https://phoscon.de/en/raspbee2/install#raspbian
or are there simpler ways?
Depends on your install method for HA
That won't work if you use #330990055533576204
That'll be #330990055533576204 then 😉
That guide won't work for you, but the folks over there should have details on how you do that
Over there is... #330990055533576204
I'm curious, why all the "love" for deConz around here? 😄
We lost our acerbic zealot Minimiimix -- Robban does a great job with the addon, we just don't have many heavy users here
Seems like there have been a few quality issues with the firmware and software releases in 2020, but I don't use it first hand and can't comment on how severe they were -- I think in general people tend to blame problems with their zigbee network on the coordinator
...when in reality it's a network level issue with their routers, buggy devices, etc
"acerbic zealot" 😆
I'm confused... why is that on zigpy? isn't the REST API too high level for zigpy?
It's on the zigpy discussion because Hedda -- he likes to post all zigbee information to all possible zigbee repos
But if you follow the links you can see that manup is soliciting feedback for a complete redesign of all the deconz components
Would be nice if they made more of the code publicly available -- it's a bit of a black box at the moment
To be honest, the existing deCONZ core, firmware and GUI won't be open sourced any time soon and will be kept restricted to dresden elektronik hardware. For the company there is currently no benefit to support 3rd party Zigbee modules since we only charge for the hardware. It is of course always possible to write a new core, after all the REST-API is just a plugin which implements a rather simple interface. I hope this is understandable, the commercial aspect here is tricky to keep everything running.
Also seems to have stalled, not much activity since summer 2020 -- unless they moved elsewhere
Yeah, it being a black box was part of what made me move from it a couple years ago
Hello, funny you should talk about deconz since it just broke for me after trying to update my docker container. Anywho, i just switched to ZHA, and i'm trying to figure out if there is any hack/way of "importing" my old mesh-net. Pretty much all of my IKEA-stuff (those that are near my conbee2) showed up immediately in ZHA/HA. I'm wondering if there is anyway of "tricking" the rest of the nodes to joining/repairing/showing up without having to manually repair all of them.
Some lights just needed a power cycle to be detected for instance
No supported method @humble crescent -- If you can get your devices to issue a ZDO announce, ZHA should pick them up though
How to do that is device specific though -- power cycling your mains stuff is a good start, maybe remove and reinsert batteries in sensors
Probably not all devices will come over seamlessly, some may have to be rejoined
"You can use the LQI Request to read the devices in the neighbor table of a remote device, and the Network Update Request for a remote device to complete an active scan to discover all nearby Zigbee devices."
is that something that could help discover things?
hm but reading what you said about "no supported method" im guessing someone would have thought about my glorious google search :/
That is most referencing ZDO mgmtlqi -- no supported methods in the protocol that I'm aware of to remotely trigger a ZDO announce -- supposed to be handled locally on the device by it's own stack
I would just play around with it -- try batteries reinsert for one sensor type, try batteries out for max end device aging time for another (1 hour?), then re-insert
Right, yeah that sounds like a reasonable idea, should work for the majority of the stuff atleast
i've got a couple of aqara sensors and door sensors that are a pita to get to so i'm trying to avoid getting a ladder
and they are attached by tape etc.. so i cant access the battery without tearing them down etc. God damn, shouldnt have touched the deconz container to begin with 😛
While i'm here bothering people, whats the go-to zigbee smoke detector? I have a chinese Honeywell that works well but i'd prefer something that i can buy in europe
No direct experience with any but you can check here - https://zigbee.blakadder.com/sensors.html
@humble crescent for xiaomi sensors you'll have to press the button I think, or ZHA won't be able to interview them and add them to the database correctly
tried that just now - didnt work. And i have to remove them to repair them since they are to far away it seems
god damnit
was the network open for pairing (did you press the Add Device button), before pressing the button on the sensor?
hah yes 🙂
(i shouldnt be cocky, i have forgotten that a couple of times in the past)
HAH! sixth times the charm apparently on a door sensor. The temp sensor thats 2m closer doesnt want to reconnect though
Hi all, I am having an issue trying to develop a quirk for ZHA, anyone here ever achieved to create a custom quirk and test it using Home Assistant OS (the all in one package) in a raspberry pi ?
What's your issue?
It is described here : https://github.com/zigpy/zha-device-handlers/issues/667
It is like pycache folder won't regenerate
You rarely have to worry about the __pycache__ folder
How are you verifying that the zhaquirks module is loading?
got those in the logs : Considering <class 'zhaquirks.netvox.z308e3ed.Z308E3ED'>
But never zhaquirks.path.to.my.quirk
Ok so that loads. What is the folder structure of your quirk? Are you creating an entirely new module folder or just a new .py file?
it is located in the tuya folder
Can you upload your quirk .py file somewhere?
here exactly /usr/local/lib/python3.8/site-packages/zhaquirks/tuya/siren_neo.py
ok
I will upload it, but here is the device I wanna add : https://github.com/zigpy/zha-device-handlers/issues/648
I also tried to just add ("_TZE200_d0yu2xgi", "TS0601") in the MODELS_INFO of the existing quirk of a similar device, but nothing happen in the logs, it is not even trying my quirk
@austere patio what version of Home Assistant do you have ?
Many versions, but the specific version of HA doesn't matter
All of this is done within zigpy
Ok, but what do you think i am doing wrong ?
Your quirk loads fine for me
How do you know that ?
It shows up in zigpy.quirks._DEVICE_REGISTRY._registry['_TZE200_d0yu2xgi']
Are you restarting HA after editing the quirk?
is the battery replaceable on the https://www.zigbee2mqtt.io/devices/WXCJKG13LM.html
i cannot figure it out
for the life of me
Add python import logging _LOGGER = logging.getLogger(__name__) _LOGGER.info("siren_neo.py has loaded") somewhere before the class TuyaSirenNeo code and look at the logs. That should tell you whether or not your code has loaded.
@royal star looks like it https://www.youtube.com/watch?v=HC41WsIPzmQ
Can you edit zhaquirks/__init__.py and add _LOGGER.debug("Importing %s from %s", modname, PATH) to the inside of the final for loop, before the importlib.import_module call? Should be around line 370.
If that doesn't produce any logs then your logging isn't setup properly
ok i'll do that, good idea
https://www.home-assistant.io/integrations/zha/#debug-logging is what you should have (at least for zigpy and zhaquirks)
i got this log setup
ok so i have the good one
by restarting HA you mean just click restart in server control ?
I'm not sure what exactly that button does since I don't use the managed HA install method
But if the above change doesn't produce any log output, it may not be restarting HA
but even restarting my pi does not work i think i already tried that
no Importing in the logs 😦
Can you upload your logs somewhere (the home-assistant.log file)?
It appears that your code changes are having no effect
Please use https://paste.ubuntu.com/ or https://www.hastebin.com/ to share code or logs.
yes, it is really strange
i deleted the link of the logs, did you get it ?
any idea why the phoscon autodiscovery doesnt work anymore?
manually adding it doesnt work too, no api key ...
Deconz integration
??
The integration is called deconz 😉
hot take: if you only have things that are battery powered and really far from your hub, it doesn't work well... JUST THOUGHT I SHOULD LET PEOPLE KNOW
zigbee is a mesh network and having mains powered 'things' throughout your house is a good idea and helps things that are on the 'fringe' work better and expands your overall range. JUST AN FYI...
make mistakes and learn. 🙂
It's not a good idea 😉
It's required
One day maybe HA's documentation will mention this... but maybe not
chuckle chuckle...
I dont think I realized it until I realized it
last night/today I wiped 3 hue bulbs and added them to my zigbee network instead.
1 in the primary bedroom and 1 in the living room
SUDDENLY ALL MY SENSORS ARE WORKING BETTER and the graph proves it
Yeah, I was talking a few hours ago about the fact that it's not well explained in the docs
now i am just waiting for the sensor that is 5 ft from a mains bulb to 'network' to it
And then, as you graph things, you realise that you can connect directly to a sensor on the far side of the house, but not the one in the next room...
WHYWHWYHWHWYWHWYHYWHWYWHWY!!!
RF is fun 😉
NO, No it is..... it is very fun... it is also NOT fun!
It's just a different kind of fun 😉
At least with Zigbee you get an LQI and RSSI to tell you about the link quality. With Z-Wave you just get dead nodes and long delays
@sour shadow , @dire willow , I love this. I agree completely. I'm evaluating a move from ZWave to Zigbee with our house remodel, and I think I'm in the Zigbee camp, now. Nothing's perfect, but mains devices paired with common sense 2.4GHz spectrum management looks to be the promising way to go.
Well, I find that range on Z-Wave is generally better, and the devices are generally better, but they're more expensive, and you get random delays and issues
I have both
Zigbee is cheaper, the devices are often junk, but higher bandwidth and better information means I can fix things - and if I have to throw something away I don't mind the £10
and they have good reasons for different things
https://sensative.com/sensors/strips-zwave/guard/ is one of my reasons for using Z-Wave
They'd planned a Zigbee one, but didn't produce it in the end
HA! Looks like Abode and them have the same design
I needed to extend my range, and added 'accent' lighting under my kids toychest. 🙂
They do a LoRa version, so I may just build a LoRa gateway 😄
Yea, I had Vera for a long while and was REALLY into the benefits of Z-Wave.
I even built an indoor farm on Z-wave sensors
I do love that I have a remote by the kitchen door Associated with a socket that powers the garden lights
No need for automations, and it always works
That's a great sensor product. I'm totally game for a LoRa implementation.
It shouldn't be Home Assistants job to explain this.
Doesn't mean it shouldn't do it anyway...
Does a zigbee router need to be "paired" to the network?
Yep
I have a CC2530 I just flashed with router firmware
So how do I pair it? Just enable pairing in zigbee2mqtt and plug it in?
The specific router firmware you're using should have instructions for how to put the stick into joining mode
ok thx
dughhhhhh. 4. Done! #
Now plug the CC2530 into a power outlet where it will automatically join your Zigbee network. (don’t forget to set permit_join: true to enable joining of new devices). Enjoy your extended Zigbee network range! 😄
Usually it's plugging it/unplugging it a few times or something like that
In my defense, I woudln't think to find that in the "Done" section 😄
Documentation always needs improvement
Hi guys, I have a question on extra ZigBee/Wifi hub to connect smart devices. Situation: My smart switches are only ZigBee and some switches cannot connect to RasPi due to the distance. I'm thinking of adding an extra hub with Zigbee network.
- What are the recommended extra hub device I should get?
2.How do I add an extra hub into HASS?
I've tried some Google-ing but leads to no real answers. Would you be able to impart your kind knowledge to me please?
Thanks in advance
What hub/stick are you currently using?
Hubs/sticks act as coordinators and you can't have more than one coordinator per network to begin with
what you're looking for is routers not extra hubs
almost any mains powered device will bridge the signal
except the zigbee bulbs I bought :P, double-check before you buy. I actually prefer to not have a 100 routers
Why?
I place my routers deliberately. I have 10 recessed lights next to each other. They all don't need to try to be routers.
Why not?
At that scale though it is usually cheaper to replace the in-wall switch with a Zigbee dimmer but that isn't always possible
Well firstly, I rather the zigbee routers be something that for sure will always be turned on and currently the lights are on a switch which can bbe turned off
That can be fixed with a few bits of plastic and a battery-operated Zigbee switch or a Zigbee dimmer and dumb bulbs
it isn't a problem since they are just end devices
having the ability to turn off the lights with a switch isn't bad
it's a feature
that I don't use
😛
https://share.busheezy.dev/ue3jRe.png I would rather have this than all of the lights bouncing off eachother randomly
I think I look at the graph representation of my Zigbee mesh like once per month so the actual device relationships don't matter that much to me. I have two (or three) Zigbee lights per fixture in a room and haven't had issues so far with ~30 routers
If I never was able to visualize it I don't think I'd care, lol
I have like 60-70 Hue lights that are all routers
but those are on the Hue bridge
wait, I don't have 60-70
I am fucking dumb
I have like 40-50. I have 60-70 total lights
I found a new home for your Hue bridge: 🗑️
nope. I like it a lot. entertainment stuff is nice
As long as your routers and end-devices are relatively compliant I don't think a dense packing should have much impact on your mesh health
hue sync box is nice too
Off-topic but that seems like something that can be made to work with the existing open source coordinator sticks?
I'd imagine it directly communicates with the bulbs via a Zigbee group or something, maybe after verifying that a coordinator is a "real" Hue hub
Are they not Zigbee?
they are zigbee until they use entertainment api
So something translates those UDP datagrams to Zigbee...
I think diyHue does it
if not, they were working on it
zigbee would never keep up with the entertainment magic
which is why they aren't using 'er
If the bulbs communicate over Zigbee with the Hub then how do they receive these updates?
Or am I thinking of something else?
it kicks into a special mode where it no longer is able to do normal zigbee stuffs.
bridge does udp <-> bulb
I'll have to pick both up to see how it works. Maybe they have more OTA upgrades hiding in that bridge
for sure. I read into it years ago when they released it
I was super interested since it was a feature that popped out of nowhere
for stuff I already had
they have some official docs in their dev portal
let me find it
have to register/login
Maybe they do it over a Bluetooth side-channel or something? Zigbee can in theory support a relatively high throughput, at least to transmit high-frequency color state information
Unless the bulbs communicate over Bluetooth or something, it's either Zigbee or magic
I am probably just very wrong
I probably am
the UDP is probably just between the bridge and app
that'd make more sense
yeah, it still uses zigbee, my bad
I read some shit years ago and have no problem spitting my brain at you
I still feel unsure
I was so confident I had to have read something wrong
but that is wild
app <-> UDP <-> bridge <-> zigbee <-> bulb seems pretty normal
because I have dug into this shit really deep and you used to only be able to do a very small amount of updates
yeah, but it was just HTTP before which isn't slow
UDP is faster for sure
but like, it was WAYYYY slower than you'd expect
like, you couldn't even poll a bulb more than once every few seconds because of the internals.
so my brain thought more shit happened than really did
Try one of the sticks that gives you relatively low-level access to the Zigbee radio
You can sit in the dark for hours at a time when they break once every few months
But that's what makes them fun
the hue bulbs are really nice and I think I might just get hose for the future
the dimming and transitions in Hue are very nice
I don't feel like finding similar results
that is some killer hardware PWM
yeah
Yeah, other bulbs do have some jerky transitions near the low end of the brightness scale
the PWM is magic but I didn't want to steal tediore's line
people on discord probably think i work for signify
😛
you aren't wrong though.
they just work well
these new ones from sengled do okay for the job but have 0 color to color transitioning
best PWM i've seen tbh
But for $0.50 like the Ecosmart bulbs kits, you can't justify buying Hue
Or was it Consciot
Sure they'll burn your house down but they are cheap
LeedArson. At least they don't lie about their intent.
Popped open one of those consciots out of curiosity, found this odd fella
Arson indeed, GND and VCC are adjacent
very nice!
Yeah, it's based on the reference design by SiLabs I believe
put your dick in it
Hole's too big
The IKEA module is similar and you can turn that into a pretty decent coordinator if you don't mind the form factor
really?
And ditch Z2M
never
I love z2m
https://github.com/MattWestb/IKEA-TRADFRI-ICC-A-1-Module if you're interested (I have no idea where the nickname comes from)
damn, throwing shade at koenkk
Our user MPM1107 like to implenting but dont geting much help. And Koenk have zero intrest and have closing the thred in his repro.
Yeah, the SiLabs EZSP protocol isn't exactly trivial to implement
you are using trivial oddly and I'mma punch you
I associate it with "non important"
yeah i said it
Like the deCONZ serial protocol is pretty darn simple (for the Conbee) and works for the most part
inb4 "deconz bad"
we're trying to be part of the evolution of the word
lol
that is the beauty of language. It is always evolving
we live in a timeline where literally does not mean literally anymore
literally

commences SYN flood to https://share.busheezy.dev/
DO IT
I keep it on OVH for that reason
everything else has moved on, lol
share server stays on OVH
heh
I'mma move to lounge
Hi all, does any of you have a dry contact working with ZHA ?
Is there a way to get the Zigbee device info from ZHA into the frontend? I want to show the RSSI of my devices in Lovelace.
Various cards can show attributes
There's an entity attributes card for instance - #frontend-archived can help you more there
Or you can create template sensors - #integrations-archived can help there
Funny thing is a ZHA device doesn’t have an entity name.
-> States?
No, all entities over there
Is that no, there's no entities for my ZHA device or something else?
As a ZHA device has no entity name, it is not in the state list. The sensors from the device are there, but I want the attributes of the device.
So no, device is not in the list
Devices are collections of entities
The RSSI should be an attribute of one of the entities
Weird... hopefully somebody who knows why ZHA doesn't follow the normal standards will be along
I was finally able to capture a ghost motion
the sensor sends a motion report indeed 😮
also sends a lux report, and another message before those, but it has a Bad FCS
@golden vessel hahahahaha told you!!!
@sour shadow we used to have device entities and we were asked to remove them. Those contained the rssi and lqi. We never added individual sensors for them after that. IMO they are noise and not really useful but we can reconsider.
@tropic depot There are more attributes in ZHA devices. Would be nice to get them somehow, even if it is noise.
Maybe make them optional? Disabled by default
Sure but if you mean only on the UI there are already ways to do that
In a card?
Tinker, I’m more concerned with the constant change in rssi/lqi causing a ton of saved state changes
Sure, which is why making them optional may be a way to go
Then folks who're running on an SD card doesn't have a problem, and the rest of us can have our data 😄
Obviously if ZHA is chattier than Z2M it may get noisy, but I don't have a volume issue with 50 or so Z2M devices reporting that
Sounds good, what else about the device does Z2M expose as entities
I have no issues with creating parity
Let me grab a sample
Battery devices also report: battery, linkquality
Mains reports: linkquality
The main entities also report the LQI as an attribute
https://paste.ubuntu.com/p/m272qCGVBN/ for example
My zigbee2mqtt is so chatty I can seldom read the console in realtime 🐔
100ish devices
Not that it affects performance in any way
I like the numbers because it means I can, at some point, see if I can work out any patterns to the variations. I've done that before to help work out when things needed moved/rearranged
Hi everybody, I hope I can get an answer on a simple question. I am using zigbee2mqtt and have a Philips Hue bridge with bulbs. My Xiaomi sensors are out of range. Do I need to disconnect the HUB and connect using MQTT to increase the link quality of these sensors?
Everything needs to be in the same mesh
The Philips Bridge is connected through an integration and not
So yes, you'd need to move the bulbs to Zigbee2MQTT, or the sensors to Hue
haha my wife is complaining a bit she likes the Hue app
Apps are pointless, do automations ;-)
Based on patterns, sunlight, actions or other factors
Voice control is for when automations have failed. Apps are for when voice control fails 😛
I first wanted to have good reliable link quality
Before setting up automation flows
I first linked all sensors and devices
Trouble is, that mesh needs routers
Your other options are to buy some appropriate devices and pair them to Z2M
Yes that's why I wanted to use the HUE lights but did not see them in the network map
Well, no 😉
But thought it might be because of the bridge
They're not in the same mesh...
So thanks for the explaining
Yes I get that now 🙂
Will check if a different router is more convenient
I still have raspberries
Yes bought one
Have it in my NUC
But the NUC is in the attic
And still want to use the PI for the "slimme meter"
And CO2 measuring
So I can add this to make a router
The stick is the router - when flashed with router firmware
You just stick it in any USB power source - no need for a Pi, or any computer
🙂
Heck, you could buy some $5 CC2531 sticks and use those, the range just won't be awesome
Did not know
But if I can use a device I need (like the Hue lights) it's not needed
But I am glad I came to this chat
Saved me a lot of time
@tropic depot @sour shadow devices that support OTA updates also expose "update available" and "update state" entities
Yeah, I've also got _tamper on some and _battery_low on those that report it
Yup, I think ZHA picks up the tamper entity too if available
_battery_low is an entity?
For those that report it, yes - not all do
My Konke sensor does
binary_sensor.master_bedroom_door_battery_low
interesting, so do you get that and the battery sensor or is it one or the other?
binary_sensor.master_bedroom_door_battery_low off
binary_sensor.master_bedroom_door_contact on
binary_sensor.master_bedroom_door_tamper off
sensor.master_bedroom_door_battery 100
sensor.master_bedroom_door_linkquality 93
So, both
I mean, the link quality is also an attribute, and IMO the battery should be, but it just reports the voltage not the level
That’s more accurate tbh
What we do for battery is an estimation based on voltage
The problem is the data is junk... lithium batteries have crazy curves... they essentially fall off a cliff
Ayup
So you can go from 100 -> 0 without gradual degradation
Which is also confusing to users
I think that's where the low battery sensor comes in, but yeah - until you realise that Lithium, and others, behave "strangely" it's confusing
and different devices work with varying lower voltages so it’s a mess to support
Centralite devices can work all the way into the low 2’s but Xiaomi devices get a bit wacky under 2.8ish
Makes stuff really fun
2.835 has one of mine reporting 32%
Yup
Of course, give it a few minutes and it'll report 36% and a different voltage
100% seems to be anything from 3.000 and up
My batteries are all over the place sometimes, it's ridiculous lol
We need a fairly significant change in ZHA to do this... we only support 1 entity per cluster atm... once that’s taken care of we’ll address a lot of this
will handle this, tamper, all of the remaining energy monitoring stuff, etc.
I'd rather all OEMs just do battery normal/low only like some of mine do
Humans seem to prefer perceived granularity
binary_sensor.spare_bedroom_socket_update_available on
sensor.spare_bedroom_socket_energy 0.03
sensor.spare_bedroom_socket_linkquality 132
sensor.spare_bedroom_socket_power 0
sensor.spare_bedroom_socket_update_state available
switch.spare_bedroom_socket_switch off
``` that's one of the sockets with power monitoring FYI - reporting an OTA update available (that always fails 😂 )
Which socket is that?
Salus SP600
https://www.tindie.com/products/electrolama/zzh-cc2652r-multiprotocol-rf-stick/ extended vacation to jan 13 😩
Hello everybody, am starting with Home assistant and am using ZigbeeMQTT. I just connected an Ikea Tradfi bulb. I see an update is available
But don't understand how to send a message to a topic
Once an update is available you can update it by sending to zigbee2mqtt/bridge/request/device/ota_update/update""
I already have that working
Then you can do it in the UI
No worries 😉
Whats the current recommendation for a zigbee controller? Personally in the past I've used a phillips hue with home assistant. Now I use a Conbee which I love. I'm attempting to recommend a zigbee controller to a friend but it appears very very hard to get the Conbee 2 in the uk.
The frequently recommended usb controllers on tindie are also soldout at the moment.
Is there another way to connect to zigbee devices I'm missing. Like "Just buy and alexa and use it as a zigbee controller"?
The answer depends on your choice of Zigbee integration - see the pinned messages 😉
Good answer! I've just read those docs. One of the main issues is still the recommended devices are sort of unavailable to purchase!
Well, the ones for Zigbee2MQTT are, but they'll be available again shortly
You can start with a lesser stick and upgrade
If you start with a CC253x on the Zigbee 3 firmware you can migrate without re-pairing
Great, thanks
Happy cr2032 day for me - replacing all the batteries in my sensors
😦 I also had some ghosts on a IKEA motion sensor!
but yeah, its the sensor's fault I guess. I have no clue why lol
Hi everyone! I'm using ZHA with Philips motion sensors, and they create two entities: 'on off' and 'occupancy'
The 'on off' one doesn't seem to ever do anything. But it's the only kind of sensor the motion blueprint will accept, and I really wanted to try that one
If you go ZHA, you can get a Elelabs Stick from the official site
Could it be that I configured something wrong?
Have you tried repairing it?
I also have an Elelabs stick. The shipping took a lot longer than announced, but the guy is great. He tried to find the parcel when it was lost, and gave tips for configuration, including the firmware to run on the stick
There could be some issue during pair, and it didn't get properly configured
I don't have hue's, but aqara ones have both. I just ignore the occupancy one
Hah, I do the opposite, but the blueprint author seems to have aqara sensors like you 🙂
is the ocuppancy sensor changing to off in a reasonable time? becuse the xiaomi one stays on for 10 minutes IIRC, that's why I use the motion sensor instead
if so, just change the blueprint to work it that
The hue ones stay on for like 10 seconds
I think Z2M only has occupancy
(For the hue sensors)
I also just ignore the on_off one
IIRC, on the Aqara sensors the occupancy is a just a virtual sensor that ZHA maintains to make automations easier
Hi guys, How can I reconfigure ZHA integration without deleting it?
Is there away to parameterize the usb path? using !secret xxx
The USB path is stored in .storage/core.config_entries, in the same folder as your configuration.yaml file
Can I use !secret xx ??
It's not configured via YAML so no
Thank you very much
Do you know if we can acceess the Sonoff Bridge flashed with Tasmota via its hostname ?
You mean configure ZHA to use it?
Yes, Instead of usning socket:ip:port, if I can use socket://hostname:port?
as usb_path
^ as long as HA can resolve it yes.
Ok thank you both. I will see if it does
all devices have to be paired at few cm from usb when using cc2531 adapter?
i have 2 ikea bulbs and cannot pair at all
No, you should be able to join them to your network from afar
Make sure you're permitting joins and that the IKEA bulbs have been reset
Power cycle them to get them to start searching for new networks again
puddly, do your modded aqras lose state often? I have seen a few people say such
I think I read earlier that you have some. aqara motion sensors
Yeah, I have a bunch. What do you mean by "lose state"?
Aqara sensors only send an event when motion is detected. They don't send an event when motion is cleared.
In theory the modded ones should act the same as the non-modded ones in that regard, though if you mod all of them you can reduce the timeout to 5-10s with a custom component
Hi, I'm having issues with the on/off Ikea remote and the 5 button remote not showing button presses in home assistant. They pair fine, but button presses don't show up as an "zha_event" Using the Sonoff bridge flashed with tasmota 9.2. I have other devices (mainly Aqara and Sonoff) that show up just fine. Based on blakadder database they should be compatible with ZHA. Wondering if it's my use of the sonoff bridge. Any guidance?
Hi guys, I believe I'm having issues with my ZHA component.. I should enable debug logging for ZHA and check the home-assistant.log file whenever the issue takes place... am I right? thanks in advanced
@charred tinsel remove the devices from home assistant completely and then repair
And yes, @mighty river
will try and report back
puddly, I am just using state triggers anyways. A lot of people have reported the modded ones fail after a few days.
No luck. Button presses still are showing after repair
usually it's due to how IKEA handles the ZLL group, but never looked into the details -- happens to me fairly regularly
maybe try remove from ZHA, restart HA and then re-pair -- also sometimes HA will be a bit fast and overwhelm the remote at binding
also try shaking the remote, of course
Thanks I'll try those. I also had the same issue with an ecosmart remote so was beginning to wonder if it was something to do with the bridge
I think I've had mine running for over a year now
No issues. They just report every 5s instead of ~70s
ahh, mono says his fail every few days after the mod. maybe because he used graphite instead of solder 😛
Oh, that would explain it
Yeah just probe around until you find a good ground and solder magnet wire or something. It's a little tight so you may want to use more wire than necessary to be able to bend it into the correct orientation and position.
thanks. I'll see if the default timeouts fit me needs first before I dig in
Hi guys. I've noticed that when I come back home after a long period of time some of my zigbee devices have some delay the first time they trigger.. After that, they work as usually.. it's like they are in sleep mode? dunno..
can that be disabled/avoided?
What is a long period?
What devices?
By long I meant more than an hour
specially the philips hue motion sensor is doing that
Bottom line: if you need entities with rssi, then you are doing Zigbee wrong.
I am doing zigbee wrong  🙋♂️
No, sorry. Pulled the hub out to remind myself but I haven’t hooked it back up yet
Battery_low/battery_normal just could use template sensor. I really just use filter lovelace cards one with soon to replace and second you really should replace the battery
Philips motion sensor doesn't do anything for one-off, i assume that's for direct bindings to light.
For blue prints, using editor just give it entity Id of the occupancy sensor
Sorry , was drifted away. Im using Raspberry Pi 4 with HASS + SONOFF Zigbee CC2531 USB Dongle for the wifi.
Which zigbee routers I should be looking at?
How does the router connects to the hub usually? Lan / Wifi?
Zigbee router 😉
That connects to your Zigbee mesh, via another router, or directly to the coordinator.
CC2531 USB Dongle for the wifi
Nope - that doesn't do WiFi 😛
Correct me if I understand wrongly.
My current setup is Pi4 (Coordinator) & CC2531 USB Dongle (Router) for the zigbee signal.
My goal is to increase my coverage area to connect Zigbee devices. Can you confirm, I should be looking at is Zigbee router (ie Aqara Hub)?
The Pi 4 isn't a coordinator
The stick you connect to the Pi is
The Hub wouldn't be a router, the Hub would be a coordinator for a separate mesh - not helping you at all
I see.. may i know what device (brand/model) I should be google for a zigbee router?
I found something from zigbee2mqtt , https://www.zigbee2mqtt.io/information/zigbee_network.html
LED1545G12, 7146060PH, ZNCZ02LM, CC2531 USB sniffer flashed with the router firmware
Largely anything that's not battery powered
I have one of https://zigbee2mqtt.discourse.group/t/ad-buy-ready2use-zigbee2mqtt-stick-flashed-antenna-mod-and-printed-case/22/6, plus an LED controller, a couple of Tradfri repeaters, and various sockets
Nice! I'll pm you for this .
No 😉
How much does it cost?
Don't remember to be honest, bought it a couple of years back
The seller could tell you 😉
Or you can buy anything else...
Tradfri repeater, any mains socket
Oh.. i thought you're the seller
No
Okie, let me find out more about the devices you listed. thanks @sour shadow !
FYI, you can stop tagging 😉
Discord isn't like IRC, you don't have to tag people on every response. Keep in mind that every time you tag somebody, they get a notification ping. That can very quickly become annoying and people may block you.
When using Discord's new Reply feature it defaults to pinging the person you reply to, click @ ON to @ OFF to stop this - on the right side of the compose bar.
☝️
understand
Hey Everyone! Is there any reliable way to get the Tradfri Gateway work reliably with home-assistant? Mine seems to not like keeping states updated which causes many downstream problems ... from what I found googling apart from restarting the hub frequently there don't seem many options other than ditching the gateway for zigbee2mqtt or the new python integration?
@cosmic pendant if you really, really want just a router look in https://zigbee.blakadder.com/routers.html
Hi Guys, A couple of weeks ago I added Zigbee Home Automation to my HA (sonoff zigbee bridge, https://www.digiblur.com/2020/07/how-to-use-sonoff-zigbee-bridge-with.html). Now I see all sensors which were attached to the zigbee gateway as UNAVAILABLE. I unpluged/pluged zigbee gateway, restarted HA. Nothing. Any ideas how to solved this ploblem? thx.
I use ConBee II with extension cord. I can add easly 15 Ikea (light bulbs and motion sensors) devices , but then ZHA stops find any more. Before starting to play with ZHA I had 30+ devices working fine with deConz. Any ideas how I can find rest of my devices?
Should I just use "+add device" from entities list, or should I use "add devices via this device" under already found bulbs?
If your lights are already on the network formed by deCONZ, I believe you can just power cycle the bulbs and ZHA will pick them up
I removed deconz to avoid confusions
Network settings are stored on the stick so ZHA is likely using your "old" network, it just isn't aware of the bulbs
As for the specific button, there's rarely a need to add via a specific device. Only when you're using Xiaomi or some other sensors that pick their parents poorly.
Also I'm pretty sure joins are only permitted for 60s, despite the spinner on the ZHA page showing otherwise. I'd refresh it every minute as well.
I had long distance from my outside temp sensor to my ConBee, so thats why I wonder should I use it via other device. Also when I add few bulbs using this "via this device" feature, those devices are still visible as full meshed with each others.
I am not sure will that even work like I think it should wokr.
The "add device" asks every router on the network to permit joins. The "add via this device" asks only that specific router to permit joins
Sometimes the seemingly most intuitive parent isn't actually the best so as long as your sensor does a proper scan when joining the network it should pick a good parent
So to move over your bulbs, try powering them off for 10s then powering them on
disclaimer: xiaomi doesn't do proper parent scan and joins the 1st one which replies
And then they apparently don't reroute often either right?
Hi everybody.
I have some trouble with my conbee2 and my new sensor AQARA. I have added the 'deConz' add-on on my supervised HA and I have made the integration. But at the end, when I go to 'Phoscon'->'Sensors'->'Add a new sensor', I hace nothing discovered. Any ideas ? Many thanks.
Xiaomi will actually choose a new parent if you click their button
Not sure if you leave them alone if they do the same
(tested on motion and door/window sensor)
usually they don't, but some times they do. I know some of my xiaomis choose a new parent in certain scenarios, but I cant figure why. I suspect when the network is openen for new devices, xiaomis may roam to another paren
Interesting, my temp/humidity sensors must be stubborn then heh
I'm of the mindset that there's nothing to worry about if everything is working though
i need to replace my xiaomis with konke. with a mix of compatible and incomaptible routers, sometimes they pick the wrong parent when they roam. The only devices I'm having problems with
There's no reason to worry about them reconnecting, as long as they work
I only have two xiaomi devices (temp/humidity sensors). Everything else is a mix of tradfri, linkind, samsung, ecolink...
ha, that would explain why you don't complain about xiaomis 😄 I had quite a few more, and while some of those have been stable in past two years, there were some which I have to reconnect occasionally.
Odd. Zigbee has been rock solid for me, and I even have two separate networks (zigbee2mqtt and hue bridge)
inb4 "hue bridge 🤢"
I have about ~ 40 Xiaomi sensors -- all in all they work fine -- replaced 9 routers a few days ago, and think I lost three sensors -- clicked the button on them and they came back online
I didn't say zigbee network. Only xiaomi on zigbee network. With a zoo of different devices on the network, only xiaomis are causing grief
you got more ZB3 routers then, or more ikea routers
swapped out last ecosmarts for ikea bulbs
yeah, someone just needs to write a better firmware fox xiaomi 🙂
that would do it.
|| ecosharts ||
I kept five with the hope that LEEDARSON will eventually released a more modern firmware ...
Still holding onto that mini hub in hopes I can grab a firmware update
Yeah, ditto -- kept the consciot bulbs too, but just in "cold storage" not on the network
I have one of those too, and a couple of linkind plugs I'm not currently using that I'm assuming I could pair to the hub
These linkind plugs are small
15A rated and Zigbee 3.0
The real question, did you pay more then $5 for them?
Well it was a $10 button/plug combo, so I guess it depends on how much you value each of those 😄
Even split? $5 for the button and $5 for the plug?
That was a screamin deal. Bought 4 packs
I got so fed up with trying to join the buttons I returned the 2 plug/button packs I bought.
I'm trying to bind a Hue Dimmer switch to a lamp (not a Zigbee group).
I've reset it multiple time, then unbound the coordinator and finally tried to bind the lamp. HA still sees the commands from the RWL021 and the lamp doesn't react.
I guess I'll need to look at the logs later on, but is there anything obvious that I'm doing wrong? (Also called remove_all on the groups cluster) (And yes I'm pressing buttons on the remote before/after I clicked a button in Home Assistant)
I think RWL021 only binds to groups
Oh
@molten linden paired fine with z2m...has support for the buttons not been merged yet in ZHA?
i think ikea remotes like that too
Thought I saw it was
Thanks! Will try that then
I never could get it paired to my mesh..
so I got frustrated and returned them the next day.
pairing to mesh must be something else
I'm sure I was just short patience that night, and spending too much time on $5 stuff so said f it.
That's too bad, the plugs and buttons are pretty nice
wait, rwl021 is a hue remote, isn't it? How have you got it for $5
Maybe you can buy the bundle back at $8 now used
the plugs worked fine, I liked that they were 15 amp.
We're talking about linkind stuff @gentle flint
I wish I could get a hue remote for $5 lol
Those are nice too
there's a new version supposedly coming out
if only made it actually fit a standard US face plate
just get ikeas for $12??? or how much are ikeas 2 buttons?
Yeah, and it has a hue logo on the bottom button 
My only gripe with the plugs (and other linkind stuff) is the large amount of text that's on a part of the product that would likely be visible in normal use @molten linden
like their contact sensors!
My dad was in PR/Marketing/Advertising.. I listened to way to many rants about free advertising/marketing on products you pay for... kind of funny.
I spent a week modding a conact sensor to be recessed in a door frame so it could not be seen... (or replace a zwave one that was already there).. the hell I'm putting up something with big LINKIND on the side.
Exactly lol
I actually returned a two pack of sensors when I saw how bad it was
I know white vinyl tape would probably work, but still...
Just tried to bind my Hue Dimmer (RWL021) to a Zigbee group. Also doesn't seem to work.
I think the issue is that it isn't properly unbinding from the coordinator. (https://github.com/home-assistant/core/pull/43959 shouldn't affect this, right?)
(I'm still getting zha_events from the remote in Home Assistant.)
Called remove_all on the Groups cluster through the UI and (again) unbound the device from the coordinator through the UI. Is there anything else I can try?
I just wish Sensative would resurrect https://sensativesupport.zendesk.com/hc/en-us/articles/360003034391-How-to-pair-your-Strips-Guard-Pro-ZigBee 😄
recessed door sensor... https://imgur.com/a/yhMrNtu don't mind the door jam that needs some work...
Is that the contact sensor you were messing with the other day?
in the end prob could have kept the battery on the board... but want to drill bit deeper in fit a larger battery.
think I did this before christmas.. lol timeline is blurry.
Oh, maybe it was that long ago heh
oh yea - yesI was trying to mod a centralite they fit with the big battery. but they use the hall effect sensor.
Ah right
@gentle flint didn't we merge a way to hack this?
so it could be unbound