#zigbee-archived
1 messages · Page 113 of 1
And some fixtures have 3 in each
Yeah i have 4-5 in 4 fixtures.
And a lot of sensors. Maybe easiest to run around with a laptop and pair them.
be pain in ass if one didn't work you'd have to take it out and put on its own to pair :D?
Anyone have a technique for pairing Tradfri bulbs? They do not show up in the debug logs at all
I'm getting them in to pairing mode fine
Hmm. I need to think about leaving Deconz. Well thanks for the input. Cheers!
If you have tradfri hub still probs check if they have updates to z3.0?
or deconz can update them I believe (if they have an update)
Definitely not out of range. It's <1m away. Coordinator has been adding other stuff fine. Will check for updates
They are just picky some times
Got latest firmware too
There's an ieee option on the zha.permit service. That seems to allow other devices to start accepting new connections. Anyone got any idea what sort of devices can accept new connections?
The default behavior is to have every router on the network accept new connections so providing an ieee will restrict the routers your bulb can connect through
Ah, ok
Try shutting off the bulb for 10s
Then permit joins
And then flip the power back on
So... put into pairing, shut off for 10s, permit joins, power back on?
After I shut it off it's not flashing any more after that
(obviously when I turn it back on again, I mean)
It may still be in joining mode
I believe they stay in joining mode until they join a network, even if you shut the bulb off
It's joined! I don't know why this time, but the time before I reset it last it did do some weird flash combo that I haven't seen before
Yes, it should flash if the reset combo is good
unscrew from base until bulb is barely on, start with bulb on, pull bulb out to cut power and put it back in as quick as you can -- repeat for a total of six times, leave power on after 6th -- should flash and be reset
cadence is quick
do the whole thing in 1 or 2 seconds
I bought a gu10 lamp holder and a spare switch, so just got them wired to the mains.
It always pulses when it goes into pairing mode, but the time before the time it worked it flashed a weird combo, not the usual one
I think when it pairs, it also pulses or dims way down?
I've been getting the bloody power cycle wrong!
I was ring?
Oh
The passtrough
Yes, that's some magic that HA Does in its OS
If you can run VM's: I suggest having a seperate one with Raspbian/Ubuntu just for deCONZ.
Way better than the addon imho.
Or run it all in separate docker containers?
I run Deconz in a docker, not addon 🙂
Pairing these Tradfri lights is incredibly easy now I've got the reset combo correct 🤦♂️
What was the trick?
So I was doing 6 on flashes then on for pairing. And it was pulsing, but obviously not hard reset
Doing 5 on flashes then on for pairing it pulses very differently
anyone can help with wich devices I need to forward to a proxmox vm for the zigbee device to work?
CC2538+CC2592
Look in /dev/serial/by-id/
how do I add it? qm set ????
yearh that one I have followed and done but zigbee2mqtt is missing something?
I’ve just encountered several posts that claimed that smart switches can be problematic with smart lights. Does this mainly circle around smart switches where the is no neutral?
It's mostly because there's no point turning power off at the switch if you have smart lights 😉
I’m building a house and I would like dual control - both from the switch and via phone/etc
Smart switch or smart bulb. Never both.
I disagree with that
Disagree all you want... if you turn things off at the switch, your bulbs will drop off your network.
If my mom is around I don’t want to have to teach her Alexa commands in a language she doesn’t speak.
Exactly... so keep wall switches.
I’m trying to have a discussion. Is it all black and white?
But if you're ever going to turn off the power from the wall, there's no point also having a smart bulb attached.
The only option is to not wire the smart lights directly to the switch, but you then rely on HA to be up 24x365
It's pretty black and white, yes. No power = bulb drops off network. I don't see any grey areas there.
Combining smart lights and any switch will cause you pain
There are people that like smart bulbs... that's fine. They just have to keep the power on 24/7.
Of course there is a point. When I want dual control. The question is not whether there is a point or not, only if it’s advisable. Which I understand it isn’t. That’s a shame.
Using other devices to control the bulb is also fine... but that device shouldn't be a smart switch on the same circuit.
Trouble is, once you cut the power to a smart anything it's no longer smart
Using something like a Zigbee button to toggle a smart light is a good idea.
And when it comes to Zigbee that breaks the mesh
And you remove a router from the mesh. Oops.
but aren’t there switches that still give a little current even when off?
Like the Tuya in wall modules
Not enough to power a router...
You can't "slightly" power a smart light
The no-neutral switches allow a tiny trickle of power to allow their own internals to function. Not to provide enough power for other things on the circuit.
There should be exactly one thing controlling current on a circuit.
Please use imgur or other image sharing web sites, and share the link here.
Snap

