#zigbee-archived
1 messages · Page 44 of 1
Ok... so you don't have a connection
Now you now the problem - fix your broker
Can I use that one?
No
#add-ons-archived can help you getting your Mosquitto broker add-on working, but again start by checking the logs for that add-on
@austere patio happened a couple times today. I don't have any debug log however, this time it threw an error log just before this
Not much I can do without a debug log I'm afraid
It's a communication error of some kind. What is your stick plugged into?
HA OS?
Yes
Is there an easier way to set regions with the Aqara FP1 than the Z2M interface? It's kinda tedious
Isn't it just sending an MQTT event? Surely you could just replicate that event
But I don't see anything in mqtt-explorer
Parse through the code I guess
{
"level": "info",
"message": "zigbee-herdsman-converters:xiaomi:aqara_fp1:region_upsert: create region 1 01:01:11:11:00:00:ff"
}
Just found this
Though it's just from logs and it doesn't seem to have enough information
Like which device it's directed at
That's a good idea. I'm wondering if this is actually setting something inside Z2M and not the device so maybe it isn't sending a message? I don't think that would be the case though...
Over my head man
Received MQTT message on 'zigbee2mqtt/Living room occupancy/set' with data '{"region_upsert":{"region_id":1,"zones":[{"x":1,"y":1},{"x":1,"y":2},{"x":1,"y":3},{"x":1,"y":4},{"x":2,"y":1},{"x":2,"y":2},{"x":2,"y":3}]}}'
Although why wouldn't that show up in mqtt-explorer
Also it's saying it received a message. If it was sending it to the device wouldn't it say it was sending?
I've been having nothing but problems since I installed a bunch of Inovelli Blue switches. So I setup a separate z2m instance to test on a different zigbee channel (20), and I can re-pair all my Hue lights no problem: But the Inovelli one's refuse to complete the interview process. I know there was a recall due to antenna issues on them, but my unit isn't covered by the recall. Has anyone experienced these issues?
I'm on the stable branch of z2m
I'd message their support. I had 16/20 Inovelli Blue in the bad first batch but after installing replacements it's been pretty solid. I ended up ordering more. Ironically the only things that started to cause problems were Philips Hue light strips, both indoor and outdoor, as they weren't native to z2m and I had to keep the hue hub for it.
Unrelated to that. Anyone use these Sonoff zigbee switch things (https://www.amazon.com/dp/B08R79686G) and have experience with them in metal gang boxes? Signal issues? Works ok?
I have 3 semi-permanent extension cords that I need to run in my garage. Here in Chicago everything is metal gang boxes and conduit. I can either mount 3x outlets wired to these little relays inside the metal gang box, thus switching the outlets and the regular extension cords plugged in to them, OR I could make a 3x outlet box that's hardwired like normal, but modify 3x extension cords with these little relays inline... somehow
Their site specifically says not to use them in metal boxes.
yeah that's what I figured
the inovelli blue work ok in my metal switch boxes thankfully
I found this random picture, I think I need to make something like this just longer (I need 2x outlets on the end of the cord) https://external-preview.redd.it/MvTSUbxs6_p4U54WBUpxU4MsFN_SRSoRSV4LGpU79cU.jpg?auto=webp&v=enabled&s=377da9093d1a7950a291fb37e55b1d3df7499c1d
having some network issues with devices dropping off. trying differing variables to see what I can do to fix it. am i able to change the dB output on my cc2652 without having to readd all devices in z2M?
There's no point in making the stick louder, it doesn't help it hear other devices
i'm having some issues with some of the switches falling off
was actually thinking of decreasing hte output
Then sure, you won't have to re-pair
You have put the stick on a USB extension cable?
Picked a channel with minimal WiFi interference?
i'm concerned that some of my devices are trying to connect direct to coordinator when it would be best to connect to other devices. i'm on poe centrally located on a channel that has minimal interference with wifi and all wifi 2.5ghz have been put on a single channel
At least in my case I don't think its' an issue with interference, something is up with these Inovelli switches. I've now re-added the Hue's like 15 times (trying different zigbee channels) with zero issues.
@unborn orbit 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).
i have two separate networks both with inovelli devices. one network works perfect, the other larger network with 115 devices is the problem child. devices will stay connected but then fall off after a day or two. air gap reconnects without issue
You can use the option to pair via a given router
That's even recommended for Xiaomi's Zigbee 1.2 range
You can re-pair devices without removing them, to force them to connect to a chosen router
So I am experiencing the same issue, except I have 175 devices. This AM I created a separate zigbee network, on z2m (i've been using ZHA before) and immediately my Hue lights re-paired on the new network, but none of the Inovelli's will add at all!
just put the device into pairing mode and go at it with choosing the router?
before I added the Inovellis' my network was stable as hell
i'm surprised. I've never had an issue with inclusion just with some falling off. this was both before and after firmware 2.14
do you have anything on network besides hue and inovelli?
on this new network?
no
I have just added 6 lights and one switch (or attempted to add one switch) to test.
hmm
my problem was around 46 devices and when I added some older hue light strips everything went to hell so I put those bag on the hue hub for now
I've got 10 more inovellis now, so once installed I will have 30 and see if that impacts anything
i've got 31 inovelli on the larger ntework and 16 on the other
I think I had too many things connecting to the coordinator rather than linking through other devices
I'm kinda scared because I'm about to move my coordinator to the other side of the house. I know you're supposed to link with everything in final position but I couldn't. Hopefully I won't have to repair everything.
Well... any end device that's connected to the coordinator may not reconnect
Anything Zigbee 3.0 should be fine, and router devices should be fine, eventually
I'll find out soon 🙂
Once it's moved, go around operating every router device and waking every end device and you'll find out
just paired the devices that fell off to other locations, i'll keep my fingers crossed. Thanks Tinkerer
Is there somewhere I can look to see if a device is using 1.2 or 3? Also do 1.2 devices make your network less secure at all
Z2M tells you, sort of, and no they don't
zclVersion seems to be 1 for Zigbee 1.2 devices, and 2 or 3 for Zigbee 3.0
Unless you used install codes, your network is no more secure with 3.0 than with 1.2
interesting, i didnt even know this was a thing. is this supported in z2m? looks like it was never added in zha
It's supported by both but nobody uses them
Do these add overhead with security packets or something?
No, nobody wants to scan QR codes when joining devices. APS encryption is also not fully supported by all devices so it's not possible to globally enable.
Do devices have to be on the same ‘security level’ to route / receive traffic?
APS encryption is between two devices but the packets will be relayed just the same by intermediate devices. There's little benefit to be honest: if your threat model includes someone who is able to sniff your network key, you're in trouble.
The implementation of link keys is also flawed for Texas Instruments, as it takes just one leaked link key to compromise all other link keys. Zigbee security isn't all that great to begin with so there's not much one can do. Matter is much better in this regard.
But ultimately zigbee devices aren’t matter devices but rather possibly support thread in the future so that isn’t really helpful for our zigbee devices right?
Some may get OTA updates to switch them over to Thread for Matter but I doubt many will, most manufacturers will likely just expose them via a bridge
I setup a CC2652P, Raspbee II, and EFR32MG21 all on Z2M. None of them would pair with these INovelli blue switches. Bizzare.
interesting to note that some of my lights support transitions from on to off and on to on, but not off to on. is this just...a limitation of some lights? any remedy for this?
pfak, one thought.. have you updated firmware of the zigbee dongle itself? I have the Sonoff P which is TI CC2652P + CP2102N and to make it work correctly with inovelli blue I had to update it.
Yes. I've tried:
CC1352P2_CC2652P_launchpad_coordinator_20220219.hex CC1352P2_CC2652P_launchpad_coordinator_20221226.hex
CC1352P2_CC2652P_launchpad_coordinator_20221102.hex CC1352P2_CC2652P_launchpad_coordinator_20230410.hex
And the latest 6.13 for Embernet
and the latest Raspbee II firmware
@drowsy goblet The worst part is if I can get one to add to this system, its super responsive
and the LQI is >100
honestly LQI has been meaningless for my network
literally the most reliable and fastest responding switches are like, 12 LQI, it's stupid
I wish LQI meant something for me though to help see where problems may be
Yeah ..
@fair mountain I converted your message into a file since it's above 15 lines :+1:
what am I doing wrong?
force is set to true, yet it still says no update is available when i check for one
But debug still shows:
zigbee2mqtt-3 | Zigbee2MQTT:debug 2023-04-23 02:31:21: Got OTA request '{"fieldControl":0,"manufacturerCode":4655,"imageType":257,"fileVersion":16908814}'
zigbee2mqtt-3 | Zigbee2MQTT:debug 2023-04-23 02:31:21: Is new image available for '0xe0798dfffec7d1cc', current '{"fieldControl":0,"manufacturerCode":4655,"imageType":257,"fileVersion":16908814}', latest meta '{"fileVersion":16908814,"url":"https://files.inovelli.com/firmware/VZM31-SN/Beta/2.14/VZM31-SN_2.14.ota"}'
OTA index override only work for ota.zigbeeOTA #12554
guess i can try removing ./node_modules/zigbee-herdsman-converters/lib/ota/inovelli.js
that did not work
guess i can try removing inovelli from ota/index.js
mappign inovelli to zigbeeOTA worked, but now I get invalid image
in the end it didn't work, now temporarily to ZHA
So... didn't look at the log?
Hi all,
Is there a way to disable multiprotocol on my Sky Connect? I did this once before and I believe it was possible without having to use a flashing tool, but I can't remember how I did it. Can you point me in the right direction?
I think I've found the way: https://skyconnect.home-assistant.io/procedures/disable-multiprotocol/
@austere patio Is there a way to force downgrading the Inovelli switches? Do I need to edit the firmware?
I haven't tried them specifically but you can either edit the firmware or edit the package that only performs OTA upgrades. Why do you want to downgrade?
I edited zigbee-herdsman-converters/lib/ota/index.js to point at zigbeeOTA for inovelli, and created a custom index with force: true set pointing at the old firmware image. When I try to upgrade I get invalid image from the device.
I want to downgrade to 2.08 to see if 2.14 is the cause of my inclusion issues.
Then the device likely validates firmwares and only allows upgrades
It is downright impossible to add an Inovelli switch even on my test network(s) (CC2562P, Raspbee II and a EMG)
I did not have these problems when I bought the switches which were shipped with 2.08.
Okay. That is what I figured.
You can probably downgrade by editing the firmware version within the file
Just using a hex editor?
I am surprised they aren't signed
I have some still in the box, I may just build a little test rig and leave it on 2.08 and see if it joins. I'm ripping my hair out here.
I haven't checked the structure of Inovelli's OTA files so they could be, but I've yet to see any that are
What would you use binwalk?
No, you would parse the image: https://github.com/zigpy/zigpy/blob/b35d187f7f209ea9d6afa590dc2ef7aee7e345d8/zigpy/ota/image.py#L221
You know what? Probably not worth either of our tim to investigate. I have a spare junction box somewhere and I'll cut the end off of a power cable and see if 2.08 joins properly.
Is there anything I can look into specifically to see why inclusion is failing? I setup a test network with 6 Hue lights, 2 battery powred devices and I try to add the Inovelli and it just doesnt show up like 95% of the time.
Sometimes it will start the interview and then fail
This is with either z2m or ZHA, across all my Inovelli switches since 2.14 (I have ~24)
With 3 different kinds of coordinators. The USB onse on USB2.0 extensions that are shielded and at least 6 feet.
Once they join their LQI is high, which I mean si not a particularly good indicator .. but ..
Hi, I'm migrating to SkyConnect from Sonoff ZHA - is the "data flow control" option during setup buggy? It defaults to an entry without a label, one would assume default selection is the one to adopt, but I have no idea what I'm looking at. Any idea/hint?
Use a sniffer
So it's not a firmware issue. 2.08 has the same issue, z2m can't even find quirks for the device.
How does that work when the device doesn't know what channel it's on prior to starting the interview?
You'll see its beacon request frames
Assocation Request or beacon?
Well both, the beacon frames indicate that it's asking surrounding routers to send out a beacon, and then it picks a router to join via with an association request
okay I see the beacon frame, and then the association request. z2m then tries to interview it and fails
i see the coordinator sending APS command
and then I see it doing a link status and such but no response
hrm how in wireshark do I get it to show the extended address of the source
oh. apply as column
so much iControl and iTron traffic
@austere patio
https://paste.pfak.org/jrfzmI
So it does an association request, the coordinator tries to get data from it.. and it never responds again
Wireshark filter:
(wpan.src_pan == 0x2052)||(wpan.dst_pan == 0x2052)
So this makes me think there is either something wrong with the device handler, or there's something incredibly wrong with these switches.
hello i'm having trouble pairing a lidl rgb light. Can anyone help? The coordinator seems to be communicating with the light but I don't understand why the pairing fails by looking at the logs
Hi, I am trying to use Niko wireless switches. I paired them with zigbee2mqtt but the device does not expose anything. Is there a way to get something for the buttons. I also use wired switches for which I have switches in HA. THANKS.
pfak, do ALL your switches do that or just some?
and you said once they connect they work? they just dont connect?
how many devices do you have on the coordinator? maybe everything is trying to pair to it and there are too many devices directly connecting
They all do that.
Once they connect they work fine.
~180 on my main coordinator.
But this is a test network with 1 device.
heck, I just setup a fresh install of HA on an rpi, a brand new coordinator out of the box.. same behaviour
not 180 on a single coordinator, the majority must be connected as a mesh
I think I read there were limits ~15 or something that can directly connect to a coordinator
yes, for the test network with 1 device
I have 4 test networks setup
maybe interference? either from usb 3 or from other 2.4g stuff?
but all my other devices work just fine?
If that is the case, there is something seriously wrong with Inovelli's implementation of zigbee
my Sengled power plugs, my >120 Hue bulbs, smart locks, aqara devices, hue sensors all work fine
My test networks:
1 CC2625P on Channel 25 (20221226 stable)
1 Raspbee II on Channel (latest firmware)
1 EMB21 (?) on Channel 20 (20221226 stable)
1 CC2625P on whatever ZHA defaults to, and the firmware SONOFF ships
same behaviour with Inovelli, either they fail to respond to the beacon acknowledgement or they join and fail the interview
If I try like 30 times I can get ti to add
While ive been testing I've moved Hue lights around to the various networks all day .. zero issues
and added some test aqara sensors
I just added an Aqara motion sensor, SONOFF motion sensor and Hue dimmer in about twenty seconds.
zigbee2mqtt-1 | 2023-04-24T00:10:35.773Z zigbee-herdsman:controller:device:log Interview - quirks check for 'undefined'-'undefined'-'Unknown'
zigbee2mqtt-1 | 2023-04-24T00:10:35.774Z zigbee-herdsman:controller:device:log Interview - quirks did not match
zigbee2mqtt-1 | 2023-04-24T00:10:35.774Z zigbee-herdsman:controller:device:log Interview - node descriptor request failed for '0x6c5cb1fffe5e8b37', attempt 6
zigbee2mqtt-1 | 2023-04-24T00:10:35.775Z zigbee-herdsman:controller:device:log Interview - quirks check for 'undefined'-'undefined'-'Unknown'
zigbee2mqtt-1 | 2023-04-24T00:10:35.776Z zigbee-herdsman:controller:device:log Interview - quirks did not match
zigbee2mqtt-1 | 2023-04-24T00:10:36.172Z zigbee-herdsman:controller:device:log Interview - failed for device '0x6c5cb1fffe5e8b37' with error 'Error: Interview failed because can not get node descriptor ('0x6c5cb1fffe5e8b37')
i seem to have purchased a temperamental xiaomi device
whats the best way i can try to force it to connect through by most reliable router
also if anyone has any other tips on how to fix connection issues
i bought 2 in a pair and the other one works perfectly
Hello, Someone have already communicate between an esp32 and a ZigBee Cordinator CC2530 ? I don't found any C library or projet about it
Does your ESP have a Zigbee radio?
No sorry, I would like to connect my ESP to the CC2530 to receive data from external sensor and use it on my ESP
Ah... so if you look at https://www.zigbee2mqtt.io/supported-devices/ you'll find some DIY devices that may help you there
I already look at this site but I found nothing about ESP C Code to communicate with CC2530
I will check again thanks
I would like to just send Hexa Command in my ESP to the CC2530 coordinator and get a response like Z-Tool
You'll have to go from the device pages to the relevant git repos
The device ?
I don't understrand the link between the cc2530 and end device (like sensor)
Well.... your CC2530 will need to act like a coordinator
So, you'll need coordinator firmware on that chip
Then you'll need to write your own Zigbee stack handler for the ESP
Shouldn't take long 😛
Yeah I already have a coordinator program on my card, I can already send and receive data in Z-Tool
Your other option is https://tasmota.github.io/docs/Zigbee
I can't use custom esp firmware for my project :/
The problem is the esp->coordinator link
Ah... school/college/university project then
Yeah exactly
I can't send screen of Z-tool, don't have permission
Why AT Command don't work ;-;
You may have more luck in #diy-archived
Ok thanks
This is not a home assistant question as much as it is a zigbee topology question: can any zigbee pro corroborate the following : "Avoid adding Zigbee lightbulbs to your hub in combination with other Zigbee devices, since the lightbulbs will try to act as routers, but unfortunately they only perform this role properly with other lightbulbs. " source : https://docs2.hubitat.com/how-to/build-a-solid-zigbee-mesh
That's.... not entirely accurate
please elaborate
Some bulbs (Osram) are shit routers, and some aren't routers at all (Sengled), but others are just fine
There's plenty of people here who's mesh backbone is bulbs
thanks... you'd think that hubitat would verify their claims before putting them in writing.
Well, they may have written that based off of some bad devices 
Besides, inaccurate information is the norm 😛
it's hilariously bad. thanks again.
I am on Sonof ZHA and IKEA signal repeater keeps loosing the network are it's routing capabilities, naturally. Is there a way to stabilise it, upgrade FW somehow. It's making the NW unstable, forcing the device to connect to the router
okay this is bonkers
The inovelli blue switches ive been having problems pairing with CC2625P and Raspbee II
this AM i tried with an embernet controller.. and it just worked
ah but it only worked once
removed it, tried to re-pair it.. no go
Device starts the interview process, blue LED still blinking but then exits pairing mode before the interview completes.
Been too busy to look at this seriously but I'm really curious what issue you are encountering and hoping we can help fix it
might have more time today
how have you been resetting your switches? pull power or air gap tab thing?
or the button hold
button hold + power cycle
I got it to pair 3 times now with this embernet on 2.08
just OTAing it now to 2.14
hmm, interesting
lol these switches have been garbage
I have had to RMA two already for stripped lugs from factory
and now I wake up this morning and my 4 Hue bulbs in my bathroom are buzzing
Are the hue bulbs in the bathroom on a multi-way setup with a non-inovelli switch?
nope
I had a similar issue where the other switch was causing big problems
also my whole house is inovelli switches now (which is turning out to be a mistake)
well, like 4 leviton left
but no, the bathroom is not a multi way.
hey i've switched from a conbee 2 to a sonoff -p, as my previous stick didn't support a function i needed
i run HA and z2m in docker compose
when i switched to the new stick it repeatedly shows this
Using '/app/data' as data directory
Zigbee2MQTT:info 2023-04-24 15:00:43: Logging to console and directory: '/app/data/log/2023-04-24.15-00-43' filename: log.txt
Zigbee2MQTT:info 2023-04-24 15:00:43: Starting Zigbee2MQTT version 1.30.3 (commit #24c6b2e)
Zigbee2MQTT:info 2023-04-24 15:00:43: Starting zigbee-herdsman (0.14.103)
Zigbee2MQTT:error 2023-04-24 15:00:53: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2023-04-24 15:00:53: Failed to start zigbee
Zigbee2MQTT:error 2023-04-24 15:00:53: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2023-04-24 15:00:53: Exiting...
Zigbee2MQTT:error 2023-04-24 15:00:53: undefined```
switching back to the old one, it works
I had a Hue light fixture buzzing a LOT when I swapped one of the 3-way switches to Inovelli, due to the fact that the other switch had a tiny LED in it that you couldn't even see, but it really messed with the power
more details
luke, did you update the firmware of the sonoff P dongle?
I had a very similar error when I first got mine but updating the firmware solved it all
I have 2 bathrooms with identical fixtures, identical lights .. both Inovelli switches. Heck, they even have identical wiring (I wired them.)
What does your Z2M configuration look like?
and the previous zigbee switches (leviton did not have buzzing.)
i was actually trying to do that but got completely stuck, i spinned up a windows 10 vm and the gui wasn't working as expected
the inovelli are more sensitive than "regular" smart switches for sure
flash it with cc2538-bsl
./cc2538-bsl.py -ewv -p /dev/serial/by-id/... --bootloader-sonoff-usb CC1352P2_CC2652P_launchpad_coordinator_20211217.hex
for example.
I have a Zigbee Multi Socket and I have the problem that ZHA identifies the sockets as lights. That si odd. How can I change that?
device_type. read ZHA docs:
https://www.home-assistant.io/integrations/zha/#modifying-the-device-type
Can you enable debug logging? https://www.zigbee2mqtt.io/guide/usage/debug.html
i just read that as garbage.. sigh
So the paired switch has an LQI of ~200, so I don't think it's a signal issue.
I was reading the decisions they made regarding TRIAC vs. MOSFET vs. whatever they ended up using, and it seems like they went for the lower cost option and/or having multi SKUs, and sometimes "one size fits all" approach does not work.
I don't know which switch was doing bad things, if it was the inovelli being too sensitive or if the other switch I had was causing electrical interference. In my case I suspect it was the other switch since the led would flicker even before any inovelli switches, but that may not always be the case.
whelp, didn't realise i accidedntally deleted that, gimme a sec
xD
yeah for sure, but in my case im just passing power to load, and directly to the fixture in smart bulb mode. there is no dimming going on, no three way ...
So far the only thing I don't like about the Inovellis myself is the wire terminals. It's nearly impossible to wrap solid wire around the screw, you really have to use the backstabs, and while they are nice backstabs it makes the wires sit deeper in the box than I'd prefer especially since the switches themselves are so deep.
If they had slightly more clearance I could just wrap the wire around the screw and do it like a normal outlet.
hehe
but otherwise they've been great for me.
I prefer side screw terminals, but I actually was like "wow these backstabs are nice"
I gave up on the side screw terminals after 2-3 switches, it was just way too hard to get the wires in there
I have a lot of boxes where I had to use both terminals to reduce wire fill
box fill*
One box in my house has 7 cables which is like CEC max box fill lol on a 58cu in box
3 gang
What isn't so nice is the lack of reliable grounding via the screw on the plate.
This was a "fuck it, it's plastic, if they are actually cUL certified like it's stamped I can avoid using the grounding terminal."
getting ground from the screws connecting to the box itself?
yeah I hope that works too lol
(CEC /local code = grounding is acceptable via the grounding strap and/or metallic box.)
here in Chicago everything is metal boxes, conduit, ground is from the connection itself no ground wires anywhere
heh
here in Vancouver everything is metal boxes OR bonded plastic boxes.
so idk why they did what htey did, i checked with a multimeter and I have continuity between the screws on the device itself (the 4 small ones) and the box so ...
That sounds fantastic
honestly I love it, but everyone else in the country thinks it's crazy
I am going to PM you since this is totally outside the scope of this channel 😉
true haha
so what I notice with the Inovelli pairing process is z2m or ZHA will just not get a response back when it queries the endpoints
permit_join: true
mqtt:
base_topic: zigbee2mqtt
server: mqtt://172.18.0.5
serial:
port: /dev/ttyACM0
frontend:
port: 8080
host: 0.0.0.0```
and yeah still doesn't work
Did that MQTT server line work before?
Typically I expect to see a port there
you dont need a port #, and that isnt the issue hes experiencing
You may also want to up the log level to info
yeah it did, sorry, forgot to disable ping
Then I'd up the log level and see if you get more information on the problem
now this is the output i recieve
Using '/app/data' as data directory
Zigbee2MQTT:debug 2023-04-24 16:48:05: Loaded state from file /app/data/state.json
Zigbee2MQTT:info 2023-04-24 16:48:05: Logging to console and directory: '/app/data/log/2023-04-24.16-48-05' filename: log.txt
Zigbee2MQTT:debug 2023-04-24 16:48:05: Removing old log directory '/app/data/log/2023-04-24.16-46-09'
Zigbee2MQTT:info 2023-04-24 16:48:05: Starting Zigbee2MQTT version 1.30.3 (commit #24c6b2e)
Zigbee2MQTT:info 2023-04-24 16:48:05: Starting zigbee-herdsman (0.14.103)
Zigbee2MQTT:debug 2023-04-24 16:48:05: Using zigbee-herdsman with settings: '{"adapter":{"concurrent":null,"delay":null,"disableLED":false},"backupPath":"/app/data/coordinator_backup.json","databaseBackupPath":"/app/data/database.db.backup","databasePath":"/app/data/database.db","network":{"channelList":[11],"extendedPanID":[221,221,221,221,221,221,221,221],"networkKey":"HIDDEN","panID":6754},"serialPort":{"path":"/dev/ttyACM0"}}'```
@mighty river I converted your message into a file since it's above 15 lines :+1:
yup
Not connected to MQTT server
TheCannot read properties of undefined (reading 'end')is because it tries to dothis.client.end();butclientisn't valid since it couldn't connect and it's missing a check: https://github.com/Koenkk/zigbee2mqtt/blob/e1ecbd97d0386ca36527b229aceeeff2d671fde3/lib/mqtt.ts#L129
Are you sure the MQTT data is correct?
wow i can't believe i never thought of checking the mosquitto logs, i just assumed it worked
No log line matching the '' filter
the only line, but it's marked as running
1682347141: mosquitto version 2.0.15 terminating
1682347141: Saving in-memory database to /mosquitto/data//mosquitto.db.
1682347255: mosquitto version 2.0.15 starting
1682347255: Config loaded from /mosquitto/config/mosquitto.conf.
1682347255: Opening ipv4 listen socket on port 1883.
1682347255: Opening ipv6 listen socket on port 1883.
1682347255: mosquitto version 2.0.15 running```
that's what i would expect
1682101690: New client connected from 172.18.0.1:36656 as 3quUGQ9mkIqmE007Dji02a (p2, c1, k60).
1682101828: Client 3quUGQ9mkIqmE007Dji02a closed its connection.
1682102061: New connection from 172.18.0.1:58600 on port 1883.
1682102061: New client connected from 172.18.0.1:58600 as 3bMcBvtMt0cPylCZXQ578m (p2, c1, k60).
1682102219: Client 3bMcBvtMt0cPylCZXQ578m closed its connection.
1682102227: New connection from 172.18.0.1:34020 on port 1883.
1682102227: New client connected from 172.18.0.1:34020 as 5HQ64HOTyvKFxSaZ1lJijd (p2, c1, k60).
1682102329: Saving in-memory database to /mosquitto/data//mosquitto.db.
1682103862: Client 5HQ64HOTyvKFxSaZ1lJijd closed its connection.
1682103930: New connection from 172.18.0.1:33150 on port 1883.
1682103930: New client connected from 172.18.0.1:33150 as 0HDdlZq8balvSc5Aqm0mKl (p2, c1, k60).```
it tries to connect
Zigbee2MQTT:error 2023-04-24 16:47:52: Not connected to MQTT server!
Try the settings in MQTT Explorer or your choice of MQTT client
i'm not quite sure what you mean
Use http://mqtt-explorer.com/ and try to connect to the server address you've set in your configuration.yaml
What does your mosquitto.conf look like?
persistence_location /mosquitto/data/
log_dest file /mosquitto/log/mosquitto.log
listener 1883
## Authentication ##
allow_anonymous true```
Ok, so it should allow unauthenticated access
well i can't exactly display an appimage gui, as it's on a headless server
oops sorry for the ping
x11 forwarding 🙂
Does anyone have any recommendations on the best RGB + CCT LED controller? Looks like the GLEDOPTO controllers are the most popular, but I've not found much in the way of definitive feedback on specific models.
I personally don't care much about being pinged but the idea was that you do this on your own computer, not the server. You can also use the mosquitto_* cli tools or something
oh cool, thanks. i didn't know this was a thing
i get this when i log in
info = {"commit":"24c6b2e","config":{"advanced":{"adapter_concurrent":null,"adapter_delay":null,"availability_blacklist":[],"availability_blocklist":[],"availability_passlist":[],"availability_whitelist":[],"cache_state":true,"cache_state_persistent":true,"cache_state_send_on_startup":true,"channel":11,"elapsed":false,"ext_pan_id":[221,221,221,221,221,221,221,221],"last_seen":"disable","legacy_api":true,…
devices = [{"definition":null,"disabled":false,"endpoints":{"1":{"bindings":[],"clusters":{"input":["genBasic","genTime","genOta"],"output":["genPowerCfg","genPollCtrl","ssIasZone"]},"configured_reportings":[],"scenes":[]},"242":{"bindings":[],"clusters":{"input":[],"output":["greenPower"]},"configured_reportings":[],"scenes":[]}},"friendly_name":"Coordinator","ieee_address":"0x00212effff097d0a","interview_…
groups = []
extensions = []
config = {"commit":"24c6b2e","coordinator":{"meta":{"maintrel":0,"majorrel":38,"minorrel":114,"product":0,"revision":"0x26720700","transportrev":0},"type":"ConBee2/RaspBee2"},"log_level":"info","network":{"channel":11,"extendedPanID":"0xdddddddddddddddd","panID":6754},"permit_join":true,"version":"1.30.3"}```
apparently it's offline
yeah, i didn't see the point in complicating it for myself when it wouldn't be accessible from outside my network
Eh, adding authentication takes 3 seconds and there's no reason not to IMO
true, but i'm lazy :P
i'll probably add it later
i have no idea what to do with the information i got from this tool
and it still reports the wrong device in "config"
lol now the inovelli switches refuse to bind to groups. sigh.
but if I find the group to the switch, it works
~_~
That's because it has never connected to update it
i flashed the coordinator firmware on there, no dice
that's the one i used
CC1352P2_CC2652P_launchpad_coordinator_20221226.hex
i also noticed i have to re-launch mqtt and z2m when i boot
Can someone recommend affordable temperature/humidity sensors? The Aqara ones are $24 per sensor here, which is just way too much. I have some from Aliexpress that claim to be TuYa ones, but I keep running into problems with those. Anytime they are connected to a router, they just drop off after a couple of hours never to be seen again. At least I think it's the sensors, then again, the ones connected to the coordinator are always fine, so maybe it's something else? I don't know anymore, all I know is that it's flaky af with both ZHA and zigbee2mqtt and I just want a working network
Tuya is trash
the aqara ones really are the best
you can often get them cheaper on Ali
Is there a middleground that's still not trash but also not $24/sensor? 😄
they are like 10-12 on Ali
Yeah, I just saw that
where are you getting 24 from?
That's more reasonable
amazon?
Yeah
Fair point
AliExpress it is
While on the topic, what do I want for door/window sensors?
Don't say Aqara again, cuz those are actually expensive even on aliexpress
20 are $240!
I've had really good luck with these, even though they're Tuya: https://www.aliexpress.us/item/3256804592931453.html
cheap, small, pair flawlessly, can get a bunch at once
Those look exactly like the ones I have right now
out of 20 or so, I've only had one that's flaky
Huhh, my success rate with those is a lot lower
Although it's hard to say. Temperature is easy to monitor and make sure it updates
I had one that was sitting in its box for a while and I've had a lot of trouble getting the battery to make good contact for some reason
alix is slow? 😛
The current promo banner is amusing in this context:
on Zigbee 3.0 door/window sensors!
be sure to put AliExpress on your wedding registry
Hue checking in.. better than aqara lol
I didn't even realize there was a wedding season. Guess my wife and I screwed that one up
What makes one better than the other?
I think the Aqara sensors dont reroute to other routers they stick to the first one, right? I'm not sure about Hue
but Hue stuff in general is pretty rock solid and generally just works most of the time
How can you find the 3.0? Every time I order I still get 1.2
Perseverance ... and lots of searching impatiently
My experience is that the ones that are Zigbee 3.0 explicitly mention it repeatedly, while the older ones do not
There's also a lot of luck involved. I've been trying to find some E1 door/window sensors for a few weeks now, after posting here I had another search and found two sellers who're shipping outside of China 
Literally the only devices having issues pairing are my Inovelli. I just moved a bunch of Hue, Leviton zigbee devices.. no problems.
Inovelli take like 10 tries per switch.
Weird, I found everything a pain to pair, including supposedly reputable stuff like sonoff
Takes forever to get one of their dang things to pair
Although whatever, pairing pain is temporary. My real issue is devices dropping off the network and never coming back
Both sound like symptoms of interference
Is there any general consensus on Hue motion sensors? I have 3. One was fine for like 5 months then would connect but then never send updates. Freaking thing is that I got it replaced and the new one did the same thing. Maybe it's something about it's location? But it's in the same room as the coordinator
I have another one which after replacing the battery might be a little fritzy too. Then I have my kitchen one, furthest from the coordinator and it's been rock solid
I don't think I'll buy another. I got it over Aqara ones cuz it had a quicker refresh rate, but mainly cuz it also has a temp sensor. But the temp sensor doesn't really update often enough to do anything with heating/cooling
they are the best
longest battery life, lowest retrigger time, most accurate lux and temp, motion events never fail
Yeah I dunno what the deal is with this one in my office
Maybe I should try swapping it's location with the one in the kitchen, but I'm worried this room is like cursed and the kitchen one is gonna get messed up too
idk probably worth looking at logs
aight so. this zigbee device is.. a power strip with 4x mains outlets and 4x usb ports. these controls seem.. off.. https://cdn.discordapp.com/attachments/717920547975069777/1100264215740170250/image.png
is this a mistake? i know it doesn't necessarily matter what the entity type is but tbh i don't know how it determines what entity type to generate for any given device
Hi. I was wondering if it is possible to build a temporary mobile zigbee2mqtt/HA setup just for pairing new devices. My HA and Zigbee2mqtt instance is running as a VM on a server with a Zigbee USB dongle attached. I would now like to add roughly 60 devices, but I can't carry the server around in my house so that I can get close with the Zigbee dongle to the individual devices for the pairing process. Is it possible to use something mobile (e.g. a Raspberry with battery pack) with a Zigbee dongle, use it for all the pairing and then somehow migrate the pairing info to the large and heavy server ?
As an alternative I also thought about running the HA/zigbee2mq VM on a laptop for the pairing and then moving the VM from the laptop over to the server.
Any suggestions ?
Yeah... don't do that
That's a great approach for screwing yourself over
Start by pairing your (Zigbee) router devices in their final location, spiralling out from the coordinator. Then pair the end devices, also in their final location.
Hmm, so the Zigbee pairing messages from the far away ZigBee devices will get transported over the mesh network that has already been set up by the devices that are closer to the coordinator ? If that is the case: Cool ! 🙂
That's how mesh networks work
<#zigbee-archived message> covers some of it
https://blog.ceard.tech/2022/12/zigbee-tips covers a bit more
Do you think it would be a good idea to have multiple zigbee2mqtt instances ?
The server is in the basement. I placed a zigbee lamp as a router in the staircase on each floor. I would hope that that is sufficient to reach all the devices.
Thanks !
But there's a lot of knowledge in the pinned messages
You'll likely want more than one router per floor
Yeah, on each floor I have multiple lamps that will act as router
Then you should be fine, as long as the floors aren't solid concrete
But in the staircase there is just one. And I have concrete walls 😉
You'll need to take a bit more care with positioning then, but it should still be fine
I have Zigbee devices talking merrily through a concrete wall, but their locations mean it's travelling a short distance through the wall, rather than at an angle
I also have one talking at quite an angle without issue, so as always YMMV
What about delay times. Let's say your coordinator is a few floors away and it needs to go over 5-6 routers. Is there a significant delay ?
Not really
The Zigbee mesh is faster than a Z-Wave mesh, and you should be largely fine as long as you don't have interference
And yes, I tried to place the lamps that should act as routers in a way that they have more or less direct line of sight to the next router
Thanks for helping ! I'll try out the pairing today 😉
I've had a similar setup in my old apartment and it was working fine. But now I moved into a house and I was a bit unsure 😉
I.e. a house with concrete walls and floors 😉
@mighty river I converted your message into a file since it's above 15 lines :+1:
well, that makes it a little hard to read xD
Code share sites avoid that problem 😉
Your Z2M config... it didn't enable the frontend
yeah, adding frontend: true did not solve it yesterday, allthough i don't remember removing it
nor specifying the port
i tried it now again jic, nothing
nevermind, another restart did the trick...
well thanks anyway :)
super confused why it didn't work yesterday xD
Hi, i just purchased this device https://www.zigbee2mqtt.io/devices/TS110E_2gang_1.html#tuya-ts110e_2gang_1 and its working as it supposed to by itself but iam trying to dimm the light bulbs that are not able to use whole 255 spectrum. I noticed that its sending also min and max brightnes pro channel but iam not able to configure HA to use only the spectrum i have defined 70-200. I have read the Z2M documentation and I have tried to configure device manualy in a addon settings as follows but it doesnt make any difference.
devices:
0xa4c138c442f946c4:
friendly_name: Living Room Lamp
min_brightness: 70
max_brightness: 200
Could you give me some directions where to look next or how to use it?
@sour shadow I thought I recognized the name. You are everywhere 😅
What’s the best zigbee dongle for home assistant?
Also can you use home assistant with a coordinator to pair two devices together. Ie a wall switch to a roller shade. So the switch talks by radio to the shade for it to go up down. Looking to minimize delay.
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.
And to the second, that's called binding and some stuff supports it
Hi guys! why doesn't zha automatically add the devices "far" from the RPI but which are close to other working zigbee devices?
Because the devices can't reach the mesh
but it is 20cm away from the other device....
Is it battery or mains powered?
main powered... is a 220v switch
Could be interference
i've tried to add it via other devices ( the nearby device ) but nothing....
when i buy new device, I have to add it practically attached to the sonoff antenna ... then afterwards I can move it without a problem
That points to interference problems
You checked that you're clear of WiFi interference?
ah....i think is my wifi mesh system the problem....is possible?
how can i solve?
Check to see where the WiFi signals are, and find a quieter channel somehow
Ok, thank Tinkerer!!!!
I'm curious, if I do go zigbee for my primary hardware choice, do I replace my hue bridge completely and reconnect all my devices and reset everything? Truth is I only have about 10 hue bulbs right now and about half that many switches setup so it wouldn't be a gigantic undertaking, just a bit of work in HA to clean out all the old stuff I guess
Yes
You don't have to, but you'll get a better mesh if you do
yeah
I think here is the right place 😉
Do they make smart switches that toggle like a "regular" stupid switch? Or is that not possible due to how it connects to turn on and off
If you get one of the smart modules then those sit behind your existing switch, so your switch remains a toggle
See the very recent posts in #hardware-archived
If it were a symptom in interference in my case, I would expect al devices to act the same: They do not. Between Inovelli's super short pair window (<30 seconds) and the device just not responding ...
and now I see the Inovelli devices dropping their children but not notifying the network (or so I assume, because they refuse to route)
I think there's something wrong with their Zigbee implementation.
Ah. That reply wasn't intended for you 😄
ahh okay! everything is broken 😄
i now have 3 zigbee coordinators setup on 6ft USB 2.0 extensions for testing lol
I even setup an RPi with ZHA instead of z2m to test these damn switches
something is wrong.. very wrong
👻
Using ZHA I'm getting this error:
[DeliveryError('Request failed after 5 attempts: <Status.MAC_CHANNEL_ACCESS_FAILURE: 225>'), DeliveryError('Coordinator is disconnected, cannot send request'), DeliveryError('Coordinator is disconnected, cannot send request'), DeliveryError('Coordinator is disconnected, cannot send request')]
ZHA never initialises.
The device correctly registers on host OS as Sonoff Zigbee 3.0 USB Dongle Plus and shows up on HA container (mounted at /dev/TTYUSB0, same as host)
This has worked flawlessly for a very long time, but seized working after a host reboot.
Edit: I have tried several host and container restarts, replugging USB, different ports. No avail
Anyone familiar with custom quirks? I added a folder custom_zha_quirks and added the following to my conf file:
zha:
database_path: /config/zigbee.db
enable_quirks: true
custom_quirks_path: /config/custom_zha_quirks/```
But for some reason it won't show as a quirk on my end device
i have a really dumb question that I am hoping someone can help with...if I install an aeotec zigbee extender, do I have to repair my existing zigbee devices to be able to have the device link to that extender or is it like wifi where it just roams to a nearby access point?!
If it's compliant it should 'roam.'
Anyone know how to dump the EZSP firmware?
none of the flashing tools ive found can dump the image on the stick, like you can with CC2562P
Thank you!
Hey, all. I am dealing with a serious headache and I have no idea how to remedy it. I've been doing every ounce of research and cannot find a solution.
I am wanting to use an Aqara (original model) motion sensor to active a Lutron Caseta dimmer switch in my utility room. I am using Zigbee2MQTT, and I cannot get (out of the four) a single motion sensor to respond to an automation. It simply will not trigger. I am using the built in Motion-activated light automation blueprint, which pumps out the follwing YAML: (If needed)
alias: Utility Motion
description: ""
use_blueprint:
path: homeassistant/motion_light.yaml
input:
motion_entity: binary_sensor.utility_room_motion_sensor_occupancy
light_target:
entity_id: light.utility_room_main_lights
device_id: 69a77ce2d5c90fb0f7bb4a9d22a72e32
no_motion_wait: 121
Anyone have an idea what is going on there?
Yeah... you forgot everything we just talked about
?
THE PROBLEM IS NOT THE BLUEPRINT OR THE AUTOMATION
The problem is your motion sensor isn't reporting motion
So, step away from the blueprint/automation
...... Yes. "I cannot get (out of the four) a single motion sensor to respond to an automation. It simply will not trigger."
Yes, as you said, it's the device.
The problem is the device not reporting
So, forget about the blueprint
Forget about the automation
Are you purposefully a dick to people trying to get help on here?
They're irrelevant
You've said that, and I have a brain and understand that.
I'm trying to ensure people don't waste time trying to fix the wrong thiing
Does your motion sensor ever report?
I'm not sure. I'm relatively new to HA. Like does it report any type of activity in logs?
@timber lichen 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).
Does the state of the entity ever change?
if you look at the device in Z2M, when was it last seen?
If you look at the device in HA, when did any of the entities last update?
one of mine
No, I'm not seeing anything such as that.
My screen on the device's settings has no 'last seen' section whatsoever. It has "Friendly name", Retention, QoS, etc. Wish I could share a screenshot.
Here you go: https://photos.app.goo.gl/Hbiamm8sAkUGZ2SL6
You want about
Ah, I see. Yeah, last seen says: N/A.
You may need to enable https://www.zigbee2mqtt.io/guide/configuration/device-availability.html then
Also https://www.zigbee2mqtt.io/guide/configuration/mqtt.html#mqtt-behaviour to enable last_seen
Then you can work out if they're ever reporting in
Man, that's strange. Thanks. Even, looking at the guide, I'm not seeing "how" to do this.
Those are just YAML bits you add to the Z2M config
Gotcha. Never had to do anything like that before. Are there config settings in the Z2M addon, or is this within HA itself?
Is that in the "extensions" area you can add the YAML?
It'll be in the add-on settings panel
You can also set Availability in the Z2M UI
Looks like last_seen can be done there too, under Advanced
No need for YAML... which changed some time in the last year or two 
Gotcha, I see now. I have three sections in the /config/zigbee2mqtt: socat, mqtt, serial.
In the serial section that's where I initially configured my Soncoz USB Zigbee stick. Is there a specific section I need to pay attention here to input text?
You can either add those three lines exactly as I provided at the end of the file, or use the Z2M UI
Settings -> Advanced
Settings -> Availability
Using the UI removes the risk of you getting the YAML wrong
Gotcha, updated last seen to ISO_8601 within the Advanced Z2M UI Settings.
Not seeing how to enable 'last seen' though.
Oh, shit. Yes, I think so.
Not seeing how to enable the availability feature in the UI.
Right, I have it on advanced. Nothing there seems important or anything I can add: https://photos.app.goo.gl/9QVsU53aXCqCetQWA
Then it's time to restart Z2M
Cool. Will do.
You'll start seeing last_seen populated as devices check in (typically at least hourly, except for some devices that are every 2 to 3 hours)
If something reaches 25 hours without being seen it'll be marked unavailable
I see. Yeah, no devices are being shown. I take it it'll take 2-3 hours or so to show then?
Yeah, they all have to check in first
Mains powered devices will do that pretty quickly, battery powered devices may take an hour or few
Cool. I'll probably head to bed then, at that. Any tips on how to proceed? Perhaps retry the automations and such?
Walk in front of it?
That it's 'last seen'?
Gotcha.
I take it the log will show if motion is detected then.
Yup, that and just look at it in the Z2M UI
Cool. Will do so. Thanks again for the help. Hopefully I can take it from here.
Will be back if there is anything weird. Thanks again.
I juust walked in front of my sensor, it shows occupied under Exposes
The entity info in HA shows that and more
If you get nothing then you need to go back to basics
Gotcha.
- Did you pair it in the final location?
- Did you pair it through a nearby router (good) or let it pick (bad)
- Did you pick a Zigbee channel clear of WiFi (good), or just stick with the defaults (bad)
-
I let it pick, that may be an issue.
-
My Zigbee is on channel 15, with my 2.4Ghz network on about 8.
And you've no neighbours with WiFi?
I do, none occupy channels above 11.
The LQI were all in the 100+ range too, which I believe is good?
Yes. Wifi channels.
Zigbee channels != WiFi channels
Yes.
So, that nobody uses WiFi channels above 11 is irrelevant
Was your question concern with overlap between wifi networks and zigbee?
Ohhh. I thought they used the same channel numerics. That's odd then. Yeah, there may be overlap.
So, I'd likely need Zigbee channel 25.
Depends on what's going on around you
Generally you want one of 15, 20, or 25 (or 26 in Europe, maybe)
On my wifi analyzer, I'm seeing wifi networks all the way to channel 13.
You need to find the one of those three with the least overlapping signals
8-9 are empty, with everything else being pretty crowded.
Sounds like Zigbee 20 then
Also the other usual good things - make sure the Zigbee stick is on a 1M+ USB extension cable
Didn't know that. That's good info they have different channel numbers.
But, yup. Got that as well. Should I switch channel while Z2M is checking for devices? Or should I wait?
Well, you'll have to re-pair all your devices
Oh, switching channels requires repairing?
Yes
So, plan a time when you can do that, and as always start with the router devices first, the end devices last (and explicitly chose a router for the Xiaomi devices)
Got it.
Hi, most of my battery powered devices are dead after a couple days.
Is there any solution for this?
I found a lot of people complaining about such issues for years but I can't really find a solution.
Some of my devices that are having issues
- IKEA TRÅDFRI Shortcut button
- MOES scene switch buttons (TS0042 and others)
My setup
- HA 2023.4.1
- SkyConnect
- ZHA
What Zigbee routers do you have?
Not sure, but I have a lot of IKEA bulbs and MOES smart plugs
My network graph looks like a mess, not really familiar with it
Ok, so those then at least
Did you pick the Zigbee channel, or did you at least check that it's clear of WiFi?
Yeah I did
And... it's clear, or mostly clear, or ...?
clear
The coordinator is on a USB extension cable?
Yes
The only thing I can think of immediately then is to try fresh batteries
I have swapped them like 4 times
they are 100% when connected but drain in a couple days
Have you tried forcing them to pair through a nearby router?
Oh, and do you cut the power to the bulbs?
How do you force it?
And no I have removed the switches so bulbs are always powered
Same with the plugs
I know there's a setting in ZHA for it, but I don't use ZHA so don't know where it is
It should be pretty obvious
ah found it, "add device via this device"
I will try that and see if it helps thanks
So to be clear if I have a bulb in bedroom I should connect switch to that bulb right since it's closest?
Yes
Devices are free to change their route later, but at least it starts them in what may be a better situation
Alright will give it a shot, hope it helps
Anyone know how to dump EZSP firmware?
si labs commander over j-link (assuming it's not locked)
How do you force Zigbee devices to pair with a specific router? I have my ZHA controller connected to a 3 ft USB extension cable. The only other Zigbee router I have is an Aqara switch with neutral on the other side of my house.
Is it common for most quality Zigbee light bulbs to cost around $20 US each?
thanks. @molten linden
Scroll up
there isn't much you can do with the binary that you pull off though. if looking to make fw changes most of the ezsp hardware (sonoff/nabu/me etc) have repos where the settings are either documented or can be seen in code if you want to compile your own (specifically the hardware pins - non-hw firmware settings can be seen with bellows config -a command.
I wanted to dump the firmware so I can restore it if I need to.
This is in relation to troubleshooting the Inovelli pairing problems.
you can likely find it somewhere
Ideally what I really would like is some TX/RX pins on hte Inovelli and nice debug output.. but
their fw is locked
Inovelli went silent when they realised there's probably really an issue. 😄
they use the same efr32 chip as the sonoff sticks
ahh
I flashed one of the inovelli boards with a new bootloader and the router fw itead/sonoff put out
oh?
when helping debug the radio issues
tell me more
which ultimately was the HW issue that they did the replacements for
how did you flash the firmware, and what did it tell you
i know about the antenna issue
we just wanted to run different c-tune numbers
my issue is that they take like 15 attempts to pair lol.
but once they pair they have 250 LQI ...
and I have zigbee sniffers setup, and I dont see any other coordinators responding to the join
got nothing there, have not had issues pairing them other than one that I can't even get back into paring mode
I mean I had some with the flawed antenna path installed and working fine for a long time
nice
I found a book on IEEE 802.15.4 but for some reason it skims over the whole joining process.
I've got a few IKEA Fyrturs and for some reason one of them depletes much quicker, they were all charged at roughly the same time and the others are currently around 90-95% with this one being depleted fully today.
Signal seems to be fine by comparison, and it's not acting as a router, anything else I could be looking for?
@molten linden This is a good starting point, but I was looking for more what I should be expecting from a Join request.
i.e. device sends beacon, coordinators respond with beacon, device sends association request
coordinator assigns and responds with nwk id
Maybe just sniff another device pairing something that behaves well and to the spec like hue or something
hehe
not sure if it'll help you, but there's also the "Zigbee Pro" document: https://zigbeealliance.org/wp-content/uploads/2019/11/docs-05-3474-21-0csg-zigbee-specification.pdf
I did already do that! That's why I said what I said. But I was hoping to find something official 🙂
Assumptions have bitten me in the behind too many times.
Thank you!
At this point I think I am stuck and I am hoping Inovelli gets back to me.
is there something more to adding the zigbee2mqtt repository then adding the repository? I added it but no zigbee2mqtt add-ons show up
Pretty sure there's a reload button somewhere there
seems sensible but not that I've found 😄
shrug will try to turn it off and on again
yeah restarting it all works, but how obnoxious, I never had to do that before for a repository to load 🤷♂️
I don't use HAOS anymore and don't know where that button/menu option moved
It used to be a circular arrow
Anyone else here have some serious issues with the Sonoff Zigbee Dongle - E (their experimental) variant? I was going through some motion sensor pairing issues within Z2M last night, and with further checking, I'm pretty sure it's the dongle coordinator that may be at fault.
Figured how to get the motion sensors to be recognized, but the whole Z2M would crash after an automation would be triggered, or in the middle of pairing a devide. (Which necessitated me repairing the entire network again!)
Wondering if people have had similar issues with this coordinator stick.
but the whole Z2M would crash after an automation would be triggered, or in the middle of pairing a devide. (Which necessitated me repairing the entire network again!)
That doesn't sound right. Why did you have to re-join devices?
Wish I could tell ya. Have no idea. I have to do that after a restart, too.
Grab some debug logs for Z2M and herdsman
So, not too sure how to do that actually.
Ah, I see. I was able to add the line in the config section. Lot's of log files I'm unaware of lol.
so, i have a four-button zigbee switch, which has triggers for short/long-press of each. for some reason, long-press-left also triggers short-press-up at the same time. i don't know if this is the device, the integration, or what. how can i debug something like this? watch the bus for zha events and see what the raw reported event is?
Hello all. New poster. So, I am really trying to give HA a fair shake, but man it's frustrating. I am using Aqara sensors and I just cannot keep them communicating with my install. I'm on a RaspPI4 and I am running on an NVME SSD. I am using the Nortek zigbee dongle. I have reinstalled my instance (had it on a MicroSD) and I've replaced the Nortek adapter...same issue. So, it has to be these dang sensors. I'm trying to use the temp and leak sensors, but I also have a bunch of the door sensors too. Folks over in #general-archived recommended posting here. They said the Nortek is a bad dongle. So, any recommended alternatives? Would love to have both Zigbe and Zwave in one (hence buying the Nortek to begin with).
ya man nortek strikes again
there are no "good" dual dongles
this is in the usa right?
yes
for zwave go for the 700 series zooz usb dongle and for zigbee either the sonoff p (z2m) or e (zha) dongle if you want to save money. if you want a quality PoE version then go for a @molten linden PoE coordinator either the efr32* one for ZHA or the cc2652p one for z2m
pricey but they are highly recommended here
https://www.youtube.com/watch?v=tHqZhNcFEvA <- example of why you would want a PoE dongle to avoid usb interference (30 second clip)
Oh. Ok, so I hadn't considered that. I can just use the PoE one on my network and my Home Assistant will pick it up and integrate it? I was thinking I needed USB dongles on my PI
PoE dongle for zigbee coordinator are great for two reasons. 1. no interference with usb ports, ssds, etc. 2. you can centrally locate them more easily for better performance
yes it sees it over lan
Ok, great. I'll look into that! I live in an RV (43ft 5th wheel trailer), so I doubt I'd need more than 1
happens to the best of us
Appreciate the feedback. Oh...I know this is Zigbee...but do you have a recommendation for a Zwave one too?
read up i already said that
cheaper on thesmartesthouse.com if you want to buy from them directly but it's only free shipping after $100 or more.. maybe $170 now?
given this information i probably wouldnt spend the money on a PoE coordinator for zigbee given the size of your space
personally i'd buy a sonoff 'p' dongle and use z2m (this is what i am currently using and running)
ok, good to know. I'll go look at that one now.
https://amzn.to/41Zw1vB make sure it says "cc2652p" in the specs
Hey all. Need a little help getting a Zemismart roller blind motor working in ZHA. Model is ZM25RZ01. I can get ZHA to detect and pair with the motor but no controls show up. Looking at the pairing logs, it appears that ZHA cannot find a matching quirk. I think I found the right quirk to use but cannot find a way to have ZHA detect it and use it. Any help would be greatly appreciated as I am scratching my head right now.
did you check to see if zha supports the device
I wanna buy zigbee tuya door sensor from aliexpress and it says "product needs to be used with Tuya zigbee gateway". Is that a must or is just a "promotion" for their gateway?
Just a promotion, though Tuya Zigbee is hit and (mostly) miss
I know about "hit n miss" and I'm ready to gamble and deal with local-tuya integration, which gave me a few headaches but still
Well, local-tuya won't work with Zigbee devices
You could instead buy door sensors known to work, and save yourself time and money
I've found the Xiaomi MCCGQ14LM aka Aqara E1 door & window contact sensor is a great sensor, though can be challenging to find on AliExpress
the aqara door sensors are great bang for the buck
new aqara P1 door sensor is 30 bucks, old aqara is 15 bucks and this cheap tuya is 6 bucks...
different price ranges for different amount of stability and headache
TI coordinators?
CCxxxx chips
oh
CC2652 etc
However, if you buy your Aqara sensors from AliExpress they'll typically be $10 or under
(OG ones anyway, not the E1/T1)
I expect to pay about $15 for the E1 version
all aqara door sensors I find on AliExpress are are least 15$ (including shipping)
but im from Slovenia, EU
UK, no longer EU 
https://www.aliexpress.com/item/1005003504633099.html ... £47 for 4
64€/£56 for me.. so about 16€/£14 each
I know smart switches/relays, which are hard wired, should act as zigbee repeaters/routers BUT was there any instances where they didn't? like when u bought some cheap version
Is it possible to adjust Nest thermostat using Aqara temperature sensors (z2m)?
If you mean have the Nest thermostat use the Aqara sensor... no
If you mean can I write an automation to adjust the thermostat using HA's knowledge of other sensors then yes
Also you can do that with a template thermostat (generic climate)
It's hacky, though, IMO. You really want to change the thermostats view of the current temp based on those sensors
Ecobee has the best system for that
Otherwise you're trying to fake out the thermostat and fight its algorithm
lol yes
Yeah that was my first train of thought, ig I'll have to see how much it resists.
Thermostat is downstairs but I work from upstairs, so middle of the day gets extremely hot during the day
The previous version is. And as far as I can tell the only difference is the structure of the device.
In Z2M why do some devices have a green vs grey battery icon?
The green ones have battery_low
Ahh, that explains it. Not sure what I'll do with that knowledge though 😂
Well, you could use it instead of the battery level in your automation that alerts you to low batteries?
Is using battery_low generally more reliable than using a static battery percentage (since every device will stop working at a different percent typically)?
Which devices rarely do in my experience
My Fibaro (Z-Wave) was the worst for that, it never reported anything other than 100% battery
id rather on a long lasting device than the alternative. my Xiaomi Light Sensor only reports 100% pretty much exclusively, but it also lasts over a year on that single battery so I honestly can't complain (had it nearly 3 years now and only changed it once). My Zigbee lock on the other hand (Kwikset) never goes above 80% and will stay at 30% for a good month until it dies
omg lutron aurora without hue bridge is a nightmare 😦
Just installed Aqara motion sensors via skyconnect and Zha. Everything works but hoping to find documentation supporting the occupancy sensor. Hoping to adjust delay. New to all the above. Anyone point me in the right direction?
Hey folks, QQ - I have a Philips Hue 2.1 - is there an integration with HA Core I could leverage to avoid using Philips' Cloud? Or I could flash something like Tasmota on it? Couldn't find a straight answer. Any tips are highly appreciated 🙏
The Hue integration uses local push, your bridge runs it's own webserver. There is no cloud required afaik, the phone app should also work without creating an account
I know that doesn't entirely answer your question, but it might not be necessary to change anything if you want local control
However, there is a way to root the bridge (at least v2) and I've read that it should be able to run openwrt
Just installed Aqara motion sensors via
wth do my hue dimmer switches, which are the same revision as each other, have different triggers available in device trigger o_O
ZHA or Z2M?
z2m
idk, maybe because I duplicated the automation I was trying. When I start from a blank automation all the triggers are available
Two questions:
- is there a way to determine the best channel to use? Kinda like a Wi-Fi scanner but for zigbee
- how do I change/configure the channel on ZHA
you can do an energy scan using zigpy to see channel usage
for new users puddly has made ZHA auto scan and pick the best channel now
https://github.com/zigpy/zigpy-cli#performing-an-energy-scan otherwise this can be done manually
Gotcha. I set up ZHA as new when I got the skyconnect
Will have to run some tests
Thanks
might not have been in there when skyconnect was first released
also you can help yourself by choosing channels with the least overlapping of 2.4ghz wifi with your APs
and only using ht20 band width for 2.4ghz wifi
You'll be able to execute a service call in the upcoming 2023.5.0 release which does a channel scan and automatically choses the new channel whilst moving most devices over
(edit: nvm, removed)
neat
Perfect as I am on beta
does that require skyconnect / zha?
I don't see the service for that but I'll check the beta docs
Ah, uh. The service call was apparently removed. It's only a available per websocket API.
I think it might make it into the frontend for when the final 2023.5.0 release drops
For channel scanning, you can already download ZHA integration diagnostics and it should include a section with the best channels.
makes more sense as a button in the UI, IMO
it's not something that you'd do in an automation or script
Yeah, pretty sure that was the plan all along. The PR initially also included a service (in addition to the WS API for the frontend)
Yep. Button hasn't been added yet but you can manually call the websocket API from your browser's JS console to migrate to a new channel:
var hass = await window.hassConnection;
await hass.conn.sendMessagePromise({type: "zha/network/change_channel", new_channel: "auto"}); // or a specific channel 11-26
ZHA already does this when you form a new network (or re-configure the radio and select "Erase network settings and form a new network") so it's likely the best channel has already been chosen. You can confirm with the energy scan section in the diagnostics JSON.
thanks all appreciate the info
Wait, I have a Huw Bridge lying around that I haven't touched in 5 years that I have literally no use for. Are you saying I can use this as an AP or am i totally misunderstanding
worked like a charm
ive had z2m crash, but that's a z2m issue and not the stick itself.
uhhhh.
sooo I just got a response from Inovelli re: my pairing issue
Gotcha. Heard other people have that issue with the specific "E" stick. For reference, I got the "P" variant in and everything works great!
FYI for everyone else!
i have 4 of each 😄
@austere patio
the device does 15 network scans before exiting pairing mode. Depending on how many networks are in range will determine how long the device is in pairing mode. So it is possible for one person to see 3 or 4 minutes and one that sees 40 seconds.
well this explains my Inovelli pairing issues. I see 4~5 beacon responses on just channel 25.
I have Inovelli switches, hue lights and leviton switches on an -E on z2m and it hasnt fallen over yet. or i havent noticed.
I find the -E more performant on larger networks, I am using one on my 150 device network
with ZHA, though
Damn, wish I was that lucky. But, gotcha. I actually decided to reconfigure everything (have about 10 devices) and decided to move back to ZHA to see if some devices would work again and bam. It worked.
but im not using the default settings, the default ZHA settings are horribly inadequate for the EMG stick
^ That may be my issue, too.
let me paste you
I know how to change channels, etc. and that's about it lol.
some birdy says the defaults will be fixed in the next releaes but dont quote me on that 🙂
Let's hoping so! I'm relatively new to HA and man, even being relatively tech savvy and experienced, this shit has quite the curve to it lol.
too many dependencies
It's in the beta, I wouldn't leave anything unnecessary in your config for too long 😄
has been 'stable' for me.
@timber lichen CONFIG_SOURCE_ROUTE_TABLE_SIZE should be # of devices + expected devices + 10
I don't think source routing is necessary for 10 devices. I'm at ~70 and still don't need it 🤷♂️
for sure
Sick. Appreciate you reaching out with that.
@austere patio am I wrong to think the pairing logic for inovelli is brain dead?
Their mention of "15" is awfully close to "16", the total number of Zigbee channels. I'm not entirely sure what they mean by "Depending on how many networks are in range will determine how long the device is in pairing mode", though.
I was affected for a time by smart meters (Itron) in my vicinity permanently allowing joins, so many devices tried to join their networks. But I can't really imagine why it would take minutes, especially since your network is on channel 25. They should send beacon requests on various channels, collect which networks exist and are open for joins, and try joining them.
uhh. i also see itron smart meters ...
many of them
Look at the 802.15.4 beacons they send out in response to a device's beacon requests. You should see whether or not they are permitting joins.
is there any way for me t osniff all 16 channels at the same time?
No
If you have a stick with Z-Stack firmware, you can also use python -m zigpy_znp.tools.network_scan /dev/... to send beacons and collect responses. It will hop channels and show you directly which networks are permitting joins .
ill do that
so fun thing here ..
this is just channel 25 ..
"Depending on how many networks are in range will determine how long the device is in pairing mode", though.
The way I interpet this is while (beacon_responses < 16)
That alone doesn't say much, I have just as many networks nearby and have no issues joining their device
What behaviour were you seeing with the ITron? because I can move all my other zigbee devices around just fine
A Bosch motion sensor preferred to join the Itron network over my own. But this is because they were permitting joins, you should see if they are with the zigpy_znp scan, since it scans perpetually and lists all unique networks
howd you get it fixed out of curiosity
I didn't, they just stopped after a few years
(also bosch makes motion sensors?)
ISW-ZPR1-WP13
thanks
hrm. need to pipe this through sort and awk or somtehing
There's nothing in join mode that I see.
ahh one is permitting joins
two ..
there are 26 networks lol
# sed -E 's/^[0-9]+\.[0-9]+ //; s/ LQI=\s*[0-9]+//' zigbee-scan.log | awk '!seen[$2]++' | wc -l
26
14 itron meters
There is a disabled wifi chip in every hue bridge so I guess you could. Don't know if anyone has actually done it. But it's probably better to sell the bridge and buy a supported router. That something is technically possible doesn't mean you should do it :p
lmao
good point
normally trying to find the best way to save a good buck maybe to the point i forgot you can sell stuff you dont need lol
does anyone know any zigbee rgb indicator light/button combos, or just the light portion perhaps. i know a lot of people use light strips for led indicators, but im looking for something a little more portable, and a button would be a plus
After update to HAOS 10.1, ZHA with Skyconnect is failing to setup… any pointers here? https://imgur.com/a/GQ8AnD2
Ok restart fixed.. 🤷♂️
The Hue Hub's are just running OpenWrt
makes me wonder the legality of selling a device based on open source software
idk much about open source licensing
Hey guys, any experience on the IKEA Vindstyrka Air Quality monitor? I'm more interested in the update rate, I saw somewhere that the values take some time to be updated through ZHA, rather than being real-time values. Thanks!
is this the appopriate channel to ask questions about why a custom quirk isn't being associated with a device?
You can do so. Upload the custom quirk and device signature to something like https://dpaste.org/ and send the link here
You can also use the issues or discussions feature of the https://github.com/zigpy/zha-device-handlers repo
best thing to do is search core for any future of past issues for the device
and also the forums
probably more reliable than hoping someone here has experience with it
ok whoever said markdown links work deserves an L
okay - I grabbed the quirk based on and article from github - should I just drop those links here?
this article:
https://smarthomescene.com/reviews/tuya-zigbee-infrared-ir-remote-zs06-review/
from this link:
https://github.com/ferehcarb/zha-device-handlers/blob/dev/zhaquirks/tuya/ts1201.py
and it doesn't load at all. the device signature I have (I think I'm using that correctly) is _TZ3290_7v1k4vufotpowp9z
it wasn't in the quirk but I added it, as it's the same device...
no, wait, it is there. heh.
still not loading though
Did you specify the custom quirks folder in your configuration.yaml?
(Note: using custom quirks isn't supported and they may break at any time)
I did, yes - and I do understand that 🙂
if it turns out that this is just broken, oh well. but I'd like to at least be able to see that it is actually broken, or even why
I'm right now looking at this going "it's just...silently...not doing anything" - I did get a message in my logs at one point indicating custom quirks had been loaded
How did you download the custom quirk? Did you click on "Raw" before downloading the .py file?
Upload the full device signature here: https://dpaste.org/ (and send the link here)
You can find the device signature by going to the device page, clicking the three dots, clicking on "Manage Zigbee device", and then selecting the "Signature" tab at the top.
The custom quirk loaded. See "class": "ts1201.ZosungIRBlaster_ZS06"
From the article you sent, the "Learning and Sending Codes" section should tell you what to do
yes, it does...it tells me I should be able to go to configure and send a command but the commands it's telling me to use aren't available...
So you selected the ZosungIRControl cluster in the first drop-down and clicked on "Commands" after that?
And there, you're not seeing the IRSend command?
correct
Take a screenshot of what you're seeing there and upload it to an image hoster (like https://imgur.com/)
Select the ZosungIRControl cluster in the first dropdown menu first
Let me know if it works now
it's at least available as a command to select. if it works or not, we'll see, but that's beyond the scope of what I think y'all can do - thank you so much!
just curious what have to got making your dialog box look like that
wasnt aware you could theme everything like that
ty
holy f. Inovvelli's solution is for me try to use channel 11 on zigbee..
lol doesnt work either
companies when their product doesnt work "have you tried building your life around our product rather than trying to slot it in neatly"?
Hey folks, I think I can answer my own question here, I take it there's no way to use the Ikea Tradfri Hub with ZHA, is there? I want to use the Ikea on/off switches and remote controls with other HA devices, and apparently I have to use ZHA for that, but it seems like ZHA needs different hardware?
I think that's a safe assumption it's a non-starter, so I started looking for the Sonoff ZBDongle-E as mentioned in the docs. All I can find is the ZBDongle-P though, and it seems that is better/worse than the other one :/
Correct. Hubs don't let you talk directly to the Zigbee radio, which ZHA expects to be able to do. You can use either one of those sticks.
thanks! that makes things easier 🙂
It seems like here in Canada there aren't many good options for online stores with actual in-stock Zigbee adapters. Amazon has the ZBDongle-P though
Note that the P variant is supported well by ZHA and Z2M in case you haven't decided yet what to use
might be an 'it depends' question, but what sort of range can I expect from the ZBDongle-P? (in units of distance, rather than in dB)
really no good options for coordinators in canada?
probably best bet order through amazon us if you have to
is p the new dongle or the old one
Zigbee is a mesh network so every routing device you add (e.g. bulb) extends the range. With the coordinator alone, maybe 20 feet through walls? Depends entirely on construction.
oh wait, I found the ZBDongle-E on Amazon now as well. Same price
careful with interference though #zigbee-archived message
this shit is real
6in can really make or break a solid connection to the cordinator
yes, I have several USB extension cables 🙂
e is experimental in z2m while the p is stable in both
the e uses the same soc as the skyconnect which makes me wonder if that means it might get multipan support eventually
On paper it looks like the E has better hardware, I think?
e is newer and i dont know much about this but preliminary research says e uses the ezsp protocol which is newer
again its experimental in z2m so if you wnt to use z2m that should be a factor
It's "newer" in the sense that Sonoff called it v2, that's about it. It's a different chip. There's no functional difference, though, and they both end up doing the same thing
yeah im looking at this page lol
Right now I don't have a use case for z2m but that will probably change as I'm also rolling out a bunch of ESP8266 boards around the house for things
been a while since I used those but last time they used MQTT for comms
That doesn’t matter for zigbee
Esphome is the easiest way to use esp devices with hass now
Websocket automagically seen by home assistant
fantastic!
so if I end up with a dongle that doesn't work in z2m, what am I missing out on?
ok, I'm going to order the ZBDongle-E then
can you guys sanity check I am looking at the right things here before I press the button please?
I personally think z2m configuration and control of devices is preferable over zha
But zha has come a long way. My biggest issue with it now is the ‘events’ compared to button presses in z2m
Right things?
Have you considered a PoE coordinator instead?
It's not out of the question, I have some PoE Ubiquiti gear already
but no, I hadn't 🙂
Main benefit is you put it centrally located which is nice if hass device is in a corner or basement
zha lags behind z2m but it isnt completely feature lacki ng its just not quite as easy to use and gets new device support a bit slower
And additional benefit is no usb port to cause interference
https://tubeszb.com/product/cc2652p2-based-zigbee-to-poe-coordinator-2022/ tubes are popular here
that works in zh a too
Well he has an efr32 one that would be preferable for zha due to newer chipset
That’s a good thing
feel like theres decision paralysis at some point
it doesnt matter that much just pick one and most ppl are prolly fine lmao
choice is good but also not alwys good
i'm going to start with the ZBDongle-E
Can I add a PoE one later, or is it strictly 1 coordinator?
You can migrate later
i dont believe you can easily migrate between zha and z2m though, so get that part sorted out
cool, ordered the ZBDongle-E 🙂 Thanks folks!
Another thing I was thinking about doing is a rotary volume control for my Sonos Speakers
I saw Ikea has a Tradfri rotary control, I think it's supposed to be for dimming lights though
is the ZBDongle-E a coordinator
Yes
those kinds of controls are honestly amzing for granual control, i love them
wish i had a need for one myself
what's a good zigbee smart plug that has a power monitor I can buy on Amazon
I have not seen one on Amazon and I'm not aware of any ZigBee plugs that provide power monitoring. The only ones I've seen are WiFi
If you find one I would be interested as well
I use a Moes rotary button combo for volume on my TV. Works well for play/pause and volume control
THIRDREALITY ZigBee Smart Plug 4 Pack with Real-time Energy Monitoring,15A Outlet,Timer Function,ETL Certified,ZigBee Hub Required,Work with Home Assistant,Compatible Echo Devices and SmartThings https://a.co/d/goUwigE
it is really very experimental. today it kept falling over on me with z2m on the -E 🙂
Sengled. smart plug. 15a, zigbee. has energy monitoring 🙂
Oh cool!
Neat, I thought the sonoff only had monitoring on wifi
Sengled is actually certified though (I cant remember if its ETL or C(UL)
hrm you may be right about the sonoff s31.
i see they only have lite now
i just use the s31's with esphome for my christmas lights 🙂
I have a bunch of s31 lites, I'll keep an eye out
but the sengled certianly has energy monitor
The sengled are really tempting, I have been testing various tuya devices and they've all made my network unstable
I also live in a townhouse surrounded by a thousand WiFi routers
doesnt seem to matter the brand, they all have broken behaviour in different ways
lol i thought tht was my problem
lived in a 28 story building with 251 units
bought a house
same problems ..
I have gotten better stability back after migrating the tuya devices to a tuya coordinator and using the integration to control them
nice
i actually have a tuya zigbee puck light coming in the mail
guess ill get to see 😄
The biggest issue I have is HA seeing the triggers from my IKEA remotes but not activating the automation
randomly?
It's always after an update to either the supervisor or the os
