#zigbee-archived
1 messages · Page 102 of 1
Missing? It won't appear in the list on the right until something uses it.
You have to listen to it yourself.
Events are usually lower case too.
https://github.com/klauvi/hassio-config/tree/master/docs/hue-remote-on-zha if you want to use node red for the automations
@dry fossil i don't even have the option "zha_events" (in lowercase) on the right list.
if i type "zha_events" and click listen, nothing happens when i press the dimmer buttons
There's no need to use NR for everything. One step at a time... figure out the events.
i'll check that out @violet dew
If you're not getting any events, I doubt NR will help you 😉
NR can only handle what HA can see.
just for future reference 🙂
i agree: one step at a time
so here's the thing @dry fossil
i never had zha_events on the right list. this came up in previous questions of mine in the past, and i was told that is because i didn't have any switches yet, which is what basically uses zha_events
today i got my first switch. a phillips hue dimmer remote. i paired it and get the battery sensor. but still no zha_events
then, i tried a blueprint i found on the forums. and yes, the dimmer works and i can control a bulb with it. and zha_events also shows up on the list and i can listen to it.
HOWEVER: i like to learn this myself, not relay on 3rd party blueprints.
so, i removed the blueprint... and zha_events dissapeared from the list again
so... what steps do i have to take to make this work manually?
Possibly stuff only shows there if something is using it
You can just listen to events though 😉
@sour shadow like i explained further above
- zha_events is not even on the available list on the right and
- even if i type zha_events and press "listen" nothing happens when i click the buttons
- Expected
- Check your log file
I can fire any old event, until there's a listener for it, nothing shows on that list
and when using a 3rd party blueprint, it works
so, that blueprint does -SOMETHING- that makes it work. and i'd like to learn and know what that something is
The answer is likely in that blueprint
I have a few hue remotes connected to zha, don't remember that I had to do anything special to get the events to start working. never noticed if zha_events was in my available events list or not though
well, same with the logs or tat blueprint: even if i look at it.. what am i looking for exacly?
Well, in the log you'd be looking for things around zha
In the Blueprint... the code 🤷
maybe this?
trigger:
- platform: event
event_type: zha_event
event_data:
device_id: !input "remote"
There you go, that creates a listener
At which point, as if by magic, it appears on that list
Well, yes but no, but sure
Creating a listener won't make the events appear...
If you listened to that event type already and saw nothing come through, you have other issues to fix first.
so, what is it from this blurprint:
https://community.home-assistant.io/t/zha-philips-hue-dimmer-switch/255048
that makes it work?
i don't want/need the full blueprint from a 3rd party, i just want to know how to make zha_events work so i can listen to them
Nothing
Events still happen even if there's no listener.
If a tree falls in the woods and no-one's around to hear it, does it still make a sound?
Yes.
ok got my Arduino and cc2531 hooked up ran cc_info.py and...... chip is not responding🤦♀️
Cc2531 🤕
yep I'm thinking I should just buy the better one and wait a month
It is.... Almost usable in a small apartment with a few devices
If that is your usecase you'll be fine
If not I would say order zzh
i'm using cc2531 with 60 devices. it works, but I don't feel good about it. hoping it won't crash on me before I get zzh
ok! here is what I think the issue is
@foggy gyro I have a cc debugger, easy to flash, but based on pictures I've seen flashing it with a pi should be easy
I'm using a nodemcu esp8266
Yeah, never tried that, but heard about it
I just dont want to spend the time soldering pins on my pi
I've only ever used the debugger. Took me 20 seconds and then it went into my drawer of junk.
Soldering? Quit yo jibber jabber, foo.
Jumper cables 😄
I have a gazillion dupont cables in my workshop, but I just ordered a custom crimp set for dupont
🐔
I've never needed more than 5/6 duponts at once 😄
Shows how simple my stuff's been so far.
Ya basic
Oof, that URL.
cnt post photos from mobile here
Used so many bytes in the URL that there were none left for the pixels.
is the middle board creating issues?
I have no clips
You don't have to use clips...
true
Overcome
lol I have none
I bet after all this, you wish you'd just bought the zzh! from Dale 😉
I am planning to after the new year
still would have to wait for it though
assumning it ever gets here
Waiting is fine 😉 I've just ordered some more stuff from China 🤣
Last I heard, yes. You'd have to ask him. @waxen jungle, get your ass in here.
I'd prefer to use Amazon Prime for everything... but I wasn't going to spend £80 on something that would cost £20 from China.
A couple of pounds more, sure. 4x the amount? I'm waiting.
I do too especially with all of the packages that keep going missing
Should I be buying the ZZH or CC2652RB?
Yes
wow $55
For what?
CC2652RB
Yeah... just get the zzh! from Dale 😉
Dale!? Can I buy your stick?!
oh it is on purpose for sure
anyone experience with Wireshark Zigbee sniffer ?
Yes
zigbee sniffer wireshark cc2531
Windows 10, Zbos and wireshark installed.
I get this when I start ZBOS sniffer: Can't start pcap logger
Hi All, Not entirely sure if this is the best place but... I am looking at setting up HA in a VM on my oVirt stack. I want to make use of Zigbee devices but USB passthru isn't an option. Is there a good way to do this without any dependency on a cloud provider? Is it possible to make my own hub that could handle Zigbee and Z-Wave via the USB sticks?
I have flashed the firmware of the cc2531 with the zbos firmware as described with succes..
@dawn dock : use mqtt2zigbee
or a RPI with a MQTT server..
@grand lynx Not sure on Windows....
is ZHA fine with multiple devices joining the network at the same time? I'm not sure if it uses some global state during pairing (I don't recall it from looking at the code in the past, but I may have missed it)
ahh
Tried it in Ubuntu linux also, no luck. But my knowledge of Linux is not very good 😉
well that answers that i think
Can also get a sonoff zbbridge @dawn dock
Zigbee2MQTT is the answer IMO
via a custom fw?
A true software architecture connoisseur
I don't believe it does, everything is per-device
there are some calls to Application class IIRC, which is shared. I hope the code there is safe anyway
It's all single-threaded async so it should be fine. I didn't have any problems joining multiple bulbs in the same fixture at once, though ZHA performing binding did fill up the transmit buffer really quickly on my stick
Anyone having issues with the new HA update? Updated last night and this morning all my zigbee devices were unavailable. Tried uninstalling zha integration and reinstalled it and now I can’t discover devices
Enable debug logs and upload a sample somewhere: https://www.home-assistant.io/integrations/zha/#debug-logging
Long live running zigbee2mqtt outside ha 🎉
What do the numbers on the ZHA network graph mean? I have a bunch of terminal nodes that have numbers like '78' on them. I have 1 coordinator and 3 routers (2 smart plugs and a CC2530 with router firmware). The router nodes have either '0/0' or '1/1' on the lines connecting them.
My first guess is these 1/1 and 0/0 numbers are like upstream/downstream?
😬
Ah well, it's not really a loss 😉
Though, smoking one is quite impressive 😄
I spend more on beer
I was trying to 3.3v hookup cause I can not get it to flash. The leds went dark and... blue smoke smell
anyway to know if it was the cc2531 or the ardunio?
I don't think a CC2531 without firmware really does anything even when plugged into a USB port so 🤷♂️
You should see a serial port if you plug in the Arduino
still see the ardunio
On the other hand, I thought I fried my CC2531 when flashing it. Re-flashing at least the bootloader section using the slow method revived it.
I keep getting The chip is not responding. Check your connection and/or wiring! using the slow method
I am also using a GBAN debuger bug that is just a break out unit right?
The cable?
and the little board
Yeah they just expose the pins on a board with standard pin spacing
that is good news
Make sure to probe the connections with a multimeter or something to make sure they're not mirrored or flipped
I think the Z2M documentation assumes you'll be bending the debug header pins and using clips
The board and cable combo may flip them around or something
let be probe it I should have done that from the start
they are flipped!!!
can anyone help point me to instructions on how to completely reset my ConbeeII and remove ALL devices from it?
I've removed them all from the Phoscon UI
but they still appear in the deCONZ UI
OMG IT IS WORKING!!!!!!!!!!!!!!!!
Woo
I am an idiot!!!!!!!!!!!! I am so happy to be this stupid right now
@foggy gyro @dry fossil I have been in talks with the manufacturer to get some in bulk for resell in the US. But yes, I have one stick still available.
new usb stcks?
Yeah, I got mine as part of the first, faulty, batch 😂
I'll keep my CC1352 for now though ⛹️
the faulty batch wasn
IT IS WORKING
't all that faulty, but i still have better LQI w/ the fixed one
Mine was one of the dodgy ones, apparently, but a wait of a few weeks didn't kill me 😄
I can see the chip using cc_info.py
I should for the lulz just mod my CC1352 to use the external antenna
My Slaesh stick is still in the drawer though, one day I'll get around to setting that one up too
my faulty unit i had running as a coordinator for a little bit, it worked on par w/ the 2531
but in my usecase the 2531 worked great for me. the zzh seems to have upped LQI and responsiveness
Yeah that 8x increase in request concurrency helps
i have a smart plug buried deep in my entertainment center and it never drops off
the zzh decided to route to it directly through the wall rather than go through my other routers
the cc2531 never did that
My cc2531 got to live 12 hours as a coordinator before I killed it
And moved back to the hue hub while waiting for my cc1352
lol
I wonder if the CC1352P-2 actually increases effective range, since the destination device usually has to reply with an acknowledgement anyways, usually at a much lower power
Doesn't it have a better receiver as well?
Doesn't matter that the other devices have weak transmitters.
No idea, but it is rock solid, and covers my whole house (three floors 252m2) and 100 devices without skipping a beat
And more devices are coming
- Chip erase...
- Flashing 4 memory blocks...
-> 0x0000 : 8176 bytes
Progress 100%... OK
-> 0x1ff6 : 10 bytes
Progress 100%... OK
-> 0x3fff0 : 1 bytes
Progress 100%... OK
-> 0x2000 : 239616 bytes
Progress 0%... ``` AHHHHHH
... OK
Should help with at least broadcasts and multicast requests then
I have spent nearly 18 hours trying to get tot his moment
If you're impatient and want to probably reflash it after this, try the serial bootloader flasher ( https://github.com/zigpy/zigpy-znp#hardware-requirements ). I think your CC2531 has the serial bootloader now.
Zstack3 on a cc2531, that sounds ambitious
How small?
15 devices total, 3 routers
Impressed still
i attribute it to having my zigbee network on channel 26
the 2.4ghz congestion is so bad in apartment complexes
luckily most people havent clued in on 5ghz
I wonder when multi-frequency Zigbee devices will start showing up. The CC1352P is supposedly low-power and can run at sub 1GHz as well as 2.4
Yup
The sub GHz stuff is what made me choose it
Just for lulz, in case
Reminds me, got my lora stuff today
i was wondering too, subghz zigbee is bascally z-wave but better
if only there were any devices for it
Hard to market Zigbee interoperability when your stuff won't work with anything else
agreed
even the 2.4ghz device market is pretty slow to grow
aqaras z3 devices announced a while back never really came to fruition
i need to document my per-room lumen levels over time
I have confirmed that they go up when the sun is out
😱
😂 😂 😂
But the low resolution on the Aqara sensors does make the readings useless when it's getting dark
I have no interest in room luminance, circadian lighting just controls my lights based on external factors
knowing sunrise / sunset is probably enough
The new Xiaomi Mijia light sensors are pretty solid
I use them for do I need additional lighting
Do you keep them in closets or something instead of motion sensors?
Nah, in the rooms
Then lighting comes on as the room gets dark, if the room is occupied
Do the Aqara motion sensors report light levels if there has been no motion?
Nah, those are rubbish light sensors
I guess higher sensitivity would be nicer and would make that sort of stuff more usable. I didn't have good results with those built-in sensors
Yeah, bin those for that purpose 😉
I'm sure I get lux from my Aqara stuff without motion.
Yeah, I seem to recall the readings clip to 0/1024 really easily
I think the new ones have a 16-bit data type or something
That one is interesting because it provides both lux and Illuminance
Which seems to allow you to differentiate between "daylight" and "artificial"
Not perfectly aligned
Right and left peaks are artificial, main peak is daylight
I haven't drilled down properly, just noticed it the other day
you measured this yourself?
👁️
that's interesting
Yeah, I really need to properly dig in and do comparisons, but ... eh
It looks close enough
in what way would it be able to differentiate between artificial light vs daylight
temperature?
I assume so, I know the Aqara sensors don't report artificial light well
Seeing which lights are currently on?
Maybe they're filtering on wavelengths 🤷
a warm lightbulb in front of it would make it think daylight?
i bet if we know the sensor it uses we could figure it out
Hey there guys and girls! I am wondering if any of you have some experience with Philips Hue bulbs and ZHA? I am currently using IKEA Tradfri Bulb and although it is bright, the firmware they have is just plain horrible. For example : when doing a color transition with IKEA (FLUX component), it just stop responding to commands until it ends the transition. Is this an issue with Philips Hue devices?
Have you tried upgrading the firmware on the bulb?
Yeah they got updated until IKEA broke their firmwares.
Hmm, then it probably won't help
I read on Reddit that IKEA have aknowledged this issue years ago and yet did nothing about it. 😦
I use almost exclusively IKEA tradfri bulbs
I have no noticeable issues
Mine transition through brightness and CT all day though
Mine is only CT. Brightness is not automatic.
And you can still send on / off commands to it while it does a transition?
Well yeah, since the transition takes 2 seconds or so
Adjusted every 5 minutes through circadian lighting
Ahhh that’s why.
I never manually transition my lights
I don’t use Circadian integration, I use FLUX.
I guess FLUX does it thru long transitions.
Flux was shit
Ran it for a month
Before I switched
Don't understand why it is still the default component
Adaptive is coming in soon
Do those tradfri have hardware or software PWM?
Yet, if it stop responding while transitionning, it is still an issue since i’m refraining from using nice scene transitions.
https://github.com/home-assistant/core/pull/40626 for the adaptive merge
So I was simply wondering if Philips Hues had the same behaviour.
I love those merges with GIFs making you visually excited for it. 😅
Another issue with the IKEA stuff is with devices that sleeps for a very short while like the Yale doorlock. If it does not fall into the time frame the lock is online, it just drops the message without even retrying. 🙄
Where directly connected to the coordinator, it works 100% of the time.
ok trying to configure my Zigbee2MQTT using the public broker test.mosquitto.org
and it is not working my config on my pi zero
mqtt:
# MQTT base topic for zigbee2mqtt MQTT messages
base_topic: zigbee2mqtt
# MQTT server URL
server: 'test.mosquitto.org'
# MQTT server authentication, uncomment if required:
# user: my_user
# password: my_password```
I cannot seem to get mosquitto to work
Then you need to fix that 😉
My entire mosquitto.conf is basically:
pid_file /var/run/mosquitto.pid
user nobody
port 1883
cafile /usr/local/share/certs/ca-root-nss.crt
password_file /usr/local/etc/mosquitto/pwfile
@quick hare yeah no idea about that , I would never use a smart lock, and with zigbee2mqtt currently it seems like most of my devices are connected to the coordinator, plus other devices
It’s genuinely the coolest thing in the home. When we used to have guests and everyone is on the rooftop, guests ringing the door would get the doors unlocked automatically so they could join.
Instead of us doing back and forth abandoning the guests.
And let’s be honest, it’s easier to pick a lock than to hack it anyway. 😅
I have no choice about a smart lock unless I replace the door 🤣
Not gonna do that...
Would really like to chat with someone owning Philips Hue with ZHA to get their input. 😦
Somebody will turn up, eventually
Or you could start a forum thread to increase the odds of it being noticed 😉
Yeah might attempt it, I was sure it was a very popular device among HA & ZHA users.
How do I find out what my mqtt server address is?
The IP address of the machine that's running your broker
yeah says it cnt copnnect
Then check the logs for the broker 😉
broker says listening on port
So point your MQTT Explorer install at it, with the username and password you set, and see 😉
No all HA users run ZHA, there are other platforms
I set a username and apssword?
Presumably?
where do I do that?
You can (and should), but it's not required
Depends on whether you defined a password file or not
I am not sure to understand your message. Of course there is other ZigBee stacks.. ZHA, Z2MQTT, Deconz.....
Yes, which are equally popular platforms as zha
I was talking about the bulbs being popular among ZHA & HA users (ZHA is not necessarely tied to HA but is meant for it)
Ah wait i’m mistaken with ZigPy but still.
I have no config files or any files for mosquito broker
is this my server? http://192.168.1.7:1883/ assuming ip is correct
so ```# MQTT settings
mqtt:
MQTT base topic for zigbee2mqtt MQTT messages
base_topic: zigbee2mqtt
MQTT server URL
server: 'http://192.168.1.7:1883/'
MQTT server authentication, uncomment if required:
user: my_user
password: my_password```
So you don't have a mosquitto broker set up?
I have mosquito running in docker at that ip
There should be some configuration file for it then
I dont see one
Are you using docker compose?
yeah i have a yml file
mosquito is running and logs say it is listening on that port
https://www.zigbee2mqtt.io/information/configuration.html
# Required: MQTT server URL (use mqtts:// for SSL/TLS connection)
server: 'mqtt://localhost:1883'
🐔
The standard tool we always tell people to use to test their broker with 😉
getting it now
no go
so using mqtt explorer I can not see it
docker logs
1609449656: Opening ipv4 listen socket on port 1883.
1609449656: Opening ipv6 listen socket on port 1883.
1609449656: mosquitto version 1.6.12 running```
no config exists there though
@jolly narwhal stupid question but how would zigbee2mqtt have prevented my issue?
I doubt the issue is with ZHA though. It changes very little architecturally.
Also Z2M doesn't support EZSP coordinators so it's not going to be of much use here
ok it is working now I need to connect zigbe2mqtt to ha!
how do I get attached zigbee devices to populate in HA
it's just a CC2531 stick. The problem is I can't access anything about the integration because it won't load. Is there a way I can see this that isn't through the UI?
@foggy gyro enable HA autodiscovery
Connect HA to your MQTT broker if you haven't already
the discovery is what I am trying to figure out
It's the same as saying "if you use zwave, you don't have any Zigbee issues!" 😂
lol I was using 8132 instead of 1883
Okay I’m putting the debug code into the configuration.yaml. Any specific spot I’m supposed to put it inside there or just at the end?
Doesn't matter
How do you put it on one line? The debug config is like 10
It pasted it al into one line lol
I don't think the YAML parser will like that but it'll let you know if it doesn't
In the same folder as the config file. It'll be fairly large and may contain sensitive data so take a look at it before uploading it or filter out only the entries related to zigpy, zha and bellows
@radiant crescent posted a code wall, it is moved here --> https://paste.ubuntu.com/p/RQPmT6Vrtp/
@radiant crescent posted a code wall, it is moved here --> https://paste.ubuntu.com/p/kY3vxPpVxx/
@radiant crescent posted a code wall, it is moved here --> https://paste.ubuntu.com/p/SQJKSgmtrr/
@radiant crescent Rule #6: Spam will not be tolerated, including but not limited to: self-promotion, flooding, text walls (longer than 15 lines) and unapproved bots.
Please take the time now to review all of the rules and references in #rules.
Sorry for the multiple messages, was trying with the "`" things.
I'm not spaming..
Well, yes you are
Yeah... clear spam.
Looks like you were a bit above the line limit (15), anything like that should be shared on pastebin or similar
Once is a mistake. 3 times... wtf?
It's better for those on mobile
Well once a mistake, then tried with "" X3, still didnt work so i tried with "" X 3 at the start and end of the code.
Is that what it is, the code was more than 15 lines?
That the message was.
Bot doesn't care which bits were code and which weren't. Nor do we, tbh... wall of text = wall of text.
What do you see in the logs when you try to pair it?
It pairs fine, there are no errors in the logs. Its just the State... it does nothing.
.share what you get in the logs when you pair it
Please use https://paste.ubuntu.com/ or https://www.hastebin.com/ to share code or logs.
I didn't ask if you see errors. I asked what you see.
Ill remove and readd again, the logs have been over written from what i can see.
INFO: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"interview_successful","meta":{"description":"Motion sensor","friendly_name":"0x000d6f0011fdde38","model":"MP-841","supported":true,"vendor":"Visonic"},"type":"pairing"}'
I'm only interested in the newest ones. Don't worry about losing old stuff.
Is that all you get?
No, a ong string of stuff.
Share it all.
trying to figure out how to show it to you.
Yeah.. hence the trying to figure it out. I've never done that before.
Never used haste bin before.
Do you have MQTT Explorer?
In the Exposes tab of the device, all i see is this.
occupancy
Indicates whether the device detected occupancy
N/A
battery_low
Indicates if the battery of this device is almost empty
N/A
tamper
Indicates whether the device is tampered
N/A
linkquality
Link quality (signal strength)
N/A
lqi
No i dont have it.
is that an addon?
It's a Windows application. It's free, go install it and start it up.
and that will work if im using the HA Mosquitto broker?
Use it to connect to the same MQTT broker you set up for z2m.
Downloaded and installed, now i just have to figure out how to get it connected as im using a VM with the HA_OS.
Im connected now,
Great. Take a look at the topic the logs said it would be configured on: zigbee2mqtt/0x000d6f0011fdde38
Wave your hand in front of the motion sensor, see if any new messages come through.
Nothing is popping up from what i can see.
Then you've narrowed it down. It's not HA, at least.
Anything in the z2m logs when you wave your hand around?
Not that i can see. Originally i had the Deconz stick and the sensors worked with Z2M, but then i moved to Zig-a-zig stick and started HA from scratch with a new computer and VM.
If i can add it to HA, then its probably not the stick either, i would think.
A bunch of other zigbee things work, its just these 3 identical motion sensors i cant get to work.
The fact that it paired successfully suggests there should be compatibility. If you're seeing no activity, it just sounds like the sensors are duff.
And Linux 😄
Funny enough, i was using Ubuntu as the main OS, but then i also got into BLue Iris and cameras and was told to use HA on a VM and use Blue Iris on the main windows 10 OS.
Also, FYI, not sure WTF happened, but i just reset the sensor again for the 100th time today and this time its working fine...
Nowi will have to see what happens with the other 2. The only thing i can think of thats changed is the MQTT Explorer, but not sure how that would make a difference.
They sound about as good as IKEA stuff. Takes me dozens of pairing attempts for those to work .
@dry fossil tbh I'm tempted to switch to windows on my desktop...video driver issues on ubuntu are driving me nuts
I don't want to switch to Windows' stupid convention for file paths though
Haha. Or the file path length issues...
Events on the right list are just reference count of automations using zha event trigger.
Nothing prevents you from typing in zha_event it n the box and start listening for zha events
Seriously though. Drive letters are dumb IMO
So the other 2 are now working also, thank you for your help.
Unix file path convention makes way more sense IMO
I recently purchased Wireless Zigbee CC2531 Sniffer Bare Board from Ali express to work with my home assistant installed on Raspberry pi. I have tried connecting this USB module to all the USB ports but some how Home assistant doesn't recognize the hardware . any help will be appreciated.
You probably need to flash that bare board with a coordt firmware. Keywords for google: zigbee2mqtt
are there any zigbee bridges that work reliably and that are supported by zha? or some way for multiple hypervisors to be able to access usb devices?
@earnest hinge that's a non-sequitur
the part about brifges beeing reliable?
Just to figure out what you're trying to get done, why do you want multiple hypervisors to access a single usb device (if I'm understanding your question directly?)?
Not sure if I am in the right channel here. Looking for guidance regarding adding a Sengled Smart Switch and only seeing the power/battery sensor. Should I be asking here or in devices?
You're good here. What Zigbee integration are you using?
ZHA
Listen for zha_event at developer tools > events and use an event trigger
then press buttons and see what i get?
Or see if a Device trigger is available for it in the automation Ui
ya its not in automation UI the way i expected it to be
cool, i think that puts me in the right direction
rather, gives me a direction to go
i assume ill have to manually create sensors for this?
Nah, you can just use an event trigger
@austere patio so i can live migrate my ha instance when i do maintenance on my hypervisor. or it can be restarted on another node in the hyperviusor cluster if the current host fails without human intervention
Hmm. That I do not know but the USB-serial chips used by most devices are common so you can test this yourself if you have a specific coordinator in mind
The Silicon Labs and Texas Instruments radio libraries for ZHA can also survive a complete USB disconnect and will perpetually attempt to reconnect to the configured serial port so that may simplify things
Not sure about the Conbee radio library
Most hypervisors won't necessarily allow live migration with passthrough PCI or usb devices
Without additional licensing
yeah right. guess for usb passthrough one could just remove it and then put it back on the new host. but that would get quite complicated
this is probably a really dumb question, but does monitoring the battery level of a device drain the battery faster?
No, the device reports its battery status as often as it likes to (if at all)
i noticed my ikea remote's power dropped from 22% to 15% in 24h's, without even having been used, which seems unreasonably fast
maybe it was just misreported at some point, i've been moving over the devices from the ikea gateway to zha the past day or so
mine went from 89 to 92 😦
or the battery drops faster at that level?
Batteries don't always have a linear curve, and battery percentage is generally finicky anyway
I strongly prefer when manufacturers simply report battery ok/low
Super/ok/bad/ohshiiit/fumes/ded @lilac wharf
Reminds me of the VW Tiguans shitty battery indication
@crimson tide Are you using the Sonoff bridge with ZHA? There is some sort of problem that drains batteries very fast in Ikea remotes atm.
How does that work? Remotes can't be polled, so the bridge has no influence over it.
To Tediore's point... it's quite dramatic toward the right hand side: https://www.powertechsystems.eu/wp-content/uploads/sites/6/2018/11/LiFePO4-vs-Lead-Acid-Discharge-Curve-EN-300x173.png
@dry fossil Not sure, but I'm not the only one with that problem: https://github.com/home-assistant/core/issues/43969
You don't need to tag me...
And I'm sure there are plenty of people with that 'problem'. Batteries do as batteries do.
@dry fossil
just as a followup on my earlier contribution:
Today I especially installed the Conbee II stick and was hoping the Ikea motion sensor (older model) would behave better. Using the Deconz Phoscon integration and add-on.
Unfortunately, only after about 6 hours, the batteries (which were new high quality ones) are down to 21 %....Seems not a very viable solution just yet either. Or, must be an issue with the sensor itself? No way to test I am afraid?
So... the only thing in common is the sensor (and maybe the same batch of batteries) and it still breaks. 🤔
Humans are really bad at linking cause and effect...
Indeed. I blame pareidolia.
We see patterns where there often are none.
It's a natural tendency but one some people can't consciously resist.
Great thing about doing science or engineering, you get learn that evidence wins over observation, and you need to validate your observations with evidence
Also, single data points aren't data points - they're just snippets of information
Same box of batteries exhibiting the same behaviour in that device. Could be the device, could be the batteries - you can't tell
Yup. Isolation is key.
My Fibaro multi-sensor ate batteries like there was no tomorrow, and I initially blamed the sensor, since others report the same problem. Then I changed the battery brand...
Well, in my case I used the remotes for several months on the Ikea hub, and then tested zigbee2mqtt while waiting for the Sonoff to arrive. The batteries did not go down more than expected with either one, but when I switched the same remotes to ZHA fresh batteries drained within 2 weeks. This is with 3 remotes, I doubt it's the batteries or the remotes.
The thing is, battery (end) devices can't be polled, they report when they report. At most the difference is how they connect to the mesh, maybe they're using a different parent?
I'm not sure, I haven't looked into that. This is all within a 10 m radius around the hub in a large room.
Hello,
Novice question:
Is there any cc2351 device that connects directly to the power socket and not to a Raspberry Pi and acts as coordinator?
What's the best way to look at my zha network? Is there a way without installing a custom component?
There's likely a map option 🤷
Hah, how did I not notice that before, it's right there...
Sonoff ZBBridge?
what should i do if after added a new device with zigbee2mqtt i cant see it in the mqtt entities?
Well, did you see it successfully interview in zigbee2mqtt? Or can you see it in Zigbee2mqtt web interface?
And do you have auto discovery enabled in your mqtt integration?
i see it in the gui
Then it should show up
Interview completed
Yes
thats what i can see in the info of the device
ok, fixed. i just change the name
now i can see it as an entite in mqtt integrations
not sure where to look but need some help with some zigbee devices. i've got some aqara sensors and i'm trying to set them up but not working. i'm running mqtt and openzwave on core. i've got the nortek zwave/zigbee usb stick. i'm not sure if i have to set up zigbee2mqtt or what?
With that stick you can only use zha
Just follow the docs for it
ok thank you!
hmm, it doesn't give me a list of detected serial ports for zigbee radio. wonder if i screwed something up
nvm
Hello - I am considering getting the sonoff bridge for motion detection. does anybody here use the SNZB-03 ? Is it reliable - I will probably flash tasmota prior to using it.
it is
oh great - was concerned by the flase positives reported in some forums
Depending on your use case, false positives can be better than false negatives.
I'd rather be notified about cats triggering a motion sensor than not be notified when there's a burglar.
How do i find out if a device paired with zigbee2mqtt?
Or, easier, use the Zigbee2MQTT UI 😉
how do I access the UI?
Do I just add frontend: with nothing else?
I'm currently using a zzh with the ZHA integration, but am not really satisfied with the responsiveness and reliability of the network. My HA server is located in the basement so I depend on a few zigbee routers / repeaters throughout the house. I'd like to try migrating over to zigbee2mqtt running on a raspberry pi located somewhere centrally. Is there a somewhat straight forward method of migrating without having to repair all bulbs and re-configure in home assistant?
In theory they're all paired to the stick and it might work to just move the stick
HA will require some rework to remove the old entities and rename the new ones to match the old
How do i restart it so that the config is realoaded?
However you'd normally restart it 🤷
All I know is to unplug the pi and plug it back in lol
I mean, I use Docker, so I just docker-compose restart zigbee2mqtt
You really hate your HA install don't you
That's an awesome way of getting a broken system
zigbee2mqtt and the mqtt broker on running on a pi zero
HA is running in docker on my mac right now
Well, on the Pi Zero you can either reboot, which is insane, or restart Z2M
how does one restart z2m is my q
How the heck are you running it?
My mind reading skills are broken for this year, after too many idiots last year
I mean... it's in their own docs, on that page
i do agree. my use case would be to just turn lights on on entry into a room.
lol it is right here sudo systemctl stop zigbee2mqtt
for host do I put the devices own ip?
No need to list that
frontend:
port: 8080
``` that's all I have, and the second line is optional
does the order matter?
or this ok?
permit_join: true
frontend:
# Optional, default 8080
port: 8080
mqtt:
base_topic: zigbee2mqtt
server: 'mqtt://localhost/'```
It's YAML, all that matters is that you keep the structure correct 😉
Though, that second line 🤢
After all the help you got with getting Docker Compose going, you're running z2m on the host? 🤔
Loading devices takes too long time.
It's a zero, they're not exactly fast
yeah I could not get it to work with docker at all
🤨
Also My mac couldn't see the serial for some reason
cool it is paired!
do remotes appear as devices in HA?
For Z2M they do, at least all of mine do
ok Time to figure out why I cannot see them
ok I have Discovery set to true and HA set to true
https://www.zigbee2mqtt.io/integration/home_assistant.html
However I cannot figure out what is next to get the hue dimmer remote to appear in HA
Check the HA logfile to see what's going on
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
lol a typo in mqtt broker address there was an extra .
the remote is in HA!
scripting time
Hi guys, having some significant problem here.. I just updated the Node Red add-on, restarted HA and none of my zigbee devices are working
I have ZHA and conbee II
log shows nothing
The debug log has to show at least something: https://www.home-assistant.io/integrations/zha/#debug-logging
gimme a minute
I added the logger to my configuration, restarted HA a couple of times and nothing is showing under configuration/logs
Check the log file in your config folder
Also, did you run a command line config check?
Always run the configuration check command when you make changes. Don't trust the UI check - it misses some problems.
Then you need ha core check because you don't have hassio 😉
Hass.io was the old name for the appliance like install option, that uses Docker. It is now simply called Home Assistant OS (see #330990055533576204).
I don't have hassio?
Read the bot message 😉
I'm still lost, look.. I'm a newbie.. as far as I understand I have to put some code in the Windows command line?
As long as you copy/pasted the config into the file it should be fine
Once HA has started up and your Zigbee devices don't work, upload home-assistant.log somewhere and it should have everything needed to figure out why
I put this "hass --script check_config -c /localipofPi/config/configuration.yaml" in the windows command line and it says "hass" is not known to be either an internal nor external command
"ha core check" same result
by uploading home-assistant.log you mean from a snapshot?
You'd SSH to your HA OS install and run it there
That requires one of the SSH add-ons
If the check just returns, all is good
@livid abyss no sonoff bridge
ok it's returned something
Please use https://paste.ubuntu.com/ or https://www.hastebin.com/ to share code or logs.
If you're using the terminal in the sidebar I believe that's a known "feature"
sorry for my stupidity, it's just faster
You didn't know 🤷
I cannot drop an image into this chat?
Please use imgur or other image sharing web sites, and share the link here.
No, because too many people will share code as a photograph or screen capture otherwise
yup, solved it
not sure what the rest of them mean
I guess I'm just going to delete and readd every device..
So the lag I am experiencing from the zigbee remote to the light that is because of the pi zero?
Grab the log file before you resort to that, it may be a simple fix
I don't see anything meaningful for me.. I don't see where the problem might be
If you upload it somewhere I can take a look
The home-assistant.log file in the same folder as your configuration.yaml file
It's big so you'll need to upload the actual file somewhere
This doesn't have the startup log or any debug logging for ZHA
oops wait
I tried reinstalling a snapshot as a measure and forgot to readd the logger
ok now it's a lot bigger
where should I upload the file?
pastebin?
The adapter starts up fine and you're receiving attribute reports from some sensor so your network appears to be functional
:S
Though the deconz component was also loaded. Dunno if that's going to cause problems
how can I disable deconz?
It's probably in your HA config file
But that may be just to configure HA connecting to it. You can't be using both deconz and ZHA at the same time
I often get deconz errors in the logs
couldn't start deconz or something like that
so there doesn't seem to be a problem is there?
The log is for like one minute of HA runtime so there isn't going to be much in there
But I don't see any indication that your Zigbee network is non-functional
Collect logs for like an hour
I believe I'm gonna readd.. I don't have experience enough to understand the logs and I don't want to bother anyone else
I'll take me less than an hour to do that
I mean if it's a problem with the radio library then it may be useful to know why your network is broken
There's no reason for it to just stop working all of the sudden unless some critical Zigbee router is offline or other external factors
I just updated Node Red and restarted HA
I need the house working you know.. there's more people living and they need lights 😄
I appreciate your time
I believe I'm gonna go the hard way
Whatever works 🤷♂️
In that case I'd disable debug logging until you have the same problem again. Your log file may get pretty big.
Yet another step in my coordinator migration journey - HUSBZB-1 first to a Elelabs ELU13 to a Texas Instruments CC1352P2 finally to a Electrolama ZZH
Hey guys, does anyone know of a good zigbee roller shutter module?
Did you look through the hardware lists in the pinned messages?
Something similar to shelly 2.5
Sorry first time here actually, will do
Yeah I have checked the hardware lists, but it hard to know if a certain device is reliable from there
anybody run into this before? moved my zigbee channel to 25. all my sensors are showing backup/functional in deconz, but I can't get the aqara buttons to work. they pair just fine but there are no events on button pushes. WXKG11LM is the button
I'm using zigbee2mqtt
nevermind, had to reload the deconz integration
Has anyone got the eurotronic spirit zigbee thermostat properly running? With me it loses the connection every 2 or 3 days
Got an interesting one:
I have a Zigbee bulb (its Hue) and a Zigbee remote (also Hue)
I have connected them both through the Hue app and directly through ZHA
I am trying to have the light turn on via an automation, nothing fancy - its a zigbee contact sensor.
Issue: Its a bulb inside of a bathroom exhaust fan (metal shielded) and not super close to the Hue Hub or zigbee HA stick.
The remote controls the bulb consistently, but sending a command via the automation: https://hastebin.com/rotuyeloti.yaml works 10% of the time.
Within HA, the entity/device shows that it is turning on but it is not.
Do you think it is due to range or did I make a weird issue somewhere else?
My other thought would be to automate the remote button press, but that is not something I am able to do via the automations.
Ideas? Weird... right?
probably the remote has better range than the stick you are using. Which stick is?
gocontrol
are you using an usb extension cord, on a USB 2.0 port?
Hi! I've got a seemingly dead hue bulb. When it gets power it turns on, then off right away. I tried hue-theif to no avail
Raspberry Pi 4, HassOS 5.9, ZHA and ConBee II stopped communicating with Zigbee devices after upgrade to 2020.12.2 today. I've tried downgrading to 2020.12.1 (which was working), but no improvement. With debug logging enabled, I see lots of Zigbee related errors, but not sure where to start troubleshooting. Any suggestions?
Can you upload a big chunk of the log?
Or just replace the battery when the device finally dies
Well sure 😂
@austere patio - thanks for lending a hand. Full log is in a gist at https://gist.github.com/tshead/a4deab82ec173bc7a86b986a5dd335a2
Everything seems to be failing with a NWK_ROUTE_DISCOVERY_FAILED error
Yeah, what I notice is
[homeassistant.components.zha.core.device] [0x0000](ConBee II): Attempting to checkin with device - missed checkins: 1
[homeassistant.components.zha.core.device] [0x0000](ConBee II): does not have a mandatory basic cluster
... which makes me think there's some problem connecting to the dongle.
If you're getting other errors then communication with the stick appears to works just fine. The stick is what is sending that status code when it's asked to send a request.
OK, good to know.
Could you explain the difference between ZHA and deconz? Is one newer? Better?
How about reliability? I get the impression that deconz is from the same vendor as the Conbee stick.
Well, that leaves either the integration or bridge. Of all two persons who reported this issue, all used Sonoff bridge. And there are people who use these remotes with zha without any issues and they don't use sonoff bridge. Which gives...
comparing ewelink based bulbs with some tuya based bulbs (which I think are the same as the lidl ones) .the EweLink ones have far better color and dimming performance (dim about as low as a hue) but one interesting thing I just found, is they don't report attributes when controlled by a bound remote. Ie I can turn it on via HA, then turn it off with a hue button that is bound to it, and HA never knows it was turned off
When adding a Sengled Smart Switch to ZHA, it picks up the battery sensor and nothing more. If I press buttons on the switch, I get the following:
https://hastebin.com/pewatubipe.yaml
Any thoughts?
https://imgur.com/a/p1Smsro tuya and ewelink in same group with hue button bound to on_off and Level_control.
You can ignore those. There's no basic cluster on conbee. The device itself could be marked as offline, that s normal
overall the tuya bulb sucks, the colors are totally washed out and dims maybe 10-20% total.
@molten linden what Zigbee integration? If zigbee2mqtt you could see if enabling reporting works with those bulbs
zha
Update firmware on the stick. Physicaly unplug and plug again the stick, reboot the host.
All outgoing requests are failing with nwk route discovery failure. People report this problem but no cause was found. There were no changes in zha working with ConBee
By design. Use zha events
If you are referring to listening for zha_event in dev tools, I tried that and I get nothing
@gentle flint - Will-do. Thanks for the advice.
Appears I am not the only one: https://www.reddit.com/r/homeassistant/comments/kf9alc/does_anyone_have_the_sengled_switch_working_in_ha/
This may be a good time to ensure I am going down the best possible path as I currently only have 1 zigbee light bulb so ditching ZHA and going another route isn't much of a concern. For the best overall experience with zigbee devices, should I stick with ZHA?
I updated the firmware on the Conbee II, physically removed it, replaced it, and rebooted the host. I had also deleted the ZHA integration, so I added it back. The integration immediately discovered all 10 devices and 15 entities that I expected, including correct manufacturer and model (my old labels were gone, of course). However, all entities are listed as "unavailable" in the frontend and "offline" in the network visualization, and I get the same NWK_ROUTE_DISCOVERY_FAILED errors in the log. What can I do to collect useful debugging information for the devs?
Hi, I've conbee II as coordinator and using ZHA and after several time of restart home assistant, this conbee II become available and all the paired devices is disconnected, this happen many time. How to get rid of this issue?
sometime i need to reboot everything, and keep restarting to get it back online. Is there any way to fast fix this issue ?
has anyone managed to directly bind the IKEA Tradfri on/off switches to a light using ZHA?
they have the perfect size and only cost 6 bucks
@gentle flint Well, I would guess many more people will use the combination of the Sonoff bridge and Ikea remotes, so we'll find out eventually if that combination is a problem. I think there are also two versions of the bridge, and I have the newer one. No idea if that could make a difference.
I would like to know too; just got two of them myself, and have added some automations to switch, but having an offline fallback would be nice. Also, maybe dimming works then
the thing that I tried is binding it directly to the lightbulb by holding the pairing button for 10s and it does work, but it doesn't work for multiple dimmers.
I'll try myself, but does binding it like that interfere with automations based on 'on' and 'off' events?
automations will still work if you had paired it to HA first but once you connect a second dimmer like this they will all work on the same group meaning you can't control the lights individually using the dimmers anymore.
Hello, I've been having a lot of issues with Phoscon / deCONZ since moving my HA instance to KVM. I was wondering if anyone has had success using the ConbeeII with ZHA on KVM ?
Usb passthrough should be good in KVM tbh, but I don't know either zha or conbee
It worked well in KVM but every time I would reboot the instance USB device would sometimes magically disappear. Re mapping the device would cause some devices to have to re added.
I've seen a ton of people with issues with deCONZ and USB passthrough. Miimix hated it 🤣
I'm tempted to dedicate a pi to run the gateway. It was rock solid when I had my HA instance on my pi with the deCONZ add-on
Using pi with deconz and never had any problems
If you like having a decoupled system, consider Z2M. You can run it on practically anything. The only catch is that support for the Conbee is currently experimental.
I dedicate a pi 🤢 to zigbee2mqtt
No issues and flawless, not affected by anything else I do on my other servers
Thanks, I guess that's what I'll try next... @jolly narwhal are you using Conbee II with zigbee2mqtt
ok thanks!
@jolly narwhal you got a pi3b with the cc1352p2 ...is it a hat that can be added ....tired of diy was hoping a neat package type thing
not really tired ...just working too many hours to have the time
It's a USB stick, not a hat.
damn thats what i am using now a huszub1 or whatever ...with zha ....keeps dropping xiaomia devices
but directly plugged into a i7 sff machine
that helps?
It'll avoid some WiFi/Bluetooth interference from your main, yes.
Other than that, there's the usual Xiaomi crap where they don't migrate to a better router. https://community.hubitat.com/t/xiaomi-aqara-devices-pairing-keeping-them-connected/623
i will try ....just odd that it picks devices 6x as far with same los and another window sensor out of los 3 meters away from dropped door sensors
me too having an issue conbee II with ZHA and now run under promox. I'll try to move it out to HA Blue, let see the problem can solve or not.., i think the problem is usb passthrought
(new to zigbee2mqtt and Mosquitto) Is it "normal" to have a lot of mqtt messages published under the broker topic $SYS ? . According to MQTT explorer, if I select the topic $SYS/broker, in 10 minutes it says "38 topics, 1089 messages". Is it expected? I have about 20 zigbee devices, using home assistant and node red. Is using zigbee2mqtt "groups" costing resources? (I created 5 or 6 groups). The topic that seems to fill the fastest is $SYS/broker/load
In those 10 minutes the topics zigbee2mqtt only had 9 messages and homeassistant 102. So it seems that it is $SYS (mosquitto itself) that generates itself quite a lot of activity.
Yes, it's normal. If something isn't causing issues, ignore it.
MQTT is very lightweight
it may also be the devices geenrating lot of message - those dimmers generate lots of them
I saw that ...prolly gonna get (not sure its a hat thou TI pages says nothing)...will have to do reading ...serial is thru hat ...but says it come with usb mini cord ...(thats for flashing?)
Raspberry pinout compatible HAT
on TI site? i have read briefly ..but i believe ...house is in choas at the moment ....I think my mother in law is losing it
That's on the link I posted 😉
That's a good price
oh looking at a diff one
i was looking at the one atx posted the cp2 or whatever from TI
$30 dollars is not bad ....but out of stock and only source i could find for that hat
I had a ZigBee hat early on
But sold it to someone on here at some point
Because i hate being hardware locked
so @jolly narwhal it worked well? and where did you buy
Hello, I would like to ask if I'm able to connect Philips hue dimmer directly with philips hue light, which is connected to home assistant via zigbee2mqtt. (and controll light with dimmer even if home assistant is down). Than you
edit: I tried connect light to home assistant and than pair dimmer to light by holding on button for 3 seconds (as proposed on philips hue website) but it probably did factory reset of light and it's not already connected to home assistant
@elder tinsel the one I had was elelabs raspberry pi shield, it was good while I still used it atleast
You did disable and UNINSTALLed deCONZ add-on, didn't you?
Make sure that is uninstalled as two cannot compete for the same stick. And I'm not really sure disabling it is enough.
You do get inbound traffic, but outbound traffic fails almost immediately. Try leaving it to settle for a while. Try power cycling a few bulbs closest to the ConBee
Hello
I have a problem with an IKEA Tradfri 5-button remote. It is connected/paired with a PiZiGate but HA is not receiving any events. Pairing with an IKEA Tradfri bulb works as expected.. if the bulb is paired to HA also I can see the messages from the bulb
Googling revealed that it might be possible that the remote only sends events to a group and HA/Zigate is not listening to that but unfortunately I have not really experience with Zigbee, after a few days of searching I got some kind of idea.. but still.
I also tried to add the ZiGate to a group but the cluster commands do not work through HA neither.. 😦
Sorry to bother you here, but I need at least a direction how to get this solved, I am a programmer so I could help fixing that for other users as well.. 😉
Yes, I removed the ZHA integration before trying the deCONZ add-on, and uninstalled it before switching back to ZHA, where all my devices showed-up, but still weren't communicating. After doing some reading, I tried removing the ZHA integration again, then manually deleted the /config/zigbee.db file, then added the ZHA integration. This time, all of my devices were gone, and I was able to start pairing them from scratch. So far, the handful that I've paired are working normally.
Hello everyone, im having some issues with my conbee stick and a new HaOS installation. I have an RPI with hassbian thats working just fine. Im migrating to a HaOS-vm on proxmox, with conbee stick on usb passthrough. Proxmox recognizes the usb, i can see the usb in HaOS (hardware tab), and the deconz plugin see's the conbee stick (in the logs). The gateway starts just fine, its recognized by HaOS. The vnc-part also works. The problem is that i cant see any lights, no remotes, no nothing. I have a remote and a lamp just 5cm from the stick. Ive tried simply everything i can think off, and im not really sure where the issue is. I booted up the RPI again, in the exact same spot as the proxmox-server, and it can talk to some lights (the onces i havnt resetted already).
Any ideas?
One thing im wondering is that i have a ubiquity AP right beside the conbee stick, maybe 30-60cm, but that wouldnt be a problem as its working on the raspberry.
i have zero clues on where to continue the troubleshooting
Hass.io was the old name for the appliance like install option, that uses Docker. It is now simply called Home Assistant OS (see #330990055533576204).
try using a extension cable? might be due to other stuff in the computer(bluetooth/its powersupply.etc)
or try putting it in one of the front usb ports
but that wouldnt be a problem
The funny thing about EM radiation is that it doesn't matter which device generated it.
Dont think i have an extension cable for usb, but ill take that as a last resort thing to try. The proxmox host is on server-grade hardware so no bluetooth or stuff like that. I cant think of anything there that might interfere with the conbee-stick, other than the unifi AP thats close to it. But as the rpi can talk to a light in another room, i cant think that its interference here.
You have two transceivers in close proximity. There will be interference.
does it have USB 3.0?
Yes it does. I have tried several ports;
root@pve:~# lsusb -t
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 5000M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/14p, 480M
|__ Port 6: Dev 2, If 0, Class=Vendor Specific Class, Driver=ftdi_sio, 12M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M
and
root@pve:~# lsusb -t
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 5000M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/14p, 480M
|__ Port 1: Dev 3, If 0, Class=Vendor Specific Class, Driver=ftdi_sio, 12M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M
USB 3 and Zigbee are known to have interference issues
@dim bough To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks. Here's an example
Don't forget you can edit your post rather than repeatedly posting the same thing.
For over 15 lines you must use a code share site such as https://paste.ubuntu.com/ or https://www.hastebin.com/.
so, it has a source of interference for 2.4Ghz signals
Hello zigbee channel. I have a Lightify bulb (zha, connected via HUSBZB-1 stick) that within the past week has begun turning on all by itself at random hours of the night. There is no username or automation in the logbook associated with it turning on. Is there any way to debug this with zha logs?
get a non-usb 3.0 cable, plug it to a usb 2.0 port
Have you tried changing channels in your gateway ? I had issues pairing my ikea motion sensors and noticed the channel was set to 20 instead of 11 when I had it running on my pi
I have tried both channel 11 (default) and channel 20. I only get this from the logs when changing;
18:28:27:035 channel is 11 but should be 20, start channel change
18:28:27:035 Skip automatic channel change, TODO warn user```
Now i cant change back. Ill try reinstalling deconz again (for the 10th time), and running the stick in a pure usb1/2 port.
On deconz, you need to set channel mask to allow 11
Oh my fucking god. Sorry for cursing but im two days in. Its in the usb 1/2 port. And its working. I have tried it before, but it can be that one of the usb2 ports are bad, or a combination of everything that i tried.
Thanks alot you guys. You saved my day.
What do people think about thread?
Isn't it just IPv6 for sensors? I don't believe it has the same scope as Zigbee
this will work with zha?
https://s.click.aliexpress.com/e/_9hASnP
Tuya 🤮
ok it worked once, for 1 light. I was adding one of the remotes, didnt work. Tried deleting the first added light, and i couldnt add it again. Must be interference right?
not confirmed no - https://zigbee.blakadder.com/Moes_MS-104BZ.html
@final pivot , I've been thinking a LOT about Thread implementations. I think Thread will be pretty easy to integrate and it's potentially VERY well supported (in theory, anyway, it's too new to know if it's real or going to fizzle).
https://slae.sh/projects/bme680/ <- I have this bookmarked to see how he does
It seems good but will it be too expensive from day 1
Volume is all it takes and it will be as ubiquitous as Zigbee - agreed, though, too expensive for a while.
Thread doesn't appear to have anything similar to the Zigbee ZCL layers, so there doesn't appear to be any goal to provide interoperability?
Says Zigbee 3.0 on that Tuya thing, doesn't that potentially bode well?
Be too much of a joke if manufactures locked down thread 😄
@austere patio , yea I'm still trying to sort out interoperability. I think Zigbee ZCL may be imposed on Thread - they're not mutually exclusive as far as I can tell. I don't know though. Plan on digging into this pretty heavy the next few weeks.
From summary:We need to clarify that Thread is like Wi-Fi in terms of specifying only up to the networking layer. You need to have an application layer on top, just like with HTTP or FTP for the internet.
Thread itself does not specify this application layer; other organisations are doing that. Thread has some liaisons with organizations defining application layers such as Zigbee, OCF, and KNX.
lamens terms? 😄
@final pivot ,I know - Thread handles secure networking, but doesn't specify the messages used. So things like MQTT or device pairing types and messaging still have to use some OTHER standard (like HTTP or FTP or SSH or other protocols that work over TCP/IP in a network). Thread is, as far as I can tell, advantageous over WIFI because it's an IPV6 supporting networking protocol that supports mesh (i.e. devices handing messages off to one another like buckets in a fire brigade), and has much lower power demands due to the way its built. Perfect for IoT. At any rate, I'm not sold, but Thread curious. I enjoyed the question so I jumped in to comment. 🙂
is it worth to consider ZHA over zigbee2mqtt?
the second one support much more devices? it is something that ZHA will improve to catch up? how quickly? is there any other difference between the 2 , to consider?
You may want to open an issue with zigpy_zigate repo to confirm if zigate supports receive ing data from group messages.
ZHA doesn't have an official device supported list, it just assumes any standards-compliant device will work@mint lantern
so this is not reliable? https://zigbee.blakadder.com/index.html
Something to consider is that zigbee2mqtt isn't dependent on home assistant. Updates to ZHA are dependent on updates to home assistant. Zigbee2mqtt is decoupled from home assistant and is updated separately. Also with zigbee2mqtt Zigbee devices have their correct state after a home assistant restart, but if using ZHA and a Zigbee device changed state between a home assistant restart the state won't be correct in home assistant
I didn't say that, I just said ZHA doesn't have an official supported device list like zigbee2mqtt does
Its not a full list
thanks for your answers but still trying to decide 😫
I would like to go with ZHA but it looks like z2m is more "powerfull" somehow
The decoupling aspect is nice
If it is supported on Z2M, it is probably supported in ZHA
Thank you, that already points me in a good direction.. 🙂
Some people like to have zigbee running as separate service, some (like me) prefer to have it integrated tightly in HA
but that tight integration gives you any feature in HA that with z2m you cant use?
feature wise, nothing. But I can manage everything trough HA. And don't have to maintain 2 services
and the zigbee control UI is just right there in HA
my other dilemma is hassio in VM vs HA in docker.... I see that with the first one I cant use USB bluetooth so I will probably go with HA with docker
No sure how Z2M does it is ATM, but removing retained messages from MQTT is a bit of a PITA sometimes.
There's not really much maintenance with zigbee2mqtt tbh. Retained messages can be handled with MQTT explorer
yeah, I know. I've used it before jumping to ZHA. Still, two (three, if you consider mosquitto) services to manage and upgrade
If you use HASSIO, that's not really an issue
Ehh, docker-compose makes that trivial
I also use docker-compose 😄 but still 3 > 1 😄
I have a server with VM and dockers, so I don't mind to have everything in one place or in different dockers
I am running and Unraid server
One thing I noticed when I moved from Z2M to ZHA, was speed. Devices respond quicker. But that was a long time ago...
so Tediore you voted with zigbe2mqtt and abmantis for ZHA 
Shouldn't be a difference
If decoupling is important to you, I'd say zigbee2mqtt
And the potentially incorrect states issue with ZHA
I wish I could see the roadmap of both products or wich one is developing quicker, I can't see that with ZHA because it's integrated in HA
those can also happen if you reboot Z2M 😛
but the incorrect states can happen if I restart the z2m docker as well right?
Well right, but I wouldn't need to do that nearly as much as I would home assistant
or z2m has a way to sync even if I shutdown everything?
Yeah, but you'd likely restart home assistant more often than zigbee2mqtt
At the end of the day it's all a matter of preference
Z2M is also written in JavaScript/TypeScript, while HA/ZHA/zigpy are written in beautiful Python
regarding the response time, MQTT adds some latency. Its probably not much (like 100/200ms), but that can make the different from instant to slightly instant when pressing a button to turn on a light
Of great concern to most users I'm sure lol (Python/JS comment)
Which IMO is the only thing anyone should care about
I don't think MQTT would add 100ms
I use Zigbee2MQTT with a button - can't say it adds any meaningful delay from my pressing the button whatever action happening
Same. I have buttons from a few different OEMs
I've got Konke, Hue, and Aqara - no noticeable difference in response
ZHA also has support for SiLabs coordinators
I've restarted Z2M many times, never had an issue with anything getting out of sync in terms of stats
I haven't noticed any delay also. You just notice how fast it is after changing
Its just like driving a slow car... you don't notice how slow it is until you drive a faster one 😄
If you're able to see the difference of a millisecond or two, you've got lost on the way to another reality
not a milli, of course 😄 but 200 is noticeable when pushing a button and getting results
So, regarding the supported devices even if it's supported by z2m couldn't not be compatible with ZHA ?
It's nowhere close to 200ms...
40 ms would be high latency
MQTT is super lightweight
well, it could be the stick I was using with Z2M at the time
correct - some things are supported by Z2M and not ZHA until somebody submits a quirk for ZHA
or the fact that it is JS.... 😆
CC2531 by any chance?
Yeah, that's like the worst stick in existence
Good to start with though
It's like the Pi of Zigbee sticks
It's the slowest of the slow, except somebody glued it down to stop it moving faster
It's like complaining that your pedal bike is slower than a supersonic jet aircraft
The CC2531 shouldn't affect timing that much when it's just receiving attribute updates
I would like to buy these https://zigbee.blakadder.com/Moes_MS-104Z-1.html but only appear as supported by z2m
Buy it. It may work without any work
that just mean that someone who uses Z2M and has one of those, reported that they work. It does not mean it does not work on deconz or zha
If it behaves according to the standards it'll "just work" in ZHA
ZHA assumes everything complies with the standards, where the others assume nothing does
That means that most devices will work with ZHA without any effort
ok, I think I will try "first" with ZHA
Lawful good vs. chaotic good?
So... where does that put deCONZ? Neutral Evil?
Oh right, I forget that exists sometimes
I don't trust deconz in the long run
z2m is basically a "standard" already
and ZHA has the potential of being promoted by Home Assistant
so I have my bets in this 2 xD but I have to marry one (for now) xD
divorce isn't that painful, so, just go for it! 😄
Except when one person gets more than 50%
so with ZHA if I restart the machine how I get everything in sync again?
switching on of everything? xD
Just know you have to sacrifice at least 50% of your Zigbee devices to switch between ZHA and Z2M or vice versa
Mains devices should re-sync automatically as they check in 🤞
mains-powered devices will be fine. Its just sensors that can get out of sync.
Wait for next update (most practical), manually press a button on the sensor if it exists, etc.
most sensors only send anything when state changes (or periodically, like once an hour).
so you can just trigger the sensor, press a button, or do nothing at all 😄
how does zha establish its network map?
and do the nodes ever change who/what theyre connected to?
Yeah, Zigbee will reroute as it sees fit
It asks routers on the network to perform a neighbor scan and then just draws what they report
when im connecting a new device, do i always use the controller to search for devices?
Click the "add device" button in the bottom right, it'll ask every router on your network to permit joins
for example, if i have my controller on the ground floor and I have a router (philips hue plug) on the upper floor, do i connect a button to the router or the controller when adding it
im going to be using the button to control the router
so do i connect to the router or to the controller
Always best to just let the mesh sort it out
does it matter, will zigbee figure it out
You don't know RF as well as reality does 😉
so i should just add devices via the controller each time?
What do you mean "via the controller"?
Just let it join via any device
except if we are talking about xiaomi sensors...
Well... you say that, but mine have re-routed
i dont use xiaomi
So... established facts may turn out to be wrong
Aqara or Mijia? 🤔
Both
I've seen some Aqara ones jump to a different parent indeed
im asking because im noticing the mesh is being really dumb with the connection
The mesh will work it out according to the logic of the devices, you don't want to force it
Not unless you're an RF engineer
Enough verbal threats usually get xiaomi stuff to reroute
is there a way to "reset" it so it establishes a network from scratch?
like maybe unplugging my conbee and replugging it
restart your house
"it"?
I mean, shutdown power. 😄
Tinkerer has a story about that
There's a funny tale there. In the Gitter days we persuaded somebody to do that. It actually solved their problem...
Ha, there it is
"it" being my conbee2 device connected to my rpi4
well, I've done it once or twice when my zb network was acting funky
ISTR if you leave it disconnected for half an hour then reconnect things may decide to re-route, but maybe not. They'll do it anyway if they're going to...