#zigbee-archived
1 messages · Page 77 of 1
where can you find out and set this?
Not sure how you do that with ZHA, I use Zigbee2MQTT
the best option in my opinion is this: https://www.thesmartesthouse.com/products/zooz-800-series-z-wave-long-range-dc-signal-sensor it sits on the traveler wire of interconnected smoke alarms and lets you buy the best smoke alarm + still have notifications if any go off
What I also haven't managed to do yet is to display the total consumption of the smart sockets as in the TUYA app. Which would be the right room for the questions?
#energy-archived can help with (most) energy stuff
May I ask something else?
As long as it's Zigbee related, sure, otherwise find the relevant channel that's not #general-archived 😛
still need a socket recommendation with power measurement for zigbee
i think all is made in china
Even if that was true (it's not), so what?
Plugs that work for a US socket won't work in the EU, or the UK, or Aus, or...
im in EU Germany
Frient and Innr are both european coumpanies. might well still be made in china but who isnt. Even apple is all made in china.
likewise frient/develco do stuff in German socket (Develco is the actual OEM, and Frient is their inhouse brand, you can buy the stuff under either name, Develco are EU based, cant recall any remarks on packaging over where its made though)
I've got one of their multi-sensors and it's pretty damn good - only downside is that it's not Zigbee 3.0
Designed in not china while made in china and designed and made in china are vastly different things
Or get some Lidl / silvercrest plugs. Rather cheap in germany. They are rebranded tuya devices, as most are.
Most people are friendly enough not to suggest tuya to strangers 
My sonoff temperature sensors however under zigbee2mqtt were hilariously unreliable, but been completely fine on ZHA for whatever reason, and my sonoff relay has been very reliable but never seems to want to act as a router, buuuuuut my homes footprint is small enough that this hasnt been an issue, there are multiple alternative non sonoff routes
Funny, because ZHA and Z2M have no control over that 😄
Ikr, though I had Z2M do weird things on a near daily basis
Thankfully most aren't Tuya unless you're only buying the cheapest crap you can find
Only reason to buy a tuya product is because you know its a reflashable tuya product and intend to reflash it
There's some decent (enough) Tuya stuff out there - Moes usually for example
My one moes device I gave a 1 star review
Ooof
It was bad enough to put me off ever touching Moes again
Got one of their dials and it's ok, not awesome, but nothing's as good as the Terncy... so far
I got a 2 gang light switch from Moes
the build quality isnt great, it regularly misses button presses from its frankly awful to use buttons anyway, is real funny about pairing. Has factory reset itself a few times since I have had it, randomly decides to flip its own output state without my input (and has done so a few times after it had factory reset itself and wasnt paired anymore), and 1 of the 2 channels flickers
I am in a no neutral scenario unfortunately. I wondered if the problem was the load as running some loads on no neutral can result in flickers
So I swapped the outputs over
Its not the load, its just whatever is on ch2 flickers
If thats my outside lamp, then the outside lamp flickers, if thats the inside lamp then the inside lamp flickers
Unfortunately, welcome to a 1970's british home. There is no neutral in our switch backboxes. So many good options with a neutral
New builds are sadly no different
i'm partly desperate here nothing works neither the rubbish calendar nor the automation
Do you know if there are reprogrammable energy harvesting modules for custom switches? I would like a tri-state rocker switch (on - auto - off) without a battery and haven’t found anything ready made so far.
Colleagues one does surprisingly have it
That must be the local builder/sparky being smart
Does anybody know how exactly TouchLink work? I'm interested in a low-level details.
Hi to all of you, i have question Is it possible to modify or tweak ts011f smart plug watts update interval using zha
What in wall zigbee outlets do you all recommend?
I bought this door/window sensor - https://pt.aliexpress.com/item/1005006464068399.html - it exposes the tamper variable but I don't know how it works. the device itself doesnt' have any pin or something
I think it's not supported. or am I wrong?
Your country matters 😉
since last week i have a lot of drop outs of my hue switches in combination with ZHA / Skyconnect dongle. Any clues how to diagnose for reason of dropout? (system worked perfectly for over a half year)
I have the same issue. I found errors in the log, but I don't know what this means
requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
2024-02-21 22:08:52.622 ERROR (MainThread) [bellows.uart] Lost serial connection: ConnectionResetError('Remote server closed connection')
2024-02-21 22:08:52.625 ERROR (MainThread) [bellows.ezsp] NCP entered failed state. Requesting APP controller restart
2024-02-21 22:08:52.744 WARNING (MainThread) [homeassistant.helpers.dispatcher] Unable to remove unknown dispatcher <bound method GroupProbe._reprobe_group of <homeassistant.components.zha.core.discovery.GroupProbe object at 0x7f809019a0>>
What coordinator are you using?
The SkyConnect Multi-PAN
For me also HA SkyConnect
the Multi-PAN part of that is actively discouraged
Is it possible to disable it?
I’ve recently added some repeaters to my zigbee network. How do I get my Aqara devices to connect to the new repeater that is 1meter away from it as opposed to coordinator that is on the other side of the house, two stories away?
Oh. I think I just figured it out
You don’t.. either they grab new routes or you re join them
I was removing the devices from HA and re-joining them but they kept joining the co-coordinator. I didn’t notice there was an add devices via this device option on the smart plug. Adding it that way may have been what I should’ve been doing. Just confirming that now
They can and will migrate to better routes if they’re zigbee 3.0 ones like the P1 but not the older models those like to chill with their first route
Hmm…I must be missing something. My motion sensor doesn’t appear to want to pair with one of my routers. I think I removed the device from HA by removing it through the UI (the old trash can icon when view the device details) and when I start the interview process it succeeds but if I view the zigbee network in HA the diagram shows the motion sensor directly connected to the co-ordinator and not the router. The router is 1 meter away and the coordinator is 2 floors away. What am I missing?
The network visualization isn't realtime: it takes four hours to update
Gotcha. Is there a way for me to check how it is connected in the meantime?
You can click the "refresh" button on the network visualization page and wait a few minutes, it'll re-scan your network
is this to keep from unnecessarily adding a lot of traffic to the mesh?
Cool! I also had to hard reload my browser window but I got an updated view of my zigbee network. I wanted to have all of my devices join a router instead of the coordinator because I wanted to add a sensor to a door that is right beside the coordinator and it wouldn’t pair because the coordinator had hit its limit. Thanks for the help everyone!
Yes, installed the Zigbee Home Automation in HA. Installation is fine, I can see the USB controller and the Smart Plugs and Motion Sensors. I just can't see if the motion sensors are detecting or not.
I made those 😆
Neutrals, if just for switching on / off lighting, aren't really required so it would be seen as unnecessary to install them.
Could potentially add neutrals depending on the route the cables take from the light to the switch and back.
Does zigbee expose a transmit power setting or how does it decide that?
Do you mean ZHA?
just zigbee in general, I am using z2m and cant see a transmit power but if I knew the cluster name I can go through the dev console
I work with thread mostly
For devices, or the coordinator?
devices
Pretty sure that's not a thing
ie I have some battery devices and I have mains routers near them so I want to turn their power down for battery
You could check the specs to confirm
ok
Devices pick what they need to do
ok so its not configurable in zigbee, they will dynamically decide on their power based on route cost?
Based on ... however they were coded to behave
You can't assume any standard behaviour
so its not in the standard?
Even if it was, what makes you think manufacturers would care?
Zigbee doesn't do standards compliance testing, it's not like Z-Wave
Just look at the shit show that's anything Tuya, plus the fun and games of the original Aqara range
https://www.silabs.com/documents/public/user-guides/ug103-02-fundamentals-zigbee.pdf and the other specs may help you
Just an f.y.i. - getting an error 500 from zigpy ota provider Salus connect https://imgur.com/a/nnatTyb
Logs:
Logger: zigpy.ota.provider
Source: runner.py:188
First occurred: 10:06:15 AM (2 occurrences)
Last logged: 10:09:07 AM
Salus: Couldn't download 'https://eu.salusconnect.io/demo/default/status/firmware': 500/Internal Server Error
@restive oracle @potent oar Will be fixed in today's beta
I think they're usually smart enough to reduce TX power if their parent router is nearby
You get hit by retries much more, though. A sensor in a good spot will last for years. One in a bad spot with RF interference/background noise due to distance to parent will retry commands many times before receiving an acknowledgement, which drains the battery much faster
First delivery of AliExpress Tuya zigbee sensors arrived today. My wife is gonna miss me.
Hi Zigbee lovers, i need desperate some help. i have an SLZB-06 als ethernet zigbee gateway, combined with HAOS and zigbee2mqtt. However zigbee2mqtt cannot connect to the adapter: as stated by logging: 2024-02-28T17:38:42.439Z zigbee-herdsman:adapter No path provided, auto detecting path
zigbee2mqtt is configured like this it's running in HAOS as default module:
What does the adapter section of the add-on look like?
Please use imgur or other image sharing web sites, and share the link here.
Image posting is blocked in most channels to discourage people from sharing text as images. Sharing text as images assumes that everybody sees the world as you do, which isn't the case. Some people are colour blind, or have visual impairment that means they can't make sense of an image of text.
Yeah... that's wrong 
You just want the three lines under serial, not serial or the advanced section
ah right .. thanks, took me only two days .. 😐
ah yes it works now, a lot of traffic is being shown in logging now ... thnx thats awesome!
yessssss zigbee2mqtt works .... finally, im litterly crying now .. like a baby
If you have 100+ devices on a channel, advisable to add a 2nd coordinator on a different channel for the chatty devices like energy monitors?
And is there an easy migration path for that with zigbee2mqtt?
What exactly do you want to achieve with this?
Stability/World Peace
My zigbee2mqtt setup is a bit unstable currently, repeatably failing mid OTA updates taking up to 10000ms to actually get a command through
I suspect traffic is high. I've just moved devices from seven seperate zigbee meshes onto one with z2m
Even for a typical CC2652P-type coordinator and a sufficient number of routers, even 200 devices is not a load that requires network splitting. If you observe unstable network, check for interference first.
And, say, rolling OTA over ≈30 hue bulbs simultaneously should work without any problems. If not — upgrade coordinator, check for interference with 2.4G WiFi, and add moar routers.
I've upgraded the coordinator as a bug was present in the previous firmware causing the coord. to hang
Not sure how to check for interference though, I'm on channel 11, nearby WiFi Ap on 2.4 channel 1 shows high interference but I assumed that was the zigbee mesh
Thanks, useful tool. showing over 80% on every channel except 20
Is your coordinator near any 2.4GHz interference sources, such as USB 3.0 ports or SSDs?
on a usb extender, but I have four APs in the house on 2.4Ghz
Most traffic on 5Ghz and 6Ghz... but a lot of 2.4Ghz only IoT
Move it around and see if things change. There are a lot of 2.4GHz interference sources that affect Zigbee
Do I really need to repair to change channel? Some of my devices are inside the walls 🤦♂️
You can use the above CLI tool to change the channel, it's in the README
Z2M, however, will not like that. You will also need to change the channel from 11 to 20 within your Z2M configuration file and in the coordinator backup file
I've just done a coordinator backup using zigpy, got a CRC error (2024-02-28 19:46:14.282 d0f5a498-tzb-zigpy-cli-tools bellows.uart ERROR CRC error in frame b'673e877e' (b'3e87' != b'fdb1')). This an issue?
can ezsp radio backups be trusted
?
you should go yell at whoever suggested you move to z2m without telling you to do an energy scan before choosing channels and adding devices
we try to yell it from the rooftops here
Nope
Caveat emptor; deploying anything larger than couple of devices require such measurement. It's a common practice even with WiFi.
usually this is actually me telling them to yell at themselves
Wouldn't have been a useful measurement at the time. I had meshes/APs on every non-overlapping channel
WiFi & Zigbee
But hey... we live and learn
I put the channel 11 ap furthest from my zigbee channel 25 coordinator just to be safe
Last year I bribed my neighbours' son with a cake and lots of mangoes. He secretly changed their WiFi channel to avoid interference.
#zigbee-archivedlife
that's hilarious
I have Aqara Light Switches single pole and Plugs. My plugs provide a Power sensor with data but my Light Switches Sensor is always blank. Any Idea how to get this fixed?
ZHA, right? Do you get events when pressing buttons?
Hey team, a bit new to zigbee and I’m seeing a posts that talk about zigbee devices, then using zigbee2mqtt, is that really needed? Can’t you just go straight to HA via ZHA?
Everything works except power sensor on the lights. I have 4 light switches and none provide the power sensor data.
I have two Plugs in the garage, one as a sensor and one as a switch for a vacuum. Automation turns the Vacuum on/off per the Poswer on the sensor plug.
What switch model are they?
Hello someone is available to help to debug my Z2M configuration please ? i don't understand why, but my devices are offline on Z2M. I'am using the conbee 3 it will be very nice to have some help 🙂
WS-usc03
Share the details (logs etc) and people can help if they can
Please use a code share site to share code or logs, for example:
- https://dpaste.org/ (select YAML for the language, and consider picking a longer expiry)
- http://pastie.org/ (select YAML for the language)
- https://paste.debian.net/ (you guessed it, select YAML as the language)
Please don't use Pastebin, since it can randomly add spaces to the main view. Please also don't share text as images since it makes it harder for people to help you. Remember that others may have colour blindness, impaired vision, etc.
Z2M LOG: Failed to ping (attempt 1/1, Read genBasic(["zclVersion"], {"timeout":10000,"disableResponse":false,"disableRecovery":true,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (no response received (5)))
Z2M can't reach the lixee device:
https://imgur.com/a/7ZHikmE
Hey folks, relative newbie here but I've done my best to find an answer before coming here. I switched over all of my IKEA stuff today from Home Smart to ZHA; everything went really smoothly at first with getting set up and recognized. When I started binding my remotes and devices again, the first (two lights in the same fixture) worked perfectly, but beyond that three groups of two (1 pair FYRTUR blinds with an open/close remote, 2 pairs of lights with one remote each) have not successfully binded. I've tried removing and re-adding devices, reconfiguring them, and creating groups and trying to bind that way. Anyone have any ideas? Thank you so much.
@cloud swallow hey sorry to bother ya again strix, but wanted to thank you for the help before there, I was able to finish the relay light switch project, your suggested circuit worked perfectly and for the next one I ended up using a 3 button zigbee relay switch with neutral (red traveler was used as an additional supply) and the rest of that junction was used as an extention junction box for the load to one of the 3 main sonoff relays I was working with.
Here's some finished pictures.
Thanks again, learned alot.
I'm using two automations per button
Imgur allows to upload multiple pictures to make an album.
One that conditionly turns on or off the corresponding light across the room and another automation that updates the state of the that "scene" switch when toggling the other relays directly.
I'll remember that for next time
Now that I've closed off one project ahaha I'm already struggling with another
you could combine them all into one automation if you wanted to
gotta jump to #automations-archived tho
Has anyone had experience on troubleshooting GiEX QT06 Smart Water Timers? This one https://www.aliexpress.com/item/1005004220714024.html
I paired it using ZHA, and it worked but only had the on/off switch instead of the other functions, then after a few days it refused to turn off, so I unpaired it and tried to re-pair it. It wouldn't re-pair, even though the light was blinking saying it was in pairing state.
So i tried uninstalling ZHA and installing Zigbee2MQTT, but it still won't pair. Any ideas on what to do?
Thanks
@regal pumice I converted your message into a file since it's above 15 lines :+1:
For the main light, the common conductor is probably my load, and the other two return through the light fixtures to the house switch, if I can figure out which is which, I just terminate load to lout and branched supply from the pot light phase to the loadin and then the other two are for the l1 and l2 on my switches?
My brains about to fry, ahaha
Would really appreciate the help with this one.
@cloud swallow sorry for the Bing and the annoying message wrapping bot, hopeful you might see a unique solution
i have no experience with it buit it looks doable. maybe try to make sure ZHA is fully uninstalled or that your pairing correctly or long enough or are close enough to a coordinator
thanks, I will read and try again
Do i can set Transmit power of Sonoff Dongle-P coordinator to 20 ?
Thanks
anyone with skyconnent and ZHA start having connection issues after updating with core 2024.2.4 and OS 12.0 ?
as for automations, i haven't even got home assistant sorted. got to get machines upgraded first (still running ubuntu 18!) and before i do that, i need to get my custom scripting into git. all that's somewhat been on the backburner on account of demands of $dayJob, $secondJob and some of the volunteer stuff i do
Hello, something went awry with my 11.5 install and the Zigbee sensor paired with Zigbee2MQTT, but didn't offer to rename to a friendly name. How can I rename 0xa4c1385ecf65906f Humidity to something else?
In Home Assistant 11.5 Dashboard, when I select the Pencil icon to edit, therre's no options to edit the Sensor?
Z2M did on my 1st and 2nd HA installs, offer a step where I can add a friendly name.
However this 3rd install (after an install issue) didn't offer a friendly name.
Ok, but i thought it was Z4M. This is the process I noted on the 1st and 2nd HA installs. https://dpaste.com/CUUJHLCBJ
*Z2M
Anyway, wherever the friendly name option appears from, I didn't receive that prompt this time after the Zigbee sensor was paired.
You've always needed to rename manually in Z2M
HA also never prompts you to rename, unless you mean you've changed the name of the device in HA
(you should always rename in Z2M really)
The Friendly name thingy was prompted after enable Zigbee2MQTT Bridge Permit join (near top right)
Nope, you clicked the pencil
Right now, I'm in Dashboard and see a pencil, different to your attachment.
You also see the pencil in the device page
Yes, I remember clicking the pencil as per your attachment on my 1st and 2nd installs of HA.
However, I didn't see this page on this 3rd install.
Therefore, I'm in a different page and seem to access the sensor on the Dashboard.
Look at the Devices page on Z2M
Or click on the device itself
Then look at the bottom of the About page
Ok, I found it...it was in OPEN WEB UI.
oh, and other "exciting" stuff like finally getting damn inverter and 29kWh worth of batteries installed, a project which I've been trying to get done for over two years. (can't legally do it myself because messing with the consumer unit/fuse board must be done by a qualified electrician in the UK.) solar is yet to come, but it is supposed to happen in a couple of months.
@regal pumice you'd need to draw a diagram. i can't readily picture the problem. as for "what is the load", that is where power is dissipated. one thing to be careful of is daisy-chaining loads. i'm not sure if that's what you're doing, but the possibility occurred to me.
some devices will cope with that under some conditions, but it's a possible fire risk and is very likely to be unreliable because one will limit the current available to the other, and the amount of voltage each will see depends on their respective "effective impedance" (which, in anything more complex than a bulb, is likely to be variable).
eg, couple of years ago, an electrician installed an over-mirror LED light/razor socket in the bathroom, but made a mistake in wiring. got it wired in series with a CFL light in the adjacent room. there was enough leakage current through each that each light worked and we were none the wiser until i tried to use my clippers, which did not like being deprived of the expected 230V AC! it also caused the light in the other room to turn on.
Solar is awesome, I've got a small configuration planned for a holiday trailer I was refurbishing.
Would love to do a full scale system someday for home, hopefully it goes well for you.
Would be interesting to learn later on how it went
When it comes to daisy chaining loads? Nope I've never done that thankfully, I had a feeling that idea I expressed would have a similar out come to what you described.
I'll draw a messy diagram tomorrow and then take some pictures (not gonna use ibb.co again, thanks for the head up) been using that for years. 💀
In the end I might still need to pull new wires just to correct things, hoping to get your thoughts though before I do anything drastic.
HA just updated the firmware on a dozen ThirdReality Zigbee devices. A few had to be restarted but it appears they resume where they disconnected. These were the first of my Zigbee devices that were updated by HA. NICE!
I just noticed a bunch of Zigbee diagnostic sensors for the controller. Are those new, or have they always been there and failed to see them? Is there a downside to enabling these sensors?
They are new. You can enable them if you want to debug issues with your coordinator/network.
There shouldn’t be a real downside to enabling them. Just another entity each.
Thanks, I enabled them but they are "Greek" to me. My Zigbee network, 28 devices, appears to be running well. Are any of these sensors something I should monitor as an early warning of problems?
@shrewd pewter
https://www.zigbee2mqtt.io/guide/faq/#how-do-i-migrate-from-one-adapter-to-another
from sonoff-P to sonoff-E
on zigbee2mqtt
Who told you to do that? https://www.zigbee2mqtt.io/guide/adapters/#experimental
E is only now getting backup support with the new experimental driver... migrations are a long way off
I've always just used ZHA and haven't had any problems. What's the ZHA vs Zigbee2MQTT pluses and minuses?
Z2M has nominally better device support, but more fiddly to set up. ZHA is part of HA
Frankly, if you're happy and it works don't change - both work well
ZHA is also going down when you update/stop/restart HA. Might not matter much to you though.
Thanks. I'm still a HA noob, only 5 months "in country" and there's enough to learn and do in the HA ecosystem without asking for trouble for minimal benefit I'll stick with ZHA. The new built-in firmware update feature is nice. Updated a dozen devices this morning.
Thanks for trying out the beta!
HA beta's have been OK for me so far
Just trying to work out but does anyone know if ConBeeII works using a virtualbox install ?
Yes, it works
I can select the USB device from virtual host but then the HA instance keeps giving me an error - im just trying to load the log now
Any tips on naming devices? I was naming them "[room] [type]" so like "Nursery Motion" for the motion sensor or "Front Door Open" for a door sensor. But them trying Z2M instead it mentions naming/grouping devices with a slash like "nursery/motion". So it made me think about the names as I'm reading everything so theyre easy to find in the device filter list. I've also seen some people use the manufacturer name in the name as well .
What error?
Moving discussion here based on some feedback. Is anyone else having any issues with Inovelli Blue Zigbee Fan Switches? In the past, they'd go unavailable every once in a while, but would come back after I restarted HASS. But as of a week or so ago, they won't come back no matter how many times I restart.
Some details, if it helps:
- I'm using Z2M, and have a total of 41 Zigbee devices connected, the rest work fine, and my 3 fan switches are not working.
- I'm using a Sonoff Zigbee dongle, and I have a USB extension on it.
Make sure the attribute reporting configuration took… not sure how to do this w/ z2m
Anyway to disentangle my Sonoff 3 USB adapter from HA? Now I can't start my HA Docker Container. I was trying to get Z2M working but kept getting Error: Error while opening serialport 'Error: Error: No such file or directory, cannot open /dev/ttyUSB0'. ttyUSB0 seems to be the correct device (and flashed it with the updated firmware for Z2M). Rebooted the NAS, now I can't get the HA container to run with the error: "Start container homeassistant failed: {"message":"error gathering device information while adding custom device "/dev/ttyUSB0": no such file or directory"}.
I'm not familiar with Docker, but I had a similar issue on my Proxmox setup a while back, and IIRC the fix was adding this to the config:
adapter: ezsp```
That fixed it for me too. I also have the type E dongle version. I was able to use a web flasher by plugging it into my PC and flashing it with custom firmware that also enabled matter/thread. I also added the adapter line as @winged coyote mentioned
Oh shit. THis just reminded me that my dongle is the type E version as well (I couldn't find the Type P version anywhere). I wonder if that could be causing my Inovelli issue
Definitely shouldn’t be using the e with z2m dude
Mines a type P. I did flash it with new firmware but haven’t been able to get it working with Z2M. Is there a way I can at least get HA running again ?
I don’t get why HA is referencing ttyUSB0. I had already removed ZHA before the reboot. No mention of ttyUSB0 in any of the HA YAML files
Check the addon config tab.
I can’t start HA so how could I access that ?
What does your Docker config look like?
For HA? I’m not using docker compose as I’m stuck on DSM7.1
Old NAS, DSM7.2 not supported.
Something created a devices: - /dev/ttyUSB0:/dev/ttyUSB0 mapping for the HA container, this error is from Docker
Sorry, I missed (or likely forgot) that you don't run HAOS.
Yeah that’s where I’m scratching my head 😅😅😅.
Docker logs show this reference to MQTT
2024-03-01 00:41:20.484 WARNING (Thread-2 (_thread_main)) [homeassistant.components.mqtt.client] Disconnected from MQTT server 192.168.1.200:1883 (7)
2024-03-01 00:49:30.489 WARNING (Thread-2 (_thread_main)) [homeassistant.components.mqtt.client] Disconnected from MQTT server 192.168.1.200:1883 (7)
2024-03-01 01:02:04.664 WARNING (Thread-2 (_thread_main)) [homeassistant.components.mqtt.client] Disconnected from MQTT server 192.168.1.200:1883 (7)
s6-rc: info: service legacy-services: stopping
Found 2 non-daemonic threads.
Why shouldn’t the E be used with z2m?
experimental aka beta support, we actively try to save people from going down that road
also, i'm not a zigbee protocol expert, but myself and others like/prefer the older/trusted cc2652p chipset that the P uses, not the efr32 based that the E uses
Damn. I have the E. No issues yet, but I’ll keep that in mind if I run into any issues in the future. Thank you.
for fun you could look at the logs and prove yourself wrong
Why is this? I have the type E and after flashing it with the other firmware it just worked. Still adding devices back though. I know it's less supported than the P though.
Yea sorry I was still reading down the history. Just saw. I'll check my logs and see if issues show up
If you don't have any issues, then it's probably fine. zigbee-herdsman is getting a lot of EZSP fixes/changes still, so it's still "experimental", but it should already work fine at this point.
I've had the E variant for some time and got it as a recommendation. So it is what it is.
There's also a new EZSP driver, ember which should bring improvements
That being said it does seem to be having issues updating firmware for my 2 3rd reality door sensors. I'll have to examine any errors in the logs
Ok. I'll look that up
This is the tool I used to flash the other firmware which adds the thread/matter support
https://dialedin.com.au/blog/sonoff-zbdongle-e-rcp-firmware
Yeah I couldn't find the P at the time (might look again) and hadn't had issues with the E until now. Now I'm not sure I have it in me to manually reconnect 40+ devices if I were to switch controllers 😂
Read up a bit maybe it’s less volatile now
Still not something I’ll ever suggest or use myself
If people don't use it, it won't get better 😄
If end users come to home assistant and have a bad time then that’s also a problem
We sell people on ditching shitty proprietary bridges not testing beta stuff
That’s a choice not something that should be forced on people for the greater good
/me points to his open issues testing home assistant beta
It's clearly tagged experimental, it's up to people to pay attention
If they don't pay attention, or don't read, then that's not something the project can do anything about
There’s so much misinformation on YouTube and forums that’s out of a lot of people’s control even if they do their due diligence
Of course, all the YouTube shills that push their favourite product have a lot to answer for...
Well, people should check the official docs, for any product. But clearly many people don't, because ... 
Sonoff's naming scheme for these is also horrible lol
Almost as bad as Tuya
The Sonof naming is indeed confusing. Especially when you're just searching for it on Amazon
I'm having trouble getting Z2M to launch after flashing the firmware, so I may need to just bite the bullet, get the P, and repair every device
Uh, what firmware did you flash?
Maybe you need to unplug stick and put it back in?
You flashed MultiPan firmware?
The Multi-PAN one on the documentaiton here, yeah: https://dialedin.com.au/blog/sonoff-zbdongle-e-rcp-firmware
First, I wouldn't do that. Revert back to EZSP firmware.
If you really want to try that (which is more experimental than just using the dongle "raw" with Z2M), you need the "Multiprotocol" addon (like mentioned in the article)
Yeah, I did install the addon, and configured Z2M to point to it
Don't use multi with Z2M unless you want problems
But yeah I'm actually flashing it back to EZSP now, it was out of date so maybe this will help
Good to know haha
Hell, don't use multi-protocol at all unless you're happy to be at the bleeding edge, and maybe a little further out
Well, I updated the dongle with the latest EZSP firmware and the fans work now!
Thanks everyone for the help and discussion
Honestly just don’t use multi protocol at all
I know some folks had success with it but IMO it’s more problems than good rn
Yeah tbh I had never heard of it, just came up on it when someone mentioned my controller may be the issue haha...will def steer clear
IIRC I've even read that there are issues with Inovelli devices and the stock firmware on the -E dongle. The community flasher you used uses "better"/newer firmware that fixes some issues.
Makes perfect sense, that was most likely my issue because I've had issues with the fan switches from pretty much day 1
$50 per switch i would've been a bit upset
Indeed I was lol
are you pairing them with the other inovelli product that sits in the ceiling to control 'dumb' fans with no traveler wire + a light on them?
how long after a migration should ZHA start working? My zwave 800 worked after a couple minutes. the migration was to a new box using a full back and restore. i went from a cheap chinese nuc to a dell sff. i did not, at any point, change radios, everything is exactly the same
its cycling "initializing" and "failed setup" every couple minutes
the ONE VARIABLE is that i have TWO zigbee radios from sonoff, however, the second one is UNPLUGGED
i have two because i was testing out z2m and only have one device on it. when i did this 30 minutes ago, it attempted to change radios. i shutdown, removed the z2m radio, and did another restore with only the ZHA radio plugged in
Nah, luckily my fan didn't need it. I only have one ceiling fan though, the others are bathroom fans actually
i think im gonna switch to using all zooz double switches (zwave) in bathroom cuz the gang boxes already need to be replaced and this lets me go minus 1 gang due to it taking the place of two switches
Check the logs. Settings -> System -> Logs.
It’s possible that the path for the coordinator changed. In that case, just go to the ZHA config page and click on "Migrate radio". Then, "reconfigure the current radio", select the path for the dongle and continue the setup flow. "Keep the current network settings".
ok!
@mellow geode is it fair to say that as long as i have a backup, im good? meaning specifically, let's say the zigbee radio died for whatever reason. in any situation, so long as i have a backup, i can do a restore and then a migrate? i dont want what happened before with the skyconnect where i had an incongruity of radio to IEEE. i did update both of my skyconnects and i do intend to migrate from the sonoffs to the skyconnect at some point. based on your reply to me, i assume this is true because that's whats ultimately happening
Yeah, one thing I didn't think of ahead of time was separating things out oun my gang box. Unfortunately my bathroom fans have a built in LED on them, so when I turn on the fan, the harsh LED turns on too. I bet if I looked into it I could separate them, but I didn't feel like digging into the ceiling just yet lol
Honestly I bet it’s tied to the same relay that triggers the fan
Look up the model
Restoring a HA backup won’t change the network settings on your Zigbee stick (which is good).
But ZHA automatically keeps multiple coordinator/network settings backups which can be restored using the "Migrate radio" menu (you can choose whether to keep the settings on the coordinator, restore a backup, or wipe the stick and form a new network).
You can also download a coordinator/network backup from the ZHA config page.
When migrating to a SkyConnect again, just make sure it’s on a new-ish firmware version to allow writing the IEEE multiple times
Is by any chance anything broken in core 2024.3.0b2 related to Zigbee? I've already had a couple instances of all my zigbee devices being offline... (I posted this in #beta but maybe it was better I posted here... never know since it is a beta & zigbee question what takes precedence)
zha?
yes
Enable debug mode and capture some logs
ok
I found the zigbee stick in "initializing" mode last time around
had to reboot to restore zigbee
I'm trying to update my Third Reality contact sensor 3RDS17BZ firmware thru Zigbee2MQTT web UI OTA tab...it fails and it says device didn't respond. Do I have to put the contact sensor into pairing mode for the OTA update to go through?
Did it fail to start or fail to finish?
It seems like it starts cuz I get the blue pop up that says "Updating firmware"...I wait like a couple minutes and I get the error that the device didn't respond to the OTA update.
Disregard. Troubleshot and my extender was the issue.
DId you wake up the motion sensor whilst starting the update? Like, open/close the sensor?
Is there a 30 second timeout or something so you don’t have to hit a sweet spot?
Depends on the end-device. Maybe a couple of seconds, but probably not 30
I mean from zha
^ this is in regards to Z2M though
Crap lol
Good idea! Will give it a try!
Didn't work, sadly.
Try repeatedly open/closing the sensor whilst pressing the update button (if you didn't do that already)
I've done that too after trying a one time open and close 😦
I guess it's not really that big of a deal, I just dont like seeing that notification next to my Settings lol
Appreciate the suggestions nonetheless!
disable the entity and try again in a month?
Being a HA noob, I was about to say something stupid but okay yeah I see what you mean, disable the update entity for it...good idea! Thanks!
Sweet, thanks ya'll!
Sorry I was gonna expand and got side tracked
Found another board I’m interested in.. KC868-A32 ESP32 Development Board
Looking for the right channel for this tbh
Anything esp is #diy-archived pretty much
I've got what I thought was a light group in zigbee2mqtt but it no longer seems to identify as a light anymore. Is there a way to verify status on group objects?
Just ran into a silly situation
One the the machine screws on my zigbee relay modules just fell out into a vent
Can't recover it
Anyone know what kinda replacement screws exist, that might fit in general?
That's way too vague. Measure it, show a picture, perhaps state the device.
Do Tuya name stuff? Isn’t it the manufacturers that all work to their own standards ? All seems very random
Do you have money? Great, you can get tuya to make your dumb device smart. You don’t care if it adheres to standards, you just want to make money. - tuya
Yeah totally. They just make the automation chips. We used them in the Silvercrest devices
Yes, they do, that's why you get all the _TS... and the like, often the same name for different devices, and sometimes different types of devices
Hi, I'm not sure if I'm at the right place to ask a question but..
I'm using Ikea Dirigera hub, and written som C# code using a library to fetch statuses for different devices, like humidity and blind state etc.
I want to track these and save to my own db, does it matter how often i fetch the statuses from the dirigera hub? I mean battery wise, is it draining battery the more often i call, lets say if i update every 10 seconds, or 1 minute, does it matter?
I know the title of this thread says if you use some other hub you can't really give answers, but I suppose zigbee battery drain is same regardless of which hub/method you use to interact with your devices?
The hub won't be asking the sensors for new values, the sensors push those when they want
TL/DR: You can poll every second and it won't impact battery life
that's what i was hoping for, so the hub kinda caches the values on it's side, and manages all that? thanks alot for the quick help
ahh, so the sensors just "broadcast" their values kind of? but what about blinds etc, that you can call and actually execute things?
Perhaps those works a bit different
You want to read up on the difference between end devices and routers
Thank you
Hello, I've got channel utilization of 93%, is that considered too much?
I'm not seeing any Zigbee (ZHA) issues on b2 or b3
Aqara Dual Relay Module T2 looks really nice
looking for something for all of my wall switches
What is the best way to publish data from my Zigbee devices (which I use via Z2MQTT) to another MQTT broker on my internal network?
Bridge the brokers
Anything over 70% is not good. Move your coordinator onto a USB extension cable and away from SSDs, USB 3.0 ports, and WiFi routers.
I routinely run 75% on a HA Yellow (using a CM4 with Wi-fi and Bluetooth) built-in Zigbee coordinator, internal Zooz Z-Wave board and an SSD, supposedly a worst case scenario, with ABSOLUTELY NO Problems since I brought it up 6 months ago.
I run close to 90 on a shared channel with a hue hub close by. Id probably only start to worry about that when stuff starts acting up, until then it's not something that needs to be addressed
It may very well depend on how many devices you have around
Move you coordinator to Channel 25 to minimize interference by Wi-Fi which is Zigbee's biggest enemy
also dont you eu folks have chicken wire in the walls effectively limiting interference from further distances?
If that's true that will greatly impact low power devices like Zigbee and Z-Wave
https://www.theguardian.com/technology/blog/2010/jan/02/wifi-walls-plaster-lath-wire-blocked it's very much a thing
Holy crap!!! I wonder how many of our EU friends know this. That will kill low-power Zigbee limited to about 12 dBm ERP. Wi-fi also impacted but not to the same degree because Wi-Fi (2.4 Ghz) is allowed 36 dBm ERP each 3 dBm is doubling of power Wi-fi puts out about 200x the power of Zigbee
there's not enough time in the day for me to try and warn people about all the things lol
Won't somebody think of the chickens?
Talk about problems. I was involved in the design of radio devices limited to 0 dBm, 1 mW, FCC part 15. They would have never worked in chicken wire walls
That article also mentions it being done in the US
Heck, the study area was San Francisco
hello guys, can somebody help me to find the issue with my z2m ?
Not sure if i am asking in the right channel but i'm looking for a led strip to use with Z2M, so i need one with a zigbee controller but i want it to specifically support the transition functionality, how do i begin to look for this?
i have only recently started with HA, so i certainly lack the experience. i have worked through various tutorials but as of now my z2m cannot find any devices. so i wanted to check with you experienced people to see if the messages from the log indicate an error. mosquitto says this over and over again although the detection of new devices is off:
2024-03-01 19:45:18: New connection from 172.30.32.2:50448 on port 1883.
2024-03-01 19:45:18: Client <unknown> closed its connection.
That's got nothing to do with Z2M "finding" devices
- Did you enable pairing in Z2M
- Did you set the device into pairing mode
- Is the device in range (no more then 6 to 8 meters and one wall) from the coordinator
paring is activated
the device has been reset and is located directly next to the coordinator
the coordinator is not within range of a wifi router or similar
I have already changed the wifi channel so that zigbee can work
hey guys not sure where to ask but i have a question about connecting device with zigbee and other things like tuya and stuff i have a vm running home assistant and for now all i got was 2 chromecast but im plan on buying smart lamps and stuff but no clue what i need for tuya lamps or zigbee its all a bit confusing with zigbee having more then just one protocol? if anyone could give me a little run down would help out alot
You need a Zigbee coordinator/radio to be able to talk to Zigbee devices. If you avoid anything Zigbee and Tuya, Zigbee is just a single protocol. Once you start adding Tuya Zigbee devices, you will need to worry a bit more about device support.
my devices in zigbee has an "id" property, are these hardcoded or will they get a new id some time? let's say if theyre out of battery for a long time or i move/restart them, etc.
In z2m. I have a wall dimmer in detached mode, and some lightbulbs. I want to control the bulbs using the dimmer wheel + on/off. I can link them together in HA automations but its a bit buggy and unresponsive. Is it possible to bind the dimmer to the bulbs right inside zigbee2mqtt? I cant figure out the bind functionality
i added my hue dimmer switches via z2m, when trying to get them into homekit via HomeKit Bridge it gets really buggy...
i do get 11 unconfigured buttons for one single dimmer switch?! https://i.imgur.com/DJic8UN_d.webp?maxwidth=1520&fidelity=grand
the order they are shown in homekit is random aswell... starting with button 11 in this example
my understanding is that the homekit bridge needs to be rewritten completely and we're just stuck with what it gives us
In Z2M what does state_action actually do? It says 'State actions will also be published as 'action' when true (default false).' From my understanding it exposes the state to HA?
Doesn't it usually do this by default, or am I missing something here?
hey, anyone here has an ikea Somrig zigbee switch. I just got two and I can't get them to pair. In fact they don't even seem to boot as I can't even make the built in LED blink pressing the pairing button, but the chances of me getting two faulty units seem vanishingly small, so maybe I'm doing something wrong?
https://www.zigbee2mqtt.io/devices/E2213.html when i serach somrig i get one result, so i assume you mean this button not a switch
that or it's a brand new product
well,yes, it's a button
https://www.zigbee2mqtt.io/devices/E2213.html#pairing then this should work
THANK YOU!
How come nowhere in the instructions was mentioned that you have to press the pair button 4 times? I tried double press, pressing 3s, 5s, 10s. What psicopath decided that a button hidden inside a device needed exactly 4 fast presses?
ask ikea?
lol
idk the directions on z2m are all from end-users
so they are real-world tested not whatever they did in a lab or got sent to marketing and chewed up and spit out the other side
I know that ikeas was to blame, and also me because I didn't even consider that z2m would page pairing instructions for each device on the docs
I blame a guy named Lars
for sure
Hi, can anybody recommend me a shutter actuator that works with Z2M? Currently looking at one from Nexentro. Is that good or..? Thank you in advance!
"remote switch"?
a zigbee bound switch or remote will still control a light or w/e if you choose to use zigbee binding
no
but yes if you bind it instead assuming both devices have the same cluster (i think)
Hello, I'm a HA noob and have a Zigbee temperature sensor working, but yesterday the Zigbee temperature has frozen on 23.59 degrees centigrade. Is this typical? I guess I'll reset the Zigbee device, but I am curious if this is a thing or not?
Which device? Is it far away from your zigbee coordinator?
Do you have mains powered devices on your mesh?
It's about 3-4 metres from the Zigbee coordinator in the back of the computer. Not sure what a mesh is, the Zigbee device has 2 AAA batteries. Looking up the model...
Which zigbee coordinator and also this needs to be on a usb extender
Zigbee sensor: Tuya WiFi Zigbee Temperature Humidity Sensor Thermometer Hygrometer Smart Home
Zigbee coordinator: SONOFF Zigbee 3.0 USB Dongle Plus Universal Zigbee Stick Support Home Assistant
A zigbee mesh is what we’re all using. As you add devices, specifically mains devices like light bulbs, light switches, etc will act as repeaters on your mesh to give you more range basically
Wow, thanks, that's a great visual...looking for a USB extender now 🙂
With your current setup it sounds like interference to to usb ports and possibly other interference
This is probably just the issue itself
You also want to escape a network or server rack, move away from APs, SSDs..
Ok, no APs, but computer has 2 SSDs.
That’s fine just not like next to them
Everything is Cat 6 except the Zigbee sensor.
Great, thanks for the plan, doing it now 🙂
https://tubeszb.com/product/cc2652p7-zigbee-to-poe-coordinator-2023/ I use this instead of a usb coordinator so I can centrally locate it
Also no usb 3.x for interference
Oh wow, you mean you can place it in the middle of your sensors, using a Cat 6 for power...nice. That could be my next project.
@ tube here makes them himself it’s a one man shop
He provides great customer service but I won’t tag him on a Saturday night just for fun lol
He open sources the design if you want to build one
I'm sorry, I'm unclear on that? Is @tube a Discord person address or something?
If I didn’t put a space it would notify him like @mint hatch
Generally considered bad discord etiquette unless needed
But yes hes a person I think
Possibly an android haha
My point was you can get help from him here if something is wrong
Ok, thank you, that's been really helpful, just what I needed as noob feeling a bit lost and unsure of things 🙂
Ya it’s overwhelming but honestly super simple just a lot of steps
It’s not like math turning into calculus it’s just a shitload of terminology and little things
Finally got some pictures and a diagram, excuse my mobile drawing skills 🤭
Grey is white and "main" refers to the main lights, "pot" refers to a set of pot ceiling lights.
I want to add two separate relays to J1 "Junction 1" and a low voltage "dumb" paddle switch at J2 "Junction 2".
Using the same 2 gang iot relay design as last time.
Couldn't get imagur to work so went with this site.
Diagram - https://postimg.cc/F7qZfjyP
Pictures - https://postimg.cc/gallery/8kJFRxt
https://imgur.com/a/jyojE4N picture 2 this is very unsafe btw
How are you going to lick the wire if it's buried in the outlet?
both black (line or load) and neutral are exposed
that would fail inspection faster than a.. idk too late for my wit i guess
https://www.youtube.com/watch?app=desktop&v=M8Ic4L0niS8 i would highly suggest doing this with pigtails and wagos
also this should be pretty straightforward but between your beautiful mspaint drawing and the back and forth i'd rather you just just explain what you are trying to do here (fresh)
Yes I absolutely noticed that too 💀 that was not my doing, blame the fella the original owner had renovate the garage into a room.
From what I was told he had his 14 year old brother do it, guy claimed to be a electrician from Germany, I can assure you he was not an electrician just by looking at his work, everything doesn't follow color convention, white is the phase and black is the "load", poorly cut back stabs and this one set of conductors looks as if it's missing romex 💀I'll do my best to correct it without re running it, but if it gets to that I'll do it too.
yes you should really open up every light switch and outlet and then sleep better at night
most of my shit isnt even grounded (or wasnt until i redid it)
yeehaw texas laws in 1980
Mine looks grounded?
i never said it wasnt
The main issue I see is lack of romex on this one drop
"missing romex"?
Other then the obvious
are you talking about the jacket
Yea
or the overall length of the cable? or?
There is a code minimum, 1/4", but no maximum. It could be argued that leaving most of the sheathing on is poor workmanship
quarter inch isnt much so you're probably okay
but you should watch the youtube video i showed and use pigtails and (ideally wagos)
I thought the jacket must protect the conductors within the wall?
no the jacket is so the (entrance to) the gang box cant damage the wires
especially necessary for metal boxes and i'm just a nerd please consult an electrician or read the book
I've always seen the jacket go all along the whole run?
Only be cut at the junction to expose the conductors 
it is
here i thought you meant missing from the gang box not the entire homerun back to the breaker*
also this is #hardware-archived talk we need to move there
https://i.imgur.com/54TOu6R.png - any way to Decipher what these attributes mean? any place they might be documented?
Hello, I just added a 5 metre USB extension between this computer (running HA as a KVM) and the Zigbee sensor. The computer recognises the Zigbee sensor, but HA doesn't. I've checked the KVM appears to still passthrough the same USB details as previously. (previously the sensor worked for a week, but stopped, so I'm trying with a usb extension).
I'm considering removing the previous KVM USB passthrough and re-adding the USB passthrough.
Ok, looks like removing and re-adding USB passthrough may have fixed it.
I gave up on updating the firmware of my Raspbee(1) and ordered a SkyConnect. I read the migration guide, but that looks specific to Conbee and Raspbee2. Would my best route be that I remove devices, Deconz Add-on, GPIO board and start anew? Thanks in advance.
I just added a USB extension to my Zigbee coordinator, but the Zigbee temperature sensor is still reporting the same data of 32.59 degrees centigrade?
Power is blinking in red at 3%, however it is still power, so the temperature should still adjust right?
Setting up a bunch of Hue bulbs in HA today. What is the best approach for groups, so I can controls sets of bulbs together, adjust color temp and brightness together etc. Is it best to create "groups" in the Zigbee2MQTT interface? Or use the 'helper' in Home Assistant to create a group? thanks
They work slightly different: https://www.zigbee2mqtt.io/guide/usage/groups.html#how-do-groups-work
As far as I know HA would just send each individual device a command.
Oh right, so it looks like the Zigbee2MQTT groups tab is a front-end to the YAML that you could manually edit.
I was going to make a 'helper' group in HA, and set it to 'hide' the members of the group. That way I don't see my individual lights, just see the group name.
I guess I'll just give it a try and see
(A lot of the stuff about groups seems out-of-date as it looks like HA improved the group management via the GUI in recent releases)
I would like to create a scene with thermostats from Aqara E1, but I get:
Failed to call service scene/turn_on. must contain at least one of temperature, target_temp_high, target_temp_low.
Does anybody had smiliar problems? It seems missing/wrongly implemented quirk in zha-device-handlers, but I haven't found any related issues yet. I use zha.
It’s because you’re probably not setup using the full path of the usb and unplugging it made it turn into /usbtty1 from usbtty0. It’s recommended to switch to the full path for this exact reason. It will bite you again, even if you don’t unplug it
That or you passed thru to the vm wrong
Those are the raw attributes from the ZigBee cluster. You can find their meanings the the ZCL R8 specification.
Alrighty
hi
I use zigbee2mqtt. It works well. However I have two devices who report state as "unknown" in lovelace, but they are reportink OK-ish in the z2m itself
when click, they actually control the device, but state is still unknown...
also how do I upgrade frigate version on LXI?
I guess you wanted #cameras-archived ?
Let him cook i gotta know what an lxi is
something weird did happen after the recent update of HA: zigstar coordinator became unavailable. Url is still the same (socket://uzg-01.local:6639), I can telnet here (and see some garbage) but HA can't initialize ZHA properly
tried to delete & re-configure ZHA too - in this case it just hangs, I mean HA keeps showing popup
but can't finish configuration
any hints on troubleshooting?
ZigStar and every other TCP coordinator has two chips: an ESP32 and the Zigbee chip. Being able to ping the ESP32 doesn't mean the Zigbee chip is working.
Have you tried unplugging it, waiting 10s, and plugging it back in to reset the Zigbee chip?
will try, thanks
I would also restore to a backup from before you deleted ZHA. You'll lose all of your entity customizations even if you get it working again.
You won't lose your network settings, just device names
hmmm, interesting, after powering off, waiting for 10+ sec and powering on HA auto-detected it and asked to configure
so I guess powering it off made some diff
now I'm trying to recover from previously 'bad' backup - now it doesn't say its bad, but keeps spinning popup
how much time should recover procedure take?
hmmm, there is still something wrong... can't get it configured even now
any other ideas?
should I re-flash zigstar or something?
Can you enable ZHA debug logging (https://www.home-assistant.io/integrations/zha/#debug-logging), try setting it up again, and post/DM your log?
You'd have to remove it from your config and restart Core
It'll be in your main home-assistant.log file
When setting up ZHA again, did you restore the network settings from the last backup?
nope!
ZHA backup I mean, not HA backup
I selected 'keep existing settings' or something
making backup just in case 🙂
thanks again! still not clear why did 'configuration' took so long, but 10sec+ power off did the trick!
It should time out after 10-20s so that may be a bug. If you get it to happen again, send me a debug log and I will take a look
Glad it works again
Hello, not sure if this should be in zigbee or ha? I deleted a zigbee sensor, but the entities stays in the dashboard? I re-added the same sensor which shows the new entities in Devices & Services, but the new sensor doesn't show on Dashboard, just the old sensors with error: Entity not available: sensor.humidity
Can anyone help me with this. I have a smart plug and after moving from ZHA to Z2M, the current power use shows up in the diagnostic section instead of the sensors.
Its detecting correctly, but just weird that its in diagnostics :S Is this a setting I can change somewhere in Z2M?
Does it matter which section it's in?
Only stops it showing on the overview page which shows all the sensors, just means it has to be manually added to a dashboard
Hi, I am trying to add a Tuya device quirk (for TS0052), I found the generator, and testing it in HA indeed found it, but now I get a DEBUG message. (I'm sorry new Discord user, how do I format code here?)
2024-03-03 22:46:28.190 DEBUG (MainThread) [zigpy.quirks.registry] Considering <class 'ts0052.TS0052DimmerModule'>
2024-03-03 22:46:28.191 DEBUG (MainThread) [zigpy.quirks.registry] Found custom device replacement for a4:c1:38:4a:f5:04:91:84: <class 'ts0052.TS0052DimmerModule'>
2024-03-03 22:46:28.191 DEBUG (MainThread) [zigpy.zcl] Unknown cluster 0xE000
2024-03-03 22:46:28.191 DEBUG (MainThread) [zigpy.zcl] Unknown cluster 0xE001
2024-03-03 22:46:28.192 DEBUG (MainThread) [zigpy.zcl] Unknown cluster 0xE001
Is this normal, or am I doing something wrong?
Do you have to repair every device if you migrate HA to a different device using a backup?
no that would suck
You can use this: `
Twice for code like this
And three times for text like this
To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks.
```yaml
example: here
```
Don't forget you can edit your post rather than repeatedly posting the same thing.
you can type "/message code" to do what i just did with the bot btw
only if you know the commands to use
That's expected, as the replacement only contains the cluster id for those custom clusters, right?
(Tuya didn't follow standards and put those custom clusters outside of the manufacturer specific range.)
You can use the custom Tuya clusters like TuyaZBE000Cluster and TuyaZBExternalSwitchTypeCluster in the replacement.
For the signature, you can keep the id or use (e.g.) TuyaZBE000Cluster.cluster_id.
I'd probably need more information regarding your device/quirk (what you want to do/what isn't working) for further questions/help.
Also, quirks v2 is currently being worked on.
It's 2-ch dimmer module. ZHA recognizes only the switch parts, so I can't dim. Trying to implement that.
@ripe osprey I converted your message into a file since it's above 15 lines :+1:
What's the manufacturer and model name for those devices?
There might already be a quirk you can use (and just drop in the new model info). Perhaps there's even an issue in the quirks repo about that.
MODELS_INFO: [
("_TZ3000_kvwrdf47", "TS0052"),
],
There is one, but it's only a request: https://github.com/zigpy/zha-device-handlers/issues/2953. And BTW, my device signature is different. 2-ch and has a 242 at the end.
julian do you know if the hue led strips are unable to turn on without first going to previously set brightness value? my hue bulbs do not do taht but i have no overpriced hue led strip to test with
in the past havent you said it's the same inner workings for all the newish gen hue stuff?
Brightness i bypassed, but the colour change is the issue. I can also provide video example, if needed
@ripe osprey
Doing this will briefly flash color_temp_kelvin: 6410, before switching to xy color. Is there a way to bypass this issue for these hue lights?
That's normally expected ZCL behavior, as lights won't process color change commands while off by default. Newer Hue lights (Zigbee 3.0) can do that though by setting one bit in the options attribute on the Color cluster.
It's called execute_if_off. Google that a bit. ZHA automatically detects when the attribute is set, but not sure about Z2M.
what's the cutoff for zigbee 3.0 on hue lights btw? past 5 years or so or?
The 242 is a Zigbee Green Power proxy endpoint. Doesn't really matter.
Looking at Z2M code for that light, it uses some special Tuya light stuff. I thought we have some Tuya light quirk for that too, but can't find that right now.
Z2M also usess a "Tuya magic packet", so EnchantedDevice should be used for ZHA (instead of CustomDevice). "Magic clusters" are also needed though. (This will be solved once the Tuya quirks are migrated to quirks v2)
It might not be trivial to support that dimmer.
Ok, any due date for v2?
The Hue lights all turn on with a move_to_level_with_on_off command (which should be used if you explicitly set the brightness whilst the light is off). Assuming Z2M also implemented that correctly, everything should work as expected/be the same for all Hue lights there.
Yes, it's (mostly) the same.
Any reason why you're asking this? (Did I miss some question?)
so it's really the color issue causing his issue
he asked me before i said come ask you 😛
just getting info to store in my head
Yes, color is implemented somewhat differently in ZCL compared to brightness.
i have no rgbw hue bulbs or strips so i wasnt aware of that behavior
Not really, but the "base code" is already done and will land with HA 2024.3.0. We just don't have many examples yet.
Quirks v2 also won't magically make your device work. For the Tuya quirks, it'll mostly allow us to simplify the "magic packet" stuff slightly at first (named "enchanted/spell" in zha quirks). The quirk generator also isn't really needed anymore, as the base for the quirk no longer needs to match all clusters.
You can already use v2 quirks on HA 2024.3.0 betas. The next one will contain more (needed) fixes for quirks v2 though.
I think your best bet is to create an issue about your dimmer and provide as much info as possible in the issue template.
With your current custom quirk, try to change the device_type from switch to dimmable light in the replacement section and see if that makes any difference.
But Tuya explicitly doesn't follow Zigbee standards, so it doesn't work by default. It's not fun to make all those Tuya lights work.
Alas, that didn't work. Tried deleting and re-pairing too. I'll keep fiddling with it, thanks for the pointers. Off to bed now..
I haven't seen your device signature, but you can also try to just add a LevelControl.cluster_id in the replacement section (assuming there isn't one already).
So I have sky connect & a controller but I have no idea how to connect it. Add device keeps searching and nothing shows up. This is what I was told to get for my ZHA setup.
Any suggestions?
It’s powered. It’s lighting up my strip. It’s functioning but won’t show up when I search for device
UPDATE: I’ve restarted the device and put it into pairing a few times. It wasn’t working. Tried it a few more times since posting and it FINALLY connected
Is this a normal thing when first connecting zigbee controllers?
it can be unstable at times.
Is there a way to re-pair a ZBDongle with a router firmware without reflashing it?
Hi, did anyone get the Viessmann ViCare Climate Sensor working with z2m? Besides the LQI all measurements are empty. The sensor works fine in the ViCare app.
Hi, can I found here someone with Danfoss Ally thermostats? I have two, everything works great, except the window feature. Automation for switch between window_opem_external works, the valve change the value to true or false when window is opened/closed, but the internal value does not change. After reboot the valve, it one time changes to quarantine and then back to closed, but if I try it again, nothing happens. Firmware is last available.
I added it to https://github.com/zigpy/zha-device-handlers/issues/2953.
hello. unique queston. i have an aqara contact sensor in my mailbox. when my zigbee network goes down for awhile, it seems like the sensor gets past a certain point of "trying to reach out" to connect, and shuts off until i go out and re-pair it. looking for any suggestions around this. so far its only happened when my zigbee network glitches out and all devices go offline, causing me to reboot home assistant to fix the issue. im wondering if setting an attribute differently in the cluster might help? unsure. the device is totally fine and has an RSSI level of -50 to -60 so its not like range is a problem.
Why does your network go down?
life happens I guess
beats me. i go look at HA and all the zigbee stuff says unavailable randomly
I'm having lots of issues getting over to Zigbee2MQTT from just using ZHA and other things but getting lots of errors trying to get it started, which has confused me even more now! I have posted in the community to ask in there so I will post the link so I don't have to keep trying to explain the issues! I have to test mostly during the day so I can go back to what is working for me now! I have a lot of Sensors in ZHA to do automatons which I have to turn off to see if MQTT will start. https://community.home-assistant.io/t/error-while-starting-zigbee-herdsman-failed-to-start-zigbee/425830/64
I think it's better to tackle the underlying problem here. What coordinator are you using?
ZHA
That's the integration. What coordinator stick?
skyconnect
Are you using multiprotocol?
It's Thread support on the same radio. If you're having problems with devices going unavailable, disable it.
The Matter integration 😄
Matter can work over WiFi or over Thread. If you have Matter devices that use Thread, you need a Thread border router on your network (e.g. Apple HomePod or Google Nest Mini). If you don't have one, you can use a SkyConnect. The firmware that enables you to use the SkyConnect for both Zigbee and Thread is not stable and will result in issues such as the ones you're seeing.
So you will have a much better experience getting a dedicated border router device and flashing your SkyConnect back to Zigbee firmware.
such as what?
https://i.imgur.com/NyFEuaC.png this is what i see
I would ask in the #thread-archived channel about how to migrate your devices over to the Google border router from multi-PAN. After that's done, you can disable multiprotocol by following https://skyconnect.home-assistant.io/procedures/disable-multiprotocol/
Im not sure how the nest hub even got on there
If it's on your home network, it'll advertise itself as a Thread border router
so the skyconnect is trying to do zigbee and thread/matter whatever at the same time and sucking at it?
Sure, you can say that
You won't have any listed Thread devices. They'll either be Matter or HomeKit. What Matter devices do you use?
right now its my switchbot hub
That's Matter over WiFi so you don't have any devices that use Thread
im confused are thread and matter the same thing or is one a newer version of the other
They're different. Thread is like low-power WiFi for sensors. Matter can use WiFi (or Ethernet) or Thread.
i see
ditch ZHA -> switch to Z2M -> random "unavailables" gone
i don't how long it is… 2 weeks? 3 weeks? not a single issue. everything "just works". With ZHA it was 3 months of problems EVERY day.
I don't have problems every day. And I don't really want to setup all my stuff again..
There's nothing fundamentally different between ZHA and Z2M that would make devices more or less available with one versus the other. The only major difference is that Z2M always forms its network on channel 11 while ZHA dynamically picks its channel when you first use it (and avoids 11 if possible). Switching integrations also forces you to re-form your Zigbee network, which often times results in people doing it "the right way" by joining routers first, then end devices to the strong mesh.
Multiprotocol issues are with device firmware, they'll still happen just the same.
I removed ZHA integration entirely, wiped out the dongle-p stick, tried different coordinator firmware versions, re-paired all the devices more times than i can count. nothing changed. constant problems. random "unavailable"s is one of my favourites.
installed Z2M -> i did nothing but just add new devices from then. and they all "just work".
i don't know what's wrong. i don't need to anymore 😉
17 days with no issues 😄
Can you not change z2m off c11?
I have zha set to c26 atm
You can but the vast majority of "I switched to Z2M and my Zigbee devices stop going unavailable" issues are because Z2M uses a Zigbee channel ZHA does not
The rest are solved by people re-joining their devices better or because they're running HA on an underpowered server that is overloaded and there are serial communication issues with the coordinator
I have 30+ devices using ZHA for over a year. No issues. It seems a logical fallacy to use anecdotal evidence to suggest someone just redo everything.
https://gist.github.com/MacDada/236f9993a2e793297b004b4ecbfdc127 – some backup i made back in the ZHA days
I've checked my current Z2M config -> it is channel 20 -> and it was channel 20 in ZHA as well.
if it my server is underpowered (it is a cheap Fujitsu Futro S720 with 2 GB of RAM), then it should have even more problems now, as I've added 2 more LXC under Proxmox (next to the HAOS VM) -> just to handle Z2M… Plus OMV recently, BTW.
It's not a matter of CPU utilization. If you have a ton of integrations installed or some heavy periodic task running within HA Core, it'll impact the event loop, which affects integrations that are especially timing-sensitive. Z2M runs as a separate process and won't be impacted.
The point being that every situation is very different. Unless you figured out why switching helped you, offering it as a suggestion because "doesn't work" is common to both situations is not good advice. And in this case, it would do nothing because multi-PAN issues are coordinator firmware issues.
sure, it's not a perfect solution. but we're not living in a perfect world. tr8ing out a different solution (z2m) instead of spending hours/days/weeks/months of hairpulling -> is not a bad idea IMHO. might be faster. and if the issues still persist, they may get back to more hours of zha guesswork 😉
I cannot get Z2M working been trying over a month now!
Not bothered looking at z2m. Zha works great for me; 72 devices. Most of the major manufacturers and some randoms.
yes I was thinking the same thing until I wanted some Aqara Blind to try to get some one to put up fo rme only to relize it needs MQTT to get into Ha I though I could of done it using ZHA!
So i will see if I can get it to run fo ranother week then send the Aqara device back to shop!
I have four Aqara blind motors working with Zha.
Button 5 times? IIRC. I never installed the app.
You have a nearby router like a light?
yes i foound it to be 6 secs 🙂 but ZHA did not detect it and I need there app to get other things in!
i have a lot in medical to get to work!
Its teh Roller Shade Driver E1
I have a bunch of Aqara stuff. Motion sensors, temp sensors, water sensors. Never installed the app.
even taking it out of Aqara it still does not detect it
yes I do and none work in HA all in there Apps is terrible fo rAutomations why I rather have them in Ha
Hav eyou tried there FP2 it needs there hub and needs Apple to get it into Ha
I have sensors all work ok in ZHA
but this blind i snot going into it why I think very strange!
FP2 is mmWave? Not tried that. Been happy with my EP1.
I assume you have moved the blind motor near the USB radio.
Sent you a screenshot of the blind motor in ha just to prove it can work. Like I said I have 4.
no need to prove anythign I can also do a million videos to show you it wont detect!
Well fine.
I have some one coming tomorrow to fit an dmeasure for blinds ans I will be sayin gsorry I cannot let you do anythign until I have a motor working!
if you say it work I belive you! I just cannot figure why mine wont detect it!
I had light strips did they say thing left it 3 weeks tried agian and they worked Ha is so buggy!
also not sure how you sent me a screen shot I cannot see anything
Im off to try to sleep as I never get any with being a type 1¬
!
Z2m can access channels ZHA can't?
No, Z2M just uses 11 as its hardcoded default channel. ZHA scans all of the channels and picks the best one it can find.
I'm set to 26 currently because I'm using 1,6,11 on my APs lol
I don't think so… http://zigbee2mqtt.lan:8080/#/settings/settings -> Advanced -> ZigBee channel -> it's showing me 20 and I don't remember setting it manually…
What's in your config file?
i'm pretty sure it still defaults to 11
as long as the AP broadcasting 11 on 2.4ghz is furthest from the coordinator there's nothing wrong with using channel 25. you're supposed to use ZLL channels like 11/15/20/25 only
https://www.metageek.com/training/resources/zigbee-wifi-coexistence/ chart showing it's only sideband lobe of 2.4ghz 11 channel even touching zigbee 25
root@zigbee2mqtt:/# cat /opt/zigbee2mqtt/data/configuration.yaml | grep channel
channel: 20
I've installed Z2M using this tutorial: https://smarthomescene.com/guides/how-to-separate-zigbee2mqtt-from-home-assistant-in-proxmox/
In the tutorial's config example, the channel is 20 -> so I guess I just (luckily?) copied it and it worked.
So yeah, you may be right after all, sorry, nvm 🙂
Turns out the zha maintainer knows more than us
I'm using 26 so wouldn't that be even further away
read up
I have these BTF WS2812B lights, which zigbee controller do I need to connect these?
I have a GIDEALED Zigbee 3.0 LED Controller Pro. I’m no expert, but I think it’s not the right choice.
Why not
Oh you bought an analog controller?
You just need one with a data channel output but if it want r g b that isn’t gonna work
I know what analog is. I now know what controllers are. But I don’t know which is which or how to specify what I want when purchasing lol
(very new, but going to school for HA! In may though, but I’m excited now lol)
Yeah how exactly do I search that? I assume ‘zigbee controller with data channel’ should suffice then right?
No it’s not recommended to buy random zigbee stuff
Gledopto sells one that is recommended here
Yeah, that’s why I wanna double check with y’all this time lol
I personally use wled Wi-Fi controllers with advanced effects vs zigbee ones
https://www.athom.tech/blank-1/wled-esp32-music-addressable-led-strip-controller this is what I’d buy plus a power supply if you don’t have one
I might look into that in the future, but for now I’m not an ‘advanced’ user.
Oh sweet! Thank you! My searching wasn’t fruitful but now that you’ve shown me what to look for I’ll definitely learn the differences. 🙏
Oh? Well now I’m curious haha I’ll reach out to you again when I get this controller and finish my setup 🙂
It’s pretty straightforward but there might be a video tutorial online if you want to see what you’re doing before you do it
You’re pretty much just connecting vcc to red (power), gnd to white (ground) and data to data (green) assuming standard ws2812b wiring colors
And this has a built in microphone to react to music which is fun
Oh I see it now. Thanks! So what’s the major difference between the WLED version you suggested and the Zigbee controller that I’m looking for? I know you said it has more ‘advanced effects’ but I don’t know the extent of this
Watch a video by Quindor or drzzs to see what people do with wled. The zigbee one would be like ‘turn blue’
Ohh I see. Yeah I’ve seen his videos and the cool stuff he does. Very informative stuff :0
There are some cool things I can do with that for my room and living room! I’ll get that for the fun places. Thanks!
But for the boring parts, like kitchen or restroom or stairs, do you suggest any zigbee controllers for addressable lights? I tried looking for them on that site & a quick google search with the same key words but I legit cannot find ANY. 🤔
I’m a wled fanboy you’ll have to see if someone else jumps in
But the gledopto pro does
lol makes sense now. But I appreciate the link you sent. I’m definitely getting a WLED setup going once I save up some extra cash xD
Analog led strips have much higher CRI rating which is preferable for kitchen etc
Aka the white color looks better
But I have a disco kitchen and I’m happy enough with it
I had no idea about that! COB lighting on some random website claims to have CRI of 95+. That explains a lot actually….
It’s a rabbit hole have fun. You prob want 12 or 24v for most things due to voltage drop. Read up on Quindor’s website or videos
Thank you. I’m excited but also scared because of how much I’m gonna spend xD
what do you mean
as long as the AP broadcasting 11 on 2.4ghz is furthest from the coordinator there's nothing wrong with using channel 25. you're supposed to use ZLL channels like 11/15/20/25 only
Same thing I said above
yeah sorry im confused because i said i am using 26, youre saying 25
Idk what else to say
Is Channel 26 a ZLL channel? No? Then you shouldn’t be using it
As far as why read up on si website
its not?
https://i.imgur.com/jZTuSlZ.png - its on this image on the pinned items
how would i be able to use it if its not a channel
I finally got it to detect after 3 days of trying and 3 days of messing, not at all sure why it does this, I think once you try to do it in Aqara APP it prevents it from being detected in Home Assistant for a while. With me, it's usually a day or so even rebooting does not make it detect it! but not fully sure, as I have only had this happen to me twice. But for other Sensors that I know I just wanted them into HA I had no issues with them being detected. I had a good sleep for a change and attempted again this morning. Thank you for the image which I found this morning! It would be better if both could be used Aqara APP as well as Home Assistant so if one fails it resorts to the other. I'm also not sure how to set its ranges with not having it installed with Aqara App so would be helpful if you can share the setup way. I have some curtains on a track that I have had for 3 years and not failed once! that is what is should be like! https://imgur.com/KV7HIsu
It's a nonstandard channel and not all devices support channel 26.
is there a list of standard and nonstandard?
Zigbee has no real enforced industry standards, vendors have not adaptod it.
Well not all.
how do you know its nonstandard then?
hi guys, i have a sky connect stick connected to my HA (running as VM) until a few days ago everything seemd to work fine but now only a couple of parasol door contacts can be "seen" as only a couple show the battery status but in general all zigbee devices seem to be unresponsive - restarting HA did not change anything
i have a couple of ikea items (the door/windows contacts, a starkvind air filter, a paulman rgb light, a couple of (livarno or sivercrest - anyway lidl) devices such as plugs and motion sensors as well as one ikea plug
i am really losing my mind after this was the first time i had it working and now pretty much everything is gone
when i try to reconfigure the zigbee devices home assistent sends me "mixed signals":
apparently i can not just add picture/screenshot here?
and yes i am using zha
@indigo crane Please use imgur or other image sharing web sites, and share the link here.
Image posting is blocked in most channels to discourage people from sharing text as images. Sharing text as images assumes that everybody sees the world as you do, which isn't the case. Some people are colour blind, or have visual impairment that means they can't make sense of an image of text.
https://discordapp.com/channels/330944238910963714/551843655682490399/1214467505813192804
You can also just google ZLL channels and get the same info.
Hey there! Glad you got it working in the end. To set the range… erm look at the manual. 🙂 it’s basically done with the buttons. Don’t need the app for that.
If you need a hand with your automation for it let me know. I have one that follows the sun, but with limits. Don’t want them to open in the summer when the sun comes up at 5am, etc.
yes be great for help and advice on it as to get blinds fitted in the first place is a big challenge as very tight area and position as tiles are fitted and no room really for a drill bit! but Im super DIY er for 50 years but just need to get my head around it first then mess with the other issues I might face, do you know of an electric drill the does 90 degrees bend 😉 not sure they invented that one yet 🙂 companys are not wanting to get involved now! I will also try to video it and do a write up if I can get time too, but need to make sure I do it right
Maybe best to move this to messages. 🙂
What do you mean by "unresponsive"? Unavailable? Or still available but not reacting to commands?
They are listed but do not respond to commands
Is your SkyConnect on a USB extension cable?
it is
Near any USB 3.0 devices or SSDs?
Do you have any Tuya mmWave sensors or Tuya plugs with power monitoring?
third time's a charm right? 
are these the new cool kids blackholeing routes?
They send data continuously at 3 packets per second
are all the moes tuya ones in this same category?
beautiful
bdraco helped me find an issue on my esphome yaml (caused by esphome code change) that was doing 6000 calls per 60 seconds and using lots of airtime fairness on my wifi. that was fun times 8 plugs
Hello, is this the right channel to ask about https://www.zigbee2mqtt.io/guide/adapters/#recommended ?
I am running HAOS inside a VM on a synology NAS.
I am now needing to get zigbee2mqtt as I purchased a 4 button switch and I cannot fully configure inside HA due to the entity not updating from the last push of either single_click, double_click, or press.
I was looking at Slaesh's CC2652RB stick.
Do I want coordinator or router?
Do I need to request the pin head? (It says required if developing custom firmware - Is what I am doing classed as that or not?)
*edit
I've been informed I need the coordinator and no need for the pin heads.
Leaving this here in-case someone finds it via search.
Hey!
Talking about this - What would be the maximum packets per second, after which Zigbee just starts going off the rails? I understand it dpeends the size of the packet and stuff like that, but in general what would be the guidelines to stick to?
I'm getting very poor signal to my Zigbee devices upstairs --> Anyone know of a device that I can put between my stairway wall light and the main house power that could act as a zigbee extender/router?
I already have a zigbee router at the bottom of the stairs, and the next relay is at the top of the stairs (and inside the room a little bit), so I'm thinking the next best thing is to put something behind a wall light to help the hops.
What a link. <#general-archived message>
It’s the cvs receipts of Amazon links
not that i Know of i have 2 repeaters (marmitek)
How experimental is zigbee2mqtt for Silicon Labs EFR32MG2x series of adapters? Having trouble finding a TI based controller on the main swedish web sites at the moment.
Hi. Can anyone help me add a device to zigbee2mqtt? I followed the docs how to add support, but the device still shows nothing different.
It's a promising device that has a pir sensor, a mmwave and a illuminance sensor, and runs on batteries. Z2m also shows its a enddevice, not a router. Which hopefully makes it a device that does not spam, and therefore has huge potential to be a cost effective device (just 20 euro incl shipping)
But yeah, need some help from community to see if and how it works 🙂
Hi good morning. how many limit for smart light bulb connect to zigbee strong enought?
I made a .js file as the docs tell me to, and linked to it in configuration.yaml. and restarted z2m. But the device still shows nothing.
super great news, it doesn't seem this is a spammy device. it sends a message only when it has something to update it seems.
now lets hope the mmwave is also accurate, and hopefully as a bonus the light sensor is good to use.
any idea what the mmwave and pir might be of the following lines of the device?
Debug 2024-03-06 17:42:25Received Zigbee message from '0xa4c13857d998b93d', type 'attributeReport', cluster 'msIlluminanceMeasurement', data '{"measuredValue":34547}' from endpoint 1 with groupID 0
Debug 2024-03-06 17:42:29Received Zigbee message from '0xa4c13857d998b93d', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[3],"type":"Buffer"},"datatype":4,"dp":101}],"seq":16896}' from endpoint 1 with groupID 0
Debug 2024-03-06 17:42:41Received Zigbee message from '0xa4c13857d998b93d', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[1],"type":"Buffer"},"datatype":4,"dp":101}],"seq":17152}' from endpoint 1 with groupID 0
Debug 2024-03-06 17:42:42Received Zigbee message from '0xa4c13857d998b93d', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,9,216],"type":"Buffer"},"datatype":2,"dp":106}],"seq":17408}' from endpoint 1 with groupID 0
Debug 2024-03-06 17:42:42Received Zigbee message from '0xa4c13857d998b93d', type 'attributeReport', cluster 'msIlluminanceMeasurement', data '{"measuredValue":34014}' from endpoint 1 with groupID 0```
only seems it does the datapoint 106 and 101, and the cluster 'msIlluminanceMeasurement, which doesnt contain a datapoint.
no idea how to make something from that. im afraid it doesnt report battery.
From 2024.3 release notes:
After feedback and reports on the automatic Zigbee device firmware updates introduced in a previous release, this release brings a stricter and more robust update system to ZHA. Thanks @dmulcahey & @austere patio!
What does this mean? What has changed?
Changed compared to which version?
Compared to 2024.2
I guess it's this: https://github.com/home-assistant/core/pull/111159
This should have been mentioned in the release notes.
Actually what I'm wondering is if it would help with this bug: https://community.home-assistant.io/t/zigbee-firmware-update-failed/687459/
FAILED doesn't mean a whole lot. Can you create a debug log of you trying the OTA update?
It's not my post but I had the same issue. I'll have to see if I can replicate it on 2024.3
Hello all, I have attached an Ikea Tradfri Shurtcut button to HA with a SkyConnect dongle; logging shows individual keypresses but both NodeRed and developer tooling event snooping show that every keypress leads to ~5 nearly-identical (timing only differs) events. Is this expected and do I need to debounce the keypress? Or is there something odd going on?
Anyone know how to fix my GE Lamp Dimmer in Z2M? When controlled via a Scene Activation, it doesn't turn on...
A scene can turn it Off but not On
@mellow geode helped me with this in zha
Make and model are Jasco Products 45852GE
Sounds like the issue where the device doesn’t respect the "turn on/off" part of a "move to level with on off" command. Z2M (or you) would need to send a "on" command before the "move to level" command
Should I open an issue in the gh repo?
Might just move it back to zha since I understand that this device likely doesn't route my aqara sensors
What version of HA are you running?
Core: 2024.2.5
Supervisor: 2024.02.1
Operating System: 11.2
Frontend: 20240207.1
Hmm, the Logbook of the device also shows 5 events per single physical button press, the same as with the 5 zha_events
Try 2024.3.0
Alright, going to update
Yep, that was it; strangely enough. Thanks!
Damn i thought people would be excited about the device i bought. Guess not
There was actually a fix for this specific problem in .3 so thanks for the feedback!
The fix being in PR #111103?
Makes sense; good to know that my assumption of needing a debouncer was correct, heh! Alright, thanks again!
I have one tradrfri button that I sometimes found to act more than once on a single press. It's too rare to tell that this is gone now that I am on 03 but good to know that this may have been caused by a known and now fixed problem!
Actually Tradfri Shortcut button is the same device giving me issues! Even on 2024.3 I still can't get it to send presses. Assuming it's the same model, what firmware is the latest? I'm on 0x23015631
0x23015631 here, so the same
Latest firmware is actually 0x24040006 (I just got the ZHA notification). Let's see if the firmware upgrade works this time
I read Zigbee firmware upgrades can take hours so I'll check back later. From what I read firmware upgrades for this specific button greatly improve its stability and performance with its Blueprints.
Nope ZHA upgrade is still failing. Where can I provide logs?
You can dm it to me
It's the same issue as this: https://github.com/zigpy/zigpy/issues/1347
The whole log would be useful
Alright I sent you.
The error alone isn't useful. Enable ZHA debug logging, retry the update, and disable it again to get a log
Ikea tradfri open/close remote in Zigbee2Mqtt
hi. would anyone care to help to add a new tuya device that can be awesome for the HA community?
I have a few smart plugs with energy measurement in zigbee2mqtt. But throughout the day I get these crazy high spikes. Any idea how I can fix it? Apparently I have the latest firmware. The plugs I have are these ones https://www.zigbee2mqtt.io/devices/4512766.html
Define crazy high spikes
Some sensors do seem to periodically return effectively their max range, these can be addressed with sensor filters in home assistant.
Otherwise, if in use on loads with poor power factors, getting an inrush as the device switches on isn't crazy unlikely
If you need even more powerful filters than that. Errm. Esphome maybe? Importing the sensor entities and re-exporting them filtered is something esphome can do, but sticking to what HA can do alone is handy
@ivory shuttle Thanks. Here is a screenshot https://ibb.co/BCPywyN it goes up to 25000w throughout the day
By any chance, it's not reporting about 650V at the same time it does that is it?
Im not sure. My other problem with it is that it doesnt report voltage and amperage to HA. I can only see them live in the exposes tab in z2m
So I have a zigbee 20A EU plug where my water boiler is in which is drawing 2600w. Whenever I turn off the plug, the boiler LED's start blinking like following before going completely off: https://photos.app.goo.gl/SYkZBCZqrEFS6SrG9
When I just pull the power cord out of the socket, the thing just shuts off and doesn't blink at all.
Can anyone tell me if this is bad for the boiler?
Hello,
I need some assistance with an MHCOZY 2 Channel Smart Relay Switch, was informed this was a Zigbee device in #hardware-archived.
I am pretty sure I have it wired correctly for default On/Off mode as a smart controller for 2 different devices.
I use the SmartLife app with this device as it is an app that I already use with various other smart plugs.
I have setup the timer so that Switch 1 will turn on 3x/day for 15 minutes (controls water pump for plants). Switch 2 is configured to turn on in the morning and then turn off at night (light for the plants).
I have found from a discovery this morning though, that when Switch 1 turns off after the 15 minutes, it turns off both switches. However, using the SmartLife app to turn Switch 1 on then off, does not affect Switch 2 nor does using the manual Switch button.
My guess is this may be a wiring issue? But if that was the case, wouldn't the app and manual button also affect Switch 2.
I have Relay mode set to OFF and no INTERLOCK settings either.
Currently to get around this, I have now set Switch 2 to turn on 1-minute after Switch 1 turns off throughout the day.
Are you using this with Home Assistant, or are those timers etc features of the switch, or SmartLife?
They are features through the SmartLife app (can also use Tuya instead).
What happens if you reverse the plug?
I cannot reverse because in the socket because my wall receptacle has ground pin
Omg, this is the second time I managed to destroy the whole SQLite database by adding and removing zigbee devices.
Which SQLite database are you referring to?
The one home assistant is using
What are you running HA OS on?
A VM
SQLite is pretty resilient, you would need to have some really serious issues to actually break it
In both cases I added a zigbee device, removed it and added it again
I'll try to flip the cable, the plug itself no can do unfortunately, belgian wall sockets
(sqlite3.IntegrityError) FOREIGN KEY constraint failed
[SQL: INSERT INTO states (entity_id, state, attributes, event_id, last_changed, last_changed_ts, last_updated, last_updated_ts, old_state_id, attributes_id, context_id, context_user_id, context_parent_id, origin_idx, context_id_bin, context_user_id_bin, context_parent_id_bin, metadata_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING state_id]
[parameters: (None, None, None, None, None, None, None, 1709828749.724248, 145220436, 13599132, None, None, None, 0, <memory at 0x7f3ed8e1d9c0>, None, None, 1139)]
(Background on this error at: https://sqlalche.me/e/20/gkpj)
2024-03-07 17:25:50.192 ERROR (Recorder) [homeassistant.components.recorder.util] The system will rename the corrupt database file //config/home-assistant_v2.db to //config/home-assistant_v2.db.corrupt.2024-03-07T16:25:50.192827+00:00 in order to allow startup to proceed
2024-03-07 17:25:50.249 WARNING (Recorder) [homeassistant.components.recorder.entity_registry] Cannot migrate history for entity_id sensor.tz3210_qkj7rujp_ts0201_humidity to sensor.thermostat_ts0201_2_humidity because the new entity_id is already in use
2024-03-07 17:25:50.259 WARNING (Recorder) [homeassistant.components.recorder.entity_registry] Cannot migrate history for entity_id sensor.tz3210_qkj7rujp_ts0201_temperature to sensor.thermostat_ts0201_2_temperature because the new entity_id is already in use
Luckily, I have a backup only 4h old...
That shouldn't ever happen unless the database file is itself damaged. What kind of storage backend is your VM using?
A harddrive
But I really think this is a software error, because in both cases I did exactly the same thing in HA and I had no other issue whatsoever with my storage.
It's always possible but corrupting the main SQLite database is a really serious problem and I've not heard of any other non-isolated reports of this happening recently
So double check your storage just to be sure
I would have considered this a one off, but it happened twice to me with the same steps.
ZHA doesn't have any knowledge of or access to the HA database directly so you should be having issues with other integrations
I have no other integration where I tried to add and remove and add the same device rapidly
2024-02-19 13:05:41.750 ERROR (Recorder) [homeassistant.components.recorder.core] Unrecoverable sqlite3 database corruption detected: (sqlite3.IntegrityError) FOREIGN KEY constraint failed
[SQL: INSERT INTO states (entity_id, state, attributes, event_id, last_changed, last_changed_ts, last_updated, last_updated_ts, old_state_id, attributes_id, context_id, context_user_id, context_parent_id, origin_idx, context_id_bin, context_user_id_bin, context_parent_id_bin, metadata_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING state_id]
[parameters: (None, 'off', None, None, None, None, None, 1708344337.701534, None, 13065864, None, None, None, 0, <memory at 0x7f3ec5176a40>, None, None, 1108)]
(Background on this error at: https://sqlalche.me/e/20/gkpj)
Same FOREIGN KEY constraint failed problem, I saved the old log just in case this is reproducible
SMART is claiming my storage is in good state
If you think this is not zigbee specific, where should I report this?
@austere patio
Try running an extended SMART test first. If that comes back fine, you can try the Core issue tracker: https://github.com/home-assistant/core/issues. Make sure to fill out the issue template completely and include all of your hardware, hypervisor, and software information.
This is why I had stated in #hardware-archived it uses SmartLife or Tuya and not anything HA Official and was curious where I should go if it wasn't here. But thank you for confirming in the long run this is not where I need to be.
TBH the assumption is that you'll only be in this server if you are using HA - lots of Tuya stuff connects to HA through the Tuya or SmartLife integrations
Btw, does is this already available in HA? https://github.com/zigpy/zha-device-handlers/pull/2888
Do you mean the other way around?
Not really, Zigbee is extremely low-power compared to WiFi
thought more people would be interested in a zigbee mmwave+pir+lumen sensor that doesnt spam the network.
Zigbee2MQTT:error 2024-03-07 18:22:34: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2024-03-07 18:22:34: Failed to start zigbee
Zigbee2MQTT:error 2024-03-07 18:22:34: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2024-03-07 18:22:34: Exiting...
Zigbee2MQTT:error 2024-03-07 18:22:34: Error: Failure to connect
at Ezsp.connect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:373:19)
at Driver.startup (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/driver.ts:163:13)
at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:132:29)
at Zigbee.start (/app/lib/zigbee.ts:62:27)
at Controller.start (/app/lib/controller.ts:109:27)
at start (/app/index.js:107:5)
I restarted ha and it gives me this error in the zigbee2mqtt log
What are you running it on? USB?
USB Coordinator with extender usb
What is the zigbee stick connected to? 🙂
usb
you connect your usb stick to a computer, to a nas or to a Raspberry pi?
And you didn't flash it with the multi-protocol firmware, or enable multi-protocol?
(or enable the Sonoff or ZHA integrations)
can you ssh into it and see the USB-stick connected to your PI?
Yes, but I think I did something stupid. I was flashing a d1mini via raspberry (esphome) and I think it 'caught' the coordinator.
I promptly disconnected it
Re-flash it and pray?
Wth!! I reversed the cable in the plug and it doesn't have the flickering anymore after turning it off. What's the logic behind that?
but will I lose the devices?
No
(well, probably no)
But... if you already partially flashed it then you're already screwed 😉
are you saying you flashed your PoE zigbee coordinator esphome device with some other yaml?
if so that has no effect on the zigbee hat (picturing a tubes here)
ZHA?
Zigbee2MQTT?
deCONZ?
Something else?
ZHA
how and where can you set the report intervals of the sensor under ZHA ?
another question what exactly does the message mean or can it be ignored?
pair device new have the name of entität change ?
before i update HA entität name was sensor.sonoff_snzb_xxx now its SONOFF SNZB-02D xxx
but before that I had trouble with updating the temp data on HA
is the sonoff snzb-02d not good ?
You can not
SONOFF SNZB-02D Attribute Updated event was fired
but i dont understand what it means
Is the message a problem or can it be ignored?
anyone here familiar with aqara water leak sensor not being paired with Z2M?
It can be ignored. It just means that an attribute on some cluster was updated. You see them more often now, as ZHA now checks/updates the current_file_version attribute often for OTA.
the light goes on for a few sec, starts blinking, when i hold longer is strats blinking faster
Got a bunch of them, all paired fine
one time is paired but was not able to fully pair and failed, i had to remove it
However...
- My routers work for Aqara
- I used the option to pair only through a nearby router
- My Zigbee stick is on an extension cable
- My Zigbee channel is clear of WiFi
- I put fresh batteries in problem devices
Yes, though it doesn't matter for pairing
99% of Zigbee behaviour is far beyond the ability of ZHA or Z2M to have any influence over
can you set the zigbee channel in z2m? because i havent checked that
Just slightly 😉
also, do you remember if the LED on your water leak sensor stopped whenever you stopped holding the button?
they stop blinking immediatly whenever i let go, both of them
That sounds right
okok
https://www.zigbee2mqtt.io/advanced/zigbee/02_improve_network_range_and_stability.html#reduce-wi-fi-interference-by-changing-the-zigbee-channel this is in the config.yaml in the z2m folder, correct?
Yes, and you can also do it in the UI
Changing the channel requires you to re-pair everything
I've got several items in my logbook that have the ZigBee logo and say <zigbee bulb name> Attribute Updated event was fired. What does that mean?
They're not at all clickable for more info...
It means that an attribute was updated in zigpy cache, most likely the current_file_version because of OTA stuff.
Those should be filtered out in the future. You can ignore them for now.
Hi all, think I might have some issues with one/more bulbs at home. I have one IKEA LED1732G11 in my lamp on my driveway, that bulb has ~190-230 LQI, which should be more than enough.. however, my night-turn-off-light won't turn off the light, and I cannot turn it off from Z2M either. How come the device fails to turn off when the LQI is so good? 2024-03-08 10:50:19Publish 'set' 'state' to 'Uppfartsbelysningen' failed: 'Error: Command 0x680ae2fffe877124/1 genOnOff.off({}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Timeout - 26836 - 1 - 41 - 6 - 11 after 10000ms)'
Hi, I have a problem trying to bind a Osram Smart + Mini remote to a zigbee bulb. I was able to use the zigbee2mqtt zu to bind the on/off. But I can only turn the device on not off.
Hi, I bought a Aubess IH-K665.
Model TS0207 ZigbeeManufacturer _TZ3000_upgcbody
The problem is that the device only communicates when leak status changes.
Do you jave any idea?
That's pretty normal
Most end devices (battery powered) only communicate when something happens (plus a silent check in every hour or few)
@sour shadow that is not normal.
All my other zigbee devices (door contract, motion detection etc) expose status battery linkqualoty every some minutes
That water leak sensor does not
Some devices only report battery once a day, or less
Some devices only report link quality every few hours - I've a couple of Tuya ones that report in every 6 hours
"Normal" and Zigbee are two words that don't go together 😉
So, it depends from the zigbee manufacturer if the device report any of it entities?
Well, it's up to them how compliant with the Zigbee spec they are
if the sensor doesn't report something at least every 24 hours then likely it's buggy, or needs new batteries, or just has a terrible signal
and it recognized as that:
https://www.zigbee2mqtt.io/devices/IH-K665.html#aubess-ih-k665
it doesn't report anything for more than 2 days...
For a battery operated sensor, that can legitimately be normal
My temperature sensors only report when the temperature changes by about 0.25c
Which usually it does, but occasionally 1 of them used to freeze up and you'd get no temperature report for 24h, but still get reports on humidity
not sure if this is an install question or a here question: Is there any advantage/disadvantage to running zigbee2mqtt as a daemon as opposed to npm start?
the thing i'd consider for that is that however you start it, you want to make sure it'll automatically restart when the system reboots after a power loss
You’re raw dogging it bare metal not containerized?
I guess it's easier to debug issues vs. shelling into the container, but only barely so
Well it's in a proxmox LXC. I'm still figuring it out lol, I think it's a container? I used Ttecks guide/scripts
I was supposed to learn all this as I went but yesterday was a disaster so
I’m not the guy to school you on this, but in general unless you’re intentionally choosing LXCs for a reason, you should just have a dockerhost VM instead and run them all in that.
It was a last minute decision to be fair, I will probably change things over
You can setup your system and migrate later once you have some time
I just needed it up and running because I nuked my entire system yesterday
This sounds like what I was picturing and failed to do while sleep deprived
So for my original question .. the docker host would take care of actually starting the Z2M service right?
You’d set it up in docker compose with restart unless stopped iirc
Hi, so was told i should try a install Hue lights to my HA using a Zigbee device. I have no idea what to buy ? I live in Denmark
I like this guy. Watch this: https://youtu.be/ZUWrUBJQRpA?si=Hk6mp3N0pBrQUovN
@twilit tartan ^^^
@mellow geode any luck merging those TRV PRs at some point ? 🙂
Thanks for the video. Can see its 2 years old is it still up to date ? 🙂
Yes believe so.
Cool il give it a try
Basically you need a USB Zigbee radio. I’ve only used the Conbee 2 (30£€$ on Amazon) on the end of at least a meter extension lead to avoid interference. It’s pretty resilient in my experience. Pair some bulbs, add some sensors. I’m upto 72 devices now. 🤣
Shit thats a lot and its not like addons for games where to many ... it up xD ?
It can get unreliable if you don’t have enough lights, which act as routers. Start small lol
The lights and other mains powered devices form the backbone of the mesh.
Ah oki., Think first i need to buy the stuff and then i can try it 🙂
Bro I feel like this has gone on for months.. that sucks : (
Not necessarily
Do you have specific questions?
That video is a high level tutorial of getting started with ZHA. There’s not enough detail for anything to be out of date.