#zigbee-archived
1 messages · Page 38 of 1
morning. I'm having an issue with a few hue switches. I recently removed my hue hub and moved everything over to ZHA. Everything seems fine except for a few hue switches that wont seem to trigger anything, but are showing firing in the zigbee device screen. Prior to moving them over to ZHA they worked fine. The automations they are tagged to seem to work after testing them without the button press trigger. Is there anything that would have changed moving over to ZHA that would have caused some to work and some to not work?
Which one do you think is the best Zigbee router -
- Sonoff E version with a router firmware
- Sonoff P version with a router firmware
- Ikea zigbee repeater (TRÅDFRI)
or something else?
Define "best"
The Sonoff P can support 50 clients, the Tradfri I believe is less than 10
Of course, a standard power plug or light bulb is likely to be enough
Is there one to prefer if I need to add a router only for the usage of a router?
like their range or stability
I'd go with the P personally
Or any dedicated CC2652 based router device
https://tubeszb.com/product/zigbee-router/ for instance
Hi,
I have an issue with the built in device…
I added then removed a device… when I tried to re add… than I face with that…
“Device seen - marking the device available and resetting counter”
I don’t know how to fix this…
Tried to remove Zigbee radio… and add again, but it wasn’t helping… can You give me any advice?
What "device" are you talking about?
HA Yellow Zigbee with a Zigbee power plug…
“Device seen - marking the device available and resetting counter” is a debug message and not an error
Hello,
I am in a phase of planning my new houses smart system and i would like to use zigbee for the sensors and such.
For the light switches i would like to use regular light switches and i would like to add the switch modules behind them. Most likely they would be the only routers in the system that would make it stable, so i want to make sure they are routers. Some people say if it has neutural it is a router, but under some of them i found comments that its not a router even tho it has a neutural connection. I wrote to the sellers, but is there any way to make sure?
One of the products i was looking at:
https://a.aliexpress.com/_m0fm2Hu
Does anyone know if the Yale Assure Lock 2 can accept a Zigbee module? I would buy the base version and put in the module (which says it’s for Assure locks), but the Lock 2 page and appearance of the wifi module make me skeptical. Thanks!
Is there a recommendation for a Zigbee router/repeater? I have a usb stick attached to HA but I’m having range issues
I just ordered an innr plug in the US (Amazon US site), will try. Ordered the 15A one not the 10A because those don't have power monitoring
But innr is what was recommended to me too.
I am in the US
I've got one of these arriving today
https://a.co/d/9dwWYFo
What does that mean? How can I detect the device again?
I got this message and the device not detected…
Ok I ordered one. I’ll give it a try.
And (new generation) hue bulbs work well too but they're expensive if you don't need them and have to always be powered, etc.
I have some but they are in a different area and connected to a hue hub so probably part of a different mesh?
Yeah. I'm slowly moving all mine away from the hue bridge to HA. But the first gen ones are terrible routers.
I see no reason for me to leave them on the bridge. I never use the scenes.
I also have a $5 Zigbee stick from AliExpress with a PCB antenna on HA. It’s what was available at the time. Any better stuff out there now?
I don't know what's recommend these days but I have a sonoff and it works well for me
The scenes and color wheel in the hue app are popular with the kids.
Oh actually, you should get one of these https://tubeszb.com/product/cc2652p2-based-zigbee-to-poe-coordinator-2022/
this is what I have, with a usb extension cable https://www.amazon.com/gp/product/B09KXTCMSC/
That looks very cool but I feel like I could build that for $20. Is the software OSS?
it is, and I think the hardware is too. other items up there have BOM and case STLs and stuff but I don't see it for that one
Is the son off S31 a router? It’s only $14
Just for the record costs me more than $20 and I buy parts in bulk
Alright I think you won me over just by virtue of being here!
It means that a different device on your network reported something and the "unavailable counter" was reset to 0. It has nothing to do with you pairing your plug.
Just reset your plug and try again.
Ok so I just bought a conbee stick but I’m struggling to set it up.
I’m on the serial port settings and I’m not sure what to put
/dev/ttyAMA0 here is what auto went into it
But it says “failed to connect” when I click submit
What's your HA setup like?
Already figured it out, thanks!!
Managed to massage my FP1s into working order. Either they needed a day or two for the sensors to settle, or I've finally found a place where they trigger correctly. Damn those things are sensitive!
I have some Ikea Tradfri 5-button remotes. 1 of which works quite well. The other 2 are visible to HA, but don't seem to actually connect after initial pairing. If I press the pairing buttons 4 times while the "add device" screen is up, it goes through the process for the device, but then I immediately (in event listener) get device_offline event.
Just ordered the PoE zigbee coordinator as well 😂
will migrate all my devices to it before migrating from RPi4 -> VM in proxmox
Just messed around with that and getting my sonoff USB stick to work was annoying. Did get it to though, but my mesh was all messed up due to different location.
Crap, wonder if I should have gotten the one upgradable to thread later instead.
If you wait for "the next thing" you'll never upgrade at all. 🙂
well it's already there
so I could have just ordered it now
don't know if there are any downsides other than the extra $1 which is fine
and experimental with z2m but I use zha anyway
https://tubeszb.com/product/cc2652p2-based-zigbee-to-poe-coordinator-2022/ I ordered this one earlier today
yeah so did I, not sure it was the right move. but eh, it's fine, I don't care about thread much right now anyway
I just moved everything over from ZHA to Z2M earlier today. When I was using ZHA, I had different triggers for my hue dimmer switches, which allowed me to create automations to turn bulbs on and off with a button press. those same options seem to have disappeared when I moved over to Z2M. Is there any reason why, or is there something else I need to change for the hue dimmer switches?
You can certainly still make all the same automations, but they might be formatted slightly differently. Were you using device triggers with ZHA? You may need to use state triggers on the relevant entities with z2m instead. If you share a specific automation that you had for ZHA, I'm sure someone can give you ideas about what you might need to do to make an equivalent.
I'm not sure if I deleted them, or they deleted when I switched over. I may have deleted them because the information wasn't there. 2 of them were just simple on/off with on/off button presses.
the 3rd I'm not even sure is possible with a dimmer switch. I was attempting to call a service with it, and turn on a device (neither bulb/hue related)
Why wouldn't that be possible? Sounds reasonable to me.
I tried prior to the z2m move and i couldnt get it to work.
the service call wouldnt work with the button press, but would work fine with run or a time action
Well you should probably just focus on one question at a time. If you need help figuring out how to do something, just go ahead and ask.
For starters, you should have one or more entities created by z2m for your dimmer. When you press the dimmer, one of those entities will likely change state very briefly, and then change back to "none" or an empty string. You use those state changes to trigger your automation.
Weird, most of my hue devices are not offline
now*
So now, I am getting errors on my switches: 2023-03-05 20:44:33Failed to configure 'Random.Switch', attempt 1 (Error: Bind 0x001788010874db66/1 genOnOff from '0x00124b0029e8d10f/1' failed (AREQ - ZDO - bindRsp after 10000ms) at Timeout._onTimeout (/app/node_modules/zigbee-herdsman/src/utils/waitress.ts:64:35) at listOnTimeout (node:internal/timers:559:17) at processTimers (node:internal/timers:502:7))
I've tried restarting HA, tried reconfiguring the switches and it still won't configure correctly.
Well, I guess when it first came into Z2m, it didn't join correctly. I've removed it and readded it, and it seems to have the correct triggers now. "on_press" is what I was looking for. Tested it and it works fine now.
plugged wine fridge into just delivered innr plug, seems good so far. disabled the on/off entity so I don't turn it off, just using for power monitoring and extending mesh
looks like it costs me ~$15/yr to run the wine fridge 😂
assuming power stays constant
Seems worth it.
will cost nothing soon, hoping to get solar in next couple months
but the innr heavy duty plug seems great.
I wanna plug everything into power monitoring plugs now
so nice
So, I am now back to my automation for my tv to turn on with button press from hue dimmer switch, here is my automation: https://pastebin.pl/view/cdc09035 device does trigger, but TV doesn't do anything at all. Trace shows both the trigger and action working, so I don't know if it is an issue with the switch, or an issue with the action.
👋 I just packed your orders 😎
Yeah I got the tracking number! Fast! 👍
That was quick. Thanks!
Hi everyone, Im having some trouble starting zigbee2mqtt on my Home assistant Skyconnect. This is the error Im having: https://pastebin.com/ES7pJfG6, I have set up the addon and the config is this: https://imgur.com/a/yFvDye8. Im not sure on how to move on. I am running thread on it too which I understand it can do both at the same time? Does anyone have a suggestion on how I get zigbee2mqtt started?
The Skyconnect is marked experimental for a reason...
But I should be able to install zigbee2mqtt and run with it? I know other people doing it. This is just me not getting it to start because some fault in configuration 😄
I've had my deconz running for years and I want to transition to zigbee2mqtt because of the support for more devices (specifically some philips hue floodlights that run a separate mesh with hue hub today)
In theory, if you got your config right, yes
I'm not sure how it works if you're using Thread too
This may be a long shot, but make sure to try 'port: /dev/ttyUSB0' (or another integer than 0 if your stick is on another port). That is how I have mine setup, and it works with Zigbee2mqtt and SkyConnect.
I guess this brings problems if you would later on move the stick to another port. But I am not sure how often that would happen in reality?
If the /dev/serial/by-id/ path doesn't work, switching to /dev/ttyUSBx isn't likely to help
Fair enough.
I've tried both, same result.
@gusty barn if you have the multi protocol addon installed and running you need to point z2m at the tcp:// of the addon. The serial port is now used by the addon and the device has been flashed with rcp firmware for multi protocol use.
Ok, so like tcp://localhost:XXXX ?
Search around I don’t know it off the top of my head.
Addon config should show the port. I think it’s 9999
Ok, thanks
And I think you can use the addon name as the host
hey, did someone try the https://www.zigbee2mqtt.io/devices/HS2AQ-EM.html air quality monitor ?
I'm in discussion with the vendor to try to buy some of it (seen nowhere online), but I haven't see any report of it on HA / zigbee community
if you are a bit patient, apparently ikea will release one soon : https://www.engadget.com/ikea-vindstyrka-indoor-air-quality-sensor-195810594.html
Airgradient is also an option if you’re fine with wifi. It’s just a ESP32 in there, so you can reflash it to your hearts desire.
So after reading up on skyconnect/zigbee2mqtt it seems it works on 1.30.1 but I just started and I have 1.30.2 and it does not work with MultiPan (both Thread and zigbee). How can I downgrade the z2m addon to something I never had? 😄
The Zigbee integration should have no knowledge of multi-PAN, all it does is connect to a TCP server and treat it like it any other network-connected coordinator
You should be able to use the following config with Z2M: port: 'tcp://core-silabs-multiprotocol:9999'
Thats exacly what I had set
disconnected the skyconnect hardware and put in a usb-hub (still using the extension cord. connected again. reboot. now it starts (WTF) but now I get 502: Bad Gateway (no devices paired yet) if I go through nabu-casa remote login, but If I go to http://192.168.XXX.XXX:8123 I get Error 401: Unauthorized access (no https) when clicking the Ingress Web UI
And there it crashed.. 😠 https://pastebin.com/JrvpmC5S
Thank You
Do You have any idea why a Zigbee plug not detected? It was detected before.. I removed and can not add again…
I have a zigbee Elko dimmer that just refuses to pair. Anyone experienced something like this?
can add, that im using yellow and zha. Should I try deconz?
Only if you have a Conbee/Raspbee
What plug model is it? How did you reset it?
Hello I have been having errors with automations lately that are tied to my zigbee devices. This started occurring in the 2023.3. It will state that it is unable to get my device ID but my devices are connected and stable? It only occurs on reboot. If I redo the automations and set them up again they work fine.
2023-03-06 15:33:21.429 ERROR (MainThread) [homeassistant.components.automation.bathroom_motion_detected] Got error 'Unable to get zha device edbb9723801d5d64202496722e8bdbbc' when setting up triggers for BATHROOM - Motion Detected
2023-03-06 15:33:21.436 ERROR (MainThread) [homeassistant.components.automation.bedroom_motion_detected] Got error 'Unable to get zha device b68bd644402dacb67dd5c1582750fcab' when setting up triggers for BEDROOM - Motion Detected
2023-03-06 15:33:21.440 ERROR (MainThread) [homeassistant.components.automation.entrance_lock_door] Got error 'Unable to get zha device a442b148487c4b00c861b00d33400748' when setting up triggers for ENTRANCE - Lock Door
2023-03-06 15:33:21.442 ERROR (MainThread) [homeassistant.components.automation.living_room_motion_detected] Got error 'Unable to get zha device b770fd5691d3b3163d58a3ce2e1a4e61' when setting up triggers for LIVING ROOM - Motion Detected
2023-03-06 15:33:21.444 ERROR (MainThread) [homeassistant.components.automation.entrance_door_knocked] Got error 'Unable to get zha device a442b148487c4b00c861b00d33400748' when setting up triggers for ENTRANCE - Door Knocked
Can you find other ZHA related errors before those in the logs? (Upload to https://dpaste.org/ + send the link here)
Wahou. Air gradient seems really cool.
I’m having issues with scenes and my zigbee devices. The lights rarely change to the correct color temperate and the majority of the time just turn off
when i try to start z2m... using a Sonoff ZB-E
2023-03-06T23:11:08.280Z zigbee-herdsman:adapter:ezsp:uart Serialport opened
2023-03-06T23:11:08.280Z zigbee-herdsman:adapter:ezsp:uart Uart reseting
2023-03-06T23:11:08.280Z zigbee-herdsman:adapter:ezsp:uart --> Write reset
2023-03-06T23:11:08.281Z zigbee-herdsman:adapter:ezsp:uart --> [1ac038bc7e]```
shouldn't there be more after the reset?
there is nothing happening
wtf. its working now.
Anyone know if these will work? https://www.amazon.co.uk/MoesGo-Multi-Control-Association(3-optional-Backlight/dp/B096X7X7ZS?th=1
Probably. Can't find anything about ZS-B-EU3-GY-MG they name it as but they're likely the same as these. Might just need to add their manufacturer code to the list:
- https://www.zigbee2mqtt.io/devices/ZB-SW03.html
- https://www.zigbee2mqtt.io/devices/X713A.html
- https://www.zigbee2mqtt.io/devices/TS0601_switch_3_gang.html
- https://github.com/search?q=user%3AKoenkk+ZS-B-EU3-GY-MG
There's probably more but the pictures aren't always accurate and this should be enough
You can also search forZTS-EUBwhich is shown in one picture: https://github.com/search?q=repo%3AKoenkk%2Fzigbee2mqtt+zts-eub
I have a Zigbee light switch (https://www.zigbee2mqtt.io/devices/MS-104BZ.html) that has now randomly turned on a few times in the last 48 hours. Any tips on how to find the reason? I am 100% sure I don't have an automation that includes that light. Running z2m
I'd start with debug logging and checking the log file
Hello, I'm looking for recommendations for zigbee downlights (3.5"). I run zha on a conbee stick on a home assistant blue. Currently all of my hue bulbs work great but dont fit well in the ceiling cans. I am looking at these https://zigbee.blakadder.com/Tuya_TS0505B.html
z2m, mosquito or something else? I need to find a way to find full logs for z2m because right now I can only seem to access the last 2 hours or so [edit] found the log file 🙂
So as far as I can tell in HA history, this is the moment my light turned on. No automation or anything telling it to:
debug 2023-03-07 05:09:43: Received Zigbee message from 'Bathroom Light Switches', type 'attributeReport', cluster 'genOnOff', data '{"onOff":1}' from endpoint 1 with groupID null
info 2023-03-07 05:09:43: MQTT publish: topic 'zigbee2mqtt/Bathroom Light Switches', payload '{"linkquality":231,"power_on_behavior":"off","state_l1":"ON","state_l2":"OFF"}'
How can I find out where that payload came from?
Z2M should be enough as it should show the messages it receives
You probably have to enable very verbose logging for your broker to see which client id sends what
so setting my mosquito to "info" I guess should do it? Does that save in my home-assistant.log or in its own log? I can't seem to find a file for mosquito itself
Any 220v zigbee power strip recommendations?
I'd have to check but you probably have to go very high, like I said
Guys I have just replaced my Sonoff ZB Dongle-P for the SLZB-06
Now I want to use the old Sonoff as a router (successfully flashed the firwmare) and paired the dongle, but after a while I realize that the dongle that I have paired (and renamed) was the cordinator itself... And there is no new devices on my zigbee list
How can I reset the Sonoff to try again?
Yes It's weird, the old sonoff appeared as the actual cordinator as a new device
It seems that both my new and old coordinators have the same IEEE
What integration are you using?
zha
yeah... just re flashed the router firmware and my zigbee coordinator is like finding itself because that IEEE conflict
So if you migrate, the IEEE of the old coordinator is written to the new coordinator
The router firmware probably always uses the hardware IEEE
It won't be possible to run both in the same network
no way to change either cordinator's IEEE or routers IEEE ?
You can't change the coordinator's IEEE, that would cause the network to start breaking
That's what the ZHA radio migration does 😄
from the sonoff to the SLZB
well f**... i really needed the old one as a coordinator
the only thing i can do is repair everything rom scrathc?
scratch?
You might be able to re-flash the router's IEEE with https://github.com/JelmerT/cc2538-bsl 's --ieee-address option
i really needed the old one as a coordinator
What specifically are you trying to do?
just want to use my old sonoff coordinator as router
i got the SLZB-6 and is working better but even so my signal is weak in a part of the apartment
I did the migration in ZHA and then re flashed the old cordinator as a router
Try this and write a slightly different IEEE address
Can i change like 1, 2 digits?
Doesn't matter, just as long as it's not identical
so after installing the repo all i have to do is run:
python cc2538-bsl.py --ieee-address xx:xx:xx: ?
no luck... I don't quite understand this :/
now i can't even "ls" on my machine i get
-bash: /usr/bin/python3: Input/output error
That sounds very broken. What exactly did you run?
Anyone know of a good remote with lots of buttons that uses ZigBee? Using the Ikea remote today but looking for something with a couple of more buttons.
python3 cc2538-bsl.py --ieee-address 04:12:4b:00:24:c2:c0:04
then i tried
python3 cc2538-bsl.py --bootloader-sonoff-usb -evw --ieee-address 00:12:4b:00:01:4d:12:34
Looks fine to me. Did you just install Python or was it previously running?
just installed
Hello! I too am fairly new to Home Assistant, but already have quite a few devices / automations.
My question is about the Aqara double switch "WRS-R02". I would like to be able to trigger automations with the switch via ZHA with Skyconnect. I was able to add the switch, but everything is displayed as unknown and nothing happens when I press a button. All quirks and blueprints I found in the last hours need a ZHA_event, but the switch isn't sending an event. Can someone help me please? I really don't know what to do anymore.
Hello . Anyone know why ZigBee2mqtt user interface stopped appear in my HA? I can still controll my devices
new to this home automation stuff. looking for zigbee or z wave plugs here in the UK. when looking and stating that the plugs require a “hub” is this referring to the manufacturers own hub or can something like a conbee II be used?
Conbee is like ancient for what you can get for 15 bux
You can use either Zigbee2MQTT or ZHA
There are three Zigbee options with Home Assistant (regardless of how you install it). These are:
zha is actively developed as part of Home Assistant Core, using the zigpy stack, the UI also being part of Home Assistant. The EmberZNet based sticks are recommended (though the HUSBZB-1 uses an older chipset), but there are other options including the CC2652 based sticks. There is no list of supported devices, as any standards compliant device should work. Devices that require extra support are listed, and adding unsupported devices is documented.
Zigbee2MQTT is very actively developed and can run in an add-on, in a Docker container, and natively. As of 1.15 has a native UI, and it also uses MQTT for control and configuration. It supports mostly TI based sticks, with the recommended option being the [CC2652 based sticks](#zigbee-archived message). If you want to use an EmberZNet stick see this issue. The known working devices are well documented (which usually includes how to pair them so you don't have to find the manual), and adding unsupported devices is also documented.
deCONZ is relatively stable and mature with its own UI (and Discord server). It can run in an add-on, in a Docker container, or natively. Only the ConBee range of sticks and RaspBee GPIO boards are supported. Known working devices are documented, and how to request support for a new device is documented too (you can't add unsupported devices yourself).
Yup, that's the good one
That'll work with either Zigbee2MQTT or ZHA
Do put it on a USB extension cable, 0.5m to 2m long
I see, okay.
I started slowly to migrate to my new network z2m on the sonoff dongle P but i still got some questions
Network map now shows routers and end devices https://imgur.com/a/tlqHRKQ
Although I added routers (hue bulbs) trough routers they still connect directly to the sonoff coordinator I am a bit worried because of the devices directly connected to the coordinator like this. From what I understand 50 routers directly connected is MAX but still have to add another 100 bulbs, plugs and sensors. Will this going to work?
Zigbee2MQTT version 1.30.2 commit: cdf62ea Coordinator type zStack3x0 Coordinator revision 20221226
Coming from 2 conbees btw
Also Xiaomi's older (Zigbee 1.2) devices pair to the first thing they hear if you don't force the use of a given router
What do I need to use zigbee on a raspberry 4?
Hello all! So.. I posted a few days ago - could not get my Sonoff stick to load without errors after (ages) of no issues. In an odd leap of faith, I deleted ZHA and the three DB files. Waited a few hours (actually forgot to check in on the system) and then re-added ZHA. For whatever reason, the stick was recognized and came up. I added back my (several handfuls) of devices. All is well now. Just thought I would share that 'patience' still plays a (sizable) role in this HA world. Thanks for your support!
Hi
Has anyone had trouble with Tradfri bulbs connected via ZHA (conbee2) - I seem to be unable to change colour from warm to cold
@shrewd lava TRADFRIbulbE27WSglobeopal1055lm on ZHA on a Conbee2 running HA 2023.03. No issues changing warm/cold.
Thank you... but there must be something I'm doing wrong than
@shrewd lava What’s the exact model info? And firmware?
I'm looking out for Zigbee door/window sensors and also for Zigbee smoke detectors than are capable of using Zigbee routers instead of having to bind them directly to the coordinator. Any suggestions?
Using Z2M
For sensors, Xiaomi Aqara
If you can get the E1 sensors they're better than the original, but both work
Hmm...I just bought those but they are not routing.
Well... end devices don't route
Battery powered devices are only ever end devices
They will connect to routers though
Most of mine are
No, I did not mean the devices itself do not route, sorry, my mistake.
They don't get routed.
By my Philips Hue bulbs which act as routers.
They'll work fine if you don't have broken routers
Just pick the option to pair via the device in question
I don't get it.
Is there a special option?
@maiden axle 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).
Holy crap, I was not aware of this since so long now 😂
Lemme try that!
Thanks a lot mate!
It got added a long time ago, but you're not alone in not noticing the obvious option...
Whoa!
Hi there, I'm looking to write a custom quirk for a device (remote control) that's not supported on zha yet and could use some help. Specifically translating button presses to device automation triggers. I was able to write a custom quirk that gets applied to the device but I am not sure how to define the device automation triggers. I've had a look at other quirks and tried to copy how they do it, however I'm not getting any events triggered. zha etc are all set to debug logging, but I don't see anything in the logs when I press buttons on the remote
log message from a working device: 2023-03-07 18:10:50.417 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame( profileId=260, clusterId=6, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY: 256>, groupId=0, sequence=180), 172, -57, 0x35bc, 255, 255, b'\x01N\x02']
log message from my device I'm trying to add: #2023-03-07 18:11:48.281 DEBUG (MainThread) [bellows.zigbee.application] Received messageSentHandler frame with [<EmberOutgoingMessageType.OUTGOING_MULTICAST: 3>, 65533, EmberApsFrame(profileId=260, clusterId=6, sourceEndpoint=1, destinationEndpoint=255, options=<EmberApsOption.APS_OPTION_NONE: 0>, groupId=16388, sequence=126), 255, <EmberStatus.SUCCESS: 0>, b'']
I'd advise opening an issue on the ZHA_Device_Handlers repo, with the information in in the issue template with quirk not applied, and also include your quirk as well. there are some helpful folks there who are not active on discord.
there's an open issue with no activity for a while that's why I wanted to try myself
still maybe useful to post the quirk attempt there, it might trigger some more eyes on it
device_automation_triggers = {
(SHORT_PRESS, BUTTON): {
COMMAND: COMMAND_TOGGLE,
CLUSTER_ID: 6,
ENDPOINT_ID: 1,
ARGS: []
},
}
that's what I have for the triggers but no idea what I have to define there
I cant upload the entire file
also subscribing in the Homeassistant UI to zha_event does bring up nothing so far
if you aren't seeing events, that's what you need to focus on. the device_automation_triggers work off the same data, so if no events they won't work either.
wait till they find out they can Easly reset hue bulbs with zigbee2mqtt
thanks, could that be solved with a quirk? or is the problem somewhere else?
quirk most likely
okay thank you
how would I go about debugging the device? like log anything that comes in...
Anyone having this keypad running in combination with Alarmo and Zigbee2MQTT? 🤔
https://www.zigbee2mqtt.io/devices/KEYZB-110.html
I saw a couple of videos showing it running with ZHA and Alarmo. But not with Zigbee2MQTT and Alarmo.
Hi, I have downgraded my Conbee II to Firmware 0x26580700 and started using Z2M
Do I need to do anything to prevent Conbee from updating to a newer firmware?
I'd like to stay with that firmware, as it's the most stable one for Z2M
Z2M will (can) not update it
OTA updates can be very slow but 40m is the longest I had yet. Please use a direct link next time
I don't know how to do that. Hope it doesn't end up with an error
I think the remaining time is not accurate though, it seems to proceed faster
No guarantees, but can you send the GH link here?
there are multiple versions of the remote, the top one does appear to have a working quirk but I have a newer model (see latest comment)
Hi guys, question:
Since today I notice that my home assist is not always available.
How can I achieve this, restarting Pi does not always have the desired effect
Don't cross-post
hi, I have added aqara vibration sensor to my door to detect if my dog scratches the door, however the sensitivity of the sensor is not high, when attempting to change it I get this error
https://imgur.com/HhbAAwy
What should I do to change the sensitivity to high in this case?
Using Z2M
Make sure the device is awake
He is.
Error 2023-03-08 18:44:44Publish 'set' 'sensitivity' to 'Bedroom Door Vibration Sensor' failed: 'Error: Write 0x00158d0008d0bf86/1 genBasic({"65293":{"value":1,"type":32}}, {"sendWhen":"immediate","timeout":35000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":4447,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Data request failed with error: 'MAC transaction expired' (240))'
MAC transaction expired means the device wasn't awake when you tried to send a message to it. Click a button, move it around, etc. before sending data to it
Everytime I want my dog to scratch the door he will need to press the button? sounds weird to me it should detect door knock etc..
OR you mean press it before trying to change the sens?
The latter. Zigbee sensors sleep until they have something to send, they normally won't be awake to receive something you send to them.
I am a bit tired of Deconz software and it does not pick up the latest IKEA light I just bought. So I am now thinking about going for ZHA instead, it has been confirmed to work there. I run my zigbee network from a remote raspberry pi with linux and docker. I can´t seem to find a zha container to install. Are there no support for having my conbee ii stick in a remote rpi when using zha?
If a light isn't joining your network, switching integrations will not help
My server is in the basement with concrete between it and the main floor where most of my devices are..
If everything is still on the same local network, you can install ser2net on the Pi to expose the Conbee and then have ZHA connect to the serial port socket://server.ip.address:port
ok, thought the different integrations did not have same device support
Even if a device isn't supported, it will still at least join the network
so how come I am not able to add the new light to my deconz instance? 😦 I have it really close by the stick. And others have reported to add the same light to their zha ..
Just if anybody asks in the future: It was actually completed (took 127 minutes)
Move it further away from the stick and make sure your stick is on a USB extension cable. The integration just asks the stick to open joins, and the light then connects. There's no difference between the way ZHA asks and deCONZ asks.
ok thanks, will try some more
Is there an easy way to tell z2m that my item with model number X is really the same thing as the item with model number Y in zigbee herdsman philips.js?
Sure. See here for example: https://github.com/Koenkk/zigbee-herdsman-converters/blob/4dcb2aebe999a769b1743b9c9a754bb4cce5610b/devices/philips.js#L70
3 models, one device
Specifically Hue Enrave Medium White, in philips.js shows zigbeeModel: ['915005996601'], but my light reports zigbeeModel 929003531502
yes, is there a way to tell z2m to "try it" without editing the files or anything else?
like hey z2m, I know you think this model isn't supported, just pretend it's this other model instead...
zigbeeModel: ['915005996601'],
there becomes
zigbeeModel: ['915005996601', '929003531502'],
I think so, but I haven't done or used that.
I believe zigbee devices load a profile that suggests their capabilities or how to interact with them?
is that something I can edit inline in HA or would I need to edit files elsewhere, reinstall stuff, etc
https://github.com/zigbee2mqtt/hassio-zigbee2mqtt#testing-changes-locally
Writing a converter would be a waste of time for this. Just edit it in your container and restart to test. You might have to re-pair
hmm I might be able to do this
right now I have it paired with the hue hub, but the thing buzzes like crazy over 50% brightness. I'm trying to switch it to z2m and swap the switch for an inovelli blue to see if that fixes it
otherwise it's going back
(and of course eventually if it does work I want it in z2m and inovelli blue anyways, so that would be a bonus that it already solves that)
thanks, going to try the docker edit
Hi all,
I've got a Sonoff Zigbee stick attached to my Pi with HAOS. It works fine, finds all my devices like a motion sensor, temperature sensor and water leakage sensor.
Now I tried to add a door sensor (Tuya device). It is added instantly when I start the learning in Z2M, but LQI is 0 and there are no updates when I open/close the door 😦 How's that possible? I'm living in a not-so-big flat; its like 10-15m from Pi to sensor with 1 wall and 1 door in between. Should I consider buying a zigbee extender / any zigbee power plug to extend the range and test that? 😦
Pairing worked instantly, though 😕
Effective Zigbee range indoors can be in the single digits. Some routers are definitely recommended. I wouldn't buy just routers. Buy something useful that acts as router.
Try if it works when it's closer to the coordinator or next router
anything that comes to your mind immediately?
Power plugs, LED controllers, light switches, bulbs. Permanently powered stuff like that
it's $$$ but inovelli blue switches (in smart mode) + hue bulbs gives you routers everywhere and forms a proper mesh
Seems to be a TuYa one. It probably requires a FW update to work properly and is more expensive than directly from Aliexress but better than nothing
Probably this one: https://www.zigbee2mqtt.io/devices/TS011F_plug_1.html
15€ is fine for me and I dont like aliexpress 😕 I'll give it a shot then!
Thanks for the help 👍
Very low risk with amazon in case you don't like it. I'd still try if it works near the coordinator first and if it does at which range/location it stops
it's already "glued"/stuck to the door frame 😉
super-beginners-mistake
and I can barely move the Pi because its using ethernet
Okay then. Take note that it can take 24h or so to find a new route. Also try to re-pair it when the router (plug) is online
Ok, will do!
Is it possible to bind a zigbee dimmer to multiple lights, and switch between which light is being controlled based on conditions?
Or would that just require software control via automations
Trying to keep the responsiveness of the bound dimmer controls but I think the only way I can achieve this dual functionality is via software
I’ve never really seen any delays with automations on dimmers. Curious to play with bindings at some point, but when I briefly looked at it I couldn’t have a light bound to a dimmer whilst still being able to control the light from HA, so it seemed mostly pointless. I might be doing the bibs wrong though.
I having trouble with my zigbee devices since the 2023.3 update. Some device update erratically and some command fails to pass. Any idea how to debug this?
I get an error in the log on boot that I don't know what to do about :
Logger: bellows.uart
Source: /usr/local/lib/python3.10/site-packages/bellows/uart.py:86
First occurred: 21:39:15 (1 occurrences)
Last logged: 21:39:15
CRC error in frame b'de6f8f7fa37e' (b'7fa3' != b'c97a')
And some warning.
(using zha)
What coordinator are you using?
Posted this issue in #automations-archived - they sent me here. I'm having some trouble with ZHA based devices (IKEA shortcut buttons and Styrbar) in automations on my HA Yellow lately. After HA restart IKEA buttons don't trigger automations anymore (IKEA motion sensors do). zha_events are detected and in the automation editior it shows the triggers as - well - triggered on button press. A host reboot fixes it until the next HA restart. Anyone else with the same problem or a fix?
I can't visualize what this means: "it shows the triggers as - well - triggered on button press".
If you trigger the trigger condition in the automation editor it visually confirms it would have fired the automation.
One message removed from a suspended account.
One of your devices (0xE29F) is likely offline. ZHA should still load though, it may just take a minute.
One message removed from a suspended account.
One message removed from a suspended account.
Do I need to buy extra zigbee hub like aqara besides having USB hub?
so it's mainly just a repeater
Well, you'll need some Zigbee router devices, yes
i will have other hard wired zigbee switches that act like a repeaters
ok, then I'm good without it
Also, any Zigbee hub would be a coordinator, and set up a new mesh
They wouldn't help expand your current mesh
so zigbee hub (not-usb one) just acts like usb one that u plug into HA harware
Well,except for the fact that HA can't use them and you can only add things the manufacturer supports... yes
so multiple coordinators aint good for mesh, which then u basically creating another mesh network not connected to each other?
Yes
so it's like creating another wifi hotspot with different router and different IP network (192.168.2.1 and 192.168.3.1)... gotcha
then I'll only get USB dogle
And not a CC253x based one hopefully 😉
I'll go with Aqara Hub E1, which supports zigbee 3.0 protocols
it's a usb dongle/hub
No
No it's not
A USB dongle (coordinator) would be something like the Sonoff P, or the SkyConnect
oh...
I mean, if you want to be locked in to whatever a vendor supports, and possibly be reliant on their cloud service, go for a hub
If you want to be smart... don't
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.
i thought aqara got it's own usb dogle for HA
No
Don't...
is it that bad or it locks u into their environment?
Anything CC2530 or CC2531 based should be avoided - they're old, slow, and only suitable for a dozen or so devices
i see
If you buy one you can expect it to lock up when things get "busy"
Doesn't take much to cause that
Buy something CC2652 based
they got sonoff zigbee hub bridge but I assume this aint an option, cause I need dongle for HA
The Sonoff ZBbridge isn't advised since it uses WiFi (built in interference causing stability/reliability issues)
yeah, I assumed that
#zigbee-archived message has links to help you find good sticks
I'll try to get that sonoff dongle, since shop only got aqara and sonoff stuff
Plus-P one
Hello all,
Using ZHA for the first time and I've added a on/off ikea remote
My issue is the long press off each button, reports the same event on node-red
unfortunately, can't check the events in the HA because the logbook is always reloading
How about developer_tools->events? Don't think events even show up in the logbook.
which one should I get sonoff zigbee dongle P vs E? Most of reddit recommends P version
I got this one for zigbee2mqtt https://www.amazon.com/gp/product/B09KXTCMSC
Base on TI CC2652P + CP2102N
I guess it's the P version, I had to flash the firmware to get it working right but after that it's been fine
It's a known firmware issue with IKEA remotes. Long press left and right also trigger a turn on Zigbee event. Long press up and down should work.
With a long press in 1 and a long press in the 0, I got the same event, everything is the same
That's a different issue, is there anyway to avoid this?
any idea ?
I am getting more error now, like https://paste.debian.net/1273419/
googling the coordinator, I am seeing people talking about issue related to device count. https://www.reddit.com/r/homeassistant/comments/va61ud/max_devices_on_sonoff_30_zigbee_coordinator/
I now have 47 device, could it be related ?
I had a quick look at the zha_events of my Styrbar. The long press events for on and off look different, but the button release events look the same. Maybe you are picking up those.
The long press doesn't have events, only when I release them
And yes the event is the same
In ZHA is an event for holding the button and one for release.
on short = command: on
on hold = command: move_with_on_off
on release after hold = command: stop_with_on_off
off short = command: off
off hold = command: move
off release after hold = command: stop_with_on_off
ok so I was only cheking the release
Unless you have 47 sensors (or 47 sensors + Sengled bulbs), there is no practical device limit
looking at https://github.com/zigbee2mqtt/hassio-zigbee2mqtt#testing-changes-locally to try adding a zigbeeModel locally, first step is "gain root access to Home Assistant installation" and I'm failing horribly lol. Can I use the terminal inside HA, or via the proxmox node console which gives me the HA console, but all the commands like docker ps dont work because it's "HA" console, can I escape that or do I need to ssh or something?
No, over a ⅓ of the device are routeurs (smart plug, powered CO² sensors, etc)
I think the only remote with that issue is the 5 buttons remote
But still... Long left and right is borked by IKEAs firmware behavior
im testing the on/off remote, for sure I will have that issue with the 5 button remote :/
I will come back for that :p
thanks for the help
The automations with IKEA remotes are causing trouble for me and stop working after a HA restart. Cannot pinpoint it to a specific issue - might be a ZHA (I have some doubts about that) or a core issue with automations (but why only ZHA IKEA remotes?). Or something completely different 🤷♂️
hmm just getting an error (with no details) trying to set up the PoE zigbee coordinator
I'm using node-red, but simple automations. will see if I have any issues in the future
Not sure how it works with Node-RED, but most IKEA remotes should have "device automation triggers" available: https://i.imgur.com/xtw8DOk.png
I'm using those. After a restart I get zha_events and those "device automation triggers" fire. But they don't start the automation until I reboot the host or change something in the automation and save it. But this only happens to the IKEA automations. Shelly button automations still work. 🤷♂️
I think it started with HA 2023.3.0
Is there anything in the logs?
Logger: homeassistant.components.automation.kuche_buttons_pods
Source: components/automation/__init__.py:603
Integration: Automatisierung (documentation, issues)
First occurred: 8. März 2023 um 22:16:46 (4 occurrences)
Last logged: 8. März 2023 um 22:16:46
Got error 'Unable to get zha device d00831a27cbb1f6ed5d76c15b7a0d49e' when setting up triggers for Küche: Buttons Pods
Got error 'Unable to get zha device 031ef70a99c820575c71636c8b04e449' when setting up triggers for Küche: Buttons Pods
For other buttons similar log entries
@sudden yarrow I converted your message into a file since it's above 15 lines :+1:
@sudden yarrow I converted your message into a file since it's above 15 lines :+1:
What coordinator are you using? Wireless Sonoff Bridge or something?
(Also, use something like https://dpaste.org/ for sharing logs in the future)
And what HA version are you running?
Silicon Labs EZSP in the HA Yellow with Multiprotocol Add-on
And do you know what Silicon Labs based coordinator exactly?
Ah, nvm
The one in the Yellow?
Yes. HA Core 2023.3.2
Looks like it doesn't properly connect to the addon on startup. It should connect after a while and not break any automations though
Z2m or zha? Feel free to do me too
zha. it kept saying too much interference, can't create network. I rebooted the pi, working now but gotta move all my devices over
Is your coordinator on a USB extension?
My first thought was, the devices aren't available. But strangely the zha_events are there and the automation editor shows the events firing. They just still don't start any action.
Yeah, it can't find the devices when first setting up automations. At that time, the devices are "offline", as ZHA (temporarily) gave up trying to connect to the coordinator
This might be a bug in ZHA (either that device automation triggers aren't available when ZHA is still trying to connect or that ZHA is not "re-setting up" automations when it finally connected).
@austere patio (above might be interesting to you -- "device automation triggers aren't set up when ZHA can't connect to socket/multiprotocol at the beginning")
Does this happen every time you reboot HA Yellow and/or just HA Core?
Only on HA restart. A host reboot "fixes" it.
Yes (1.0.0). But changelog and documentation are unable to load at moment.
No Zigpy, ZHA or trigger errors in the log after host reboot.
(Btw.: the docs + changelog not loading for add-ons was introduced in HA Core 2023.3.2 and will be fixed in 2023.3.3. So nothing to do with your issue)
So I've migrated from a HUSBZB-1 to a Sonoff ZBDongle-P via the ZHA migrate radio button. While it seems that I have control over all of the stuff that I had paired, I cant pair anything else to the new radio. Also on restart ZHA will fail to start and I will have to migrate the radio each time I reboot. Anyone have any suggestions?
I do still have the HUSBZB-1 plugged in as I am still using the zwave side of it until tomorrow when I should swap to a Zooz 800 series USB hub.
I had issues today switching zigbee modules while the old one was still attached. Not sure it was related, but finally removing it and rebooting my pi fixed it. Can't wait to get migrated away from the pi.
guys, just got a zigbee device (using ZS3L) and they included tuya docs, that mentions Tuya smart app. Does that mean that an HA setup with SkyConnect wont work unless there is some pairing method option on device to connect to my HA? Is it possible some devices with ZS3L only work with tuya hub and their app and not HA?
No, it means that they want you to buy into their ecosystem
All manufacturers do that
so that means I need to find a way to get it into pairing mode or how you suggest i get HA connected to it? btw: this device has no ecosystem, as its a plumbing device with a ZS3L module to it.
Yup, the docs should tell you how to put it into pairing mode, since that's needed for their own hub
Ecosystem in this case means Tuya 😉
Pretty much every Zigbee device will work with ZHA and Zigbee2MQTT - at worst you need to put a little work in creating a Quirk or Converter
it turns out I was looking at wrong thing - trying to change "start up colour temperature in "configuration" tab instead of heading to "lightbulb" icon and adjusting colour there... all sorted now. Thank you for your time to answer my question Aslak3
Hello
After I SSD crash on my YELLOW I have problems to re-recognize my ZHA-Integration (using the built in radio).
On the #yellow-archived channel we had not found a solution yet.
When I reconfigure the Settings to "socket://core-silabs-multiprotocol:9999" I get a "connection failed"
Hello guys. Im having trouble with my new skyconnect. I read that its just plugnplay. But it doesnt show up in the integrations tab. Anyone got any ideas why?
What is it plugged into?
Ubuntu Linux. With 3.0usb with extension cord
Is there a good zigbee speaker? I just got a unifi doorbell and their chime is out
I was going to use the speaker as a doorbell
And ... what hardware. I'm guessing not a Pi, but ... 
Chime/alarm yes, speaker no - Zigbee doesn't have the bandwidth for that
hi! just checking, a skyconnect connected to a usb2 port using a usb3 extension cable, would work fine right?
any recommendation for a USB2 hub that could host skyconnect, aoetec zwave, and bluetooth usb keys?
preferably non-powered
whats the best way to see a list of features or entities or X a zigbee device is capable of, from within HA? Tips appreciated.
Im sorry. I solved it. Devices was commented out in yaml
Would I be able to make my own chimes?
If so what would be recommended?
just migrated to a yellow and trying to repair my zigbee devices into z2mqtt - they almost never show up during permit join, and if they do i'm getting "interview failed"
not really sure what to try next
Are you starting with the router devices nearest the Yellow?
the one i'm trying to pair at the moment is plugged into a power strip literally 1 foot away from the yellow
That should be fine then...
holy crap i think i found the issue
Oh?
i think my older sonoff dongle was causing interference - despite being attached to a machine with a disabled VM
If it was powered on, it was working
yeah - i'm surprised that was an issue after disabling VM and factory resetting the device
I try to do the most I can myself lol
Hi all, I'm new to HA and zigbee and have some devices that need quirks and I'm not able to figure out how to add custom quirks and add the zha quirks from pypi, can anyone help by pointing out any clear guide to do so?
Hello Someone conect Aqara A100 Zigbee with HA ?
Is someone aware of a zigbee lock that is able to turn an EXISTING apartment door handle?
i just realized that my potential sponsor got only zigbee end-devices and no routers.... Sadge
sponsor?
I got a meeting with a company tomorrow for my "smart house" project...
What's the project?
im youtuber, so I try to get sponsors for my projects
smart house... transforming normal dumb house into smart one
Zigbee plugs are cheap enough
smart switches, sensors...
How profitable is that anyway?
Anyway, as long as you have a coordinator you're fine.
they dont sell any plugs either
not really if u got huge multi-floor house
i wanted to have switches as repeaters
I see what you mean, yeah, you'll probably need to pick up several devices as routers.
Maybe you could return some of the devices you chose?
the whole project kinda falls apart if I talk to them and get only end-devices for the house
the other potential sponsor that asked over email "we are interested, what u need and how many" got literally everything I need aka all Aqara devices... i replied them info for a "perfect house" with a few sentences... and im hoping to get a green light
So ... buy some?
true... let me just go from 10 bucks to -100 on my bank account LUL
We will see, if I get something I will def buy a few
Yeah, I refuse to help someone infest youtube with more ads for profit.
Are the Sonoff Door and Window sensors "sticky" like the Xiaomi ones? I'm fed up with Xiaomi and want to find something that doesn't constantly drop off the network.
Xiaomi devices shouldn't drop off the network though. Are you turning the power for the routers/parents off?
Or do you have some incompatible router devices on your network maybe?
Anyone know zigbee light switch that does 3 way with traditional switch?
is there some way to get a list of all features from a zigbee device somehow via HA, even via CLI maybe?
Hi, I want to get rid of my automations just for light control with smart switches and lights and use the onoff binding instead. Now I have two problems with my switches: I use in some cases the ikea shortcut button to toggle the light. Is there a way to use some binding? At the moment the binding turn the light on, but not off
the other issue concerns my hue wall switch modules. I use them as a two push button config. I see no possibility to bind a light to one specific button and there I will face the same issue that I need to toggle the lights
background is, that I'm hoping to harden my zigbee setup to issues in home assistant (like a long boot up time after a powerloss and not be able to turn on the lights)
Inovelli Blue, but I'm still learning the exact details of how it works with a dumb switch
Not a regular switch, but the Enbrighten switches from GE (white labeled Jasco switches) have a cheap add on switch that enables 3 way support.
Finally got my Tuya mmWave presence sensor (went with the wall version). It’s really nice!
Great having short fade times and more consistent presence detection when I’m sitting still. Lux sensor is useless though.
No.
Thank you! I ve seen them but didn't think they would work stand alone. Thank you!
My understanding is that some of the Xiaomi edge devices have standards breaking timeouts, which causes some routers to drop them.
They’ve been rock solid too. I use the switches and the dimmers.
Literally never had an issue.
Yes, they are horribly broken and not compliant. I have ~165 devices on my Zigbee network and the only ones that randomly drop off are Xiaomi.
I've decided to stop using them too
Although the door sensors I have are pretty good?
I have a bunch of Aqara door and climate sensors, admittedly I've only had them a month or so but I've not had any drop off yet. ZHA with SkyConnect
How would you guys debug this... z2m addon, sonoff P dongle, ~45 devices with nearly all of them being Inovelli Blue (not from bad batch) and Hue bulbs of various types. Everything was working perfectly. I've added a few more bulbs and Hue dimmers (migrating from Hue hub to z2m) and at around 48-50 devices it got difficult to pair, and now at 52 devices I really can't get anything to pair at all.
If I eject and re-pair a devices a few times it will eventually show up as paired, but as Unavailable in z2m, and although the buttons work perfectly, nothing is able to bind
so my Hue dimmer which was paired a moment ago is now failing to pair, showing as Unsupported, red triangle. If I eject and try again maybe it will pair maybe not.
Let me check, it's currently loading z2m topology map
Zigbee2MQTT version -> 1.30.2 commit: unknown
Coordinator type -> zStack3x0
Coordinator revision -> 20220219
Frontend version -> 0.6.125
functionality wise, from HA I can turn on and off pretty much anything without delay
everything seems to be working, I just can't seem to pair or bind new devices
I got it to pair, and if I use an HA automation to turn on and off the lights it will work, but if I try to bind to a light group in z2m I get errors like 2023-03-10 13:07:53Failed to setup reporting for 'Light_LivingRoom/11' cluster 'genOnOff'
Anyone know of a zigbee led controller that can dim very low?
My zigbee aquara motion sensor pairs with my home assistant but doesnt do anything else. I have tested with both ZHA and zigbee2mqtt
I have the Sonoff CC2652P
And any Zigbee routers, or just that coordinator and the sensor?
just that coordinator and the sensor
And how far away is the sensor?
Did you pick a Zigbee channel, and if so did you check for WiFi interference?
I havent messed around with channels that much as I'm quite new, the wifi interference I would say is "the actual worst it could possibly be"
Did you at least put the coordinator on a USB extension cable?
Well... you've gone and make a bunch of the worst possible choices then
I'm not surprised it's not working
I've used zigbee fine with another device though
https://blog.ceard.tech/2022/12/zigbee-tips covers the things you should be doing/not doing
- Extension cable
- Move it all away from WiFi/Bluetooth
- Pick a channel once you know your environment
1.0 or higher
Okay i extended it to like 30 cm away from the pi. that may be at least somewhat better?
Should be, assuming you've moved it away from your WiFi and you've picked a sane channel
If you're using the same frequencies as WiFi then it's still gonna be fucked
Channels matter... a lot
How would I know what channels to use? wifi checker app?
Yup
the environment in that energy scan link is truly frightening
oh thanks to both
Abandon all hope...
I believe that was a CC2531 plugged into a USB 3.0 port
And how do i get pip on ha?
You should enter the Docker container (after disabling ZHA or Z2M): docker exec -it /bin/bash
Hmm, no, that's the wrong command. This one: docker exec -it homeassistant bash
Well I'm kind of a newbeginner here btw
It's a hack, you shouldn't be doing it to begin with, it's just convenient since you don't need a second computer
Okay how long am I supposed to wait for inSSIDer?
aight channel 4-11 is quite occupied, so I should switch to channel 15 for my zigbee?
WiFi channel numbers and Zigbee channel numbers are different
If you're seeing WiFi on 4 then Zigbee 15 is likely to be a terrible choice
Then Zigbee 11 may be your least bad option
those are the channels at least
should I just bump up the transmission power on the zigbee dongle to 20db?
That's unlikely to really help
Making it easier for devices to hear it doesn't help the devices respond
Alright but anyway I don't think thats the problem with my zigbee device
Did you try changing its battery?
yup
The WiFI analyzers aren't all that useful when compared to what the radio itself sees, since your noise could be caused by something other than WiFi. I suggest you try the zigpy-cli tool (follow basic Python installation instructions here, they're for any platform: https://github.com/zigpy/zigpy-znp/blob/dev/TOOLS.md#installation). If you have an older generation Aqara motion sensor, it has zero software configuration: it just connects and sends data. If that doesn't work, either the sensor's battery is dead, it's in a place where it can't send, or the coordinator is in a place where it can't hear the weak signal.
well i bought the sensor new yesterday so i dont think its the old version. the sensor is also 50cm away from the coordinator
need some advice. i added some more devices to my zigbee network tonight. home qassistant. z2m. sonoff zigbee 3.0 dongle-p... and now it's basically pooped its pants into oblivion. i'm getting reams of things like
warn 2023-03-10 22:15:11: Failed to ping '0_utility_2' (attempt 1/1, Read 0x9035eafffe245039/1 genBasic(["zclVersion"], {"sendWhen":"immediate","timeout":10000,"disableResponse":false,"disableRecovery":true,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Data request failed with error: 'No network route' (205)))
I can't go into pairing mode... oh wait.... now i can
aaah ok - got into permit join mode and now... im back to my favorite error
error 2023-03-10 22:23:45: Failed to read state of '0_kitchen_back_wall_1' after reconnect (Read 0x9035eafffe641a85/1 genOnOff(["onOff"], {"sendWhen":"immediate","timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (SRSP - AF - dataRequest after 6000ms))
what can be causing this and... how on earth do i fix it?
What's the specific model number? All versions are sold.
bro its in russian for whatever reason, but i think it is RTCGQ11LM
How would I find the path to a sonoff 3.0 usb dongle plus? It is not automatically detected in HA and when I try to install the device it asks for a path to the device but I can't find it.
If it's not auto detected, something else is wrong. How are you running HA?
Yeah, that's the old sensor. If it doesn't work, it's not a software problem.
I don't believe Hyper-V supports USB passthrough for arbitrary devices
What do you recommend then?
Use some other VM software, or use network-connected Zigbee coordinator (e.g. ser2net with a pi, something similar for Windows, or buy a pre-made one), or use some remote USB redirection program to pass it through. Not sure how the last option would work with HA OS, if at all.
Ok Thanks
fuuuuuuuuuuuuuuuuuuuuuuuuuuuuuck
what can I do about it then?
Try new batteries and use a longer extension cable to move the coordinator further away from interference. Run an energy scan from the coordinator to find the best channel.
Heya my Tubes Conductor arrived 🎉😊
Very well made, excited to play around with it and such... once I figure out why my server kicked the bucket that is. 💀
hi, i just switched over from the sonoff zigbee stick to the skyconnect, i used the build in zha migration, and the new skyconnect detects all my devices and read attributes just fine but it seems unable to issue commands to any zigbee devices successfully, same thing when i removed and readded a device, anyone have any tips or suggestions on what i can do
getting a lot of this Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>
Is it on a USB extension?
yep, setup is the same as my old one, just swapped it out on the same extension after the migration
Is there a trick to binding hue dimmer switches to a z2m group of lights? I could have sworn I had it working on/off/dimmer before, but after messing with some things, I have it bound to the group but it does nothing. I have to use an HA automation to detect on/off and control the group which works but doesn't do dimming
not sure if this has anything to do with it but i get this error when i reload the integratoni
2023-03-10 21:52:28.221 DEBUG (MainThread) [bellows.zigbee.application] ezsp_counters: [MAC_RX_BROADCAST = 0, MAC_TX_BROADCAST = 55, MAC_RX_UNICAST = 0, MAC_TX_UNICAST_SUCCESS = 0, MAC_TX_UNICAST_RETRY = 0, MAC_TX_UNICAST_FAILED = 0, APS_DATA_RX_BROADCAST = 1, APS_DATA_TX_BROADCAST = 1, APS_DATA_RX_UNICAST = 4, APS_DATA_TX_UNICAST_SUCCESS = 2, APS_DATA_TX_UNICAST_RETRY = 0, APS_DATA_TX_UNICAST_FAILED = 61, ROUTE_DISCOVERY_INITIATED = 12, NEIGHBOR_ADDED = 0, NEIGHBOR_REMOVED = 0, NEIGHBOR_STALE = 0, JOIN_INDICATION = 0, CHILD_REMOVED = 0, ASH_OVERFLOW_ERROR = 0, ASH_FRAMING_ERROR = 0, ASH_OVERRUN_ERROR = 0, NWK_FRAME_COUNTER_FAILURE = 0, APS_FRAME_COUNTER_FAILURE = 0, UTILITY = 0, APS_LINK_KEY_NOT_AUTHORIZED = 0, NWK_DECRYPTION_FAILURE = 0, APS_DECRYPTION_FAILURE = 0, ALLOCATE_PACKET_BUFFER_FAILURE = 0, RELAYED_UNICAST = 0, PHY_TO_MAC_QUEUE_LIMIT_REACHED = 0, PACKET_VALIDATE_LIBRARY_DROPPED_COUNT = 0, TYPE_NWK_RETRY_OVERFLOW = 0, PHY_CCA_FAIL_COUNT = 55, BROADCAST_TABLE_FULL = 0, PTA_LO_PRI_REQUESTED = 0, PTA_HI_PRI_REQUESTED = 0, PTA_LO_PRI_DENIED = 0, PTA_HI_PRI_DENIED = 0, PTA_LO_PRI_TX_ABORTED = 0, PTA_HI_PRI_TX_ABORTED = 0, ADDRESS_CONFLICT_SENT = 0, EZSP_FREE_BUFFERS = 251]```
If it's an older Hue dimmer, you need to unbind it from the coordinator first
yeah so i guess my brand new skyconnect just isnt worki ng
Time to pick a new channel.
That is one of the more annoying aspects of homelab; everything is on 2.4ghz it seems.
Having received the Skyconnect, I moved from my Deconz Network running on the Conbee II Stick to ZHA with the Skyconnect. All devices paired correctly. However I am having issues with the IKEA Shortcut buttons. They can be paired, but I do not get the zha_events. I wasn't able to find a solution regarding this issue unitl now ... :/
Reconfiguration of the button after pairing fails.
I have this as part of my configatuion.yaml
zigpy_config:
ota:
otau_directory: /config/zigpy_ota
ikea_provider: true
Oh surprise the reconfiguration worked, after leaving the button alone for some time o.O
Now I am getting too many events 😄
One short button press gives me 5 "on" events o.O
Long press gives me 2 pressed (move_with_on_off) and 5 release (stop_with_on_off) events ...
how can i fix this? i have the device plugged into ane xtension cable in the same conditions as my old one, yet this one refuses to issue commands 100% of the time
switching back to the old zigbee coordinator it works perfectly fine
What is the old one? Maybe try a different cable. I was just reporting what I saw in the counter as I don’t think it is obvious.
old one was a sonoff zigbee coordinator. i tried switching the extension cable to the one provided with the skyconnect and i still get the same error
after doing some messing around i guess the antenna in this one is just significantly weaker than the sonoff one. moving it just 3 or so feet away completely cleared up all of my issues
A bit late sorry, but does that mean that the dimmer would control the lights but would not send signals on/off/etc back to z2m and HA? like I can get HA inputs OR direct light group control?
my beautiful new skyconnect stick is here. Super excited to see if this improves on things beyond the old nortek combo stick I was using with delayed responses...
I'm running HAOS in a VM on a Windows 10 system using VirtualBox, and every time the host system restarts, I need to uninstall the Sonoff Zigbee 3.0 USB dongle from the host system in Device Manager, then I have to go into the VM settings and delete the previous entried for the dongle and add it back, then start the VM up. Then HA sees it no problem. Does anyone have a solution where I don't have to go through this every time?
It's set up for Zigbee2mqtt
is there anything I would need to do if I were to swap out a USB zigbee stick for another of the same kind?
it's connecting on the same port, /dev/ttyUSB0, but I'm not able to control devices through it
The wall one uses USB.
Are the mains powered ones certified by anyone?
Honestly, just more familiar with 120v wiring than in wall DC.
I’ll have to do more research.
The other thing that’s holding me back is pets. Top down seems like it’ll go off a lot for non humans.
i'm having an issue with Z2M. I just migrated from a RPi4 to a Mini PC, cutover went fine but when I go to Z2M I get an error that reads "Add-on is not running. Please start it first". Thing is, my Zigbee devices are functioning. Log is showing events from devices.
The USB model is identical electrically.
They’re actually the same modules inside. The main difference is how they’re mounted.
The advantage of a wall mount is it’s easier to physically exclude pets from the field of view.
Good to know that that’s easy to do.
Neat!
Good thing that cats only ever walk on the floor 🙂
I see your point about distribution boxes. Those little 12V boxes for CCTV look way safer to use.
I’m sure they have rated ones.
Also, my attic has a solar fan. So the temps don’t get as obscene up there.
I am getting several zigpy errors. Can someone tell me what they mean?
Especially the one with the
2023-03-12 10:14:17.807 ERROR (MainThread) [zigpy.device] Failed to parse message (b'03840250') on cluster 32799, because Data is too short to contain 1 bytes
I'm trying to get a virtual machine setup working where HA can migrate between machines with different zigbee USB dongles. Configuring ZHA for /dev/ttyUSB0, HA is able to communicate with each USB coordinator after migrating between machines but I am only able to control devices on the physical machine with the original USB dongle that the zigbee network was setup on
this seems like a scenario similar to if I were to replace a zigbee dongle with another dongle of the same type, so not sure how that typically works
Hey, so i have a cc2652 zigbee usb stick, and had several problems with my network, idk if its the router, the points, the network overwhelmed with data, well, idk what is the problem.
Right now, i have improved moving to a more robust host, but its not how its suposed to be.
Im using zigbee2mqtt.
Regardless, my question is, what is the options you guys are using to run zigbee with HA right now? Maybe the new homeassistant thread/zigbee addon?
only difference I can see is that original USB dongle is still powered
That’s just how zigbee works.
Devices cannot switch between coordinators without going through a pairing cycle.
so the result of that pairing is not software only, there are hardware depencencies?
Z2M is the slight favorite.
Yes, devices are “stuck” to one hardware stick without human intervention.
Why are you trying to let them migrate? This is an unusual requirement.
With that in mind, is there any way to see what could be making the devices in my network stop comunicating or responding? I have + - 30 and everyday at least one has to be reconnected
everything else I have running in this house is in this arm cloud and I wanted to try to do the same with HA as opposed to having this one off device sitting somewhere, with the added flexibility of being able to move it around as needed virtually
Are you sure the network is overwhelmed? Or do you have spec non-compliant (cough Xiaomi) devices falling off?
No, i have nothing certain
I just know that everyday at least a device has problems and reconnect it solves it
Same devices each time?
Check your wifi frequencies. Zigbee and wifi overlap.
You might have an interference issue, which can be solved by adjusting both so they’re far apart.
Can i change the zigbee channel easy?
No.
f...
Yea, if its the wifi, its the neighbours
Just 999999 wifi networks visible right now
and i have changed the network
Do you have enough router devices?
Even the nicer coordinators can’t handle more than like, 20 or so direct connections.
I think so, more than half of the devices are routers
That should be fine.
It’s hardware based for the stick. You should be able to move the USB dongle to a new device and copy the same config.
You just can’t set up two coordinators and expect the devices to migrate. You have to shut down Z2M or whatever on device A, move the dongle and config to device B, turn it on, and wait for the network to heal.
(In theory that works for Thread though)
ZigBee and Wi-Fi Coexistence | MetaGeek
@quartz flume
https://www.metageek.com/training/resources/zigbee-wifi-coexistence/
“Please note that there are routers of mediocre quality that might not harmonize well with your network (for example, some versions of the SONOFF Smart Plug S26R2ZBopen in new window are known to be limitedopen in new window). This may yield in message routing errors. In case you have such devices in your network, it might help to add additional routers of better quality and bind your devices to these routers (re-pairing devices with “Permit join” restricted to the new/better router) to improve the overall network performance.”
I would also try a USB extension cable for the adapté @quartz flume. That’s a really common solution. Because know what also shares a frequency with Zigbee? USB 3
Yes, i have one alread
Damn. There goes an easy fix.
Is just strange, some time the nodejs of the z2m just breaks and the docker has to restart
And i know everytime that happens becose my lights turnoff
Okay, that’s unusual.
But when i came to look into the logs theres nothing strange there, or the problem is not there anymore
That was happening more as a HA addon, but still hasppens as a docker container in my home server
Yes, that is my guess, memory limitations
almost buyng a kit in aliexpress with 64 gb memory, my servers are at its limits
Hmm. Pretty sure it depends. If ZHA/Z2M can also listen to the group commands, it would work, otherwise not. You could just try it
Yes, i have, but nothing appears, some time a message gets a timeout
and after that i have to repair the devices to the network
Because after that the device wont respond anymore
usually i just wait a couple days to see if it repairs it self
Seems like you have two issues. They might not be related.
Gimme a minute, I’ll check how much memory Z2M is asking.
The other may be a device which is a router with problem
For example, theres this motion sensor (which is not a router) he is strange behaiving, he perceives we, and after a minute he reports as no motion, even if someone is waving in front of the sensor, then we have to stop the motion, give a sec, and wave again.
No ideia why, have been testing, one theory was a mirror in front of it, but isnt that, i gues its just a fault device.
But that made me think, maybe i have others with problems messing with my network
i have like 6 or more
its the sonoff one those cheap ones
Yep hahah its just this one
if detect motion he stays as on for 1 min after the last dettection.
But this one just reports off after 1 min is REALY strange
That’d be my guess.
Some of these cheap zigbee devices are just bad.
I’ve given up on all my Xiaomi motion sensors. They all suck.
Got a Tuya USB powered one instead. Way better.
I would love to day, but those things are just tooooooo expensive for where i live. I have to import them and still is expensive
I’d focus on the software side first. If Z2M is hitting resource constraints that might cause god knows what kinda weirdness.
Update it to the latest, etc.
That being said I used to run HA, Z2M, frigate, and a few other things on like 16gb. It’s not that memory hungry.
The import is 0, but the product price is still right
But i have to say. Its way cheap than anything i have seen so far, is like 2 of the sonoff
Well, 4 when the price is updated
its 134 BRL instead of 30 - 39
Slightly different version, same cost.
Yea, the gateway is cheaper, but this sensor seems lit, have been looking for a solution for the bed
Its like 4 times a price of a sonoff sensor
maybe more
Yea agree, its time to start using better devices, but after i upgrade my home server, its claming for more ram
Z2M is using 80mb at the moment and 0.001vcpu.
It's not a resource hungry service.
I have 33 devices
16gb, but frigate is using a lot of it
also have a mongodb (nothing serious) and plex in this server
for the VM using the services i have alocated 6gb the rest is in the truenas
How much is currently free?
Lol, yeah. That’s probably your issue.
Oh, system cache? Hmm.
Try turning off plex for a while and see if it works better?
Yea, the yellow bar in the htop
let me docker stats to see what is using what
plex uses the least of my resources
is just 360p videos
It also feels like the one you could leave off for a week.
nop
is the more used one haha
besides zigbee
Here is the docker stats
a98ffcbb0dea zigbee2mqtt 0.76% 82.51MiB / 5.802GiB 1.39% 641kB / 1.72MB 58.3MB / 0B 12
1bdfed3e4f2c transmission 15.44% 237.7MiB / 5.802GiB 4.00% 11.5GB / 73.8GB 143MB / 20.9MB 27
727ffeb2891a nginx 0.04% 72.57MiB / 5.802GiB 1.22% 73.4GB / 73.7GB 8.33GB / 144MB 22
ee1fca726f2b cloudflared 0.43% 34.48MiB / 5.802GiB 0.58% 73.7GB / 77.6GB 139MB / 3.88MB 11
9c198a56f58e tools-api 0.00% 46.45MiB / 5.802GiB 0.78% 280MB / 68.5MB 171MB / 16.7MB 11
05d78e4a0f40 frigate 33.95% 467.6MiB / 5.802GiB 7.87% 419GB / 79.5GB 9.57GB / 80.3GB 293
0a184b784c08 arcode-api 0.00% 73.32MiB / 5.802GiB 1.23% 468MB / 260MB 125MB / 32.9MB 11
0449abfbc0c8 web-ide 0.25% 140.3MiB / 5.802GiB 2.36% 103MB / 89.7MB 491MB / 48.5MB 47
e1ffc14ff4e8 plex 9.13% 73.88MiB / 1.953GiB 3.69% 0B / 0B 24.3GB / 29.8GB 52
2647f7d15685 pihole 0.04% 21.48MiB / 5.802GiB 0.36% 135MB / 6.03MB 24GB / 343MB 31
1780a31d5ce2 mongo-mongo-express-1 0.05% 21.67MiB / 5.802GiB 0.36% 297MB / 144MB 95MB / 36.4MB 12
924e482f3f48 minidlna 0.00% 9.828MiB / 5.802GiB 0.17% 0B / 0B 4.23GB / 29.6MB 3
ec536e3b2658 mongo 0.38% 78.34MiB / 5.802GiB 1.32% 324MB / 564MB 161MB / 76.7MB 56```
System cache in theory shouldn’t be an issue. It can get evicted if any tenant asks for more.
My torrent client is always a problem, it just uses as much ram as i allow, no ideia why, and should not be like that
It was in the last version haha
Cant post the htop because of images limitations of the server,
but my swap is almost 100% used
Thinking about buyinbg this https://pt.aliexpress.com/item/1005002760106979.html
Im using a 2060 super for GPU
also have a 700w 80plus for power supply
Im reasearching that right now, but couldnt find the iddle usage
I just do not want to rescale it in the next 5 years
My current serve has like 8 months and i reached its limitations and not even put all the services i want, even my frigate isnt using AI yet because of memory limitations
Thats not a lot
Well, is more than a rpi 3
but i pretend it to be a router, a ha host, and much more which i will not spend in cloud server
its about 50 BRL monthly
That would be a small house billing with almost no eletronics in it, just the basic, but i spend more than that because of air conditionign and working from home, so, i think is fair
Well i would love another input, what do you think?
I hgave plans to expand on the services i have, but any input of someone which understand this kinda stuff is appreciated
We pay 4x to 8x times what it costs in brazil, so that has to come from aliexpress, and consumer hardware in ali is not confiable
Thats the real reason to go x99+old server hardware
That hardware you said would cost like 12.000 brl to more here
Always has been like that here :/
I see, i will think about that, and how to explain to wife why i HAVE to spend more 2000 brls in server
hahah yea
hey thanks for the insights, always good to share ideias!
Hi, i'm using zigbee2mqtt with a Sonoff "E" now, but I have bought a Sonoff "P" also (and i have a SkyConnect)
Should I switch from "E" to "P"?
Continiue to use E, and use P as a extender?
I think my E is working fine with z2m, but I don't know if the P is more stable or faster?
I'm sorry for alle the questions but I am just really insecure about this
Since support for the E in zigbee2mqtt is experimental and the P is well-supported, it's probably a good idea to switch to the P, but you would need to re-pair all devices
If you aren't experiencing issues though, you could keep things as is
yeah, that is a big job
yeah,the thing is that I don't know if it should be faster or better in some way. Big FOMO here
Faster, no. More stable, probably. Again though, if you're not having issues then I'd say keep things as is
Generally not much is going to make Zigbee "faster"
It's a very low throughput protocol by design, and a lot of the limitations are on the device end on how ofter they check in.
could use zigpy-cli to migrate the radio settings from E to the P, update z2m config and remove ezsp line and would think it should start okay.
and no need to re-pair devices
Huh. Til.
Still, I think the general advice with these things is “if it’s working, don’t mess with it”
Ooo that's a hot tip right there
It’s same thing HA uses for inbuilt radio migrations
Makes sense
looks like it can't talk to the port
Be sure the port is correct, and maybe reflash it.
So, this error is normal? Failed to configure 'presença banheiro 2', attempt 2 (Error: Bind 0x00124b0023420f5d/1 genPowerCfg from '0x00124b00238d84bd/1' failed (AREQ - ZDO - bindRsp after 10000ms) at Timeout._onTimeout
If it ain't broke, fix it until it is...
🤪
Okay all you HA gurus:
I have a SkyConnect. Something's not working quite right. Devices connect, and immediately can't connect anymore. Just ordered a Sonoff Zigbee bridge - gunna flash with Tasmota. The instructions I've read so far say to use that with Z2M, but I already have ZHA installed due to my Skyconnect.
The ZBbridge is ... crap
Is it a bad idea to run both ZHA and Z2M?
Running two meshes is often a source of pain
Well, I can't get the SkyConnect to work.
I'm out of USB ports on my HA device, so I need a WiFi to Zigbee adapter.
Plus EZSP, which that is, has stability issues when the bridge is WiFi connected
You'll be a lot better off with an ethernet connected one
Unless you want more problems
https://www.zigbee2mqtt.io/guide/adapters/#recommended has a list of CC2652 based ethernet/hybrid options, which will all work for ZHA and Z2M
Well, my router and my HA machine are less than 3 feet from each other, which I think is the issue I'm having with the SkyConnect.
My home isn't wired for ethernet.
If you've got the SkyConnect on a USB extension cable you can move it away from the router
Your router... it has ethernet ports?
Landlord won't let me run ethernet through the walls.
If not, buy a switch. Just don't use a WiFi connected Zigbee bridge and expect it to be stable
Yes, but limited shelf space in the laundry room.
So... stick it to the wall?
I don't want to put stuff in cabinets.
Well... then you can expect stability problems... have fun
No tape, nails or screws in the walls allowed.
I know. Thanks for the vote of confidence.
I figure, I have nowhere to go but up at this point.
Just use one of those removable 3m strips.
They dont mark the walls.
Also every single lease I’ve ever signed said no holes and I have never, ever followed that.
It's a bit different here though. Landlord is my Dad...
Oh, come on. No pictures on the wall for their kid?
That’s a little much. Is it drywall or plaster and lath?
I don't like pictures.
I believe drywall. not really sure
I can and have asked hime to make modifications. He's fine with it as long as they aren't major, and he doesn't have to spend much time with it.
Drywall is easier to patch. No holes on plaster and lath is much more reasonable.
Ask if you can use command strips.
Google has the answer 😉
to every question...
Well, sometimes it has more questions
Google asks questions now?? I thought that was just my Alexa when it wants to be nosey.
For the record: Alexa has been unplugged for the last year for that very reason...
if I have a separate raspberry pi with a zigbee device, what is the recommended way of connecting that to HA over the local network ?
Good god man.. that is considered a crime in some circles.
I mean, is it a wonder why your dad doesn’t want you doing any modifications of any type ever? He’s seen your work.
I am currently in the process of getting all of this cleaned up but it's a slow process.
Hello All, forgive me if this is in the incorrect area, it's to do with zigbee2mqtt and default entities exposed to home assistant
voltage: {
device_class: 'voltage',
enabled_by_default: false,
entity_category: 'diagnostic',
state_class: 'measurement',
}
how can I update zigbee2mqtt to automatically expose the above entity i.e. override the default as above?
I've several power monitoring devices and I'd like the voltage & current automatically exposed, I know I can go into home assistant and enable them but this crashes the system for some reason
Pristine
I think I'm about ready to give up on the E1744 symfonisk remotes. There's no amount of debouncing and processing in nodered that can get them to work reliably without being unbearably laggy if you look at them wrong.
so zigbee2mqtt doesn't start ... bujt it also produces no logs... it appears to start - like the web ui shows some cpu % then .. it doesnt update anymore... i reload and its not running... i see no logs in the log dir at all.. how can i figure out why?
You could check the addon/docker logs
wierd.. log didnt appear in files but eventually ui shows invalid config
because i enbled retention
then disabled .. needed version 5 of protocol
but it wouldnt write any log..
by luck that showed up after a while
i gave up... once i hit about 110-120 devices on my zigbee network it falls part. conbee stick died at about 70-80. sonoff dies at about 110-120. it certainly gets drastically more laggy as i get closet to 100. zigbee just doesn't scale (on one coordinator) even though like 80-90% of my devices are routers...
time to emply my 2nd ha + zigbee stick to try survive
90% routers may be a problem. If you still have the Sonoff stick (and assuming it's the v2), try enabling source routing with ZHA.
it's the plus - so dongle-p. and i'm using z2m - zha is pretty useless unfortunately
zha if i try and pair like 10 ikea bulbs at once will fail to properly interview 50% of them
(so missing properties like color temp etc. on some - some missing brightness and so on)
Anyone has any experience with Tuya presence detector (mmWave) placed outside? Im just testing mine, and while it works fairly ok indoor, then it goes completely crazy outdoors
Hi, I am looking to finally make the switch today from ZHA to Z2M (ZHA has been fine, but so many people talk positively on Z2M I feel I should try it).
I am running HASS inside of Docker and looking at these steps: https://www.zigbee2mqtt.io/guide/installation/02_docker.html
My question - do I need to install this and also another MQTT server such as Mosquitto? Or is installing what I have linked here all I should need?
that link is just for Z2M, you need an actual MQTT broker
so, yes, you need an MQTT broker such as Mosquitto
ok perfect thanks
IS that recommended (It's the one I know by name most) or should I look at others?
it's fine, no need to look further
🙂
hello! I’m trying to get Ikea blinds working with HA. It worked, then I tried to sync my blind with the remote, and now it’s in some kind of funky state. Attempting to sync the blind with HA won’t work now; it seems to not be able to find the blind at all. I have another Ikea blind working with HA just fine, so I am wondering if I need to do something to make HA forget this device or something like that. Any thoughts?
I assume you have attempted to reset both? I’ve given up with binding lights (etc) to controls and just use automations…
if by reset you mean “hold both buttons on the blinds for 10s”, then yes
I’m not sure how to do the equivalent on the HA side
in retrospect, it seems that people are using the Ikea buttons as devices to run automations, which seems round about but I can get on board with. Unfortunately I can’t get the blind connected to HA anymore lol
Make sure that you have pairing enabled on the HA side.
very odd... z2m has 8 devices... but ha's mqtt integration says 1 device only....
oooh
sec
there. 11 devices
@naive summit how do you mean? I went to “Add Zigbee Device” and it searches forever
ha .. now remote homeassistant works.. for whatevr reason z2m on 2nd ha instant couldnt public to its mosquitto...
You should be good then, generally sometimes that times out and the coordinator stops accepting new devices.
hmmm ok -i see the update enetites but not light. ... is this intended with remote ha?
I’d try two things:
-
Take the batteries out of the remote, so that the blinds won’t pair with it first.
-
Pair the USB extender first, then pair the blinds.
hmm ok. I haven’t even attempted pairing the extender
The extender seems to help a lot.
ok
poke extender with a paperclip for 10s?
seems so. it’s pairing the extender now
oh wow, now it can find the blind. what the crap
hmmm ok i see the update enetites but
so I even tried to take the blind to where HA is to see if it was a range issue, that didn’t help. Getting the extender connected to HA seems to have done it
IKEA blinds are weird. 🤷♂️
I don’t think they’re fully standards compliant, but I think the extenders are.
That’s my guess.
ahhhh a reasonable guess
it has the ZigBee sticker on the box, but it doesn’t say which device is compliant, maybe just the extender haha
Zigbee compliance in general is actually quite poor.
I think the HA 3.0 compliance sticker means something, but there’s a reason they’re starting over with Thread and Matter.
there needs to be one unified standard. comes out with new standard
now there are n+1 standards 😄
ok... let's assume i messed up zigbee2mqtt <-> ha integration. z2m itself can see all my zigbee devices.... home assistant now finds all the entities disabled or something...
how can i just get them glued back together again cleanly?
My understanding, and I’m not an expert here, is that zigbee was designed for developers first, it was never designed to provide a consistent application level for cross manufacturer support.
They’ve tried to add that after the fact, but everything is kind of a mess because you have decades worth of “we built our own non-complaint system on top of the previous spec” devices around. Thread and Matter seemed designed with cross manufacturer support in mind from the jump, so it might work out better. Or not. Time will tell.
yeah I’m with ya
interesting history re: zigbee
hopefully more iterations will make it better. Does get annoying to have so many competing standards though
-
Make sure that Z2M is accessing MQTT okay.
-
The issue is almost certainly in the MQTT discovery settings.
I think reconfiguring a device in Z2M will publish a discovery message?
i get no error logs in z2m (rep for error doesnt show anything involving mqtt)
so i assume then #1 is fine
Definitely start with a MQTT explorer.
Take a look and make sure you see messages there.
Make sure that HA and Z2M agree on the same MQTT prefix.
reconfiguring did nothing
so my example is one of my lights (entity) is restored - the red ! with a circle around it with an arrow in the circle
Are you sure HA can access MQTT?
i don't know actually
The add on auto security thing never worked for me. I manually configured a password.
i was messing with auth and user/password trying to bridge mqtt's ...
(failing it seemed)
That’s probably your issue.
The actual interface between the two is fairly solid if they have access to the same broker. If they don’t ….
but i set up mosquitto addon with a basic mqtt/mqtt user/passwd
Check the HA logs
mosquitto?
Restarting HA might be wise, some of these integrations log at the beginning and then give up.
HA.
Well, how many brokers do you have?
ha core?
ha! well i wou;ld like my main ha instance to just glue in all the devices z2m publishes on my 2nd ha instance
(2 physical machines - 2 pi4's)
ok. oi have too many zigbee devices for 1 coordinator. i have to split
… that seems unlikely.
every time i get to about 110-120 devices everything falls apart.
What coordinator do you have?
the network is getting quite sluggish... and devices vanish offline never to come back.
right noe sonoff dongle p
err now
90% of my devices are routers.
(bulbs). essentially a whole hows with every downlight is a smart bulb as well as smart themrostats, other smrt dimmers for lamps and so on.
200 seems low for “network overloaded”
And multiple networks is notorious for causing issues.
Can’t speak to the sonoff, but you should absolutely be able to handle 200 devices.
I thought the whole idea was more devices the merrier; makes better mesh coverage
i hit this problem with the conbee stick and it died at about 70-80 devices. i moved to the sonoff and got fruther, now it is kicking the bucket at about 115 or so. i got up to 125 and everything fell apart and i spent an entire day twice now in the past few days fixing it up again only for the same thing to happen again
I believe you can have too many routers, actually.
well empirically - i'm seeing the same problem repeat every time i try and get my whole home set up. i get to a room where i start adding devices and i'm at about 110-115 then, i get to 120 or so and i then see evices go offline. i see the coordinator get 600ms timeouts and fall over. i see z2m needing to be restarted multiple times.
@molten linden seems to be the zigbee SME here, maybe they can chime in when they’re online.
i suspect i just have too many routers - they are like 70% those ikea tradfri gu10's
I’m running a CC2650R with 113 devices no issue.
i read that they suck at routing and lose routes. it seems the network collapses at some critical mass as a result
Aside from some Xiaomi devices which are just not good.
There's a known issue with the (Ikea) firmware in them that causes them to stop routing ISTR
that's what i'm seeing - it seems to kick in at some critical mass.
I only no anecdotally of folks using near 200 devices. without issues.
so i'm basically having to work around this. split into 2 zb nets on different channels - like one on 25 one on 11.
Can you tell some devices to just pretend to be an end device?
no
so i got a 2nd pi4 with another sonoff stick and am trying to glue them together again so i have the master ha instance essentially remote control the 2nd ha instance so i can merge it all into the same lovelace - or that's the plan
the ikdea devices have no settings to tell them not to route
i'd be happy enouhg if they all acted as end devices. i have plenty of others to route with.
anyway - i was trying remote_homeassistant integration from hacs to try this with
I think that’s probably going about it wrong.