#zigbee-archived
1 messages · Page 59 of 1
hey guys, i have general question is it possible to add a delay between devices in a group? id like a half second or so between each device turning on when i turn on a group.
Does anyone have any pointers on getting HAAS reading all the values from. the TVOC sensor?
The sensor is showing a TVOC value, but ZHA doesn't have the value.
Hello, I have a problem. I'm using zigbee2mqtt for ikea button, and one of my buttons is outdated and can't detect double click. I have option to update it but whenever I click it it starts loading for a second and just stops. Anyone has any idea?
video of what happens
Hi all, I have a question, I have got a sonoff zigbee2 3.0 dongle (https://sonoff.tech/product/gateway-and-sensors/sonoff-zigbee-3-0-usb-dongle-plus-p/), I use it in combination with Ikea bulps and an ikea remote. What I have noticed that the response is slower using an automation script (blueprint) then when directly configuring an automation for it. there are no additional delays into the script. Is there someone who notices the same?
why does my door contact sensor sometimes trigger slowly (about 5 seconds)? Aqara Door Contact - Conbee2 Zigbee gateway
The device itself immediately knows whether it's open or closed, the delay is going to be somewhere in your Zigbee network. Interference, network congestion, something like that.
I have channel 25, by the way no other wifi is broadcasting on it and the stick is on an extension
You could try an energy scan: https://github.com/zigpy/zigpy-znp/blob/dev/TOOLS.md#energy-scan
Bobcelso what hardware do you run HA on?
Do you use an "manually" configured automation or a script. What does the yaml of your automation look like?
Also 5 seconds isn't bad, but maybe that's just me because most of my exterior openings are integrated through SimpliSafe and that can take 15+ seconds to update sometimes.
on a Synology NAS in a virtual machine with 4 CPUs and 4GB RAM
its an manually configured automation.
the next time it triggers, it works again in a flash
Oke hardware should be fast enough. Could you try changing the yaml file to NOT use the home assistant service light.turn_on? Instead use the hardware action directly. Just to debug, I noticed slow behavior also with the HA build in service.
how do I use the hardware action?
I am not home right now, but try something like this
-Type: toggle
Device_id:
Domain: light
i will try
The device action just wraps the service call... the odds of that change making any difference are ... zero
the interesting thing is that it's really only on the first call. then only again if it is not opened for a few minutes
could it be something in the conbee2 gateway settings?
@sour shadow I first had al calls using device calls, I changed it to HA service calls and it was more laggy, first responses are as quick as they can be but when pressing multiple times on buttons. It starts to "hang" if I wait for a couple of seconds it fixes it self. It happens If i press buttons faster then lets say every 1.5 seconds .
Well... that's not likely to relate to the service call vs device action
That's more likely to be a mesh or automation problem
I have not moved channels yet, but did some tests with our Wifi Mesh turned off. The Ikea light still acts the same. It appears to be valid and the values are retrieved from the light in to HA, but when I try and adjust the light or turn it off I get a delivery failed message. http://pastie.org/p/6kgJapRWuQMLWoN5Wngysh
P.S Our mesh hops around and is not posh enough to exclude channels for 2.4. Our Heatmiser is on channel 14 for it's zigbee.
Our the Skyconnect is on 15. It is strange I never had problems with pairing before 2023.8, but it is a while since I got any new zigbee stuff. All our motion sensors work well with not problems on the same mesh.
Does anyone know how to flash a Sonoff Dongle using a Mac?
@austere patio I made it, 100% code coverage on https://github.com/home-assistant/core/pull/87546 🙂
Apologies Jane_t for the wrong tag...
straight to jail
Awesome! I'll take a look at it later today or tomorrow. Thanks!
I'm still on HA 2023.7. Now that the new Zigbee2MQTT is out, is it best practice to update it first or HA to 2023.8 first?
Update to 2023.8 first
The release notes for Z2M even tell you that 2023.8 is the minimum HA version for 1.33
Thanks; will do it right now.
@sour shadow I will check it tomorrow, changing everything back to device calls and see how the response is then.
@wary knot Discord isn't like IRC, you don't have to tag people on every response. Keep in mind that every time you tag somebody, they get a notification ping. That can very quickly become annoying and people may block you.
When using Discord's new Reply feature it defaults to pinging the person you reply to, click @ ON to @ OFF to stop this - on the right side of the compose bar.
I have a question regarding ZHA, how do I know if the ZHA definitions/device list is updated. is this done automatically, or can I also update it manually?
I have a Avatto Thermostat switch "_TZE204_lzriup1j TS0601" which does not show any usable "sensors or controls"
Already tried adding the custom quirks for the electric heating {Haozi}, but I still see nothing.
It updates when you update HA
Oh I meant to tell you, rtl_433 picked up my simplisafe
Interesting. Are you able to do anything with what it picks up or is it all encrypted or whatever?
the rtl_433 project seems to be able to decode it
haven't had the chance to dig in yet enough,
Sounds like I need to dig out my SDR dongle.
Yea, I haven't messed around s ton yet. But it definitely picked them up. I used the autodiscover add on too. Idk if it's perfect, really need to mess around with it. Something is off, but I think it's my usb power.
If I could just get near immediate updates in HA for the SimpliSafe door sensors without having to worry about the integration updating from the cloud I'd be happy.
I see no reason you shouldn't be able too. From what I can see
Which gen simplisafe system do you have? I thought only the first gen was unencrypted
Rtl_433 says they suppert gen3 on the page. My sensors were gen 3
Oh wow
I didn't try and do alot with them yet.
I just know he has like 50 door sensors
So a way bigger deal for him. Lol. I was just messing around, wanting to see if an rf water leak sensor would work and I saw my simplisafe
Not quite that many lmao, that was someone else, more like 15, but it's all my exterior doors and windows and it would be nice if they were more reliable for automation triggers.
I tested ZHA again today, it seems like after a few button presses it stops triggering, then I have to wait for about 4 seconds in which it is triggering again on the button. Checked if device actions our HA service actions make a difference it seems to be a little bit better, not alot. Hardware is RPI3B, sonoff zigbee 3.0 dongle plus. I use an extention cable of about 1 meter.
Any idea's to fix that?
Would I have to Re-connect devices with unknown entities, or do they show up automatically?
¯_(ツ)_/¯
Hey folks, if I had a Sonoff ZBMINIL2 switch behind the single light switch, and could see it exposes 'State - On/Off' and can be turned on an off inside Z2MQTT but that function is missing from the device within HA - what should I be looking out for?
HA sees the device and has access to change the devices Configuration values, but the core aspect of being able to toggle the switch is missing...
not sure what it is, the conbee2 or aqara stuff....... bought a temperature sensor, motion sensor and door sensor..... all are finicky......... motion isn't instant, or doesnt work at all..... some can become unavailable randomly........ tried deconz and zha, both same outcome...... what a waste........
ironic thing is, all my hue lights via the hue hub are totally fine!
Probably interference
To extend the functionality of a zigbee device, you're supposed to contribute to https://github.com/zigpy/zha-device-handlers right?
general question about zigbee. I have the skyconnect dongle and I've been using zigbee devices with z2mqtt for years, although very few because most my stuff isn't zigbee. Now I want to put a zigbee flood sensor in a shed in my garden where all the pool equipment is, but there's absolutely no way the zigbee signal gets there. Not even close. I'd need probably at least two routers in between to have coverage that far, but I don't need any device on that area. Is there any alternative to get coverage over wifi (which I do have good coverage everywhere). Something like a z2mqtt-compatible bridge that I can plug in the shed. Off the shelf or DIY, I don't care.
WiFi bridges tend to be ... "not good", partly because WiFi can lead to random delays that cause problems talking to the coordinator, partly because of built in interference
since I don't need any other zigbee device, is there such thing as zigbee range extenders? That is, routers that do absolutely nothing but maybe have good antennas so I can extend my range with less hops
A CC2652 stick with router firmware (or one that's designed as a router) would probably work
Tube sells some
that's interesting, I'll check. I'm in Europe if that matters
Almost definitely interference and/or a lack of router devices on your ZHA or deconz network. Other than the sensors, what's on your HA Zigbee network?
oh, btw, I have ethernet available on the shed in case it matters. I just saw that there are zigbee2ethernet bridges
Since you're using z2m in the house you could get an Ethernet coordinator and just set up the ZHA integration for the shed.
just those 3...... i do have a separate hue hub for my lights, thats on channel 25........ please define "lack of router devices"
Zigbee is a mesh networking protocol. Router devices are basically anything mains powered, so that's most bulbs, plugs, neutral required wall switches etc. Those are the backbone of your Zigbee network because they provide routing "hops" back to your coordinator. Those three devices you have are "end devices", which is exactly what it sounds like. Your Hue lights are router devices, but that's not going to do anything for your stuff you have connected directly to HA.
Yes for devices not conforming to the ZigBee specification you have to create a custom quirk there.
Hum, I guess the problem is that I don't know what Bosch does differently. There's no documentation as far as I know.
Writing SystemMode.Off for instance is just.. ignored. Next read it's still set on Heating.
any recomendations on affordable yet long lasting water leak sensor? I had a bad experience this weekend that I don't want to have again
luckily damage was contained to a single room
Aqara's work well, as do Linkind and 3Reality apparently
thanks! That and a electric valve actuator may save me some heartache in the future
I'm absolutely a newb in all things HA and home automation, and wanted to get a couple of questions answered on zigbee protocol. I was watching a video and it stated that when pairing, pair devices where they are going to end up, or you may wind up with no signal after you pair and walk off to the other end of the house. That sounds like the pairing is a pairing of 2 different devices vs. the pairing of a device to a zigbee network, am I understanding this correctly?
The Zigbee network consists of the coordinator in addition to all the routing devices you have (e.g. bulbs, outlets, stuff that doesn't shut off or run off of batteries). If you join a battery-powered device near the coordinator (or any other router), the device will pick the coordinator (or the nearest router) as its parent and then keep trying to talk to only it. This will stop working (or work really unreliably) if you move the device to the opposite end of your home.
So if I pair it way away from the coordinator on the north end of the house per se, would it still work if I installed it on the south side of the house which is way away from the coordinator as well, or will it only work with whatever devices it paired with?
I’ve honestly never seen that behavior.
I’ve moved things around a bit, the only issues I’ve had are with specific devices (Aquara motion sensors have always sucked for me). But never had issues moving around.
You'd have better luck joining devices in-place. Some work, some don't. Some half-work.
Older Aqara specifically joins whatever router it sees first, which is rarely the best router. They also do not switch parent routers.
Is this behavior true for z-wave equipment as well?
I'm not a fan of this particular nuance, a light bulb goes out and now I have to repair 12 sensors in that zone that used that bulb as it 's parent router?
My bulb dies and that zone has no alarm sensor data, I have an unprotected zone until I come home and replace that bulb, and then re-pair all the correlating sensors?
For devices that follow the spec this is not an issue.. but aqara 🤷🏼♂️ (non zigbee 3.0 aqara)
anyone want to buy a conbee2? as im done with it.... maybe as ppl said, could be interference, but ive changed channels, still acts up........
hue motion sensors is the way i guess..... and a door sensor when they release their version.........
Hi, I have bought a Sonoff Zigbee 3.0 Dongle Plus. I've noticed that Home Assistant can find Zigbee 3.0 devices at a distance, but it cannot find non-Zigbee 3.0 devices when they are close. Is it possible that this is due to the Zigbee type?
And that they're supported by your coordinator, some don't work with TI coordinators, annoyingly.
And ... that there's no WiFi interference?
yes
there is WiFi interference , my hub is next to the router😁
I am doing this because I want to connect my hub to an Ethernet line
Use a longer cable, move it away 😉
It's still not working. It worked in the beginning when my Zigbee2mqtt detected it, but then it disconnected, and now I can't control it.
Hello, is there a newer method to update the Sonoff Zigbee Dongle-E than https://www.smarthomejunkie.net/update-the-sonoff-zigbee-dongle-e-easily-how-to/ ?
Hi All,
I have an issue with my legrand 752184 no neutral zigbee switches. If i use them with phoscon (Conbee 2), or without zigbee network, they are working fine. If I connect with ZHA (Skyconnect) the working method of the switch has been modified by itself.
There are two smd switches on the board, on and off. But when the switches are working fine, both of the switches are working like a toggle switch. If I connected with ZHA the switches are start working as the label says, on and off. I made 2 videos about the problem. I hope, somebody could help me.
Video1 works fine: https://youtube.com/shorts/ya5V9dJvFDE?feature=share
Video2 not works: https://youtube.com/shorts/FFYeRPZsS88?feature=share
Is there a good reason to choose ZHA over Z2M or vice versa? I'm about to set it up, and really don't have any arguments for either...
Personal preference mostly
Z2M tends to have better device support, but not always. Sometimes ZHA does.
and if one does not yet have a personal preference? any suggestions?
Z2M for me
Ok, thanks!
I'd say Z2M has support for more exotic devices
I bought some "no-name" zigbee tuya devices, and worked no problem with Z2M even though they weren't in the lists (lists bellow). but to be honest.. I didn't try them on ZHA they might also work.
and of course, blakadder's list
https://zigbee.blakadder.com/
Thanks! Seems like Z2M might be the most 'safe' way to go, for now
Good luck
I don't want to over complicate things, but it's a good idea to choose the right zigbee channel from the begging
Sounds like great advice, since my dongle is rather close to my WiFi access point atm.. 😇
If so, definitely use a USB extension cable
Yeah, already doing that..
Hello, beginner's question
Is it possible to update the zigbee devices to the latest firmware directly from HA or you have to pass for tuya?
ZHA has some ability to do that, but updating firmware comes with the risk that the device may no longer work with HA
so it's better to follow the rule, if it works leave it like this!
Yes
Hello, do zigbee devices continue to work without having them open on the home assistant computer? or how could it be?
What does it mean to have a device open on a computer?
I mean, I have a Raspberry 4 with a dongle for zigbe2mqtt, and I have the devices configured there, and when I close my computer, if the Raspberry continues to work, the devices continue to work without having to open my computer
Your computer is viewing a web page served by the Pi
As long as the Pi is running you're good
Perfect, so if I close my computer does the raspberry still work with the devices etc...? without the need to be next to my computer
Yes, still yes
Even if you throw your computer out the window it won't make any difference to the Pi
Why not try it? (not throwing the computer of the window, obviously)
I hope it's alright to ask a support question here. I am in the midst of upgrading my zigbee coordinator (the old one was a sonoff bridge - new one is sonoff dongle-E and ideally will be more reliable with its USB connection instead of socket port over wifi)
I decided to wipe my ZHA network entirely and start fresh. ZHA recognizes the new dongle and I'm able to pair a device ('device-1') quickly. Device-1 activity shows up in the zha_events listener just fine.
But it seems that when I add a device-2, device-1 stops working. No more activity in the listener.
Any idea if this is likely to be a coordinator issue (firmware neede?) or a ZHA / configuration isue?
Most likely a device issue. What devices are they?
You think so? The devices all worked fine with the previous coordinator (it was the bridge connection to ZHA that was fiddly, no the mesh itself).
I didn't get very far rebuilding my network before i noticed the problem so I've only tried it on a couple of aqara buttons and aqara door sensors. I've got some other devices I can try it on.
I think I found the problem with the slow responses (and not responding for a few seconds) when triggering! I did something very silly I guess, to prevent people from doing the same thing I will write it down here: When making my integration and connecting my devices I selected an "area" for my ikea bulbs and my ikea remote. later on when configuring my automation I selected the "area" to control the bulbs totally forgot that the remote was also linked to that "area". It works perfect after removing the remote from the area!
Don't suppose anyone can help me out. I'm new to home automation in general and have recently installed HAOS directly onto an old laptop. I'm trying to add my zigbee hub onto Zigbee2MQTT but I'm unable to find the USB port to set it up. My laptop doesn't have a USB-A port, only USB C so the connections are Laptop > USB Hub > Sonoff Hub. I'm unable to find the hub either when using the command "ha hardware info" in terminal or using the hardware list within HomeAssistant itself. Any help here is appreciated! 🙂
ZigBee hub being which one exactly?
Never mind... Apparently it was a faulty USB hub I guess? I tried a different one and it worked completely fine lol, strange as the zigbee dongle powered up using both
Just remember to put that "hub" on a USB extension cable
Zigbee2mqtt chaos
Hello, I have the Tuya ZY-100 sensor, and it works correctly, what happens is that it does not detect true or false presence, but only changes the presence state (none, present or moving), how can I solve that to put it in the automation
a template sensor or simply set automation triggers to both
How many devices can the Sonoff Zigbee 3.0 dongle Plus handle? I want to add around 150 Zigbee devices. Can this Zigbee dongle handle all of these devices?
Anyone know if this zigbee repeater works with ZHA? https://a.aliexpress.com/_mPsKeRC
Many many many hundreds
Hey, I am running zha and have the gas sensor mentioned here: https://github.com/zigpy/zha-device-handlers/issues/2261
A helpful poster said that you can add the device name to an existing quirk for this, but I am not sure how to modify that quirk file. Should I add it in my custom quirks directory and just modify it and it will overwrite the existing one?
Actually my model is slightly different, _TZE200_yojqa8xn
The data points are in z2m but I don't get anything in zha. Is there anywhere I can read how to maybe make a quirk myself as z2m already did the work of getting the dps?
hello. after upgrading the core ZHA will not start and i am seeing this in the logs
Logger: homeassistant.config_entries
Source: components/zha/core/gateway.py:226
First occurred: 1:51:20 PM (1 occurrences)
Last logged: 1:51:20 PM
Error setting up entry SkyConnect for zha
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/zigpy/application.py", line 197, in startup
the log is actually longer but i don't know how to attach it here
Upload to https://dpaste.org/ and poste the link here
What coordinator are you running? Still SkyConnect?
Your issue might be fixed in the 2023.9.1 then (not yet released)
yes it is a skyconnect. it was just fine prior to the update (i know everyone says that) but i literally updated the core and now it wont connect. luckily i have only 2 devices on it
There is a known ZHA issue with SkyConnects and Yellows at moment. It should be fixed in 2023.9.1.
On a Yellow, updating the firmware helped.
well... if it means anything at all i am not on a yellow
It i using the same Zigbee radio chip
oh... ok
You can try to deactivate ZHA and to install, configure and run the Silicon Labs Flasher add-on (assuming you are running HAOS and are not using the Multiprotocol stuff).
i am almost positive i am not running the multi protocol cause i did have that once and nothing worked at all and someone helped me flash it back to default
what is this add on you speak of? the last time i had to connect my stick to my PC and go to the flashing web page
It's an add-on to install and update the Zigbee-only firmware on Yellow and SkyConnect
is it in the add on store?
cool found it... when you say "deactivate zha" are you saying to delete the integration or disable it from the devices & services window?
Don't delete ZHA, just disable it - temporarily, until the firmware is updated
ok cool. will give it a try
so essentially:
- disable zha
- configure the add on and save it
- start the addon
- look in the logs for it "do something" and then "stop doing something"
- stop the addon
- re-enable ZHA
- cross fingers and hope it works
didn't seem to work 😦
Did it show an error message in the add-on's logs?
i see this at the bottom of alot of code
Error: Failed to probe running application type
[14:40:09] INFO: universal-silabs-flasher-up script exited with code 1
s6-rc: warning: unable to start service universal-silabs-flasher: command exited 1
I would try to restart HA with ZHA disabled and then retry the add-on
@fallow tide I converted your message into a file since it's above 15 lines :+1:
You can deinstall that add-on now and reactivate ZHA. You might be lucky.
@sudden yarrow THANK YOU!!! it did work as i started ZHA and my 2 devices are back. thank you again
thoughts on the Sonof Window/Door sensor? Looking to put something simple on the garage door, front door. My sonoff temp zigbee stuff works without fail, but was wondering about their simple magnet sensors.
Skip
any suggestions?
Aqara 3.0
E1 is also 3.0
I bought the SONOFF Dongle-P Zigbee 3.0 stick and It does not detect it in home assistant nor I am able to find a working way to add it.
Does anyone knows what I could look for more information? In a lot of places it says that it just shows up in home assistant as soon as you plug it in...
It does power up I did check the LED on the stick itself
I am using a Rpi 4 with a docker instance
I have two buildings. I want to install a coordinator in building B, using a raspberry pi zero and a Zbdongle-p and ser2net, in the same network and HA as building A. Will that work using two cordinators with one z2m?
You have to pass it through to HA unless you're running HA in privileged mode. If you're running in privileged mode, you might need to restart HA before the device will appear
You can only have one coordinator per zigbee network
I did reboot didn't help. What is privileged mode? my user is considered Admin in HA, is that what you mean?
No. Share your docker-compose entry or docker run command
I am using a template for HA from https://github.com/pi-hosted/pi-hosted
I just run it as is
Directly in portainer, no docker compose
I guess this is what you are asking for?
https://github.com/novaspirit/pi-hosted/blob/master/template/apps/home-assistant.json
Yea that seems neither privileged nor passing through any host devices / capabilities
Do I need to this "privileged " mode for HA to detect the stick?
No, you can pass it through manually
It also shows up with lsusb command
runnning this command: ls -1 /dev/serial/by-id/
gives me this: usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_66937df64e45ed11b450d18f0a86e0b4-if00-port0
it should give me the "tty" id but it does not look like it does, am I doing something wrong?
Is that a 1 rather than a l?
never mind I just found it with: sudo ls -la /dev/serial/by-id
But I still can't get HA to find the dongle
You didn't show us your current docker config
What do you need to see?
Your current docker config. Either the run command or the compose file.
You recreated the container, yes?
I am using a template directly in portainer
I want to see the current one
its the same one
But you changed it to have your device, no?
Yeah then how is is supposed to work if you didn't change anything?
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.
This is what I am asking for from the beginning
https://imgur.com/a/sw0HTJx
is this what you want to see?
Do I have to use docker compose?
cant i use it in the portainer Web Gui?
I recommend using your own template (compose) but you can go to Runtime & Resources
Then add the path you got under devices
Did I write it properly? https://imgur.com/a/WLIXOrM
No
Left side is /dev/serial/.... Right side can be /dev/ttyUSB0 or the same as left side
it gives me this error when tryinh to deploy the container: Failure Request failed with status code 500
Can you show me the config again?
Do you mean this?
Just want to see what you put into the fields. I guess you can also just enable privileged mode.
I don't use portainer templates like this. You might have to change it somewhere else
🤦
The ... is supposed to be filled by you
With this: #zigbee-archived message
Copy paste is just inconvenient on mobile
I am sorry I just didnt understand what I need to copy over
Like this? https://imgur.com/a/t7aI9S5
I dont understand why it does not let me deploy it
Yes. I had a typo earlier. It's tty not try but shouldn't matter much. Other than that it looks okay now
Wait. It's /dev/serial/by-id/usb-...
Oh thank you, it worked!!
For context here is the final working setting
https://imgur.com/a/Qr6rAeD
Perfect
Hi All,
Just joined the bandwagon about an hour ago. Has anyone ever setup a FUT089Z (miboxer remote)? I got a couple zigbee bulbs hooked up already through mqtt and can control them, but I do not know what I'm doing yet for this remote. I am just trying to start with the equipment I have already working. I read about setting up zones 101-108, but I am not sure where to start. Any help or point in the right direction would be appreciated.
Also, would there be any good reason to get the old hub connected?
CatDuck you're awesome
I know
using z2m
perfect, z2m makes it easy
so, first off, you need to pair the remote with z2m
you will not see any actions the remote takes
ok, I have no idea how to set up the zones or anything. All I can see is the clusters and theey don't make a lot of sense
Then, you make a "group" in z2m. add the zigbee device you want to control to it
ok, paired
yes, just name it 101 or what
Specify 101 for what you want to control on #1
name it whatever, but specify group 101-108
101 = 1 on remote
then click on the group
device, add the device to the group, (not the remote)
DEWD! That was too easy
Dont ask me how long it took me to figure out it was that easy
cool thing is you can connect it with a switch too
now, nothing will show up in home assistant
I bet. I started digging and just decided to see if discord could help
you mean the remote won't show up, right?
i'm not 5 and I love this remote
so you probably want to have availability on the devices it controls
Alright, I'm brand new to this, what do you mean availability.
like, z2m wont know what the remote does
if the remote turns off a light, HA wont know
OHHH
This is just for one room. I'm sure I will upgrade and move away from it, but will this hold me back with any automations or triggers? HA would still send on/off signals, right?
The remote works without internet or zigbee, pretty cool. You just need to be careful with automations. for example "toggle" might act strange
I have a inovelli blue, which is bound with "smart bulb" mode. so that actually keeps in sync with ceiling
Ok, that makes perfect sense.
CatDuck, thank you. You made my day. I appreciate you.
🙂 enjoy! Happy to help save you from what I went through. It is pretty awesome once you figure out its "quirks"
This is a perfectly fresh build and these are my first few devices before I have to purchase a data center to run everything I own, but the response from the devices is basically INSTANT. I am really happy I jumped into this.
By the way, did you ever get the double clicks on the remote working?
Never tried? on off, color, brightness
on the old app, you could set double click to do a separate action, I used it to go to medium white 50% power. Just wondering if that can still be accessed or not. Tried the double click and nothing happened, which made me think that the remote processed it as a different button press
I've only used it with home assistant, both devices would need to support it, since HA doesn't recieve any signals
Ah, thats right, you mentioned that. I wonder if it is a different group id
dont think so
like i've added a zigbee plug, and on/off works
but obviously color changing doesn't
The color changing works and it does it per zone just like the remote used to. It seems like there would be some extra function that is missing other than just using the 101-108 groups
yea, you cant program it
so if the device had the ability to do something on a double click
directly
yeah, technically the device seems to register a different command, but you had to program it through the app.
Failed to call service light/turn_off. Failed to send request: Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102> started getting these all over the place tonight for the first time, no changes I'm aware of
If I just... keep attempting to turn off the light eventually the message gets through but like 80% are errors
I was having some minor issues with my Zigbee setup so I deleted the network and was going to repair everything... only about 10 devices so not that big of a deal... I removed the ZHA integration, stopped the docker container for HA, deleted the zigbee.db file and restart HA. It immeidaly suggests the ZHA integration, which I install without issue. I'm trying to repair devices and follow instructions (sengled bulbs) and get them to flash properly that I'm reseting ok but it is never discovered... do I need to remove the previously installed devices anyhwere else in the configs?
is there a way to have z2m make periodic backups ?
Of the whole data folder? Not that I'm aware of. If you use HAOS you can use one of the many backup sheduling tools
it has a backup function which creates
network_backup.json
nvram.json
state.json
coordinator_backup.json
for download in a zip , would be nice to have it do this once a week
automaticaly...
I believe that's a frontend (3rd party developed) feature. You could create a feature request
any advice?
is there a different way to get rid of zigbee devices other than zigbee.db
If you deleted the database and formed a new network, there's nothing left. Your problem is likely interference. Make sure your coordinator is on an extension cable and positioned far from USB 3.0 devices, SSDs, 2.4GHz wifi, and so on.
Thanks, it is on a cable and I put a bulb very close to the usb card
2023.9.0 totally broke my zha setup, but restoring to 2023.8 recovered everything.
Looks like there are already PRs open to fix the issue.
Oh goodness, super noob here. Does anyone have a link to a page or video on how to setup an aqara or sonoff button in mqtt. Just looking to make it trigger a bulb. Got a few lights and remotes connected and started looking through documentation, but don't know where to start.
Try a blueprint?
Hey everyone, I installed a new pair of Hue Econic light fixtures on my front porch last week. Originally I had tough time pairing the Right one and eventually added it to the Hue app, then removed it and it added fine. Now twice in the past couple of days, the Left one becomes unresponsive yet it theoretically has the stronger signal strength (Left: 215, Right: 151)
The error in Z2M is: Publish 'set' 'state' to 'Front Porch Left' failed: 'Error: Command 0x001788010be7c945/11 genOnOff.on({}, {"sendWhen":"immediate","timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (no response received (51))'
How do I go about troubleshooting/fixing this?
I'm thinking about starting with a factory reset.
Are you asking how to pair it via Zigbee or have it perform functions?
If the latter and since you said "super noob", I'm going to assume you're not using NodeRed.
Per CatDuck, install this Blueprint: https://community.home-assistant.io/t/aqara-buttons-all-in-one-zigbee2mqtt/268717
Then you can setup an Automation for it.
2023.9.1 seems to be safe
Yes, precisely what I did not know I needed. Thank you for pointing me in the right direction!
If I have a Zigbee device named "light01" that I've used in many automations in Home Assistant, and it breaks.
If I replace it with a new light and give it the name "light01," will all my automations that include "light01" start working again?
If you're not using it with Device triggers/conditions/actions then yes
Hi, I have some weird problem. Added some lights to zigbee2mqtt and within there they function fine. However, they don't expose well to HA. It exposes the Do not disturb and effect entity, but not the light entity itself, see screenshot. Any idea's how I can fix this? https://ibb.co/Vw1FSbT
Which versions are HA and Z2M?
I recently replaced some off brand ZigBee bulbs with hue (non RGB).
They work great but they seem to randomly turn on for a fraction of a second and then turn off.
Any ideas on how I can figure out why this happens?
That's very unusual. Is power being cut to them? What integration are you using?
I'm using ZHA. The bulbs in question are in a couple lamps with the switches just left on.
Hi all.
I installed 2 zigbee routers to extend the range. Some of my devices that are closer to my coordinator decided to connect to my farther router, thus causing issues with my automation.
How can I get these devices to stick to my coordinator?
question, if i need to reflash my sonoff dongle-p firmware, do i need to repair all devices in HA?
just found the answer apparently not
Correct
When exactly does this happen? (when you turn it on through HA? or just randomly when it’s supposed to be off?)
Also, is the light on a dimmer?
No dimmer. The bulbs will just trigger randomly. I'm not trying to turn them on or off or anything.
Power outage recently?
I had this when after a power outage, and when some devices were trying to do ota updates
No power outages. And it's not all of them at once. There's I think six bulbs and it's just one of them at a time afaict.
Yes this could just be them doing firmware updates
I have that from time to time with my ceiling lights as they are rarely powered on
Anyone else have a problem of all devices suddenly disappearing in zigbee2mqtt?
This happened on two different installations now. First one I just repaired everything because I thought I did something wrong, still trying to fix/troubleshoot the second time just now.
I have a ikea light connected to zigbee2mqtt, working. I also have a trådfri on/off switch how can I pair that with the light and still have the light in zigbee2mqtt?
the light is a STOFTMOLN ceiling/wall lamp WW37
and the button is a TRÅDFRI ON/OFF switch
Your goal is to directly control the light from the "switch", without HA?
no, I want to connect the remote to the light and also have the light in ha
You didn't read what was written
Then you pair the "switch" and then bind the "switch" to the light
how bind?
what do I then bind? Groups Identify LevelCtrl OnOff Touchlink
I want both on/off and brightness
so do I tick both?
Also I see a Destination endpoint, it can be 1 or 242
i'll try, thanks
hmm not working
Failed to bind cluster 'genOnOff' from 'office_light_remote' to 'office_light' (Error: Bind 0x70ac08fffe75f5e9/1 genOnOff from '0x1c34f1fffed2132a/1' failed ({"address":60948,"clusterId":32801,"sequence":180} after 10000ms))
You'll need to "wake" the "switch" when binding
and I do that how?
Usually by tapping the pair button every few seconds
MQTT publish: topic 'zigbee2mqtt/bridge/response/device/bind', payload '{"data":{"clusters":["genLevelCtrl","genOnOff"],"failed":[],"from":"office_light_remote/1","to":"office_light/1"},"status":"ok","transaction":"ny2a3-1"}'
in the logs and web ui it looks good, but the button does not work
Do I need to unbind the button from the Coordinator and the default_bind_group?
Not sure, I don't use binding myself
ok
wait, the remote has a firmware update
lemme try updating
bruh, it takes 2h to update
Zigbee is not high bandwidth, and there needs to be airtime for other devices to talk
Also, you'll possibly need to keep it awake
it keeps giving me updates on how long it is in the process, so I dont think so
Hi all.
I installed 2 zigbee routers to extend the range. Some of my devices that are closer to my coordinator decided to connect to my farther router, thus causing issues with my automation.
How can I get these devices to stick to my coordinator?
You can't
@sour shadow Thanks som much! After the update it works!
Hi, I have a problem with sonoff zigbee 3.0 and am43 blinds drive, it turns out that when I search for the device and do the motor button press, it does not find it HA. Has anyone had this same problem? or is it hidden any solution?
ZHA, Zigbee2MQTT? deCONZ?
Also, which of the (at least) 3 different Zigbee 3.0 sticks are you referring to (and they made two called "Plus" - one the P and one the E)
ZHA
Plus
You ... didn't really read what was there, did you
and they made two called "Plus" - one the P and one the E
Worst. Product Naming. Ever.
Eh, HA Core vs HA Core
Sorry, it's P
@stable solstice When using Discord's Reply feature it defaults to pinging the person you reply to, which can get frustrating for the target. Use Shift + click on the Reply option, or click @ ON to @ OFF to stop this - on the right side of the compose bar.
You have to change this every time (thank the Discord devs for that).
Or do you recommend to try Zigbee2MQTT?
hello guys, I have an odd issue, my sonoff zigbee button (WB01) somehow turns on my aqara plug (lumi.plug.maeu01)... There's no automations connecting them. No matter if I single or double press that button, the plug will turn on, does anyone have an idea how I can fix this?
Maybe you bound them somehow?
the button only has two similar automations connected to it, turn on work laptop or personal computer. Plug is usually turned on by a trigger for humidity sensor in the same room as the plug
o doubt there's a connection between them in home assistant level, more like in zigbee network level and I have no idea how to troubleshoot this
That's what I was referring to with the binding. Are you using Z2M or ZHA? Not familiar with the latter.
ZHA
https://community.home-assistant.io/t/aqara-smart-plug-acts-on-any-button/505563/2
nvm, found our forum thread on this topic
it seems it's just aqara cutting corners
Hi, I'm trying to use a conbee 2 to add a Ikea Symfonisk sound remote gen 2 to my home assistant.
The Homeassistant is on a raspberry 3B and the conbee is recognized aswell. (The web interface works and recognize the key).
My remote can't connect to my conbee. I tried putting it on my computer and updating it on my computer, it worked after the update of the key, before updating it wasn't working. The remote was succesfully recognized on my conbee 2.
My problem is that I updated my conbee on my computer but when I plug it back on my raspberry running HA, it still use the old version of the conbee 2. This is my first zigbee try and I'm a bit lost.
I tried some tutorials and they say to use ssh and run the command using docker, but it says "bash: docker: command not found".
(https://github.com/dresden-elektronik/deconz-rest-plugin/wiki/Update-deCONZ-manually ,(They say to use docker for home assistant))
Thanks to anyone that will try to help me.
Hello,
I have a Phillips Hue indoor connected over ZHA.
I just replaced the battery, but how do i reconnect it? it seems like it forgot where it belongs or something. Do i really need to repair it?
That should reconnect itself, but if necessary enable pairing mode in ZHA and wake the device, and if that doesn't get it reconnected just re-pair
Using pairing mode in zha, did it 🙂
thanks§!
my Lumi main's light switched got configured as light bulbs rather than switches how do i fix?
Is zigbee/ZHA broken with latest update. I have just updated and all my zigbee devices show offline
Ok, so my Aqara device now shows online, along with my sonoff thermostats, its just my sonoff door sensors showing offline.
@austere patio any luck with those TRV PRs ? It would be nice if I could redo my setup before it's cold 🙂
This is my first time working with ZHA and I'm having difficulties adding the ZB-Hub to ZHA
If there is indeed a ZB bug in this build maybe thats the Problem
Despite being your first time eh?
I'm going to try it on older HA build just to make sure
boy howdy am I having zigbee issues too 😖
I upgraded mine and my ZHA devices were gone, so I decided to rebuild using zigbee2mqtt and mosquitto in docker containers and those are working fine. but then I tried to get a brand new home assistant VM to listen to mosquitto, and it can receive messages, but it's not detecting any devices
Although I seem to have just fixed my issues 🎉
What command?
Mostly you just use the entities, as you would for any other entity
You use MQTT service
Rarely necessary, though
what would people recommend as small hardware for zigbee diy switches?
the zbmini l2 from sonoff seems like it could fit, but i suspect this wouldnt necessary be optimal with no neutral and no capabilities of being a router
What is small?
i think the dimensions are around 3x4x2cm for the l2 but i think slightly wider could still fit
Not gonna find a neutral powered relay that snall
how large do they commonly be
Around 5 cm wide and usually at least 2cm thick
i will have to measure again, but i think those boxes are only 4-5cm deep which could be pretty tight
for width that may still fit
👍 will have a look thank ya
any ideas on how I can make this status go away?
https://gyazo.com/6a7374264f0c32f538a878fd6774d47b
You can't since the device doesn't exist in zigbee2mqtt anymore, you can delete the entity
All my devices are still there and working in mqtt
I am unable to program automations in HA since this error is here
Hey guys, I was originally using Sonoff ZBdongle-P until i realized that was causing my z2m to crash frequently. So I purchsaed the ZBdongle-E adapter. Had some issues trying to get it to work, but its working now.
My issue is I can pair my kwikset 914 but it gives me "device not supported". It was working fine with the other adapter so not sure why its not supported anymore. I did try adding support via the instructions but I think I made a typo somewhere...still working on it
Hello kind humans, I'm in the process of moving my HA VM from Unraid to XCP-NG.
The back up and restore of the VM has gone fine.
However, the the Zigbee portaion (ZHA), it's not detecting my Zigbee stick properly.
I have passed it through. It does show up in the new HA instance as /dev/ttyUSB2 - HubZ Smart Home Controller - HubZ ZigBee Com Port, s/n: 8130007F - Silicon Labs
When I try to use Migrate Radio function, I get a 'failed to connect' I'm unsure what logs I need to grab to help troubleshoot this. Can someone lend a hand?
If there is a connection failure, the most likely problem is bad USB passthrough
fun, my Zwave portion of that same stick (HubZ) is working fine... which means its passed through to the VM.
Is there any kind of testing I can do from command line?
If you install the zigpy-cli Python package, zigpy -vv radio --baudrate 57600 ezsp /dev/serial/by-id/... info connects to the radio the exact same way ZHA does. You'll likely see a timeout error because the serial port doesn't work.
On the other hand, if by "failed to connect" you mean that you can't start the migration (or select the serial port), make sure to choose "re-configure the current radio" instead of "migrate to a new radio". The latter tries to erase your original radio before moving, which won't work if the original isn't connected.
Yea. I choose to reconfigure current radio.
When people say that Hue are some of the best Zigbee devices you can buy, they're not lying. I just added a couple Hue bulbs to my setup and they're extremely responsive and great routers.
Maybe try a different zigbee channel, some devices wont connect on certain channels. Usually it is on Automatic.
ConBee has a feature where you can run Deconz on one device (say a RPi) but connect its devices to a Home Assistant on another machine. Can I do something similar with the official SkyConnect + HAOS? So that my HA instance is running on one machine but HAOS + a dummy HA instance is managing the SkyConnect?
Not natively, no. You could use Zigbee2MQTT instead, or the Remote Home Assistant custom integration.
You can use ser2net and expose the serial port over TCP
Then connect to socket://remote.ip.address:port when setting up/reconfiguring ZHA
Hm, bummer. Would be cool to have a Bluetooth Proxy'alike but for Thread/Zigbee
I have trouble extending my network out to this part of my house, otherwise I'd just throw up a few more Zigbee plugs as ad-hoc extenders
like above, if I bung on a lot of smart plugs ("hubs") around my home, they'll improve "mesh" of the co-ordinator, right?
Well, ... maybe
They can't be "hubs", those are coordinators and the brains of the mesh
They also have to be joined to your existing mesh
Finally, some Zigbee 1.2 devices (particularly Xiaomi) won't use them unless you re-pair them through that router
I have an IKEA light and switch linked to each other directly for on/off and they are also linked to my HA via zigbee2mqtt. I have noticed that when the switch turns the light on/off, the light's state is not reflect in HA. I have tried setting state_action to True and have set zigbee2mqtt Availability to Availability (simple).
The state still doesn't update automatically. I have to go into the device via zigbee2mqtt and click the refresh button in the deice>Exposes>state in order to get the state to update.
Does anyone know how to update/refresh the state automatically? Any help would be greatly appreciated. Thanks!
Over 4 million occurrences of these zha zigbee errors. I read somewhere that a potential fix is a complete shutdown and reboot, but I also saw many posts talking about this issue. Is that all I need to do? Wanted to report this before I lose the error.
Logger: zigpy.appdb
Source: runner.py:186
First occurred: 9 September 2023 at 15:06:17 (4113723 occurrences)
Last logged: 08:25:28
Discarding _save_device_last_seen event
Discarding _save_attribute event
Discarding _save_device_relays event
Discarding _network_backup_removed event
Discarding _network_backup_created event
The fix will be in the next point release
It'll only show up if ZHA has to reconnect multiple times to your radio on startup so a HA Core restart may fix things in the sense that it will work on the first try
Is having to reconnect to the radio multiple times a hardware issue that I should be looking into?
the mesh network appears to be woking ok
What are you running? Multi-PAN?
No, sonoff dongle P model (sorry can never recall exact name)
the one in extruded black AL case
Are you running in a VM?
i just turned on 10 devices in a group and it was shocking how fast they all reacted
yes, proxmox
If it works, it works 😄
these devices most often turn on fast but popcorn style. They all clicked on within a few ms, enough to detect them all.
music to my ears 😉
I trouble a lot with my zigbee network Running latest ZHA. I have tried to set my Zigbee Channel to channel 15 and I have set wifi to wifi channel 11, And I had hoped that should do the trick. But still gets some bugs, how do I fix this? ````
Logger: zigpy.application
Source: components/zha/core/gateway.py:226
First occurred: 12:29:38 (2 occurrences)
Last logged: 12:29:38
Zigbee channel 15 utilization is 75.29%!
If you are having problems joining new devices, are missing sensor updates, or have issues keeping devices joined, ensure your coordinator is away from interference sources such as USB 3.0 devices, SSDs, WiFi routers, etc.````
I got a wifi extender(mesh)pretty close to the Rpi running Home Assistant, and I have the Raspbee II from dresden as coordinator.
Mine always complains it is at 78%... I tried it all... I have 5 APs so I reorganized the Wifi channels to be far from my zigbee channel on the APs that are closest. I turned down power on 2.4GHz as there is good AP coverage and only IoT and slow stuff is on 2.4GHz. I put a directional antenna with a front lobe on the zigbee coordinator given it is on the side of the house so I wanted it to be deaf in the direction of my neighbor and more receptive in the direction of my house. I have it on an extension cable on top of my rack enclosure. I improved the coordinator shielding with copper inside the case. I changed zigbee channel to 20 as it seemed less crowded. I also tried a USB Isolator module. Nothing helped with regards to the 78% utilization.
Use the auto channel changing option so that it selects the best channel for your current environment. Move the WiFi extender as well.
This must be new... awesome. Will it cause trouble when it changes with devices that stubbornly stick to their old channel? When I did it manually I had to repair most of the network.
OK I will try the auto option again. It is not that easy removing the wifi extender as I have a lot of equipment cabled from it and the extender itself is also cabled from the router. Have to think through what I can do with it.
and I also have the same question as ZombieSapiens have.
The dialog has more info but it should work fine if you have compliant devices. Just give it 10-15 minutes after migration for them to re-join and then manually re-join the ones that did not migrate.
But that means that each time it changes the channel for whatever reason, I will have devices that need repairing. I
auto does it only a single time
As in, you are performing a channel change but letting ZHA pick the best channel
ah, awesome!
i said ch20, actually it was 25
I ran it, and the channel still says 25
That means 25 is the best and that your environment is just noisy, unfortunately
I guess I need to find a cheap spectrum analyzer I can use to figure out what it is
i used to work for an SDR company too bad I ne3ver got one then
Oooh, an SDR would be fun to use to hunt it down. Any nearby motors? Power supplies? Other computers? Furnaces?
Well, at least you don't have an active microwave oven next to it
the house is full of electronics so i am sure there is lots of noise, but I do try to limit one thing interfering with another. Yup, no microwave for now... if I add one for the pop corn (movie room) it will be on the opposite side of the room
and I might add extra shielding 😉
ok, mine changed to channel 25, had to refresh the browser running HA after I ran it.
ch25 overlaps only with wifi 11 so it is usually good
ch26 is not supported by all zigbee devices otherwise it would be even better
But the strange thing is that my wifi runs on chennel 11
Belive me I have tried, did som research and then ended up with Zigbee 15 and Wifi 11 as I understood that they would not interefere with eachother. Have to check which devices is running on 2.4GHz
wifi 11 and ZB 15 don't interfere (look at image I linked above) but you are likely not the only source of wifi signals around you
what about neighbors? did you do a wifi scan?
There's also a pinned image with Zigbee and WiFi overlaid to make it more obvious
The problems with neighbours is that their wifi runs "Auto"
yup same image 🙂
Generally the energy scan produced by the Zigbee radio (you can see the raw scan results in the ZHA diagnostics JSON) is a little more accurate than what a WiFi scan will produce, because the WiFi scan is just plotting the RSSI values of detected networks, which won't pick up environmental noise
Nope #zigbee-archived message 😉
Basically the same image 😄
Same, but different, but same 😛
this is what it looks like near me: https://imgur.com/B9yWZpf
but opposite side of house compared to zigbee coordinator
any of you know of a cheap spectrum analyzer... something similar to the Metageek solution but not solely focused on wifi
i wonder if a cheap RTL-SDR can do it
If you have a second radio (or want to use your original coordinator for a bit), you can also run an energy scan: https://github.com/zigpy/zigpy-cli#performing-an-energy-scan
Not as accurate as an SDR by any means but it is better than nothing
i have another identical coordinator i am not using
does it constantly update so i can walk around the house on a hunt?
Yes
ran auto, and the I moved my wifi extender not much but a little bit. And now I get error 208, and sometimes just the message. No radio. Restarting HA now.
What is error 208?
Oh, probably NWK_ROUTE_DISCOVERY_FAILED if you're using a Conbee
oh I dont remember the whole text, Do a restart and the going to move my wifi to channel 1 or 6 as well.
Yes you are correct
Would this be valid for Z2M serial?
Port: socket://core-silabs-multiprotocol:9999
tcp://
Thank you and that is all I need to select the device?
Is it the same for devices:// thingy?
So the skyconnect in multipan mode has to be remote?
yes. "remote" in that you are connecting to a tcp port, that port could be local to the overall host
Thank you, so do I need a devices:// value in the mqtt section?
I'm not sure on that.
502: Bad gateway :/
that just means it's not started/config is bad.
Z2M config would be a lot easier if we could select settings via Gui 😅
how long after changing channel do I have to wait before I am able to control my entities again?
A few minutes ime. You might need to "wake" battery devices by hitting whatever pairing button they have, and some devices might need to be re-paired entirely. Don't delete them, just permit joining and reset at the device.
I get nothing up running again. But the funny thing is that one of My Ikea shortcut buttons actually turns on one of my aquara plugs, and they were never paired together. But cant reach anything from ZHA.
Hello -- infrequent visitor here. Having an issue with ZHA and the Aqara Curtain Driver E1. It's recognized natively in ZHA, but the open/close commands don't work, only the percentage slider. I've tried using a custom quirk (https://github.com/zigpy/zha-device-handlers/pull/1648/files), but it doesn't improve on this issue (that quirk makes battery percentage appear, but not much else). Can anyone guide me how to improve on this quirk so that open/close works properly. This issue is also discussed here: https://community.home-assistant.io/t/aqara-curtain-driver-e1/438974/62
I tried to press identify on the one door sensor that actually shows battery status, and then I get the message "No Network"
NO_NETWORK specifically? Can you download diagnostics for the ZHA integration itself and post a link to the file?
I have now deleted the ZHA, restarted HA. Added ZHA again, paired a couple of my IKEA Trådfri and it worked. So now I am restoring a full backup from yesterday. Hope that will work.
I also had some issues with my Trådfri buttons dropping off the network. I've heard that it's possibly better with Zigbee2MQTT than ZHA, but I haven't tried it
I wanted something super reliable so I ended up going with a Lutron hub and in-wall switch. A lot more expensive, but I'm hopeful the reliability will be worth it.
Also, one avenue to explore if your buttons aren't being used every day: check the configuration of the timeout value inside ZHA to make sure it's long enough to not lose track of your buttons
Does anyone have any experience with kwikset zigbee hardware?
I have one model with a 450203 zigbee module and it works fine, but another one with the 450202 module immediately drops off the network after pairing
But I lost everything, IKEA, and different Aquara sensors. It even stated that I had no network.
@graceful ingot I converted your message into a file since it's above 15 lines :+1:
You could write an #automations-archived to do that, yes
My zigbee network starts behaving strange after last update (sometimes devices become unavailable, long delays on switch presses and similar), no errors in logs. Have you find what was a reason for your problem? Did you solve it?
thanks, but I'm not sure whether the timing through the automation will be correct, as it populated through the mqtt broker which may take few hundred of msec (which is not always the same)..
I do not know what happened. I just tried to switch channel because my log stated the channel was interfered. I used the auto option in ZHA. Then nothing came back. I tried to put in my full backup from yesterday, that did not work. In the end I deleted ZHA, restarted HA, and included just one bulb making ensure my zigbee radio was ok. Then again I restored the full backup, but nothing. So I have to include all my senors, plugs and bulbs again. Luckily I have only 21. Now I have only 4 of them to go, but that must wait until tomorrow as my wife has gone to sleep and I must enter the attic. I hope this time, things will be a little more stable. It is my aqara door/windows-sensor that sometimes have been faulty, while the tempsensors have worked lika a charm, the same with the plugs and the IKEA bulbs.
I got mine yesterday working by updating my sonoff dongle p to the latest firmware version and then moving the device and re-adding it.
That's interesting -- I am also using the same dongle as you, I think on the prior firmware. So you updated to "CC1352P2_CC2652P_launchpad_coordinator_20230507.zip" and are using ZHA and the Aqara Curtain E1 device responds to regular open/close commands?
(note: I know the Aqara Curtain Driver works well under Z2M, but there are issues with ZHA)
Yes, I updated to "CC1352P2_CC2652P_launchpad_coordinator_20230507.zip" with the python automatic script. I now have everything working.
Just to verify once more, ZHA, right? 🙂 And beforehand, open/close of the curtain driver wasn't working for you?
I am indeed using ZHA, open/close was working. But temperature, battery and current state wasn't reported correct or not at all.
Thank you -- I'll give it a try later today and see if this fixes anything for me. Strange that open/close was working for you though. Maybe my Aqara device is on a different firmware than yours. Let's see what gives -- will report back -- thank you!! 🙂
Yeah I had a similar issue with mine. Try pairing it directly to a nearby router.
If you don't have a router nearby, like within 10 feet, add one.
No routers/repeaters in my network, just the central Sonoff P dongle with Z-Stack firmware. But about 30 feet away from device and through a wall.
In the router changelog I was on the firmware update before the E1 fix. So my issue was definitely the router firmware, but in the latest firmware they made general xaomi fixes. No idea if that has effect on the E1 curtains.
Thank you -- I may have to obtain an Aqara hub just to update the device firmware. But let me try the low hanging fruit of updating my coordinator firmware first. Thank you both @sacred portal @astral seal !
Hi allll
I would like to automate my house and I’m excited about it
I would like to buy magic track light (perhaps you can recommend) from AliExpress, but the seller said I need to buy zigbee gateway from him. Is it reasonable?
There are other options like tuya zigbee, graffiti gateway - will it work with HA?
You don't need their gateway if it works with zigbee2mqtt as they claim
Go to zigbee2mqtt.iio and get one of the supported adapters
ask more questions here before randomly buying stuff off alie then figuring out how well it works in home assistant
I’m not sure what to ask to be honest, im new. I’m not familiar with HA. I’m buying things to start my first setup
How HA suppose to understand how to instruct the lamp to turn on/off, dimm, change color, etc?
Hey man! Loved your article on the nspanel pro - you plan to release anymore on it anytime soon?
With zigbee2mqtt or ZHA, depending on your preference
HA understand the API automatically?!
Leave the communication method aside (zigbee)
home assistant either uses a program called zigbee home automation or zigbee2mqtt to talk to a zigbee coordinator (like a usb stick) which then talks zigbee directly to all zigbee devices
ZHA and zigbee2mqtt know how to communicate with the devices, yes
Each device is different, how does HA knows which APIs each device exposes?
For example lamp A can turn on/off, lamp B can turn in/off and switch colors.
Zigbee has standards that many devices follow
you can see all this on github if you want
The ones that don't require specific treatment (quirks in ZHA or special converters for zigbee2mqtt)
So the protocol (zigbee) takes care of that magic? Given that a device is connected using a zigbee gateway - the functionality will be available in HA automatically
https://www.zigbee2mqtt.io/supported-devices/ if you use zigbee2mqtt you can confirm 100% on this list if the device is currently supported before buying it
or open a new issue and work with the devs to get it working
I’m buying a magnetic track lamp from AliExpress so I don’t believe it will be listed
i'll link back to what i said above lol
buying "aliexpress zigbee lamp #37 tuya" is a good way to have a non-reliable zigbee mesh
I asked the seller and he said that the lamps works with zigbee 3, and that a gateway is required…
I’ll order a sample to check it
Wdyt?
I’m new to this
it's widely suggested not to do what you're doing and buying random zigbee shit off alie
what happens when a device tries to route packets through your "chyna magic track light" and it blackholes the packets?
I have routers all over the place (inovelli 2-1 switches) and I tried having it right next to the switch, and used ZHA "use this device to add device", no dice 😦
it pairs and configures then immediately goes "unavailable"
I'm starting to think that the 450202 module is actually a "control4" module, which apparently uses non-standard zigbee (but from everything I see, the control4 module is like bright red)
Ok, so let’s try another route. My other option is to buy a lamp that works with 0-10v/dali/triac is it something that can work?
Yeah provided it follows the Zigbee cluster specs properly, which you can actually look up. ZHA or Z2M see what clusters the device exposes and knows what to do with them. Things that don't exactly follow the specs need "quirks" to make them work correctly, and if you run across a device that needs a quirk or whatever z2m calls that stuff, you can work with the devs to get it supported.
hey all, recently noticed that none of my z2m devices are showing as available in HA, but everything still works from z2m dashboard
Hi all, I have a Zigbee RGBW controller. I can control it using the color and brightness picker UI but I don't see many hooks to be able to control it via automations. Is there some way to expose how the UI is controlling it?
light.turn_on service?
Call service in automations like Julian said
When I go to "create script with device" it has a few things but it's not complete. There is turn off / on / toggle light, increase / decrease, flash, set color temp and "press identify button".
It's missing "set brightness to x / y" or "set rgb" values.
It sounds like there's a scripting interface somewhere from what you say, Julian? I haven't found my way to that yet
Yes, a script where you call light.turn_on
Thank you, I see that there's a brightness_pct value under the turn_on method:
alias: New Script
sequence:
- type: turn_on
device_id: x
entity_id: y
domain: light
brightness_pct: 42
flash: long
I don't however see any way to set the actual color of the lights outside of the UI - any tips on how I could go about finding the knobs to set that?
That should be an option under the light.turn_on service, which can be called in automations or scripts
Thank you, I don't see it but I'll keep digging and report back if I fail miserably 😛
Create a new script by going to Settings -> Automations -> select Scripts tab.
As an action, add "call a service".
Then, call light.turn_on
Same thing can be used in an automation
Oh wow that was it, thank you so much Julian!!!
Ciao guys! i'm using Z2M in my HA and i'm wondering if it's possible to remove the OTA from the update list in HA. it's messy for me to have the OTAs mixed with standard updates 😦
Hi, I think my question was lost in chat so I am reposting it🤞
I have an IKEA light and switch linked to each other directly for on/off and they are also linked to my HA via zigbee2mqtt. I have noticed that when the switch turns the light on/off, the light's state is not reflect in HA. I have tried setting state_action to True and have set zigbee2mqtt Availability to Availability (simple).
The state still doesn't update automatically. I have to go into the device via zigbee2mqtt and click the refresh button in the deice>Exposes>state in order to get the state to update.
I have looked at the Z2M docs and looks like setting the state to true and activating availability should have done it but alas, it did not work.
Does anyone know how to update/refresh the state automatically? Any help would be greatly appreciated. Thanks!
I have the same binding option and i confirm it's not reported as well. it's because it's not communicating with the coordinator. atm i don't have a solution for this. maybe you can link the button press to an automation to refresh the light state
I have tried this and I can't find the action to call on button press to refresh state... I managed to finally get it somewhat working though! In the device's Reporting tab I set onOff to 1 for min rep change.
it has a bit but it does eventually update within about 1min...
I changed to ch 15 from 11 and still the same thing.
Channels 11, 15, 20, and 25 are the ones supported by pretty much every Zigbee device
Hey did you find a good Zigbee plant sensor ?
Hi I have some switches like the TS0042 and some times the presses are not registered (after they go to sleep or so) which is very anoying.
I found this issue on Github https://github.com/zigpy/zha-device-handlers/issues/1746 but I can't really find a solution there. (maybe because of my limited knowledge about this topic)
In the Zigbee info of the device it also says Quirk: zhaquirks.tuya.ts0042.TuyaSmartRemote0042TO does this mean it's a known issue without a solution or is there some fix that can be done?
I'm using ZHA with SkyConnect dongle.
Diagnostics: https://gist.github.com/Rojoss/43e933da02a73de796d8a133c997c137
Hello, I'm using Z2M, and sometimes my aqara contact sensor gets stuck on "open" state even when the door is closed, and I have to press the button on it, or open the door and close it again to refresh its state, is there a way to refresh it from home assistant instead of manually pressing the button? like using the call service mqtt publish to the contact sensor to force it to update its exposes?
I've re-paired them quite a lot of times and today as well but the issue persists.
Hello i am trying to get my zigbee Dongle E working with zigbee2mqtt but i keep recieving this error in the logs when i try to start zigbee2mqtt
Error: Failure send getNetworkParameters:{"type":"Buffer","data":[24,0,1,40,0]} at /app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:562:23 at Queue.executeNext (/app/node_modules/zigbee-herdsman/src/utils/queue.ts:32:32)
Just tried the dev version which somehow does work. exact same config
The driver for that chip is experimental. Could be a random thing or dev includes a fix 🤷
well nvm trying to join devices ill trow this error and stop zigbee2mqtt request 'zigbee2mqtt/bridge/request/permit_join' failed with error: 'Connection not initialized'
I can't figure out the compatible devices for ZHA, the device I just bought was just added to teh Z2M list, can I use Z2M with SkyConnect?
It's a CT clamp sensor TuYa PJ-1203A
same answer as before
your answer doesn't tell me if I can, experimental as in it doesn't work right, or experimental is in it's not officially supported and you are on your own
experimental as in there are no guarantees, probably issues, and you're on your own if you have issues
okay thats more helpful
I had issues just pairing a device and moved to a different coordinator
basically what I NEED is for this particular device to work, what I WANT is to start off on the easiest thing. Can I do both or do I need two coordinators to use both
you can't have both talking to a single coordinator
damn, okay.
sounds like maybe i messed up buying this thing, ah well
is there a list of ZHA devices because I found it easily for Z2M but i am more just seeing a list of types of entities
Okay here is a better question that I thought I knew the answer too but maybe I am wrong. If I use ZHA, can I just try to pair the device in question and see if it works. Like does ZHA do some sort of probe to see what information the device exposes?
This is the device https://www.zigbee2mqtt.io/devices/PJ-1203A.html
If it's something that can be done with config files I'd like to try to make it work in ZHA
i'll go put it in the panel and give it a shot
There's no list for ZHA
You can always pair any device (to ZHA or Z2M), they may just not be supported
Hi guys, I'm new here so forgive me if I'm asking this question in the wrong channel. I'm looking for a Zigbee compatible on/off switch. Something simple and cheap. I found the Ikea TRÅDFRI, which is only 10 EUR.
My lamp is a Hue Infuse (BT/Zigbee), and I'm using HA on Docker.
Is this switch compatible with my set up? Or should I be getting something else?
a wired switch or a remote?
The TRÅDFRI is wireless. If I'm not mistaken it also uses Zigbee
IKEA devices are compatible with most setups
I'm totally new to all of this, so I'm just asking to make sure 🙂
you need to tell us which zigbee integration youre using
Nothing yet. I'm still working on a list of parts I want/need. All I have right now is a Hue Infuse lamp, and HA running on a NAS. I plan on getting the Sonoff ZBDongle-E Zigbee 3.0 USB adapter for the NAS. And 2 TRÅDFRI switches for my lamp.
once you decide you'll know if its compatible
I was just worried the TRÅDFRI may have something proprietary built in which would prevent me from using it on non-Ikea stuff
they're too popular and widespread so that obsctacle is removed
Gotcha. Thanks
okay device connected, now to learn how this actually works because all it is telling me is the signal
then it doesn't work with ZHA yet
i found some info where people got another version of it working with a custom quirk
if I want to switch to Z2M can I just disable ZHA or do I need to delete it
I think i will try the quirk first to learn
I found out I cant use the thing yet as the clamps are too small, I need to order new clamps so right now Im just testing it
do I have to repair a device to try and get a custom quirk working?
yes
lol, i knew I should ahve installed this in my office sub panel for testing so I dont have to keep going up and down the stairs
installing stuff in its place for testing is usually a bad idea
The IKEA remotes follow Zigbee spec pretty closely. Only the scene stuff can be a bit more difficult.
They'lll work with ZHA and Z2M just fine. You can even directly bind them to devices (using the ZHA/Z2M UI)
From a quick look, ZHA most likely doesn't support it at the moment
No, a quirk will apply without re-pairing.
Although some quirks only execute certain functionality (like "casting the Tuya spell" for an EnchantedDevice) if re-configure or re-paired.
okay. Trying to figure it out because I deleted the device, enabled quirks and dropped the quirk file in the folder and restarted HA before pairing the device and it doesnt say anythinga bout quirks
What do you mean by "enabled quirks"? The default ones are on by default, so I'm assuming you set the custom_quirks_path?
are they? from what I was reading you have to add an enable_quirks: true and also add teh path to the config
enable_quirks is true by default. Can you link me where you've read that you need to enable this?
For custom quirks, you only need to add custom_quirks_path
ahhh i see. I am lookign through the quirk, i think I see a problem.
the mfg is _TZE204_81yrt3lo for this device, but I see different ones in the quirk file
i may have misunderstood that the quirks was true by default
So I added a line to the quirk to add the manfuacturer of my device, how to I get it to apply.
meh i'll just restart everything and pair it again
meh its not working. Okay I will just use Z2M. This is as much as I was willing to tinker
okay getting Z2M working was easy enough. Device is found now just to see when it starts reporting data
Anyone help me out in understanding why this zigbee device won’t add?
I have a screen shot
Can’t add it
Using sonoff 3.0. And the two devices I need to add, I have the exact same models added elsewhere in the house
So it’s not like HA or the sonoff don’t know what it is
0x1275](ZB-CL01): Device seen - marking the device available and resetting counter
0x1275: Update device availability - device available: True - new availability: True - changed: False
0x67DB: Device seen - marking the device available and resetting counter
0x67DB: Update device availability - device available: True - new availability: True - changed: False
[0x3323](FLEX Outdoor RGBW): Device seen - marking the device available and resetting counter
[0x3323](FLEX Outdoor RGBW): Update device availability - device available: True - new availability: True - changed: False
Everytime I reset the device to add, the logs see it and im guessing marking it false
I have that exact same device ten feet away and it added
Im sure if I move within ten feet of the sonoff it’ll work
But that won’t be it’s true spot and I just added one ten feet away
Im assuming these plugged in RGBW strips are repeaters too
And I have other zigbee in the room. All mains based thst work
how do I use a device in Z2M? Like The device is tehre, i see values, but I'm not sure how to add it to anything else in HA
Like how do you automate with it?
No liek how do I see it. I see it in Zigbee2MQTT, but I cant find it anywhere else
its not being discovered by mosquitto, i dont see it when I use mqtt_explorer.. so I think maybe I'm doiung something stupid
I mean I'd like to automate with it eventually, for now I just want to be able to use the entities so i can add this to the Energy screen. I'm testing on a circuit right now but when I get some bigger CT clamps I plan to use this to monitor the grid power into my house so i can get an idea of what the circuits that aren't on solar are using
hmmm maybe i need to add the addons user
so weird that both wires are set up the same, but one phase says its producing power and one says its consuming. I can probably just rewire it but its weird
okay i think I'll pick this back up tomorrow. i need to sleep
thanks for the help everyone. I am excited to finally get zigbee working. I have a bunch of z-wave devices that pissed me off that I might try getting working in the future, but this is a start because I am tired of having so many wifi devices
Z-100:
Hi everyone, what dongle should I buy? I have access to eBay, AliExpress and Amazon. Thanks!
f@#$ this f@#$ing zigbee dongle
every time theres a thunderstorm.. it drops out
is that normal?
i toggle my lights every now and then.. its fine.. its fine.. then flash rumble... toast
1a86:55d4 QinHeng Electronics SONOFF Zigbee 3.0 USB Dongle Plus V2
i replug it.. reload the zigbee integration.. it starts working again.. then i forget about it until the next thunderstorm 😐
@rich pumice Buy something CC2652 based. This list is a good one, both Tube and Electrolama have been proven to have excellent customer service. The current generation of EZSP sticks (see here for some) are also a good choice for ZHA.
Anything CC2530 or CC2531 based should be avoided - they're old, slow, and only suitable for a dozen or so devices. The Sonoff ZBbridge isn't advised since it uses WiFi (built in interference causing stability/reliability issues), and the HUSBZB-1 uses an older chipset so should be avoided.
Finally, the ConBee range are fine with deCONZ, but experience with ZHA and Zigbee2MQTT appears to be mixed.
100% recommend Tube
ok so i must have the ZBDongle-E and not the ZBDongle-P
Yeah, those are known to have some quality issues
🤦♂️
Ah, the E isn't known bad
The P is
Sadly they called them both the same damn thing
i need to verify which one it is
the smaller one is E
im pretty sure its the -E 🤔
thats what the box says yeah
and the description says V2 yeah
according to this page.. it is the shorter one with the default 20dBm and software flow control
for whatever reason it is sensitive to thunderstorms
i measured it 52mm
Does the son off have the jab interference problem?
What integration are you using? If ZHA, it should auto-reset the dongle after about 30s.
if i am adding a device to my network and it can actu as router, will stuff just figure itself out or do i need to tell it something?
eventually it will figure it out
Is there a way to find and monitor Zigbee channels to find the least congested?
yes, no, maybe
depends on if it's zigbee 3.0 or not and how sexy the firmware is
I'm using a HA Yellow that's zigbee 3 my sensors are mix
ha yellow is an sbc with a built in efr32 coordinator
we're talking about the actual devices and if they'll get new routes automagically
It probably is no sexy at all as it's from sonoff
HI
I have been reading in a few places but i'm unable to uderstand why i'm able to see events come in when i subscribe to zha_event and click listen and press a button.
But i have a Symfonisk sound controller in my ZHA but dot see any events
i'd re-join it myself
if you're using zha, which you probably are, then you can download a diagnostics file and it'll do an 'energy scan' and show you the results. zha also automatically does one when you first set zha up so you should be on the best channel already unless you moved or got new neighbors etc
lol
ya if stuff doesnt pair correctly then they dont work correctly, easy answer is always try to re-join if a device doesnt work after pairing
So I shoud be using the channel with the lowest scan value?
well you should be using a ZLL channel like 11/15/20/25
the others are not suggested even if they are lower
but yes lower number = less interference
Isn't there an auto mode on zha aswell
I'm on 11 @59 22 &24 @zinc merlin 25 @23
You might be able to just change your 2.4ghz Wi-Fi channel if that’s what’s interfering
Easy to test
That image helps simplify how the channels overlap between protocols
My WiFi is on 6 so there should minimal interfearence
Then I’d personally move Wi-Fi to 1 and use zigbee 25 assuming you don’t have much 2.4ghz interference on 1 for your Wi-Fi.
Or focus on other forms of interference
But with the yellow I’m not sure how to best negate them
25 is usually a rather safe bet
using Wifi scan i have neighbor @ -50 dBm on channel 1
Usually it’s suggested to move away from usb 3.x ports, Wi-Fi APs, SSDs, server racks, etc by using a usb extender for your zigbee coordinator
But with the yellow it’s built in so you can only move the entire device
All my network gear is in and in-wall cabinet can't really move it very far away but I never had problem with the SmartThings hub I'd been using for 7 years that I replaced. I'll try Zigbee 25. Are my devoices going to find the new channel?
So you have the yellow inside a rack next to a bunch of other tech?
Ya that ain’t it chief
Its about 6 inches from the ATT gateway
Yikes
By gateway you mean an all in one device with Wi-Fi radios too right?
Sounds like the yellow wasn’t a great buy for you based on your location requirements and the fact that it’s an underpowered overpriced product lol
yes ,, Fiber ONT and Wifi
Easy answer is either move the yellow or buy a usb coordinator and escape the rack with that
So far it seems good .. only using about 2-3% CPU unless it's running a backup
or PoE coordinator of course
I actually prefer Z-Wave because it runs at 915 Mhz. Most of my devices are Z-Wave
I've never had an issue with Z-Wave
Looks like all the Zigbees moved to channel 25
played with the channels a bit myself, i am surprised by how drastic the difference in effective range is
while it complained that it was sharing the band with hue it worked throughout the whole house with no additional router. 5 channels down i barely got a signal on the other end of the room
Hi all. This Presence sensor doesn't show as compatible with ZHA yet but I was able to connect it and it shows Luminance and Motion. However, none of the additional features or any user settings. Has anyone found any workaround while it gets fully implemented in ZHA? https://zigbee.blakadder.com/Tuya_ZG-205ZL.html
There are custom quirks floating in GitHub with different degrees of working
Are the sonoff P sticks just garbage?
no, evidently some folks just have issues with some of them
if it works for you, it may/could/hopefully continue to work for you
it's more of a specific dongle problem than a problem with the model itself
there have been a handful of issues with them.. mine worked great for a year or so before i moved to a PoE coordinator
i'll still recommend them to anyone who wants a cheap cc2652p coordinator easily bought off amazon/alie
Hi team!, I have a problem with zigbee2mqtt, I have a sonoff dongle 3.0 with the coordinator firmware flashed, and on the other hand I have a raspberry with mosquito, home assistant and zigbee2mqtt installed. In principle everything was installed correctly and without errors, but when I try to pair new devices it can't find any. Somebody can help me?
- E or P version?
- Did you enable pairing in the frontend?
- What are you pairing and how?
- Have you put the stick on a extension cable?
- You can also try to enable debug logging: https://www.zigbee2mqtt.io/guide/usage/debug.html#enabling-logging
P version
yes i enable pairing
I add compatible zigbee devices such as xiaomi, aqara, philips, etc.
I add them by pressing the reset button, following the instructions for each device
the stick?
The dongle. It's basically a USB stick. It should be connected via a USB extension cable. Is it?
no, this is directly connected to the usb 3.0 port of the raspberry
but that's how it was before and it worked for me and it let me pair the devices, one day it just stopped doing it
Oof that's the worst you can do: https://youtu.be/tHqZhNcFEvA
It's also mentioned here in case you don't believe me: https://www.zigbee2mqtt.io/guide/getting-started/
To improve network range and stability use a USB extension cable. If you experience ANY trouble with device (timeouts, not pairing, devices unreachable, devices dropping from the network, etc.) this is the first thing to do to avoid interference. See Improve network range and stability.
Thanks!! i don´t know it
I just got a Phillips hue lightbulb and I was playing around with it and used the flash effect in an automation. now it will not stop flashing no matter what I do. I have tried connecting it to my phone and changing effects but when it goes back it keeps flashing. can anyone help? I'm using ZHA if thats needed.
You should be able to just turn on/off the bulb (or change color/temp)
I'm using Z2M, and every time I force a device to pair with a specific router (by permitting it to only join that specific device), it changes a to a way further router with worse lqi.
How can I prevent this from happening?
Not possible. You can control which parent router a device initially picks but once it's on your network, it can hop around all it wants. What device is it?
multiple, some are aqara and some are moes
why would it choose a worse route?
it ditches the routers that are in literally 2 meter distance, and chooses a router 20 meters away and some times goes for the coordinator
That's entirely up to the firmware on the device. Some firmwares have bugs. That being said, LQI isn't what they look at, they look for nearby parent routers to conserve battery life.
Aqara's 1.2 devices will usually stick to the router you manually pair it via
how to know what version are mine?
the models are:
RTCGQ11LM
MCCGQ11LM
They're the old ones
Those are the Zigbee 1.2 models, the 3.0 models are E1, T1, or P1
The 1.2 models usualy end with 11, the others with higher numbers
(there are, of course, exceptions)
Thanks for clarifying
this is kind of counter-intuitive to me. if it's not an efr32 coordinator then you've said LQI is just rssi rescaled right? if so, then why wouldnt it choose the closest parent?
routing is less-than-ideal with zwave in my experience as well...
LQI gauges the quality of a link but is often presented as the quality of the last-hop link to the coordinator. Unless you keep track of the scanned link quality between the sensor and its original parent, then compare it to the scanned link quality at its new location and between its new parent, the "LQI" alone isn't useful.
ah yeah i do remember you saying it's just the last hop lqi so not necessarily a good measurement tool
Physical proximity also doesn't necessarily mean that the signal is the best. If the bulb is near some RF noise source, or the sensor is, results may be counterintuitive. But usually closer is better.
that makes sense
in your experience are certain types of devices better routers due to stuff like being further away from a metal enclosure (like a recessed can for example being a bad router comparatively)?
or bulbs being better than light switches or outlets if the switches/outlets are in a metal gang box
I don't have recessed lights so it's not something I've tested. Possibly?
where do you personally draw the line for when to re-join a device vs hoping it gets a better route on its own (ignoring aqara 1.2 / specific devices that just dont play nicely)
I only ever join via specific routers for Aqara devices. Everything else so far has worked fine 😄
remind me.. is it hue bulbs that automatically update routes after power loss?
I believe all routers should continuously rebuild routes, they send traffic gauging link quality every few seconds
interesting
with zwave al calzone has said that routing is kind of a black box as far as the controller is concerned - and that devices will keep a working route as their primary even if better routes technically exist. is that something that zigbee does as well?
originally i was told that a "heal" with zwave would update routes and would move to the best routes.. but that's definitely not the case due to the existing primary route not failing - so it might get a new backup after a heal but never actually use it
I've turned it on and off both with the switch and Homeassistant. I've also connected it to bluetooth and it will only stop when the brightness is under 37%. no matter the color or the mode or effect. is there a flash off command like the flash command in the automations?
Is it possible the bulb is just broken?
it was fine until I tried to use the flash for my wake up automation. but I guess it could be broken. It was fine last night.
Can you try the flash option again to see if it changes?
I've tried it twice. it stops for a split second then it comes back.
I seem to have fixed it by slowly increasing brightness from a complete power off. I cant get it to flash anymore. thanks for helping.
can anyoen help me figure out zigbee2mqtt. I have it working but I cant figure out how to find the device outside of z2m
if its on my HA, HA should be able to see the device in MQTT right? The only other MQTT device I am using is a separate device sending to the HA instance over the network
looking at info online it should be working, so I guess something is misconfigured. z2m is forcing me to use a username for mosquitto but I dont use a username, but on mqtt explorer using the stupid username it forces I can connect and see my other stuff so i dont think its that. I noticed the version of mqtt in Z2M is set to 4, but in MQTT integration its 3.1.1
Z2M doesn't require a username
Does require that you use a valid username and password if the broker requires them
Course... it won't start if it can't connect to the broker
the UI settings and yaml have a username under mqtt: and I cant delete it from the UI, it will complain
# Required: MQTT settings
mqtt:
# Optional: MQTT server authentication user (default: nothing)
user: my_user
# Optional: MQTT server authentication password (default: nothing)
password: my_password
I tried commenting out the line in the yaml and restarting it but I still see it in the UI
Stop Z2M, then change the YAML
yea i saw that but I cant seem to actually make it nothing
ahh, cant change and restart eh? good to know
Well, Z2M may re-write the settings on exit
the file doesnt seem to be rewritten but I will try that
shoudl I just remove the line so it defaults to nothing, or add it with no value?
I wonder if maybe the mqtt server is wrong. it is mqtt://core-mosquitto:1883 but I see in the documentation they use localhost.
yea i think thats it. I assume the default was right but I dont see that hostname on my network
Well, core-mosquitto is right if you use the add-on
oh, then damn
But, if you use the add-on then you don't configure MQTT at all
The Z2M add-on docs make that pretty clear
yea i remember it said dont do that, but it wasnt workign so I started poking around
Well... you're not helping yourself then 😉
i suppose, I guess I gotta redo it
lol this thing is stubborn, uninstalled the addon adn when i reinstalled it everything was still there. Looks like there is a backup somewhere
/config is your friend
yea im poking around in there
About Zigbee coordinators and Home Assistant: How should I do the redundant Home Assistant setup where I have Zigbee coordinator? Should I have two machines with both having Zigbee Coordinators or have some kind of TCP/IP based Zigbee coordinator? Both HA instances don't need to be up, one can be waken up when other breaks or is unavailable (that I can do with my homelab very easily). But the Zigbee part is kinda problematic part, which is why I'm asking how to implement.
im uninstalling again and restarting HA and ill check to make sure everything is gone before reinstalling it
Yes, buy a network connected coordinator
Tube sells some
Buy something CC2652 based. This list is a good one, both Tube and Electrolama have been proven to have excellent customer service. The current generation of EZSP sticks (see here for some) are also a good choice for ZHA.
Anything CC2530 or CC2531 based should be avoided - they're old, slow, and only suitable for a dozen or so devices. The Sonoff ZBbridge isn't advised since it uses WiFi (built in interference causing stability/reliability issues), and the HUSBZB-1 uses an older chipset so should be avoided.
Finally, the ConBee range are fine with deCONZ, but experience with ZHA and Zigbee2MQTT appears to be mixed.
How about multiple network coordinators (not on at once), is that even remotely possible?
And those Tube ones look nice, shame that getting those to EU is expensive AF.
Well, the problem is that you can't have them powered on at the same time, since they need the same (Zigbee network) address
That's not an issue, that can be automated with similar manner as the two HA instances 🙂
AKA check if one is up, if not, then boot up the another one
@cedar phoenix When using Discord's Reply feature it defaults to pinging the person you reply to, which can get frustrating for the target. Use Shift + click on the Reply option, or click @ ON to @ OFF to stop this - on the right side of the compose bar.
You have to change this every time (thank the Discord devs for that).
The odds of a coordinator failing, at least those not made by Sonoff, pretty much zero
True.
And if something fails, it's the PSU for it, rather than the coordinator itself
PoE is good 😛
Yep 🙂
+1 for tube PoE coordinator
There's others on that list
SMLIGHT was one of the options but the Aliexpress was the nearly the same price too :I
Time to start searching the breakout board then :kek:
okay i've reinstalled zigbee2mqtt to get back tot he default, added the device, and its not shoing in MQTT integration so back to square one
So if its failing to connect to the broker I should see an error in teh log right?
it says its connected to the MQTT servers, and publishing topics, I see no error
Check HA's log for errors or warnings
i figured, just not seeing much of anything so I wasn';t sure
If you're having problems with your updates to your configuration:
- Check the troubleshooting steps
- Check your log file - remembering you may need to set logger to
infoordebug - Explain what the problem you're having is - sharing configuration, errors, and logs
In the log I'm not seeing any mention of MQTT or zigbee
do you want me to share it?
@pastel notch I converted your message into a file since it's above 15 lines :+1:
that user and password are the automatic configured
homeassistant:
legacy_entity_attributes: true
``` only major difference with mine, but stuff should still show up... assuming that HA is talking to the same broker
okay i just added that through the settings UI
Ideally you don’t share your network keys btw
oh those things are unique?
i am using default everything
But, to use it against you somebody would have to be at your house
Fyi it’s been fixed in dev but not sure if it made it to stable yet
Default channel of 11 is usually a terrible choice
okay. Well I live in a secluded area. Anyone close enough to use them is getting shot 🙂
Koenkk agreed to randomize network key, pan Id, and ext pan id on all new installs
i think my setup defaulted to 15
Nah, Z2M defaults to 11
Maybe not the addon?
maybe it was when I had ZHA. I know I saw a channel 15 somewhere
ZHA scans to find the best channel but Z2M will always write its config
That's a really neat feature of ZHA
okay ya Z2M is channel 11, must have been ZHA that was on 15
should I change the channel to 15 then?
Didn’t you do a diagnostic on zha and see 20 or 25 with the lowest interference a couple days ago?
thats not me 🙂
Check the pinned image for how to tell what Zigbee channel to use
the one that just shows the overlaps with wifi? so I should just check my wifi channel and pick something that doesn't overlap
hmmm channel is auto, okay my router and two other devices I have to track down are 4 to 8, and then something hidden is on 11. The low end is clear so Channel 11 is actually good for me right?
to ignore the bandwidth. i ahve devices on wifi 6 and wifi 11, so zigbee 15,20,25 would overlap with those right
Basically if you use 25 you would put your 11 AP furthest away from coordinator
but if I have nothing on the bottom of wifi shouldnt I just use zigbee 11?
because I have no wifi devices in the lowest part of the range
I don’t think 11 is a ZLL channel and therefore shouldn’t be used
Hence why everything keeps saying 15/20/25
what is ZLL
Zigbee Light Link. Some devices only support ZLL channels, but YMMV
okay i'll worry about this in the future, need to figure out why i cant see the device in MQTT
Rip future you
ya I dont like the name of ZLL, I assume I'm going to be annoyed
Generally not following suggestions here is a bad idea
i have no problem following it, just not sure what channel to pick. I want to get this device working at all before I worry about interference
since I'm in a rural area there isnt a whole lot of interference in teh first place so I'm not pressed on that
The device is in Z2M and HA and Z2M are talking to the same broker?
If ZHA picked 15, then 15 is a decent choice for your current environment
the device is in Z2M which is installed as a HA addon, but I am not seeing it outside Z2M. I only have the one broker
That makes sense.
oh ZLL is as the name implies, its for lights lol
i thought the like was something like BLE referring to being some leaner protocol
Z2M says "(Note: use a ZLL channel: 11, 15, 20, or 25 to avoid Problems)"
so it is saying 11 is ZLL, but I'l swtioll swtich to 15 after I get this working
the funny part is I thought zigbee would be easier than wifi
question about MQTT I guess. I notice in Z2M it has the message hass/status, but in MQTT integration I see homeassistant/status.. does that matter?
i dont understant birth and will messages but I was wondering if maybe that being different might make the discovery fail
evey forum post im finding with my issue doesnt seem to have the same problem though
is there a way to test if mqtt://core-mosquitto works
I know I tried using homeassistant.local on another device to point to HA and it didnt work adn I had to use the actual LAN IP, I am wondering if its that
i can ping core-mosquitto:1883 from terminal. I guess taht means it resolves
core-mosquitto is a docker internal name. It only resolves within docker containers and perhaps the host.
You can install a MQTT client in the advanced SSH addon via apk add mosquitto-clients and use that to test if you want. https://mosquitto.org/man/mosquitto_sub-1.html
https://mosquitto.org/man/mosquitto_pub-1.html
Some devices have issues with homeassistant.local which is mDNS.
I'll try putting the IP in teh config, # is a comment in yaml right?
i think i am editing the wrong yaml though
/config/zigbee2mqtt/configuration.yaml.. but when Im in the addon configuration and select edit in yaml it looks different
yea and when I restart it, its still connected to core-mosquitto so its ignoring the yaml I edited.. wtf
okay nusing localhost gives an error
okay problem fixed
the automatic core-mosquitto didnt work.. putting the actual IP of teh HA device in there adn boom
i see it in mqtt explorer and in MQTT integration, so much for the guide saying no need to configure if using mosquitto
yay.. now I get to figure out why one phase of the meter says its producing power when its actualyl confuming power 🙂 baby steps
I'm not quite sure how this MQTT empty auto thing is implemented but localhost cannot work because Z2M and mosquitto are separate addons.
Addons run in containers. localhost resolved within Z2M would refer to itself but MQTT is running in the mosquitto container.
that makes sense
Also see here about that whole container thing: <#general-archived message>
