#zigbee-archived
1 messages · Page 118 of 1
Where you see the 0xD0as? In your add-on log?
Maybe it's a bug to do with leap years / februari
@balmy ginkgo Deconz docker log.
Oh my log is clear of those. I did have to re-add (So delete sensor, add sensor) 80% of all my sensors today for some reason
in your circuit panel near the top or to one side there might be a bigger breaker that says "main" next to it. that's the button to power cycle all of them at once 😉
That's true. But then i'll power cycle the TV and there will be uncertain consequences.
For me there are consequences that are quite certain, namely my daughter getting annoyed about being kicked out of her class zoom
It's quiet at the moment. Our twins is 10 months today. I'll take all the quiet i can get.
@forest arrow I'm not sure with tasmota. I recently had a discussion with someone who all had the sonoff bridge witj tasmota so I know if you look it up it will tell you want the default channel is. But I couldn't find how you can change it
greetings all, so I am new to the Zigbee world and I was planning on using the Sonoff Zigbee Bridge flashed with Tasmoto to manage Zigbee sensors. https://imgur.com/2ytVTqi
Alright so i ran around and power cycle every connected Zigbee device i could find. Awaiting results.
I attached an image of my sensors as many of the batteries are going down quicly (only had these installed for less than 2 weeks) and a couple of devices are showing unavailable.
and now you wait... my network seems to take anywhere from 5 minutes to 2 hours to 'recover'
I was told that it might be due to the fact that I only have one connected device and all the sensors are battery operated
I've had the issues since about 8-10 hours back after i started up the Zigbee network again.
is it cold where you are?
not inside the house really, but outside yes, and in the garage where I have one sensor
that might explain the low battery number in the garage... what kind of batteries do they use?
Maybe this should be the time to migrate to ZHA. Hmm.
What are some connected Zigbee devices I might use throughout the house to allow for a better mesh network
anything plugged in
light bulbs, outlets, wall switches, etc
i think there's a tradfri repeater that's just a powered usb charger with zigbee repeating
or maybe its tuya? i can't remember
I went and bought some Energizers
The IKEA repeater is also more expensive than the switchable plug that takes up 1.5 spaces
bought locally? only asking because the energizer multipack sets i bought on amazon were crap chinese knockoffs
ah. should be good then
so maybe router devices are the right move. the switchable plug puddly mentions is a good option
i used those to fix my connectivity issues with my thermostats
Anyone got a link to a switchable plug to get me going down right path
United States, Colorado
is it this thing? https://www.ikea.com/us/en/p/tradfri-wireless-control-outlet-30356169/
i prefer the UK plugs... https://www.amazon.co.uk/TRADFRI-Wireless-Control-Plug-Socket-Lighting/dp/B07ND3FW9R
they have a better facial expression
Yeah, $3 cheaper than the repeater and actually does something
those still the annoying lock up bug
tube's router is 3X expensive, but 7X more powerful - https://www.tubeszb.com/product/cc_router/4?cp=true&sa=false&sbp=false&q=false&category_id=3
OK so more newb zigbee questions. Does this switch connect back to the Bridge or something?
It's just a part of your network, like any other device
A battery powered device needs a parent so if there's a mains-powered device nearby, it will likely pick it
So does it get an IP or is it visible through the Zigbee Bridge integration in Home Assistant. I know these are newb questions
Zigbee doesn't use IP addresses to identify devices but yes, it'll just show up after you join it to your network
Yes
ok
so I have a 1600 Square Foot house, how many powered devices would you all suggest if there is a suggestion
They're fundamentally the same thing, these just don't have to go to sleep like battery powered sensors because they're plugged into your wall
got ya
You can use the mapping function to build it out -- ideally you'd want something within 2 to 3 drywall-stick-built walls of every battery powered device
each IKEA type router can support 6 battery powered deviecs connecting through it
ok so probably ok if I put one in each of my 3 rooms in the house
maybe use them as remote power for my not so smart televisions
If you have a centrally placed coordinator that doesn't have poor range to begin with, you can likely get away with no routers
But if you need smart plugs, they definitely won't hurt
so when I use imagur it just puts a link but I have seen folks and the image shows up on the page, do I need to do something diffrent
different that is
nope -- just add or omit the file extension - https://imgur.com/2ytVTqi
Only some folks can post images in all channels
ok
Otherwise it'd be pointless to ban image posting 😉
I didn't read that that was a thing, so all good, can I ask if you all see the image when you click the link? it is a screenshot of my lovelace page with my zigbee sensors
Yes
Thank you
Two unavailable, others not 😉
but also low batteries considering only 2 weeks of use. a repeater that's closer will certainly be easier on the devices batteries if they're near the edge of signalling
A lack of routers could do that
the sonoff bridge doesn't have a great antenna
If they're spending all their time "shouting" at max power, that'll murder the battery
so probably adding some connected devices will let them shout a bit less?
yeah
Guess I need to go watch some videos on better understanding Zigbees
Any recommendations on some good resources for learning about zigbee's
Some batteries also start off at a high voltage and then stabilize to their steady state voltage after a bit of use
cool
What devices are these? Xiaomi?
Sonoff
And I am using the Sonoff Zigbee Bridge that is flashed with Tasmota
I am up for different suggestions
See #zigbee-archived message from the pinned messages
Personally, I'd suggest a Pi (or better) with Zigbee2MQTT and one of their recommended boards, or a TI LaunchXL board. Failing that ZHA directly in HA and any EmberZNet unit.
Funny, I have a pi laying around. Any references to how to integrate them?
I moved my HA to a dedicated PC
so I have 2 Pi4s sitting here waiting to be used
https://www.zigbee2mqtt.io/ covers setting it up. You "just" need a supported stick that doesn't suck (https://www.zigbee2mqtt.io/information/supported_adapters.html)
My HA is in a virtualbox on my PC
OK looks like I got me some reading to do today.
~karma
~help
@sour shadow any recommendations on a stick that does not suck? I am planning on using these sensors as my security system so reliability is key
OK cool, you said that, I mis read it 🙂
i think all the sticks suck
but i might be in the minority on that
well, all except the ZZH or slaesh which are both too out of my comfort zone for price on a usb stick
@old kernel so what would you use if not one of the sticks?
Both of those are good, and the LaunchXL boards are good
The CC2530/31 sticks are just utter junk
What's left if you exclude the ZZH and Slaesh's stick? The CC2531?
definitely don't touch 2530/31
There are the SiLabs coordinators
that's what's in the sonoff bridge, isn't it?
Yeah
So then the sonoff zigbee bridge is not the best choice
i would just get a couple repeater/outlets and call it good
Sonoff bridge is fine if you have a strong wireless network
Otherwise it'll work poorly
the sonoff bridge flashed with Tasmota is what I am using
My network is pretty good in the house
I thought that Zigbee did not use wifi
the sonoff bridge goes from wifi to zigbee
right
so it needs a strong connection on both
I got one of those and the one sonoff is selling. Mostly to test play around but they are that bad?
ok, hence the probable need for some remotes
2530/31 is fine as a router, maybe as a sniffer device too if they have firmware for it
So chances are if i buy a remote switch to put in my 3 rooms they will improve my zigbee connectivity
?
i wanted some zigbee devices at my summer house. So not a big house and not that many devices so was hoping they'd work well enough for that use case
Router devies have to be main powered (always on)
i have a conbee2 and the range for mine is about 30 feet in open air, 20 through a wall...
I have the conbee2 works very reliable in my (concrete) house
ok going to order a switch and test that out
i think zigbee just isn't great at super long runs without repeaters
zigbee bulbs are also good options
usually near ceiling better for signal travelling
true
rather than a switch which will be in the wall and not high at all
just don't turn off the switch that powers the bulb or the network goes down 😉
let me go look at some bulbs as I was going to order some anyway
I had that problem lol
I removed the wall switch .That fixed it 😂
well that might be a problem
after you find interesting bulbs also check they are supported by your device/integration too
are you using tasmota as tasmota or are you doing the ZHA -> tasmota serial interface thing?
It seems like not all zigbee devices can talk to each other. Apparently, Xiami devices and IKEA repeaters have trouble:
https://www.troyhunt.com/iot-unravelled-part-2-ip-addresses-network-zigbee-custom-firmware-and-soldering/#extending-zigbee-range-with-repeaters
this is also interesting to read through
https://community.hubitat.com/t/xiaomi-aqara-devices-pairing-keeping-them-connected/623
No, they don't have any interoperability issues
I believe Troy is all new to the smart home stuff, and being guided by a friend -- hence his write up
I definitely have issues with my Xiaomi door/window sensors
My entire network is Xiaomi + IKEA and I've had zero interop issues in years
Same here. Until today.
@old kernel I just flashed it with Tasmota based on Youtube from Digiblur https://www.youtube.com/watch?v=dC1AEyFhmnc&t=917s
that would be tasmota --> ZHA with the serial
This whole Zigbee and other protocols is very new to me. Guess there is quite a bit to learn.
I am an IT guy by professions but I do routing, switching and security so only ever really got involved with IP Based networks
I thought the purpose for flashing it with Tasmota is so I could use it without a cloud account right?
All that firmware does is expose the Zigbee chip's serial port as a TCP server
Hey, @tropic depot , is there anything we can do to help with https://github.com/zigpy/zha-device-handlers/issues/316 ? I have that remote control, but I only have one USB stick (connected to my main HA), and zero experience developing for zigbee or HA.
Hello, I have really problem with pairing aqara cube do zigbee2mqtt 😦 I click and move it but nothing happend - any adwice ?
I'm pretty sure the cube has a pairing button inside where the battery is
yes i click on it as there in documentation@hardy crane
but nothing happends i'm by coordinatoer and have 2 routers nearby. With xiaomi gate v3 worsk ok
Pairing sometimes it's just trcky
yup, but i click on pairing button and move it arround
i try to move a battery for a while
that's not a factory reset
Pairing #
Press and hold the reset button on the device for +- 5 seconds (until the blue light starts blinking). After this the device will automatically join. If this doesn’t work, try with a single short button press.
does the blue light start blinking?
yes
then i click it in this button ane move it arround (to make device to send message)
did you hold the button for 5 seconds and the light started to blink?
i've only seen the cube on youtube, looks neat, no idea how to pair it or diagnose it though
Does the blue light blink brightly or is it faint?
after 5 sec of holding is blink 2 times
I have it but I can't remember if I had issues or not
try 10secs? 🤷♂️
or a different battery as well
Is tubes router also affected by this: https://github.com/Koenkk/Z-Stack-firmware/issues/267 ?
We haven't been able to reproduce it yet, outside my network, so not sure.
I'm not using his router, I'm using a ZZH, but I believe the behavior would be the same on my network
I would like to put a zigbee button on my porch to use as a doorbell, basically. If this device was stolen, how much of a risk might that present to my networks?
i think it would require some pretty specialized tooling and knowledge to extract the network key from the button
The thief could come back and ring your doorbell from afar
I add a xioamia gate v3 as homekit controler. I must reset HA to see devices added to it in xioami home app?
Yeah, a lot of chips have read out protection so unless your thief has access to some fancy hardware, you're gonna be fine
a rock stolen from the yard would pose a lot more risk
He'll probably even think it's a 433Mhz button and won't even bother
the time there is risk is if someone puts a sniffing device nearby your house while you're adding a device. even then i think it's minimal
BRB gotta build a faraday cage to do all my pairing in now
I think you've all convinced me ... I'm going to do it. It's going to be so good to not have the dogs losing their minds at package deliveries
Xiaomi motion sensors in the front yard, smart lighting, screams -- candy floated down from above the house being held by that skeleton
love it!
worked pretty well for a socially distanced halloween 😆
epic
also had a robotic lawn mower wandering around the yard as another skelton
Just upgraded zigbee2mqtt to 1.18.0-1 (from 1.17.1-4) in Home Assistant. I received an error during the start: "Missing option ota in root"
I opened the configuration and added to the bottom:
ota: update_check_interval: 1440 disable_automatic_update_check: false
Now the add-on starts again.
Just got a Conbee2 stick to add my first zb devices (a xiaomi temp sensor and a sonoff diy smart switch) at home.
I don't understand the difference between ZHA vs Deconz. What is recommended? Easiest to manage?
I am using Hassio in a Virtualbox if thats matter.
Just remember most buttons are designed for indoor use only, they will probably break with rain, extreme temperatures or prolonged exposure to sunlight.
That's a good call... I am thinking about the ikea shortcut though ... amazingly, it seems to have silicone gaskets inside
@tropic tree maybe it's a better idea to put a reed switch near the coil of your analog doorbell. That way you can integrate it with HA.
unfortunately i need more than one
Just to warn you, I've heard (many) issues about using ConBee + VirtualBox.
Regarding, ZHA vs deCONZ: I prefer ZHA but it's your choice. I wouldn't use zigbee2mqtt with ConBee yet, as it's still experimental. (But I guess you can try it too)
I've done that. A reed switch (recycled from a bicycle speedometer) with some wires connecting directly to the RPi GPIO. Works well.
I could have also tried to put a door-close-open-sensor next to the coil, as internally it contains a reed switch anyway.
Why more than one?
Essentially my entire idea is to have one doorbell that is silent so that people delivering packages can press that one instead and not freak out my dogs
i rewired my dumb doorbell with an ESP. the wires from the doorbell itself just short an input pin, then the ESP rings the doorbell with a relay
Thanks! Then I go for ZHA to start.
I don't use mqtt at the moment
Deconz is the proprietary software that can communicate with ConBee. You might need a VNC client to configure it. HA would then talk to Deconz just like any other bridge/gateway (e.g. Hue brige)
ZHA instead has everything integrated inside HA itself. I'm running that way, and things are quite straightforward. (There several improvements on the ZHA UI in the past couple of months.)
if it's on silent, it doesn't ring but instead sends a notification
@soft mirage just check https://zigbee.blakadder.com/ to see if the devices you want to use are compatible.
Although most normal devices (every Hue light, every IKEA light, ... for example) is compatible. Z2M needs explicit support and ZHA works if the device follows spec.
If it doesn't follow normal spec, ZHA quirks are written.
And how difficult is it to write such quirks? Because I would like to integrate a ZYCT-202 remote with my HA.
Actually, there's already an issue on this: https://github.com/zigpy/zha-device-handlers/issues/316
It looks like the remote is programmed in a very weird way.
I have that remote. I was using it by talking directly to a few lamps, but a couple of weeks ago it decided to forget everything. So, I'd like to pair it with HA, so that I won't need to do the whole turn-off-on-off-on-off-on-dance again with each lamp.
It's already possible to pair with ZHA. I'm not sure how good it works though (according to the GitHub issue)
You can also try listening to zha_event
I guess you can also directly bind it to a light while paired with ZHA(?)
Greetings again folks, quick question of the day. I have the Sonoff Zigbee Bridge (flashed with Tasmoto) with many sensors throughout my house and folks earlier mentioned that I need some connected zigbee devices to create a mesh which might help me keep my sensors available and the batteries from dying so fast. I was looking at some powered devices I could use but not sure how to tell if they will join the mesh network so figured I would send the amazon link and ask the experts. https://www.amazon.com/SONOFF-Zigbee-SmartThings-Amazon-Needed/dp/B08GKK89QQ/ref=sr_1_6?dchild=1&gclid=Cj0KCQiAvvKBBhCXARIsACTePW-iFbieGzXvZ3le7gcVXdfT7_ZpsZfest0rMmEGlkvDmo9ERDHfoHsaAgi9EALw_wcB&hvadid=407787075270&hvdev=c&hvlocphy=9029029&hvnetw=g&hvqmt=e&hvrand=3827256992077119692&hvtargid=kwd-474383170223&hydadcr=25592_9902616&keywords=sonoff+zigbee&qid=1614632049&sr=8-6
I just paired it to HA and tried listening to zha_event. It seems none are fired. -_-
Do you see an entity though?
In the GitHub issue, it was mentioned that it exposes itself as a switch/light
Yes, it is behaving like that. One entity that is a boolean switch. Pressing ON or OFF on the controller indeed toggles the state of that entity. And so far that's all I saw.
😫
OK, so ZHA mess with me.
"Cant connect to ZHA device"
Enabled logger, and got this:
Anyone who can see what is wrong?🙏
Please post the log on https://paste.ubuntu.com/
holy codewall
rip bot
.. and delete the long message in Discord
ofc, sorry
As mentioned, there are issues with VirtualBox.
You don't have the deCONZ addon installed, right?
Ah 😦
When I search for recommended ZB stick it was almost always Conbee2 that was recommended.
It's not a bad stick
It is installed, but not started
As long as the addon isn't started, you should be fine.
No, I got it wrong, I uninstalld deconz add on before install zha
Yeah, you don't need deCONZ anyway (when you're using ZHA)
Also, is the stick connected through a USB hub? I'm not sure if hubs can provide enough power. (This is just a wild guess.)
Does VirtualBox "mount" the stick at boot or did you "hotswap" it while HassOS was already running?
Assuming the cable is good quality, that's great.
In virtualbox gui i assign what usb devices that should be used by Hassio VM.
Using an aeotec zwave stick in the same way without problems.
Otherwise, you don't need the extension cable to get the stick to "work". However, without the extension cable it will be under too much electromagnetic noise and the range will be compromised.
The fcntl.ioctl(self.fd, TIOCMBIC, TIOCM_DTR_str) call failing with BrokenPipeError: [Errno 32] Broken pipe seems like it's a lower level issue
And not a just a regular serial communication problem
Sorry, I don't understand😪
It's probably an issue with you using VirtualBox.
You're using it on a Windows host machine, I guess?
Yes. took me forever to set it up with usb passthru and vm to start as a service on boot🤪
I guess it's not possible to switch to something else (preferably bare metal or a Linux hypervisor)?
Not sure what other VM software is compatible with Windows
I guess VMware works but that isn't free (?)
Virtualbox is your best bet to run a VM on windows, except for hyperv, both are terrible choices
And running a production system on a VM on a desktop is a horrible idea to begin with
Get a old laptop, or minicomputer, run Debian and #449717345808547842 or if you must #330990055533576204
It will be better on all accounts
one of the hp/dell/wyse thin clients plus the nuc hassos image got me running in about 10 minutes
Mostly any computer from the last 10 years will be an upgrade from a pi or an odroid
Nah, if HA will stay it needs to be able to run in my win10 "home server" somehow. (Linux is scary as hell😉 )
If it just is the conbee stick that has troubles with Virtualbox, anyone have a recommendation for another zb-stick?
Just tried the deconz add-on again, and the addon config find my usb device, but when in when open the web ui the connection seems lost so i guessing sam problem as with zha.
But in the web ui, i understand it as deconz connect to HA integration thru ethernet as I need ti add ip/port?
If so, can I run Deconz on windows Host and just use the integration in HA?
you could use a sonoff zbridge with tasmota, that works completely over ethernet...
or even run a usb over tcpip driver in windows and access it from zha
Agreed, the problem is not to get HA up and running. There are countless guides to run HA on basically anything anyhow. The problem is when you actually tries to connect stuff with HA and use all integrations/add-ons. Very few guides mention much about it.
usb over tcpip for my conbee stick?
yeah, if you really can't get your virtualbox to pass the usb through
well, i assume it pass thru all right. the device/port is visible in HA.
ah okay. i mean, it looks from the log like it can't connect at all... weird.
huh, interesting. zigbee locks support a user type "non-access", which will just send events and not actually unlock/lock the door. could set up a code that just triggers arbitrary HA automations, like an arm/disarm alarm code or something.
Like events in response to them being unlocked?
yeah, at least that's how i read it. i haven't tested it with my locks code yet
I get zha_events for lock/unlock with the user code slot now, and there's a "Non-Access User Operational Event" in the spec
So the CC2652RB stick is back in stock over at Slae.sh .... their main contact method is Telegram, on which they have logged in within the last month! Jesus.
@old kernel coerced lock open is actually in the zigbee zcl spec
what does that one mean?
A code to open the door but signal you are being forced to
oh nice. what section is that in? i can see if i can implement it while i'm in here
ah i'm looking at the 2019 zcl spec
Page 5, june 2020 spec
that's just a release notes, which don't actually say what the values are 🙂
based on how it is described, it would be something that would work with what I've already written.
we could also do it without following the new spec just by setting an alarm event on a specific user code and giving everyone who's coming in two codes
"just add 10 to your user code and it will set off a silent alarm when you are allowed in
Right, just thought it was cool. Haven't dug up the official spec
Lots of it is public, but not sure on that doc
What are you writing?
door lock stuff. events w/user codes, set code slot, clear code slot
it appears the official 2020 spec is not public...
I think if anyone has $15,000 we can join the zigbee alliance 😬😂
i've got my $5 contribution right here
Let me throw my IRA into gamestop stock, I got this
someone mentioned buying me a beer when i finished this lock code, that's probably at least another 4 bucks
You're working on it for ZHA or z2m?
ZHA
@sour shadow I apologize for disappearing for forever, but I do think I have one brand new zzh! still available. I also have another one that I assembled and tried using as a router for a while, but ended up disconnecting it and setting it aside.
Also, I have not pursued further the idea of selling them here in the US. 😦
Mmmm....maybe? I will admit, though, that a part of it has involved watching the MCU movies in timeline order.
Nice 😂
Now watch all episodes of Days Of Our Lives
Having no experience with Deconz, what you propose sounds plausible. If you can run Deconz "natively" under your host Windows OS, you should be able to add Deconz to the guest HA by host and port. It's worth a try if you want to continue your current "everything under windows" setup.
So i'm moving from Deconz to ZHA. What's the best way to control groups of lights/single bulbs with physical remotes? Make an automation for each remote combo?
I like node red for this. I was able to migrate from z2m to ZHA and keep all my flows and automations.
Yeah i dont use Nodered atm. So best bet is to go for automations i guess?
Sorry but I never used them. I started with node red at the beginning so it's always my go-to. Transferring data to and from Lovelace is a little clumsy but it's worth it for node red's logic and power
You may find that you can use Zigbee groups and binding to do this
I could in Deconz at least. Can i do that in HA as well?
Well, in ZHA... no idea, I don't use it
I'm pretty sure it supports groups
Documentation however is ... thin
Aah. Groups yes. But control a group with a remote without an automation.
Binding would be the way
Aaaah. Might need to read up on that. Thanks!
a question....conbee 2 or CC2652R ?
without context? CC2652R
If you're using deCONZ, Conbee 2
If you're using Zigbee2MQTT, CC2652
right now i need to figure it out what is the best to get Zigbee large groups of bulbs without lattency
and if using ZHA?
Eh, they've got their own weird world, but from what somebody else said the CC2652 (or similar) is still a great choice
Any ZZH! users running the latest zigbee2mqtt docker image successfully? (1.18.0)
Those of us in slaesh-stick-land seem to be having issues, would be interesting to know if the other noted CC2652 flavor favored any better
And yes, obviously sensible people skip x.x.0 releases, but some of us like automated pain
Greetings folks, so if I have some zigbee sensors that are showing unavailable, will I have to manually reset them or will the system pick them back up? Using Sonoff Zigbee Bridge (flashed with Tasmoto) and have ordered some connected devices since I think my main issue is that all of my devices are battery operated sensors
@sour shadow thanks for the conversation yesterday, ordered a couple of remote outlets to see if that helps the battery operated sensors
They may just pick back up. If they don't you could try just moving them close to the controller until it shows up then back to where they usually are, or just poking the button once to try to get it to wake up.
@old kernel do you literally mean just put the pin in push the button and release or so I hold it to reset?
First WIP porting EZSP to z2m is out: https://github.com/Koenkk/zigbee-herdsman/pull/317
ooh that's exciting
finally be able to check out z2m without having to buy another coordinator (or realistically, just not being able to try out z2m...)
i'm using a plug-in switch as a router/repeater, but had issues with downstream connectivity once i plugged something into it 🤷♂️
Perhaps a (switching) power supply that causes interference?
very possible
@mellow geode https://github.com/zigpy/zigpy/issues/679 -- trying to follow this but I can't
OK I just readded it and all good
i think the wakeup depends on the device... in zwave, whatever is done to "join" is 90% of the time the same button sequence to "wake up"
that's... a lot of words...
Huh, I never even considered that poll control cluster could control the polling rate of end devices
I wonder if the Sonoff sensors can be configured
That does seem interesting, but I agree that it's very hard to follow
I think he's saying that some glitch with some specific version of EZSP coordinators leaves sensors stuck in fast poll mode?
(which seems very useful for device discovery and initialization/binding)
that glitch was supposed to be fixed in 6.7.8
is that something that would affect sonoffs also?
It seems like something you can see with a sniffer and my experience with the motion sensor and the temp sensor has been the exact opposite, they poll only when they report attribute changes
root issue with ikea sensors is they get stuck in short polling mode and will kill the battery within a few days
ah
does anyone know offhand of why a command might be parsed by zha but no event emitted? i know i've asked before but at the moment im having to stick manual self.log statements around in production code to try to see where messages are failing, and fundamentally i still can't see where the decision is made whether or not to trigger a zha_event (and whether it's a decision or something else entirely!)
not really sure what you are asking
zha events aren't generated in response to commands... meaning you don't get them from issuing commands on clusters from the UI or via services
what are you actually trying to do
So i just moved from Deconz to ZHA with just over 60 devices.
Getting this error on an automation
"Error executing service: <ServiceCall light.toggle (c:ec5e10e227a68e034e6ff762abd3c66d): entity_id=['light.group_vardagsrum_tak'], params=>[0m"
https://pastebin.com/GbZjASZ9
Also some "Updating zha sensor took longer than the scheduled update interval 0:00:30[0m" in the log. Something i can do?
Yes i was imprecise with my wording. It's in relation to https://github.com/zigpy/zha-device-handlers/issues/795, where I'm trying to build a quirk for a device which sends messages which are received and parsed when e.g. i turn a knob, but which never generates zha_event. I get state_changed when i push either of the buttons but even then no zha_event. Just trying to figure out if it's the quirk, the device, or what. Any help very gratefully received, thank you!
what cluster gives you the report?
6 (on off) and 8 (level control) as long as they are "output" clusters will automatically relay things as events...
6 gives me state_changed
Half way throuh the PR theres an example 'step' command from level control
I get a "no handler", then a message that a step command was received, but no event
Some time later i get an attribute update which always gives 'current_level' as 254
Yeah i fixed the battery but havent updated the PR
Would love to help debug if you have any suggestions. I've just been struggling to see how all the different sections fit together etc
where are you looking for the events?
And therefore my efforts are a bit scatter-gun. There are debug statements in lots of places now!
are you using the event tool in the UI in developer tools?
Yes, it doesnt give me anyrhing back frkm this device, even listening to *
Ive been looking in core/channels/base, and in device_trigger (mistake!) amongst others, to no avail
the only thing I can think of is that the device is actually reporting from the "input" clusters
which would be really weird
The z2m implementation (linked at bottom of PR) omits all input clusters and apparently works
you can define a custom on off and a custom level control cluster like this
then in the input collections use those
on the replacement
that should cause them to auto relay messages as events
literally just empty subclasses which derive from EventableCluster and the appropriate original cluster?
thank you! I will try this as soon as I get back home (no external access or I'd check from here...!)
fabulous, thank you. i have tried to bind the device directly to some lights to no avail, though in fairness i haven't managed to bind anything to any of my controllers thus far so that might be my problem, not the device's
does this mean the device is somehow responding non-standardly? I was just surprised to see the messages coming through without the associated events
What is the full error message you get about no handler?
When I was working on locks I found that the events were actually coming in as server_commands instead of client_commands.
(which matches the spec, the info in zigpy is wrong)
this is what is happening here too i think
but in this case
the device is a remote meant to control other devices
so they should be client commands
the lights that the remote would control would implement the server side... for on off and level control
that said... I didn't dig in too much. Just a very quick peek at his issue
OK so I put one of the sensors that was showing as unavailable right next to the sonoff zigbee bridge and not only is it active but the value of the battery life is going up. So I can't want to get the connected outlets so I can have a mesh network throughout the house.
the error is simply from zigpy.zcl: 2021-02-27 22:57:46 DEBUG (MainThread) [zigpy.zcl] [0xf17b:1:0x0008] No handler for cluster command 2
(and also, cluster_commands don't automatically generate events, only global commands do)
Anyone know if I can pad the sensors that are in colder areas, like in the garage to keep the battery life longer?
which i was confused about - it seemed there was no handler bound. what you are saying about client vs server makes sense. can we square this with the z2m implementation?
what cluster is it?
6 and 8
6 and 8
both?
shouldn't those both be state changes, not events?
ah k
i'll try it and update the GH issue
thanks for your help both of you
really grateful
it's nice to have some direction even if it doesn't work!
taking me a while to try to wrap my head around the ZCL library, zha, and zigpy all at once...
Folks does the mesh with connected devices happen natively or do I need to do something to make it work. Meaning will the battery operated devices automatically just talk to the connected device closest to them?
I am getting some connected devices in so I can make better use of my battery operated sensors so doing some pre research for when they get here
zigbee devices will (should) automatically learn neighbors and connect through them. Might have to power cycle if it doesn't happen.
Might not be immediate.
my idea of a solution i think would not be appropriate for the levelcontrol or onoff clusters... would likely end up in events being fired any time a real switch updated state.
this will just relay everything
so using extensions of this that extend the appropriate bases will just turn them into dumb relays
yeah that's the right way
there will be other things to work out after if this works to prevent entities from getting created... this will lead to some potential binding issues too... we'll see though
At least one zzh! User hit in the github issue thread. All beware: https://github.com/Koenkk/zigbee2mqtt/issues/6517#issuecomment-789130380
@simple sentinel It's probably just the RTS/CTS being pulled high and triggering BSL/firmware upgrade mode?
Due to the updated serial port dependency?
Apparently. One dude says there is no issue on his MacOS rig, only on Linux in prod
are you ZZH or slaesh stick?
I am on slaesh, but I made it back safely to the previous safe version
Just putting the word out
out of curiosity, usb-Silicon_Labs_slae.sh_cc2652rb_stick_-_slaesh_s_iot_stuff_ ... is there something Silicon Labs about it? I thought it was a TI chip?
Same RTS/CTS shouldn't affect ZZH, so root cause is probably something else
Slaesh uses a CP2XXX (totally drawing a blank) silicon labs serial converter
I believe you can cut your RTS/CTS pins if you don't want this feature https://slae.sh/projects/cc2652/#cant-get-any-serial-debug-messages
Can't wait for the network formation rewrite to be merged into Z2M
Unscrewing the antenna and putting the coordinator under a metal pot is fun though
I'm not sure what the pin state needs to be on startup but I do recall with zigpy-znp, the adapter needed the 200ms toggling of both pins on slaesh's stick to work
Maybe it's the explicit transition from the "high" to the "low" state that needs to happen, so that RTS is off before communication happens
But Z2M I think does that three times before giving up. I wonder what the actual bug is in that updated dependency
1.18.1 has been released, hotfixing the serial issue. (not sure if it's actually solved or just deferred)
They downgraded some dependencies (serialport)
frontend has been jazzed up (not sure what I think yet), a bunch of new configuration options in there, and it renamed a couple of my devices, causing some hickups with lovelace and my automations.
Will lookup whether there is a GitHub issue going for that, but my environment is so small that I can just change the names back
this works fantastically, thank you
^ that was supposed to be a reply to this!
Hi! Sorry for the block of text.
I've got a Conbee ii that I've passed through to Home Assistant via Proxmox, and am having issues pairing an ST218 and a pair of Sonoff S31's. I've manually updated the stick to the latest firmware. Logs show no handshakes or any other signs of connection. The issue isn't with with my fundamentals so to speak, as I have successfully paired a Sonoff SNZB-02 and a Philips Hue bulb. I have tried various combinations of USB Port vs Device passthrough, in different ports, with and without USB3, with and without a USB extension cable, and with various levels of (non-) security via Deconz.
I've explored using both Deconz and Zigbee2MQTT, neglecting only ZHA in the belief that it isn't likely to signifigantly differ from the other two methods. I've ensured that pairing is permitted, tried channels 11 & 15, and even the funny dance desccribed here (which was neccessary to get the SNZB-02 to pair in Deconz, but not needed for Zigbee2MQTT):
https://old.reddit.com/r/homeassistant/comments/guwmbj/zigbee_integration_devices_appear_in_deconz/gabd4ih/
The Sonoff SNZB-02 and a Philips Hue always pair without any other issues.
Frustratingly, I recall at one point (now several days ago) getting the ST218 to show up in Deconz's VNC interface, and am fairly sure that had I pulled the 'Read Descriptors' trick described in the Reddit post I'd have been able to pair it, even if it was as an unsupported device or some such.
I'm at a loss as to why half my devices pair just fine, half appear dead as far as Deconz and zigbee2MQTT debug logs are concerned, and one (ST218) was able to pair before and can't now. I wish I had a Zigbee sniffer to sort this out further, but don't belive the Conbee can do that?
I haven't got much time atm from debugging this all morning, but if anyone knows any common tips a la. the USB extension cable that I haven't mentioned here, I'll be coming back and would love to take them as leads.
I've spent most of my time with zigbee2MQTT, and will be exploring deconz's debug log levels and settings in greater depth shortly
After enabling debug logging and restarting Deconz, the ST218 now shows up again as 0xDFB1, but isn't paired like it was before, just appears as a dead node and still gives an error when attempting to pair :c
The logs themselves are pleasantly verbose and configurable, and I see no mention of either 0xDFB1 or it's longer address, though some channels are hard to follow and I would love a way to save these logs to disk and search them.
you've re-paired as you switched between implementations?
deconz on zigbee2mqtt is tagged experimental so i wouldn't rely much on that
also how far from your stick are your devices?
Yep, re-paired, re-started, both individual implementations and the host itself on good occasions. And while I'm still listing off things I've tried, yes, I've been using the right /dev/serial/by-id address
And noted, there was just a long and helpful thread on their github showing fairly strong support regardless of the label
no more than ten feet, but since adding the extension cable I've been able to try the smar plug right alongside the conbee, just can't move the wall mounted header :p
Plugs being the S31's
Thanks for asking ^u^
what is proxmox?
Hypervisor; I'm running home assistant via their OS image in a virtual machine. Excluding freak power/sleep issues, I've basically ruled out pass-through issues at this point as I've got functional devices.
i have a conbee2, running on a thin client, with a 2-ish-foot extension cable. zigbee2mqtt worked sort of but devices went missing and it couldn't control my thermostats properly. Deconz worked but wouldn't control my thermostats at all so i switched to ZHA which has been a lot more reliable. if you're spending all day flipflopping around, couldn't hurt to try yet another option? 🙂
which firmware did you install?
I'll be sure to give it a spin, thanks c:
https://deconz.dresden-elektronik.de/deconz-firmware/deCONZ_ConBeeII_0x26680700.bin.GCF Nov. 30th 2020
ZHA is pretty smooth, but is left in the same state as the other methods; pairs just fine with the light and the humidity sensor, but shows no sign of the heater or smart plugs. All things considered, I like Zigbee2Mqtt the best as it has has best debugging experience and clearly supports custom devices, though I've no doubt Deconz matches it once you get to know it.
Thx for the input
Slaesh cancelled my abundant order luckily!!
This makes me think the end devices are not resetting fully and aren't actually trying to pair
I've just got a load of Aqara D1 switches, they're great. Working with z2m. However I'm struggling to get legacy:false and where to set this. I tried adding to z2m's configuration.yaml, however I guess it's overwritten by the devices.yaml?
Ah the configuration.yaml was overwritten when I restarted z2m... that's useful
Managed to add it to the devices.yaml. Not that it makes any difference to the functionality of the switch whatsoever 😂
Assumed it would then allow the single double triple press etc, alas no.
@heavy latch I have used some aqara switches with dual triple quad presses in the past
But that was the older models, but with z2m
I'll check the others, I've got about 15 switches here of various configurations. Now I think it's just the wireless remotes that do double and triple etc, which is a shame. You have any idea what the legacy:false is about? Seems totally pointless and there's no documentation anywhere!
anyone has livolo switch integrated in ha? cannot find alternative for a switch beside that
are dconz and zigbee2mqtt mutually exclusive?
what does that mean?
only 1 integration can use a zigbee coordinator at a time
Hello Community. I dont know to ask in integrations or in devices. I will do it here. I would like to know id Sonoff CC2531 stick works plug and play with ZHA or only with Zigbee2mqtt? Thank you!
Or need any flashing or something
https://zigbee.blakadder.com/index.html is pretty good at telling what's what for devices
Banggood apparently sells one that Comes with a CC2531ZNP-Prod firmware, it is a ready-to-go CC2531 USB dongle for ZB 2mqtt application.
CC2531 doesn't have a very good rep on these channels though.
Good for testing, but you'll outgrow it if your network gets too big
By too big, anything over a handful of devices 😛
So:
Automate a room? CC2351
Automate a room + your broom closet? Something else
I've never tried one, so no first hand experiences
There are quite a few people who use them happily. I'm guessing they have like 5 devices all within 20 feet of the stick 😉
And may they live their blessed lives in peace forever
Simon Hoy who does the very good Home Sight channel on Youtube has used a CC2531 a long time with a houseful of devices. My experience wasn't so good, although I never properly diagnosed the issue. Life is too short when the alternative cost £10
Standard family home, but it seems everything is automated, although not all with zigbee. He has a lovelace floorplan tutorial where you can see it yourself
Down the rabbit hole for me then 😮
Lovelace Floorplan video looks fun
what alternative is £10? everything i've found is far more
Price of CC2531 + £10?
OK so weird question and I am deep into trying to research but was wondering if using zigbee2mqtt is better than using Sonoff Zigbee Bridge(flashed with Tasmoto) for reliablity etc...?
zigbee2mqtt is control driver software, sonoff zigbee bridge is a coordinator, so you can't really compare one to the other. sort of comparing apples to knives
unless you are running the sonoff bridge with tasmota directly, but i thought you were using it as a wifi/serial/zigbee bridge, with ZHA as the control driver software
Hi everyone. I have successfully got stuck at the last stage with integrating my tasmota zigbee bridge - tasmota is working but the moment I type socket://IP:8888 and change the board speed to 115200 + enter it comes up with red message "failed to connect"... I am ready to reinstall my HA for that... has anyone come across similar problem?
Are you using tasmota as a coordinator or for serial over tcp socket? Which firmware have you loaded on it?
Floorplan is very pretty, I love it, even if I barely use it 😄
Yes, can't really see much of usecase for it at my house, but I respect the effort and love that it's a thing 😄
this is a few months old, but it mentions two different firmwares, one is for HA, one is for zigbee2tasmota: https://notenoughtech.com/home-automation/flashing-tasmota-on-sonoff-zigbee-bridge/
gotta make sure you're using HA firmware
I have the sonoff zigbee bridge (flashed with tasmoto) and connected to Home Assistant with the Zigbee integration.
hi so i have a zigbee device that apparently supports press and hold as a trigger but it only works for 2 of the buttons. the other 3 do have events that fire when you press and hold but the pre done triggers do not work. of those 3 2 of them work when i use the event trigger but one fires the same event when you start the press and hold as it does when you just tap it so it also triggers the single press automation. is there a way to get around this so i can use the press and hold?
sonoff Zigbee Bridge / Tasmota Program Version 9.2.0.1(zbbridge)
right, so what you need to compare is zigbee integration against zigbee2mqtt. There are people that like both, for different reasons. I prefer the zigbee integration and have started to contribute to it.
@forest arrow - that's what I am trying to do but I have a small fraction of your skills guys
My main concern at this point is reliability of the equipment to act as a security system.
some people will say that zigbee (and zwave) don't make good security systems no matter what you use... i think you should be fine with what you've set up
I don't mind doing the legwork and getting my hands dirty in HA and such to get it all configured but just want something that I can rely on. As much as I disliked paying for a monthly service through ADT in my old home, I was happy with the reliability. I mean the most I had to do was change some batteries in sensors every year or so
Let me be patiend and wait for my connected devices to arrive I guess
patient
home assistant is great for tinkering. tinkering is liable to break it. if you leave it alone, it should just work i think.
see if that reduces the UNAVAILABLE devices from happening
yeah. my thermostats would go unavailable a lot before i added the outlet repeaters, they haven't gone unavailable once since i did
I reset one of the sensors in my living room yesterday and I put the bridge on the counter that is about 15 feet away and this morning the sensor showed unavailable again
it is a window sensor
ok that is good to know
thanks @old kernele
i hope they fix your problems
but from what i have read the sonoff zigbee bridge might not have a great coordinator chip or whatever it is called
the EFR32 isn't a bad chip. maybe not the most powerful, but not the worst either
good to know
Let me get the repeaters in and see how it goes
if it works, might just get one for every room in the house even though I do not have a reason for smart plugs in some rooms, I will really just use them for the zigbee repeater functionality
So one more question for you @old kernel in HA I go into the integration and say add device and it scans and then I push the pin on the device and I see in HA it connects and I configure and go
yup
So if I put in the repeater and get it visible
is the process still the same for the battery operated sensors and the connecting to a repeater is transparent to me?
the 'add device' from the integration will tell the whole network to look for new devices, so yes it is transparent
perfect. Thanks so much for your help
if you want to be sure that the sensor connects through the repeater, i think there is an add devices through this device option on the devices page for the repeater device
ok will check that when they arrive
When I don't care when something arrives it comes early in the morning
but since I am looking for these repeaters they won't get here until tonight 🙂
It's plug and play with ZHA. Make sure you either buy one pre-flashed with firmware (e.g. from Itead or random other sellers that offer this option) or buy the little adapter board so you can flash it yourself with a microcontroller. Or pay extra for the CC debugger and flash it that way.
I bought Itead preflashed. Thanks your answer was the first that actually answered my question 😄 ty mate
Hope arrives soon 🙂
It may come with older firmware so you may want to update it if the version they chose is not great
@austere patio that's exactly what I did... my sonoff zigbee bridge came from Germany and I am trying to integrate it with my HA... literally stuck at the last screen
Takes about 20s but it should work. Does the red LED flash?
In that case enable ZHA debug logging and take a look at the log
Or upload the relevant section to a pastebin
to be honest nothing will appear on the log unless I complete the integration - and I am stuck at the last screen... I am wondering if reinstalling HA will help
If the red LED flashes something definitely will appear in the home-assistant.log file
let me try again
blue LED on sonoff bridge remains blue doesn't even flick. Log on HA doesn't change
Oh, my mistake, I thought you were also talking about a CC2531
But if there is nothing in the log after you restarted HA then nothing is trying to connect to the bridge
Are you entering the socket:// URL to the bridge in the integration window correctly? I believe there should be a webserver running on it to show you logs as well
sockett://IP of the sonoff -found on router:8888 + speed 115200
one t or 2 tt ?
single but well spotted ;D
shoot, that would've been too easy
I wish!
when I connect to Tasmota 9.2.0.1. it works, allows you to update etc
I wonder if there is command I can type in to see if it's working fine
what do you see in the logs on the tasmota interface?
Hey guys, does anyone have any idea why I would be getting this error?
Received invalid command: zha/device
It's coming from this logger: homeassistant.components.websocket_api.http.connection
(the console window)
16:25:18.461 RSL: tele/tasmota_9BAC15/STATE = {"Time":"2021-03-03T16:25:18","Uptime":"1T15:45:10","UptimeSec":143110,"Vcc":3.470,"Heap":28,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":0,"Wifi":{"AP":1,"SSId":"jarvis","BSSId":"78:D2:94:A2:1D:02","Channel":4,"RSSI":80,"Signal":-60,"LinkCount":1,"Downtime":"0T00:00:04"}
after reset
16:26:56.426 RSL: tele/tasmota_9BAC15/STATE = {"Time":"2021-03-03T16:26:56","Uptime":"0T00:00:10","UptimeSec":10,"Vcc":3.468,"Heap":29,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":21,"MqttCount":0,"Wifi":{"AP":1,"SSId":"jarvis","BSSId":"78:D2:94:A2:1D:02","Channel":4,"RSSI":80,"Signal":-60,"LinkCount":1,"Downtime":"0T00:00:04"}
do you see any ZIG: ?
just to let you know jesse you are speaking to a paramedic ;D so please be patient and use common / beginner vocabulary
that looks like you're running the tasmota2zigbee firmware, rather than the tcp socket firmware. i think. i don't have one, just looking at what other people have posted
16:26:56.426 RSL: is like some sort of "result" status update
oh...
there should be ZIG: lines near it
if you look on this page: https://www.digiblur.com/2020/07/how-to-use-sonoff-zigbee-bridge-with.html about a quarter of the way down, it shows what the log should look like
you're right... it does look different
would I have to use USB TTL adapter and wires to change it into the right one?
i don't think so
once you can get to the web interface, you can use the firmware upgrade buttons
if you look on that page i just posted, search for the section that starts "To verify the process flashes, it is recommended to open a second window"
i think you might need to start from that part
Hmm is Sonoff ZHABridge Module different from Sonoff ZbBridge Module? There's so many versions
i think zhabridge is just zbbridge flashed for use with ZHA?
i thought they only made two bridges, one for ZB and one for 433mhz RF
I'm on it - thanks jesse
Ah I think you're right. ZHA makes the bridge a slave.
Glad it worked!
puddly I thank you for your time too
When I bind a Hue Dimmer (v2) switch directly to a bulb using TouchLink while also sniffing the network, is there ever a key sent?
I've tried the couple of default keys but none of them seem to work.
It's a Zigbee 3.0 dimmer switch and Zigbee 3.0 light (one of the newer Hue lights)
I'll see if it makes a difference when I bind it to a ZLL hue light, but I doubt that's the case.
i'm guessing that in order to use a RaspBee board running on a remote Pi with ZHA, i'd need to set some socket tunneler like ser2sock?
Does this look ok? I seem to be having connection issues {"Time":"2021-03-03T17:13:36","Uptime":"0T00:51:34","UptimeSec":3094,"Vcc":3.495,"Heap":13,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":1,"SSId":"MyWifi","BSSId":"B0:39:56:F5:62:7B","Channel":1,"RSSI":34,"Signal":-83,"LinkCount":1,"Downtime":"0T00:00:06"}}
I seem to get a message like this every 5 mins in console on Tasmota.
Any suggestions why a Sonoff DS01 (window/door switch) goes 'unavailable' after about 6 hours. Reacts immediately when triggered. (via Sonoff Tasmota Bridge and ZHA). Perhaps it's how it's designed to work?
@mighty island Try reconfiguring the device via the device's page in ZHA. Attribute reporting should have been setup and the device should check in every once in a while to report battery status and stuff like that. At least a few times in during that six hour period.
Also no luck sniffing channels 11, 15, 20, 25 for the key when binding an old ZLL Hue dimmer to a ZLL Hue light
Gotta love vendors....
Me:
I noticed that your device has installation and setup guides on your website for a number of smart platforms, but not Home Assistant. Would you like to add a guide for home assistant as well?
Vendor: You'll have to talk to Home Assistant about that.
🤪
A vendor responding??
Sounds like IKEA when they first heard about their bulbs crashing.
Oh wait
I contacted the folks who make the plaid soil moisture sensor and they actually looked at the quirk I linked and confirmed some oddity at the time.
They also were like we’ve gotten 2 different inquiries about home assistant in the last 2 days 😂
cough, untapped market, cough
this related to my thermostats...
they don't officially support openhab or hubitat either...
i guess they expected my email to be @home-assistant.io
@austere patio Have clicked on reconfigure device, pretty sure I have previously also. Not really sure what I'm looking at in the ZHA logs.
Sonoff Zigbee Bridge. Small exaggeration, it was £13 on banggood. Or the same price for a CC Debugger to fix the 2nd CC2531 that had gone wrong. Given my happy experience with a Sonoff RF Bridge and knowing how to do the Tasmota thing (daunting for a novice), it was a no-brainer.
Hi Guys! I just got my self a Conbee2 and I bought an Aqara switch too. I install on HA the deCONZ addon...
I go on the portal of deCONZ but can not find the Aqara switch...
What am i doing wrong?
Oh... i am now doing an update of the device using Phoscon-GW'
Using ZHA is there a way to see which connected device one of my battery operated devices is getting repeated through. Got a couple of my outlets in and I just turned them on and got them installed through HA and find devices. I assume as my mesh network gets bigger that devices near to connected devices will begin to prefer them or will they stay on the one they are on even if it is a bit farther away?
@forest arrow Config > Integrations > ZHA > Visualization
@amber gull Thanks
The new "View in visualization" and "refresh toplogy" looks great in ZHA
And the new fan UI and fan speeds looks great too
So right now everything is connected to the Sonoff Zigbee Bridge and the two new Outlets seem to just be on the map but they don't show connected to the bridge and they do not have devices connected to them. So will that change over time or do I need to manually associate devices? I am willing to just let it go and see what happens
just give it time, or refresh topo (in 2021.3.0)
Just refreshed top and I now see the connected devices joined together https://imgur.com/HER4rGe
so I assume over time I will see some of the battery operated devices connect to the two outlets
Do the numbers on the lines mean anything that I need to be aware of? some show 0 some one shows 12154 are they like ports?
those are link quality
the numbers seem to only be tangentially related to reality, but maybe they represent something real
i have light bulbs that are 3 feet from each other with the number 28/22, and it's green, while a bulb to a repeater is 64 and it is gray...
I assume that I will see some of my battery sensors connect on the two outlets over time right? Currently I see many lines are gray and some are yellow and all of the battery operated devices are connected directly to the bridge. I will check it in the morning
yeah give it 'til the morning. if you don't see any change, pop out and put back in the battery on some of the sensors and see if that kicks them awake
Reconfigure pressed a few times. But, again, just over 6 hours and the DS01 goes "unavailable".
Was the sensor awake when you pressed the button?
Yes
You would have to trigger it or otherwise wake it up before pressing the reconfigure button. Otherwise it just sleeps for way longer than its parent will retain a message for it
The debug log would indicate if attribute reporting was correctly setup when that happens, or if the request never reached the sensor
Here's the reconfigure output ... https://paste.ubuntu.com/p/MHXkDjtXgS/
message send failure doesn't look very successful 😄
There is a fair amount of that, true 😫
If it has a button or something similar, click it and press reconfigure once
You'll see in the log if the requests made it to the device
You mean the reset button?
Dunno what that does when you click it once instead of holding it down. Or slam your door repeatedly to keep it awake.
Unfortunately the Sonoff motion sensor that I tried will not check for new packets until it sees motion, which can take forever
If in the US, it's $20 flashed from Indiana. https://cloudfree.shop/product/sonoff-zigbee-bridge-flashed-with-tasmota/
I'd love to get one of Tubes EFR32 Pro! https://www.tubeszb.com/product/efr32-pro-ethernet-serial-coordinator/5?cp=true&sa=true&sbp=false&q=false
I hear it's so pro it broke the upper limits of ZHA 😆
and they had to increase the support for things like max children, etc -- only thing on the market right now that can do over 50 direct connected end devices and work in wired ethernet or USB serial mode
only one remaining oh no....
And will work with Zigbee2MQTT now?
Yeah, code was just merged so it's bleeding edge, but looks promising
@molten linden I need one!
you posted the link, it's there. 🤪
(technically there are 2 but I'm moving my network to one).
Only if Biden gives me more Money 💰 😆
call your senator
don't think he's holding it up. if not I will drive by his house and talk to him next time he is home. it's on the way to my son's school
I'm making some more based on a lightly less powerful module, still has 96K ram which is more than most, and can also support 64 devices I think at least the first firmware I built worked fine. bellows -d /dev/cu.usbserial-00000000 -b 115200 config --all NOTE: Configuration changes do not persist across resets CONFIG_PACKET_BUFFER_COUNT=250 CONFIG_NEIGHBOR_TABLE_SIZE=16 CONFIG_APS_UNICAST_MESSAGE_COUNT=20 CONFIG_BINDING_TABLE_SIZE=32 CONFIG_ADDRESS_TABLE_SIZE=32 CONFIG_MULTICAST_TABLE_SIZE=8 CONFIG_ROUTE_TABLE_SIZE=16 CONFIG_DISCOVERY_TABLE_SIZE=8 CONFIG_STACK_PROFILE=0 CONFIG_SECURITY_LEVEL=5 CONFIG_MAX_HOPS=30 CONFIG_MAX_END_DEVICE_CHILDREN=64
Nice!
in a gateway?
Yes
All that I need is a good coupon code. 😋
Hey everyone, I’m thinking of getting a usb extender for my zigbee dongle, but the machine I run HA on is kind of surrounded by other devices like hubs and routers, would it still be worth it to use one even if it will still be around a lot of other wires/equipment?
I’m assuming the interference happens from being right next to a metal case when plugged directly into the device (intel nuc)?
@urban fractal attenuation and multi pathing happen from metal
Interference is caused by other 2.4ghz sources
Bluetooth, wifi, usb 3.0, external hard drives
What stick do you have?
We've (alexei) found it does better without an extension
If you want to get super nerdy you can get some metrics before an extension cable and after an extension cable
Oh awesome, great to hear. The reason i was wondering is because currently Im only using zigbee for one aqara door sensor and its battery has dropped rather rapidly (about 25% since installing it 2 weeks ago)
i wasnt sure if maybe a weak signal was causing the battery to be more active or something
the lqi is 255 always in ZHA
someone told me 255 could also mean it has no idea what the real value is, but i wasnt sure
almost seemed too perfect haha
im thinking the sensor either stinks at reporting battery or the battery in it just sucks
Well LQI won't get reported accurately if you have routers
no routers, just coordinator to sensor direct
It will just report the last hop. But if you really only have one device, It should be accurate
Ok cool
Don't prematurely optimize anything 😜
If it totally dies ill change the battery and see if it lasts longer
easier said than done haha, i have the same issue in my programming day job
lol
Thanks again for the help!
👍
Hi i'm looking for a good zigbee remote that has multiple channels and works with zigbee2mqtt. Does anyone have a good suggestion that works for you?
what is the best coordinator for ha with zigbee2mqtt?
i use a conbee 2 with zigbee2mqtt and must say this is very reliable
hmm i have a conbee 2 at my parents house, i guess i'll take that to test z2mqtt, i wanted to buy one to test but since conbee 2 works 😄
The best four are the two recommended ones, and the TI LaunchXL boards
@sour shadow any examples please, links to them
The LaunchXL boards are only not recommended because they're "not small"
i just want to test z2mqtt, i have zha that works very very well
I mean, you can test it with a cheap CC2531 stick
You don't want to run with that, but for a handful of devices it works
i can sell cc2531...200 euro only
i will teste them with conbee 2 stick and if is good and i like it more i'll buy the best there is
@thorny phoenix 🙂 good joke
i want to test this because in z2mqtt i can do yaml stuff and there i can put whatever naming scheme i want
Yeah, I do love the flexibility of Z2M
this is the only thing that zha doesn't have, ofc i can rename devices but ... not the same
no transport fee 😦
haha
eventually you are like me from bucharest
and you can bring it to me in person no?
🙂
Can't wait for the 2652 haha
cc1352p2 
The shizzle my nizzle
that PA and internal antenna combo
I've updated 30 bulbs or so the last few days through z2m
no major issues
except the outdoor bulbs seems to have had an incomplete interview at install, so they are fickle, need to try re-pairing them one day
Hello everyone. Im running Homeassistant on Proxmox WM, yesterday i installed ZWavejs2MQTT on a Raspberry Pi 4 B. I love it Okey, qestion. Can i run Zigbee on the same PI? I have Conbee 2 dongle
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.
Take your pick 😉
🙂 There will be no problem running both on same PI?
Other than ensuring enough power to the Pi, no
Thanks
What are you looking for in particular?
@tropic depot zha works very good no problems there, from the time i changed my coordinator to EZSP Elelabs Zigbee USB Adapter ELU-13 i had not have any issues, not like i had with conbee 2 on deCONZ before :))
what i wanted is to test z2mqtt i heard you can do all devices in yaml manually
that means i can name them whatever i want and how i wanted from the start
yes, but why would you ?
gotcha
The mqtt auto discovery is bae
but if you are talking about the renaming in yaml in Z2M, that is handy
exactly
Since they introduced the webgui I just do renaming there though
tbh is hard to give up ZHA because it really work great
i remember the dark times when i had deCONZ with conbee 2
:))
I've been running z2m for so long, I will never change, and no issues
yah i want to try z2m on conbee 2 stick since is sitting there doing nothing
Hi, Any idea how to connect CC1352P-2 to RPi 4
yes, plug it in via usb
does it need saperate power adapter? or it can be powered through the RPi usb?
I am trying to build my own getway and it had to be conected throught one power cable and one network cable
powered by usb
just plug it in
great
that's it
but pis in general are.... gonna be a constrain with enough devices
Will i need any tool to flash it?
great, thanks, going to please and an order right away
one last qestio. which on is better LAUNCHXL-CC1352P-2 or LAUNCHXL-CC26X2R1? I will be using z2m
thanks
Hmm, did a reset and opened closed window etc and reconfigure .. seems to be still up 12 hours later, so success. Thanks.
In the visualization page of ZHA, sometimes when I move one of the icons it makes other icons on the page reposition. Is there some logic to why it is repositioning? Meaning does the repositioning actually mean something?
Good day by the way
the repositioning is pointless... it will change on every load
it uses a spring config to try to organize the nodes when building out the graph
I have 3 window sensors in my master bedroom and I put one of the zigbee outlets in the same room, I would assume that they would want to use that outlet as their connection/repeater but they are still showing attached to the bridge which is now in my garage near my server rack. Does it mean that they see the bridge as a stronger signal or does it just take a couple of days for them to move to closest repeaters? I would not think I would need to manually attach them to the outlet closest to them but new to zigbee
Right now my mesh network is just the bridge and 2 sonoff wall outlets
zigbee self balances
@tropic depot is it accurate to say that an end device will look for neighbors and choose a best path on startup, in addition to the self-balancing? in other words, would pulling the battery cause one of these devices to connect to through the repeater if it is a better link, when it has been going unavailable while connected directly?
how nice 🤣
welcome to zigbee
https://imgur.com/4n09tYC shows my zigbee network, and I guess I am thinking I just need to not mess with it for couple of days to see what happens? Some of those devices are literally feet from the outlet so I would assume they would want to use that, I am using the sonoff motion and window/door sensors
Hello folks -- what is the right procedure (on ZHA) when a Zigbee device ran out of battery? Replace battery, then get device in pairing mode and re-add it into ZHA through the 'add device' procedure? Or just replacing battery and it automatically reconnects? The latter never worked for me, so I always did the former. But unsure if there's a better way.
just replace battery and it "should" reconnect
Gotcha -- thanks. I only have two manufacturers -- IKEA & Aqara. My IKEA devices don't seem to do that (reconnecting automatically after battery swap). And the Aqara devices haven't run out of juice yet, so not sure how they would behave. I'll keep an eye on it during the next battery replacement. Thanks!
What does the reconfigure device button do in ZHA? I have pressed it but I don't see it do anything.
So any recommendations on the type of motion and window/door sensors are "best" to use? Currently I have Sonoff Zigbee Bridge and have been using the sonoff motion sensors and sonff window/door sensors. I am looking for devices that have good battery life and good interactivity with the bridge. Not adverse to moving in a different direction than using the sonoff to zigbee bridge since I want this to be my main security system in my home.
Reconfigure just binds and sets the attribute reporting config again for the Zigbee clusters
translation: It's a "fix it felix" button if anything is not working for the sensor/device
LOL
@forest arrow You can probably see logging output by turning on ZHA logging: https://www.home-assistant.io/integrations/zha#debug-logging
@bleak cave thanks let me read about that.
Just wondering if the ZHA logs are accessible without having to "Add Device"? Can't see anywhere obvious.
Dave, I've noticed the hampton bay fan controllers speed is a bit wonky with the rewrite
but I'm confused if it's a fan issue, zha issue or quirks issue
They are in the main home assistant log, but you need debug on to see them there. The add devices basically shows the zigpy debug logging
I think I saw a note that the quirk will need adjustment for the mew fan stuff
Full power for the fan goes to preset mode "on" but the slider shows 0
If you pull the slider to 100% the fan goes into 3/4 speed
Isn't there no way of removing ZHA devices that IEEE address using the Integrations UI?
Only work around is to delete core.device_registry, which isn't ideal
does zigbee2mqtt actually support Raspbee devices?
Website says support is 'Experimental' but there are flashing instructions for Raspbee and Raspbee II
They come with the firmware
whaa?
Of course, IMO you'd be crazy to use a HAT, it limits you in the future
They're a Conbee stick in HAT form
No magic there
Oh, you are right
a stopgap until something else gets back in stock. want to try something besides deconz
You can update the firmware, but if you don't buy an ancient one then you should be fine
Or, if you want a stopgap, buy a $5 CC2531
since I got a ZZH stick, gonna give my old husbzb-1 to a buddy... anything stored ON there that I need to do anything with it first?
Yeah, all of your network settings
eh, would rather buy just one more thing
already have this in front of me
@austere patio eep, how to wipe it?
I found this out the expensive way
Run bellows leave -d /dev/serial/by-id/...
ah, that's it? lol
The -d part may not be right but it'll throw an error if it isn't. 90% sure it will run 😆
hold up, even if I only ever used it with zha? all I'd ever done with it in the first place was plug it in, and use zha
HA in a docker
If you give the stick to someone else then the network formed by that stick will travel with it
Network settings are stored on the stick
so with HA in docker, where should I run that command? bash into the container?
You can shutdown HA and run the leave on the host
I don't have bellows on my host 🤔
Or do docker run --device /dev/ttyUSB1:/dev/ttyUSB1 -it python:buster bash
pip install bellows
ah, that would prob do
What about walthowd/husbzb-firmware?
That works too
what's this?
it's an environment for updating the firmware -- since the update utility uses python 2.7
Ah, I forgot about that. Might not work with bellows then
Well, it has both currently, though it's a pain to keep chasing python versions
need to rebase it from ubuntu to the python images
Other than the print statements, it looks to be compatible with Python 3 without much work
yeah, it's probably time for that
any idea what the conbee2 z2m firmware consists of? is it just tweaks to work with z2m, or is it like interacting using the TI serial API or something?
ncp.py was originally supported by silabs, but it's veered pretty far away from that now with the latest EZSP version support
I don't think the Conbee uses any new firmware to run with Z2M? It's just the usual serial interface, just like with TI adapters
There's no specific firmware
oh, i was reading ^^ something about firmware up there
ok, so zb2m loads the raspbee, now i just need to figure out how to re-join my devices
can i copy over they key & PAN and expect the devices previously paired with deconz to show up?
i think you can't... it didn't when i tried it
guess i gotta find some manuals to figure out how to re-pair this stuff
on, off, on, off, on, off, wait 5 seconds, curse, on, off, on wait 1 second, off, wait 2 seconds, curse, repeat
That was just me reading into information on the z2m website with out actually reading the information.
Didn't work out, surprisingly
power? or button?
"root@2a0eaebfcba2:/# bellows --device "/dev/ttyUSB1" leaveTraceback (most rece - Pastebin.com" https://pastebin.com/ffvpGnEW
i'm not serious, it's different for each device, but it usually involves cursing for bulbs
lol ok
getting an error on leave 🤔
Do you have the correct device path?
how can i verify the zigbee channel i'm using in Z2M?
maybe only exposed in the config...
If you have the frontend enabled, it's listed under Settings -> Advanced
ah crap is if00 or if01 the zb one?
thanks! i scanned right past it
Does anyone have a Tuya RH3040 (Motion sensor)? How do you get it to pair mode?
The weird thing is, if I add ZHA integration it auto-discovers, however it's shows unavailable, but if I try to add it manually nothing shows
One more question about the mesh association, if it is has been about 24 hours and the endpoints have not connected with the repeaters and are still connected to the coordinator does that most likely indicate that they think the coordinator is the best signal?
i think this is device-dependent. some don't like to change parents
when you say "some" is that device type specific or literally individual devices. For example I have 9 sonoff door/window sensors and all of them but one are still pointed at the coordinator, but one of them is pointed at the repeater. If one can change, does that mean they all should change over time?
i mean device type/firmware
ok so 8 of 9 are still connected to the coordinator so they probably see it as the best then. Weird because I moved the coordinator into garage and I know the repeaters are closer to all the sensors than the coordinator is
If you're on z2m you could try selective joining
That feature seems very useful but I have never used it.
Putting my faith in that zigbee mesh moves in mysterious ways
I am just using ZHA with sonoff zigbee bridge (flashed with Tasmoto)
Then I wouldn't know
Cool
Might be in ZHA to for all I know
I have the ability to do it in ZHA also, but have not done that because I think I would need to remove the device and then readd it from the specific repeater
seems like a forward-thinking integration
Click on a device and press the "permit joins via this device" button
hmmm ok
For the most part I would not worry about how the mesh "looks" in the visualization. If it works it works.
I guess I am just trying to make sure it is reliable
Have had multiple devices go unavailable
just put in the two outlets yesterday afternoon
so will continue to monitor
Do the end devices have range-test buttons?
No they are sonoff motion and window/door sensors
They only have a rest button
at least that I am aware of
You could check the manual to see if one single click on the reset button equals range test
I think that lets the device rethink it's position in the mesh
ok let me check that out
@austere patio Which device should I see the "permit joins from this device" On the two repeaters I have I only see add devices from this device but it starts a scan. I am on the latest version of 2021.3
The default behavior is to allow every single router on the network to permit joins
ok
Clicking that button does the same thing but only for the specific router you pick
right
So if a device joins the network, it will be via that router
so I don't see where to see the "permit joins from this device"
there's a carrot next to "permit join (all)"
That's for Z2M
oh, just kidding :x
aaaah I am not doing Z2M
In the ZHA integration page, click "Configure", "Devices", and then pick the router? I don't recall the exact sequence but it's there.
i'm using Z2M for the first time. is it normal for devices to be unresponsive for the first ~30-60s after startup?
This is all I see: https://imgur.com/IRzMAbt
So are there distinct advantages of using Z2M versus just using ZHA?
"Add devices via this device"
right
In HA you mean?
Sure, it usually takes a second for things to get back on track
But that means I need to remove the device and then readd it?
Yeah
ok, let me try it with one device and see if it makes a difference, I guess since this is going to be my security system I am ok with having it use a specific repeater
or maybe I should just be patient and let it run
The only thing I want to ensure as that devices don't keep becoming unavailable
in HA or Z2M. sending some commands after Z2M restart take a while to trigger. after that things seem ok
Well definitely in HA after a restart it will seem like things have gone awry, but then it's back after a bit.
I don't have any issues outside of right after a restart though
I keep getting this error trying to set up ZHA:
Received invalid command: zha/devices/permit
from Integration: Home Assistant WebSocket API
Any clues?
How are you setting it up?
Using a Conbee II. It's been running deCONZ for a year until today.
(Updated the firmware on Windows just now as well).
It registers the USB during setup.
Using HA OS. Since 2 days there is an updated Zigbee2MQTT add-on, version 1.18.1-1. I’m still running 1.17.1-1.
The auto-update option is enabled in my add-on and I also restarted the add-on but nothing changes. I suspected to see a button to upgrade to the new version but it isn't. How can I upgrade?
So you're adding the Zigbee Home Automation component and then selecting the serial port from the dropdown?
Is there a good reference on understanding the zha logs that I enabled from Home Assistant?
is there a reason the lqi wouldn't be reported in Z2M in the MQTT messages? i'm using a Raspbee board at the moment
i guess it's linkquality in the payload
they're 0 on the devices, but i do see values on the map in the frontend
Any who hangs out in this channel and uses the zha integration and has migrated Home Assistant from one device to another? I need to do a migration from my existing installation on Ubuntu to virtualized with Proxmox and I have a few questions that are causing me some anxiety due to the large number of devices I have. I believe the zha config is not on the stick, but part of the home assistant config, so if I back up correctly, it should just work, right?
ZHA keeps track of devices on the network but the network info is stored on the stick itself
So back up the entire HA config folder, including zigbee.db, and use the same stick
I switched USB-ports. That seemed to fix it. Strange.
Does anyone know how to reset a mains powered Hue Econic? I don't have a Hue hub or a Dimmer Switch.
thanks.
i have two switches of the same model. one of them triggers duplicate updates when controlling from Z2M:
Zigbee2MQTT:info 2021-03-04 14:27:36: MQTT publish: topic 'zigbee2mqtt/Bedroom Repeater', payload '{"linkquality":0,"state":"OFF"}'
Zigbee2MQTT:info 2021-03-04 14:27:38: MQTT publish: topic 'zigbee2mqtt/Office Repeater', payload '{"linkquality":0,"state":"ON"}'
Zigbee2MQTT:info 2021-03-04 14:27:38: MQTT publish: topic 'zigbee2mqtt/Office Repeater', payload '{"linkquality":0,"state":"ON"}'
Zigbee2MQTT:info 2021-03-04 14:27:45: MQTT publish: topic 'zigbee2mqtt/Office Repeater', payload '{"linkquality":0,"state":"OFF"}'
Zigbee2MQTT:info 2021-03-04 14:27:45: MQTT publish: topic 'zigbee2mqtt/Office Repeater', payload '{"linkquality":0,"state":"OFF"}'```
is that the device? could i have paired in a strange way?
Anybody knows how to install ZigBee2MQTT usig ConBee II USB Stick? 🙂
i just installed with a raspbee. check the config and search for "deconz" for a couple place you'll need to adjust: https://www.zigbee2mqtt.io/information/configuration.html
Thank you for your answer! You mean I just install Mosquitto & ZigBee2MQTT and change or add some extra line to the configuration of ZigBee2MQTT and it's work?! 🙂 so far for me turns out "502. gateway error"
sorry, i'm not sure where you're getting that error. these are the interesting parts of the config for deconz (adjust your device):
port: /dev/ttyAMA0
adapter: deconz
baudrate: 38400```
thanks 🙂
after installed ZigBee2MQTT and click to the side bar where the installed Z2M located
Still 502: Bad Gateway as error 😦
This is the log file of ZigBee2MQTT
@wheat wolf posted a code wall, it is moved here --> https://paste.ubuntu.com/p/JDZpSmXPwh/
I am just here because I am getting the 502: bad gateway error too. Here's where I'm at:
I've installed HA 64 bit image on RPi3, added in the zigbee2mqtt and mosquito broker add ins, and started both, having said yes to showing zigbee2mqtt in the side bar.
When clicking on it, it gives the 502 in the right frame. IF you click it again, it gives a pop up saying zigbee2mqtt is not started
so it appears to be crashing?
You may need to enable debug logging to get more context: https://www.zigbee2mqtt.io/information/debug.html
Otherwise, a 502 error and Failed to start zigbee tell you very little
But....I have another RPi3 with zigbee2mqtt running on bare linux, and it's discovering my LIvarno bulb, so I realise now this is the way to go...I don't want the zigbee gateway on the same pi as the HA install, so can anyone tell me how to get HA talking to the second PI, the zigbee2mqtt gateway?
@austere patio yeah I saw that my logs didn't say anything about the mqtt issue, so I'd need to try debug level as you say.
So I guess my question is about a remote mqtt device. Am I in the right chan here?
HA would talk to Z2M through the MQTT broker
Where you put the MQTT broker and where you put Z2M are up to you
I appreciate this is basic stuff, but I'm a complete noob only 3 days of struggle into this
I have the mqtt broker add in in my HA
I have a z2m pi separately
I have no clue what's next, and can't make any sense of the z2m docs on this
So in that case Z2M would need to be pointed to the MQTT broker running on the server running HA, and HA would have to connect to that same broker
it all seems to assume you get the basic concepts
So it's about putting in an IP and port somewhere?
so the idea with mqtt devices is that they report in to broker?
