#zigbee-archived
1 messages · Page 13 of 1
People buy a project box and put the controller and psu in there
It’s a project
There’s tutorials on YouTube to learn more and see if it’s worth the energy
People post project pics to r/wled and in their discord too
nice i'll check out the discord
i've got to up my halloween game next year too
i've got wled running lightning this year but definitely can go a step beyond
that is really cool
yea i thought so too
my wife is going to hate you. already scoping out how i'm going to change the cabinet lighting
She’s gonna be even more mad when she finds out y’all are adopting me
I’ve still got some good years left in me
once the devices are paired and mapped , is it possible re map when I add new zigbee routers , so the sensors can connect to the nearest router ?
We had that discussion earlier. In a perfect world they’d get better routes but due to battery constraints and non ideal coding they probably won’t. Mains powered should though.
but is there a way can we force remapping ? I am using z2m
one thing that feels odd about the zigbee2mqtt device actions, and maybe i'm doing something wrong, is there seems to be lots of stuff missing
i've paired a hue 4 button dimmer remote and the only events available in the HA dropdown are "off_press" action, "off_press_release action", and "on_press_release action"
I can get around this using the state trigger
and logging out what each button press' event is
just odd
Question.. What's the best way to increase thr range of my Ikea Tradfri gateway ? I have about 13 blinds, 11 on second floor and 2 on the first. The gateway is only able to cover the 11 on the second floor if placed on the second floor. I now want to add 5 more blinds to the basement, and I need to extend the range of the gateway. Would I be able to add a few Zigbee repeaters/routers across the house and expect that the network will get extended since the blinds operate on Zigbee ?
is anyone using pzem(energy monitor) in zha
is there like a suggestion list which zigbee light bulbs work 100% with HA and don't cost an arm and a leg?
Tradfri work well, Osram really don't (except the newer Zigbee 3.0 LEDVANCE stuff apparently).
i'm seeing philips hue mentioned a lot (seems to almost be the default suggestion), what about innr/sengled?
Hue are good, but expensive. Both Innr and Sengled are good, but availability of those does seem to vary around the world.
is it possible to reconfigure router devices to not act as routers and just endpoints?
I have two sensors connecting to a lamp (router) which I want to avoid because the lamp is not always powered.
No
out of curiosity is it something for which there just exists no support yet or is it an inherent "issue" of zigbee?
The device itself decides whether it's a router or an endpoint
Similarly the device itself picks how it connects to the mesh
If you're going to cut the power to the lamp, buy a Sengled bulb for it - they're the only bulbs that aren't routers, because of exactly what you're doing
I see thanks for your insight
Is there some that would react uf i just ONCE hit the thing út Is stuck on?
What?
It's a button, you push it and it reports on then off, or hold if you hold it down
One ikea Burton outnof 3 Down after about 8 Hours 😦
If you want an actual switch you need to buy an actual switch
Well IT does support shake And they Havel thé vibration sensor
@misty oasis 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).
So Burton Is Button, but hitting thé thing Aš a backup would be nicr
If you want to be able to hit something, look at the Xiaomi Cube
You can pick it up and smack it on the table
When i use the vibration sensor i need to hit the thing few times
I can't say I'm in the habit of hitting things...
It Is (obviously) kind of a pratical joke
@quick kestrel I converted your message into a file since it's above 15 lines :+1:
That's ... not really Zigbee related
You wanted #frontend-archived - but does that card even support templates?
my bad already moved
I do not understad 😦
Don't understand what?
"my bad already moved"
Did you read the few posts above it?
Yes
Then you'll have noticed that somebody posted a question that should have gone elsewhere...
Is there any reason for using zigbee2mqtt instead of zha? Is one better/more reliable than the other?
https://youtube.com/shorts/6kTb_ly-L4U?feature=share Dunno if fakt but for this Guy sams sensor seems to react on one hit
See the pinned message, it's largely down to personal preference and what devices you have
ZHA has better support for some, Z2M for others
What does it mean if a device's battery level in Zigbee2MQTT panel shows full charge icon, is green and blinks?
I've tried, but it always turns on the light first. I am using this model https://www.zigbee2mqtt.io/devices/TS0002_switch_module.html#tuya-ts0002_switch_module
Innr are fantastic
if I understand correctly most zigbee bulbs can just be directly integrated and controlled via HA with the ZHA (or that other one) integration, no need to fiddle around with different intergrations right
I just replaced my sengled with Hue (was finally convinced to try them and I’m very sorry to say they are worth the money 😕)
As long as they aren’t Tuya they should just work
worth how though? ease of controlling them or just how good their light quality is?
Very much depends on the bulb, but ... mostly yes, doubly so for Zigbee 3.0 stuff
yeah after my Tuya thermostats i'm swearing off that china stuff forever
Xiaomi stuff is generally fine - the pre-3.0 stuff is a little quirky, but if you pay attention is rock solid
Sonoff's stuff... mixed bag, very mixed
My own setup is mostly Xiaomi, with Innr for routers, a large number of Terncy devices, and a smaller number of Ikea, Linkind, and Gledopto devices
Oh, and one Lidl LED strip
why I'm asking is because i've started with ZWave and have ZWave relay for switches and dimmers. but now looking at most stuff like Aqara sensors for doors/windows which most people seem to like, they're Zigbee, so I'll have to build up a Zigbee mesh network anyway
and easiest way seems to be via light bulbs, as almost lights seem to be zigbee anyway
Yeah, I started with Z-Wave and have moved entirely to Zigbee now
I still wish for door/window sensors as nice as the Z-Wave ones, but for everything else I've found a Zigbee option that's cheaper and at least as good, if not better
That one died on me first week 😦 So dunno
Which model do you use ? Or recomend
Hopefully this is the right spot to ask. Just grabbed some Aqara temp/humidity sensors, I've paired them with zigbee2mqtt successfully (can see them in the dashboard) but I do not see them under Integrations > Mosquitto broker or under Entities
Do you have other working entities in Z2M
No, first time setting up anything Z2M
Did you enable Home Assistant in Z2M?
By default it's not enabled
Heck, by default the UI isn't enabled
https://www.zigbee2mqtt.io/guide/configuration/homeassistant.html#advanced-configuration - though you can (and IMO should) do it in the UI
Where would I find it?
Under Settings
@hardy sorrel 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).
Ok, I can see it under HA Integration > Simple. I've enabled it, would I have to remove the device from Z2M and repair it for it to show up in HA?
I'm pretty sure at this point you'll have to restart Z2M
hmm no change. I've restarted Z2M, I can see it in the Z2M logs but still nothing under entities
sorry didnt realise that was on
I'm guessing you skipped reading that bot message
How new is your HA install? Have you had MQTT configured for a long time, or only recently?
HA has been running for a couple of months
Z2M, only recent. This is my first time adding anything in to it
Then, by default MQTT Discovery should be enabled in HA
I've also manually added the discovery config and restarted HA
I've never enabled HA support after setting up Z2M, but the only time I was missing a discovery payload from Z2M restarting Z2M solved it
Maybe worth checking that HA can see the MQTT Discovery messages
Oh, and if you added stuff to the YAML in HA you may have broken things
I just added homeassistant: true to the Z2M yaml
HA logs are showing: 2022-11-01 01:41:09.717 ERROR (Thread-2 (_thread_main)) [homeassistant.components.mqtt.client] Unable to connect to the MQTT broker: Connection Refused: not authorised.
That would explain a lot...
username and password were correct across Z2M, mosquitto broker and HA user. I removed and readded the user and restarted the broker and its now showing
Thanks for your help @lilac wharf and @sour shadow
Does anyone know if these dim or if they're straight on-off only? https://www.aliexpress.com/item/32950175670.html
https://www.zigbee2mqtt.io/devices/QBKG21LM.html suggests it's just a switch
Thank you. That's what I thought.
I have a light group of 4 lights. 3 of them can be controlled individually the 4th won't do anything. If a turn the group on and off this light does react. I'm using z2mqtt anyone an idea why this light does not react to individual responses?
In z2m it tells me the light has a time out for response 10000ms
Reboot the light
What brand is this light? IKEA?
How long did you keep it off?
Not very long I'll try it longer
Do lights re establish routes after boot?
Some have a bug where half of the firmware crashes and you can only contact them with group commands
I don't think so but I haven't checked in a while
Jus turned it off for 30 seconds but still the same
Still curious about my routes question tho
I guess z2m isn't very stable or the coordinator firmware isn't... having allot problems
Mostly it goes wrong after a full reboot of ha when the network goes down for a while
After it there is always a sensor or light that needs repairing.
i was talking about button, i would go with shelly over wifi from of the shelf solutions, honestly
Thanks. I've been trawling round various sources on zigbee remotes and ZHA and realised I didn't appreciate or understand the difference between pairing (to a controller) and binding (directly to a device) either Touchlink commissioning or "find and bind" via network. So, with the remote I've not bothered to try to create a blueprint for managing the lights as it does this itself much better by following the instructions it came with. I've then created a simple blueprint to capture events and associate with device actions for things like plugs (which you can't bind to). Interestingly once this is set up, the all off button on the remote actually switches the plug device light on and off too despite not having been directly configured to do so. I tried binding from ZHA and had some success (though the UI doesn't move from spinning blue circle mode) by putting the remote into "find and bind" and selecting a device to bind to but it grouped all devices to all endpoints - my remote has 4 different controls, so resorted to touchlink binding. (I think some of my issues are probably due to HA not picking up the remote details - so it's all raw events)
The Hue lights shouldn't have that issue where they crash. But I've had the exact same issue you're describing. In my case, it were some IKEA lights that caused this. I've put them on a separate Zigbee network. The IKEA lights that cause this report zcl_version=3. In my case, all the lights which only reported zcl_version=2 did not take other (Hue) bulbs offline.
Like, the IKEA bulbs causing that issue were working perfectly fine but somehow caused other Hue bulbs to only respond to group commands for hours at a time.
Since I removed all IKEA bulbs + plugs (with "zcl version"=3) from my network, all bulbs are fine
It’s funny we never seem to point to hardware failure with our smart devices
He could easily just have one bad bulb and bad luck lol
Also, what firmware versions are those Hue lights on? 1.93.11 (Silabs) or 1.88.1 (or something other version?)
How i can set indicator_mode on TS011F power plug with home assistant?
what are you trying to do?
Currently using the "Manage Zigbee device" -> clusters menu
In the future, a config entity could be made available (I think there’s a pending PR)
But at the earliest, it’ll be in 2022.12.0
Then set it to 0, 1, 2 (IIRC)
@mellow geode 1.93.7 is the version they are on. but im experiencing problems all over my network. everytime a light goes offline or without power or when z2m reboots the whole network is a mess for days before its back to normal again
Hi, need a little bit of help 🙂
Have the Sonoff 3.0 Dongle Plus for Zigbee. Had installed the Mosquitto and then the Zigbee2mqtt addon
now: i configured:
port: >-
/dev/serial/by-id/usb-Silicon_Labs_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001-if00-port0
But: 502 Bad Gateway
no new device in the device list, no idea what is the problem
what does the zigbee2mqtt log say?
here is fine
[20:33:13] INFO: Preparing to start...
[20:33:13] INFO: Socat not enabled
[20:33:16] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:info 2022-10-31 20:33:22: Logging to console and directory: '/config/zigbee2mqtt/log/2022-10-31.20-33-22' filename: log.txt
Zigbee2MQTT:info 2022-10-31 20:33:22: Starting Zigbee2MQTT version 1.28.0 (commit #unknown)
Zigbee2MQTT:info 2022-10-31 20:33:22: Starting zigbee-herdsman (0.14.62)
user is added and configured in the config
IIRC it can take a few minutes for the UI for some add-ons to be ready
no clue then. that's all that's in the zigbee2mqtt log?
@elfin gate I converted your message into a file since it's above 15 lines :+1:
that's more helpful. add this to your zigbee2mqtt config and restart zigbee2mqtt:
advanced:
pan_id: GENERATE
network_key: GENERATE
under the user in mqtt space right?
anywhere in the config
again: [20:54:19] INFO: Preparing to start...
[20:54:20] INFO: Socat not enabled
[20:54:23] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:info 2022-10-31 20:54:29: Logging to console and directory: '/config/zigbee2mqtt/log/2022-10-31.20-54-29' filename: log.txt
Zigbee2MQTT:info 2022-10-31 20:54:29: Starting Zigbee2MQTT version 1.28.0 (commit #unknown)
Zigbee2MQTT:info 2022-10-31 20:54:29: Starting zigbee-herdsman (0.14.62)
Zigbee2MQTT:error 2022-10-31 20:55:35: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2022-10-31 20:55:35: Failed to start zigbee
Zigbee2MQTT:error 2022-10-31 20:55:35: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2022-10-31 20:55:35: Exiting...
Zigbee2MQTT:error 2022-10-31 20:55:35: Error: network commissioning timed out - most likely network with the same panId or extendedPanId already exists nearby
at ZnpAdapterManager.beginCommissioning (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/manager.ts:347:23)
at ZnpAdapterManager.start (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/manager.ts:92:17)
at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:132:29)
at Zigbee.start (/app/lib/zigbee.ts:58:27)
at Controller.start (/app/lib/controller.ts:101:27)
at start (/app/index.js:109:5)
did i had to turn off the alexa zigbee gateway?
because panID ?
change it?
no
that's what the GENERATE thing does that i shared above
this is weird though. is the adapter plugged in to an extension cable?
no directly in the rpi4
would definitely recommend using an extension cable and plugging it into one of the USB 2.0 ports
k, had ordered yesterday, must wait to wednesday
so, project must sleep, thanks for the help
it is too near at the pi4?
that is the issue?
It can cause interference, yes
The startup formation failure is from interference. Z-Stack can't find a free channel and gives up.
I have keep bumping into the same issue.. Added a zigbee sensor which shows up in phoscone/deconz and detects motion. But whatever I try, it does not appear in HA. I tried rebooting it all, upgrading the core, app etc. Is there a way to force discover the sensor or manually add it to HA?
https://www.youtube.com/watch?v=SBLsidP3kio why does the light not light up, but instead it actually updates status correctly that it is "off"?
The device is probably offline
ah, had found one :D, project goes on xD
aaaaand it works xD, no more gateway xD
I accidentally removed a hue spotlight from my hue app while it was "Unavailable" so now its stuck thinking its paired to an app that it's not paired to and the only way I can reset it is to crawl outside in my garden and get the Serial Number... RIP
Hello, a few weeks ago i restored my HA from backup, had some problems since. The main thing now is that even if my devices are showing up in "Zigbee2mqtt" addon they are not being added as entities in home assistant. Even if it succesfully connects to the MQTT broker from the logs. Any known place I could start looking?
Anybody know if aixi-SHS ZigBee 3.0 Smart Plug work with HA and without tuya cloud ?
Works with ZHA? or Zigbee2MQTT?
It should work with ZHA, since it's Zigbee 3.0 - Z2M have a page listing all the already working devices
You can reset them via TouchLink too. You can also try switching on/off five times, but that only works on newer lights
I use ZHA with Aqara and IKEA sensors that use batteries. All these sensors are listen unavailable most of the time probably to save battery power. Is there an ability to change the ZHA behavior to show the last known state or instead of unavailable?
What is your timeout for end devices set to in the ZHA config panel?
I guess default. Didn’t change anything.
Can you check? (It’s set in seconds. Settings -> Integrations -> ZHA: configure -> second field with end device timeout
300sek
300 seconds for end devices is unlikely to be the default
Routers, sure, I could believe that, but end devices can go hours between messages
Most of my current stuff reports hourly, but the Xiaomi leak sensors sometimes go 6 hours between packets, and both the Konke and Tuya stuff I used to use would typically sleep for 3 hours between messages
Should be set to 21600 seconds (6 hours) for end devices
Mains-powered devices should be set to 2 hours (7200 seconds)
(though IMO you can change those once you understand your own mesh)
Without the leak sensors I could use 70 minutes for end devices
Thanks for the hint. Will try with one hour and increase if necessary.
Well, I'd start above an hour
Otherwise you're in the fun of race conditions where you get to roll the dice on whether the entity will be briefly unavailable
That's why I said 70 minutes above
(even then, that's optimistic since it's not unheard of for a single "keep alive" to go astray)
Sorry i don't understand this.
How i can set indicator_mode on TS011F power plug with home assistant?
I did not know about ZHA until I read this, maybe I should just use that instead if I'm starting over?
Just try ZHA and see if that solves the problem. However, generally if the devices are detected in Z2m and sending messages, sometimes just a restart of HA resolves the problem
@fallow warren you need to configure MQTT in services for your entities to show up in HA
I had the same problem when I set up Z2M a few days ago
has anything changed in getting ikea tradfri bulbs into pairing mode? Still the old six times on/off dance?
hm, I see people referencing "but this doesn't work for the new 1000lm bulbs" internetwise. And guess which I've got..
Thank you, where did you do that though?
Settings > Devices & Services > Search for MQTT, press configure
Yep no problem I went through the same issue this week so happy to pass it on 🤘
Is it possible to set the cooldown time of hue motion sensor.? from when it switching to motion on to off. Default is like 15 seconds I think
Yeah, currently it’s only possible to set it using the "Manage Clusters" UI
Minimum is 10 seconds IIRC
Should be pir_o_to_u_delay on the OccupancyCluster
Hey there, I’m struggling to find the path to my zigbee device on my NAS drive. It says that it can be found at “/dev/ttyACM0 for most Synology users” but mine is not there. I’ve also run the command to find the devices with both the zigbee device plugged into the usb port and not plugged in to determine if it’s under another name but nada, no devices disappear when I unplug the zigbee stick.
DSM 7.1-42661 Update 4 and CC2531
CC2531
DSM 7.1
![]()
Synology DSM 7 does not support external USB devices
The other option is to buy a network connected coordinator, such as the ones listed in https://www.zigbee2mqtt.io/guide/adapters/#recommended (I'd personally recommend Tube's devices)
Okay,, zigbee groups and bind are kind of magical. Why didn't anybody tell me? (Everybody who's been telling me: "wtf?")
People talk about it all the time. It’s sucks it can be limited by what devices support which clusters
Like I found out I can’t bind a door/window sensor to a bulb 😦
that'swhy you also have a more flexuble platform to do the weird shit
but I am a little bummed about not being able to get my ikea bulb into my ha.
Thank you!
Hey all, I'm trying to migrate my Zigbee network from Deconz over to ZHA, but when I try to add the ZHA integration, it says "Already configured. Only a single configuration possible.". anyone run into this before?
It seems you already have ZHA configured. What integrations do you have installed?
I have quite a few integrations set up, but ZHA isn't configured (on my list at least). I tried this before and ended up reverting to deconz because of the same error
I deleted my Deconz integration because i was having another problem with it, so that's not present either at the moment
So you have no integration installed with this icon, correct? https://brands.home-assistant.io/zha/dark_icon.png
Turns out, it's on the hidden list. wow. 🤦♂️
ya know what would havce helped with trying to pair that ikea bulbto my zigbee? IF IT WAS ACTUALLY A SMART BULB
jesus
I just had compeltely the wrong bulb in there.
yep. Turns out THAT HELPS A LOT
i will put that in my notes
I've been banging my head into that, off and on, interspersed with bouts of a bit of gaming whenever it got boring, for several hours. Bloody hell.
I'm really speechless at the day I'm having. (I also broke the glass door on our kitchen oven earlier today. The replacement was 300 bucks and also is no longer available, so I will be buying a new oven.)
do whatever the opposite of buying a lottery ticket is
maybe just drug yourself into tuesday?
it is tuesday.
drugs self into wednesday
it is Wednesday, my dudes
when a Zigbee device is found in ZHA but appears as unknown and/or is missing controls/sensors, I know this means it needs a quirk but is there a simpler way to fix the problem and what would that be?
When it is shown with unknown model / manufacturer it means the pairing failed.
I’m working on the pairing screens to make this more obvious
remove the device from zha, wait about 30 seconds and then add it again
should the gledopto zigbee pro be able to control these COD leds? https://www.amazon.com/gp/product/B08Q3RKCZH/ref=ox_sc_act_title_3?smid=A35UAT07QG3EC6&psc=1
Should work with the CCT controller
Thanks!
hello, i have zigbee sonoff dongle P version and some battery powered sensors, but need to extend network, does any powered device (for example zigbee plug) act as a router?
@fresh dragon hue bulbs do, also the sonoff switch mini does
I have the Moes thermostats: https://www.moeshouse.com/collections/smart-thermostat/products/zigbee-mini-radiator-actuator-valve-smart-programmable-thermostat-temperature-controller-1
These are connected to Homeassistant via Z2m.
Now I have the problem that the valve only opens at a 5° difference.
Example: I set 22° degrees and in the room it must first be 17° for the valve to open.
Can I set this somewhere?
it need a temp calibration, or hysteresis is bad ?
I see there is temp calibration option in z2m, but no option for hystersis
yes, i think need set hysteresis. but how?
Hello everyone! I just bought a sim client pc (fujitsu s920) and installed HA, i also bought the conbee II and set all my devices… but after i woke up today.. none of the zigbee devices were working.. i tried to look up online and found lot of people with the same issue but no solution.. where can I ask for help? Thanks a lot!
Here is where to ask for help
Do answer the question in the channel topic - are you using ZHA, Zigbee2MQTT, or deCONZ?
Please use a code share site to share code or logs, for example:
- http://pastie.org/ (select YAML for the language)
- https://dpaste.org/ (select YAML for the language)
- https://paste.debian.net/ (you guessed it, select YAML as the language)
Please don't use Pastebin, since it can randomly add spaces to the main view. Please also don't share text as images since it makes it harder for people to help you. Remember that others may have colour blindness, impaired vision, etc.
FileNotFoundError: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2652738-if00'
Did you try removing and reconnecting the stick
Yes, didnt help
Also try to delete the integration
Wait, let me search for another log entry, i think that wasnt the first error
Anyone know of any good Zigbee UK Smart Plugs (Not Smart Switches aka only switch on and off) proper smart plugs that support energy monitoring? the only ones i've ever been able to find are the Aurora AOne AU-A1ZBPIA but they are not cheap and not the easiest to find either.
If you can still find them the Salus ones do
found a single zigbee one the rest i can find seem to be the wifi version
don't know why more companies dont make them
Only thing i can think of is some weird uk regulations
We're a relatively small market
https://www.zigbee2mqtt.io/devices/SP600.html is one I have
Apparently https://www.zigbee2mqtt.io/devices/1613V.html supports it too
yeah the SP600s the one i found but there seems to be wifi version with the same model number which is everything else that seems to come up
will try the hive, thanks
sure is ugly though
might be too big for most of the places i might want to use it
Yeah, the reason mine is in the drawer of doom is because it's huge, bigger than any of the Z-Wave sockets I had
Still, it works, and the control is very accessible
Are there cheaper plugs than these? They need to turn on/off with HA & that's about it https://www.amazon.com/SONOFF-Zigbee-Certified-SmartThings-Amazon/dp/B0B2K8XQFZ
sonoff do a 4 pack of on off switches for about £20 i beleive, i imagine they have a us version i'll see if i can find them
ooh that'd be dope, thanks
something like this maybe? https://www.amazon.com/SONOFF-Certified-Compatible-Assistant-Supporting/dp/B09XMXZXXS/
not sure what tasmota flashing entails tho
If you notice the title, that's the wifi version
If you need to flash it with Tasmota or it's got a Tuya/Smart Life logo on it, I'd steer very clear personally.
that's the zigbee version 4 pack
turns out it's the same page you originally linked lol
looks like the S40 version is the cheapest, and buying the bulk is definatly the most cost effective
sweet, thanks!
ugh i've been trying to get tuya to work and it's so janky
You may have better luck with Zigbee2MQTT if you're not already using it
You have to watch with TuYa as there's Zigbee and Wifi versions, the Zigbee ones work great with Z2M from what I've tried, but the WiFi ones are a pita, my first few smart devices were TuYa WiFi but you have to connect with Tuya app and create a cloud connection api to connect them to HA which makes them non local and was a pita to setup.
i see people use that word but haven't gotten the chance to figure out what it is
yess the cloud thing is what i've been struggling with cause i have a bunch of old devices that i was trying to integrate
It's a different way of using Zigbee instead of the built in ZHA. You can install it as an addon and use it that way, it gives you a full dashboard amongst other things
Zigbee2MQTT is a Zigbee gateway that uses MQTT to communicate with HA and supports a range of TI chipset based controllers. Our #zigbee-archived channel is a good place to ask about using it with Home Assistant, but they also have their own Discord server.
Zigbee2MQTT is a Zigbee Gateway, it's superior to the ZHA built into Home Assistant IMO, if you use HAOS you can install it as an Addon.
awesome, good to know!
ZHA is very good, but it relies on devices adhering to standards and follows those. Zigbee2MQTT tends to work a little better with devices that don't quite adhere to those standards.
can you use an ESP32 to control zigbee devices?
Z2M also exposes the action from buttons differently which I find easier to work with
I saw some tasmota build with zigbee in its name
No, ESPs use bluetooth and wifi
Aww
Indirectly via HASS you could in theory ESP triggers something in HASS that sends command to Zigbee device
But like Rosemary says, you cant directly interact
what would be the cheapest option with a raspi then
I'd need some radio adapter like shown in here right
You need a co-ordinator of some kind
Most mains powered devices are a Zigbee router, for the exceptions see this community wiki page.
I use the Sonoff 3.0 Dongle with the customer firmware installed for my zigbee co-ordinator
There are three Zigbee options with Home Assistant (regardless of how you install it). These are:
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 (though the HUSBZB-1 uses an older chipset), but there are other options including the CC2652 based sticks. 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.
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 recommended option being the [CC2652 based sticks](#zigbee-archived message). If you want to use an EmberZNet stick see this issue. 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.
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 supported. Known working devices are documented, and how to request support for a new device is documented too (you can't add unsupported devices yourself).
I hear horror stories about the conbee so i'd stay away from that
There's a pinned post about choosing your stick
I'm trying to find a smart device similar to switch bot but instead of toggling physical switches it sends a pulse to cause a touch press on a touch panel, but had no luck zigbee or otherwise, anyone come across such a thing?
Nope, but I suspect you'd be better off not using the touchpanel and just doing the thing that touching the touch panel does
I find this at work, a user will ask me for a big stick. When I ask what the problem is they will insist they need a big stick. When they get the big stick they will use it to press an inconveniently located button. The solution is to move the button, or add a second button, not the stick.
Of course, that's a genericised example for amusement, but usually "pressing the button" is not what you actually need to do.
There is no other solution really, I have two devices I want to control that have touch panels, one is a blue tooth audio receiver and the other is my induction hob, I want to be able to control them via home assistant, but only interaction I currently have is a smart switch on the induction hob.
I think I'll get a blue Zigbee Ebyte CC2531
any big NO's?
it's got no antenna but I don't need range
CC2341 is older and not good from memory
but cheap 😏
Buy cheap, buy many times
true
The frugal person spends a little more and saves much more
the sonoff dongle's pretty cheap if you can find it, are you in the US or UK?
neither :P
Cheaper than Conbee, better than Conbee, and arrives tomorrow for me
this one right
That's the one from the looks of it
right so once I have that, I need to set up Zigbee2MQTT as an add-on since I'm using HA OS
There is a newer revision though and that looks like it may not have the chip you're looking for, give me a min to check
will it be detected automatically?
it should find it automatically once it has the right firmware on it, you may need to manually flash https://github.com/Koenkk/Z-Stack-firmware/releases but it's really easy
the ebay one Rosemary posted had that preflashed
i mean amazon
that looks like it's not the exacy version you want, the version i beleive you want has the CP2102N
i've not first hand delt with the non CP2102N version but i beleive there's connectivity issues from what i had read with the other one, jsut trying to confirm
https://www.reddit.com/r/homeautomation/comments/w2y5db/new_sonoff_zigbee_30_usb_dongle_plus_version/ there's a comparison which i'm just having a look at
or I can just get the ikea switches and hook servos up to them :P
and that's cheaper? you can get like 4 cheap zigbee switches for the price of one of the ikea ones
looks like from that reddit page the main difference between the P and the E is the Plus-E is better for ZHA while the other is better for Z2M
so the older one is better with zha eh
either will be very well supported by ZHA
oke
thanks
Will it detect nearby devices straight away?
or do I need to do pairing stuff
?
i don't follow
nothing is magic... devices need to be in pairing mode and you need to initiate the pairing process in your integration of choice
gotcha
no the older one is the CP2102N which is better with Z2M it's the newer one the Plus-E that you linked that's better with ZHA
everything needs paired once
but once you've paired something to the controller or one of your routers it's available network wide
yeah yeah okay
I'm just learning about all of this, but wouldn't Z2M have more latency than ZHA? ZHA would also continue to work if you lost the Internet, right?
Yes, z2m likely has more latency, but we're talking a few milliseconds. Z2m would also work without Internet access, so I'm not sure how that's related
Z2M definitely works offline
And then if I go the Z gateway route, are you always locked into a brand like Tuya or Aqara? I thought Z2MQTT required a cloud-based IoT service, but mazybe that's just MQTT
MQTT doesn't have to be cloud based
It doesn't, and despite the name Z2M doesn't actually have to use MQTT either
Okay - so Z2M means I don't get stuck with one brand of gateway
I think you're thinking of zwavejs-UI (formerly zwavejs2mqtt) @raven jewel ?
Correct, same with ZHA
So what's the major draw for Z2M then? Better device support?
I now need to check the docs again, maybe I'm thinking of the #zwave-archived one
Yes, and easier handling (at least from my perspective) of things like button actions.
And the HA Yellow has built in support for Z2m, so no worries there. I just need a gateway/router to get my signals back to the Yellow box?
Ehh...the adapter that the Yellow uses has experimental support with z2m
So YMMV
I'm confused by your question though
The yellow has a built-in Zigbee adapter
He can use a p series sonoff or something and use the yellow one for matter in the future
You can run everything with #add-ons-archived on the yellow
Think i'm going to have to buy a load of batteries after payday next week, got several misbehaving sensors and they mostly all still have the crappy cheap ones sonoff sticks in to begin with, one of them doesnt even pair to my network which is irritating, hoping it's just a battery issue, which i think it is as i'm sure i had the same thing happen before
everything is optimally paired with it's closest router and the routers if close enough directly with coordinator else their optimal router
Sounds like a decently thought out setup
And usb extender moves dongle away from a rack and usb ports right?
the dongle is on a usb2.0 port with a 3 meter i believe it is extention in a central location relatively high and away from other devices, there is a bluetooth dongle nearby but it's a foot or 2 away hooked upto the same server
Do the later Echo generations with built in zigbee hubs work as gateways for generic zigbee devices? If I'm saying that wrong, could I use the Echo as a range extender for my Yellow to coordinate random Z devices?
Clarification - can Echo's be Zigbee Routers for non-Amazon devices?
I don't think the Echo can be used as a router to an existing network because of the way it works, it locks you into amazons infrastructure pretty much as i understand it, but i might be wrong on that
Just looked at my Zigbee Map and somehow several devices have moved to the wrong router , gonna have to sort that
does anyone remember the limit of how many devices can be paired with a router on zigbee 3.0? I remember reading somewhere there's a limit of something like 8 or 12 just want to make sure i dont hit it, having a hard time finding that info
Depends completely on the device, there's no standard value.
was sure it was a stack limitation rather than a device one, must be misremembering
It's set in the firmware. IKEA I think usually uses six
it's looking like it's probably six for most of my stuff too so will repair appropriately
question,
has anyone tried these zigbee motion sensors?
i bought 4 of em, and at first they connect but they all show up as smoke detectors and show no motion whatsoever. i'm using ZHA to onboard them
probably have better luck with z2m with those
changing them to motion sensors yields no results either
awh man, z2m is not going well on my side, i can't get it started without crashing my server lmao
idk if my stick is even supported
how are you running it? HAOS or docker?
HAOS on ESXI
Ah, not touched VMWARE in eons, though if docker is an option i'd recommend that personally over a vm, i migrated a few weeks back and so much smoother sailing
i have a couple of tuya devices and they were no issues whatsoever on mine
i have a bunch of tuya zigbee stuffs hooked up and it works great, just these sensors are giving me trouble
the downside with ali express is it's hard to figure who the "real" manufacture is or if it's a rebrand
pretty much anything tuya is cheapo chinese mass produced stuff, though sometimes for certain devices that's all you can get
wish i had seen those sensors before i bought mine
yeah they are cheap. and like REALLY tiny
like crazy tiny
no bigger than a quarter
can i run ZB2m while running ZHA or do i need to disable ZHA first?
need to disable zha but it should automatically disable on haos when you install the addon for z2m
hmm it did not, i just manually disabled it, and good news is it doesn't seem to be eating ram anymore
but still 502 gateway
that means your config for z2m isnt right usually
2 main culprits are username and password not set or more likely the dongle is not setup correctly in the config
i can post my config for reference if you need
hmmm maybe i need to restart after disable
nope that didn't do it, could you share your config?
it doesn't seem to be an issue with MQTT more than it is an issue with the adapter
yeah thats what i thought you probably need to set your device to /dev/ttyUSB0
i have my serial set to port: /dev/ttyUSB1
USB0 is zwave
my stick is a combo thing
go control / nortek
tbh you're better using the named device name rather than the tty one
how would i go about getting the named device?
oh you're not doing that in the Z2M configuration tab?
Settings system hardware
all hardware scroll down
is it better to do it in the yaml?
Find your sonoff or whatever
i use z2m seperatly in docker but when i was in home assitant i edited most of mine in the yaml editor, just realsied my config no longer has the proper device id due to docker mapping
/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_e2f09d4e57c9eb11aaaa8b4f1d69213e-if00-port0
so my named is
/dev/serial/by-id/usb-Silicon_Labs_HubZ_Smart_Home_Controller_41500C79-if01-port0
is what it really points to
ah gotcha
so in the serial section i should change it to
port: /dev/serial/by-id/usb-Silicon_Labs_HubZ_Smart_Home_Controller_41500C79-if01-port0
yeah use that id, i had a lot better time in HAOS once i used the by-id address
yeah
Well z2m has an option to auto fill so I think it’s smart enough to switch if usb tty number changes
But Id is foolproof
hmmmm still failed to connect to adaptor i cannot figure out what it's having na issue with
https://pastebin.com/zaG15Z08
I know i've seen that error before
Switch to yaml mode and paste it here
cant remember the solution
I’ll compare to mine
Set the adapter type to ezsp
ah yes good advice, setting the correct type
where do i do that? under socat or in it's own line
here goes nothin!
you have mqtt user and pass and just deleted before sharing right?
i do not have mqtt user and pass enabled, but that wouldn't cause an inability to access the dongle would it?
I dont think the username and pass show in the main config on HAOS do they? those get overriden i'm sure
data_path: /config/zigbee2mqtt
socat:
enabled: false
master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
options: "-d -d"
log: false
mqtt:
server: mqtt://core-mosquitto:1883
user: myusername
password: mypassword
serial:
port: >-
/dev/serial/by-id/```
that is mine
username and pass are required for connecting to broker
how would it work without a valid mqtt server to login to?
if z2m cant connect to broker that's another point of failing to startup
correct, i think for now it's two different errors unless no user/pass would prevent it from being able to talk to the dongle?
i'm pretty sure it's the two things as you say as that other error is nto indicitive of username and password
well i threw it in there we'll see
now it seems to be hungup on starting zigbee-herdsman
herdsman is the username and pass i believe
unless its that same SRSP - SYS error showing before it
it was the ezsp adapter setting
removing that got it to fail out again but if that's in it just holds it in stasis
you may need to set baudrate too to match the one for ezsp
baudrate: 115200
though some ezsp apparently need 57600
Found this in relation to that issue https://github.com/Koenkk/zigbee-herdsman/issues/319
oh nice so basically my stick is shit lmao
Is that the nortek?
there's a comment on there about updating firmware and links to this https://github.com/walthowd/husbzb-firmware
yeah he basically said it was a pretty bad unit lol
wow upgrading the firmware on that thing looks terrifying
nah looks like it just requires cloning the repo and running a couple of commands
ill take a look at it
i'll have to DC it from home assistant tho it looks like. i guess just plug it into my pc and run the python script
yeah pretty much
I somehow have a phantom button on my network i cant figure out how to sort, fresh Duracell battery, is not connected to any router or coordinator but is showing as on the network and online, tried repairing it multiple times as well as disconnecting it from the network
Yea no one suggests those
what the heck how is my hard disk nearly empty on my server boot drive
Hi I'm using sonoff zigbee and have zigbee extension with power plug on lvl 2 but my motion sensor drop offline after 3 weeks and I can't link back to HA with zigbee. Any idea?
What do you mean on level 2
Are you using zha or z2m and which sonoff stick is it? P or E?
Do you only have the one zigbee sensor or are other devices paired to it and working with your home assistant setup?
On zha
Other pair devices are working. Only 2 turn offline and can't get them to pair again with zigbee.
PI is on lvl 1 with the sonoff Dongle so I have zigbee plug working as extension to level 2 for the zigbee signals.
What are those sensors? Make and model?
are the sonoff temp/humidity sensors any good? Or just battery suckers? They look like <$10/each
But you can flash custom firmware on them
😭 bought two of them... they seem to be measuring temp and humedity ok so far...
Well, maybe you'll be one of the lucky few
Buying cheap without researching first is always a gamble
Aqara motion n door contact
Which ones?
Are the batteries good?
Hi, is there any overview with data that show how much lower the Hue bulbs can be dimmed compared to Ikea trådfri? More specifically the GU10 ones but any study/documentation would be interesting!
#zigbee-archived message is all i really found with the search
Then you didn't use the right search terms
?
"sonoff temp" is what i searched
On Pac80Mans sensors
Ah yea he’s asking a question and following up hours later.. not sure if he actually wants help
me?
No pac man above lol
i was replying to the "snark" from tinkerer on the search....
anways, not finding "concrete" bitching about the sonoff temp sensors. Sonoff buttons seem fine (but i've only had them for 2 weeks, so battery complaints haven't manifested yet).
Try using the model number in the search
so I have an additional question then, I find someone talking about falling off. I saw a an issue with sengled power monitors reporting "0" when using a pi3b as my host, but same sensor w/ my i5-6500t vm (2 cores, 4megs ram), same sonoff-e stick, doesn't get any dropoffs. I know this is not the sonoff, but was wondering if the behavior of dropping could be host cpu based? (Same location of stick on usb cable, etc)
I'm moving to a new install on a Proxmox setup ... anybody have feelings on running Z2M as an addon vs in a separate LXC container?
Great thing about not using add-ons is that you can downgrade too
Anyone got a aqara p1 motion sensor? can it really go down to 1 sec refresh time?
Also anyone saw it on aliexpress lately? i cant find the p1 ...
Two seconds apparently
I bought mine from a UK source as I couldn't get any on AliExpress
The pro for addons I guess is auto-update?
You could auto update any docker container, not that I'd recommend that.
But it's not like Z2M has a new update every day that needs installing, it's stable
One or two updates a month typically
Use something like diun to tell you about updates, and then manually update at a time that suits you
Hey 🙂 Anyone has some recommendation for some tiny "photoelectric barrier" with zigbee?
Usecase: I have an automated cat-food (dry food only) dispenser and i would like to get notified when the food-level inside is below a certain threshold. Any idea what i could use for that?
Just to make sure what I mean with "photoelectric barrier": There should be like an invisivle light beam traveling from one side to the other and back again and if that is "blocked" that menas that there is still enough food inside 🙂
An IR break beam sensor would do that. But you could also use a simple weight sensor
A couple of #diy-archived solutions that should work - load cell (weight sensor as Rosemary said) or maybe ultrasonic distance sensor
A distance measure from the lid would do it probably.
If you get the right sensor you could connect it to say a door/window sensor
i feel dumb that i haven't thought about measuring from the lid... that's obviously the best solution, since it doesn't get into contact with the food... Also, drilling a small hole into the lid if i want to use a wired/ac module would also not be a problem
Top or bottom is likely easiest, the bottom would be a load cell. #diy-archived can probably provide plenty of help
@raven jewel And how would you use a "weight sensor"? do you mean to put that under the whole dispenser?
You could
@raven jewel in case i would not want to meddle around with diy too much, would there be any "IR break beam sensor " that works with zigbee out of the box, at least "somewhat out of the box"? Or should i move that topic completely to #diy-archived ? thx already 🙂
I don't think there's anything like that in the Zigbee world, the closest I can think of as an existing product is the Amazon Dash Shelf, and that's not a consumer product, nor does it have an open API
And it's WiFI
alright, will switch over to #diy-archived then i guess, thx :3
Somehow lost all my zigbee devices in HASS after i removed the discovery_prefix: homeassistant that it was nagging about, now i've added it back still dont see my zigbee devices
Did you reboot?
yes
got it
there was some template issues i thought i had fixed as the notifications had gone away but after posting that it started nagging again
I've got some aqara door/window contact sensors that show power_outage_count -- is there a way to reset that number? I'm using Zigbee2Mqtt with mosquito broker
I guess re-pairing the sensor should reset the value then. Not sure if that's worth doing though
If you turn on pairing mode and just press and hold the button on the sensor it will re-connect and re-route
You can hide that sensor
Fair enough lol
Re-pairing the sensor did not reset the count, so I'll just hide it until it turns out to be useful in the future
How i can set indicator_mode on TS011F power plug with home assistant?
I got already a answer but I don't understood it.
You're using ZHA and not Zigbee2MQTT, right?
If so, then go to Settings -> Integrations -> ZHA -> Devices -> select your TS011F plug.
Then, click on the three dots and select "Manage Zigbee Device" (screenshot in another language for reference: https://i.imgur.com/5Bkerrc.png)
There, select TuyaZBOnOffAttributeCluster (...). Then, select backlight_mode (...)
Now, you can enter 0, 1, 2 in the first text field and then press "Write Attribute": https://i.imgur.com/G1vkoXQ.png
Always leave the second text field empty.
If you want to see if it wrote successfully, click "Read Attribute". The output will be a bit different but it should tell you in which mode it's in.
There's also a pending PR for this to make it easier (config entity) in future HA versions (likely 2022.12.0)
@summer pelican ^
I think it depends on the plug. You'll see in real-time.
0 should be always off.
1 should be "LED on when plug is on"
2 should be "LED on when plug is off"
Perfect thanks
it probably makes more sense to do this with bluetooth, but is there any "easily" available HID->zigbee devices out there? The usecase is a spin knob for volume control 🙂
crap, completely forgot about that
can't justify this - https://www.amazon.com/Bluetooth-Convert-Adapter-USB2BT-ADU2B02P/dp/B07DFY1ZQ9 - to defeat laziness
Any battery rotary dimmer would do it sadly 😂
trying to get it to interface to LogictechMediaServer, already set up sonoff buttons to play different default playlists
or i could use the forgotten IR remote at my desk to control the speakers that the system is plugged into 🙂
the Hue Tap Dial also exists btw.
I have a lutron dimmer, but wasn't making the connection
price point the symfonisk rotary makes sesne
Anybody know as to why some devices in ZigBee2mqtt would stop communicating?
with a "TubesZB CC2652 Ethernet/USB Coordiniator" I had two integrations show up: The "Zigbee Home Automation" and "tubezb-cc2652p2-ethusb-2022 ESPHome". Do I configure both of those?
You can ignore the second one
OK. I haven't got any actual z* devices yet, except Hue stuff maybe, which is paired to the hue bridge thingy
I have seen some issues on the newest Deconz - timeout etc reverted back and it worked as expected.. Not my question though- but what is the best solution today? ZHA, Zitbee2mqtt, Deconz or something 4.? Seems like there is a ton of pros/cons
I am fiddling with the idea of migrating from Zigbee2mqtt to ZHA, is that a silly idea? and if not, how hard is it?
I am assuming that ZHA over time and with matter will be integrating more and more with HA (would that be a wrong assumption?)
If Z2M is working for you, why move to ZHA?
IMO one of the strengths of it is that it's not tightly integrated with HA. The wider user base means it gets support for new devices faster
Also, you can upgrade (or downgrade) it separately if you have issues
My experience is, Z2M has a wider support for devices out-of-box, too
My assumption that ZHA will evolve with matter and into a more tight integration with HA. Z2M works as it is without any major hickups.
Mainly because of the wider userbase, if a device needs some custom handling, it gets added quicker.
I'd expect that ZHA will remain for Zigbee
If my assumption is wrong, then yeah it might be a stupid idea
There's likely to be a separate integration, since ... well, it's a different thing
OK, well I guess it can still be something I do down the road if anything changes. I do like Z2M
Thx guys
From what I can see, migration should be pretty easy though
Where do i need to start when i want to add options to a ZHA device. It currently only offers On/Off while zigbee2mqtt offers the entire range. I don't want to swith yet to another integration: https://www.zigbee2mqtt.io/devices/HG06467.html
I have multiple Sonoff SNZB-02 devices. Some of them are working perfect. Two of them just ran out of battery so I changed them yesterday. Now they are online again but since they are back they just show one single temperature value which i not possible. They are just stuck at one specific temperature value and nothing changes. Can I reset them in any way or does anybody knows this problem?
Allow joins and re-pair the sensors
Which zigbee thermostats are recommended for ZHA? For me it would be important that it can either use an external temp sensor (unlikely I guess) or there is a way to set an offset from the internal temperature value (done by an automation).
I have this but it sometimes forgets to switch off the heating even though it says it is off 😐
https://a.aliexpress.com/_mtYaUcc
Hi! I'm using Conbee II and trying to add Sensor in Phoscon. Not working AT all. I'm using Aquara Door and Window Sensor. Got it to work a while back, but not anymore... Not sure what im doing wrong tbh
I've got deCONZ running on HA
Funny... tried it just now... and now it was added...
I tried like 30 times yesterday
The ConBee really needs to be on a USB extension cable
Also, Zigbee2MQTT or ZHA are better solutions than deCONZ
Would the extension cable make it better in some way?
Uhh ZHA doesn't see my lamps
how do I put them in pairing mode so it sees them...?
I tried using the ikea button dimmer thing but it doesn't do anything besides repairing to itself
Do I need to bring the server up to the lamp or something lmao
I have to have my lamps rather close to it and put it in pairing mode again.
Welcome!
Zigbee2MQTT:error 2022-11-04 12:36:04: Error: Failed to connect to the adapter
port: /dev/ttyACM0
Not sure what i'm doing wrong here tbh.
I did "ha hardware info" and it returned DEVNAME: dev/ttyACM0
See the pinned messages... the ConBee is really sensitive to interference and needs to be away from USB 3.0/WiFi/Bluetooth/other electronics
Did you make sure that deCONZ is stopped, and that you've got the right path? ISTR that the ConBee range usually show as /dev/ttyUSB0
well that's annoying, it sees NO devices at all
even if the antenna is right up the lamp
Did you reset the lamps?
I'm trying to but unsure if I'm doing it right
@sour shadow I'm not sure what's wrong, tried to follow the guide https://imgur.com/a/1CMBci0
What lamps do you have?
ceiling circular tradfri something
So you have Trådfri from IKEA
Images of text 
Haha, sorry @sour shadow, but i couldnt copy the error msg 😉
Yea
VS Editor.

Haha, hard to please this guy 😄
That's often wrong about things
Also, you missed the point of the docs
serial:
adapter: deconz
``` from the Z2M docs
That looks nothing like what you did
I did copy paste from that one...
I did
where is the configuration.yaml located? i am connected directly to haos now
Ah, sorry - yeah, that line i did change. But even without that change, it still throws errors.
I'm getting Property base_topic is not allowed
Are you screwing around with HA's configuration.yaml or Z2Ms?
Damn. I was a second too late to say that
Ah sht... hahaha
You need to be editing the right one
Oooooor, you can make all the changes in the z2m gui
any idea?
~/config
Assuming you're asking about HA's config file
Oh, right... look at the channel name, Thomas.
that directory doesnt exist. no such file or directory. i am connected straight to home assistant with a keyboard and monitor. then i did login
wrong channel sorry ;/
So, i've now added the YAML-code to configuration.yaml in zigbee2mqtt/configuration.yaml. It currently looks like this:
homeassistant: true
MQTT settings
mqtt:
MQTT base topic for Zigbee2MQTT MQTT messages
base_topic: zigbee2mqtt
MQTT server URL
server: "mqtt://localhost"
MQTT server authentication, uncomment if required:
user: my_user
password: my_password
Serial settings
serial:
Location of the adapter (see first step of this guide)
port: /dev/ttyACM0
adapter: deconz
To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks.
```yaml
example: here
```
Don't forget you can edit your post rather than repeatedly posting the same thing.
Not sure, but cant send the message if i do that formating?
Sure you can, or you can use a code share site
I got the code color thing, but whenever i try to submit it - it wont?
-```yaml
Zigbee2MQTT:error 2022-11-04 13:08:24: Error while starting zigbee-herdsman
´´´
That's how im doing. Without the - in the start, obv.
Hello guys, Is it true that unplugging the coordinator and leaving all the rest of the devices for 1hour can heal the mesh network?
Think i got it to work now.
@sour shadow Thank you for your help! Much appreciated!
Depends on what you mean by "heal"
That will usually trigger a rebuild of the network, yes. At least in my experience.
Though not if you are using a Conbee I with a several year old firmware version.
At least in my experience.
got it to work, just one more thing, it should be possible to connect the tradfri buttons as well and use them as inputs right?
If they're Zigbee then you can, whatever the brand
Worst case is that some work may be required to add support
awesome!
AriWee i think that the remote doesn't work, might have changed tho. But it didnt before. So i had to use HUE switch. But please let me know if it does 🙂
will try
I hope it does
would be really cool
I'm too emphatic and will feel bad for the remote if it doesnt
lmao
Just tried with my controller, didnt work
I think that one is for WiFi tbh. So the other one might work
That TRÅDFRI dimmer works with ZHA, Z2M, and deCONZ. So what’s your issue with this? And what integration are you using?
Oh it does?
I just tried to add it, but it didnt add
Using Z2M. Just added Aqara-stuff, all worked fine
Same, trying rn
holding the pairing button does nothing
right next to the antenna too
You have to press the pairing button four times IIRC
lets try
Then the red light will pulse
I've had this in the drawer for like, 6 months. Figured i could use it 😄
Yeah it's a cool little thing
now I can use it for stuff
maybe even dim the whole apartment
I belive it's a pulse-switch function
it registers turn on/off and dim function
at least that's what the logbook says
it's not an entity
For ZHA, you can use device automation triggers. Just specify Device as a trigger and then select the switch/remote
That, or event triggers
I'm so bad at this
hey, all of my ZHA remotes (not motion sensors or door sensors) have randomly stopped working twice this week. No updates were performed between when they worked and stopped and all new batteries. Is there something I can do beyond removing and repairing them all every few days?
what kind of remotes?
RWL020
by Philips
When you press buttons on them, is the LED on the remote green or red (or first green and then red (or orange)?
sometimes it blinks betweeen green/red, others it's just red
Did you add any new routers or changed anything else on your Zigbee network recently?
Nope. Nothing zigbee. I added some wifi cameras.
And removed a bunch also
i have one of these hue plugs: https://www.zigbee2mqtt.io/devices/046677552343.html and i am wanting to change the default power on behavior. is there a way to do this via z2m gui or only payload with mqtt?
I have been looking for a guide to smoothly migrate from z2m to zha but have not found one. Any suggestions or tips ?
There really isn't a way to smoothly do it. Just disable Z2M, start up ZHA with the same stick, and it will slowly pick up devices as they check in
Anything mains-powered should be picked up eventually (or immediately if you power cycle them) but a lot of battery-powered devices enter deep sleep after they've joined a network so they may not be picked up very easily without button clicking
assuming I need to send the payload i could use a bit of hand-holding
Thanks I will try that. Button clicking on battery devices is not that bad. Difficult to reset bulbs in difficult to reach place is way worse 🙂
in the docs it literally says to use ```yaml
{
"hue_power_on_behavior": "on", // default, on, off, recover
"hue_power_on_brightness": 125, // same values as brightness
"hue_power_on_color_temperature": 280, // same values as color_temp
"hue_power_on_color": "#0000FF" // color in hex notation, e.g. #0000FF = blue
}
as the payload yet it's a smart plug and has no brightness and color temp or color (just red/green led inside i think)
not really sure what i'm supposed to do here
Have you tried it? I assume it's just a result of Philips not intending for their stuff to be used with anything other than the Hue bridge. Set power on behavior to whatever you want it to be from those options and leave the other values the same as the example
no im legitimately confused with steps to take
am i supposed to use like mqtt explorer to actually send a command to it?
or am i able to do this in z2m ui?
Yeah, MQTT explorer or HA would be a couple of options
I don't think there's a way to publish arbitrary payloads from the z2m UI
i guess i just expected there to be a more user-friendly option within z2m
i did the full payload pasted above and i see set=on hue_power_on_behavior in the mqtt explorer window so i guess it worked?
Publishing the payload did at least
i unplugged it and plugged back in and it seems to have worked
feels fucky but it is what it is lol
Just Philips being different. There's an attribute in the genOnOff cluster in the Zigbee spec that can be used to set power on behavior for a device. If the device uses that, it can be exposed to the z2m UI easily. Philips doesn't use that and uses something proprietary instead i was wrong, see here: <#zigbee-archived message>
the feels fucky part is needing to manually publish a payload outside of z2m to change what should be a very simple setting
And I assume no one has bothered working it into the UI for the Philips stuff
when googling it seems zha also doesnt have a simple ui option for this but maybe i missed it
That being said, click on the device in the z2m UI and go to Exposes and see what's there
Yeah so it's not exposed to the UI then
😢
so after moving the plug i shouldnt need to do anything for it to get new routes right? just let er sit and it'll do it on its own?
Generally, yes
does clicking the reconfigure button force it to update routes?
I think only if pairing is on, it will re-pair (without losing data, unless you unpair it first).
i thought that was only the case with battery powered devices
Routers just do routing on their own, I don't think there's a way to force it other than rebooting the device
They continuously update routes
ah okay
so in theory as soon as you plug it in to a new location it'll be getting new routes anyways
Some devices require additional configuration after pairing. The reconfigure button just attempts to do that again
Hi
So I just installed Zigbee2MQTT on a pi in docker and notices something - when I change settings though the frontend (or the file for that matter) and restart the container then it says "Error: startup failed - configuration-adapter mismatch".
However, when I delete the "coordinator_backup.json" file it starts again but I lose all my connected devices.
When I restart the container without changing any settings it works fine.
Is this intentional behaviour?
That’s not really true. Philips Hue products were one of the first to implement the startup attribute on the OnOff cluster (and others) (from ZCL R7) even for bulbs that weren’t based on any R7 SDK. They are completely spec compliant in that regard AND provide you with the option to even set a startup color (which isn’t possible per spec)
Z2M implemented that option really early, likely because it wasn’t available in any other products at the time and possibly because it provides extra features (like startup color) too.
nvm the devices are still connected they just need to publish something and then the coordinator adds them again without the need for re-pairing
its still pretty stupid because the mesh network needs to be recreated
and all the names are messed up
I've never seen that happen myself... it's an odd one
appreciate the correction!
IIRC, Philips does some proprietary stuff with their remotes, so I thought I also remembered that they deviate far from the spec with their lights too. I could be wrong regarding the remotes too though
so here's a fun one, I have had 3 Aqara FP1 sensors working great for months. I recently re-did my zigbee network using a sonoff p dongle and at that time switched the network channel to 25. I re-paired all my devices including the Aqara's. All was well. However I wanted to redo the network to use a randomized network key, except now the aqara's refuse to reset. I've also just discovered that the z2m documentation says those sensors don't support channels 21-24. I'm on 25 so i should be ok, and it was working before. Have I just entered them into some sort of loop where they can't be reset anymore?
Actually, they do somewhat yeah.
They both send normal on/off/… commands for all the buttons but also proprietary arguments on a custom cluster. That’s why new remotes are basically compatible with ZHA out of the box but better support is able to be achieved by parsing the messages on the manufacturer cluster
Hi all, got myself a Zemismart ZM25RX-08/30 (https://www.zemismart.com/products/zm25rx-08-30) and it appears to have paired successfully with zigbee2mqtt however I am trying to work out how to set the limits. The instruction sheet only talks about doing it with their remote or app (which requires their zigbee hub).
Have had a quick google but nothing seems to stand out if it can be done directly on the motor itself or via zigbee2mqtt.
For my IKEA blinds I have to double press the button when it's fully extended and then it moves the blind up and down a little to indicate it understood. Maybe the same thing works?
Tried that but didn’t seem to work - but now it also appears I’ve got up and down reversed so gotta fix that first 😂
Anyone faced the same problem as i have (just 1h ago). My zigbee sockets, those what have been working for 6 months now... Just stopped taking remote controls. If i push button from socket, the info comes to HA, and it knows is it on or off. But cannot control from HA?
anyone got a line on some good zigbee relaying multicolor lights ?
that would be a fun prank to troll the wife or roommates with
I do not know exactly how but by holding down for ~10 seconds, then waiting a second, then pressing the button once, it got them to snap out of it and pair.
I was literally listening to the coil whine of my usb brick to tell when the sensor had moved into some sort of paused state
i had to do the same thing with my aqara door/window sensor
i was like wtf im following the directions just do it
Yep
so i created separate network without tuya devices as suggested here, but still ikea button cell devices stop working all the time, no matter what battery is in
You may have poor signal in that case
180 lqi
it just stops sending anything to the network
are there some bluetooth buttons that work with esphome bt proxy and HA?
180 directly to coordinator even, that is
Yesterday I updated the firmware on my Zigbee co-ordinator, and today it seems that my battery powered devices (Aqara ones for sure) are not communicating with the stick properly requiring a repairing (no deletion first necessary).
Is this expected or did I do something wrong? I made sure to shut down the host and unplug the dongle, flash it, and then plug it back in and boot up the host which seem to be what the guides say to do 🤔
IKEA buttons are known to have this issue unless paired with their hub. It's a firmware problem on the devices and naturally IKEA haven't fixed it as they're sold for use with their hub
Sometimes you do need to perform actions on devices after upgrading the coordinator firmware to get things rolling again with those devices, but re-pairing shouldn't be necessary. Shutting down the host before flashing the firmware is also unnecessary. Stopping the zigbee software is all that's needed
I’m having trouble setting up my conbee stick. I’ve followed a few tutorials but still keep getting these in my logs.
Oh I cant upload a picture of the logs
Cool, thanks. I guess today is the day I finally get around to making a list of all my battery-powered devices and finding them then 😂
Well I keep getting errors setting up entry for conbee
Exactly. Share text as text
How are you trying to use Conbee?
To setup a Ikea motion sensor on HA via pi4
And are you still in the returns period? Because if so, there's better cheaper devices out there
And you're trying to use it with Deconz?
Just share the logs here...
…I can’t
You can't copy and paste text?
Please use a code share site to share code or logs, for example:
- http://pastie.org/ (select YAML for the language)
- https://dpaste.org/ (select YAML for the language)
- https://paste.debian.net/ (you guessed it, select YAML as the language)
Please don't use Pastebin, since it can randomly add spaces to the main view. Please also don't share text as images since it makes it harder for people to help you. Remember that others may have colour blindness, impaired vision, etc.
Oh wow I didn’t realize that was even a thing
Copying and pasting text? || jk I know you're talking about code sharing sites ||
Logger: zigpy_deconz.api
Source: components/zha/core/gateway.py:172
First occurred: 10:45:37 AM (3 occurrences)
Last logged: 10:45:47 AM
No response to 'Command.read_parameter' command with seq id '0x02'
Name a better duo deconz and hass
That was the first one (in chronological order) of the logs from setting up the conbee
Tbh if you can return the Conbee and get something else (like a CC2652-based stick), you'd probably be better off
Any CC2562 based stick + Zigbee2MQTT is my preference
Also is your Conbee on an extension cable?
@wary cradle I converted your message into a file since it's above 15 lines :+1:
I'm using Sonoff Plus right now, cheap, easy to flash, and works with Zigbee 3.0
Well as time goes on the e series will be looking more promising
The P and E are essentially equivalent
E has the new chip with eventual matter support no?
P supports thread
I guess it’s either or tho you can’t run both off one stick
@wary cradle I converted your message into a file since it's above 15 lines :+1:
Is the Conbee on an extension cable?
No
[Rule #6](#rules message): Please do not post walls of text or code (text longer than 15 lines, including whitespace) - use sites such as http://pastie.org/ (select YAML for the language), https://dpaste.org/ (pick YAML for the language), or https://paste.debian.net/ (pick YAML for the language).
Please take the time now to review all of the rules and references in #rules.
Get an extension cable for it
I’ve been using pastie?
Idk how to use it properly I guess?
I’m sorry
What does an extension cable have to with its inability to start deconz ?
Interference
You didn't paste it into pastie and then share the pastie link here, you just pasted the whole text into here
EMF from the machine it's plugged into
So much so that it causes ha to not open an application?
The Conbee is apparently very sensitive to interference, but it's a good idea to use an extension cable for any zigbee stick (and I assume zwave)
Yes. The stick can't form a network, so the entire thing fails
Got it
And where is that in the logs?
Like how were you able to determine that it’s being interfered
Couldn't start deCONZ = dresden elektronik deCONZ protocol: ConBee I/II, RaspBee I/II coordinator (attempt 1 of 3)
Couldn't start deCONZ = dresden elektronik deCONZ protocol: ConBee I/II, RaspBee I/II coordinator (attempt 2 of 3)
Couldn't start deCONZ = dresden elektronik deCONZ protocol: ConBee I/II, RaspBee I/II coordinator (attempt 3 of 3)
I'm not saying with 100% certainty that interference is the reason, but it's likely
I just put the conbee on a 10 foot usb extension
Fingers crossed!
Didn’t work
Looks to be the same thing
So interference is not it cause the conbee is currently 6-7 feet away from the pi4
Well, EMF isn't the issue at least. Is it near a WiFi access point at all?
That could also be it. Again, very sensitive to interference apparently
conbee deconz con* isnt suggested here and lots of people have issues
Send an Amazon link
i think deconz has their own discord if you want to troubleshoot that more
I went with the first thing I saw on Paul Hubert’s bullshit
Yeah

he's a "youtuber" not a tech guy
He’s a shmuck
and he kinda looks like a serial killer so there's that

i recently started a youtube channel about hass but i only have a couple videos up and i suck at editing
davinci resolve is crazy
Ordered
sweet
lots of us use that p stick and it works well
it'll still need to be on a usb extender like suggested above
you can 3d print a nice lil holder for it if you have a printer
Great I’m excited to get the ikea motion sensor kicking off automations
ye
you can spend some time researching zha vs z2m (zigbee2mqtt)
figure out which route you want to go with the stick
if you have hue or ikea bulbs you might want to move the bulbs off their hubs and onto z2m/zha
I have a TON of hue producfs
that'll improve your mesh with mains powered devices acting as repeaters
sweet
i moved 40+ devices from hue to z2m and it's working flawlessly
the hue hub started falling over at 40+ devices
I didn’t think I can move off the hue hub
you cant use the hue app anymore
but it was laggy and shit in my experience
you can recreate the color scenes and stuff in hass via scenes or scripts
What do you mean the app doesn’t work?
the only real downside is you lose their ability to sync to music if you use the rgb bulbs but from what i've seen it's shit
well you arent gonna be paired to their hub so how is their app gonna work?
Oh I thought you meant generally speaking
What about the tv led light expansion?
My tv has the hue strips behind it and they’re connected to a Phillips box that’s taking the signal from my hdmi
keep gradients on the hue hub
wow that is an expensive not-great setup tbh
Lolz





