#zigbee-archived
1 messages ยท Page 128 of 1
Well, if they don't show in Z2M there's no point in looking at why they don't show in HA
So... start looking in Z2M
Up the log level, do some troubleshooting
https://www.zigbee2mqtt.io/information/configuration.html
Set the level to info, see what's going on - Z2M's log at that level is very chatty
maybe you are trying to pair a device that is too far away from the coordinator?
I got it wokring. First time you pair you can find it in UI but it will be unsported. you need to deletet from UI and pair it again and should work.
Thank you guys! ... I was very close to switch to ZAH ๐
Which Zigbee integration? Where are you getting that log?
Hey, I could really use some help.
I'm getting this error with a Raspbee on a Pi 3B+ with the latest verwsion of hass.
device state timeout ignored in state 2
I already updated the Raspbee's firmware and reinstalled hass.io twice.
I'm getting this error on deCONZ log
deCONZ by dresden elektronik is a software that communicates with ConBee/RaspBee Zigbee gateways and exposes Zigbee devices that are connected to the gateway. Our #zigbee-archived channel is a good place to ask about using it with Home Assistant, but they also have their own Discord server.
They may know more on their Discord
There's a Discord server just for Dresden Elekroniks?
Because it is working just fine with their distribution for the pi.
Even better. One for just one of their products https://discord.com/channels/494922323518947329/692100965444354098
That's not how you make an invite... wait
Haha yea it's blocked
Yeah, I linked that already ๐คฃ
So you did ๐คฆ
Easy to miss though
So the remote I bought may be getting returned. Seems like a lot of people have had issues with it not being able to reset or to pair
https://www.amazon.com/gp/product/B07KBF9GMS/ref=ppx_yo_dt_b_asin_title_o01_s00?ie=UTF8&psc=1
Anyone have any reqs for something similar...that works? It's main purpose is going to be for my kid to be able to change the color of a multi color bulb in his room
Thank you! Posted there.
Well, @frail oracle sent me back here (https://discordapp.com/channels/494922323518947329/543511893382529064/832628871597785128) saying that they don't handle the HASS addon
This is in fact an issue with HASS
@frail oracle
You don't have to keep tagging Mimiix ๐
IMO the answer is set fire to the add-on and deny it was involved but that may be a touch harsh
@ashen coral @sour shadow the addon doesn't seem to pickup his Raspbee. In a native OS/install it works.
Or a configuration thing
But i have no clue what has changed to the addon in the last few weeks
I only know that deCONZ is a thing I don't know. And I know more about it than about the Supervisor ๐
Add-ons ๐คข
Actually I have had this issue for quite some time. I just didnโt have the time to get to the bottom of this.
I have no clue
I'm looking to add zigbee (and also z-wave & bluetooth) to my blue when it comes in, so I'm starting on the zha docs I'm seeing a list of known working ones on /integrations/zha/, but is there any page that compares them and makes any specific recommendations? I feel like I'm in over my head ๐
Have you checked the topic and pins here? There are several sites with lists of devices that are known to work.
Yeah, I've seen those too, and the pinned message I saw from tinkerer on 1/19 linked what seems to be more higher level developer stuff rather than comparing and making specific recommendations at a user level that's what I mean by I feel like I'm in over my head.
Sticks, or devices?
Stick
For ZHA you want EZSP (see https://github.com/Koenkk/zigbee-herdsman/issues/319#issuecomment-789757269) or CC2652 based sticks
okay, thanks!
If you donโt know that Iโm completely hopeless ๐
How can we escalate it further?
I have enabled ZHA debug logging to find out what channel ZHA is using. Im unable to see any messages which contain the channel information. any advise on what to look for ?
Which HA install are you using? (HAOS, Supervised, Container, or Core)?
Container
Is you coordinator directly attached via USB?
Yes it is
Ok. Let me test something real quick.
You'll want to stop HA from the front-end (Configuration>Server Controls > Stop). Then, run docker exec -it home-assistant bash (note: Your container name may be different; Check with docker ps -a to get the container name or id). Then, once you see bash-5.0#: enter in bellows -d [device] info. [device] will be whatever your USB device is (usually /dev/ttyUSB0 or something like that).
That will output all the info about your mesh, including the channel number being used.
Finally, restart your container (to bring HA back up nicely).
@mellow pike posted a code wall, it is moved here --> https://paste.ubuntu.com/p/f8CSwDp63P/
I have a feeling Stop is not happening correctly
Nope. It didn't find your device. In that same bash session, can you run ls -l /dev/serial/by-id and see what it outputs?
I tried this
bash-5.0# bellows -d /dev/ttyUSB1 info
[00:0d:6f:00:11:fe:ad:64]
[0x0000]
[<EmberNetworkStatus.JOINED_NETWORK: 2>]
[<EmberStatus.SUCCESS: 0>, <EmberNodeType.COORDINATOR: 1>, EmberNetworkParameters(extendedPanId=b1:e2:92:a5:e2:21:1a:7b, panId=0x3da8, radioTxPower=8, radioChannel=15, joinMethod=<EmberJoinMethod.USE_MAC_ASSOCIATION: 0>, nwkManagerId=0x0000, nwkUpdateId=0, channels=<Channels.ALL_CHANNELS: 134215680>)]
[<EmberStatus.SUCCESS: 0>, EmberCurrentSecurityState(bitmask=<EmberCurrentSecurityBitmask.64|32|HAVE_TRUST_CENTER_LINK_KEY|GLOBAL_LINK_KEY: 116>, trustCenterLongAddress=00:0d:6f:00:11:fe:ad:64)]
Manufacturer: HubZ ZigBee
Board name: HUSBZB-1
EmberZNet version: 5.4.1.0 build 962
bash-5.0#
Ah! There ya go. So, the channel is 15 (radioChannel=15).
/dev/serial/by-id: No such file or directory
To change chsnnel to 11 : bellows -d /dev/ttyUSB1 form -D zigbee.db -c 11
Yeah, that may not be implemented in the container. But, should you need it again, you can also run ls -l /dev/ttyUSB0 or ls -l /dev/ttyUSB1. It's really just to test where your USB adapter is mapped.
Yeah. Just be warned that when you do that, you'll need to re-pair all your devices. Some might transfer over to the new channel, but chances are they won't.
Ah, you'll be fine then.
It can take awhile. IIRC, you can speed it up by deleting zigbee.db (the actual file) if you aren't worried about keeping devices around. It will recreate the database when the channel change occurs. So, delete the db, then run the form command.
Or you can just rename the zigbee.db file as well.
I tried that as well.. renamed it to zigbee2.db.. but the bellows command -D is a mandatory parameter
so I created ZHA integration again and added nothing.. hoping the slimmer zigbee.db will make it happen faster
Yeah, you have to pass in a name, but as long as the name you pass in doesn't exist on the filesystem, it will create it.
oh.. okay. let me try that
bash-5.0# bellows -d /dev/ttyUSB1 form -D zigbee3.db -c 11
Usage: bellows form [OPTIONS]
Try 'bellows form --help' for help.
Error: Invalid value for '-D' / '--database': File 'zigbee3.db' does not exist.
1 sec. That should have worked.
I can confirm the usb1 is zigbee from the ui - https://imgur.com/a/GkOd7SN
No, that's correct. I derp'd. You need to full path to your database. Try bellows -d /dev/ttyUSB1 form -D /config/zigbee3.db -c 11
we are back to waiting.. ill give it a while and see what happens
I also tried
zha:
zigpy_config:
network:
channel: 11 # What channel the radio should try to use.
channels: [11, 15, 20, 25] # Channel mask
That's weird. I don't have an adapter directly connected, so I can't fully test it. But it used to work that way before.
Any specific reason you want to change channels?
Yes , interference with WiFi. And I can't change my wifi channel.
Have you done an energy scan to make sure that it's actually interference?
Or received MAC channel access failure errors?
To avoid having to re-pair your devices you can do a backup and change the channel in the resulting JSON file: https://github.com/zigpy/zigpy/wiki/Coordinator-Backup-and-Migration#instructions-for-ezsp-radios
But skip the --i-understand-i-can-update-eui64-only-once-and-i-still-want-to-do-it flag when restoring
I have not done an energy scan.. looking into it right now , I was going by the article in the zha documentation.
I want to rebuild from scratch.
@austere patio any links the energy scan ?
bellows -d /dev/... scan --energy --duration 500 will scan each channel for 500ms, should take about 10 seconds
Most negative number is the best (e.g. [15, -34] is worse than [20, -88]). Stick to one of 15, 20, 25 (and maybe 26) to sit between WiFi channels 1,6,11. Otherwise, a WiFi router can decide to switch to on one of those three channels and randomly drown out your Zigbee network.
If you want to destroy your old network, run bellows -d /dev/... leave, update your ZHA config with the new channel, and delete zigbee.db. The config is only used for forming a new network so it'll work.
Currently my wifi is sitting in channel 6
and zigbee 15
my neighbour in wifi channel 11
so i wanted to go to zigbee 11
If any WiFI router switches to channel 1 your network will not be happy
that is true
25 is away from WiFi channels 1/6/11 and relatively quiet
Though this has little impact on network performance unless you have a sensor sitting right next to a WiFi router that's drowning it out because you're transmitting files 24/7
Is there a specific reason you think that WiFi is interfering with your Zigbee network?
Gotacha going to set 25 in the zha config
There is zigbee light in the porch which goes available to unavailable certain times of the day
none of the other ones have this issue
it is furtherest away too
Is there no intermediate router sitting between it and the coordinator?
No
I got one today to strengthen the connection
but before i configured it i was in the wifi interference rabbit hole
Yeah, I would definitely install that other router. If the link quality between the coordinator and that porch light is poor, in theory changing the channel would "help" it a tiny bit, but another router would be much better
Got it.
What is the channel mask ?
You can remove it, it's not used at the moment
ok
In the future ZHA will pick one of those three channels if you don't specify channel, depending on the results of an energy scan
Thats cool.
zha:
zigpy_config:
network:
channel: 25
going with this
and restarting
I also deleted the integration in the ui
Make sure to run the bellows leave first. Otherwise, it'll just re-use the old network.
I restarted HA after bwllows leave and deleting zigbee.db
it is still picking up the 15 channel
Hm. Running the leave and then form -c 25 and then info shows radioChannel=25 for me. Maybe try that?
I got it
i added the integration in the ui and it picked up 25
Thanks a lot @austere patio
The energy scan command was pretty sweet.
Yeah, it's pretty useful
The ha git I guess
zzh arrived within a week, got it programmed after fighting with TI's dumb website ๐
mine would not flash with the TI software
Hello!! I have a issue trying to install ZHA at home assistant core. I don't know which usb serial path I should use
the complete description of the problem (with a extract of the log) is at https://community.home-assistant.io/t/zha-conbee-2-at-synology-without-docker-usb-path/300119
thanks in advance
which MQQT client do people run in docker?
I use this: https://hub.docker.com/_/eclipse-mosquitto
yeah broker
so just installed eclipse-mosquitto
and z2m in docker
but getting this error:
Zigbee2MQTT:error 2021-04-17 20:59:27: Failed to start zigbee
Zigbee2MQTT:error 2021-04-17 20:59:27: Check https://www.zigbee2mqtt.io/information/FAQ.html#help-zigbee2mqtt-fails-to-start for possible solutions
Zigbee2MQTT:error 2021-04-17 20:59:27: Exiting...
Zigbee2MQTT:error 2021-04-17 20:59:27: Error: Error while opening serialport 'Error: Error: No such file or directory, cannot open /dev/ttyACM0'
even though I have told it to open /dev/ttyUSB0
Well that's nothing to do with your MQTT broker. You just aren't passing the right device in.
On your Docker host, what's the output of ls -la /dev/serial/by-id?
drwxr-xr-x 2 root root 60 Apr 17 20:59 .
drwxr-xr-x 4 root root 80 Apr 17 20:59 ..
lrwxrwxrwx 1 root root 13 Apr 17 20:59 usb-1a86_USB_Serial-if00-port0 -> ../../ttyUSB0
Then you want to bind /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0, not the alias. The alias can change (i.e. after a restart of the host).
What do your device bindings look like for your container?
Depends how you set up your container ๐คทโโ๏ธ
How did you run it? Docker? Docker Compose? Portainer(๐คข)?
Docker
Then you should have passed in a ton of arguments when you started the container. What were they?
Also... do yourself a favour and learn Docker Compose so you can just have one text file to maintain for all your containers.
I had been reading docker compose earlier this evening
that allows you to have one config file yeah?
One file that can define multiple services (containers), yes.
ok
-it \
-v $(pwd)/data:/app/data \
--device=/dev/serial/by-id/usb-1a86_USB_Serial-if00-port0 \
-e TZ=Australia/Sydney \
-v /run/udev:/run/udev:ro \
--privileged=true \
koenkk/zigbee2mqtt```
is how I was planning to run z2m
which gives me
Zigbee2MQTT:error 2021-04-17 21:08:20: Failed to start zigbee
Zigbee2MQTT:error 2021-04-17 21:08:20: Check https://www.zigbee2mqtt.io/information/FAQ.html#help-zigbee2mqtt-fails-to-start for possible solutions
Zigbee2MQTT:error 2021-04-17 21:08:20: Exiting...
Zigbee2MQTT:error 2021-04-17 21:08:20: Error: Error while opening serialport 'Error: Error: No such file or directory, cannot open /dev/ttyACM0'
at Znp.<anonymous> (/app/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:136:32)
at Generator.next (<anonymous>)
at /app/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:27:71
at new Promise (<anonymous>)
at __awaiter (/app/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:23:12)
at SerialPort.<anonymous> (/app/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:134:49)
at SerialPort._error (/app/node_modules/zigbee-herdsman/node_modules/@serialport/stream/lib/index.js:198:14)
at /app/node_modules/zigbee-herdsman/node_modules/@serialport/stream/lib/index.js:242:12
Ok... so you're passing in the ID of the device... use that in your Z2M config, not the default value of /dev/ttyACM0
ok. now here is the kicker, how do I get into the z2m config?
I think that is the point I got up to earlier before I tried starting over ๐
Well you're already mapping a volume for the config folder, right? ๐ Edit the files in that folder.
-v $(pwd)/data:/app/data
The bit on the left is on your host, the bit on the right is the mapped location within the container.
I have no idea what the left hand side is, since it's relative to the current working directory... only you know where you were when you ran that command.
i have a feeling when I run ls -l that it isn't showing me everything
ls -la to show hidden files too... but a directory without a dot at the beginning isn't hidden anyway.
I'd suggest taking a step back. Read up on Docker Compose, get yourself a system that works for you. I have all my containers running out of /home/mono/docker, a docker-compose.yaml in that folder, and container-specific folders within that folder (i.e. /home/mono/docker/homeassistant).
ah yes, that makes sense. that is what i was reading up on earlier
Then I can maintain all this (and more... shortened to just HA stuff so you can see someone's setup) in one file: https://pastebin.ubuntu.com/p/6xsRRV9CNj/
so with that, you create the docker-compose.yaml and it is more or less a directory with settings of all your containers?
Pretty much. The first time you want to fire up the containers, and whenever you've changed a definition, you'll just cd into that folder and run docker-compose up -d to have Docker Compose action your changes. No horrible command lines with 50 arguments to type out perfectly each time.
And let's be honest, you were just going to store those Docker commands somewhere and copy/paste each time, right? Compose means you have an easy-to-read file that also serves as the method of firing up the services.
alright, have done some reading, youtubing, and have finally set up compose correctly @dry fossil , but now I am getting this when I try to get z2m running....
found character '\t' that cannot start any token
in "./docker-compose.yaml", line 22, column 1
the line it refers to is container_name: zigbee2mqtt
You have formatting issues for sure
sorry, spaces! haha
Well you have a tab, since that's what \t is.
If you're using a real editor like VS Code, you can set it to insert a number of spaces whenever you tab. I use 4, I know some people prefer 2.
Finally this year โ right before the Labor Day weekend โ Googleโs developer advocate decided to weigh in. โWe are going to parse a billion files among 14 programming languages to decide which one is on top.โ They crunched files from the top 400,000 GitHub repositories, looking at only files of code written in the top languages โ and their chart showed that spaces were by far the most popular method of indenting, in every language. Except Go and C.
Spaces ftw.
although mosquitto has some strange name of b8952f72e23a_mosquitto
The container? You didn't give it a name.
But don't worry about what Docker refers to it as.
It's just a unique ID. If you spun up two of the same container, they'd need different ID's.
Not where? Your Compose file? You ran that stupid Docker command earlier with all the args ๐
Destroy that container, use Compose.
i deleted the old containers
anyway, it doesn't matter
what matters is, i need to get into the front end now ๐
I don't use the UI, I'll let someone else jump in.
how do you add devices then?
MQTT ๐
Zigbee2MQTT does everything via MQTT. The UI is just there for people that like UI's instead of command line stuff.
do the new devices pop up in the config.yaml for mqtt?
Nope. configuration.yaml for purely for config. You'll see other stuff appear in devices.yaml and groups.yaml as appropriate.
@thick plover posted a code wall, it is moved here --> https://paste.ubuntu.com/p/MgcmWKdqxg/
got that in the z2m.yaml
I've installed ZAH which seems to work fine with my newly flashed llama ZZH stick. Trying to pair an Aqara motion sensor to test and it starts fine but then seems to stop. It says starting interview and shows the device (which flashes blue) but then nothing is saved afterwards
That stuff is normal. It's the default config... it's good that you're seeing it, means you bound the volumes correctly ๐
I got it to "Starting Interview
IEEE: 00:15:8d:00:03:ce:5c:a7
NWK: 0x91b3" - but what should I do after that to make the device usable in HA?
I kept pressing and it worked!
cool
would I have to open up the port on whatever machine I am trying to access the UI on?
and @dry fossil - if I have made changes to config etc, should I be telling docker-compose to rerun or something?
No need to tag me. If I'm not here to read your messages, I'm not coming back to the computer for you ๐
Yes, you'll usually want to restart a container if you change the config, unless the application running in that container has another mechanism to pick up changes.
ok and that is via docker-compose up?
That'll only do something if the Compose definition has changed. docker-compose restart <containername> to force a restart.
You're getting a Permission denied: โ/dev/ttyACM0โ error. I'm not familiar with how Synology's OS is set up but have you tried the temporary "fix" of chmod 777 /dev/ttyACM0?
That should at least tell you if it will "work". Figuring out why the user you're trying to run HA as doesn't have permission is a different problem.
Does anyone have experience with zigbee curtain motors? And which ones work out of the box with zha? I read there are allot with problems like Aqara and zemismart. Which do not show up properly. Or is this allready fixed
More tuya...
that moment when you hear ppl they use ikea tradfri without issues and you have 2 bulbs that brings down half of your zigbee network in one day, is laughable ๐คฃ
That update is coming any day now
what update?
That stupid OTA update that IKEA will never release that upgrades all of their stuff to the newer EmberZNet that doesn't have the crashing problem
ah lol really you still wait for ikea update
i have ikea bulbs for 2 years now i moved on
I run into it like once every six months so it's not really an issue for me but one can still hope
let me know when they do it ๐ but my guess is we both gonna be old or dead by then ๐
i dont know how is that work for you but for me ikea crush my z2m network badly every day i had a device not working because of them
after i've removed them all is super ok
i think they worked ok in ZHA with Elelabs-ELU013
but on z2mqtt disaster
Every single router on my network is IKEA (or LEEDARSON ๐คฎ) and they work fine with a TI coordinator ๐คทโโ๏ธ . Could be that specific network layouts or devices joining/leaving frequently makes it happen sooner.
no idea for me they are shit
You mean my 60+ IKEA bulbs @ivory hound ?
i am not holding my breath for any updates ๐
no, your are the best ๐

haha
is a mystery to me how your network holds @jolly narwhal , what do you have as a integration ZHA? what coordinator?
Howdy. Random question, every now and then Zigbeee devices disappear what is the best way to re-add them? Forget them and them add them new?
Cc1352p2 and zigbee2mqtt @ivory hound
They don't disappear but rather disconnect.
I have a MS01 by eWeLink motion sensor that keeps triggering for no reason. Its set up via ZHA. Any suggestions on what I can try?
Depends why the devices disappear but if turning it off and on doesn't work, the only thing you can do is permit joins and re-join them. What do the logs show?
ah i don't know that coordinator, I have a CC2652R
battery
Where is the best place to view the ZHA log
some sensors report motion when battery is done
They're basically the same thing, the CC1352P-2 just has a power amplifier but it's not really necessary
do you have ikea routers in your network ? :))
ikea trafri bulbs and so
Nope. No routers. Well, I have a Tube one, but it is not setup. They are aqara sensors that connect to a HUSBZB-1
You definitely want to set up some routers ๐
On the log front, I understand the general logs. Is there a way to view specific entries for ZHA?
maybe your network is does not have enough covereage
my advice @fading ether add some routers
and
I was mucking with my wifi network and I wonder if it caused some interference.
make sure no wifi / bluetooth interference
I have had the same problem the last time, I was messing with wifi.
Unless your WiFi network is running on a channel other than 1/6/11, it shouldn't be a problem
Meaning, I rewired my wifi network and so things went down and then came back.
Good point.
I can add my router. I have one and just have not enabled it. :-)
Depending on the Aqara devices you have, they likely won't notice it. You will have to re-join them through that router specifically to make sure they don't pick the coordinator as a parent again (if it's far away)
5GHz won't be an issue here and WiFi 11 is on the opposite end of the 2.4GHz spectrum from Zigbee 15
After you join the router, instead of clicking on the "add devices" button on the bottom right, click on the router device and there should be a button to permit joins only through it
@austere patio what you said about wifi channes and zigbee ones is not quite right
or maybe i misunderstood
let me give you guys a thing to help
with that
Zigbee 15 sits between WiFi 1 and 6. WiFi 11 is far away.
Not sure I understand, honestly.
I get the 1,6,11 thing ,and am trying to determine if wifi 11 is a problem and what to do about it.
I have two APs and both broadcast on 11
they all use ~2,4GHz
Right, I get that.
Everything is on 11 which I would think would be okay because Zigbee could use 1 or 6
that means zigbee channel 24 is kinda saturated
So is it smart enough to know now to use that channel since the other two are clear?
read what i've sent
See <#zigbee-archived message>
you will get it
You want to read that link, about Zigbee channels vs WiFi channels
i sent same one

also @fading ether i understand you have 2 ap in your home both on same channel?
Yes.
My Unifi system does that automatically.
Nope, no mesh.
they are repeaters in this case
It was meshed, but I fixed that today. 2 hardwired APs.
anyway not zigbee related, moving on
Net net the aqara sensors all work fine, but one is a bit finicky.
2 ap on same channel is a big mistake
It is a water sensor and is surrounded by three others which are all happy.
What do the LQI values look like for the three devices?
One sec.
It could be that they're just all barely connected and a draining battery is causing the radio to operate at a lower power
@fading ether go here and read all again you have all the questions and info you need
The range is 1 (terrible) to 254 (awesome)
Strange that they are so different.
1 is basically nearly dead
I don't recall the "okay" range for SiLabs coordinators but I don't think the 40 is very good
Gotcha.
from what i understand LQI of 20+ is ok
TBH I see LQIs all the way down to 20 - without general issues
For TI, LQI = remapped last-hop RSSI
For SiLabs, LQI is more complicated and more indicative of Zigbee link quality
Can't really compare values between different coordinator hardware and especially firmware
Okay, back to the topic. All I can think if is that something about my wifi reconfiguration caused the sensor to drop offline.
Get that router placed half way between where the coordinator and your sensors, permit joins through the router, and re-join all the sensors to your mesh through it
k
More routers are always a good thing
There really isn't a whole lot left to debug if the sensor is gone and you've checked the usual suspects, like batteries
Is there a specific zha log to review?
I don't have the water leak sensors but if they also have a blue indicator LED and it is very dim when it blinks, swap out the battery
If you didn't enable debug logging it won't contain much but the entries are in the main home-assistant.log file
got it, but that log contains alot of other junk. Is it easy to etup remote logging? I have that on my Linux boxes.
Not sure. I usually just grep it and look for (case-insensitive) zigpy|bellows|zha
@sour shadow that hue motion sensor is great even got firmware update for it on z2m
Got it. So you use the CLI.
is awesome
I may have to splash for a couple of them myself
Is it located at /var/log?
It's in the same folder as your configuration.yaml file
Thx
i had on it 2016 firmware now i have 2019
anyone played with the Sonoff Zigbee 3.0 USB Dongle? Is it any good?
its much cheaper than the Elelabs stick...
It seems to have RF issues: https://github.com/zigpy/zigpy/discussions/635#discussioncomment-497823
still not the perfect cheap stick ๐ฆ
@ivory hound i wanted to report back that changing my battery fixed it. Thanks for the help
And two people with that stick can't join devices to it https://github.com/home-assistant/core/issues/48592
Why did they ship this thing out?
Hey guys. I'm running into issues with my Zigbee network. When I call lights from automations, services or Node Red they have a tendency to not respond at times. Especially when I'm trying to call multiple lights at once, some don't turn on or off when the service call is made. And for the life of me, I can't seem to figure out why.
Anyone have any idea what could cause this?
What Zigbee stick and integration are you using?
ZHA with a Conbee II
But the problem started happening before I moved to Proxmox, on my RPi with the RaspBee II shield.
Conbee II also had the same issue for me
Switching to an Elelabs stick, ZZH or one of tubes coordinators should solve it
The thing is, I didn't have the issue with my RaspBee shield at first.
With ZHA or deConz?
ZHA
I ended up do having that issue. Then I moved to Proxmox and had to get a Conbee stick, which has the exact same issue.
I guess you could try updating the firmware but that didnโt solve this issue for me back then
Already tried that. But for me it didn't help either.
Might a channel change help? Then I'll just change to channel 11 on both my Conbee and ZHA. That should have no overlap with nearby wireless channels, which it does have now.
I lied. My motion sensor is going crazy again. Battery replaced, any other suggestions?
MS01 by eWeLink connected via ZHA
whats the issue? ghosts?
Yeah it just keeps going off every 20 or so seconds
I've also had issues with ikea ones (usually not that frequent) and some xiaomi ones :/
also ZHA
I need to buy another pack of batteries... just to make sure its not them
Wondering if anyone knows how to troubleshoot the front end of zigbee2mqtt. I have installed both mosquitto broker and z2m as docker containers (running on a raspberry Pi with Linux/raspbian) and they are running, but cannot get the UI to work.
actually, now it is working, however....
zigbee2mqtt | Zigbee2MQTT:info 2021-04-18 16:51:28: Started frontend on port 192.168.1.65:8080
zigbee2mqtt | Zigbee2MQTT:info 2021-04-18 16:51:28: Connecting to MQTT server at mqtt://localhost:1883
zigbee2mqtt | Zigbee2MQTT:debug 2021-04-18 16:51:28: Using MQTT anonymous login
zigbee2mqtt | Zigbee2MQTT:error 2021-04-18 16:51:38: Not connected to MQTT server!
its Not connecting to the MQQT server
Well, is the mqtt server running on the same server as zigbee2mqtt?
If it is in containers localhost might not be correct
zigbee2mqtt | Zigbee2MQTT:info 2021-04-18 17:09:37: Connecting to MQTT server at mqtt://192.168.1.65
zigbee2mqtt | Zigbee2MQTT:debug 2021-04-18 17:09:37: Using MQTT anonymous login
zigbee2mqtt | Zigbee2MQTT:error 2021-04-18 17:09:47: Not connected to MQTT server!
still get that
Well, is the container running?
yes
docker logs <mqttcontainername>
b8952f72e23a_mosquitto | 1618729841: mosquitto version 2.0.10 running
that is the entire start sequence
should I be concerned about Error: Address not available ?
how do you tell it to listed? is that listener 1883?
My entire mosquitto.conf
legend
that looks very different to mine
uh thats my z2m one thats why lol
god, now it throws different errors
b8952f72e23a_mosquitto | 1618730477: Error found at /mosquitto/config/mosquitto.conf:881.
think I got it working, although by using docker-compose up to run it all, the only way I can then do something on the host is by hitting CTRL-C which kills the containers...
Well log_desk isn't valid
yep, removed that and it worked ๐
You need to run docker-compose up -d
aw snap
now, last thing before i disappear adding all my devices to this network. naming conventions... whats the best way to do that?
I do domain.room_fixture_bulbnumber
so light.office_ceiling_1 or sensor.bathroom_humidity_1 ?
light.livingroom_doglamp or light.livingroom_upstandinglamp_3 or switch.livingroom_dumblamp
Yes
perfect, although how do you change the device_id?
and then, how does this all plug in to HA? Through the z2m integration? or mqtt?
add-on not integration
I do all my renaming of devices in Z2m
But friendly name in z2m is a template for how the device name and friendly name will look in ha
oh. so a friendly name for a sensor of office_temperature will come into HA looking like sensor.office_temperature ?
awesome
Or friendly name of Office Temperature will be sensor.office_temperature
and to discover devices in HA, just slap the mqtt stuff in the config file?
Nope
Just add the mqtt integration
And enable home assistant in z2m
It will automatically populate and remove devices in ha
awesome
so just deleted a Philips Hue light from the Hue app, now it is discoverable by both Hue app and Alexa, should it automatically pop up in the z2m UI, or do I have to manually serach?
cos only 1/3 have worked so far
You have to enable joining in z2m
And then put the bulb in pairing mode, which if it isn't paired it should be
yeah have done that. permit to join all is on, and have deleted the devices from the Hue app
just deleted a heap more, they all got picked up right away by alexa
that isn't why they aren't showing is it?
restart of z2m sorted it
and now its all instantaneous
righto, another problem...
b8952f72e23a eclipse-mosquitto:latest "/docker-entrypoint.โฆ" 21 hours ago Restarting (13) 21 seconds ago b8952f72e23a_mosquitto
mosquitto is 'restarting' non stop
and ever since it did, z2m won't work
Well, read the logs
Or start it attached
docker stop <containername>
docker start -a <containername>
nothing new int he logs
yeah still sitting at 'restarting' even after starting attached
You should see everything happening on the console if you start it attached
It will tell you why for sure
it did nothing. just started it and put it into restarting status again
like, no wall of text on the console at all
alright, I removed my password line password_file /mosquitto/config/mosquitto.password and turned anon access back on and it all worked
So it restarted because the file didn't exist
the file exists, so not sure
@thick plover Remember that you can always go ZHA and avoid all that trouble ๐
Does it exist there inside the container though?
as in the folder directory of the container?
Well, sort of - where something sits on the host doesn't matter for where it is inside the container
righto... how do you get it in the container then?
What does your compose file look like?
Well, yeah, you haven't mapped the password file through ๐
volumes:
- ./data-mosquitto/config/mosquitto.conf:/mosquitto/config/mosquitto.conf
- ./data-mosquitto/data:/mosquitto/data
- ./data-mosquitto/log:/mosquitto/log
``` no `mosquitto.password` there
Why not just map the entire config folder in? ๐ค
volumes:
- ./data-mosquitto/config/:/mosquitto/config/```
That'd save having to map individual files.
Also works in reverse... any files Mosquitto creates in that folder that you hadn't explicitly mapped will survive when you recreate the container.
No
which side of the colon is inside the container?
Right
ah yeah, should have noticed that
is there a way to encrypt the mosquitto.password file?
Hello people , does someone has experience with connecting a xiaomi pir to a different hub then the orginal one
ah nice
any tips for devices that refuse to pair?
Try a new battery. Try a slightly different location. Make sure it's within reach of a router that has capacity. Check that it supports the channel your mesh uses...
Well, every router has different limits
Some may be as low as half a dozen, some may be up at 50 or so
That coordinator should be good for a few dozen
36 on there so far...
I will do some digging around on that one.
As for programming something like a light switch to do x when you press it... would that be done in z2m or in HA?
Well, you can possibly do both
Binding allows you to have one Zigbee device directly control another
otherwise it's automations all the way
hmm should have done some more research before I jumped all in on this haha. someones going to kill me ๐
The biggest challenge is usually building out the mesh
Not the wife?
She's become used to the fact that there's yet another AliExpress/Amazon delivery with yet another gadget
You mean, two every day
i snapped a philips hue light taking it out of the ceiling this evening, the spring bracket retainer snapped.... theres a new one arriving tomorrow ๐
Supports controllers integrated with one of the following integrations: deCONZ, ZHA, Zigbee2MQTT.
does that mean you need to be using the actual HA integration of z2m to use this blueprint?
Z2M isn't an integration. It's a piece of software that sends all the Zigbee commands via MQTT, which HA has an integration for.
MQTT is MQTT. Doesn't change a thing.
ok so that should work then
I think zigbee2MQTT has broken my HA...
Source: util/logging.py:101
First occurred: 23:30:57 (5 occurrences)
Last logged: 23:30:57
Exception in state_received when handling msg on 'zigbee2mqtt/Kitchen Ceiling 1': '{"update":{"state":"idle"},"update_available":false}' Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/mqtt/debug_info.py", line 32, in wrapper msg_callback(msg) File "/usr/src/homeassistant/homeassistant/components/mqtt/light/schema_json.py", line 297, in state_received if values["state"] == "ON": KeyError: 'state'```
and this... https://pastebin.ubuntu.com/p/5Dv7HThmB7/
Z2M can't break HA, it doesn't talk to HA ๐
If something's wrong between HA and MQTT, diagnose that.
It's probably not a Zigbee thing though.
i think a bloke in automations is helping out.... just was weird that it also threw that error up there
ah cool
FIGURED IT OUT and in case people buy the same remote and want to figure it out too
The instructions say to press and hold the power button--- the trick is that you need to POWER the remote on first, so it is not just a press and hold the power button and then hit the s1
actually:
press the power to turn it on, then press and hold the power button, then hit s1
Thank you random internet video: https://www.youtube.com/watch?v=3tGfKT1wWPE
but, the getting it to work thing was hard...
I am starting to have to replace batteries on my zigbee devices. It looks like around 50% battery charge they are getting unreliable and even drop off the network as 'unavailable'. Just replacing the battery doesn't make them available again .... I have to re-pair the device which is a nuisance and it doesn't make sense to me. Is this normal or is there a secret handshake that I am missing ?
Wake them?
I tried restarting HA, rebooting the host, pressing the reset button on the device, running a reconfigure for the device - nothing works
Simply waking the devices has never failed me, but you haven't said what those brands are
So far they are all Sonoff brand, mostly PIR's and one temp/humidity sensor. How do you wake them ?
Usually it's a short press on the reset/pair button, enough to wake them but not enough to reset them
On the PIR, I did try to activate them by moving mu hand in front of the sensor and it triggers (flashes) but doesn't become available
On Xiaomi and Konke devices it causes the LED to flash and the device to check in
I tried the short reset as well - no joy
OK, thanks .... if doing the quick reset push is 'supposed' to work, I will try that more diligently on the next device tat goes down. I tried it on both a pir and the temp/humidity sensor but I didn't try it multiple times and these things sometimes need convincing.
Of course, if you're regularly replacing batteries, then either they're really crappy (well, they are Sonoff), or you're lacking enough routers for a healthy mesh
You should get 2+ years from a set of batteries
How about 3 - 4 months ???? I wasn't going to worry about battery life until I replaced the batteries that came with the devices which might not be too good. The replacements have dates marked on them so I can see what happens with new batteries.
If you can measure it in months then that's not good
I've had to replace one battery that came with a device before that device was in use for a year
Out of ... 40 or so
Yeah, I wasn't too impressed either but before I get all bent out of shape I want to see what happens with new batteries. Mind you, they are still China batteries ....
I have 30 Xiaomi devices, from China, and 10 Konke, ditto, one battery failed before a year was up
I have roughly 20 zigbee devices going and replaced5 batteries so far ... I think
I've replaced three batteries, in the humidity sensors, all of which have been in use for 18-24 months
One door sensor had a failing battery after 4 months, that's the only outlier
The humidity sensors do seem to go through batteries faster than the door/window sensors, none of which are showing any drop in battery level of note
Hmmmmm, maybe I need to look at bringing in a Xiaomi device for testing. Do they make PIR's that are small and are not prone to random triggering (Sonoff's trigger maybe 2 or 3 times per day)
The Sonoffs are known to be crappy motion sensors
I've had no issues with https://www.zigbee2mqtt.io/devices/RTCGQ11LM.html, and https://www.zigbee2mqtt.io/devices/2AJZ4KPBS.html are slightly smaller, but only work on limited channels
Yes, I have figured that out. I have some Aquara units coming but they are almost twice the price and three times the physical size. The Sonoff's are easy to stick all over the place and not too obvious.
I prefer the look of the Konke units, they're a lot easier to overlook
I do not use mqtt .... another thing to go wrong
Nothing goes wrong 
I will have a search for the Konke one's - can't say I ever noticed them before
They're relatively new, but easy to get on AliExpress
Got a link? I just did a search and nothing 'konke' in the first page of search results searching for 'konke'. Instead I get a lot of Aquara devices
Gaaaaahhhhhh
https://www.aliexpress.com/item/4000478277318.html specifically, but there's a host more
Thanks .... I actually searched for 'konke motion' ..... I will look those over and maybe bring one in to test - thanks!
Konke PIR ordered ..... thanks again!
Now I hope you read the links I posted earlier, and paid attention to my warning ๐
Ummm .... no, I didn't because they seemed to relate to MQTT ....
Well... they're docs about the devices, while parts are Z2M specific, parts aren't ๐
I see that the device only works on a few channels .... I will deal with that when I get the thing. So far I have never had to deal with setting channels or anything else for that matter. I just pair it and I am off to the races.
Yes, which is why I warned about that
If you have to change channel you have to re-pair everything
It does look nice and small which I prefer so if it works and doesn't false trigger then it will probably become my go-to device
OMG ..... I did not realize that re-pairing would be required for everything. ..... I will cross the bridge when I come to it ๐
Or... re-pair them all while you wait for your order to arrive so everything works that day with minimal effort.
Good idea mono ..... need to figure out how to change channels first ....
Found it .... never looked at the doc's before, interesting ....
The docs are full of useful and relevant things ๐
Imagine that ....n who would have thunk ... ๐
Yeah, they either run to completion, or fail with a timeout
yeah, I've succeeded that
๐
it was working nicely and i closed z2m web interface
and when i open it again
it says in progress time N/A
and stuck
Hey all
Trying to get an Aurora dimmer to turn on and off and dim a couple of zigbee light bulbs
Anyway to do this withtou node-red?
adding a zigbee stick here (Nortek) and the integration asks me for "port speed" and "data flow control"
what are the value? couldn't find the answer
Are you using HA core or some nonstandard installation method? It only asks for those after all of the autodetection methods have failed, which likely means that something is wrong with the serial port
HA core on Unraid
Anyone able to break down how to get the Philips Hue Dimmer working with lights connected via zigbee2mqtt? I have tried a few automations and blueprints and cannot seem to get it going. It makes me wonder if they are even working in z2m. I did the reset on the device, interviewed and added to z2m fine, but they still show on the Hue app and don't send any data in the z2m log when the buttons are pressed.
Well, does the device appear in z2m?
And in HA?
As in, available
Mine say "last seen: 1 minute ago" in z2m
Even if I haven't pressed it for days
This automation uses a hue dimmer switch
mine appear in z2m but say "N/A" under last seen
Make sure that last_seen is enabled
However, if it shows in the Hue app and works there, it's not connected to Z2M
Any idea how to get rid of it from the Hue app?
the 'accessories' in the hue app, none of them budge
No idea, don't use it since I took my Hue bridge to the recycling centre ๐
@thick plover the correct way to remove zigbee devices from hue bridge is to unbind / remove them from hue bridge while your zigbee network is open to receive new devices
in your case
i would do this
remove device from z2m
ah so remove from z2m and try remove from hue again?
then open join in z2m
and then do remove zigbee devices from hue bridge is to unbind / remove them from hue bridge while your zigbee network is open to receive new devices
all my devices are now last seen 'just now'
the thing is that device should not be joined anywhere while you want to join it on z2m
actually i think its all good, they all say 'unreachable' now in the hue app
FMD - i didn't realize the delete button was hidden on the ios hue app and you had to scroll down the page hahaha
yah the thing is they still remain in hue network if you delete them while they are unreachable ๐
i should know it happen to me in the begining
however that wont be a problem if you unplug hue bridge
then you are fine
MQTT publish: topic 'zigbee2mqtt/Kitchen Dimmer', payload '{"battery":89,"counter":1,"last_seen":"2021-04-19T07:05:36.048Z","linkquality":66,"update":{"progress":72.72,"remaining":447,"state":"updating"},"update_available":false}'
uhuuu
speaking of hue
haha
instead of using scene.turn_on could you use light.turn_on?
yes
hmm - not working for me that way then
alias: Office HueDimmer On
description: ''
trigger:
- platform: state
entity_id: sensor.office_action
to: on-press
condition: []
action:
- service: light.turn_on
target:
entity_id: light.office_lights
mode: single
Finished update of 'Kitchen Dimmer' ๐
this is how it works
data transfer rates are very slow
but hey it works
zigbee is not build for speed
except for when yours truly wants to get a switch to turn a group of lights on and off...
how many?
Zigbee groups are great for that
like @sour shadow said if that group needs to have many zigbee lights use a zigbee group
if you only need under 4 or so lights in that group you can do a group in home assistant
yeah I have the lights all set up as groups in HA already
doesn't work with those, so will try via a z2m group
so what's not working?
just nothing when I click the button on the remote
I did a group for three lights, works more reliably than when doing them one at a time
yah you did something wrong
i have light groups in ha and they work flowerless
they never failed
again read docs
๐ will do
we can't answer every question you have ๐ we are not encyclopedia
then why the hell am I here? ๐
you do realize all ppl here help voluntary, right?
I am joking mate. Of course. And hopefully I can impart wisdom some day too
hope so, not to long agao i was you ๐
weird, the hue dimmer that I have been trying to get working, I can see it in the Map on z2m, however its not connected to anything...
I see that on and off - devices that aren't connected, apparently, yet work fine
BTW Tinkerer, now up to 46 devices on the CC2652R
got it all working ๐ no idea why its decided to start working, but automations controlling the lights now work
now, what other sensors should I buy ๐
All of them
this is the correct answer
i will let my wife know ๐
when the stuff arrives...
The trick is to also buy a bunch of stuff for her at the same time.
Either she won't even notice your stuff or she'll be so happy with her stuff that she won't question your stuff.
MR SMART
Hi, I've been looking at light bulbs on Amazon - can you still get ZigBee compatible bulbs? Most of them now seem to say 2.54GHz WiFi and not Zigbee yet they all claim compatibility with Hue etc. I had Innr before but they don't seem to be available now for a reasonable price.
I don't see amazon stopping selling zigbee anytime soon
maybe it's because I'm looking for an E14 bulb
but zigbee is 2.4ghz just like 802.11.b\g\n
just look for the red Z logo
See the hardware lists in the pinned messages
Ah I see, it's strange some of them say you need to enable 2.4Ghz on your WiFi AP so I assumed they were "normal" WiFi.
Well, those are normal WiFi
But ... 2.4 GHz means nothing
WiFi, Bluetooth, Zigbee, and more all live there
Right I understand thanks.
I bought some Ikea E14 bulbs the other day, not from Amazon, but Amazon also lists a range of options
But the ones that are WiFi (not Zigbee) are not compatible with Home Assistant without flashing their firmware?
They're possibly supported by one of the various cloud based integrations, if you're lucky
I've already got a ConBee so will find a Zigbee one. Thanks.
Is ConBee not good ?
depends, which zigbee platform are you using it with ?
I think it's Phoscon ?
that supposedly works fine
Is there a list anywhere of compatible ones ?
thanks
No problems at all with Phoscon here running on a separate RPi
so i'd like to bribe someone to be able to update in z2m Samsung GP-U999SJVLBEA SmartThings Motion Sensor and Samsung SmartThings GP-U999SJVLAEA Multifunction Sensor ๐คฃ
that would be awesome
when i sold my SmartThings hub i did not think about the update part :))
I have abused the system for too many years to get away with that one...
Just notice the binding option on zigbee2mqtt. Does that mean that I can for example make my tradfri remotes to directly control my tradfri bulbs or group of bulbs, and at the same time control the bulbs with zigbee2mqtt and read the actions the remotes are sending by mqtt.
Tradfri bulbs and tradfri remotes probably do?
probably
Yeah, afaik, IKEA's Tradfri system works like that that you directly bind remotes with bulbs and other stuff. That's what's biting them back now for adding new features
So it should support binding
You don't have to bind them. I have a blind and remote connected to Z2M.
I am using node red for ikea remotes now and maybe binding them directly may make the brightness up/down smoother
Instead of using my own node red functionality
you guys adjust your brightnesses manually ? ๐
Putting the 'manual' into 'home automation'
For the rest of the family yes, adaptive lightning did not get wife approval and had to remove it completely
wife loves adaptive lighting
Too dim for taking showers at the night
One of the few rooms I don't have smart lights yet, the bathroom but that should be easily addressable with a water sensor
if shower == lights up
or temp, or humidity
Too slow to adapt. Maybe have it another go after some planning first
Flow sensor then?
slow to adapt ? a temp sensor on the outflow pipe or a water sensor would be instantanious
Door sensor and motion sensor and temp/humidity in bathroom and sauna but the problem is how to know if she is going to take a shower in the middle of the night (needs enough light) or just go to the toilet (dim is good enough).
This would work: #zigbee-archived message
temp sensor on the outflow pipe will be hard to misinterpret
or a water sensor on the floor \ side of the shower
All the sensors should be invisible if asked her. Water sensors are in use under the dishwasher, washing machine and done other places I can hide them completely but on the bathroom floor, that would not be acceptable ๐ง
You have pipes behind the wall, right?