You two are breaking my heart right now
And possibly my plans for a smart home :/
Thanks. Uploading what I’m asking about
There's nothing stopping you creating a smart home
You can make it smart
Just don't make it dumb by trying to add too much smart 😄
yeah just use smart switches. that way you can toggle them manually OR use HASS
Or... #zigbee-archived message
Wireless buttons are a great alternative if you still want something tactile on the wall for 'normal people' to use.
the only drawback to smart switches is no color changing. at least that's the main drawback. but....eh
Somebody the other week was turning off the power to smart lights, breaking their mesh, and wanted to know how to stop breaking their mesh. They were not happy that the answer was stop cutting the power to the bulbs
Gee, have to download the app to upload on Imgur. Let me hop on my Mac
No you don't, not unless you're stuck on mobile 😛
Has anyone gotten Hue bulbs through Zigbee2mqtt to match up its transition to what one sees when the bulbs are talking to a Hue Hub (a fade)?
@dry fossil - I think it's perfectly legitimate for people to want to control lights both from an app, etc..and the switch. I don't know why all the mocking..
Anyway, I'm talking about this in wall module → https://imgur.com/a/1EHbXay
you guys are saying that it would be a bad idea to wire this one up to a Hue bulb for example?
I was made to believe that these "2-way" modules were exactly made for that
as they don't really cut the power out from the light
You can always do an always-"on" smart bulb with a Zigbee button/switch covering the switch
No-one's fucking mocking you 🤨
Don't have two switches in series on a circuit.
I've offered a simple solution to it that solves your requirements.
OK. This is really bad news as I have already have the switches (outlets) installed...
I have no idea what those do but they aren't 'switches'. If you ask the wrong question, you'll get the wrong answer.
I'm talking about the "classic" power buttons. You flip it up, light goes on. You flip it down, light goes off.
English isn't my native tongue, I apologize.
I am aware of that
If you add some other 'magic' to your circuit, maybe it can do what you're asking. You didn't explain that.
I need the ttyACM0 device.. can I attached that by uuid or id or is it simply just to forward /dev/ttyACM0 to the vm
I thought the in-wall module was the magic...So let me get this straight one last time: I have a Hue bulb in my kitchen, I have a dumb wall switch (just like the one you just attached). I have two options:
-
Keep the wall switch on at all times, and only control from an app. Scream at my mother if she tries to touch the physical switch. (Not really scream..)
-
Install an in-wall module like the one I linked, and basically treat the Hue bulb as a dumb light, and give up all the color possibilities for example...
The problem with whatever you do is that as soon as you cut power to the bulb, it's not smart.
Which is why I recommended using a wireless button to control the bulb. Press the button, HA sees a button event, HA toggles the light. Nothing cuts power to the bulb.
I know it's not what you have but it's what would work.
@sour shadow I have send this and I attached A device in mu proxmox gui, but the device is just called "0451:16c8" and not "Texax instruments..... something"
qm set 169 -usb0 host=0451:16c8
Yeah, I understand. Thanks for @dry fossil and @sour shadow . I will have to rethink a lot of things now, but at least I'm not post-installation.
No worries - you can do what you're after, but it requires that the lights have power 24x7, which complicates everything since you also need to ensure you can cut the power to them other than at the fuse board 😄
I will pretend I understood that 🙂 (I'm really bad at how electricity works, too...)
Got it. I guess I will have an extra Hue Remote everywhere, though I could have just gave up the switches that I already have installed 🙂
It's ok. We all have a drawer full of stuff that we didn't use 😄
I bought similar modules for something but they wouldn't fit inside the wall...
lol, I wish my problem was something I didn't use. It's a bit uglier than that - I will have "double" light switches basically everywhere...(at least everywhere I have smart lightning..)
Wall switches here are sized differently than in most of the world, too. so It's not like I can replace them with something else that will allow current but still send the Zigbee command to turn on/turn off the light.
Yeah, this is the problem with switches.
Something like this might help: https://www.zigbee2mqtt.io/devices/WXKG02LM_rev1.html
I use wired ones (I don't have smart bulbs) but those are wireless... you keep the power on to the bulb at all times and use the wireless button to control things.
Same advice for that 🙂
🤢
Quit the toxic crap Mono
@sour shadow Can i file a report?
@frail oracle This command exists purely for Mimiix, because he couldn't remember .zigbee. Don't see him around so much any more though, maybe he also forgot where the server is?
ohdear
https://imgur.com/a/jLZTFWS
This is how a lot of my switches look (left is light, right is curtain)
😂
That image isn't loading.
As I said, house-building is in progress 🙂
@dry fossil Just replaced the link
Yeah, that's a weird size 😄
I do that today. But i think i want to move to ZHA. I need to look into how it works and what devices are supported.
Sure :)
@torn saffron there are modules you can put behind dumb switches that can be run in decoupled mode.... essentially the switch will send signals instead of switching the circuit. Those may be your best bet to not lose any functionality
@tropic depot !!! Do tell more
I think the aqara ones support this... I know shellys can do it (although they are not zigbee)
the relay will act like a remote instead of a relay
so you would have an automation to handle the light on and off
similar to a button as outlined above... but you get to use the switch
Hmmm, would it be the Aqara one I linked? What Zigbee world keyword do I have to look for this?
I'm using Shellys in the wall to just send the signal to Home Assistant and then toggle the smart bulb (via Hass automations).
Of course this doesn't work if WiFi/Hass is down.
The alternative is to get a Zigbee module that can be directly bound to the bulb.
There are some "Zigbee Green Power" devices (that are actually powered by mains) that can do this (but this doesn't work with ZHA at the moment and I've never used them before).
Philips Hue Smart buttons are capable of directly binding to a smart bulb (and the IKEA two button "dimmer" and five button remote).
Signify also releases an in wall module (powered by a battery supposedly lasting 5 years) that is connected to the switch and directly sends the command to toggle the light (via the Zigbee binding).
I've never had too good luck with direct binding and putting those things in wall and that's why I went with Shellys. They connect to my WiFi (and are flashed with ESPHome, although (I think) they can also be put into decoupled mode with normal firmware now) and Home Assistant then does the proper actions depending on the switch state.
If you want to find out more about Aqara switches (maybe even in wall modules) that can be directly bound, try searching for: aqara decoupled
Thanks a lot for the info @mellow geode. Do you have a link to one of those modules?
The Hue Wall Switch was just recently "released": https://hueblog.com/2021/01/14/the-most-important-answers-about-the-new-philips-hue-wall-switch-module/
Not sure it's available anywhere yet
Shellys you can probably find yourself
For the Zigbee Green Power "Push button couplers": https://www.amazon.de/dp/B08K3C44J4/ (German Amazon link - never used these modules)
Why are these referred to as “energy harvesting”?
After yesterday’s succes w zigbee everything bugged out on me again after update. Can’t seem to add ZHA integration anymore, restarting device doesn’t work either and lost all my entities. I’m getting a weird message on my Linux screen: cdc_acm 1-2:1.0 failed to set dtr-rts. Anyone about with some support.
Normally "Zigbee Green Power" devices like the "Friends of Hue" smart switches (that also control smart bulbs via "Zigbee binding") come with no battery. They use the energy that's coming from the button press to send the command to the light.
These "Zigbee Green Power" in wall modules basically "abuse"/emulate that with a mains connection.
So to make sure I understand: these devices basically always send/pass current to the smart bulb, and just use the different buttons to send ZHA events/Zigbee commands?
These devices don't connect between the lights at all.
It can be in a completely different room
The smart bulb always needs "full power" (connected to mains at all time with no switch in between)
If you want to turn a smart bulb on/off (or change the color), it always needs to be sent a command.
That I understand. So in my case where I already have a smart bulb and a wall switch (with ability to insert any module) - how do these help me?
About what module/remote are you talking about?
Shellys can be hooked up to the wall switch. The bulb always gets power. Turning on/off the switch just sends a command to Home Assistant. Hass then sends the "Zigbee command" to turn on/off the light.
You said “the alternative is to get a Zigbee module that directly connects to the bulb”
Yes, I've never tried any though. The "Philips Hue In Wall Module" just connected to the switch via two wires (and is powered by battery).
The mains powered is always passed to the bulb.
Turning on/off the switch just switches very low voltage and then sends the command to the bulb.
Yes, that’s what I’m looking after I guess. Give the light power 100% of the time, and just pass the appropriate command depending on the “dumb switch” press.
zigbee does a really good job of making me not want to restart my hub!
every 2nd or 3rd restart, things just disappear... i really should just get a better controller i guess, and dump this deconz
Dunno, mimix told me deCONZ is the best
there we go. restarted and now all devices are unavailable
I wonder what hardware is hiding in the lightify gateway... find a way to flash it to tasmota...
Now even my conbee 2 won’t add
Conbee 
Move to something proper 
It helps
I haven't had downtime of my zigbee stuff in over 18 months
What’s something proper then, what do you suggest?
On the topic of switches and smart lights, and sorry I'm late to chime in... Rather than cutting power to smart lights (and I understand that my life is less colorful because of that) I am partial towards dual control of dumb lights. Using something like this: https://es.aliexpress.com/item/4000402866869.html (flashed with Tasmota with script support) you can keep the (regular or N-way) wall switches and have HA control the output (and its status) as well. It works offline even if HA is down.
There are similar devices that support dimming some lights as well, but have not tested them.
@tiny storm I did cc1352p2, a zzh or slaesh will be good too, with zigbee2mqtt
2 more reboots with conbee and all my devices are back 🤷
and i've had 0 issues with my conbee so 🤷
if you want to... you can use ZHA with a few different controllers
Just use the same, but zigbee one, like aqara relay module, but now there're plenty of those. Some even do dimming
in this scenario you can control your dumb light via:
- HA
- Zigbee Remote
- Dumb switch
I think the aqara zigbee modules can do this too.... @gentle flint that is what "decoupled" mode is right?
I use Shellys with esphome and can fall back to the relay of esphome can’t reach HA
is this what aqara's decoupled mode is?
interlock is the decoupled mode then: https://www.zigbee2mqtt.io/devices/LLKZMK11LM.html#interlock-binary ?
never tried one, found this https://community.home-assistant.io/t/xiaomi-aqara-wall-switch-single-double-decoupled-mode-support/38907/35 so you might be right
Anyone know where to find zigbee GE dimmers? Seem to be sold out everywhere I look
Or if anyone knows a good alternative
Anyone else in here use the crap Sonoff zigbee motion sensors?
I need to find a motion sensor solution that wont break the bank
What's your issue with them? I'm using the Xiaomi ones with no issues
I'm using Aqara, no problems. https://cloudfree.shop/product/aqara-motion-sensor/
Can anyone recommend a nice motion sensor ideally one which only detect people walking past and not just any random object
ideally it would be nice to have room temperature 🙂
I'm using ZHA and Located in UK
Xiaomi 4 lyfe
I've got some Aqara Motion Sensor which seem okay just wanna dip my toes in other pies
Aqara is xiaomi, right?
Yes
The ble one?
the T1 series

them settings hawt
I already have a ton of aqara so I'll have to use these for like something else
btw, thanks for the CC1352P2 recommendation! Really like it so far
Why go with the 1352 over a 2652?
This looks good! is it supported in ZHA?
Actually this doesn't seem what I'm after, it only prevents both relays from being on at the same time.
Thanks. Can you explain a bit more about this kind of setup? If it's a dumb light any zigbee module would work, no?
Has a power amplifier. I didn't notice any real difference with my relatively compact network.
I just ordered a 2652p2 from tube. That is also powered fwiu. Just curious about the difference between the two.
That's really it
1352 is also multi-frequency but non-2.4ghz Zigbee doesn't really exist
CC2652R and CC2652RB don't have PAs, CC2652P does
I had a power outage at my house that lasted a few seconds, when it came back up my Zigbee network hasn't been right since, and this was three days ago. Everything seems to connect, but there's a delay of about 30 seconds minimum wether I try to control things by voice, or the home assistant app. I'm using Deconz inside Home Assistant core on an intel nuc. Any tips?
*Using Home Assistant Supervised
Also when I go into the deCONZ app it sometimes shows as my gateway is disconnected and shows "Network not found". but then it comes back a few seconds later.
I am using a USB 2 hub and a conbee 2 stick
some issue with deconz communicating with the stick apparently. maybe the guys on the Deconz discord can help you better
Actually seemed when I deleted the lights and re added them all, everything works again
I was worried I'd have to redo all my automations and scripts but everything seems better now. Thanks
Hey guys is this the right place to ask this? I am running the latest version of HA (feb 2020). I have a deconz conbee II stick but running this using ZHA. All my devices connect and are running OK. I am trying to pair a ZigBee CC2530 + CC2592 Long Range Router as I have a few outdoor things. https://shop.codm.de/bundles/zigbee/router/25/zigbee-cc2530-cc2592-long-range-router-bundle-9cm/2.5dbi?c=7 I have two. Neither will pair despite the light sequences suggesting they are in the pairing mode. It simply does complete the interview. I have looked in the logs but nothing stands out. Any help would muchly be appreciated 😀
Admittedly more of an electricity question I guess, but still: What would happen if I don’t connect L1 or L2 in this diagram? Can I turn this module into a Zigbee only module and use data it sends to turn on/off the lights? (I have smart lights that I still want to control from the switch, the wall switch is already installed - I can’t buy a new one)
L1 and L2 would still be fed directly from mains through the box, just not through the module.
Just future proofing ;-) 1352p supports sub Ghz frequency...I am sure somebody in future will have a great productnout of it. Otherwise quite similar to 2652
The chip is multi frequency but the radio needs to be optimized for a specific range. For example, the LAUNCHXL-CC1352P-2 is optimized for 2.4GHz, while the -1 is for 800-900MHz and the -4 is for 433MHz.
Dunno if that's just based on the on-board antenna, but re-soldering that tiny capacitor to get access to the external antenna connector is not very easy
Interesting. Is the sub 1ghz frequency used for anything at this moment?
Not that I know of
it is however a very good board for the thread due to PA/LNA compared to CC2652. However, there are hardly any thread products though - dunno if the apple's one connect fine. So we design the custom ones. But thread's i think will be the future due to ip
Greetings
I've been running into some weirdness lately with the ZZH / ZHA integration. It seems that the coordinator is reported to be offline (ZNP = Texas Instruments Z-Stack ZNP protocol: CC253x, CC26x2, CC13x2 by ZHA). It seems that it just dropped the network over night (Nwk: 0x0000 LQI: Unknown RSSI: Unknown) - Last Seen: 2021-02-06T05:30:41 (that is ~ 4 hours ago).
running HassOS on a raspi4, ZZH is connected via USB directly ( no other usb devices ), ttyUSB0 is how it's known
reloading the ZHA integration and looking into debug logs, I'm seeing stuff like "Closing serial port" ... blah blah "Connection was purposefully closed, not reconnecting" - is that expected to happen for ZHA reload?
Log: https://zerobin.net/?cce6fc0fc6822fb1#rsC6cSlTKyn7gzg89pBRPwEsbvdCeQo6/LUCv2fCl/Q= (zigZAG!21 is the magic spell)
(this is a log of reloading the ZHA integration component via the UI)
Similar to this https://github.com/home-assistant/core/issues/45418
Any module can control a dumb device. Relay modules are indeed very common. What is less common is having a device that will let you have:
- Wifi-off or otherwise offline control of the device using a wall switch, both for turn-on and turn-off [a switch in series can only turn off]
- 2-way (or N-way) wall switches in the scenario above
- Ability to know the state from HA, and ability to change the state from HA, independent of the wall switch position... but then if you hit the wall switch the state toggles as well.
- In other words, ability for HA to participate in N-way switching and showing the state.
- "Wife rejection" with these devices is much lower than if you disable the wall switch
- New devices such as the hue switch module can help with that, but if you're offline the switch won't work either.
- Only one always-on device for the switch and the light [or one device for two switches and two lamps], thus hopefully saving some energy
I’m trying to follow. In this scenario we are using a smart bulb or a dumb one?
Sounds like that's all about a dumb bulb.
Oh, @dry fossil! I was looking for you...
Uh oh
@dry fossil does this sound asinine?
Please, no tagging 😉
Sorry 🙏
If you don't connect those terminals, there's never going to be a closed circuit for the lights. They'll never turn on.
Think of electricity like water. It has to have somewhere to flow.
But see my note - they are directly connected from mains
Through the wall box but NOT through the Zigbee module
Oh... you'll connect the green wires to the mains instead of to the module?
You could test that... you already have the modules, right?
The bulbs would always be powered (which makes pairing/changing them difficult/dangerous). The Zigbee module might be able to operate without L1 and L2 connected, since they're just relays.
Yeah, so let’s assume there’s only L1. It gets fed directly, and the only job of the module would be to send it commands (through HA). The question is if this is unsafe for some reason, or that the module needs to have L1 or L2 connected somehow to function properly
N, L, IN and S1/S2 are the 'controls' for it all.
I think it would function okay, as long as it's not trying to sense whether there's current going out through L1/L2.
Yeah, I’m going with safety first.
I can't be certain. You'll have to test it.
Safety though... the module isn't the issue. The bulb is. How do you change it safely?
If you can't switch off the mains power to a single bulb, how do you change the bulb? Will you always turn off a breaker for that room/floor?
Yep. You can’t turn it off front the switch - electricity-wise.
Yep, got you.
I think I’m just gonna have to live with dual controls - one dumb switch, and one Zigbee remote control.
Because it is important for me at least in some rooms to have smart bulbs/lights.
Yeah. I see why some people like smart bulbs. But you're seeing how it's difficult to get right if you also want controls on the wall 😄
Yes. Practically impossible...
Goodday,
How is it that sometimes a (ZHA) automation doesnt activate when a motionsensor gets triggered, say 2 times after eachother. (brand new Aqara sensor)
There's a delay in reporting clear.
This is normal and is how you don't use all your battery in one day.
For the Aqara sensors, it's about 2 minutes between detecting motion and reporting clear. It can't detect motion again until after that.
Ok. Now for an entirely different problem - I have a Hue light that was previously paired and identified as a Phillips Hue light. When I unpaired and re-paired it - it is now identified as a “Signify” light, and the ZHA quirk no longer appears in the device info section. I wouldn’t mind this if not for some clusters that were previously there (when it was properly identified) and now aren’t. I need to modify this device’s power_on behavior and with the current identification I don’t see those clusters at all.
thanks mono
What are the benefits of using zigbee2mqtt, i'm just using the regular zigbee broker (Mosquito) from the store....should i be adding zigbee2mqtt?
The broker is just the thing that holds all the messages. It does nothing if nothing talks to it.
Z2M basically bridges the Zigbee network with MQTT so that the last step of all the communication to HA is via the MQTT protocol. Some of us like it because it means your Zigbee software is separate to HA but can still communicate with it. You can upgrade Z2M or HA separately instead of them both coming in one package.
ZHA is also popular and doesn't need all the extra MQTT stuff but it means you're always updating both at the same time and your Zigbee network is temporarily unavailable during HA restarts.
I come from webcore (Smartthings addon) but i must say that im not really fond of zigbee implementation in HomeAssistant. However this is my 3th day with the system.
HA does offer much more variation and depth, also running local is a big plus!
Zigbee2mqtt 
How often is the ZHA device map updated?
Good afternoon, Does anyone have an expeience with a HS1CG (HEIMAN Zigbee Detector Gas alarm) and ZHA. For the moment I am trying to avoid using zigbee2mqtt and all other zigbee devices working fine. I have paired the device succesfully (i think) and shows only 1 entity: binary_sensor.heiman_gassensor_em_262c1916_ias_zone
While trying to get the squawk/warn to work in dev ops/services, I cannot get the device to react to the ZCL parameters.
the goal being the siren and strobe to work
Hi, i have a problem with the deconz integration, in particular stale records (removed entities). Can someone help me to fix this? I have logs.
From the database dump (deconz-backup.dat) an example of a stale record:
04:cf:8c:df:3c:79:c3:25-018deletedStaande lamp kamer1lumi.plug.maeu01LUMI09-10-2019{"attr/id":"8","attr/lastannounced":null,"attr/lastseen":"2021-01-27T14:39Z","attr/manufacturername":"LUMI","attr/modelid":"lumi.plug.maeu01","attr/name":"Staande lamp kamer","attr/swversion":"09-10-2019","attr/type":"Smart plug","attr/uniqueid":"04:cf:8c:df:3c:79:c3:25-01","state/alert":null,"state/on":true,"state/reachable":false}
I cant remove it from home assistant.
The Phoscon app doesnt show this device anymore.
How to fix this?
Is there anything that supports MQTT out of the box (except for Tasmota)?
I'm unable to convince myself to give it a try for some reason 😄 I keep thinking of it as an extra abstraction layer I don't actually need
Are you asking if there are any Zigbee based devices that send MQTT messages over WiFi?
zigbee2mqtt in particular
A lot of stuff does mqtt
If they sent MQTT over WiFi, they wouldn't be Zigbee...
that makes sense
Arduino devices, esphome, tasmota, lots of different propitary stuff, any machine you want, custom docker containers
None of which are Zigbee 😂
i prefer the abstraction layer because it isolates it from the home automation i choose to use
The wireless devices that can communicate via MQTT use WiFi.
sounds like a portability benefit
I built a docker container that reads a value and sends it via mqtt in 10 minutes 
Not just portability. Encapsulation.
sound like it keeps working even if HA craps out
Single responsibility for each thing.
or your HA .db goes poof 👿
.db🤢
ok but that's backing up the .db - if your mqtt broker goes poof you're likely in a similar situation
you use excel sheets instead?
if my broker goes poof my router went poof as well so i have bigger fish to fry 😄
lol 😄
that that'd mean (off topic in Zigbee likely) that anything2mqtt should exist. LIke zwave2mqtt, etc
most HA users don't really think about the overall architecture anyway
zigbee2mqtt works with anything that talks MQTT, ZHA works in HA. period.
I can understand that - not an easy task for something so wide as HA
on good days it does 😄
i have automations in my tasmota devices to control zigbee devices
HA is just a state machine in those cases
there are people that use only NodeRED for their home automation needs
bit of both
It does, anything can be made into 2mqtt
that kinda nullifies your another abstraction layer problem, because mqtt is the main layer, HA is just gravy
and i have flexibility
NodeRed is a far reach, feels like a "corporate developer" training 🙂
Node red, no thanks
gascooker2mqtt 😄
for example i run two ha instances and both are using same zigbee2mqtt
the second one is for dev and demo
nodered people just like doing their home automations in javascript and lego's
🤢
that makes sense - I was considering that option too - but more like proxmox the hack out of it
nodered: no offense I understand that people prefer that, we are visual creatures after all. My resistance is fueled by being afraid of losing control / track of what's going on
things more complex that I can't understand my config/code is my indicator of doing something wrong
nodered has the potential to hide that, and leads me to believe that I fully gasp what's going on 😄
I pledge to get something2mqtt once I solve the Zigbee crazyness I'm facing
i think my sd card is dying 😦
Yep
I frequently lose connection to the Pi and also lose my entities in HA. Rebooted many times
So... nothing to do with Zigbee. You're lost.
If you don't know where to ask, start in #general-archived
I think this is the correct place actually cant see any other that fits
Your failing SD card has nothing to do with Zigbee networks.
errrr 😄 unless he's debuglogging 😄
I mean its related to zigbee2mqtt
Im not sure if its failed yet im trying to find out
How do you know it's related? The real problem is that you're running on a Pi with an SD card. That's not a Zigbee issue.
I don't recall Zigbee having any requirements that you run on substandard equipment.
If your SD-card might be failing zigbee troubleshooting is not likely to get you where you want to go, is the point
Ok great. I'm running some F3 probe test on it now
On the Zigbee-enabled SD card that no-one else has heard of?
Move to #general-archived
I think i will move the zigbee antenna to my server instead and pass it through. hopefully the range is enough. 5-10 metres outside or 5 metres through concrete.
🤦♂️
what
What does that have to do with your SD card problems?
I believe you're experiencing the same issue
Are you using a ZZH or some other CC2652R coordinator?
Did you have to unplug the stick to get it to "work" after it died or was restarting HA enough?
Yeah think so / upgraded the ZZH firmware to the latest to fix the memleak, so that can't be it
Ok, that was my first guess
ZZH (ziggazagga :))
Would be nice to know why it died in the first place, since this bug (I believe) is precipitated by the serial port being closed in a way that makes zigpy-znp think it closed the port all on its own
Do you happen to have any logs from when it died the first time?
That I couldn't determine unfortunately
The Philips HUE motion seems to be the one that drops off at first
Re-adding fixes it, for about 3 days
Then it drops off again
No Xiaomi motion sensor has ever dropped off here 
I think that's an unrelated issue
Hi guys looking for some guidance in the best door sensors currently considering Aquasa but happy to learn more. Also looking for motion detectors but not huge ones plus thermostat / humidity sensors again small if possible dont want rip off products or cheap crap 😀
I have Xiaomi on my front door and it has been solid (probably exactly the same as Aqara).
Aqara's motion detector has worked well for me also.
It has a luminescence sensor as well, so I use that with my lighting setup as well
Can I turn a ZHA/Tradfri switch into a light for google assistant integration?
Aqara sensors all work great, are nice looking, and affordable
Only issue I’ve had is the whacky pathways they take in the mesh network
Is there a way to make a device "re interview"(used to zwave) with ZHA? I've got a sonoff button, and its connected but only reporting its battery life. No options are showing for actual button presses.
https://zigbee.blakadder.com/Sonoff_SNZB-01.html
Got it working with a blueprint! Odd to me that I couldnt use the UI to do it.
There's a "reconfigure" button on the device page
That didnt make it show up. But now I think thats by design. What I needed was the zha event trigger, which didnt show in the UI. It did with zig2mqtt but thats probably due to the way MQTT and HA device discovery works.
Quick and simple: Whats your recommendation for the "best" usb coordinator (ZHA) within EU region?
See the pinned message that tells you 😉
I'm aware of the alternatives... already used several
ditched deconz for ZHA with sonoff bridge, but dont like wifi dependency and some disconnects
Cc1352p2 
Yep, tried to buy one from Tindie, not available on Europe
outside EU, the taxes will make it very expensive
If you think the coordinator is expensive
Have I got news for you
When you come home with 40 bulbs from brand X
I already have >60 devices
Exactly
That'll be a 🤏 value compared to devices
My cc1352p2 was delivered directly in my mailbox, no tax
Cc1352p2, you're using it with ZHA?
No, I'm sensible and run zigbee2mqtt 
🙂
can you make me change my mind, and give a couple of reasons?
Why mqtt, when I only use HA?
- You can upgrade, or downgrade, when you want, not when you upgrade HA
- See (1)
I have had zero major issues in 18 months, I can control my devices from any home automation or via mqtt commands directly, I can easily move my HA between my three hosts anytime with zero moving of hardware
And I can add support for new devices myself
Pretty easy
Decoupled >>> integration
The CC2531 and CC2530 sticks are cheap for a reason. They're fine for testing, but do yourself a favour and buy something better.
The CC2531 is basically a dinosaur
Cc2531 is to the cc1352p2 what a Lada Niva is to a Audi E-Tron
😮
It covers my whole house 252m2 over three floors and has never failed a pairing
I tried the range before making my network
how do you use it? with an ESP via Wifi?
the most common use case is to use it via USB, right?
External Antena: yes/nop?
how do you compare it with: CC2538+CC2592 ?
There's pinned messages to describe the differences
That's the previous generation of hardware - so slower, and less capable - but the combo gives you similar range
ZHA is working well for me but the programmer in me says Z2M is the way to go. The only thing that I really disliked when I tested it briefly was the fact that when discovery: off, I couldn't group entities belonging to one device as a device in the HA UI. There was also some added latency, but that I can try to tackle..
(Why discovery: off: I want a complete YAML-as-config setup. Meaning I want to map ieees to entity_ids to be exposed to HA.)
"There was also some added latency" - noticeable?
yes, but I attribute that to my sometimes problematic WiFi router

