#zigbee-archived
1 messages · Page 28 of 1
SkyConnect comes flashed as a normal Zigbee stick, same as any other. If you want to switch it to the experimental multi-PAN firmware later on, that's always an option
Ah, interesting
@austere patio @spring relic had a question above #zigbee-archived message
He said quirks and I got scared
Search in https://github.com/zigpy/zha-device-handlers/issues for an issue about your specific model ID (the one with random letters). If it's Tuya, chances are it won't do anything at all until a quirk for it is written.
It makes things cheap, but also a pita
I’ll never suggest a tuya product to anyone
I’ve got a lot of hate in my heart but I’m not evil 
I just ordered the sky connect
When that arrives, I'll also switch to a different channel
I got to say, this LQI pattern looks a bit suspicious. Goes from 50 to 250 and then back down
Ahh thanks. The ts0601 - tze200 seems to be somewhat similar to the ts-0601 tze204 the main thing seems to be that it's missing the switch. Is there some documentation you could suggest on how I best go about interrogating the device to ensure I'm getting the right attributes etc? I can't even seem to get data out of it in the "manage zigbee device" page where I can read all the id's etc which is currently throwing me. I'm not sure if I'm supposed to be able to see the data there or if there's some other query mechanism. Any pointers appreciated, thanks for the help :)
I found a new clue to tug on, if there's no good spot to send me to help clue me up, I've can muddle forward with what I've found for another few hours probably
Hi,
I currently run Home assistant on a raspberry pi with this usb dongle
SONOFF Zigbee 3.0 USB Dongle... https://www.amazon.de/dp/B09KXTCMSC?ref=ppx_pop_mob_ap_share
as a Zigbee gateway.
I'm very happy with how it perforce, so I want to add more smart functionality to my home. But I'm concerned about range. Is it possible (or recommend) to more gateways like this one https://www.amazon.de/NOUS-E7-ZigBee-Gateway-Bridge/dp/B0054PSKVM/ref=mp_s_a_1_5?adgrpid=71666625832&gclid=Cj0KCQiAq5meBhCyARIsAJrtdr4pK__TeNfYFyZsQhAelMzPVLrsD9CINtL6LACaD7E0nHHQd9yjcPAaAqL5EALw_wcB&hvadid=606885782780&hvdev=m&hvlocphy=1004234&hvnetw=g&hvqmt=e&hvrand=797513332788415876&hvtargid=kwd-1466373456638&hydadcr=18406_2294815&keywords=zigbee+gateway+poe&qid=1674024075&sr=8-5
Connected via ethernet?
The way to add more range is by adding more routers, which are things that are wall powered, e.g. smart plugs, switches, bulbs, etc
Is there a good way to do "bigger leaps" ... I want to switch my water pump, but it's behind a water tank, ie about 5m out of the range of the nearest router....
What is the best signal repeater to work with Sonoff P? I have 2 ikeas but ZHA/network keep loosing them, however crazy it sounds
How far away are they from your sonoff?
One is about 3 meters, and it's ok. The other one is on another floor, about 15 m.
there's no way you need a repeater for that distance.
you've checked your wifi isn't on the same channel as your sonoff? And you have usb extension cable?
RE my performance, seems I had too many addons -- influxDB was eating a lot of memory making evvveerrrryyything slow.. seems faster after killing it.
Depends what's in between the routers
If it's multiple concrete walls it could hamper it
only 15m though? Even the worst of the worst wifi will go through multiple concrete walls over that distance
And ... this channel is about Zigbee
While they may share the same frequency band you can't compare the two. Zigbee is (a lot) lower bandwidth and (a lot) lower power.
ok, I'm still new, thanks for correcting me. My experience so far suggested 15m should be a no brainer to work.
15 meters of open air, sure
15 meters of obstructions, no
Real world says that about 6 to 8 meters is normal
For our super low bandwidth requirements for command/control/sensing.... why on earth isn't there a better standard that gives us decent range.... Do we really have to hack up our own lora hardware?
Bigger leaps,thats also what I'm interested in. Like for my garage. 25m away and with heavy walls.
I would prefer something poe powered instead of a repeater so it's less likely someone would randomly unplug it.
How do I get my signal to my water pump outside?
Three options:
- If you can run PoE then a remote coordinator
- A high-gain pair of custom routers
- Don't use Zigbee
Does HA support multiple coordinators?
Is there an example you know of of said 'custom routers' ?
HA itself doesn't, but you can run Zigbee2MQTT as many times as you want, with a little work if you're using HAOS
more with the paper walls they make houses out of in the USA, less with euro pre-war brick walls
Hence... about
I have drywall here (UK) and 6 to 8 meters is what I can reliably get. I can get further, but signal quality is weaker and angles play a bigger part
if only radio signals could go arround corners right, like just flow like water. that'd be great
How would I go about forcing one of my Aqara temp/humidity/pressure sensors to join a specific router in ZHA?
Hey ppl, so, i have a question on how you guys do it, and how would be the right way to do.
So, the scenary: i have a zigbee network working fine, and i want my single RGBCW lamp to turn on in some hours with determined potency, and other with more potency.
Right now what i have done is to control the energy for the lamp i have a zigbee relay, so the home assistant two times a day i turn the relay on, define the potency of the lamp and then turn off.
But this is having some problems, because when i turn the relay on, sometimes the lamp exits the network, so the logic fails. Is this the norm or i got a low quality lamp?
Another solution i thought was to just leave the energy for the lamp always on, and using automations on the relay turn on/off the lamp. Is this the norm? Is this how people control the smart lamps?
Is there another ideia?
How do you guys solve this kind of problem?
Thanks 😄
Is that a Zigbee bulb you're turning on and off with a relay that's controlling the power to it?
Because, if so, that's really not how to control a smart bulb
This might be helpful: https://community.hubitat.com/t/xiaomi-aqara-devices-pairing-keeping-them-connected/623
Yes, energy -> relay -> Bulb
Ok, so if my central (homeassistant, hub, whatever) is down or break, it happens?
- Don't break it
- Plan better for that?
Cutting power to smart bulbs is asking for problems
Sounds good, im asking just to understand how others think about it
General Zigbee question…do Zigbee networks re-route? Is that what everyone means by “settle”? For instance, if I have a battery-powered Zigbee device that connects through router device B which is way further away than router device A, will this battery-powered device in time change to route through router device A?
Smart bulbs should only be controlled by a controller, not by cutting power to them
See the channel history, but the answer is it depends on the device
Ok. Thanks! I figured as much…probably less with battery-powered devices than mains powered.
It's more complicated than that, but ... kinda
I still pair everything where it will be located to help, but still hilarious that some of my Aqara sensors are pairing through routers in the next room over when there’s many routers they could choose from in their room.
Aqara's Zigbee 1.2 devices pair to the first thing they hear
Dang it. Maybe I should’ve chosen what router device in ZHA I wanted to pair through then.
Oh well. Kinda don’t wanna bother with pairing the ones I’ve already got parties cause they’re a PITA.
If they start dropping I’ll just do it then. 😂
Still trying to pair three temp sensors and striking out. Read that channel 25 & 20 are good for Xiaomi sensors. Sadly, I have everything already paired on channel 15 in ZHA
15 is fine too
That’s what I thought because I have two of the exact same sensor models paired through 15
@sharp berry When using Discord's Reply feature it defaults to pinging the person you reply to, which can get frustrating for the target. Use Shift + click on the Reply option, or click @ ON to @ OFF to stop this - on the right side of the compose bar.
You have to change this every time (thank the Discord devs for that).
Allow joins via a specific router (device page of router -> three dots -> add devices via this device)
Then just reset the sensor and it’ll rejoin through the new router (while preserving its name in HA)
And the IKEA Tradfri bulbs work 101% with Zigbee? Cause I'm gonna buy a few and I don't want to be regretting this decision after.
Yes
With the new Skyconnect i am thinking about adding zigbee/matter switches into my home. Does anyone have a recommendation for a light switch with a separate dimmer button (not just built into the rocker itself)
Looking for advice about a device to buy? Remember to provide guidance on:
- Which country you're in
- What your budget is
- What protocols you prefer (eg Zigbee, WiFi, Z-Wave)
- Any features you want (such as power monitoring, dimming, etc)
US/budget hasn't been factored in right now this is still fact finding and planning phase/ protocol z-wave or zibee/matter, Dimming with a seperate button and 3 way capable
Is it normal that zigbee sensors get "stuck" and just quit reporting changes, with z2mqtt and HA never realising they're disconnected or anything's wrong?
My sonoff temp sensors seem to love to just... stop. They don't ever show up as disconnected, I never get any error, they insist the battery's fine, they just turn into a perfectly flat line on all graphs.
If you don't enable Availability that can happen
The Sonoff sensors though are particularly bad for doing that
Yeah i'm noticing >/... seems like I shot myself in the foot and saved a penny to spend a dollar later on something that's actually reliable.
Unfortunately since I'm in the not-rich part of the middle east those are basically my options lol
Xiaomi Aqara
Do they have an official storefront on ali?
Or is it "Aqara" there, kinda like how the 5 year old storefront is "Sonoff"
There's dozens of sellers, no official storefront
(and by dozens, I probably mean dozens of dozens)
So no one that's officially theirs like what VKB does but it's probably actually xiaomi aqara if the storefront's stats aren't awful
So I'm currently using the zigbee plugin to sync all of my devices. If I make the switch to zigbee2mqtt, will that require repairing of those devices? My other question is if I should uninstall zigbee plugin before installing mosquito? Most of the guides that I can find don't have zigbee plugin installed so they don't cover that case.
If by plugin you mean the ZHA integration then yes, you have to remove that before Zigbee2MQTT can use the coordinator
Hmm maybe this is a weekend project lol
Honestly it pretty much Just Worked for me out of the box, the hardest part was teaching myself how to do device based USB passthrough to the VM in proxmox
is there a straightforward way to 'reconfigure' the way the network is linked, or will it do it itself over time? one of the first routing devices I had is now the furthest away from my co-ordinator physically
Well, don't move devices around is a good plan
If you do though, what happens depends on the brands you've got, and the generation of Zigbee they use
So I shouldn't put a zigbee temperature and humidity sensor on my dog's collar?
Zigbee 3.0 stuff and any routers should re-route relatively quickly
Zigbee 1.2 end devices from Xiaomi probably won't, ever
Other Zigbee 1.2 end devices may, or may not
I went ahead and made the move from zigbee integration to zigbee2mqtt. Before I did that I downloaded a ZHA backup from the zigbee integration. Can I use that to get all of my devices back or do I need to manually sync them all again?
thank you for the info, the only way to force it would be to re-pair in the location?
Well, that's fine for the router, but what about all the end devices that are/were connected to it?
You have to re-pair them all
hm yea I guess go routers first then end devices
Ideally you wanted to know what (end) devices were routing through it, since you may have/want to re-pair them
screenshot that network map before starting then 😄
You could check now, and see if anything is still connected that probably shouldn't be
it's not that stuff has moved, but the first device I had was the opposite side of the house, and have since acquired (alternative perspective: hoarded) many more to fill inbetween
You could also wander around all the end devices and trigger them to report, to see which don't work any more
thinking it would probably make sense to re-link everything now that every bulb is always-on
I have a question regarding using zigbee devices in an outbuilding that is too far from the main network. I have my HA box and Skyconnect coordinator in the house running Z2M. Is it possible to install a RPi running another instance of Z2M with it's own coordinator in the out building on the same LAN and point the mqtt traffic to the broker running on my HA box in the house?
I thought you could only have one coordinator per network?
Yes... but you're not asking about a single Zigbee network
zigbee network that is
Oh, I see. Just use the network coordinator but use the RPi in the house?
Yes, or ... not a Pi
I think I'm getting confused. I do still need something to run a separate Z2M instance correct? To my knowledge it's not possible to run two on my HA (though I know I could run ZHA with the other coordinator)
You can run as many instances of z2m you want with a container install
With haos, you are always limited to whatever the developers want
But anything but a pi would be a good option
That's what I'm currently running (HAOS), which is why I figured use separate hardware to run the other Z2M instance and use an zigbee usb dongle I already have.
when it comes to zigbee stuff, tuya is amongst the worst with pairing, aqara a bit better, various other chinese stuff being a gamble. and then just expensive european stuff being known good but obviously more expensive right. 'cause i'm a cheap bastard but i don't want to save 30% on the price only to hate it every step allong the way
good good, so conflicting experiences by everyone then :p
Aqara's Zigbee 3.0 stuff is solid, their 1.2 stuff can be problematic
Sonoff's end devices are junk, and Tuya is a minefield
findign plugs is going to be the most anoying bit probably. i don't think aqara shucko plugs exist (that i can find)
Tradfri is fine if you only need on off
But all my Tuya ZigBee with monitoring are fine too
Do the IKEA styrbar work with zigbee over HASS to their tradfri rgb bulbs?
With color change support and dimming
You don't need the ikea hub
Hello, I have a Innr RGB strip connected via ZHA/Zigbee. It works fine, but I'm curious if there's a way to create custom lights effects (like a blue-to-green timed fade) in any way. It's not a WLED device.
I'm willing to code if necessary but I don't know where to start or what to look for. I've been looking in the documentation but I'm not sure I'm looking in the right places.
Sure, you can do python script for example
Might be better ways
But that is the last thing I did for timed fades
So, with this right? https://www.home-assistant.io/integrations/python_script
I have them already so, but they work?
Oh that's interesting, I'll look into it, thanks!
I guess? I haven't tried the new hub
bargain bin aliexpress plugs it is, lets just not switch >1500W as a procoution tho 🤣
there's blitzwulf tuya stuff
That's why I went with what I'm really hoping is a non-counterfeit sonoff for my in-wall zigbee stuff, and used an ESP32 with two servos to build a DIY switchbot instead of replacing my hot water's switch.
I do 700w with Tuya ZigBee
I'll trust tuya for door sensors, but the hell if I'm trusting them with 5500W
yeah i'm not planning to switch motor stuff with it aside from a few pumps maybe
If you're answering to me, do they work via zigbee without it's hub?
Like with a coordinator
Tradfri stuff works with z2m and zha yes
Hi all, are there any newbie resources I can refer to? I am just getting started and I have read the reddit wiki on r/homeautomation , and now looking for beginner information on what hardware I actually need.
I have set up home assistant core on my Nexus 7 tablet, since it's so hard to come by a RPI.
Thank you in advance
Watch a bunch of youtube videos on what the software is, how it works, and learn about VMs
Idk about that…
Software? I've already set up home assistant. I'm looking for recommendations on what kind of bulbs to go for
Not running it on a tablet is a good start though
It entirely depends on what you want to do... but that's a really really really bad choice of platform for running HA
I know and have used docker for work, but don't have an extra computer
A second hand PC from the last decade will be miles better
I mean your question was worded in a way that sounded like you were still trying to find better hardware to run it on.
Okay, could you share why?
- It's a fucking tablet
- See one
- No, really
You've also gone pretty far outside of what's supported for running HA
Like using a pocketknife as a screwdriver. Yeah you physically can do it... but you're gonna wreck that knife pretty fast and probably need stitches.
The tablet can be reused as a home assistant dashboard if it’s fast enough
Ethernet access for your home automation hub is pretty much required.
Oh boy. I spent some hours on getting it to compile on the tablet
Well, that should have been a sign
That and the absence of any official documentation covering it
If you're having to follow some janky guide then it's time to reconsider your life choices
sounds like you're one of the "run doom on the Macbook's touchbar because..." kinda person 🙂
Wifi won't work?
Why do you hate yourself?
Wifi is for mobiles, and tablets, and laptops... not servers
It will, but it's really not recommended
Smarter choices:
- VM on any existing computer
- Docker on any existing Linux computer
- Buy something from the last decade
I may be able to use an old MacBook air, how resource intensive does HAOS get?
Not very - it runs on a Pi3 after all
Hopefully that air either has wired networking, or you can attach a USB ethernet adapter
I feel like if you put half the energy you put in to reading the wiki on r/homeautomation and getting hass to work on a tablet with better information here you’d already be way further ahead
Live and learn
Hey putting android on an HP Touchpad was worth it back in 2010.
@strong mason When using Discord's Reply feature it defaults to pinging the person you reply to, which can get frustrating for the target. Use Shift + click on the Reply option, or click @ ON to @ OFF to stop this - on the right side of the compose bar.
You have to change this every time (thank the Discord devs for that).
Sorry for pinging
... really discord devs? That's an idiotic design decision
Yes, it is
and here I thought this was just mirc with smileys
If only
Let me see if there's a betterdiscord plugin for this
There is, I use it
So once installed on a vM on a computer, what else do I need?
What do you want to connect? Zigbee devices?
NoReplyMention
Yes, from what i read that's what I want to go to
I'd recommend one that's CC2652 based, and probably one that's (wired) network connected
Just installed it, is it working?
No
Did you turn it on?
It's obvious if it works... it turns the ping off... you don't even need to hit send
Just use your eyes 😛
It needed some time to load up I guess, and I figured it was doing some shenanigans on the back end.
my brand!
Oh great I have the sonoff cc2652p dongle coming in already
And when you're not on a tablet you'll actually be able to use it
hi all, received my first zigbee stuff and trying some things out: sonoff zbdongle-e as coördinator and an Aqara magic cube T1 pro. using ZHA for now since Z2M does not have support yet for this device + I wanted to start out with something built in HA.
so far: sonoff stick detected immediately and was also able to discover the cube device. took some presses though, but it now found it. Also deleted it once and repeated and found it immediately.
then I went in developer tools and started listening to zha_event => there I got a nice series of events when turning, flipping sides etc. But after like 11 events I no longer get events in.
any idea what I should do. sitting 2 meters away from the stick in my basement to try it out. but seems like it suddenly stops firing events
Related to that, what actually is the deal with sonoff and their dongles? People either love or hate them, no inbetween. I keep seeing so many articles and posts about how sonoff is the worst of the worst when it comes to zigbee.
I just notice that when I do a click on the cube button that one does register (got the little cap open right now)
but so only the presses on the internal button register, no longer the flip/shake/whatever events
But I would never buy one
They have ... build quality issues
I was concerned by the 32 GB requirement mentioned on the website, my air is only 128 GB, with loads used by system already
@stable dawn When using Discord's Reply feature it defaults to pinging the person you reply to, which can get frustrating for the target. Use Shift + click on the Reply option, or click @ ON to @ OFF to stop this - on the right side of the compose bar.
You have to change this every time (thank the Discord devs for that).
Install betterdiscord and get the noreplymention plugin. There's also some other really spiffy ones too, even if all the skins suck.
The container will do a few hundred megs last i checked
Oh, I see. I'm using the discord app
this is against discord ToS and not okay to suggest to people fyi
the glances integration is pretty neat for seeing what's using memory and/or storage
Do they kick puppies on thursdays or something too because I'm wondering if it's possible for discord to make me dislike them more.
there's some furry drama stuff if you google them
They did buy Nikita Bier's gas app
of course there is
Indeed. So who's good for sensors then since sonoff's QC is about as good as DeWalt's
hue is gold standard for motion/temp/humidity but they're 40+ each
aqara door and window sensors are pretty popular and work good, i have a handful
So which do you recommend?
I
I find temperature sensors in a motion sensor are in the wrong place to get good data
've only used Sonoff temp and humidity sensors, and moes and tuya door sensors
Motion sensors are often best high up in a corner, and the temperature is best measured where people are/would be
i'm suggesting hue sensors for motion, they just happen to have a temp and lux sensor built in
Lol I'll keep my $5-10 aqara thank you
the sonoffs have been a pain in the ass, they love to just stop responding for no reason without disconnecting or being dead. Moes door sensors are alright but they're kinda touchy about spacing. Feels like it's because they're a ton of hollow space. Tuya's door sensor funnily enough felt solid and has so far had really dependable registration, fast response, and good battery life.
is there a place where I can see the raw logs of zigbee traffic?
One of my moes door sensors killed a battery in like 2 days but that might be because it's outside in the cold.
I read Amazon echo also does zigbee as a hub, but I'm not in the favor of letting Amazon listen in to m my conversations
https://github.com/dmulcahey/zha-network-card might be useful if you use zha
smart
For motion what I've heard is the Everything is the best by far.
heard by youtubers sent beta units of diy devices that are put into a 3d printed package?
Also, for smart bulbs I got sengled RGB ones but it says it only works with Alexa. Any chance it can be made to work with ZigBee?
LOL
You know of anything else with near flawless response for false positive and false negative and almost centimeter level precision?
dude if you ever start buying stocks you should tell me what you plan on buying so i can do the inverse
RGB bulbs tend to have pretty bad TM-30 ratings. Actually most smart bulbs have pretty bad light quality, even if their CRI is gamed they still have a poor R9 and TM-30. Imho it's best to separate RGB from bulk lighting. For your actual task and house lighting make the fixture smart at the switch or plug and then put in a good quality light. Then when you want RGB throw some cheap 2813's on WLED with an ESP32.
99% of the time when a manufacturer says their Zigbee device requires a specific hub, it's a lie. I say 99% because I've heard of a single manufacturer locking their Zigbee device down to their hub by making it only connect to networks with a specific extended panID (but haven't confirmed it myself)
Haha! Time to short the market then?!
I think part of the hub thing is because manufacturers ALSO play silly buggers with their hubs. Sonoff's page has complaints from their stuff not working with other hubs for example, and tuya's as well.
And even then, you can work around it by having a dedicated zigbee network for it (which would obviously be silly of course)
your sengled bulbs are "end devices" so they wont repeat your signal. bulbs are often used as repeaters for a stronger zigbee mesh
Yes, true. My point was that you can still use those devices with a Zigbee adapter and ZHA or zigbee2mqtt
|| or Deconz ||
The Sengled bulbs that say "works with alexa only" I believe are Bluetooth though, not zigbee.
Ok, thank you. I'm trying to learn here. It says on the box that they form a mesh. They mention "Bluetooth mesh"
ah
touche, i havent researched anything sengled after learning about their zigbee bulbs
i like the idea of cheap bluetooth sensors but bluetooth lights are gross
A few months ago I used to always see these cause amazon would sell them for like $0.99 for special sale. At the time though it always was asked "can it work with HA" and the answer always seemed to be no. I haven't checked since the BTHome stuff came out though.
thanks will look into that. because I don't know much about zigbee yet and just want to see if something registers in the logs when I do some movement with that cube
Okay, so what are recommended bulbs for zigbee? My use case right now is primarily white daylight during the day and softer yellowish light at night, and controlling on and off remotely using ok Google.
I don't really care about the other RGB colors but it's an interesting gimmick
cheap? ikea. not cheap? hue
Ah in that case, yes—not gonna work with Zigbee of course.
Yes hue is too expensive 🥲
They're going back then
you also want to look for "ambiance" or "cct" since you want ability to change color temp
you can either buy rgbw-cct or just white cct
how many bulbs are we talking?
i dont like suggesting wifi bulbs for the entire house but if you just want a couple the athom wifi rgbw-cct bulbs are reasonably priced
no i use hue :x
Hue is like $60
I don’t have any rgbw bulbs of theirs just ambiance
For rgb I use wled on an esp32 with led strips
A lot easier to justify a $15 bulb
ok for every action I perform on this aqara cube thing I do get a line in my debug log:
2023-01-18 20:40:54.713 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x4BE7), src_ep=2, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=206, profile_id=260, cluster_id=64704, data=Serialized[b'\x18\xc7\nI\x01 \x02'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=-21)
so does the fact that this does no longer trigger a zha_event has to do with template for this device?
I no longer get these zha_event though:
2023-01-18 20:20:32.635 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event zha_event[L]: device_ieee=54:ef:44:10:00:62:c7:bf, unique_id=54:ef:44:10:00:62:c7:bf:3:0x000c, device_id=87c27a4733221c05cf07fb41137580bf, endpoint_id=3, cluster_id=12, command=rotate_right, args=relative_degrees=130.3099822998047, params=>
2023-01-18 20:20:33.006 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event zha_event[L]: device_ieee=54:ef:44:10:00:62:c7:bf, unique_id=54:ef:44:10:00:62:c7:bf:3:0x000c, device_id=87c27a4733221c05cf07fb41137580bf, endpoint_id=3, cluster_id=12, command=rotate_right, args=relative_degrees=29.820003509521484, params=>
2023-01-18 20:20:33.609 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event zha_event[L]: device_ieee=54:ef:44:10:00:62:c7:bf, unique_id=54:ef:44:10:00:62:c7:bf:3:0x000c, device_id=87c27a4733221c05cf07fb41137580bf, endpoint_id=3, cluster_id=12, command=rotate_right, args=relative_degrees=3.1899991035461426, params=>
hmm and now without doing anything really I do get zha_event again in my logs
think I'm having this issue: https://github.com/home-assistant/core/issues/84301
Can you use dpaste.org to share code snippets please
Or use code blocks in discord if they’re small
yes apologies. it was more than anticipated
Btw I’m curious why you decided to buy the pro model
It’s very similar to the older generation which has been supported for a long time
yeah well I also start to wonder now 🙂
but since it's newer and it's still a gimmick. so I guess somebody will figure out how to support it properly in the near future
and I think the old cube doesn't have the numbers on each side (like the eyes of a dice)
currently it registers shake and rotate left / right events
there seems to be a trick to change modes for it. pressing 5 times this button, but nobody exactly knows how they pulled it off
for some it works, others tried 30 times and then it started working, and I'm still in the category of people where it keeps failing 🙂
fun device for my very first zigbee exerpience
the aqara TVOC and temp/humidity sensor should arrive on Friday, these should be supported
I have one of those, never had issues
hey attempt 50 seemed to have done something
now I clicked like 8 times very quickly and suddenly getting a zha_event "flip" 😉
like anybody else now I don't dare to touch that button again
slide, flip, rotate left, rotate right, shake, knock register now
You chose a device with the word magic in it as your first zigbee device? (This doesn’t matter it’s just funny to me)
I have three original cubes they are really neat
I use shake = toggle area lights, twist left = 20% decrease brightness, twist right = 20 increase brightness
Better than using Siri and I don’t have smart switches in a couple rooms for multi tap actions yet
well I think I have some use for them. my wife won't use them and will make fun of me again, but then again she always goes like "what's wrong with a normal light switch"
My mom came in town and actually liked it compared to voice commands or going over to switches
but it's for my 11y old son, he can control the colors of his led strips above the bed, lights on/off, close the shades.
Yep
and if it works stable I will order another one to put on my desk for quickly controlling things there
You’ve seen the nice blueprint for them right?
or in the kitchen to toggle some scenes, close the gate etc
I didn't load any blueprints yet
only looking in developer tools listening for zha_event 🙂
I'm actually sitting in my concrete basement now because my HA server is there and I don't have any zigbee reception upstairs 🙂
Oh you fancy with a gate
Then buy a PoE coordinator
yes planning on that one.
i'd buy one before they go out of stock again 😛
but I actually have a 5 meter extender usb cable that I can use to bring it upstairs and hide in a closet
idk how that will work with voltage drop
https://community.home-assistant.io/t/zigbee2mqtt-xiaomi-cube-controller/393203 this is great for controlling the cube instead of manually creating automations for each action
ah that's for zigbee2mqtt
Long live zigbee2mqtt
got it set up now with zha, but was planning on going z2m
but since that was even less supported for this cube I just wanted to try with zha
i think there's a zha equivalent but i'll let you do the googles
looks in mirror and questions himself after agreeing with atx
yeah there seem to be multiple variations of the blueprint: https://community.home-assistant.io/t/zha-aqara-magic-cube-69-actions/348204
Less supported? Z2M doesnt need explicit Support for devices, if a similar device exists it will just work is my experience
I've never had a device not work in z2m
yeah mine is by far more feature rich tho :x
Is it possible to have zigbee2MQTT and the zigbee integration running side by side?
Yes, with separate coordinators
ok actually pulled the usb cable to the living room already and now have reception here. will test coverage around the house this weekend.
If you want to is another story
There is no gain in running multiple meshes
I added my feedback to the github issue, maybe it is of some use to some other guy that is getting frustrated by this thing 🙂
I enjoy it already tapping it on my mousepad and just looking at the events coming in 😉
@jolly narwhal and @grim igloo so you both have aqara cube working with Z2M ?
Yea the original
I just did some quick tests with manual automations with zha and that works fine: just basic stuff: if knock toggle a light
not looking at sides etc yet
but since I want to go for Z2M anyway I don't think I want to spend time using the blueprints
Yeah, I have never had issues with the cube in z2m, the original one
I'm now just afraid that if I migrate to Z2M I will have to pair the device again
or can I migrate the network from ZHA to Z2M without re-pairing the device?
i think you can do it the other way around?
puddly made it somewhat painless to go z2m to zha iirc
I hope there is also an easy way to debug Z2M events if I'm stuck again in the wrong mode
now I could just listend to zha_event and see what it produces live
You can check the state of the entity that tells you the action
sensor.cube_1_action for me, for example
ok and that provides all the raw data from that event?
It tells me exactly what action was performed. But there are a number of sensors that I can also use if needed.
Hi guys, wonder has anyone experience unstable connection with Sonoff dongle plus-e? I have usb extension cable plugged in, but some devices would drop off occasionally. Have to restart Z2M to rejoin. Had no issue with this setup with CC2531. Only reason I upgraded was some newer devices not fully supported.
this cube is really awesome, easy to set up with these out of the box blueprints
dimming my light now with rotation and knock toggles it
only god knows
Jebus works in mysterious ways
this new cube has 2 operating modes. and in this default mode you only get rotate and shake events. but by pushing the button 5 times you can switch the mode. and all of a sudden all the events started appearing
but the tricky part is that nobody really seems to know the exact sequence for pushing this button 5 times. for some it worked right away, others had to try multiple times or had to give up
I added my feedback to this issue: https://github.com/zigpy/zha-device-handlers/issues/1975
So when in doubt clicky clicky clicky?
yeah
will switch to Z2M soon, probably this weekend
and if I break the mode again, I will just push the buttons randomly again until the mode is fixed
but then need to make sure I have a debugging screen available where I can see which events it sends
first time I used a blueprint too, makes things very easy
they suck for a lot of solutions but for stuff like this they're great
when I built the house I made too many light groups. all built-in led spots with DALI drivers and have groups of max 4 led spots each. a total of 108.
so have a lot of individual control possibilities, but in practice it's hard to bind those to a switch 🙂
Not familiar
well just constant current 3000k white leds, but the LED drivers support the DALI protocol. And the house is KNX so I have a DALI KNX controller. Basically I can address each light and everything through cable connections, no zigbee/z-wave or other RF stuff.
Is Dali using dmx or some other proprietary protocol
KNX also support scenes, so have basic scenes (light groups in practice) set up. And knx is decentral way and so not dependent on any central controllers
so if my HA server is down or my network is down the house still operates well with the normal, basic functions
You built this from scratch? Is it a castle 🏰?
no castle, but a new house indeed and I like a clean look and not too many loose devices
got these motion detectors in the ceiling: https://www.basalte.be/en/product/auro
they are tiny, also have a 1W LED for night lighting built-in , and are KNX
also have built in temperature and light sensor
They don’t have prices on their site so I can’t afford it
so I have feedback of a lot of sensors in HA, but not really doing much with it
haha yeah problem with Basalte stuff is that they are quite expensive
I think you can make the hardware for 10 euro/usd
but they go for 170 or so each
But I do like the quality and feel of the products. got these light switches: https://www.basalte.be/en/product/sentido
you can have them in different finishings, brushed alu, even stone
capacitive stuff and a led cross which you can control the color from
so went for a stable knx setup and now adding other sensors and stuff but only for optional stuff
as I don't expect this aqara cube to last 20 years
meanwhile: slide up/down for my blinds seem to work well.
slide down: start down movement / slide up: start up movement / knock: stop movement / rotate left: decrease slats position / rotate right: increase slats position
maybe I can make some transparant stickers with icons to put on the cube
oh recall on that: only have 1 slide action and not "slide up" or "slide down"
question: how do your cubes react if you just pick them up and set them back on the table on a specific side?
in my case it then doesn't trigger an event
but if I leave them on the table and flip sides, then it does
You have to try to trigger the action
It's not supposed to trigger if you say pick it up and wave it around, or are just tidying up
but reading the little manual I think it has to do with these modes
It's hard to describe but essentially the period of time between "was not sensing any motion" and "senses something that seems to be an action" has to be quite short
I find it really difficult to trigger a 180 degree flip
but I understand that you don't want to trigger things when you pick it up to move it or clean
I find it helps to pick it up upside down. As in, turn your hand, pick up the cube, and then as you pick it up turn your hand up the right way and start setting it down.
So when you pick it up, your index finger is closest to the floor and little finger is up, if that helps.
yeah not really succeeding in that one
here an extract of the manual with the difference in movement for the 2 modes: https://www.dropbox.com/s/cjg2efci37qjm71/cube.jpg?dl=1
I usually just use my thumb and index finger and sort of roll it over.
I'm now in this action mode and I think factory default is the scenes mode
it does help, thanks for the movie 🙂
now I think they could tweak the firmware a bit to make the allowed interval a tweakable parameter
in scene mode it appears you can pick it up and just put it on a specific side and that would trigger the scene
I also wonder what you are supposed to do with the "pick up and hold still" movement. just stand there with the cube in your hand and then 🙂
... and then yeet it to the nearest soft surface? 😉
any kind of feedback that the mode switched?
Hi! I'm trying to make my Soniff ZBMINI01 start in "on" state when it gets powered up, but not having any luck. Its not connected to a switch as the wires are hard to access, so its only connected as a remote switch on the power supply for the socket on the other end. Anyone know of any tricks? 🙂
I bought four of these, so am willing to solder if within my skill 😉
What are you using? zha, z2m, etc?
You should be able to manage the clusters and find some sort of default state somewhere, or "after power failure" or something in those words
maybe restore state? Something that sounds like is a state after a power off
z2m, but I switched to it from zha just a few weeks ago so I'm still a bit new to it. Would I find that in the dev console then?
Oh not sure how to help with z2m sorry, I use zha myself
Ah, but at least I have a new lead on what to look after. Thanks for the tip!
I found this about someone having an issue with a different model https://community.home-assistant.io/t/sonoff-zbmini-l-state-previous-on-behavior-swapping-between-previous-and-null/477345
The issue is harrowing, but he gives us some info
"Previous_on_behavior" is probably what you need
Yeah, I've seen similar but nothing that I try seem to apply. I have a feeling its something added in the zbmini-l model, which is annoying because they would have cost me the same but I didn't realize 😁
I have this one: https://www.zigbee2mqtt.io/devices/ZBMINI.html#sonoff-zbmini
I did something wild and sent a support request to Sonoff, both regarding this and that my devices are running old firmware 🙂
hey guys, this might be a simple zigbee question but i have nothing zigbee atm and am trying to decide whether to go wifi (shelly) or zigbee for my light switches
can any zigbee system work with any coordinator? so for example if i'm going to get something like this https://www.ikuu.com.au/product/twin-switch/ - they sell their own coordinator, but can i get any coordinator and have it work? and then do any of the coordinators work with HA?
sorry if this is basic - i'm very new to home automation and zigbee stuff, and just trying to get my head around it all so i know what i want before i get an electrician out
Well, mostly yes
First you pick ZHA (built into HA) or Zigbee2MQTT (external to HA), then pick a coordinator they support
After that it's purely a question of whether your device is already supported by ZHA/Z2M, or whether you need to add support
adding support sounds scary - is that flashing it to make it work?
No, it's writing a few lines of text
oh
well that's the opposite of scary then 😛
is it a standard procedure for all devices?
Z2M already has support for other things from that vendor (https://www.zigbee2mqtt.io/supported-devices/#v=Mercator Ikuü)
ZHA probably supports it if it's Zigbee 3.0, or well behaved
And yes, the process is standard, and documented
awesome
so basically i figure out if i want to go zha or z2m and find a coordinator from there
but once i have that, it doesn't matter what devices i get?
the problem is i'm in australia, so i can't get most of the zigbee switches i see around
Sure you can
There's lots of folks from Aus here
https://www.zigbee2mqtt.io/supported-devices/ has many things that you can use, including #zigbee-archived message
can any zigbee system work with any coordinator? - for the most part, yes but not 100% guaranteed! Aqara, Mijia devices usually state the same disclaimer but all I've tried work with my zigbee2mqtt & coordinator.
well i meant compared to the huge range of devices available on youtube reviews and whatnot - it seems like we don't have nearly as many
There's maybe one brand that locks things into a specific panID, but even then... set that panID and you can use it
Well, that's the USA market for you 😛
Also, a lot of that is shit
depends - they need to have an australian approval to them, and if they don't, electricians generally won't install them
how i wish everyone had access to the same stuff 😛 would be so much easier
@hot fable When using Discord's Reply feature it defaults to pinging the person you reply to, which can get frustrating for the target. Use Shift + click on the Reply option, or click @ ON to @ OFF to stop this - on the right side of the compose bar.
You have to change this every time (thank the Discord devs for that).
electricians generally won't install them - ahh! I do my own...
Phew! glad it wasn't me again!! (pinging tinkerer...)
it's generally quite frowned upon to do our own electrical work here, so most people don't tend to
We are allowed here in CA...supposed to get a permit though!
you do get the occasional people who do, but we have 240v instead of 110v like in usa, and there's been quite a few cases of insurance not paying out for damages caused by people not knowing what they're doing, even if it destroys their house 😛
yeah, everything in aus says it's absolutely not allowed and there can be huge fines if you do - some people definitely do, but i'd guess a good 80%+ probably just get an electrician
I ran my own 240v circuit for my car charger and I'm still typing...
i'd love to be able to do it myself though - save on electrician fees and do it all myself 😛
the USA has split phase availeble, so you get 220V anyway if you want to. so you can have 110V, 220V, and whatever industrial power is over there. 400V?
I started doing my own electrical work at 13, but I did vocational school for electronics from 16-19 so I at least halfway know what I'm doing
NA is 120/240!
ya I know, it used to be 110/220...
right now I'm at 115/230...
it depends on grid load
Yeah, 400v sounds right I think?
And yeah, if people know what they're doing it's fine but us Aussies maybe tend to overestimate our abilities 😛
norway started doing 400v distribution in the early 90s and we do split phase inside the house
just remember not to touch the black and red wire at same time!
...or turn the breaker off!
your grid is most deffinitly not a set voltage, they rarely are and god dammit i wanted to post a image to show how ours bounces up and down but i can't
and make sure you don't have something stupid like a ringmain
My oulets bounce between 215-235v throughout the year, depending on outside temp
when we have flux from -35c to +35c
our grid will bounce between that within one day
-35c ?? 😵💫
yes
if our neighbour turns on the charger for his electric car phase 3 will dip a good 5V
nah, we're in europe so it's a 75 year old grid here locally
kinda like how the UK grid dips around 5pm when they all put on the kettle
we're in the fields between farmers
...or all the lights at the same time!
yeah, I live in the middle of farmland, with great power and fiber optical networks 😄
one of the farmers had to get his own cable from the transformer hut as there wasn't enough capacity availeble on teh existing line without him fucking it up for everyone else
Brown Out!
I'll keep that in mind, thanks 😛
No need for a light dimmer...just turn on the kettle!
if we turn on the oven in the kitchen the fume hood starts running ever so slightly slower
Oh, one more zigbee question - I was originally thinking of the Shelly relays because they're locally controlled
Is zigbee always local control if I have z2m/zha or whatever? Or is it dependant on the devices?
zigbee is always local, the app that runs the gateway you use for it may or may not be
Don't buy a WiFi connected "gateway"
don't buy gateways
home assistant is local, but if you set it up it can be accessed outside your own network. be it through a cloud or port forwarding
z2m 
A gateway is some manufacturer connected device, that'll lock you into their ecosystem and possibly their cloud service
A coordinator is little more than a Zigbee radio
Ah OK, that's easy enough then
I officially give up on the sonoff temp and humidity sensors. Going to use Ali's surprisingly generous return policy and switch to aqara. It's $2 more when getting five of them, fkit.
Anyone got recs for keeping batteries alive outside in winter? CR2032s seem to die in like a week at 10c.
pretty sure batteries in general don't like the cold.
you say that
but my batteries are fine outdoors
both in my xiaomi single press button and my door and contact sensors
20+ meters from my house
in +35c to -35c
mailbox lasted roughly 1.5 years
Depends on the chemistry of the battery
lithium iron chemistry is the best but that's an extremely new niche product, good luck finding a coin battery in it
LiFePO?
Gezundheit
What's the difference between
SONOFF ZigBee 3.0
USB Dongle Plus and the non plus version that came out a few years ago? Does the plus have a better radio than sky connect?
There's been at least three different Zigbee 3.0 dongles they've done
https://itead.cc/product/zigbee-3-0-usb-dongle/ is the new EZSP based dongle
https://itead.cc/product/sonoff-zigbee-3-0-usb-dongle-plus/ is the "old" CC2652 based dongle
I have the "old" one. What's the difference between the "old" and "plus"?
Which old one?
The CC2652 based "old" one?
And which Plus, since they've called both the ones I linked to Plus
The plus that's the non ezsp based dongle.
That... really doesn't narrow things down
Ah, that edit does
CC2652 - well supported in Z2M and ZHA
EZSP - well supported in ZHA, not so much in Z2M
The plus with the cc2652p
Seems like there's so difference between the old cc2652p and the new plus cc2652p
Not sure they ever did an "old" CC2652 based coordinator
AFAIK there's only been one generation
You're right lol I just checked my order confirmation email from 2021. It's Been called "plus" all along sorry for the confusion.
Do you know the default tx power for that dongle?
I'm running the latest dev zstack firmware from December 2022
Doesn't really matter, TX power is more marketing fluff than anything to worry about
Sure, the dongle can shout louder to be heard further away. That doesn't help those devices speak back to it...
Hey folks - just got my skyconnect dongle and HA isn't showing it automatically - any ideas?
It's listed in hardware in settings but appears to be disabled because of this? https://developers.home-assistant.io/blog/2022/12/08/multi-pan-rollback/
(I didn't choose to install new firmware on it so presumably came as is)
Been having issues with my Zigbee network collapsing since I switched to HASS OS, is that likely related? Or is it more likely my coordinator is faulty....or some user error in placement?
Using the Sonoff ZBDongle-P Universal Gateway
Connection to most if not all devices failing, meaning they are uncontrollable in HA
ZHA, I think.
then, I have no idea how to read logs or version 😄
Struggling to spot the firmware version in the diagnostic log.
Texas Instruments CC1352/CC2652, Z-Stack 3.30+ (build 20210708) The build number here could be the firmware version
Okay. So flashing some firmware may help. Awesome
Also ensure that it's on a USB extension cable
Ensure it is on one?
Interesting. I had it on one and just moved it off that on the assumption it was harmful
Yes it should be on an extension otherwise you'll get interference from USB 3.0 ports
Not a tablet. Promise

Little x86_64 passively cooled server.
Yeah, Pi is just for Octopi
Interference wise, is a USB 3.0 extension hub a poor choice then?
I might have a USB 2.0 laying around
Check the pins, but USB 3.0 is bad for Zigbee
The actual port on the server is USB 2.0, but I'll see if I've got a USB 2.0 Hub
will there be interference if the original port is 2.0 and the hub is 3.0 🤔
Passive hub
Having a bit of trouble with the whole flashing process.
I'm going to need to dissassemble it to reach a button aren't I...
I've never flashed a sonoff, so no other idea than the document I shared
Figured it out, needed to checkout/build from master. Not the latest release
hm
I'd reccomend the one I linked
but master is "fine" too
compared to what you have
So what you linked is the firmware itself right
Plus the link you gave is for how to flash. The "Master" here is the git repository for the flashing software
As that then adds the argument --bootloader-sonoff-usb which the 2.1 release didn't have
Alright, Firmware written. USB 2.0 hub found
Lets go
Diagnostic logs at least say it's updated.

Getting there, after the firmware update. I need to repair all my devices. Just need to figure out how to put my bulbs back in pairing mode.
So, if anyone has an innr LED bulb and knows how to put them back in pairing mode when they're not communicating with a bridge. I'd love the help
I had, there were a few conflicting results.
Think I've dug up a video that suggests a certain pattern of mains power switching will reset it
did you try and reset them close to the bridge?
As close as I can get with a lightbulb
how far is close?
i had similar pairing issues with ikea bulbs and only having them like real close to the adapter worked
About 7ft
Okay, got one done. The difference between this video I found and the actual instruction manual is a 5 second "turn it on for this long first" step that seems to make all the difference
I have a very small flat so I managed to get away with it
Okay. I think everything is at least temporarily working again
did you remember to do a wifi scan before pairing, so you don't put your zigbee stuff on the same channel as wifi ?
but eh, apartment
sometimes you will need to keep them in the off position a bit longer to make sure it is really off
you probably have 9000 aps close to you
I did not....and that would be a little tricky. This server doesn't have any wifi connectivity, nor do I have a wifi dongle laying around. So if that is valid functionality. I may want to get one so it can do some channel care
you might be able to use an app on your mobile
you have a phone right ?
I so wish I was allowed to post images right now, please picture the "do you guys not have phones?" from Blizzcon 2018
I'll give that a shot, see what happens
having it very close to the bridge and leaving it a tat longer in the off position should make sure that the chip is really powered down.
when it happens to fast the chip might still be powered and not understanding it needs to be reset
Didn't see any options for wifi scanning. I think I just have to be optimistic that it picking Channel 15 was done with love and care
Everything looks pretty evenly distributed. No channel particularly better than the other
Though weirdly Channel 15 is beyond normal 2.4Ghz and less than 5Ghz channels. So maybe it really is fine. I'd consider it a little unlikely for nayone else here to be doing much home automation. Maybe an alexa or two
Hi All, sorry if I interrupt a conversation but do anyone know if there has been a change in a late update that affects the zigbee connection to a Sonoff device? I keep loosing connection to a temp/humidity sensor. Thanks
It has been working fine for a year and changed the battery on the device
No updates affect connections to devices. That's all handled by the firmware.
Ok thanks. Then it must be a hardware problem. Maybe the receiver that I use.
More likely just a radio environment problem. WiFi realignment, new devices, positioning changes, etc.
There is no obvious event/change in our house that comes to mind. But thanks for the suggestion
Puddly is there a thing such as a full network heal in zigbee like we have in zwave js for getting new routes on every device?
Anyone here have any experience with the LinKind motion sensor? I added mine pretty easily to my HA ZigBee but now it's stuck in detecting motion and won't clear
I have a couple, work fine
It has a "tamper" sensor that I just figured out how to clear by attaching the bracket, and when I do that it updates instantly in HA so it's definitely communicating
Tried a fresh battery?
it's reporting 100%, it's brand new, but no I haven't tried swapping it
I just pulled the battery, when i put it back in it cleared the detected motion, but then obviously from me handling it it detected motion again, now it's stuck at detected...
starting to think I should have just bought more hue sensors
well I finally found a thread describing my problem. Looks like the newer firmware version on the Linkind sensors is broken with HA. Causes my exact problem. Only solution I seem to have found is to downgrade the firmware, which requires you working with their support (which is reportedly slow) and also having one of their hubs (which I of course don't have). So yea, swing and a miss.
Sucks
I'll stick with my Aqara P1 sensors then 😄
Hi all, what do you think of Wiz bulbs? Getting a good deal on them. Can they work with ZigBee?
Pretty sure they're not Zigbee
Anything that doesn't mention the need for a hub, or talks about an app, is likely to be WiFi
Technology - Smart Wi-Fi
Amazing what you can Google 😛
Ok. Got it. But can they work with HA?
There looks to be a WiZ integration in HA, but it wouldn't be zigbee
Wiz used to be Bluetooth only
#integrations-archived can help with that better than we can here
Which is even worse
I personally want to avoid anything WiFi though, plenty enough congestion on those bands in my house 😛
Got it. Thank you. I also found wiz listed on https://templates.blakadder.com/phillips_wiz_9290023833.html
Anybody done that?
So why use zigbee? /s
Is there a Cli to see how much inteference the coordinator is seeing with a scan?
I remember there being one but I don't know if it still exists/commands
Yep that's what I just found lol
Thank you.
Hm I'm getting
[Errno 2] No such file or directory: '/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_92a111c53ac8eb119c4ac5c3de5b81b4-if00-port0:/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_92a111c53ac8eb119c4ac5c3de5b81b4-if00-port0'
With
zigpy radio znp /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_92a111c53ac8eb119c4ac5c3de5b81b4-if00-port0:/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_92a111c53ac8eb119c4ac5c3de5b81b4-if00-port0 energy-scan
Wait
Why the :?
Lol
Yes I just saw that
Now I'm getting permission denied
zigpy radio znp /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_92a111c53ac8eb119c4ac5c3de5b81b4-if00-port0 energy-scan
zigpy.application ERROR Couldn't start application
If you get permission denied, that's a problem with the environment
I ran this outside of the home assistant container. I run home assistant in a container. How would I run this there?
Try it with sudo then
You may have to see where the zigpy binary is located with which zigpy and provide that exact path to sudo, in case the PATH is different
sudo: zigpy: command not found
See what I wrote above 😆
I had to install zigpy as root to have it install all the requirements properly
that way, everything ends up in the right place and accessible by the user that's running it
I didn't end up needing sudo for that, but it worked when I thought I did
damn my aqara cube I set up yesterday is offline and doesn't respond. offline for 14h
removed it and paired it again, but I hope this isn't a normal thing
Make sure you permit joins only via the physically closest parent router, as otherwise it may be connecting to some random router on the other end of your house
I only have 1 sonoff stick and then the cube itself 🙂
the zigbee device will take out a lil measuring stick to see who's closest?
They can measure signal strength. Older Aqara devices don't.
and half an hour ago I paired a second device
but. yesterday evening I started to install zigbee2mqtt and did attempt to start it up, of course using the same sonof stick that ZHA is using
so maybe that broke something, dunno
I don't know if I posted this integration problem in the wrong channel. I have a Zigbee network. I have a new sensor that worked fine for over a week. Now HA says unavailable. I know it is not a range issue as they are close. I know it should be sending data as it is a motion sensor and it should go from unavailable to detected when I walk in front of it.
Go to ZHA's configuration page. What channel is your network using?
What sensor?
aqara motion sensor.
What other devices are on your network?
channel 11
radio type ezsp
Yeah, Z2M changed your network settings when you started it, which is why the cube is now offline
Sensors aren't considered offline until they don't check in for a few hours
aha ok, I'm actually happy about that and not that it means my cube is unreliable or broken
I suggest forming a new ZHA network and re-joining it. Channel 11 isn't a great choice
and don't know what channel it was on before
- Forming a new network will change it to that channel.
is that through migrate radio button?
Easier to just delete the ZHA integration and set it up again, but you can also do it with the migration
-
The larger one of this. https://www.amazon.com/Bundle-Philips-SmartThings-Google-Required/dp/B09H7NCH2W/ref=sr_1_4?keywords=innr+plug
-
This tempature sensor: https://www.amazon.com/Aqara-Temperature-Humidity-High-Contrast-Supports/dp/B09B28P3R3/ref=sr_1_2?keywords=aqara+temperature+sensor
In other words, an Aqara motion, door and temparature sensor as well as an Innr high amp wall plug.
can easily delete it
So a 50% chance the Aqara sensor is joined to the coordinator instead of the (likely-closer) plug
I had all plugs turned of when I installed them.
Re-join it to your network but make sure to join it to the plug instead of globally permitting joins and letting the device decide
That would also cause it to not join via a plug 😆
I want it to join the zigbee antenna and not go through the plug
Why?
More reliability. Is there a problem with joining to the coordinator?
That doesn't make any sense. If the plug is closer, that's going to be more reliable
The plug is further away.
How close is "close" and "far" here?
Both the coordinatoor and plug are in the same room but the Coordinator is 5 feet closer to the devices. Also, it has a much better antenna then the plug has on it.
Any idea what is wrong?
What integration are you using? What coordinator?
Hi all - when you have a Aqara device drop off the network, how do you re-activate it without having to remove it and re-add it?
Press the button to wake it up
sonoff 3.0 antenna. I am using the default scan and it adds it. I believe that is the ZHA.
I have 🙂 The LED lights up, even pulled the battery for a min or two
If HA has been running for a few hours, can you download the ZHA integration's diagnostics? (https://github.com/home-assistant/core/issues/86231#issuecomment-1397375382)
Well if you turn pairing back on (through the device you paired it through if you did that), and press and hold the button then it should rejoin
ahh, that was the part I was missing, I was afraid to go to repair in case it would create a new eentity - thank you!
I have found that some aqara devices just appear like they dropped off the network. They will say unavaible until they have data to send. I am having issues with one that did actually drop off the network.
As long as you don't delete the entity it should just link it all up again.
my zigbee range seems to be quite limited. Put the sonoff in a wooden closet but upstairs, let's say 10 meters straight line and even some open space I can't see the events coming in anymore. maybe changing the channel may also help here?
straight line does not mean line of sight
is there anything else inbetween the antenna and the recieving device aside from some wood?
got the sonof zbdongle-e and believe this could transmit with 20db
yeah there is some fireplace etc
Things in the way = interference
Lots of things in the way = lots of interference
Clear line of sight = much less interference, if any
metal things in the way = goodby signal
20db is only one way, the devices can’t talk back at 20db
yeah, my access point 2.4 and 5 ghz is also in a closet next to it and there I do have decent coverage, but of course that's probably a bit more power
It’s like yelling but not being able to hear the people talking back to you
how "next to it"? like a meter or other side of the room?
Those are causing interference 😛
makes sense. first day of experience with zigbee and so need to figure out things
would need some kind of fancy spectrum meter 🙂
not really, zigbee and wifi are in the same spectrum
a wifi analyser app and some thinking will also work
Keep in mind if you have the antenna pointed straight up then above that location is where it has its shortest range if any at all. Antennas broadcast in a donut around them. Angling the antenna side ways can give you more upstairs range if you angle the side going up toward your sensors.
Well, anything else emitting a 2.4ghz frequency is going to cause interference, no spectrometer needed
Check the 3rd pinned post for some useful tips and tricks
And the one on Zigbee and WiFi coexistence is also a very useful read
Channel 11 also receives the worst microwave interference. Channel 1 doesn't receive nearly as much microwave interference.
I'll check on my unifi access points which channels they are on
Zigpy-cli can also do an energy scan with most radios to measure noise on each channel
Ideally you want to be on either 1 or 11 in the US.
aha will need to test some things: measure, change channels, experiment with antenna positioning
EU here
luckily no other wifi networks around, well insulated house and the aluminium blocks lots of signals 🙂
Do you have channels 12 and 13 in EU? or even 14?
for wifi you mean?
yes
i can go up to 13 on my router
Then you have some more options nickdd.
Zigbee channel numbers don't correspond to WiFi channel numbers. They share frequencies but Zigbee starts at 11 and goes up to 26.
the unifi has "nightly channel optimization" turned on, but currently the 2.4 ghz is at channel 6 and 5 ghz at channel 44 (but 5 Ghz shouldn't matter I guess since zigbee is 2.4)
I believe nickdd was talking about wifi interfance.
wifi channel 6 overlaps with channel 15 to 20 or so
yeah was on that pinned page with that chart
Turn it off
automatic channel hopping will only make problems worse
The last thing you want is to pick a Zigbee channel and then have Unifi put the Wifi on something that overlaps
i just noticed our neighbour's wifi spans two channels at the same time
Probably a bad mesh setup
i'm not sure, it shows as a single access point . but it's 40mhz wide
so it interferes with like half of the enttire wifi spectreum
That is part of the spec. That is an extended bandwidth wifi channel. It is the reason I said to use only channel 1 or 11 in US earlier. Those are the only two non overlapping channels with extended bandwidth.
They way routers are programmed, they use the extra wide channels unless they get crowded, then they hop back to the normal 20 Mhz channel. It is possible to force a router to 40mhz reguardless of crowding.
I was looking for a graph showing the zigbee channel overlap with extended wifi channels but I haven't found one yet.
There's one in the pinned messages
Trivially found via Google too
You should stop looking down the back of the sofa 😉
I will pick the most extremes for each: low for zigbee and high for wifi
I also linked one a few minutes ago but didn't really give context to my link
From the pins, thanks to a Tinkerer in the past
I use 11 and 11
It says right on the article that it is only for 20 mhz wifi channels. Not 40 Mhz.
It's not really hard to imagine the channels wider
I could guess it but wanted to be more sure.
There's also not much point in 40 MHz width in 2.4 GHz
You get significantly increased bandwidth on 40 mhz wifi channels.
Wooo
yeah it's set to 20 MHz band here
Or just use 5 GHz and get actual bandwidth
just for some legacy iot devices, my dishwasher 🙂
5 Ghz doesn't have the range of 2.4 Ghz.
Unless you live in a house made of stone, or a mansion, it's rarely a real problem
Also, it doubles the idle power consumption from connecting to the wifi on cell phones.
And even then, multiple APs solve that
quite a bit of reinforced concrete in my house, so 1 AP for each floor
and walls are also full 15 cm thick bricks (sand lime brick), but the house is quite open so inside not much issues
wanted a solid house 🙂
Ironically, I wonder if you could get away with one router if you just turned your wifi router sideways (or at least the antennas). That would put the strongest part of the signal trying to go through the floor/ceiling. That would reduce your range on the floor the router is located.
will move things around this weekend and do some hands-on testing.
Antennas are weakest where thy point ( both directions)
will also put the TVOC sensor upstairs and that will be part of the network, so maybe in those far rooms it will set up the mesh through that one
Only if it's permanently powered
that won't be the case for these. will need some other device upstairs
think I will need some proxy
or 1 separate zigbee network for each floor
You could also use extra long antennas to extend range but keep in mind that works by making the signal more focused so that reduces signal away from the pointing sides. I had fun use a 12 db antenna in an RV park so the RV was in wifi range using a range extender.
I am just barely on range issues. No point in wasting money on a mesh network setup. I'd rather use 2.4 Ghz.
Can anyone help me? My aqara temp sensor in my garage has been reporting the same exact, unchanging temperature and humidity for 8 days. My understanding from the Aqara documentation is that it should send an update every hour, even if no drastic changes, and swings of +1 degree (F) will send instant updates. When I look at the "Logbook" for the device, I see no history at all, and I find it hard to believe that my non-climate-controlled garage isn't having temperature swings when it drops into the 40s at night.
I'm connected using Z2M on HAOS, Z2M and HA both show the device just fine, and LQI is 131
Have you tried taking out its battery and putting it back in?
what a simple question, that i stupidly have to admit i have not tried yet lol. I will give that a try, but if I need to do that every 8 days its going to change my thoughts on putting these things in my crawlspace
How did you connect it, does it have a local to it parent and did that parent go offline?
I joined it using Permit join (All). Interestingly, i just loaded my network Map from Z2M and i can't find it on the map to check for any connections
so its not on the map but Z2M still lists the device and acts like its okay?
I should add that I have plenty of Aqara door sensors and they all work great, even the one out in the garage in the same area as the temp sensor
maybe its just a bad sensor?
My Aqara sensors really only get glitchy when their battery is running low
And the reported percentage is never going to be accurate so you may want to try replacing the battery
Is it possible, if you have 2 Zigbee Controllers (USBs connected to same Pi4), to run both ZHA and zigbee2mqtt ?
As long as you have to separate coordinators, yes
Curious why the battery percentage cant be trusted? Is it just because watch batteries?
Is the USB Dongle the "coordinators"?
The Aqara sensors only report voltage and it doesn't really correlate with anything. Mine report the same voltage for like a year and then stop working or start reporting -1000.0C (which gets filtered)
has anyone here ever submitted a new entry for @violet dagger 's listing of zigbee devices? I can't remember how long it took the last time I submitted something 🙂
I think this is why I don't always treat the list as authoritative - just because something isn't on it (the lidl/livarno1 floodlight I bought last week for example) doesn't mean it doesn't necessarily work - it just means nobody's tried it yet 😉
I submitted details of the floodlight ( HG08010 ) thru the google form at https://zigbee.blakadder.com/new.html which seems to be the suggested method. PRs are for updating details, not adding details of "new devices" I think
I don't mind waiting - just curious
just tried zigbee2mqtt. was easy to set up, but only my aqara TVOC is a recognized device. the new magic cube t1 pro was immediately discoverd but turns up as an unsupported device
support status "not supported". availabilit: disabled
gotcha, I shouldn't have said anything. I wasn't aware of the form 😛
wonder if I can contribute some useful info back to the community to make this a supported device
there's an open request for that device: https://github.com/Koenkk/zigbee2mqtt/issues/15652
nice. you found the external converter in comments?
yes and want to try it, but checking where I need to put that 🙂
https://github.com/JJPro/CTP-R01-converter just making sure you ended up here
with instructions
yes, looks like they just fixed a bug, haha
just noticed something: if I go in HA => addons => zigbee2mqtt => config and edit the config in yaml there I can see something I added manually:
advanced:
transmit-power: 20
but if i open the zigbee2mqtt\configuration.yaml file directly I see parts of my config but other things are missing there. like my advanced transmit_power thing
but it's working now
restarted zigbee2mqtt and now it is "supported"
no worries 🙂 the local lidl were doing a clearance warehouse a few days back and I bought one at 50% off - figured at the least it might show up as smart light/bulb under ZHA which is exactly what happened 🙂
What is the Difference between "lasZone" and "Occupancy" entity on a zigbee connected Motion Sensor?
IasZone is for motion detection and doesn't stay "on" for as long
According to the log for each entity, the lasZone and Occupancy are reporting "Detected" and "Cleared" at the exact same timestamps
Only differences is for some reason, Occupancy, has two entries at the same timestamp for the same state change.
with this converter I can actually switch action and scene mode on the cube through z2m interface 🙂
instead of that bloody 5 times pressing the button
this guy definitely deserves a coffee
@sharp birch do they time out at different times?
I can only speak from experience of using my aqara motion detectors, what ones are you using?
That's what I have - the P1 version
Aqara do several - I'm not using a P1, but the "standard" one at https://zigbee.blakadder.com/Aqara_RTCGQ11LM.html
Umm, time out?
lasZone: last log for "cleared" 3:35:49 PM - 1 hour ago
Occupancy: last log 3:35:44 PM - 1 hour ago
So like a 5 second difference 🤷🏼♂️
The P1s are basically the same, just ever so slightly bigger.. and with zigbee2mqtt you supposedly can adjust their sensitivity and the setting that lets them retrigger faster (sorry, I'm new to this, so not sure what thats called) .. but those 2 options don't to appear in ZHA
(kinda why I was asking earlier if I can run both ZHA and z2m.. since the Motion Sensor doesn't have the range they claim to have)
that last sentence confuses me a bit
What do you mean?
Using ZHA and zigbee2mqtt on 2 different Controllers (coordinators) ? So I don't have to go around and re-pair everything by just switching the 1 controller from ZHA to zigbee2mqtt..
ok if you said FP1 I might understand the difference as that's the mains powered one
Yeah, Im familiar with those ones too, they are the presence sensors that use millimeter wave...
but Aqara makes 2 of their "motion sensors" an older one, found on Amazon.com, and then the P1.. I could only find these at Home Depot here in the US ..
I have a graveyard of the older ones. 🙂
I missed the bit about you wanting to use z2m to adjust a setting, gotcha
I just built a bunch of motion + mmwave sensors
not zigbee though 😛
I saw the ones that fella on youtube (the one that closes his eyes a lot while he talks) is making that use Motion + mmwave and like a D1 mini or some ESP32 board..
Problem with those, for me, is they require being connected to power. And power outlets are limited, especially in the kitchen.. unless I drilled a hole in my ceiling and ran the power to one of the outlets in the attic
This may be a silly question, but If I am running two instances of zigbee2mqtt (on separate hardware) with one mqtt broker, on HA. Do I need to make sure I use a separate mqtt base topic?
yes
oops
So if all my entities disappeared from HA, but are still in the Z2M addon. How do I get them back?
I assumed, at least. I don't recall if there's common stuff in there, but I recall having issues when they pointed at the same topic tree
I had two instances running a few days
so sayeth the docs
just fix it in the zigbee2mqtt instances. MQTT will populate
all your stuff will probably just show back up
I'll give it a shot. Thank you.
I don't think my aqara TVOC temperature reading is very accurate. guess it's about 1.5 °C off
Everything seems to have repopulated. New topic on the new box now. Lesson learned.
hmm temp seems to have settled and is now 0.1° off from the other sensor next to it, happy with that
wonder if it will do OTA updates with Z2M
Anybody here gotten a skyconnect dongle? Ignoring all the coolness of thread and matter, I'm wondering how it compares to conbee2 for zigbee connectivity (facilitating me slowly moving from ZHA to Z2M). I'll worry over Matter once I have some devices that use it on a wishlist or such!
I was planning to buy a skyconnect since I'm starting fresh with zigbee, but couldn't find anything on stock and only a limited number of shops
https://thepihut.com/products/home-assistant-skyconnect has some, it seems
yeah just checking and https://raspberrypi.dk/en/product/home-assistant-skyconnect/ has stock again too
they both didn't last weekend
not interested in matter. sounds like too much marketing and will be yet another protocol I guess
Yes, it's hard to tell at the moment. I might be better off waiting and spending the money on power monitoring plugs or such.
they say they are backed by 200 tech companies including the big ones. doesn't always mean much. If those companies start updating all of their products to support matter out of the box then it may work
hey guys, i'm thinking of getting started with zigbee and have been watching a few things and i've seen that some people have (very rarely) had to reset their zigbee devices to get it to work again
is that the same as pairing it as per the instruction manual? or is that different? it'd be for some zigbee light switches, but if resetting it requires me to access stuff behind the wall, it's not something i'd want to use (for reference, atm i'm thinking of these types of light switches https://www.ikuu.com.au/guides/how-to-pair-a-zigbee-switch-or-power-point/)
you linked a guide
it's okay, I just spent about 5 minutes trying to figure it out
brain was not realizing that it was just a guide
sorry, my bad 😛
I didn't mean it like that, I was just saying my brain no worky
apparently neither was mine 😛
Usually if people are having to reset their devices they've either:
- Broken their system, and had no backups.
- Not set up their system right in the first place, leading to a broken system requiring re-pairing devices
So check the pins for how to choose a good Zigbee channel to avoid interference, pair things like sensors (especially Zigbee 1.0 sensors) via a sensible parent device in the place you want to use them, and make sure you have backups that are copied off your HA machine regularly
that's easy enough
if it does need to be reset for whatever reason, it sounds like it's something that isn't necessarily easy like putting it into pairing mode or whatever?
I'm sure I've missed something important, but the pins cover the vast majority of the info
Honestly I've only ever needed to put devices into pairing mode again when I've screwed up.
perfect, that sounds doable at least
it's just a huge commitment to go and get a bunch light switches that should work with HA in theory for the electrician to install, so want to make sure i know all the possible cons/issues that could appear beforehand 😛
Can you install one light switch yourself in a room that is primarily for your use?
I don't know your skills nor the electrical code where you are, but I can change a lightswitch on my own and did for my one smart switch
The rest I just added covers with smart buttons on
unfortunately not - in aus you can't do DIY electrical stuff
https://www.amazon.co.uk/IYOKI®-Switch-Philips-Dimmer-Adapter/dp/B08XMPRYD1/
This is what I used
some people do of course, but those are definitely the minority that either know what they're doing or don't care enough 😛
well, we have a remote for our fan at the moment and we lose it all the time, so want to stay away from those sorts of cover plates just to be safe 😛
also i don't know for sure if it'll work - we don't have the holes in the sides of our switch to hold it in place as far as i can see
where's the buy link on that ikuu switch?
you have to get it from retailers, but i can get one, sec
only a couple of those switches were supported officially by zha/z2m so make sure you get one that is unless you want to implement it or harass someone to implement it for you 😛
thanks mate
yeah, i found the list for mercator (the brand that makes them) for z2mqtt, but they only have the 1 gang and 4 gang listed, but not the 2 or 3 gang? would that be an issue? https://www.zigbee2mqtt.io/supported-devices/#v=Mercator Ikuü


