#zigbee-archived
1 messages · Page 4 of 1
Dear all,
I have had issues over the past few days with my zigbee2MQTT not starting and Bad gateway. I have looked in the logs and it states "configuration is not consistant with adapter state/backup" I search for answers and cannot seem to find a suitable soulution to get it back up and running. I have not changed any settings, since it was orginally set-up and at that time was working perfectly. My setup is a tubeszb-cc2652 POE dongle, with a fixed ip and I can ping it and log into it. With my local MQTT broker within homeassistant.
Zigbee2MQTT version 1.27.0-1
Attached is my log from Zigbee2MQTT
Thanks in advance for any asisstance
@tacit heath posted a code wall, it is moved here --> https://hastebin.com/enucehipuw
@tacit heath [Rule #6](#rules message): Please do not post codewalls (text longer than 15 lines, including whitespace) - use sites such as https://dpaste.org/ (pick YAML for the language), or https://paste.debian.net/ (pick YAML for the language).
Please take the time now to review all of the rules and references in #rules.
I will say first off that channel 11 is likely to be a terrible choice
Not sure why it thinks the coordinator and your backup differ though, those look to be the same
@sour shadow will look at channel 11, but like you I am struggling to see the issue
I updated Zigbee2mqtt about a week ago. My Hue Dimmer Switch disconnected as a consequence. I have since reset and reconnected it at least 4 times. I see it in the Z2M web interface. But the dimmer switch always decides to directly connect to a smart plug. The only thing I can do is turn that plug on and off. Surely I am missing something very basic....
Ok, thank you
I reconfigured all my network from scratch, clean install with conbee 2. Seems to be working fine but when i send orders to turn on lights or turn off lights some lights don’t respond. It seems to be event worth when i try to turn on all lights in a room. Is it normal with zigbee? Do i really need to create a group and update my automation as a workaround??
Use a Zigbee group and it'll likely behave better
I just brought a Sonoff Zigbee 3.0 USB Dongle, it was just discovered but i get the following error:
2022-08-19 14:18:12.262 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Sonoff Zigbee 3.0 USB Dong - /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_b0bfeea2ee12ec11b55c20c7bd930c07-if00-port0, s/n: b0bfeea2ee12ec11b55c20c7bd930c07 - ITead - 10C4:EA60 for zha
File "/usr/src/homeassistant/homeassistant/components/zha/__init__.py", line 112, in async_setup_entry
await zha_gateway.async_initialize()
File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 170, in async_initialize
do i need to install some add-on or something else?
@tropic depot what do you need more?
did you set the radio type manually?
the 2 different sonoff sticks have different radio types
i just inserted the ZBDongle-P in the USB port and let it discover and installed it. noting to config so far i could see
I'm having a problem where my IKEA tradfri light bulb turns on as expected in the morning with my automation, however it turns on to a low brightness level and then never transitions to 100% brightness like the automation calls for. The automation portion looks good, imo, so I'm wondering if it's something to do with the configuration of the bulb. I'm using ZHA and in the device page for this bulb there's configuration options. They seem unrelated to this issue, but I can't find documentation on them so I'm unsure
just in case, this is the transition automation:
action:
- service: light.turn_on
data:
transition: 60
color_temp: 153
brightness_pct: 100
target:
device_id: 5de84d7113d38399969ded351cdc57b0
Yes a Pi4 2MB HAOS. I just replaced the usb cable, removed the not work integration, and let it re-discover and now it seems to work.
Next issue i brought an Ikea zigbee lightbulb and STYRBAR i want to connect those using the ZBdongle. But the scan does not found them at all.
Maybe i'm doing something wrong.
Hi, bought some switches (https://zigbee.blakadder.com/Ledvance_4058075570931.html), havent arrived yet.
Looking at zigbee2mqtt they are not listed. Does anyone know if they work?
Br
What hardware are you running this on?
what do you mean not listed? the link takes you to the zigbee2mqtt page
a Pi4 2MB HAOS and a sonoff ZBDongle-P USB
and a ikea Zigbee lightBulb and the STYRBAR
Yes, but that is the ”LEDVANCE AC26940/AC31266” and not the ledvance 4058075570931
Ahh, you mean AC31266 is the plug I have bought?
i dont know which one you bought
that would be the AC31266
the issue with zigbee2mqtt is that they use obscure product/manufacturer codes and sometimes merger them under the same device page so the image does not always match the reality
IKEA Tradfri bulbs seem to have a bug when attempting to issue turn_on commands with 3 data components (in this case, transition, color_temp, and brightness_pct). The 3rd bit gets dropped, so you're likely just transitioning to the specified color temp over 60s. The workaround I've seen most often is to split the command into two separate turn_on commands (ie. transition color temp over 30s and then transition brightness over 30s), but it's not a perfect workaround
Thanks for the confirmation.
Br
@violet dagger i just tried to run the firmware upgrade suggested at https://zigbee.blakadder.com/Sonoff_ZBDongle-P.html and i got the following error
c:> python.exe cc2538-bsl-2.1.py -p COM4 -evw sonoff.hex --bootloader-sonoff-usb
Opening port COM4, baud 500000
Reading data from sonoff.hex
Your firmware looks like an Intel Hex file
Connecting to target...
ERROR: local variable 'chip' referenced before assignment
When i use the latest python file a new error is shown:
ERROR: Timeout waiting for ACK/NACK after 'Synch (0x55 0x55)'
Do you know what there wrong?
Are you sure you have the ZBDongle-P?
that is written on the back of the dongle
Looking at the issue of that cc2538-bsl.py script and see i'm not the only one having that issue,
ERROR: Timeout waiting for ACK/NACK after 'Synch (0x55 0x55)' = your device is not in bootloader mode
if button is connected to the router that doesnt mean it can control it directly
need to bind correct? As i can see lag 1-2s. 😦
so i need to open it and press the boot button on reset?
that did the trick, thanks for clearing that.
now i wonder of it see my ikea lightbulb https://zigbee.blakadder.com/Ikea_LED2005R5.html <= is this really not working on HA?
Not "confirmed working" doesn't mean it doesn't work, it just means nobody has submitted any confirmation to that specific database
I'm 99% sure every current and future IKEA lightbulb will work out of the box
so if it does, holler 😉
I starting first with the trying STYRBAR, it found it, it configurated it, and it takes a long time to init it, is that normal?
IKEA devices are sometimes tricky to join and may go to sleep before ZHA has time to configure them. Click the button to keep it awake the entire time it's joining.
i let you know my findings
@austere patio you mean the join button on the backside?
or any button?
No, the button itself
this one has 4 buttons;)
Any button
Thanks so much, Ill try that. Do you think it can handle receiving the second transition command while its still transitioning from the first command? Or give it a delay before issuing the second?
And my lightbulb works fine after i upgraded my zigbee dongle.
I have now 2 zigbee devices in my configuration.
@violet dagger not sure of you need to do that or that you want me to update the descriptions. But i would suggest that updating the firmware of the sonoff zbdongle-p 3.0 is advisable for a better working with for instance the IKEA zigbee devices.
also this https://zigbee.blakadder.com/Ikea_LED2005R5.html light will work simple fine in HA as well.
anyway to everyone that helped me starting, thankyou very much
it always some puzzling to get new stuff working on the first start
Is there anyway to readd a zigbee device and have it keep the same device ID and entity ID in HA? Using ZHA
Still having an issue where after binding a Tradfri shortcut switch to my Coordinator I can no longer control one of my LED strip controllers.
At this point I've given up on repairing that device so I would like to try to readd it, but ideally I would like to keep the same Device ID and Entities within HA so that it doesnt break my HomeKit integrations
You don't necessarily have to remove the device from ZHA, just factory reset it, permit joins, and ZHA will configure it from scratch once you join it again
Ah interesting. I will give that a shot thank you. Now to see if I still have the manual hidden away somewhere......
Does anyone here actually use zigbee bindings? If yes, what remote/bulb combination?
Which device is it?
One of the few single colors I could find out there since RGBGeenie is out of stock
Pairing
Hold button until LED start flashing (about 6 seconds), then release.
Pairing is done when LED stop flashing.
😎
Oh wow thank you! So I put it in pairing mode and then go to the Add Device interface on ZHA? I am not sure what "permit joins" are
They're the same thing
Permit Joins is the option you enable which tells your Zigbee coordinator to allow new devices to join your network
Ah gotcha. I think that is done by adding a device through the config menu in ZHA
Honestly I couldn't tell you the ZHA specifics because I run Z2M but I guess you're right
Yeah I didnt super know what I was doing first time I set up and originally ran HAOS so ZHA was the natural choice. There are some features that make me want to hop over to Z2MQTT but every time I think about it I get pre-frustrated and put it off lol.
I recently made the jump from deconz to Z2M. It was painless because I just bought a new coordinator. I actually ended up doing 50% one day, 50% the next day
No rush if your old network also still works 🙂
Yupp it works fine for now. The biggest issue I am still having is the battery drain think with the Tradfri devices from Ikea. They last about a week on ZHA and it is quite annoying
Is that actually a ZHA issue?
From what I was reading yeah. When it does not go through one of the Ikea Gateways there is a polling rate issue of some sort and it just zaps the battery
I am using a few tradfri battery devices and honestly never encountered an issue
Yeah it seems to be a random issue that is tied to specific coordinators. Many people use the same model as me with no issues but every Tradfri on my network has this issue
Oh btw put the device back into pairing mode and it was immediately recognized by ZHA with its original device name and everything works as it did before
Interesting thread. I did OTA update on my on/off tradfri switch a few days ago which took like 1-2 hours. It drained from 90% to 60% and is now back at 87% lol
The led strip that is
Nice!
Interesting I will give that a shot as well
I'm on Z2M with Tubes PoE adapter though
If you're already encountering the issue it looks like an OTA is not gonna fix it
Thank you again for the quick search and help! Now I can stop unplugging the strip to turn it off like a nerd lol
Glad to help man 🙂
Darn. Well updating cant hurt. Unless it does lol
I personally update firmware on all my zigbee devices, never had an issue. Your mileage may vary though!
I think one IKEA OTA update broke groups or something, double check your specific device
Speaking of - anyone here using Zigbee bindings?
Inadvertantly when I accidentally bound my tradfri switch to the LED strip which is how I got into the above issue in the first place. It worked great! Just not what I wanted to do lol
How did you manage that?!
Just held down the reset switch in the tradfri and then the LED strip started blinking lol
It looked like the exact same sequence I saw when holding down the pairing button on the LED strip to rebind it as you advised except I wasnt holding down the LED strip button. I was holding down the Tradfri button. Very odd and only affected the one LED strip. I have several more of the same model that had no issue.
Binding is very elusive and some voodoo is required is all i managed to find out so far
It does not seem i got the https://zigbee.blakadder.com/Ikea_E2001.html working. when i do a reconfiguration i get:
Reconfiguring device: 4-button panel
The device reconfiguration failed. Additional information may be available in the logs.
z2m? deconz? zhA?
zha
log:
Logger: homeassistant.components.zha.core.channels.base
Source: components/zha/core/channels/base.py:486
Integration: Zigbee Home Automation (documentation, issues)
First occurred: 21:18:53 (8 occurrences)
Last logged: 22:52:30
[0x8A92:1:0x1000]: Couldn't get list of groups: Request failed after 5 attempts: <Status.NWK_INVALID_REQUEST: 194>
[0x8A92:1:0x0001]: async_initialize: all attempts have failed: [DeliveryError('Request failed after 5 attempts: <Status.NWK_INVALID_REQUEST: 194>'), DeliveryError('Request failed after 5 attempts: <Status.NWK_INVALID_REQUEST: 194>'), DeliveryError('Request failed after 5 attempts: <Status.NWK_INVALID_REQUEST: 194>'), DeliveryError('Request failed after 5 attempts: <Status.NWK_INVALID_REQUEST: 194>')]
[0xEE3E:1:0x1000]: Couldn't get list of groups:
[0xEE3E:1:0x1000]: Couldn't get list of groups: Request failed after 5 attempts: <Status.NWK_NO_ROUTE: 205>
[0xEE3E:1:0x0001]: async_initialize: all attempts have failed: [DeliveryError('Request failed after 5 attempts: <Status.NWK_NO_ROUTE: 205>'), DeliveryError('Request failed after 5 attempts: <Status.NWK_NO_ROUTE: 205>'), DeliveryError('Request failed after 5 attempts: <Status.NWK_NO_ROUTE: 205>'), DeliveryError('Request failed after 5 attempts: <Status.NWK_NO_ROUTE: 205>')]
Device runs on batteries and is sleeping, you have to wake it up before trying to communicate with it
Just found this thread that details the issue a little further and puts more blame on ZHA. One guy said that they enable zha.permit for 15 mins every night and this has helped with the issue. Any idea how that might be accomplished?
i pressed all the switches just before starting ot
how could i see of the device is awake?
Automation, sec
Oh dude
Literally 2 comments down from your link
😆
that's why i use dur***ll
oooof sorry I had Scroll Brain™ and whipped right past it
AH had them on 40% (!!!!!) sale last weekl
I might or might not have bought excessive amounts..
50 euro on button batteries...
I get mine straight from the source: AliExpress lol. Sometimes good deals pop up on ebay with free shipping though.
A little off topic but there used to be an eBay store that sold Energizer Lithium AAs without the label. I imagine the factory eventually got caught and the killer deal disappeared. From my load testing they seemed to be legit. Probably just the factory selling em out the back
I use ikea AA and AAA rechargeables with their own charger. Magnificent stuff
That might work, but considering my history in electronic repairs and seeing cheap ali batteries go
i stick to known brands just to be sure. Even though coin batteries don't carry enough power to cause real damage i just avoid it
On a normal functioning network the coins last a long time 😄
These were the super fancy E2 Lithium super lightweight expensive disposables. Nice stuff that is not worth it at MSRP but was nice with the discount. Especially for backpacking where every gram counts
Makes sense
Never really thought about batteries honestly. I just buy the IKEA ones for AA/AAA and Duracell coins
I'm getting value for my AA batteries because I hung battery LED strips in my two closets (the led light is from ikea too lol) because there is no power near there to wire it up. Gotta change 4x AA batteries every now and then, and just dunk them in the charger whilst putting in the new set
anyone have luck with ikea blinds?
does any of you using the Styrbar Remote? it does not look as if it gives all his secrets free to me. Like the buttons dont work.
It looks as if it is IKEA day 😛
Any chance you need to click them all, do all the actions first so the coordinator learns them?
It's like that for a few of my remotes. They dont offer me any actions in HA until i actually perform all the actions at least once
tried that as well but it does not make any difference.
what messages do you see in the logs when you press a button?
nothing at all.
Which logs you checking?
What do you see on the device overview? do you see the buttons there ... I only see the diafnostic values as battery power "unknown" and Identifybutton.
You should have an action sensor as far as i know
Keep in mind i'm on Z2M and do have ikea remotes, just not yours. But it should be pretty similar.
Yeah i was somehow expecting to see an action sensor or four.
I was wrong
ZHA does not give you the action sensor
Are you familiar with blueprints?
yes i am and i added the blueprint for the styrbar
No dice?
I some events popping up begin of the evening but then i tried to "reconfigurate device" option etc. and now i see noting happening 😦
What happens when you repair it?
Don’t delete or anything, just enable pairing and reset the remote
i'm restarting HA to see of then everything is starting op as it should be
I did that as well
What i find strange about the pairing sequense is that at the last page where you can set the name and location ... that screen cant be closed.
I was also having this exact issue with my Electrolama ZZH (CC2652R) Stick and the E2002 remote. I finally got it to pair by pressing the pairing button in the battery compartment 5 times in quick sucession until the red light flashed and turned solid, let it run through the configuration in Add Devices and then without removing the device between attempts, repeating the process again. It took 5 attempts but each time the remote was running through (and failing) different endpoints and nwk values, and updating the existing values tied to the IEEE. You know it's working once the battery on the green successful configuration card goes from unavailable to blank or shows a value.
For anyone who has a HUSBZB or other NCP Zigbee stick, and wants to update the firmware through docker, I pushed a multi-platform docker image encompassing walthowd/husbzb-firmware, grobasoz/zigbee-firmware, and Elelabs_EzspFwUtility.py
https://github.com/users/kageurufu/packages/container/package/husbzb-firmware
Thanks for the help yesterday.
After I posted here and we figured it was the USB 3 SSD that was probably the issue, I tried updating the firmware on my RaspbeeII which borked the Raspbee and after a while I got it working again with deCONZ by downgrading the firmware (using the Phoscon Raspian image).
Now it's back in my Pi4, I'm able to add devices but all the previously added devices are "unavailable". Is there any way to reinitialize my devices without re-pairing each one? (I've 46 devices and the Hue lights wouldn't reset when I tried with two different Philips remotes earlier today... I'd really like to avoid it, I'd have to get on a ladder for one!)
Or at least, why are they not communicating with the Raspbee anymore? I even tried restoring to a backup from a few days ago (when they were somewhat working, updating state, when that backup was restored from Pi3 to Pi4). I presume it has a radio MAC address which is the same, and I know there is a network_key but that should still work since I restored from the backup.
Can you PM me your /config/zigbee.db file? If you're running 2022.8.0 or newer, it'll contain backups of all the networks your Raspbee has been a part of. HA backups won't touch the network state on your Raspbee so restoring them won't help.
Currently on 2022.08.3, just upgraded from a 2022.08.x version IIRC
Fun thing is, Depending on which Ikea AA and AAA ones you have, (if it is the white Ikea Ladda) they may actually be 10 times more expensive panasonic eneloops which was long the gold standard in rechargable batteries... Just ikea branded.
Well maybe not 10 times.. But 4-5 times atleast.
These ones are The same batteries from the same factory.
Eneloop pro are 20 euro ish for a 4 pack. Ladda is like 5
Hi, maybe someone of you can help me. I try to move my HA installation to a new device. Do you know if it is possible to restore a HA Backup + Zigbee2mqtt on a new device without repairing all zigbee devices?
should be
z2m keeps a controller backup and database for name mappings
if you move the coordinator even easier
Hey guys, I'm pretty new to the whole Zigbee world and I would like to buy a few smart plugs compatible with Zigbee.
A quick look on Aliexpress got me these : https://fr.aliexpress.com/item/1005002046241470.html?mp=1&gatewayAdapt=glo2fra
The title says Zigbee but also Tuya, i've seen tons of those Tuya Zigbee devices and I was wondering if those were compatible with a standard Zigbee hub and not the crappy Tuya Gateway?
I already experienced Tuya with Wifi devices and it's a pretty crappy experience so I would like to give Zigbee a try but I can't find low-budget devices without the Tuya logo everywhere.
Tuya's Zigbee stuff is effectively a proprietary protocol on top of Zigbee. It rarely works out-of-the-box without explicit support by your Zigbee integration so I would avoid it if a non-Tuya device can replace it.
Hi i'm new to home assistant and i'm trying to make my button to be compatible it's an zigbee bridge 2.4 ghz and SNZB-01 i cant make it work with automation
I Installed AlexxIT SonoffLAN but i have in automation battery level instead of when pressed, how i can make it work ?
thanks
Hey, suddenly all my 4 IKEA controllers stopped working. Using Condbee2 and ZHA. Any ideas why? Actually I think 3 dropped yesterday and last one today. Feels like they have been updated or something that messed things up?
What version of HA are you running/did you upgrade from?
Home Assistant 2022.8.6
Supervisor 2022.08.3
Operating System 8.4
But I updated right now after the last one dropped so it kinda more feel like the IKEA controllers did a OTA update or something that messed things up?
I don't believe IKEA has released any Zigbee OTA updates in months: https://ww8.ikea.com/ikeahomesmart/releasenotes/releasenotes.html
hmm wierd.. and the batteries havent warned
What did you update from?
I'm not really sure, I think it was the Core. But I did the update after the last controller went down
I meant the version
I didnt notice what the version was!
I just press update when a update is ready, I mean they come all the time! 😛
So probably not 2022.7.x
Nothing new has changed with ZHA in the past two minor releases but if you want, can you send me your /config/zigbee.db file?
Sure, can I do it here in Discord?
Sure, PM it
some one for the Zigbee Bridge in Home Assitant ?
What's the question?
sorry, I have the Zigbee Bridge from Sonoff, i installed the addon AlexxIT/SonoffLAN
I try to configure it to Home assistant and i cant do any automatisation but on the devices and entity i see it.
any thought ?
Well, the bridge is:
- Really shitty
- Not for the SonoffLAN integration, but for ZHA or Zigbee2MQTT
i see the dongle is better the zigbee 3.0 ?
Almost anything is better than the ZBBridge
Buy something CC2652 based. This list is a good one, both Tube and Electrolama have been proven to have excellent customer service. The current generation of EZSP sticks (see here for some) are also a good choice for ZHA.
Anything CC2530 or CC2531 based should be avoided - they're old, slow, and only suitable for a dozen or so devices. The Sonoff ZBbridge isn't advised since it uses WiFi (built in interference causing stability/reliability issues), and the HUSBZB-1 uses an older chipset so should be avoided.
Finally, the ConBee range are fine with deCONZ, but experience with ZHA and Zigbee2MQTT appears to be mixed.
Did you not read the bot message?
wich one ?
Tasmota is firmware for a range of devices, what exactly are you referring to?
not sure i think for tasmotizer sorry if im spelling bad
That's firmware for WiFi devices
It's not a Zigbee coordinator
It's also not hardware of any form
another question , anytime i install the homeassistant i cant log the Supervisor its logging to the user i create at the onboarding, how i can log into supervisor ?
i tried docker , virtual images , os agent and supervised nothing give me to supervisor
The #installation-archived channel can help you with that - but you don't log in as the Supervisor user, you log in as the user you create
supervisor is obselete ? the user created is doing the same things ?
There's never been a "supervisor" user you log in as
ok thanks
There's a Supervisor container if you use Home Assistant OS
But the #installation-archived channel can explain about that
ok ill ask here
thanks alot
but just an another thing
with the home assisant can i bind the switch SNZB-1 to a shorcut command to trigger a sengled bulb already binded to HA ?
i mean in example ctrl + r
If they're both Zigbee devices, and both in the same Zigbee mesh, and both support Zigbee Binding... and you're using ZHA or Zigbee2MQTT... yes
Otherwise you can just write an #automations-archived to do it
but when i use Zigbee2MQTT i have an error 502 something like this in the browser
I'm confused
You're talking about binding, then about port addresses
Those two things are unrelated
As is Zigbee2MQTT not running
i can install zigbee2Mqtt in windows ?

without ha ?
Did you read the Z2M install docs?
Because, they have a section titled Windows
It's probably a bad idea, like running almost any server on Windows (desktop) is a bad idea
i have an other option who its worked before but its cost 90$/year but i wont pay this
on ifttt pro :(
*wont want
If you're not familiar with Linux, use Home Assistant OS and the #add-ons-archived
It's going to be easier to get right than trying to run stuff in Windows - even running it in a virtual machine on Windows is better than directly on Windows
thanks for this , i will wait soon to buy Conbee
ah oops yeah this one based stick
but i can use the switch and the bridge on the Ewelink app
but i cant see it ont google home
i have a tp link plug and sengled bulb
and its only the plug and bulb i see ont google home not the SNZB-1
Hi 🙂
What are the reasons why you don’t reconnect conbee?
Ps: I’m using conbee 2, I’m wondering why it would be better to migrate to a cc2652
Better supported, has fewer firmware quirks and glitches, less prone to "not working" under conditions other sticks work fine
Hello everyone. I'm having a problem with z2m and my mosquitto broker. I have 2 instances of z2m. One in my main server, installed via hacs and paired with the zigbee devices that are close to it. And another running in a raspberry pi on the other extreme of my house, with the closest zigbee devices paired to it. They both talk to my mosquitto broker in my main server installed by hacs. They have all the relevant configs identical. The problem is that after a while (sometimes its 2 hours, other times its 20 hours), the z2m in the raspberry pi disconnects from the broker and the only way to make it connect again is restarting z2m. I have tried everything (including setting them in the same network) and this keeps happening.. Anyone knows something about how can I resolve this?
oh, if I go to the webpage for the pi's z2m, everything is "normal" in there.. I can control the devices, just won't show in HA.
yes, one is zigbee2mqtt and the other is zigbee2mqtt2
How about mqtt client id
when I first set them up, a few months ago, they worked flawless for a few months, but this problem started happening a few weeks ago.
I left empty the client id for the z2m in both. Then I tested setting a unique client ID for the z2m on the pi and the problem continued
they even have the same zigbee adapter.. the sonoff zigbee 3.0 adapter..
hmmm anyone have an idea why my zigbee entities are unavailable in hass (they work fine through the Z2M dashboard, but not in hass)
it stopped working since last night, so I'm thinking either an update broke it or something in the sql db is corrupt, but I have no idea on how to reset the sql db
nothing weird is found in the logs
small example:
2022-08-21 10:55:17.665 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: switch 0x54ef441000158b9c switch
so I assume it should work, but it remains unavailable and doesn't do anything
apparently it's the 20220820 version that's broken
reverted to 20220805 without any issue again
Hey, I'm currently planing my smarthome light setup and I'd like to change LED intensity by daytime but wire the lamps regularly in a direct way. So turning them off cuts the power from the led driver/led lamp completly. What would happen if i turn them on after total cut from power? Do they glow at 100% power? Or do they wait for the first signal to see what intensity they should be? E.g. they need to be dimmed at night right after getting power
Or is zigbee not the right approch for that ?
Request
"zigbee2mqtt/bridge/request/permit
failed with error: 'Cannot
execute command, in Inter-PAN
mode'
Cannot execute command, in
Inter-PAN mode (how do I disable inter pan mode in zigbee2mqtt?
Well, it depends on the bulbs. Some will come back at 100%, some will restore the previous state. However, if they are anything but Sengled you're going to screw up your Zigbee mesh
ok thanks for the reply, so basically thats something you shouldnt do? what's special about sengled? Also what would be an alterantive in my case?
Sengled bulbs are one of the few, possibly only, bulbs that aren't router devices
Turning off your routers is going to cause you problems as you break the mesh
Dear God
Binding is entirely possible, just use ikea lights and ikea remotes.
Back to the store to replace a load of remotes.
I'm guessing you have a pre feburary firmware, Pull the stick and put it back in to reboot it. Did you look for Touchlink?
Thanks that worked
Has anyone ever have issues with Zigbee devices just not reporting state updates at all? Using zigbee2mqtt, the last maybe 2 or 3 days, my Aqara sensors are no longer reporting their states at all. I've removed and repaired them, and still, motion sensors are not reporting any motion..
No issues here with 40 or so aqara sensors
They don't update unless the change is relevant
Don't remember the thresholds off the bat
I've placed the sensor in a room, left if for 5 mins, then walked in, and it hasn't detected anything.. lol
Thinking I may just need to start a clean install and build my HA from scratch
Never seen, tried pairing it to a known good parent?
Also,what is your coordinator?
Conbee II, and have just setup 2 Sonoff Zigbee USB devices as routers
Oh, I'd swap the conbee for one of the sonoff ones
If it is the ZigBee 3.0 ones
The conbee is... Known to be YMMV using it outside of phoscon
Hmm fair enough. Might just switch to using one of the Sonoffs as the coordinator then
I'm giving ZHA a try, I tried to pair my window cover to it, but it doesnt show up properly.
it shows up as
lumi.curtain.aq2
by LUMI
Can I fix that somehow?
That's what the device reports, Lumi is the manufacturer of Aqara devices
it exposes a cover accessory, but the buttons are not correct
also I cant set the specific percentage
As in they're inverted?
hmmm its hard to explain
like Right now for example
the upbutton is disabled, and the STOP and DOWN buttons are enabled
if I open the window manually, then press the down button in hass, it goes down
there is also another entity called number showing up as a slider but it doesnt show the current window position nor allows me to set it
I was using it with Zigbee2mqtt before and it worked there, I'm just trying to see if I can work with Zha directly
I guess it just isn't compatible with Zha
too bad
Back to z2m it is
Can anyone tell me about device binding in ZHA? I've figured that if I bind a button to a light it'll allow it to turn on/off without needing to create an automation however I'm wondering what else it does. Does binding a device directly to another device also allow them to communicate directly assuming the Zigbee coordinator goes down (eg HA crashing)?
it should
Ah great. Thanks. Now onto the next question - once devices are binded to each other (eg button and light) is there a way to set it so more advanced features (eg double click, hold) control other functions of the other device (eg brightness, colour)?
Not unless the button itself supports sending those commands. Binding is very basic.
Anyone know hwo this can happen, there is this Device on my z2m, that is powered off, and it still sees LQi 171
💀
The device (button) does support double clicks and holds. So how would I use those special modes to control the light brightness etc?
Does anyone use Philips hue remotes with zha? Specifically these Exclusively for Philips Hue Smart Lights do they work with zha or it's truly propietary?
They work on ZHA
Awesome. From experience? Or you just know. What about zha group binding
The device may support sending things that can be interpreted as double clicks, but unless it actually sends the correct command to the light on its own, there's no way to configure it
I've seen it dozens of times. Unless these are some new bluetooth only kind of remotes then they work fine.
Ahh ok, thanks.
Sounds good worth a shot
@spark star Your message has been deleted as it contains a link or a domain name 'pasteboard_dot_co' that is on the blocked list because of: 'Virus detected!'.
Please re-post by removing/changing the domain name/link. Your original message has been DM'ed to you.
Your message: I have a Tuya "_TZE200_dwcarsat TS0601" 6 in 1 Air Quality Monitor that I am trying to add to my ZHA network on HA and my HUSBZB-1 stick. I have 9 other devices of various type running fine on my ZHA network. The TS0601 gets added but only the Voclevel sensor is showing up. Temperature, humidity, co2 nor formaldehyde are being shown. I see a lot of this in the logs: https://pastebin.com/vZ5cAvE2 and here is the Zigbee Device Signature: https://pastebin.com/vZ5cAvE2 and this is the result when I try to reconfigure the device: https://paste.pics/696429c2717b6d5f128fd86bbac180b1
No change after reconfiguring the device.
Here are the zha logs when trying to add the device: https://pastebin.com/rK1UH3Y2
I get exactly the same results using a Sonoff Zigbee 3.0 USB stick and ZHA on my test HAOS instance.
Hi I just started with zigbee and so far everthing seems to work only the LQI is zero, so I bought some router (aqara smart plugs) but the sensors which were already paired still connect to the sonof zigbee dongle. Is there an easy way to let them find a better route or do I have to re-pair them
Lol!
TIL
They perform like A+ batteries too! Might explain a lot. I've got the white ones. Also a weird shade of blue ones, but mostly whites.
I've just recently retired my hue bridge and moved all the devices to ZHA. As I was adding devices they were very responsive, but now ~12 hours later about half the devices don't work at all when I try and control them
I'm not sure how to go about debugging and fixing. I undated the firmware on my stick (conbee II). I've also checked the visualization (not sure how trustworthy) but many of the devices that aren't working have multiple green connections. 95% of my devices are wired and show up as "routers"
it is frustrating as well, because in HA they "look" fine, here is an example: https://cloud.drackett.com/IsS5ak
Is your Conbee on a USB 2.0 extension cable?
Are you able to receive sensor updates?
I'm not sure how to check that
If you have temperature sensors and such, do they show recent temperatures? If the Conbee can receive but not transmit, it's likely interference.
heh, I have like 0 sensors
In that case, can you enable https://www.home-assistant.io/integrations/zha/#debug-logging and post/PM me the log?
You can send the whole home-assistant.log file if you want. Make sure it includes you trying to turn on a device.
5/6 of my entities showed up after a HA restart. Several values are wrong and pm2.5 is missing but these are known issues.
I'm just reading a lot now and it sounds like there are (were?) issues with hue bulbs on non-hue hubs. Is that still the case? Should I go back to using my hue hub vs. pairing devices to my conbee II?
I've heard about Conbee 2 being very problematic with ZHA
Quoting:
'I have had some stability issues with my ZHA + Conbee setup where all my devices turned unavailable until a hardware reboot. I am considering moving to Zigbee2MQTT hoping this will be more stable. Any thoughts on this and reasons why to move or stick to ZHA?'
I've had ikea and hue bulbs on my conbee stick mixed, never had an issue. But I ran deCONZ
Have since moved on to an CC2652 with Z2M
Can someone recommend me a zigbee motion sensor with a low detection timeout? I know the hues are very good, but i need a couple and i don't particularly enjoy their price point
IKEA ones are very slow. I've heard loads of mixed experiences with the aqara P1's (not te be confused with FP1)
yeah, I'm planning on changing away from the conbee once something better is in stock -_-
not sure about moving to Z2M
but I suppose if I'm migrating all my devices, I might as well try
I assumed since HA built ZHA in that it would get good support, but not sure how much thats actually the case
althought ZHA does still seem somewhat buggy..
but maybe thats the conbee 😛
Is it bad to use a usb3.0 extension?
If it's plugged into a USB 3.0 port, yes
same 😦
buy a usb 2 extension
I'm using a Conbee II with a USB 2.0 extension and the deCONZ integration....it's been rock solid with 30+ devices. Without the extension, I couldn't get any device to bind. With the extension, it's been perfect.
Im having issues with my Z2M
some end devices just stop talking with the coordinator after some time.
anyone know how to resolve that?
At first I thought the issue was signal strenght, but the LQi is pretty good
If I re-bind the device it works normally for some time.
All my zigbee devices are from sonoff save from my window shutter mottor which is from aquara and has no issues.
to narrow it down for now this is the temperature sensor I have. I have 2 of those.
https://www.zigbee2mqtt.io/devices/SNZB-02.html#sonoff-snzb-02
but I have a misc of contact sensors, PIR sensors and wireless switches.
Yeah the SNZB range of stuff is mostly crap.
Motion sensors dropped off all the time, along with temp sensors.
Only devices I have left are some door sensors and buttons.
doesnt make much sense to me, because for a while it will report fina
and suddently stop
and not come back
my PIR sensors work very well tho
I found it was usually due to voltage drop on the tiny button cell. They drop too low due to temperature fluctuations and the device drops offline, then either the config corrupts or it just fails to reinitialise properly. Either way, annoying as hell.
hmm ok, that makes more sense, but the batt is still very new. but I guess I can investigate that
Yeah doesn't matter. I've had ones with brand new batteries drop off within 12 hours.
In the end I gave up the fight and moved motion sensors to Hue. Only ones I've kept of the Sonoff are the door/hall sensors and a couple buttons (although I'm replacing them as well).
Hi, could I get recommendation for zigbee dimmer module for a 2 way retractive switch.
On/off, holding up/down will dim accordingly.
Country: uk
Budget: up to £100
Protocol: zigbee
Features: on/off, dimming
@kindred stratus Looking for advice about a device to buy? Remember to provide guidance on:
- Which country you're in
- What your budget is
- What protocols you prefer (eg Zigbee, WiFi, Z-Wave)
- Any features you want (such as power monitoring, dimming, etc)
I'm looking to buy temperature sensors, any recommendations?
Hi guys, new to ZHA integration but not new to HA.
I've bought a ceiling lamp zigbee complaint from Eglo connected without any problem to my HA server using Sonoff Zigbee USB stick.
But I have some problem with their remote, I can add to my Zigbee network but no new entities are created. How I can proceed?
ZHA works with events for remotes, not entities
This, sadly, isn't well documented
The Xiaomi Aqara ones work well
relooking at the docs I've seen about the events. Strange thing is that, looking with event listener in HA developer tools, no event is fired for the Eglo remote. But using an ikea truglo on/off swith I can see the events. Seems that Eglo remote is the network but doesn't send messages to the concentrator 🤔
It should, if the device is paired correctly, but I use Z2M where things are more obvious
Thank you @sour shadow, I will try to take a look to Z2M, but I suppose that this remote from Eglo has some problem when using outside their ecosystem, that's a pity....it's sooo cheap
It may also be that ZHA needs a quirk for it 
I have a question! I’ve got my home assistant host on a rack mounted server but I also have a spare raspberry pi server. Would it be worth buying a Zigbee to raspberry Pi and then connecting zigbee2mqtt (for example) over my network from my home assistant? Or are there better solutions for my case?
It does have a USB port but it’s in a metal rack
I’m thinking it wouldn’t be great for signal
A cable can go outside the rack
Otherwise I'd recommend instead a network connected coordinator like https://www.tubeszb.com/shop/coordinators/2
Oh right! Are they just as good?
As good as?
A USB dongke
Fair enough! Thanks!
I'll definitely go for that, as it seems the right fit for my network and also I have an excessive POE network switch which I am still trying to justify to myself! 😉
Can I create a strobe-effect using HUE bulbs and Home Assistant alone, or will I need a HUE bridge for that?
If you have a Zigbee coordinator and use a Zigbee group you can do it in HA
If you don't use a group you'll likely flood the mesh
Ideally though you buy bulbs that have a built in strobe/flash effect
Ah, cool. Didn't know they had it as an built-in effect. Any particular ones to look for?
No idea TBH, I've never looked at my Tradfri bulbs to see what they support
Ok. I'll dig a bit then. What would be needed in HA to do this, given using a group for the bulbs?
Just turning them on/off tends to be a bit slow?
The Zigbee group is to avoid sending a bunch of individual commands, which may flood the mesh
If the bulbs have their own built in strobe/flash feature that may be less of a big deal
does the deconz component actually work with websockets? ha doesnt discover it, and configuring it manually, does not work. looking at the code it only seems to use http://
@raven jewel Hope you don't mind the ping but i've read you had a FP1 sensor, how is that holding up?
I got 2 but not tested yet they joined z2m ok I have the other aqara one also and its huge!
they are great for room occupancy IMO
takes a bit in larger rooms to get the placement correct but they work very well
and yes, they are larger sensors
the new one is, huge snipboard.io/KugiHk.jpg
ah yeah but thats not mmwave
well the ones on the left are
GODDAMN that is huge lmaop
Nice. I'm looking into them for my living room
Actually screw it, im just going to order one
cool
I also took delivery of aqara P1 motion sensors but damn their detection range is a piece of crap
did you try changing the config on them?
and good luck changing batteries on those... getting the bottom off the P1 motion is a PITA
I did somewhat, sensitivity is cranked up
Yeah. That seems to be a common issue (regardless of motion sensitivity). My old Aqara sensors are much better than the new P1 sensors
I'm getting some FP1 sensors soon though
its an aqara sensor its pretty new
yeah ive seen it, its built to attach to your ceiling right?
I need to move my zigbee channel due to interference I suspect. between 6 and 7 wifi looks good as my old 24g is there which i will turn off. I cant yet find what that is for zigbee 17 or 18? https://snipboard.io/tmAnlW.jpg
looks like it
15 til 20 is wifi channel 6
til 19 sorry
Zigbee 15-19 = WiFi channel 6
so 20?
To select a Zigbee channel that does not overlap with WiFi, try
channel 15, 20, or 25. These Zigbee channels avoid the most
common WiFi channels (1, 6, 11). Also note that channel 25 in the
US has lower transmission power per FCC requirements
Ya 20 seems fine
"6.5" looks ideal
Make it 20 indeed
to move z2m I need this?
advanced:
channel: 20
anything else please?
and re-pair all I assume
Do an energy scan instead of relying on WiFi network density (https://github.com/zigpy/zigpy-cli/)
My battery are dying fast, like weeks or days so I have a symptom. I have moved my 24G up to 7 from 1 but that hasnt made a big difference. i have asked our full time network ppl on a energy scan and they say the cheap stuff / methods are crap and dont bother. The are trying to get purchase kit for this and its several Ks. Also on the RHS battery is doing worse which seems to be the vodafone signal.
I mean it's a part of the Zigbee radio, it's better than guessing
What devices? IKEA?
aqara supposed to last 12months I dont get 12weeks.
what part of zigbee radio?
url for a doc please?
ive been searching
I posted a link above for how to install the tool, there's a section for how to do an energy scan (ignore the --nwk .... part). If you're using an Ethernet coordinator, use socket://ip:port instead of a path or COM port. Make sure nothing else is connected to the radio (i.e. ZHA or Z2M).
Make sure to stop Z2M
LOL, slight detail there, LOL
What's the best way to migrate from one zigbee2mqtt install to another? Do I just need zigbee.db?
this should work with python3 and pip3? I am not much of a coder and I have flu/covid right now so thinking is hard
Yeah
I have top be root I guess ?
If you want to PM me the error you're getting I can maybe try to help
I think its a path error just me not knowing much about python etc
I think it installed ok as root
so I run the commands in the readme one at a time?
like start with, zigpy radio znp socket://192.168.31.180:6638 network info
No, just the energy-scan one
ok as that failed
Run it with zigpy -vv radio ... and see why
I'm having a problem wherein end devices directly connected to the Conbee II are becoming unresponsive. Devices that happen to connect to Sonoff routers (which then connect directly to the Conbee II) are working just fine though. All of the end devices are a variety of Sengled bulbs. The unresponsive devices still show as availably and have an lqi, but they don't respond to commands issued by the Conbee. If the same device happens to hop on one of the Sonoff routing devices, it works fine. Any thoughts or additional info I can provide?
debug 2022-08-23 21:11:53Error: Command 0xb0ce18140008ec4c/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 (no response received) at DeconzAdapter.sendZclFrameToEndpoint (/app/node_modules/zigbee-herdsman/src/adapter/deconz/adapter/deconzAdapter.ts:654:23) at Endpoint.sendRequest (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:299:20) at Endpoint.command (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:772:28) at Object.convertSet (/app/node_modules/zigbee-herdsman-converters/converters/toZigbee.js:283:17) at Object.convertSet (/app/node_modules/zigbee-herdsman-converters/converters/toZigbee.js:906:32) at Publish.onMQTTMessage (/app/lib/extension/publish.ts:246:36)```
Using zigbee2mqtt but the log entry might have made that clear.
out of range?
Hello i configured zigbee2mqtt but seems after i enter the page it returns with 501 bad gateway (ping me with reply)
The lqi looks solid though, e.g. 250-255 for the devices in question, and it occurs with devices < 6' from the controller. I moved the stick to a Pi on a different floor and a bulb three feet away with nothing but air separating it from the Conbee is stilI exhibiting the problem. With nothing else to go on I went ahead and ordered a Sonoff stick and I'll give that a shot Friday when it arrives.
Anyone else having problems with including new Ikea traadfri bulbs with conbee2? Old one i have is detected right away but the 2 new one is not found, bought them at Ikea yesterday
I am trying to calibrate a power monitoring plug in zigbee2mqtt. Does (percentual offset) mean something other than what I think it does? It's impossible getting it even in the ballpark area of where it should be. Example: I got the current to 7A. I calibrate it to '100', assuming this would double the value to 14. Instead, my reading is now 117963 A
am I supposed to be able to see the zigbee channel in use by my coordinator in the web UI? been looking around and I see a lot of details but not the channel in use
For ZHA the default is 15 and for z2m default is 11 I believe
Thank you. Yeah, mine seems to be on channel 15. I had to grab my CC2531 and hop on a few channels to find where my stuff was. I have two different zigbee networks going, and I just wanted to make sure that they are not on the same channel. But it looks like the SmartThings stuff is on a different channel thankfully
Hi I want to change my Zigbee channel to improve my quality, for that I need to repair all devices, do I need to delete them first or can I keep them ? (removing them deletes entities)
are you sure you need to? I am having problems but when I did a zigbee channel scan there was no competing wifi etc
there is in my case, I want to change from 11 to 25
What integration are you using?
zigbee2mttq
I just change the channel and repair the device. It recognises the old frienly name so thats good, but all the battery power sensors give Interview failed now
Aqara? that is normal for a few hours
Yeah just did but gives an error
Failed to interview 'Temp Living', device has not successfully been paired
try a re-pair?
Received message from unsupported device with Zigbee model 'undefined' and manufacturer name 'undefined'
that looks like a re-pairing msg as its negoitiating the pairing?
Seems manually deleting them in zigbee2mqtt and then repair them fixes it
Yep that fixes it, changing the channel also improved the LQI of my Aqara smart plugs from 0 to 7
still not great, seem they are not the best routers
Maybe I should add 2 extra sonofs zigbee 3.0 plus with router firmware
i have a problem with my zigbee network disconnecting occasionally. the integration says to check log for errors, the logged error is " Error connecting to deCONZ gateway at 172.30.33.1"
when i use the phocon app to look at the gateway its on 172.30.33.2
this all has been working fine for months and this issue just happened today.
I have an aqara plug and yes they are a bit crappy and cost a stupid amount
Yeah it seems ordered 2 extra sonof sticks and use them as routers
This is what I have done. Tube's ethernet to zigbee and 3 sonoff 3.0+ re-programmed as routers. I have ordered some switches to try to see if they are any good as routers, not sure.
if not I will have to buy 2 aqara plugs 😦
What is the benefit of flashing a Sonoff controller to a router vs. using say a Sonoff outlet?
The z-stack router fw can support more children, and the coordinator is a better radio chip. Cc2652 vs cc2531 in the outlet. If you need an outlet though nothing wrong with using it and taking advantage of it as a router.
Hey everyone! I commented earlier that my second z2m instance (running in a raspberry pi paired with devices that are to far away from my main server) is randomly disconnecting from home assistant. After narrowing down a lot, I realized that every time the z2m starts, it connects to my mosquitto broker and since I have the HA integration enabled, it shows in my HA. But if for some reason the z2m disconnects from the network, it becomes offline in HA even when it reconnects to the broker. I used a mqtt client on my phone and I was able to see the topics and control the devices. They just don't show on HA. Is there a way to force this handshake again? Without restarting the z2m instance (thats what I'm doing for now..)
even better. Why is it not reconnecting to HA after it reconnects to the broker?
anyone have any idea how to fix zigbee2mqtt? was working fine till a few days ago when i clicked configure on mt dongle at it was showing as newlt detect and since then i cant access anything (heaind go to bed hoping someone has a suggestion fot when i'm back)
Is anyone using a Hue or Aqara motion sensor?
I just have a quick question about how customizable they are, if they let you change the reset time/sensitivity
For Aqara P1 motion sensors: both yes. The range is worse than the "old" sensors for me though.
For Hues: I think they allow you to change both too (minimum time is ~10 seconds IIRC?)
Aqara, i can’t customize it. The Hue motion sensor has 3 customisable parameters. Sensitivity 3 levels and off timeout in seconds (input text) and another one but i don’t recall atm
Good to know. Thank you. It looks like the hue sensors are the best ones for quick reset time and sensitivity
Anyone seen this error before in z2m? TypeError: Cannot read properties of undefined (reading 'payload') have remade config and that's my current error, i've also reflashed my co-ordinator
I am trying to figure out how to track device last_seen since zha.storage was removed in 2022.8. I was told to use integration_entities('zha')
but I cannot figure out how to proceed from there
For instance, the sensor that I am looking to track (aqara water sensor) only presents me with _device_temperature, _power and _identify
If anyone is able to assist with z2m i've just made a more detailed post here https://www.reddit.com/r/Zigbee2MQTT/comments/wx8tk1/unable_to_get_working_with_home_assistant_was/
I hope that's not your actual network key, and the channel's not the best choice either
You say the error changed, but not what it is now...
that above one is the latest one
So if I'm not mistaken, I think the issue I'm having is that zha does not expose a sensors last_seen as an entity. Previously I was able to parse this information from the zha.storage file. And if I go to 'devices' in home assistant and look at the device info, the information is right there. But I don't understand how I can retrieve the information in a script/automation.
Last seen will be an entity soon
What are you using it for though?
@pastel scarab ^^
I use it to make sure my water leak detectors aren’t going out of range. Or that they don’t stop working for some reason.
Since it is set and forget, and I don’t expect them to really ever signal that water was detected.
But I think I found the info I need in the zigbee sqlite database. Only I do not grok the difference between v6, v7 etc in the table names.
There is an event if you are trying to detect offline devices
Ah. And what would cause a device to be regarded as offline?
https://gist.github.com/dmulcahey/6a231d57ba1335fe4cd12b35366fae84 this will catch the event and notify the mobile app
It’s configurable but IIRC It’s 2 hrs for mains and 6 for battery
you can override it in the config panel though
That seems a lot easier than writing my own python script to check last_seen in the database 😁
Very much appreciated.
Did we regress something in zigoy recently? Parents home assistant crashed, updated to the latest HA os and now having issues joining anything, some thing a will eventually join, but it's a pain, helping remotely, so not 100% if they are doing it correctly, but seeing lots of errors in the logs
What are the errors
Working on getting some readable, this is the primary one I'm seeing 2022-08-25 00:04:25.586 WARNING (MainThread) [zigpy.device] Device failed to initialize due to unexpected error Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/zigpy/device.py", line 177, in initialize await self._initialize() File "/usr/local/lib/python3.10/site-packages/zigpy/util.py", line 130, in retry r = await func() File "/usr/local/lib/python3.10/site-packages/zigpy/device.py", line 233, in _initialize await ep.initialize() File "/usr/local/lib/python3.10/site-packages/zigpy/endpoint.py", line 73, in initialize self.profile_id = sd.profile AttributeError: 'NoneType' object has no attribute 'profile'
What radio too
Xbee, I think this is all around the xbee
I've noticed that we have trouble with serial commands to the xbee lately on my instance
That looks like the device either returned an invalid simple descriptor OR it didn’t reply at all and so why we kept going
Yeah it may be zigpy_xbee specifically
capture as much detail for each issue as you can and open issues. You may have to help us fix them though 😛
Lol, see what happens when I ignore things
and I can’t believe you used an xbee for your parents 😂
There instance is old
ah
I'm thinking I may just ship them another coordinater and have them send me the xbee back
I don't mind tinkering on mine, but doin it remotely is a pain
i have a suspicion that my issue is zha related but it doesnt appear under integrations so not sure if there's a hidden instance somewhere
Howdy - this a good place for Zigbee device talk?
I'm in search for a room presence sensor, and wondering if there's any experience with Aqara FP1 Human Presence Sensor Zigbee 3.0 High Precision Detector (https://a.aliexpress.com/_mqUonwM)
This looks interesting, but a bit pricey...
You should hit up the search feature
Oh the everything smarthome folk is everywhere 🙂
The FP1's work very well
I hit OTA update on an IKEA blind in zigbee2mqtt but installed HAOS update so now it's stuck and won't update. It just says Remaining time N/A. How to fix? EDIT: Fixed it. Stopped addon and then changed 'updating' to 'idle' in state.json file.
last thing i can try is to wipe the nvram on my stick
What detection range are you getting?
Oh shoot
Nvm
Thought you meant P1
@tropic depot does FP1 work with zha now?
scuzzi, i'm a bit slow
it was .7
Nothing i do gets zigbee2mqtt to work again after i clicked on the configure button on discovered devices, i've uninstalled z2m and re installed, installed the edge version, reflashed the coordinator and tried the dev firmware and reset the nvram and z2m still fails to start
i may have been looking at the wrong logs, the old ones by accident getting a new error Error: spawn udevadm ENOENT which is progress
nm forgot to pass the usb back through to the ha vm
almost there it's trying to login to mosquito now
finally got it all fixed, had to reset mosquito settings too, don't know how it got so messed up, just need to re-pair everything again -_- and this time i can keep a backup of coordinator nvram too now that i've found zigstar multi tool
Z2M already does this, look for coordinator_backup.json
The zigstar multitool is also using an old version of zigpy-znp, from 2021. There have been tons of changes since then.
i wasnt able to get zigpy working on its own had setup a linux wsl to run it but was getting back exceptions
i still have a copy of coordinator_backup.json it appears, i may be able to restore assuming it didnt get overwritten by any of the resets, thanks
Erase your stick's firmware again and replace the current coordinator_backup.json with your old one
And make sure your main Z2M config file is also the same
Z2M should then restore the old backup once you start it back up
alright, will try that, thanks
something seems to have gone screwey after i clicked to allow devices to join, the web interface just stopped responding and i had to force a vm reboot and on restart the boot is super slow when starting docker, from what i'm reading the database may be messed up based on a post from someone else having a similar issue with a 20 min boot
Did you make a backup?
It happened at random so i dont have a backup copy of my vdi before it happened, there should be backup internal files but i dont know where they are to restore them, trying to get a vm setup so i can properly mount the home assistant hard disk image
managed to fix it
Has anyone tried to build zigbee devices using the Seeed Studio XIAO nRF52840: https://www.seeedstudio.com/xiao-series-page
At present I'm using motion sensors to achieve something like this, but obviously that has its downsides.
Based on the info I was able@to dig up: motion is faster for switching lights, but fp1 is actually capable of registering human presence without movement - e.g. "room occupied" becomes a reality.
Do you happen to have data on field of view, range, and power consumption by any chance?
FoV becomes interesting for a ceiling mount type of approach. Also, how do obstacles impact performance (let's say a ceiling light is in the view)
They say it's 5m radial distance - is that a 180° on X, Y axis?
Looking for this as well. The aqara FP1 is USB powered so no battery but they are a bit slow apparantly so ppl use aqara p1 motion sensor for fast response + an fp1 or the new one which is huge and ceiling mounted.
I have some here to test.
Oh awe - do you have anything to test power consumption with?
My usecase is around which room to heat - trying to rationalize heating prices in Europe haha
So fast switching is not necessarily required
I would like to ask for some help maybe somebody has experience with this Zigbee Temperature & Humidity Sensor from Aliexpress.
I Added with ZHA to Home Assistant but every value is 0.
what's the model and manufacturer reported?
you need HA 2022.7+
I have 2022.8.6
that is not the same model
hm...
looks like they created a newer model.
but this is the link where the old one was sold, because I cannot find any else on aliexpress, and here we had a lot of comments about the device is working.
There is any chance that will be supported by ZHA or better start arguing with seller to get older model?
Ah okey perfect!
can you take a photo of the model number for that device? either label or manual, if there is one
Only on the packaging seeing some model name looking thing.
@molten linden I just received my new tube-zb-gw-cc2652p2-v2, looking to set it up in ethernet mode with zigbee2mqtt. I'm having a devil of a time trying to find good instructions on z2m's conf. so far I'm going down the path of serial: port: 'tcp://ipaddr:port' but don't know what port to use
6638
woohoo that got me further! [D][serial_server:103]: New client connected from 172.xxx.xxx.xxx [D][binary_sensor:036]: 'TubesZB Gateway Serial Connected': Sending state ON
fantastic piece of equipment btw
Thanks
@molten linden how do I change zigbee channel? I'm getting mismatch error in z2m```
- PAN ID: configured=6754, adapter=6754
- Extended PAN ID: ... <same>
- Network Key: ... <same>
- Channel List: configured=25, adapter=26```
oh of course if I had just read 2 more lines :/ If you wish to re-commission your network, please remove coordinator backup at /app/data/coordinator_backup.json
thanks @sour shadow
I'm new to z2m. Is it common for a device to disappear from z2m? The device and entities are still in HA and work however. Any way to get it back in z2m? I've tried restarting z2m
Hello! Can Thread devices be connected to a Zigbee hub?
I've got a zigbee sonoff adapter and a few Thread Eve Door Sensors
For now I've got a complicated Homebridge setup fo home assistant but would love to be able to connect them straight to Z2M or something along those lines!
Hi, im running a RPI4 with Raspbee 2, and a need bluetooth as well. is there a workaround for using both bluetooth and Raspbee2(GPIO)? im very greatful for any tips or recommendations on the software side to get both working 🙂
dtoverlay=miniuart-bt
force_turbo=1
Would adding this to config.txt solve my problem?
a couple of days a go i needed some help getting my IKEA Styrbar to work using ZRA, which failed back then.
Today, after the ZRA update, i tried again. And now it seems to work fine.
Again to everyone who tried to help me, thanks for helping me back then
me? I have athom plugs x 10+ doing the same to save power
Also I am about to order one of these. Will do incomer + one other circuit. So with 2 I can do all the power circuits for heating (3 in total) The problem is even once I know the annual consumption is correcting for an average year. https://www.aliexpress.com/item/1005002803007908.html
Anyone know if you can configure z2m to filter out an attribute under certain conditions? i have 2 bulbs that if they're given a transition with a brightness of 0 it fails to turn off so want to make sure it strips out the transition, i know it's possible to blanket block it but not seen if it's possible conditionally
Hi all. My Conbee II is bugging out, so im looking to buy a new Zigbee stick. Whats the def best option out there at this point? Thinking about switching from deCONZ to Zigbee2MQTT running in a docker on Unraid. Thanks in advance.
Thanks! Like this? https://zigbee.blakadder.com/TUBE013.html ? edit: Pretty sure its this after some reading: https://www.tubeszb.com/product/cc2652_coordinator/39 🙂 thanks
that is the one
I got 2 IKEA LED1650R5 which failed the interview but worked before. Tried touchlink but so far no succes. Any other options i could try?
Bought 3 new ones which are the IKEA LED2005R5 and the pair just fine.
But now i have 3x IKEA LED1650R5 which worked before but are now no longer able to be paired.
All 3 fail the interview after doing the on/off resets
The IKEA LED1537R6/LED1739R5 also paired just fine.
It’s only the IKEA LED1650R5 that is having issues with my setup
Solved by having the coordinator next to the bulb. had to reset the bulbs several times in order to get them to work.
There is any way to track support request for this device? Or what do you think what is the easiest to know when can I start using it?
there's a github issue thread to follow
Am I correct in my interpretation of the zigbee2mqtt docs that there is no migration path from the Conbee II to the Sonof 3.0 with the CC2562P and I have to start fresh?
No official migration path, no. I'm not sure if there's an unofficial one
So Im looking for some 'cheapiesh' Smart switches that monitor power, It's been suggested that the Salus SP600 devices will do this but Im curious if anyone has tried them with a Conbee2/Deconz?
Figured might sa well move this here Tinker, What's your issue with Deconz? thought that was like the 'way' to use Zigbee with HA?
... Or at least it was a while ago 😄
Google says they work 
Well, deCONZ was once upon a time the only option, but it's slowly moving compared to ZHA and Z2M, and the ConBee is not an awesome stick
Zigbee2MQTT drops a new major release monthly. You can add support for unsupported devices yourself.
ZHA also drops new releases monthly, and I believe now also allows you to build quirks for unsupported devices
Mm, I mean its 'mostly' working for me at this point.. what's considered the gold standard these days for Zigbee?
Either ZHA or Zigbee2MQTT depending on whether you want it embedded in HA or separate
Z2M is the closest to the way deCONZ runs, in that it's separate from HA
Buy something CC2652 based. This list is a good one, both Tube and Electrolama have been proven to have excellent customer service. The current generation of EZSP sticks (see here for some) are also a good choice for ZHA.
Anything CC2530 or CC2531 based should be avoided - they're old, slow, and only suitable for a dozen or so devices. The Sonoff ZBbridge isn't advised since it uses WiFi (built in interference causing stability/reliability issues), and the HUSBZB-1 uses an older chipset so should be avoided.
Finally, the ConBee range are fine with deCONZ, but experience with ZHA and Zigbee2MQTT appears to be mixed.
Keep in mind, you can't use deCONZ with anything other than ConBee
Yeha so I'd have to replace the whole stack basically, thats... a lot of faff 🙂
But something to keep in mind when it comes time to replace
Yeah, but you know you ||don't|| want to
hey friends, i recently had a lot of problems with my cobee2 ZHA, it begon to lose connection or lagging
Is it on a USB (2.0) extension cable?
Huh the conrollers are not actually that expensive, I thought they'd be like £70 or something
changed the channel of my conbee2
still had the same problem
worked fine over 1 year
I suspect I know the answer, but does anyone happen to know if the Tube controller supports POE? or doe sit require USB power regardless?
Going to assume at its price point it does not...
Ah I see there is a POE specific version but its out of stock 🙂
PoE out of stock until 3rd or fourth week of September 😢
Will reach out to people on waiting list before general availability
Hopefully
You can use https://github.com/zigpy/zigpy-cli#network-commands, see the installation instructions at the top. Make sure to upgrade your Conbee's firmware to the latest release before doing so, some crucial network information is only available with later firmware versions.
ZHA doesn't support changing the network channel for a radio with a formed network (though it will soon, and without requiring you to re-join many of your devices). Do an energy scan (https://github.com/zigpy/zigpy-cli#performing-an-energy-scan) and see what the Conbee says is a free channel, assuming noise is actually your problem.
🤔 If I acces the conbee2 direct and change the channel it Wil not change? 🤔 🤔 🤔 I'm confused
If you use deCONZ then you can
Or edit the backup JSON from the above tool and then restore it
Yes
Is it possible that HUE interfere? 🤔 It's also bizarre I have my hie bridge on 20 and the conbee2 on 11
Not really
Though 11 is usually a bad choice for a Zigbee network: WiFi channel 1 can interfere with it
15 should be a better option
That's the ZHA default 😆
15?
But do the energy scan if you know how to use command line tools, it's more conclusive than guessing based on WiFi
Okay but I'm searching the problem because it worked perfectly for 1 year
See also the pinned message on Zigbee and WiFi coexistence
I know
The scan will tell you if it's a problem caused by WiFi talking over your Zigbee
Post or PM me a ZHA debug log (https://www.home-assistant.io/integrations/zha/#debug-logging) of the radio running and not controlling devices
most of the aqara devices need their own hub to be able to do some settings if im not mistaken, is there a way to bypass that?
Depends on whether you're using ZHA, Zigbee2MQTT, or deCONZ
im using zha
Each has different support for these things, and if you mention what devices maybe somebody will be able to help you
for example im looking to buy their smart roller shade controller
where u install a long stick in the roller shades
Like if i use an aqara hub i can set where the open position is anf where the closed position is
Can i do that in Zha/homeassistant
When using zigpy-cli to backup a coordinator, specifically Conbee II, is it normal for the backup's devices {} section to be empty? Looking at the open-controller-backup specification repo, I see the following in the README which makes me think an empty devices isn't quite right.
This is an array of devices relevant to the coordinator: namely children and devices with APS link keys shared with the coordinator.
It is running the May 15, 2022 firmware, deCONZ_ConBeeII_0x26780700.bin.GCF.
It's normal. Conbee doesn't keep track of devices, it expects them to be stored elsewhere (in zigbee.db for ZHA).
Well, that was utterly painless. Stopped z2m, backed up, restored, started z2m, and things appear to be fully functional (and then some). Thanks puddly!
I read somewhere the Conbee lqi reports were bogus due to a firmware bug and I see things are no longer perfect as previously reported. The map lines make more sense too. Prior to the switch most links only appeared when NoneOfTheAbove was checked in map settings, but now most things are showing up as IsAChild which is more reasonable.
Time will tell if this fixes the problem that led me to switch - nodes connected to the Conbee not responding, but nodes connected to an intermediary router working fine.
I am ready to tear my hair out with z2m
I have everything nice and containerized everything looks like it is good but when I click to open it in HA I get a frownie face saying it refused to connect
@spiral viper so you aren't using HA os?
No I am using Docker
when I go back into HA and click on the sidebar where I added the the link
You can add a couple lines to the HA config.yaml and have it plug into HA
is there an example somewhere
how do you access it?
panel_iframe:
portainer:
title: "Portainer"
url: "http://10.0.0.58:9000/#/containers"
icon: mdi:docker
require_admin: true
zigbee2mqtt:
title: "zigbee2mqtt"
url: "http://10.0.0.58:8080"
icon: mdi:zigbee
require_admin: true
oh you are using the host ip
You can add that into HA configure.yaml
I can see that z2q now has errors in the log
this has something to do with the port mapping
why not use the hostname of the controller
I can see the sonoff on ttyUSB1
oh did you map it with the /dev/serial-by-id
Howdy 🙂
[ RESOLVED ]
I've got a few of these Moes BRT-100-TRV radiator thermostats, and while I can hook it up to ZHA, there's a few things missing (Z2M has this fully baked it seems: https://github.com/Koenkk/zigbee2mqtt.io/blob/master/docs/devices/BRT-100-TRV.md)
The entities I'm getting in ZHA are climate.tze200_b6wax7g0_ts0601_becathermosta, switch.tze200_b6wax7g0_ts0601_switch, sensor.tze200_b6wax7g0_ts0601_battery
(so I'm missing out on some of the good stuff :D)
Now this device seems to be off in many ways. It announces itself ass Tuya compatible (which is the reason I believe for some of the entities are created), but it actually looks like a Beca (https://zigbee.blakadder.com/Beca_BRT-100.html)
ZHA picks this us with zhaquirks.tuya.ts0601_trv.MoesHY368_Type1new quirk - that seems to be a bit off - given earlier discussions here: https://github.com/zigpy/zigpy/discussions/653, and separation out of this device to be under MoesHY368_Type2 (if I'm reading https://github.com/zigpy/zha-device-handlers/pull/931 correctly).
So that takes me here: https://github.com/zigpy/zha-device-handlers/pull/1192 as a potential quirk improving things
adding this quirk is not picking up anything I'd expect by default, but that might be because of:
MODELS_INFO: [
("_TZE200_jeaxp72v", "TS0601"),
("_TZE200_kfvq6avy", "TS0601"),
("_TZE200_zivfvd7h", "TS0601"),
("_TZE200_hhrtiq0x", "TS0601"),
("_TZE200_ps5v5jor", "TS0601"),
("_TZE200_owwdxjbx", "TS0601"),
("_TZE200_8daqwrsj", "TS0601"),
],
So this is clearly missing my _TZE200_b6wax7g0 entry
so far this was all my thought process (apologies for the length here) - the question would be: is it safe to add this entry and see if it works?
E.g. if it turns out that it doesn't, can I just remove this quirk, restart HA, and I end up getting back to my half-baked zhaquirks.tuya.ts0601_trv.MoesHY368_Type1new?
I think these sonoffs are garbage
well, that did work (leaving a few entities that I could delete rather easily).
Looks like that work's been picked up and updated here: https://github.com/zigpy/zha-device-handlers/pull/1459 - awww 😄
can someone recommend a good zigbee coordinator this sonoff is crap
I think it needs to be flashed and I can unscrew it to open ir
it
Ok, so that works quite perfectly: digging out the quirk from the PR and applying in zha_quirks dir solved my headaches.
The day is done, off to the pub 😄
I'm using electrolama's ZZH, which is quite good. Needs to be flashed as that's an openhardware stuff (also means open firmware available).
The only downside is that they seem to manufacture these in bulks, and can run out of stock fairly quickly.
I haven't tried others, so saying this is the best would be quite unfounded.
Dang I cannot even flash the sonoff
looks like the port keeps timing out
when issuing this command is there something I can add to slow down the port speed?
/opt/sonoff/cc2538-bsl-master# python3 cc2538-bsl.py -p /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_aedea39e0c86ec119966641719c2d21c-if00-port0 -evw --bootloader-sonoff-usb CC1352P2_CC2652P_launchpad_coordinator_20220219.hex
figured out how to slow down the port but that did no good
Hello there. I switched my coordinator from Cc253x to sonoff zigbee 3.0 dongle P. How the hell can i re-add my devices without unscrew all wall light switches?
ERROR: bytearray index out of range
you can manually add them back in by putting them in pairing mode
Yeah, but sonoff zb mini need to push the button, which are located now inside the walls, behind the switches
Are you talking about flashing the sonoff?
you are talking about scanning each QR of each device?
then I do not understand the issue
I changed my coordinator. All my devices disappeared. I can add them manually, but some of them had hard way to put them in a pairing mode
I am guessing that you will have to take them out to put them in pairing mode
but don't feel bad
I cannot even get my sonoff to work
Exactly it's what I'm trying to say
You may wish to look on the sonoff site and see if they allow it to be flashed by python
I am trying to flash the usb dongle by python and it is a no go
If zigbee is an standard, then some standardized way to export config should exist
Couldn't you flash it regular way?
no, I could not get the case open the screws were so tight and small there was no way to open it and push the buttons
I think it is just defective
I never saw unopenable anything. It can be uncloseable after, but you can even drill out a heads of screws
Flashes just fine using the BSL script, no need to push buttons
sudo python3 cc2538-bsl.py -ewv -p /dev/ttyUSB0 --bootloader-sonoff-usb ./CC1352P2_CC2652P_launchpad_coordinator_20220219.hex
I used that the other day and it did what it said it would do
im using python3 cc2538-bsl.py -p /dev/ttyUSB1 -evw --bootloader-sonoff-usb CC1352P2_CC2652P_launchpad_coordinator_20220219.hex
and it keeps erroring out
Please don't say I have an error or describe an error. Share the whole actual error message so we can help you.
You do need to be on a newer version of the script, if you downloaded it ages ago then it may not support the bootloader flag
downloaded it a few hours ago
i get the error ERROR: bytearray index out of range
ERROR: Timeout waiting for ACK/NACK after 'Get Status (0x23)'
I get several random errors
ERROR: Timeout waiting for ACK/NACK after 'Mem Read (0x2A)'
it is having a problem writing it looks like
and I am doing it with root so there shouldn't be a problem i don't think
Could be you have one of the sticks with quality control issues, I've seen a handful of reports of either poor quality soldering on the antenna, or issues with the NVRAM
I am hesitant to get another one
maybe I should get something else
I could not even open the case on this one
I had no issues opening mine, but I do have a suitable screwdriver set
they were like welded shut
maybe I will just use the smartthings plugin since that is where all my devices are currently and screw using z2m
since I cant seem to get it running
I wonder if it is the usb port causing problems
If that's USB 3, and you're not using a USB extension cable, then quite possibly
no its an older usb card
Easy test, try to flash it elsewhere
like I said I am almost ready to just load the smartthings integration and leave it at that
then I won't have to rename everything and reload them all
Do you use any of the sonoffs as repeaters
and by adding repeaters does it give you more devices?
Well Zigbee routers allow you to extend the mesh, covering more range, and potentially adding more devices to the mesh (since there's a limit of how many devices can talk directly to the coordinator)
Well I don't think I have hit that limit
since everything currently runs
could you in theory add a second coordinator?
Well, that would create a second mesh, with a second install of Z2M required
I guess II should worry about getting the first one going since I wasted all day trying to get this one going
It was almost there I think
except the container was reporting that it could not connect to the device
If the stick wasn't flashed/working then it won't have been able to connect
I did not flash it at first
thought it might work out of the box
but then when I tried to flash it as I showed you it didn't work either
So my speculation is that it the device is faulty
Then either the computer you're trying to flash it on has a problem (hardware or Python issues) or the device is faulty
Try flashing it on another computer
python seems to be doing the right things
I will order another one and see if I get better results
Why not
Try flashing it on another computer
I am guessing the usb is ok because the zwave dongle in working fine
So interesting discovery today, was doing maintenance on my grandfather's instance and discovered that he had 9 sengled bulbs joined to his zigbee network, strangely they weren't added to the UI at all and I thought it odd that an 87 year old man would go out and buy smart bulbs and then manage to pair them.
Called and asked him about it and he didn't know anything about it, so I started toggling them, no changes at his house, but the neighbor's lights were turning on and off
I see this morning, they are all unavailable, lol
That can happen if you've left pairing enabled and your neighbour tries to pair new devices
Yep, it was disabled when I checked, but they must have snuck on, just odd that you'd go buy a bunch of smart lights and not be interested in ensuring they worked
Hello! I'm running HAOS on a RPi4 off an ssd, using an Electrolama stick. It was working perfectly fine and stable up till last night, when my devices stopped responding and ZHA reports error:
Retrying setup: [Errno 2] could not open port /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-1a86_USB_Serial-if00-port0'
Any ideas what could've caused this?
Also seem it's having problems seeing my USB's as I'm getting
➜ ~ ls -l /dev/serial/by-id
ls: /dev/serial/by-id: No such file or directory
➜ ~ ls -l /dev/ttyUSB0
ls: /dev/ttyUSB0: No such file or directory
Power issue, maybe?
Using a RPi4 official power brick, and I´m not gettign any undervoltage warnings
Also tried restarting the host
RPi power status also reports OK
After host restart and reseating the stick it works for a total of 10 seconds before breaking again
➜ ~ ls -l /dev/serial/by-id
total 0
lrwxrwxrwx 1 root root 13 Aug 28 13:48 usb-1a86_USB_Serial-if00-port0 -> ../../ttyUSB0
➜ ~ ls -l /dev/serial/by-id
total 0
lrwxrwxrwx 1 root root 13 Aug 28 13:48 usb-1a86_USB_Serial-if00-port0 -> ../../ttyUSB0
➜ ~ ls -l /dev/serial/by-id
ls: /dev/serial/by-id: No such file or directory
Less than 10 seconds really. More like 5
Wait what
It's working again. What the hell is ongoing in this day
Not sure what happened but if this happens when I'm away from home it gonna be a problem 😦
Broke again lmao
Okay no idea what's going on here. I reflashed the whole OS, reflashed the stick, changed USB ports, but the USB connection keeps fucking up
sounds like hardware to me. Is it on an extension cable? cable going bad?
It is but the cable is brand new. Also it detects it for a while then stops. Now I can't even restart HA from the UI but can use everything else
And the fact that it keeps coming up as
➜ ~ ls -l /dev/serial/by-id
ls: /dev/serial/by-id: No such file or directory
seems the issue is with the system finding the usb ports. However the Pi is booting from a usb ssd just fine.
This is after plugging the ZZH straight into the Pi. Still no change
Now it works again... I'm so confused...
There was zero physical changes between these commands
➜ ~ ls -l /dev/serial/by-id
total 0
lrwxrwxrwx 1 root root 13 Aug 28 15:30 usb-1a86_USB_Serial-if00-port0 -> ../../ttyUSB0
➜ ~ ls -l /dev/serial/by-id
ls: /dev/serial/by-id: No such file or directory
➜ ~ ls -l /dev/serial/by-id
total 0
lrwxrwxrwx 1 root root 13 Aug 28 15:32 usb-1a86_USB_Serial-if00-port0 -> ../../ttyUSB0
➜ ~ ls -l /dev/serial/by-id
ls: /dev/serial/by-id: No such file or directory
Welp. Turns out it might be the cable after all. How it broke without being touch I have no idea, but I'm using a keyboard passthrough now and everything works great
FWIW udev manages those /dev entries, so if a device is disconnecting/reconnecting things like /dev/serial/* may not be present. I'd rely on something like dmesg/lsusb and udevadm monitor -u to track it down.
I used to do Android platform level work. USB cables constantly went bad. I'd spend hours wonder what I screwed up just to remember cables need to be considered shortly after blaming myself 🙂
Thanks! I was wondering if there was a way to ping the port without constantly sending the command.
Well. That was a full 3 hours of sunday wasted on a broken cable lmao
Thanks guys for the sanity check on the cable
What would be the best way to use a Hue Dimmer with Z2M? I want smooth dimming for the group it controls. Zigbee binding does not work.
Currently using ControllerX to do it which works fairly well, but i've been told there is a better way to do with HA automations somehow - wonder if there's any truth to this at all
I'm aware of the list of thousands of devices. I don't see a way to search for a fan controller.
You never said you didn't know how to search, you said you couldn't find the pin
The first list has a convenient search box, I'm sure the second does too
I didn't say I didn't know how to search because I do.
And I didn't say I couldn't find a pin, I said I didn't know which one you were referring to, because you did not specify, and the one you WERE referring to was not helpful.
The only item the search box shows is discontinued
If you don't know the answer to the question, you could simply not reply.
Is there a way to set colors with h,s values instead of x,y? I have Sylvania/Ledvance bulbs that are slightly off with xy color values. I'm on z2m/mosquitto/ha, all separate containers
That is explained in the supported device page on zigbee2mqtt.io
If the light is set to red (using XY), is there a bit of blue in the LEDs at full brightness?
If so, check if there are firmware updates available for your LEDVANCE device (https://update.ledvance.com/firmware-overview).
This issue was common in early firmware versions for LEDVACNE Zigbee 3.0 bulbs but was since fixed for some devices
hmm... z2m did find firmware for them, but only up to Jan 7 2019. on that site, the earliest is Feb 28, 2019. This is my particular device:
also, no there's no blue tint when set to red.
I'd like to migrate from Z2MQTT to ZHA simply due to simplicity and integration with HAOS. I've got one zigbee device that isn't support in ZHA: https://zigbee.blakadder.com/Tuya_PJ-ZGD01.html
Can anyone point me towards how I can assist in building ZHA support? Might well be out of my depth but worth a look.
@coarse musk maybe check this issue: https://github.com/zigpy/zha-device-handlers/issues/1260
ah, now I'm in the right place it seems. I'll get to reading, thanks.
Hello Team! Since I moved to a new house and few days ago setuped my Home Assistant here and connected my Zigbee Coordinator, my 2.4Ghz WiFi is totally slow and dying. Pinging my router I can see 1200 ms, as soon I change to 5Ghz that is 4ms fix. I can reproduce anytime.
I can change these two things on my router WiFi settings. There is any hint how should I change that? Until now I tried channel 1 and channel 6, both is really bad.
I tried also to move away a few meter with the Coordinator and the Server, does not help. I'll install 15 Zigbee Light Switch soon, so that would totally kill my whole WiFI is that happened after installing 1 piece. Please help me.
Thank you!
Have you done a scan to see what WiFi channels are in use?
Yes.
Secondly, for the love of all that's good, don't use 40 Mhz in the 2.4 GHz band
there is only two wiFi in the area, mine and my neighbour, both channel 6.
That is default settings at every xIAOMI device.
Then it's shit
Also, what Zigbee channel?
I does not know how to check it. Im using Xiaomi Multimode Gateway with AlexxIT firmware.
Are you using it with ZHA (Zigbee Home Automation) or Zigbee2MQTT?
ZHA sir!
Then it defaults to channel 15, which should be fine
interesting, that is pretty bad that even if I choose channel 1 and channel 15 default on zigbee I have problems.
That gateway, is it WiFi only, or does it support wired networking?
WiFI only sir!

So, you've bought a really shitty WiFi device, and a really shitty coordinator
but I never change a working system
"Working"
since 2 year without problem with any device in my old house.
and now I changed only the house nothing else 😄
Well, start by ensuring that your WiFi device is only using 20 MHz, or set it to channel 6 so that it's not overlapping the Zigbee channel
of course i'll buy better coordinator but until its working perfectly for me, same with the router. this is my first problem and this is also just settings based problem I think so.
The other option is to change your Zigbee channel to 25
Understood.
@glad plume 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).
but after Channel changing re-adding needed to ZHA as I know.
i'll try first 20mhz and channel 6.
Yes, if you change the channel you (currently) have to re-pair everything
Thanks mate for the hints, I'll try all of them!
I am trying out tuya Zigbee relays to retrofit my house. They work as advertised but now the physical switch lose their directionality. They just toggle the lights. On and off positions don’t matter.
Are there any relays that can overcome this issue? Or is replacement of switches to toggle switches the only solution.
You want a momentary switch to replace them with
Oh! So much for retrofitting!
Or just accept that the switches no longer directly map to the current light state
@oak hedge posted a code wall, it is moved here --> https://hastebin.com/uducexayup
Hum, sorry I posted the error stack
Not the most spouse friendly solution 😜
You don't have two or three way light switches?
I mean, small children can handle if the light is off just flick the switch without worrying about whether things "match"
@jolly narwhal Why isn't RaspBee2 (Phoscon) with Zigbee Home Automation Integration great?
The ***bee chips are known to be meh
okay, so which one would be better? Took me ages to install a suitable driver though 😄
Check the pins
I use tubes Poe coordinator
Great product
Anything cc2652 based is fine
With either zha or zigbee2mqtt
I recommend the latter
ouh, quite expensive
Sonoff 3.0 is the cheaper option
But frankly, when I have 80+ bulbs and 40+ sensors, the cost of the coordinator is miniscule
yeah thats right.
As I would prefer not buying anything new (for the moment), would be switching from ZHA integration to deCONZ an option to get it work more stable?
Okay, I will try. But then, I should better completely remove the integration I think? Maybe it interfers with the other integration...
Integrations don't interfere, #add-ons-archived do
I don't use those, so I never have that problem
haha alright 😄 I will try and keep you updated!
Oh okay, I just saw that even for mqtt as for deCONZ I have to use a server. I think the best way would be creating one on a different RPI. How do you do that?
Alright - I will first try running as an addon
trying to integrate https://zigbee.blakadder.com/Aqara_WRS-R02.html, there's no events available in hass automation, I only have the battery status
I'm using deconz
I'm trying to listen to events to see if that part is working, I'm in the events page of developer tools, listening to deconz_event
but I don't know where I can see those events, are they in the log? I don't really understand how the listen to events functionality actually works
They'd appear there, in the UI
You can try listening to another event there and see what happens
ah
yep
data:
id: lumi_remote_b28ac1
unique_id: 54:ef:44:10:00:44:cf:11
event: 2002
device_id: 97d1986375067b04b809d592d137d9ab
origin: LOCAL
time_fired: "2022-08-29T15:42:12.625058+00:00"
context:
id: 01GBN48YMHC70QFV16PASZ43V2
parent_id: null
user_id: null```
it's working the buttons then
so I guess with that in mind
how easy is it to modify this blueprint to support h1
since it appears that all the event id's are the same
Good news anyone using Aqara motion sensors ( RTCGQ11LM )
I found a way to make them detect a new motion down to 2 seconds without any hardware modification.
I don't know if I should talk about it here or on the forum to make a lot more people aware.
Why not both?
Yep you're right:
- your device is paired with z2m
- change the occupancy_timeout to 2 seconds (1 seconds is buggy)
- this device should not accept values under 60s (indeed, it's not)
- reset the devices and then remove it from z2m
- pair it again
- now the device accept 2 seconds as a good value
It seems like this aqara device only accept config under 60 seconds when the pairing config is sent
tested it on another device with same model: 1second is buggy and spam true/ false
2 seconds is perfect
Older Aqara devices don't accept any configuration, they're just sending updates: https://github.com/Koenkk/zigbee-herdsman-converters/blob/3c54ddf4dec04232d7014287b914ca6bf0c76185/devices/xiaomi.js#L944. The Z2M timer is entirely in software.
I was surprised at how well the hardware mod worked
Didn't affect battery life too much either
After 1h, the min detection of 2seconds doesn't work anymore wtf.
No mod, moving my hand in front of it was logging true in z2m console then 2s later it was going false. And was able to retry whenever it was false moving my hand was triggering the true state again.
If you just joined the device I believe it does do fast reporting for a little bit but without the hardware mod they always send a "motion detected" event at most once every ~65s