Sensor on pipe = invisible.
or like 90% of norwegian showers, freestanding cabinets with skirts and easily accessible pipes
not sure how common that is in the rest of the world
Yeah, we have skirts too.
That would anyway be too slow if the light comes brighter just after the water is flowing. The compromise right now is to use door sensors and motion sensors together. Opening either of the bathroom doors between 1am and 5am will put light on at dim, but if the motion sensor above the shower also triggers they will go to the full brightness.
Does the shower have a door? If so, just put a contact sensor on it.

But 'too slow'? How many seconds between opening the shower and turning it on? Like 2 seconds?
Well, everything should be invisible, immediate and work every time.
But iteration by iteration this will be better, not perfect but better ๐
Yes... working every time is what we're getting at. How do you know 100% that the shower is on? You know because there's water flowing.
That sounds like it's going to be costly then ๐
What if someone just wants to grab something from the shower cubical?
Reduced visibility == expensive ๐
(you start looking at recessed mountings for sensors, and those aren't cheap)
Yeah, compromises need to be made
TBH many surface mount sensors aren't exactly obvious - the Xiaomi light sensors for instance
I think this hue dimmer I have is no good - it worked for a bit, now z2m says it hasn't been seen in over an hour ๐ฆ
@ivory hound is this because its still looking for the hue hub?
Temp sensor on the hot water pipe would be a good input to determine the bathroom state, then add a PIR presence detector and humidity sensor. Possibly detect if the extract fan is powered.
Need to find the branch that leads to the shower
I have a few cheap zigbee plugs with energy meters, Blitzwolf BW-SHP13 that I use with ConBee + deCONZ add-on. The plugs work fine, but seem to only update the power once per minute or so. Which is fine most for getting trends, but when the consumption goes from 0 to something more or from something to 0, I'd like to know within 2-3 second or so to be able to use it as a trigger. I can't find any setting in deCONZ for this and Google gave me loads of stuff but not what I want. Any tips here? Is it even possible?
No idea about the blitzwolf zigbee plugs, I too use tasmota (including blitzwolf plugs) for all power monitoring needs
in fact because of this reason i removed all my zigbee plugs
they're fine with z2m
another issue i had with zigbee plugs on ZHA is some smart guy removed consumption in KWh and now all reports come as W witch is plain wrong
most have 2 sensors that report the same thing
Maybe Shelly is also an option
as long as you can run tasmota on it it will work very good
you can even make them report like once per 2 or 3 seconds
you can make them report on percentage power change
anyway not zigbee moving on
look into that
look in here https://templates.blakadder.com/plug.html site is very useful guessing it belongs to @violet dagger
who?
that must be me then
:))))))
if i take the battery out and put it back in, it starts working again
if you still speak about that hue dimmer, i am pretty sure is not paired correctly in this case
yeah it is. bugger. i will try deleting from z2m, adding to hue again, deleting it properly from hue, then adding back to z2m
that's best way
I have a new zzh, can I just adjust the path in .storage (was conbee til now) or are there additional steps I should take care of?
Tinkerer, what was that integration you mentioned that adapts the lights depending on the sun's state?
sweet, looks like you can exclude/include rooms too
radio_type = znp then? or ti_cc ?
Hi there. I'm using the default HA Zigbee handler (ZDO?) and got a new Zigbee wall switch. Standard question: can I make it a pair software-only buttons, i.e. no actual mains switching ?
it's a (tuya) tyzs3-based device
hm, no errors, no worky. devices available but do not react
guess thats bad
https://imgur.com/a/UJZa89G
@sterile sleet did you flash it? u have zzh one no?
I have zzh! and the test python script shows PASS|OK , yes I flashed it
can you share your zigbee2mqtt conf in a pastebin? also how do you run z2m?
I run zha
I use /dev/serial
yeah that is the problem
wut
let me try..
updated compose, updated core.config_entries, starting now..
i see some
um... anybody with experience on those tuya devices? I'm using ZHA
I use a tuya zigbee device with z2m
you know most ppl don't know but /dev/tty* and /dev/serial/by-id don't use same drivers ๐
yes they're just symlinks
and using IDs is better so you don't screw up your devices. Esp. true with drives, you don't want to accidentally nuke your data ๐
@sterile sleet still not working?
@jolly narwhal oof. I just wonder if there's a way to make a wall-switch essentially just a pair of software-controlled buttons -- I don't need it to switch anything since I have smart gear behind it already
nope, I use device_type: ti_cc in core_config
my best guess is this happen because you updated from deconz to zzh without removing integration and just changing in confs
if i picked that right
yes
but I need to repair everything then?
in my opinion you need to repair eveything anyway
i just dont see it how you can switch from conbee to zzh without repairing
well I guess I can just wire the switch up to just power itself and forget it...
(ugh no, it's got no neutral... think i'm stuck here XD)
should be possible afaik
@sterile sleet if i were you I would even delete zigbee.db just to be sure i start fresh
just make a new zigbee newtork on the correct channel (with less interference)
this is what I would do
fml
just migrate to z2m already ๐
and have no control over my devices? nah
no control ๐ค
try sending a colorloop speed command to a bulb with z2m
is doable but not simple as zha
last I checked it's not even possible
I've checked how this works with the Hue hub (https://labs.meethue.com/formulas/huelabs/colorloop) but it's doing nothing more then sending the hue_move command which is already supported (https://www.zigbee2mqtt.io/information/mqtt_topics_and_message_structure.html#zigbee2mqttfriendly_nameset).
hue_move is just from color x to y - no continous/infinite move
what on earth are you using that for ?
ambient lightning
trying to see what it does
@jolly narwhal is right with that move it works
you can make a script with a while loop
as I said is possible but not so simple as ZHA
I just like to let the bulbs work that out themselves. hue_move is just another command to make the network / coordinator busy
for me colorloop is not needed ever, to be honest a script will do this just fine ๐ but i don't need it, ofc now it depends of use case scenarios of everyone
in my book ZHA and Zigbee2MQTT are both good
both have advantages and disadvantages
at one point i used both in the same time :))
If the bulb supports it - I let the bulb calculate stuff and free the mesh
yeah I think I will pair the bulbs back to the hue bridge and everything else to z2m
OK I will do it @jolly narwhal
fml though, 70 devices
Personally, I like z2m over ZHA simply because I like the added benefit of my zigbee devices being available outside of HA (should HA go down, etc).
@sterile sleet you can't change coordinators without re-pairing at the momento
took me 45 minutes to repair 60+ devices @sterile sleet, then I even had a few issues
you can, just not from and to conbee
Yeah, if they are both ezsp you can
Yeah, been there, done that... It hurt. But, there was the bonus of finding out that most of my crawlspace devices had dropped off my mesh for over a month. lol
first off, replug that conbee and unpair everything
nah
just reset all devices with whatever coordinator you want to use in pairing mode
I've never unpaired anything from either HUE, Xiaomi or Tradfri
some of the bulbs are monsters to reset afaik
which bulbs ? tradfri is just power flip 6 times, hue I just use the dimmer and press until they flash
hue
with the dimmer it is easy then
The only ones I've ever had problems with were the Ikea bulbs and that was because I was on zb channel 6 (which it seems that the Ikea bulbs hate).
fuck meeee I have 10 hue motion sensors
For the Hue bulbs, you could always use the hue-thief script.
and?
Never seen those, moving the xiaomi motion sensors were just holding the button for five seconds with z2m in pairing mode
The hue motion sensors are EASY. Pop a pin in the back of it for about 1-2 seconds.
yeah but they are partially glued
i didn't know amount of hue bulbs is a good incentive for copulation
@sterile sleet Yeah, ewwww @ that.
Seriously the best motion sensors I've had to date. All of mine are on the same batteries they came with... almost 2 years ago. LOL
same with my xiaomi ones
mine worked for 5 years straight
had zero issues
only had them for 2 years though, but haven't replaced a battery yet
even did the 1 second hack on one of them
lol no xiaomi again ๐ that are shit, I agree they last a lot but they report at 2 minutes intervals etc
mine report every second roughly
๐
if I watch the mqtt log while moving in my office
it will be flooded
I've thought about getting a few of the Xiaomi ones to play with, but my Hue ones work way too well... ๐
you cant compare hue motion or samjin smartthing motion sensors with xiaomi
you can't?
different category's
LMAO #TrueStory
they're both zigbee motion sensors
I have no comparative ground, but there is nothing the hue sensor can offer me that the xiaomi can't do right now
I don't use them for that ๐คท
I have temperature senors at better locations in each room
this is all that they have in common ๐
best motion detection location is not the same as best temperature location
Do the xiaomi ones have lux as well?
yes, it's shitty though
some of them do
When detecting motion
that seems like an overly broad and incorrect statement
but lux on xiaomi is .... like motion / in a grey area
If you want a light sensor, buy a dedicated one
Hmmmm, that'd be a deal killer for me then. I use lux EVERYWHERE in my autos.
yah the aqara illuminance one is good
Hmmmm... food for thought then. Just have to get the wife to sign off on more sensors ๐