If you were to switch from a pi, what would you switch to?
Been thinking about picking up a nuc or something similar
I’m running on a pi 3 with sd card. Right now I’m on zha but I think I’ll try switching to MQTT after I get my new guy from tube
Do you suggest running the MQTT on a separate device?
Yeah, I would never run HA on a pi or odroid, a nuc would be my minimum recommendation
I see that’s common but never understood why
I run mosquitto on one server, I run HA on another and zigbee2mqtt on the pi
Interesting
Maybe I’ll pick up a nuc and run HA on that and my MQTT on the pi
Any reason why you run z2m on a separate device than your HA?
I wouldn't recommend running anything on a pi 🤫
Because decoupled == freedom
I work with systems that have 100% uptime, I have standards
Understood 😁
I figured the broker running on a separate device is what made it decoupled
Pi4 with an external USB3 SSD, more than enough for HA and a few other things 🙂
Which is why I will never recommend #330990055533576204 either
It works for sure, I won't recommend it
I told myself I would start on the pi just to learn and then move to something more permanent when I expanded. Now I have a lot going on and I’m still on the pi with and sd card
why not atxbyea?
Ticking time bomb
No scalability, subpar power and storage subsystem
well, if I ever need to scale it up I can then buy better HW. but for HA? no need to
Why limit something to ha only
Idk I noticed my HA app gets bogged down a lot, I figured it was my pi reaching its limit
Also, a decent nuc will be reasonably priced similar to a pi 4 with SSD or an odroid
Or sometimes cheaper
Depending on country
you are using an sdcard.... its night and day going from sdcard to usb 3.0 ssd 😄 heck, even an old HDD is better than the sdcard 😄
Haha yeah I was going to switch over to an ssd but then I was like why waste the money when I can just buy a mini pc
the NUC will also be more power hungry
Modern CPUs are so power efficient that you won't notice it
well, you'll have to waste money for a mini pc 😄
For most users a nuc will idle lower than a pi
I did measure my pi's consumptions and checked NUC's standby power a year ago or so. It was noticeable (not much, ofc)
that's impossible 😄
Depending on CPU it is quite possible ;-)
not on an Intel i3/i5. I don't think even an Atom would be more efficient than the ARM of the Pi
anyway, we are getting too offtopic for this channel lol
There are celerons with 4w idle, and afaik the max power draw of the pi is 6w 
So I assume z2m can be installed as a container? Thats how you’re running it on a pi?
Cool stuff. I learn something new everyday here
Thanks I’ll take a look
I use a 8th Gen NUC i5, and it idles around 10w
can be. but it is part of the event of things happening at that time, unless it coincidentally happens 3 times in a row
Can i ask about zigbee2mqtt here?
Yes
Thanks. So I have currently this setup: RBPI running C34503 something antenna, sending z2m data to a MQTT server addon in HA OS VM.
Im planning to remove the RBPI of this setup, would it be best to just connect the antenna directly in the HA OS VM (pass through) or should i make a new VM for zigbee2mqtt only and then send it to HA OS over network?
The reason I'm asking is it seems HA OS is kind of limited (Not full open linux)
You would need to install the zigbee2mqtt addon
And copy your config
But I don't touch add-ons or haos, so no help there from me
That would be the way that makes sense in your setup atleast, you can run zigbee2mqtt on the host itself some other way, but you are already running haos in a maybe flakey way, depending on the hypervisor
Its vmware hypervisor. and yes i agree
so maybe i should convert to supervised version?
and just import everything to there?
That way I can easily add the VM to my monitoring and patching routines
Don't.... Run supervised
oh
Nobody should be running supervised
core then? 😛
ah no no i dont want docker especially with antenna pass throughing multiple layers
I think I want core unless there is some strong arguments against it but i can ask in another channel also
Are you very familiar with Linux and venvs?
And want to update python manually once a year
why? lol
"nobody should run raspberry pi"
"nobody should run supervised"
Did your read the channel topic there 😉
Because it is an abomination
lol
I'm using docker for my home's installation, but used the supervisor on debian for my parent's. Its pretty nice if you don't want to be managing it manually or thinker a lot with it
Once it's set up, what's left to tinker with? Docker Compose makes it trivial to spin up a whole stack without all that Supervisor and add-ons nonsense
And if you want add-ons and aren't an expert at computers, HA OS is the only sensible option.
I'm scared to look in #330944238910963714. They aren't experts.
Most people in there shouldn't even be let near computers
Good evening 🙂 After a planned poweroff of my hassio running on rpi4, I have lost access to my raspbee and my whole zigbee network. Google results seems to indicate I need to firmware update the raspbee, but I seem to be unable to connect. Log shows its retrying to connect without success.
zha or deconz?
deconz
(this is the second guy today with issues with deconz after power cycle 😄 )
Sigh - not good when waf is already low. I even had an identical rpi with mirrored sdcard ready for avoiding downtime. Only one Raspbee and same result.
are you running deconz in a container? Supervisor Addon?
Yes exactly.
If I recall correctly there seems to be some sort of bug where the network or routing is not restored on restart. Can't find it now because I'm on mobile but you might look on the Deconz rest issues
Physically powering off and restarting seems to help. For Conbee users, pulling the stick
So.Weird! In deconz addon, I changed "device" from "/dev/ttyAMA0" to "/dev/ttyS0" (because it was the two only entries in "Hardware" info reported by HA, and now the network starts up again. Tried changing it back to AMA0 but failed again. Don't know if there was a pending update that kicked in and changed device address 😕
They... Should be basically the same thing, ama0 is an arm serial port while s0 is a x86 serial port,
Can't make much sense of it
@amber gull Thanks for mentioning it, this relates pretty much to my problem - https://github.com/dresden-elektronik/deconz-rest-plugin/issues/3681. Works now, but is probably going to deal with some issues when I update deCONZ at some point.
Hey everyone. Having some issues pairing the Aqura water leak sensor with HA using a zigbee stick.
I am pressing in on the center and getting it in pairing mode i think. It just is not finding it
anyone have any tips for paring?
12
GoControl CECOMINOD016164 HUSBZB-1 USB Hub
I have it sitting on top of the computer that the stick is plugged into
I got it
restarted HA for the third time.. or idk what I did different
I just moved from using Zigbee2MQTT on RBPI to directly having the antenna in HA OS. So I was going to use the zigbee2mqtt, but for the devices it said it was using devices.yaml. I created this and added devices like this:
"0x842e14fffe76a290":
friendly_name: "0x842e14fffe76a290"
"0x00158d00048315a1":```
But the entities dont come up still, is there something more needed?
yaml is verified ok and i have veirified its connected to mqtt server
I'm intrested in 5 dumb motion sensors and 5 Temperture sensors, can be same device mostly looking for cheapest option, currently 5 snzb-02 and 5 snzb-03 at £55 is the front runner
dumb is what exactly?
happy with high timeout, security usecase for these
has anyone flashed the Ebyte board? How hard is it to flash the bootloader?
I have two zigbee osram smart lights. when i connect them with deconz with conbee2 usb stick, i have 3 state of lights (on, off, unavailable). when there is no power to the lights, its unavailable (takes a min to become unavailable). But if use ZHA with either conbee2 or sonoff ZBBridge (flashed with tasmota)....it never shows the lights as unavailable when there is no power. is it ZHA problem? is there any workaround to this?
So, I am back. The aqua water sensor is set up fine. I tested it once. It went from dry to wet to dry (i wiped the contacts off). I tested it one more time and now its stuck in "wet". I removed and reconnected the device and no luck getting it to switch back. Any ideas?
Hi Guys. I am running the latest version of HA (feb 2020). I have a deconz conbee II stick but running this using ZHA. All my devices connect and are running OK. I am trying to pair a ZigBee CC2530 + CC2592 Long Range Router as I have a few outdoor things. https://shop.codm.de/bundles/zigbee/router/25/zigbee-cc2530-cc2592-long-range-router-bundle-9cm/2.5dbi?c=7 I have two. Neither will pair despite the light sequences suggesting they are in the pairing mode. It simply does not do the interview. I have looked in the logs but nothing stands out. Any help would muchly be appreciated 😀
You mean EBYTE as a co-ordinator? You cannnot, currently Z2M works with the specific zigbee stacksI. eByte uses Silicon labs chips. However, you can use the ebyte as end devices
With ZHA, not Z2M
I don't have that. I've seen some mentions about the possibility of using an arduino with some sketch, but was curious if someone had tried it
Yeah, look at black magic swd
Yea I used a segger j-link mini edu
This may work too but don’t have the hw and haven’t tried https://github.com/myelin/arduino-cmsis-dap
Ah okay. Yeah it shoudl work with ZHA, but I have not tried hopefully others here Will pitch in
I’ve got the ebyte running my 120+ device ZHA network now. Has been solid but it’s light on the specs with only 32k ram. Def more of an end device module than coordinator.
@mighty river i don't think any of the branded hubs except for sonoff one can be configured to work cross platform with zigbee devices from different vendors
it seems like there's always some stupid incompatibility
Good morning, I migrated from having zigbee2mqtt on a raspberry pi to connecting the antenna directly to Home Ass. OS. I copied over the contents of /data and it can find all the entities. BUT all the entitiy names are missing, what to do? 😲
Ha will read the entities from configuration.yaml in zigbee2mqtt
I see so any names I changed in devices in HA is gone basically? For them to persist in this migration I would have had to update them in the configuration.yaml first?
Ok crap. Im thinking they must be somewhere though in the HA config (the old names) all the HW IDs are the same
it would save me alot of time walking around locating all devices
where can you buy a better zigbee stick from
2500 minumum quantity?:S
Better than what? Most sticks are better than a potato.
I think the CC2531 is the only exception. I'd rather have a potato.
My potato variety has MIMO.
Noice
That looks like @dawn sequoia work @dry fossil
So in the future now I know to update friendly names in the config.yaml but if I wanted to find my old entitiy names that I renamed through HA where do I go (if its even possible)
Depends on how you changed them
If you changed them from the
icon in the top right of the entity's info view, you can't
Hi guys,
does anyone of you have a zigbee dimmer (you can build in behind an exsisting switch) and paired it directly trough zigbee2mqtt?
so without an app or hub?
Hey, my danalock keeps reporting the wrong status / not updating its status into mqtt. Any ideas on how to resolve this?
What does the Zigbee2MQTT UI say?
Which part? It's showing the state as locked.
Does that match what HA sees?
And HA is showing status last updated 1 day ago. The weird thing is i can remotely unlock the door and it works
But remotely unlocking from HA also doesnt change the state
So HA can unlock/lock the door but the status is always showing locked
Yep
Then the problem is between the lock and Z2M
Worth checking to see if there's known issues with that lock
How would it still be able to lock and unlock for mqtt but not show state?
Slightly regret purchasing it as i've had numerous problems with it connecting to mqtt
Well, the lock doesn't connect to MQTT 😉
ha, fine, zigbee2mqtt
Anyone know of a cheap CC2538 USB stick or dev kit with a USB socket?
AliExpress?
Can't find anything but the little modules or $40 dev kits
I swear I saw some people making plug and play versions
Like a bulky CC2531
"Search results are ranked based on a smart algorithm"
Where in HA can I see to what zigbee router a device is connected to
Zigbee :bee: - please remember to mention whether you're using zha (https://www.home-assistant.io/integrations/zha), deCONZ (https://www.home-assistant.io/integrations/deconz), zigbee2mqtt (https://www.zigbee2mqtt.io), or even something else.
Looking for devices? See https://zigbee.blakadder.com/ and https://www.zigbee2mqtt.io/information/supported_devices.html.
Z2m
since zigbee is a mesh I would say the zha/z2m network map
oh cool
Look in the Z2M UI, it has a map section
afaiui a device an have 0-n connections, not 0-1
Hey im looking for a way to connect my sasmsung smartthings motion sensor to home assistant without useing a hub. Can smb send me the link I need for it to work, since im quite new to this and I dont get it ^^
See the pinned messages
Have there been any recent accidental bugs or anything pushed in updates with ZHA/Zigbee?
all my Zigbee devices went "unavailable" on me today, first time it has happened to me, it has been running beautifully for 4 months.
Errors I got were:
2021-02-07 16:38:23 WARNING (MainThread) [zigpy.zcl] Unknown cluster 61185
2021-02-07 16:38:40 ERROR (MainThread) [zigpy.application] Couldn't start application
2021-02-07 16:38:40 ERROR (MainThread) [homeassistant.components.zha.core.gateway] Couldn't start ZNP = Texas Instruments Z-Stack ZNP protocol: CC253x, CC26x2, CC13x2 coordinator
It seems to be back and working reliably for me now. I had recently installed my first Sonoff (hacked with Tasmota) & installed the MQTT Mosquitto broker a week or two ago if that is of any relevance
What's the stick you're using?
CC2531 Zigbee2MQTT I think.
(that is from the product listing)
Device info: ZNP = Texas Instruments Z-Stack ZNP protocol: CC253x, CC26x2, CC13x2 by ZHA
Ooof, is your apartment 50m2 and you have less than 30 devices? If not you should consider switching now 
If I recall I flashed it at the very start (around 4-5 months back)
I'm in a house spread across three floors, I have many lightbulbs/Routers and have had nice coverage all over the house previously
the dongle/HA is on the top floor
Pull the stick out, wait 30 seconds, put it back in, then 🤞
You know what ^ I tried that earlier and I think that may be what fixed it (it is currently working atm)
Just checked, I have 23 Zigbee devices atm @jolly narwhal
thanks for your help and input both
I've done some electrical wiring in the house today (not near my HA or Zigbee dongle), but I installed that Tasmota/Sonoff device in-line, to power a fan, that was working great first time
but then all my ZHA stopped, I somehow thought it must have had a conflict
The CC2530/1 sticks are known to lock up from time to time
as I've never seen it behave like that before
I see, that is useful for me to know. You know what I did read something like that on Redit, but I thought the poster mentioned with a qty of devices near 100!
this is what I was reading, so is this the kind of thing I might be facing? - https://www.reddit.com/r/homeassistant/comments/l9uhvm/psa_zigbee_network_lockup_bug_affecting/
oh ok lol 👍
I've had a pretty much flawless experience and coverage with about 23 devices so far, I must have been blessed. In having this issue and having to get a little hands on with my RPi4 I did just notice that...
despite having a large heatsink on it, it is getting hotter than I remember (the Pi this is)
just checked temp; 56c for CPU, that sounds OK to me, perhaps I was working it harder earlier
Hey guys I need some help conntecting my Samsung Motion Sensor to home assistant. I quite dont get it? Do I need smth else?
Yes
@lofty kiln There are three Zigbee options with Home Assistant (regardless of how you install it). These are:
deCONZ is relatively stable and mature with its own UI (and Discord server). It can run in an add-on, in a Docker container, or natively. Only the ConBee range of sticks and RaspBee GPIO boards are support. Known working devices are documented, and how to request support for a new device is documented too (you can't add unsupported devices yourself).
zha is actively developed as part of Home Assistant Core, using the zigpy stack, the UI also being part of Home Assistant. The EmberZNet based sticks are recommended, but there are other options. There is no list of supported devices, as any standards compliant device should work. Devices that require extra support are listed, and adding unsupported devices is documented (you can't add unsupported devices yourself).
Zigbee2MQTT is very actively developed and can run in an add-on, in a Docker container, and natively. As of 1.15 has a native UI, and it also uses MQTT for control and configuration. It supports mostly TI based sticks, with the Zig-Ah-Zig-Ah! and Slaesh's sticks being recommended. The known working devices are well documented (which usually includes how to pair them so you don't have to find the manual), and adding unsupported devices is also documented.
As covered in the pinned messages I pointed you at 😉
- Pick an integration (typically
zhaorZigbee2MQTT) - Pick a stick for that integration
- Profit
Thank you so much for your help @sour shadow ❤️ I've gota shoot.
Is someone using eurotronics spirit zigbee? I am having some issues sending commands using ZHA and a ConBee2. Only thing I can do basically is setting the occupied_heating_setpoint.
What else would you need to do?
system_mode off would be nice, when windows are open and setting occupancy to change to unoccupied_heating_setpoint (which I also can't set)
Ok, thanks for the info, then i think will be ordering som dongle to go on 👍
I just set my heating setpoint really low instead of turning anything off. Works as frost protection in the winter and means it's effectively off any other time.
10ºC works for me. I've never had the house get that cold but it's enough that if we go away for weeks in the winter, my pipes won't burst 😄
but how do you handle a unoccupied house? If I leave I want to lower temperature to lets say 18°C but when I come back the temperature should be set again to the previous temperature the thermostats had when I left
so I kinda need to store that information. As far as I understood it that is exactly what (un)occuipied_heating_setpoint is used for which you can toggle with occupancy
Why the previous temperature? If I leave at 3am, my heating was 'off'. If I return at 12pm, I want it to be on.
Most people use a schedule for climate.
i gope this doesn't trigger codewall rule
It's not 15 lines... but it's chunky 😄
The bot won't move it automatically but please be mindful that it's unpleasant to look at, especially on mobile devices.
If it happens again, enable debug logging before starting up HA: https://www.home-assistant.io/integrations/zha/#debug-logging
@dry fossil sorry to ask but what service do people here prefer for logs
I want to have a constant temperature when I am home in the individual rooms. I have no need for a schedule in heating. When I am home I want that temperature, and when I am gone I want it to be lower.
https://pastebin.com/K1h55kkm
checked google and GitHub but can't find anything similar, is this something i should be worried about? appears all the time in log entries
but to be fair, this seems to go over my point. There seems to be an issue with sending these commands even tho there are marked writeable. I mean I can read them perfect but it wont accept any commands besides setting occupied_heating_setpoint
Anything but pastebin 🤣
Please use https://paste.ubuntu.com/ to share code or logs. Please don't use Pastebin, since it can randomly add spaces to the main view.
loool
Alright so those sticks I need are sold out right? Do you know how long it takes for them to restock?

@lofty kiln cc1352p2 is never sold out 
dongle is cc2531
Which fields do you think you need to write that can't be written?
@willow bronze hopefully nobody is buying that anymore
the following: system_mode, unoccupied_heating_setpoint, occupancy
hey it was cheap!
and it's not like i have mang zigbee devices
what's wrong with it anyway
Underpowered, short range and fickle for lockups
Ok. They seem sensible to be able to set. I have no idea how to add support in ZHA though, you'll have to wait for someone that does.
Looks like most people here use z2m instead of zha :/

hm, it's unfortunate that's it seems to be the only dongle from TI that is commercially sold pre-assembled and pre-flashed on AliExpress
https://www.zigbee2mqtt.io/information/supported_adapters.html
CC2538 - Tindie, AliExpress
and then there's more options...
Zzh, slaesh, so popular they are all sold out, so order a cc1352 
couldn't really find any for sale in eastern europe that don't cost a ton unfortunately :(
I got one of the slaesh sticks, works pretty well so far
but I wonder if it was a good idea to go with zha...
Worst case, you can switch to Z2M later
Then switch now 😄
aaa ships from Germany... too far away, shipping will probably cost a fortune :(
doesn't sonoff plan to release a new stick on the same chip as their bridge
i think it's cc2538 based right
No, it's efr32 based
The CC2538 is one generation old already 😉
ah
not like that thing is in stock anyway
There is a guy in europe building custom 2652 sticks
If you transfer the network settings into your Z2M config file you'd likely only need to permit joins and reboot all of your routers
any reason to upgrade to conbee2 vs the conbee I have in a drawer?
Sure, it'll look good next to it in your drawer.
A light bulb (IKEA) stopped working today. On the logs, zigpy shows "Delivery error for seq # 0xb1, on endpoint id 1 cluster 0x0006: message send failure".
Any ideas why that is happening?
Have you tried powering the bulb off and on?
If you're using a TI radio you'll get a more verbose error message but I think EZSP only says "it didn't work"
no, because that'll probably solve it and I wanted to troubleshoot it first 😄
Is it a part of a group?
Could be the infamous EmberZNet stack lockup bug. If it response to group commands but not unicast commands and devices joined through it don't work, it's probably that
which network settings? I've been rather lazy on this first setup and did not configure anything explicitely
They're randomly generated
Z2M will erase the old network when you first start it up so at that point you'd be rejoining all of your devices
yeah, I see z2m has a network key
nope
that bug happened with ikea bulbs right?
Yeah, anything using the slightly older EmberZNet release
So all IKEA stuff and just about every other cheaper bulb
if IKEA weren't so slow in their updates (but then I don't know how they compare to other zigbee device manufacturers)
They are a thousand times better
probably zero updates vs. any updates at all :)
also seeing this one for that bulb:
Processing route error: status=EmberStatus.SOURCE_ROUTE_FAILURE, nwk=0x3db5
I guess its because the bulb is just silent so the stick can get a route?
when I started buying tradfri they were not zigbee 3.0 compatible, it was nice seeing all of them getting updated
just the old rotating dimmer was a dud
At the moment there's no super trivial way to extract your network settings, but if you upgrade to the dev version of https://github.com/zigpy/zigpy-znp#installation and enable ZHA debug logging, it will output everything, including your network key, on startup in a little chunk of text.
oh, ok
You can also install the dev version independently on a separate computer in a Python virtualenv, plug the adapter in, and run the energy scan tool with -v. It'll print out the same settings.
Without the need for a HA installation or anything else
probably easier than trying this inside the (ephemeral) docker container
do most people still prefer dconz or has zha made the take-over?
Do an NVRAM backup before using the stick with Z2M as well. Otherwise if Z2M does nuke your settings, you can always revert back to the same state you were in before trying. (https://github.com/zigpy/zigpy-znp#nvram)
rebooting the bulb fixed it 🤷♂️
oh well, if nothing works I can still repair everything
Maybe someone can assist me. I have an Aqara zigbee switch paired to conbee 2 dongle using the ZHA integration. My issue is the switch will work for a few hours then stop. I've looked at logs and I can't find anything. I thought it maybe a definitive switch, so I replaced it.... Same problem. I then tried paring it to a sonoff s31 thinking it's interference of some sort. Same thing.....
Is there any advanced logs that may shed some light on the problem?
Lol no pun intended....
It'll work. You just gotta copy over the extended PAN ID, PAN ID, network key, and the channel
What mains powered devices (routers) are in that mesh?
in hindsight I should've looked for a free channel first anyway
In that case the energy scan will roughly tell you how congested 15 is
I'm sure it's fine
yeah, gotta try out the tools that ship with zigpy-znp anyway, even if it's just to understand how things work internally
any way to configure IKEA bulbs to not turn on after power loss?
How can I totally remove a Zigbee device from deCONZ so I can readd it as though its a new device? For some reason the device is not functioning properly
Its a Samsung smartthings water leak sensor
How can i get a teckin smartsplug into home assistant?
Patiently waiting for the shipment to complete them.... https://imgur.com/a/oGjY6Lb
@sour shadow, I have 2 aqara switches about 12" away from each other as well as 2 sonoff s31 of equal distance from this switch.
Is there a way to get/read a cluster-attribute value through ZHA programmatically? I know I can set them programmatically, but can’t find a way to retrieve the values.
Thanks @amber gull. Can you elaborate a little more? Or maybe point me to the documentation?
The Sonoff are routers.
I am having the same issue, I have a hue motion sensor and a lutron aurora that work for a few hours then stop until I restart home assistant. I have 2 smart plugs that act as routers in between and they work no problem at all
@torn saffron Sure -- Send this
data: {
ieee: msg.payload.ieee,
endpoint_id: 1,
cluster_id: 0,
cluster_type: "in",
attribute: 5
}
``` to `zha/devices/clusters/attributes/value` endpoint
Looks like you can seamlessly migrate between ZHA and Z2M now. Nice work puds.
(at least at the coordinator level)
It's in the works lol. No APS key stuff at the moment on the zigpy side (not that anyone uses it yet) but cross coordinator migration will work even if you aren't switching, like cc2531 to zzh and back
Thanks Walt. I see I need to establish a connection to the web socket - given the fact we can’t use imports in Python scripts, this means I have to use AppDaemon et. al?
Has anyone opened a Elelabs stick? I'm curious about what's inside it since it is so small
The plastic case comes off easy but all you see is the antenna, all the guts are actually under the usb shield 🤯
Here’s a pic https://imgur.com/a/LlLLhDp
@torn saffron What are you trying to do? There are a few options from hass-cli, to the sqlitedb
does someone know if the IKEA TRÅDFRI GU10 led bulbs also work as zigbee repeater?
Yes
great, thanks!
And they provide a good range when compared to their plug, i am guessing this is due to the bulb being located in the ceiling
After setting a Hue light bulb’s power-on settings, I want to verify that the values I’ve sent have been set. For that I need to retrieve them.
I use 12 tradfri gu10 in my outdoor lights, but they are still connected to the outdoor light control, I should remove that and make them be powered 24/7
yeah, routers on the ceiling seem to be really good for a zigbee mesh
I just stick them everywhere, must be 60+ powered devices in my house now
my floalt 60x60 has taken a central role ;)
😂
I seem to be having a problem with one of my ikea 5-button remotes, I see the attached blueprint/automation being triggered 1-2 per hour by a zha_event. don't know if this belongs to #zigbee-archived or #integrations-archived but how could I log those events to see what they are and if it's really the remote triggering them?
this reminds me of anotherissue
I shortly tried listening to zha_event in the dev tools but that didn't show up (looks like the website stops listening after some time)
Well, it's a Zigbee thing, so here is the place - and if you read the topic over in #integrations-archived you'd see it directs you here 😉
I think others have reported similar behaviour - but I don't know if anybody opened an issue
it's only one of my three remotes btw
and I would first like to know which log areas to enable, without data nobody would have a clue if this is a hardware or a zigpy fault ;)
logging everything for a single IEEE might be cool
Reminds me, I have a friend who has been volunteering in IEEE for 20 years, I should get involved 
Not sure why it's named like that in the zha ui, still reading up on zigbee terminology :)
too bad my university course that included wifi and zigbee did not include any practical excercises with zigbee back then :/
Wifi was still quite emerging when I went to college, but we had dual 155Mbit lines to our dormatoires 🤣
Sometimes on my deconz log I get the message "Device TTL 3262 s flags: 0x7" Any Idea what this message could mean?
that's pretty smart and explains how they could fit it in such a small package! thanks for the pic
https://www.reddit.com/r/tradfri/comments/lfai7b/devices_locking_upnot_responding/
Let's try to get some attention from IKEA to the lockup bug? At least 1 official rep. from Tradfri usually replies on that sub
Interesting, none of my IKEA bulbs \ led drivers have issues
But I'll gladly upvote
Their official support account (https://old.reddit.com/user/TRADFRI) seems to be taking a little break for now
You can slide the pcb out of usb case
I thought as much.
Hello folks, I am brand new to zigbee and so I have just purchased a sonoff bridge in the UK and trying to integrate in HA using SonoffLAN integration, but I can't get it to work.
When going into the settings of the sonoff bridge, it shows current version as 1.3.0
I take it that isn't the latest version. Can anyone confirm this for me please.
I solved my issue with sensors and switches dropping off. When I looked at the zha mapping there were no lines going to them at all even when they were working and that when they stopped performance was slow on the UI. I flashed to a new A class 2 sd (turns out the one I was using wasn't even rated for applications) and now everything works all the time and everything is connected in the map. I dont know if your issue cause is the same as mine but it may be something to look into
@serene fable I'm running my HA off a VM.
My question is what do the numbers connecting the devices mean.
Link signal strength?
The "numbers" will have a name next to them, and possibly a unit of measurement
So, a travel duration of three seconds for my dog then...

In atx's bum
🐔
On the graph? I think they are LQI. They don't mean that much though, since devices calculate LQI differently IIRC
LQI is a reasonable indicator though, low values are bad, high values are good, other than 255
Slightly earlier post about the IKEA lockup bug: https://old.reddit.com/r/tradfri/comments/ldn2nf/firmware_problems/
utilizing ZHA: has anyone seen or know to what this error refers? I'm getting it repeatedly in the log.
ERROR (MainThread) [homeassistant.components.zha.core.channels.base] [0x4224:1:0x0202]: Could not set speed: [0x4224:1:0x0202]: Message send failure
it appears to be related to thermostats
hmm, trying out zigpy_znp.tools.energy_scan from git in a dedicated venv shows the same startup problem I also see in ha :/
zigpy_znp.api[8818] WARNING Received an unhandled command: SYS.ResetInd.Callback(Reason=<ResetReason.PowerUp: 0>, TransportRev=2, ProductId=1, MajorRel=2, MinorRel=7, MaintRel=1)
HA retries but the scanner will abort in that case
heh, and just starting it again works
ok people. I am having some issues with the aquara water leak sensor. I had it set up. Tested it twice and then it has not communicated sense. I am using a usb zigbee controller and the HA zigbee integration. Any ideas of things to try?
what is the LQI?
also, is it connected directly to the coordinator?
I am not sure what that is
check the Device page on HA. its on the top left
LQI - 255
What do you mean by directly connected. The usb is in my server which is running a VM box with HA. the controller works as I have a different temp/humidity sensor working with no issues
GoControl CECOMINOD016164 HUSBZB-1 USB Hub
you only have sensors? no lights/switches/plugs?
how are you testing that it does not communicate?
my lights/switches are wireless
in HA it was not reporting in for 36 hours and stuck on "wet" as the reading
I have since deleted it
removed the battery from the sensor
and placed it back in and tried to reset it up
This is the name of the sensor Aqara Water Leak Sensor
well... it just set up again..
I have two of those and they seem to be working fine every time I test them.
I have no idea what I did different
are you moving them away from the coordinator after pairing?
Ya I did to test it
it will sit about 6 feet away
Maybe I was holding the button to long
idk
what do you mean?
why are you holding the button after pairing?
ah ok
cause I was trying to get it to work again
leave it near the coordinator for now
I tried pairing 20 times
to see if it still misbehaves
ok
maybe a bad battery?
sensor reported the battery at 100 percent
when it worked the first time
these things seem touchy to me
That's nothing to worry about, it's just the coordinator saying you plugged it in
I should reduce it to an info message instead of a warning
hmm ok
Less scary
I now tried setting up zigbee2mqtt with the network settings found via the scanner, unfortunately zigbee-herdsman fails to start :/
Thanks for helping. Glad it set up. Hopefully it works fine as I need to stick it under my bathtub and put the floor back down 🙂
Did you convert the key from colon-separated hex into an array of base-10 integers?
yep, for both ext_pan_id as well as network_key
What's the error?
It could be trying to re-form your network if one of the settings is incorrect and failing due to existing routers using those settings
Which will only happen if it thinks the adapter settings don't match what's in the config file
well, I basically applied the values logged by the zigpy_znp scanner to pan_id, ext_pan_id, channel and network_key before starting z2m
I hoped that would be enough but it looks like the whole thing is in an undefined state now
Did you make an nvram backup beforehand?
no, forgot that :/
doing such stuff after a full work day won't work I guess, can't concentrate anymore
Error: Coordinator failed to start, probably the panID is already in use, try a different panID or channel
Yep, didn't like it
so start from scratch it is...
If you want to retain those settings unplug your routers and try again
If any of them is broadcasting with the same pan ID it'll refuse to form the "new" network
Hopefully we'll get migration working in the near future though
Or put your coordinator stick under a pot or something and cripple its antenna
ok, now it started but I can tell you that it's pretty dark in here right now ;)
let's see what a bulb will do
As long as you translated the settings correctly it should work. In theory
😢
when i want to pair the aqara humidity sensor to zigbee2mqtt so it doesn't connect
so either the scan used different settings than my ha setup or something else is wrong. and of course zha does not seem to work anymore either
Yeah, Z2M recreated its own network
ZHA does this only once and doesn't touch the settings on the stick if a valid network exists
If you run it again and compare the debug output you can maybe see if there's a translation error
Or if it's a Z2M bug when grabbing the extended pan ID
Or channel
going to give up on HA for now, this is way more involved than I had hoped
I have the same sensor and was holding the button to long when putting into pairing. Also, someone had a tip to press it every 5 seconds or so to keep it awake when pairing. I am not an expert but that or blind luck and mine was working.
on website it is written press 5 second for pairing

