#zigbee-archived
1 messages · Page 187 of 1
yeah, I'll try to
thanks
0x2689 updated "last seen" to 21:50:52: https://dpaste.org/O0xjA/raw (but didn't turn unavilable (yet))
(I restarted Home Assistant about 1,5 hours ago)
2022-04-13 21:50:50 DEBUG (MainThread) [zigpy_znp.api] Sending request: AF.DataRequestSrcRtg.Req(DstAddr=0x2689, DstEndpoint=11, SrcEndpoint=1, ClusterId=768, TSN=7, Options=<TransmitOptions.SUPPRESS_ROUTE_DISC_NETWORK|ACK_REQUEST: 48>, Radius=30, SourceRoute=[0xB089, 0x2C80], Data=b'\x00\x07\x00\x08\x00\x07\x00\x03\x00\x04\x00\x02\x40')
2022-04-13 21:50:50 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataRequestSrcRtg.Rsp(Status=<Status.SUCCESS: 0>)
can grab some other debug logs too
Requests in ZNP have three stages: the request, the acknowledgement, and the actual response callback. Your DataRequestSrcRtg.Rsp means that the device failed to be contacted by the normal request method (expected, since you said it's offline). You should see a failure a few seconds later if the device is offline.
uh, i'll check. it's a bit hard too read debug logs on this network since all Hue devices seem to send attribute reports every 10 seconds (and I was also updating firmware at that time)
Feel free to just dump the whole thing, I can filter through it
Uh
homeassistant.components.zha should be set to debug
only homeassistant.core is set to the default info (compared to https://www.home-assistant.io/integrations/zha/#debug-logging)
Can someone recommend a not-completely-horrible zigbee radiator thermostat? The only good ones I know of are DECT ones.
Has anybody here succesfully gotten their Lutron Aurora's to work with home assistant? Mine pair just fine with the Zigbee integration; however no events fire in zha_events when I press the button. I'm also unable to bind the Lutron to any groups - when I create a zigbee group, add my light bulbs, then try to bind the group to the Aurora, there's no feedback at all and the switch doesn't work.
what coordinator do you have? the Aurora's on newer fw only send commands to a group address. if you have a ezsp coordinator it won't see them unless it's part of the group. TI and conbee should see it I think. binding to groups and individual devices works. make sure you are clicking the button to wake it when issuing the command. I usually do it over an over again until the button affects the device/group
have one on my desk right now paired to a group of 2 lights.
I have s HUBZSP (spelling is way off I know, I forget off the top of my head but it's a HUB-something)
yeah that is SI Labs ezsp based.
I didn't try multiple presses while binding - let me give it a shot!
issue the command to bind it a few times too.
you can enable debug logging (zigpy) to see some feedback in the logs.
I might need to look a the logs - the multiple presses doesn't seem to be working. Is zigpy a supervisor add-on?
Answered my own question 😉
Well that's a start - I was able to get a single bulb bound using device binding.
Should I select all clusters when binding to the group? I don't know what all of them do.
think the main ones are onoff and levelcontrol
Mine work fine using Z2M.
Hi can anyone recommend a good beginner group? Just started with some temp probes through zha and their batteries are dying within 24hrs. Want to figure out how frequently they’re being polled or get advise on what else to investigate.
Battery powered sensors aren't polled
Hey folks
Anyone having issues with their lights displaying the incorrect state?
A bunch of my lights are showing up as "On" however they are not physically
I turned them on and then off but the "On" state stays
Which Zigbee integration are you using? ZHA, Zigbee2MQTT, deCONZ?
Ello
Anyone idle willing to share insights?
Currently being spammed in logs by one of my device, but working well otherwise.
Using Zigbee2MQTT
Orvibo DD10Z
https://www.orvibo.com/en/product/downlight.html
https://static.orvibo.com/guanwang_second/front/common/images/product_index/sec3_1-3fb329a65d.png
Cheers 🙌
Spamming logs with more or less 1 second period
Debug Received Zigbee message from 'Light - Bedroom - Bathroom - 1', type 'attributeReport', cluster 'genOnOff', data '{"onOff":1}' from endpoint 1 with groupID 0
Info MQTT publish: topic 'zigbee2mqtt/Light - Bedroom - Bathroom - 1', payload '{"brightness":1,"color":{"h":null,"hue":null},"color_mode":"color_temp","color_temp":400,"color_temp_startup":0,"linkquality":87,"state":"ON"}'
Debug Received Zigbee message from 'Light - Bedroom - Bathroom - 2', type 'attributeReport', cluster 'genOnOff', data '{"onOff":0}' from endpoint 1 with groupID 0
Info MQTT publish: topic 'zigbee2mqtt/Light - Bedroom - Bathroom - 2', payload '{"brightness":254,"color_mode":"color_temp","color_temp":400,"linkquality":12,"state":"OFF"}'
Debug Received Zigbee message from 'Light - Bedroom - Bathroom - 2', type 'attributeReport', cluster 'genOnOff', data '{"onOff":0}' from endpoint 1 with groupID 0```
Do I have to like reinstall or update the firmware on my Sonoff 3.0 stick or can I just keep the preinstalled one and plug it in?
It's always worth updating the firmware
I may end up going this route - thanks for confirming it works
Why did the sonoff 3.0 stick add a device called unk_manufacturer unk_model that I can't delete to my network?
Yes. It shows up as a device in zha
I cant send a screenshot here but I have my coordinator an then another device called unk_manufacturer unk_model in the device list
It says its a coordinator
It says it "found" the device
Solved it by deleting the zigbee.db file before adding the integration
I have, its been a while since I ran zha but when I first paired them thats what I was using. Did a couple automations
Well great. The Sonoff 3.0 stick works. I added almost all of my devices, but for some reason it just can't pair with the Aqara ZigBee button...
I don't know what I'm doing wrong...
And now it just popped up 🤦♂️
Hi, I hope someone can help me get pointed in the right direction. I have a Sonoff Zigbee USB Dongle plus flashed to latest firmware. The dongle is located in my basement, I have a 2400sq ft house, typical american stick & drywall construction. I have about 20 devices on the network right now, all my connections seem to be yellow or red lines in the ZHA visualizer. And also many end devices simply show in the visualizer as not connected. From what I can tell, all my sensors and buttons seem to work despite what the visualizer shows. I have 4 routers with smart plugs, 3 of which are on my main floor where most of the sensors are, and 1 upstairs, where I have only a couple of zigbee buttons. I had one ikea bulb disconnect recently, I guess I need to repair it, but my question is, should I be seeing mostly green lines instead of read and yellow? Do I need some other kind of repeater?
I can't seem to post the screen shot of the visualizer so here it is, https://imgur.com/pnyjel8
An LQI of over 100 is nothing to worry about, the color scheme probably just needs to be adjusted.
Hey I've got a very strange problem. Have just had the power off in my house for some electrical work, power back on - everything is working fine except my Ikea Tradfri blinds. But here's the weird thing: They're connected to my Conbee2 via DeConz along with my Hue lights, and the Hue lights are working fine but all of the blinds in the house appear completely dead. Any ideas why? Cheers!
Blah, moved the PC with my conbee on it like 5' and now half of my stuff is flaking out.
Is your Conbee on a USB extension cable?
It is now, I had to run one to put it where it used to be.
The server it's on doesn't have USB 3, never had issues with it plugged directly into it before moving the server.
There’s nothing configurable on the home assistant zha or sonoff usb stick side that could be causing this so no? Any advice on where to start fault finding then? If their comms or frequency with the coordinator isn’t configurable I’m kinda stumped as to what problem is
No, sensors report in, they're not polled
You may be able to adjust the report rate.
Batteries dying quickly come down to:
- Crappy hardware design
- Interference/weak signal
What coordinator are you using?
The SONOFF Zigbee 3.0 USB Dongle Plus https://www.amazon.de/dp/B09KXTCMSC/ref=cm_sw_r_cp_api_i_0M9PJNASFD3PK3XCFCZA it’s on stock firmware
Which temp sensors?
Got these specifically as I didn’t want flat cells as they run out to quick, standard aaa easier to get and rechargeable available too
How often is the device reporting its temperature back to ZHA?
It looks to be every half hour from the trend I have but I’ll be honest I’m nervous of looking under hood of homeassistant, I’m only dipping toe back in again and seems v stable but had bad experience with it about 4/5years ago.
Jeez, 22eur per sensor?
Sourced through ali, about 7euro each but saw review on them saying battery life was good
Ah, that's more reasonable. I paid about $5/ea for my door sensors and they all have temperature sensors on them.
Can’t be range either one is about 2m from the sonoff usb
Tuya ... 
My Xiaomi temperature sensors are good for 18 to 24 months on a coin cell battery
Yeah it’s tough finding non flat cell battery ones - v expensive battery’s to replace and hard to find in Ireland
Eh, it's going to cost me like $40 every 3-5 years to replace the batteries in my 30 sensors. https://www.zigbee2mqtt.io/devices/XHS2-UE.html is what I have.
idk what flat cells cost in Ireland but they're on Amazon here for cheap
It’s more that they’re not common so usually chemists or places like that might have them but they just unreasonably mark them up - Amazon is complicated …. European ones won’t ship batteries here because planes and battery delivery restrictions - uk Amazon which technically supposed to still cover here same again cause of sea border and well brexit eu non eu vat etc etc
Coin cells are always stupidly overpriced in stores here too. Can get 10 off of Amazon for what two cost in a store.
I'd gladly replace my Aqara sensors with something that takes rechargeable AAAs. If only it wasn't Tuya...
What do you guys use the humidity sensors for?
Or are you just going for the temperature part?
I have my temperature sensors because I'm going to make them control my hvac and use an average of the whole house/turn on when a room is out of whack.
Just really temp for me, humidity in Ireland is kinda pointless 😂 it’s just always wet - it is interesting to see car humidity though - wanna use it to remind me to dry it out reduce the winter window fogging in future, did that one year through a big desiccant in and made a big difference and could see it on the charts
Lol, I've got the opposite problem here. I got some humidity sensors and they just showed 'Low' because my humidity was outside their supported range. I have humidifiers set up around my house that are constantly on.
The UK as a whole rarely suffers from "too dry". Ireland and the West coast of Scotland are also rarely lacking in rain.
Anyone here use zigbee relays to control their HVAC? I'm thinking of completely removing my thermostat since I can't find one that works well and just controlling it from the Home Assistant UI based off of my temperature sensors.
With a manual thermostat near the HVAC set to like 60f/15c to ensure pipes never freeze if HA crashes or something
Or if anyone can give me any ideas of what to look into to figure out why my Zen Thermostat isn't receiving commands I'd still like to figure that out.
From what I can tell it gets the messages to set temperature/operation mode and just ignores them.
If I send it a command I get a report back but nothing has changed in the report from the previous one.
It works as expected for 30s to a minute after I first turn it on.
@lusty yew I use zen thermostats and they work fantastic!
But I have to use ZHA
zigbee2mqtt will not control them, i've tried a bunch of times
I guess I'll try again with ZHA then
It didn't work last time I tried it though
fffff, not looking forward to re-pairing 60 devices to try ZHA again.
ZHA reuses your stick's network settings and all routing devices that check in will be treated as new joins
And if you have relatively compliant end devices, they'll be picked up eventually too
if you have a second stick, you could leave z2m alone and just pair the thermos with ZHA to make sure they work first
Only other coordinator I have is a Hue bridge, there weren't any FW hacks available for it to make it work with anything but Hue last I checked.
yeah, think you're right on that
but the 'only works for a minute after turn on' is the same behavior i had with z2m :/
i opened an issue... somewhere, i can't even find it now, but it just went stale and was closed
ah
there are very few issues in koenkk's repos, it is impressive until you learn that they have a bot that autocloses issues after just 1 month
If you have a chance, could you grab a debug log of comms with that thermostat? We may be reducing command retries in ZHA in the future and if your thermostat is only working because zigpy-znp internally retries three or four times and ZHA retries a few times per command, that will need to be fixed.
Hi, could anyone point me in the right direction? I've bought Lidl ceiling light (on/off/brightness/colortemp) which is not yet supported and I was following this tutorial
https://www.zigbee2mqtt.io/advanced/support-new-devices/01_support_new_devices.html
but whenever I move .js file into z2m folder and try to add it under external_converters all of my zigbee devices become unavailable..
ZHA doesn't seem to work much better with my Zen thermostat. I can turn it on or off now but can't control the fan or set the heat/cool points.
https://pastebin.com/9aTpWQCD is what I see in HA's logs from it
I'm wondering if Zigbee2mqtt was replaying messages or something.
Z2M has a message queue so in theory it should be more reliable when you're trying to reach a battery powered device like this
Maybe it's just a flaky device. Does it have a backup battery?
It's got 4 AA's and a 24VAC connection from my HVAC
I think it would only use those AA's when it loses 24VAC, no? So it's effectively an always-on end device?
Yea
2022-04-14 11:32:17 DEBUG (MainThread) [zigpy_deconz.zigbee.application] Error while sending 58 req id frame: TXStatus.MAC_CHANNEL_ACCESS_FAILURE Is this network congestion?
Or frequency congestion I guess
I think it can be caused by congestion but only if you have a ton of devices next to one another
Radio thinks the channel is occupied, likely due to too much noise
I don't have anything near my zigbee adapter, and it has no problem reaching lightbulbs that are 10' past the thermostat through another wall.
The radio doesn't lie, it's the one deciding not to transmit because it sees too much noise
I guess I'll try changing the channel then
Hrm, that is going to require repairing everything...
Run an energy scan: https://github.com/zigpy/zigpy-znp/blob/dev/TOOLS.md#energy-scan=
If you want to try something less battle tested, it is possible to change the network channel at runtime
And try notifying devices on the network of the change
Easier to put it on a USB extension cable though. Is yours on one already?
Going to try just changing my wifi to wifi channel 11, it looks like that's furthest from Zigbee's channel 11.
Yea
yeah i use ch11 for 2.4 wifi. my zens run on battery-only, so that might explain some of the difference between your experience and mine
I had mine battery only at first, I ran a C line from my HVAC to try to fix it.
Changing wifi channels seems to have somewhat helped, but it's still oddly unresponsive.
weird
Hi folks, sorry, me again. So my Tradfri blinds (connected to DeConz) can be controlled using DeConz and going to the window covering property - but the buttons in Home Assistant are completely dead after I had the power off for a few hours for some electrical work. Any ideas how to get them to talk again?
I've tried restarting HA, reloading the DeConz add on
Weirdly one of my blinds started working fine but the others are still unresponsive and I'm going crayz
*crazy
Can normal ESP32's do Zigbee or only the ESP32-H2?
I was thinking the normal one could for some reason but can't seem to find anything on that.
Only the unreleased -H2
worked last time I tried it but is there any reason you need to root your bridge?
Curious to see what I can do with it
I just installed a new aqara switch but can't seem to get it to pair with ZHA. I have several other aqara devices that haven't had any issues pairing, and the Sonoff bridge sits about 12' from the switch. I've also tried putting it in pairing mode and then continuing to press the switch every 2-3 seconds to keep it alive. Any thoughts? https://www.amazon.com/dp/B081ZQWX1F/ref=cm_sw_r_apan_i_AQZ94E42S15PJ6ZYW7H8?_encoding=UTF8&psc=1
What coordinator are you using?
A Sonoff bridge
Which one? The USB stick or the WiFi one?
Oh sorry, the wifi one
Hey me again. Restarted HA and my Tradfri blinds (connected to DeConz) don't work. Weirdly I can activate them inside DeConz (but not Phoscon) by going to the "window covering" property and hitting the button in the app. But nothing works on HA - after reloading the add-on etc etc. Any ideas what I need to do?
If anyone has successfully updated the firmware on the Sonoff Zigbee USB Dongle please message me
What are you having problems with?
This always happens to me when I ask for help. I didn't have the Windows drivers so it wouldnt show up. Found a download link for the drivers just now and I'm carrying on with firmware flashing. Thanks for responding
If you're using ZHA, make sure to backup the network data on the stick before you flash
hey all. got Z2M working. but my aqara vibration sensor is reporting sensitivity "null". I am following the directions at: https://www.zigbee2mqtt.io/devices/DJT11LM.html#xiaomi-djt11lm with no luck
getting an error when I try settting the sensittivity
Error: Error Publish 'set' 'sensitivity' to 'Dryer Vibration' failed: 'Error: Write 0x00158d0007c63c78/1 genBasic({"65293":{"value":11,"type":32}}, {"sendWhen":"immediate","timeout":35000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":4447,"transactionSequenceNumber":null,"writeUndiv":false}) failed (no response received)'
Info MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"Publish 'set' 'sensitivity' to 'Dryer Vibration' failed: 'Error: Write 0x00158d0007c63c78/1 genBasic({"65293":{"value":11,"type":32}}, {"sendWhen":"immediate","timeout":35000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":4447,"transactionSequenceNumber":null,"writeUndiv":false}) failed (no response received)'","meta":{"friendly_name":"Dryer Vibration"},"type":"zigbee_publish_error"}'
is there any one with a clue
another case solved by dumb luck and 6 hours of reading and experimentation.
Hey everyone,
I've got my first Zigbee device, a Conbee II USB stick. I'm looking at using Zigbee2mqtt right now because of the support for devices it has.
I currently run HA as a docker container on my Pi 4, and I'm trying to work out the correct way to set things up here. Because I don't have addons, most of the documentation I come across doesn't really make sense.
Am I right in thinking that I can essentially do the following? Setup Zigbee2mqtt in a new container, provide it access to the usb stick, and then the new container will communicate with HASS only via the MQTT broker? This way seems to make sense to me so I don't have to make changes to anything inside the HA container, nor does it have to live on the pi host itself.
Does this setup make sense? And will I be able to get a decent experience from it? I suspect that if using this that devices and entities will be discovered automatically in HA as they publish discovery messages, so it's just a case of pairing the zigbee device with this new z2mqtt container to get them registered and working.
Thanks!
OK, I may have been looking at the wrong place 🤦♂️
The main instructions seem to provide a ready made docker container that will work. I was confused because on the devices page it lists requirements for flashing the device/setting up something called deconz
2 of my hue lights are still unresponsive to commands after updating from 4.2 to 4.4 to fix zha issues from 4.2, the rest work again but 2 of them will update their rssi and LQI when I turn them on and off with a physical switch but that it. Anyone have similar issues?
If anyone else has this problem I had to manually reset them with the hue remote and add them to zigbee again with add devices, worked fine after that.
what are some good (and not expensive) temp/humidity sensors?
i currently have a couple of sonoff ones and they work ok but wanted to try some others maybe
Aqara
Has anyone here added custom support for new zigbee device in z2m? In my case it's just a simple cct led light, but whenever I try to put external converter into configuration.yaml all of the current devices become unavailable.. the .js file is in the same folder as config
https://ibb.co/48wN5nj (screenshot of config)
Please use a code share site to share code or logs, for example:
- https://www.codepile.net/ (select YAML as the language)
- https://paste.debian.net/ (select YAML as the language)
- https://dpaste.org/ (you guessed it, select YAML)
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.
Images of text are horrible things, share the actual text and it helps people help you
That's basically all of the code from config file I have problems with
"external_converters": ["14156408L.js"],
I just don't know whether there's something wrong with yaml or if I should do it some other way
Hi, is there a way to get the device signature without getting it on HA?
i have a product which dial with HA without problem but i can't get it to be add
well if you do not share what is written in .js then nobody would know whats going on. BTW, what does logs say?
not sure what you mean by "dial with HA" by device signature, you mean mac add?
i talk about the phase the blue box show up on ZHA saying the product is found and it's gathering information, i can't get pass that , i see during thise phase in the log that it's gathering information but i can't really add the product at all
ah I don't use ZHA. I kind of assumed you were on Z2M
what type of device is it?
i opened an issue regarding it, it's a CB432 DIN Rail Switch 32A
in HA or in the device handler repo?
ZHA device handlers
give me a few
maybe it's not in the right place
zigate
ugh
the last model and it's up to date
yeah that radio lib is kind of a mess... thats all
TI and SI are supported the best but this should work
is their a howto for upgrading the zstack firmware on a TI?
first things first can you enable debug logging for zha and the radio libs and then reset the device and attempt to pair it again
then post the logs to the issue you have
and ping me here
Hi, having a bit of an issue with Zigbee at the moment. I use zigbee2mqtt with an cc2652R zzh stick. I flashed the stick to latest firmware, it seemed to went without issues, and reattached, and while zigbee2mqtt detects it alright, I can't control any devices, sliders on just flip right back. Z2M shows errors about "Data request failed with error: 'No network route' (205)" which sounds about right, but why? Will I have to re-pair everything...
How long have you waited since restarting?
It may take a couple of tries for routes to be rebuilt
ouch. I don't remember having to this last time, but will do then
I have waited about 30 minutes after last testart now
That should be plenty of time. Strange. If you want to try debugging it, can you send me your stick's coordinator backup file? Do you have any network settings set in your Z2M config file?
To try getting it to work I went to z2m page and then added a network key to the config, then readded a light, which worked, so guess I'll know what to do fo a little while, but no biggie really. As I recall it worked fine last time, so had probably just a bit of bad luck then
I upgraded to 2022.04.4 and ZHA went belly up and now all zigbee devices are unavailable. Anyone else having the issue?
I did upgrade in the same sweep as I upgraded the stick, so possibly...
But not using ZHA, so may indeed be another issue
What coordinator are you using and what version did you upgrade from?
Try power cycling the routers: https://www.zigbee2mqtt.io/guide/faq/#doesn-t-require-repairing
Thanks, I did that too. Even stranger is that I did set a new network key and restarted Z2M, and without repairing, lights and devices are coming back on line, but one at the time, and very slowly. Perhaps it has restored the backup?
I am using the Poe tube
Enable https://www.home-assistant.io/integrations/zha/#debug-logging and post the startup log after letting ZHA run for a few minutes
Hey can anyone tell me how I can figure out where DeConz is installed on my Hassio install? (Standard install on an Intel NUC)
I've got a DDF file I need to add to a folder in there
If the add-on doesn't expose an option for that you're probably out of luck
Does anyone know if zigbee plugs with power monitoring exist for the swiss plug type (type J plugs)?
@tropic depot i have the logs how can i give it to you?
dm them to me
Since the update to 2022.4 has anyone had issue with lights not displaying the correct state?
100% lost on what to do
Integration/coordinator? All lights? Groups? Non groups?
ZHA
zzh (CC2652R)
All lights
will need logs to determine but nothing has changed with znp or anything related to lights
turns out it is not just the lights. my mistake
Is it at all possible for me to upload a file with the errors or just paste them in here?
@serene fractal posted a code wall, it is moved here --> https://hastebin.com/nowosiruvo
I have my startup log as well and it seems there areore of us with issues on 2022.04.X
I was working perfectly till 2022.4 and now in 2022.04.4 it stopped completely. In 2022.04.1-3 i had to restart or reboot and then it came back but now that does not even work anymore
@serene fractal @ripe herald upload a link to your home-assistant.log files with debug logging enabled https://www.home-assistant.io/integrations/zha/#debug-logging
where is recommend to upload them to?
Wherever works. I usually use https://dpaste.org/.
home-assistant.log
https://dpaste.org/ftZJH
home-assistant.log.1
https://dpaste.org/K8Oe5
Thank you 🙂
Strange. Have you tried physically unplugging the coordinator (zzh?)?
Your coordinator is unresponsive to serial commands. How are you running HA? Docker? HA OS? A virtual machine?
I run as a docker.normal but as a VM in proxmox
It is a POE IP and HA can ping it and I can browse to it
It can probably interact with the ESP-32 but for some reason the CC2652 isn't responding to serial
The package interacting with the CC2652 hasn't had a new release since January so nothing has changed since 2022.1.x in that regard
Does downgrading to 2022.3.8 cause it to start working again?
I need to restore from backup i guess
I suspect that it won't help. Try power cycling the PoE coordinator first.
Leave it unplugged for like 5-10s, sometimes the residual power keeps the chip on for long enough for it to not actually reset
Unplugging it made no change.
Sadly
The temperature sensors I have seem to be flaky coming and going.
The lights when I turned them off at the mains just remained at the "ON" state.
Hmm, your coordinator is receiving data from some devices but it's not sending. The only thing I can really suggest is to take an NVRAM dump of the stick (https://github.com/zigpy/zigpy-znp/blob/dev/TOOLS.md#backup-and-restore=), perform a network backup (same link), upgrade the firmware to the latest release, and then restore the network backup.
Alright
I will read it through & make sure I do it correctly
Appreciate it
Will report back 🙂
Tried that but still no luck.
If you want to try downgrading to an earlier release to test it out that is worth a shot. You can also install the package I linked to above and try interfacing with the coordinator using a second machine, to rule out connectivity issues. Make sure ZHA isn't going to be reconnecting over and over to it at the same time.
Now I'm not the best with SSH and that.
Anyone wanna give me q quick run down on what I'm to do with NVRAM dump, network backup and restore the network
I know how I get the latest firmware and how to do that
The link in my earlier comment has installation instructions (at the top) for setting up a Python environment on any platform, including Home Assistant OS if you don't want to use another computer
Once that's done, just run the two backup commands with the correct serial port path and you can upgrade the firmware
Ok... While repairing devices, I have noticed that some will join the network even if not set in pairing mode. Devices have not been reset. Is this to be expected? It feels a bit strange as I would want to decide when and if something should connect... Why is that? I have seen it before with a light sensor, and now also a motion sensor added itself like this.
Well this can't be right! I removed it, and even though "permit join" is off (gui as well as add-on config), it is re-interviewing itself... Please explain what I am missing here... Previously I have had to press it's button to trigger "pairing mode" for it to re-join the network, but not needing either "permit join" nor paring mode is a little wild, isn't it?
After upgrading zha_toolkit and several reboots and restarts my devices decided to come back. Touch wood, so far it works agian
I need to find out device_id for a button and have gone into '/developer-tools/event' and have listened to "state_changed", I see lots of id's for events when pressing it, but how to distinguish which one is for the button itself? All I have tried so far has been wrong...
How do i check if this https://www.ikea.com/us/en/p/tredansen-black-out-cellular-blind-wireless-battery-operated-white-90512464/ device is supported by deconz/zha/z2mqtt?
Morning all. I just installed a curtain switch in Z2M to control a sunscreen I will be installing tomorrow. It's a Tuya Zigbee device: Zigbee + RF curtain switch module (MS-108ZR)
I'm playing around with it a bit, as this is my first cover entity, but I'm having some trouble getting the calibration working. It's being recognized as this device: https://www.zigbee2mqtt.io/devices/TS130F.html
But the topic mentioned isn't recognized in Z2M. Does anyone have experience with these cover switches, and could help me out with this?
DM me the diagnostics data from ZHA please
Anyone else using the Sonoff Zigbee 3.0 sticks as routers? If so are you experiencing frequent drop offs on the network?
hello, i am using zigbee2mqtt with the sonoff dongle. Im having some trouble with ikea products, specifically the smart plug. I cant seem to toggle it, although it is definitely connected to the network. Any suggestions what might be done to fix this?
yes and no
How many do you have configured as routers and what firmware are you using?
Also what channel is your network on?
1 is currently active, I havent checked which firmware it is on, im using the factory default. Channel 11
Zigbee2MQTT:error 2022-04-16 16:12:24: Publish 'set' 'state' to 'IKEAPlug' failed: 'Error: Command 0xb4e3f9fffea0c2cb/1 genOnOff.on({}, {"sendWhen":"immediate","timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Timeout - 22147 - 1 - 139 - 6 - 11 after 10000ms)'
Zigbee2MQTT:error 2022-04-16 16:12:47: Publish 'set' 'state' to 'IKEAPlug' failed: 'Error: Command 0xb4e3f9fffea0c2cb/1 genOnOff.on({},
this is the error im getting from z2m
Thanks!
hi folks
I've got an Aqara TVOC air quality monitor that seems to freeze once every couple of days and then just report the same measurements on both the display and over zigbee
using the top button to switch display modes a couple of times usually seems to get it to wake up, but I was wondering if there was a way to do this while I'm not physically present
hm, seems like a known issue: https://www.reddit.com/r/Aqara/comments/pmnjzl/tvoc_keeps_losing_connection/hmbbxd5/
whats the easiest way to change channels on z2m? Do I need to use zigpy tools or will changing in the z2m settings and repairing devices be enough?
Change channel, stop z2m, delete/rename coordinator backup, start z2m
Thanks! Where is the coordinator backup located or what is the file name?
coordinator_backup.json?
Yep. If you change the channel or other network settings without renaming/deleting that backup, z2m will complain and tell you to delete it if you want to recommission the network
Some devices might rejoin on their own after a channel change if that's all you're changing
Thanks, really appreciate the help
so, can anyone please tell me wtf i am doing wrong?
Hello, I'm having trouble getting Aeotec buttons to update their temperature for HA running on a Pi with ZHA. I'm quite new to this, but searching around hasn't really yielded me any help.
If I hop into the device -> manage clusters -> TemperatureMeasurement -> measured_value and "get zigbee attribute" the temperature will update, but otherwise it sits static. I've got to be missing something simple here, right?
Fairly certain aeotec is zwave no?
Apparently they have both
Hrm looks like they are making stuff samjin used to… interesting
Haha yeah, going zigbee rather than zwave was actually an accident, but it didn't really matter on account of running a Smartthings Hub when I picked them up.
hy, can anyone explain why i can't see/listen zha_event in Developer Tools > Events? i use ZHA with Sonoff Zigbee 3.0 USB Dongle Plus, but with the old Sonoff Zigbee CC2531 USB Dongle i was able to
For some reason after doing what we've discussed I'm getting hte following error on starting z2m:
Zigbee2MQTT:error 2022-04-16 17:10:46: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2022-04-16 17:10:46: Failed to start zigbee
Zigbee2MQTT:error 2022-04-16 17:10:46: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2022-04-16 17:10:46: Exiting...
Zigbee2MQTT:error 2022-04-16 17:10:47: TypeError: Cannot read property 'payload' of undefined
at AdapterNvMemory.readExtendedTableEntry (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/adapter-nv-memory.ts:170:30)
at AdapterNvMemory.readTable (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/adapter-nv-memory.ts:279:28)
at AdapterBackup.createBackup (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/adapter-backup.ts:106:27)
at Controller.backup (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:301:28)
at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:158:13)
at Zigbee.start (/app/lib/zigbee.ts:58:27)
at Controller.start (/app/lib/controller.ts💯27)
at start (/app/index.js:101:5)
reflashed coordinator firmware and now works shrug
Added plus like you mentioned is that a lot of devices are rejoining despite the channel change
yeah, some devices will scan for the same panID on every channel when they can't connect on the previous channel
Got ahead of myself, started getting an error that panID was too similar
Anyone know how to reinclude hue bulbs on a new network? Can't seem to get them into pairing mode
there are 5 ways apparently https://www.zigbee2mqtt.io/devices/8718696449691.html
@worthy portal posted a code wall, it is moved here --> https://hastebin.com/pukutaxeto
what the hell heppened this night to deconz, everything down
no idea what happened but vm lost connection to usb, restarted vm and fixed now
Anybody has recommendation for zigbee smart door lock, wall switches and sockets (EU plug)?
I don't want cloud functionality only local use.
Hey everyone, I've got a DDF file for DeConz (with configuring for Ikea blinds in them) which I need to put in my Deconz devices directory - any idea how best to do this on a standard hassio install?
Thank you
What version of HA are you running?
I'm trying to setup Aqara H1 switch (WS-EUK04 written on the box and lumi.switch.n2aeu1 reported by the device). I was able to connect it via ZHA but could not figure out how to set decoupled mode. Now I'm trying with Z2M however upon pairing it says the device is unsupported and keeps spamming Device '0x54ef4410001c6943' with Zigbee model 'lumi.switch.n2aeu1' and manufacturer name 'LUMI' is NOT supported. Is there something that I'm missing? According to https://www.zigbee2mqtt.io/devices/WS-EUK04.html the device is supported.
Turned out that for some reason HA pulled Z2M version 1.18.something which did not support the device. Not sure if there was an easier way to update but I had to remove Z2M, remove the repo, add the repo again and install Z2M again, this time the device shows up as supported.
I have a thermostat, which are working fine. The oinly thing is, that the temperature is not right, there are 1-2 degrees to high. Can I add an offset to this? Model is _TZE200_yw7cahqs
Hello,
I created a group in helpers -> group for my zigbee controller lights but it seems my group is not that efficient. I was told to create a zigbee group. How can I create that type of group?
I use a conbee II with Zigbee Home Automation integration
@warm umbra I think you have to do it in the Zigbee Home Automation integration. Configuration > Devices & Services > on ZHA integration when you click Configure you get the 3 tabs: Network, Groups and Visualization. On the Groups tab when you Create Group you should get a list with your devices, You write a Group name, and then select what devices you want
that was perfectly explained 👍 thank you very much. Had never seen that option to create a group in the ZHA integration
you're welcome
do you perhaps know if this method can be used for other entities ?
I was trying to add motion sensors as a group but it seems it only shows light entities
You don't use Zigbee groups for sensors, no
what would be the best way to add motion sensors together so they work as one ? I have multiple aqara motion sensors
A binary_sensor group #integrations-archived will do just fine
That'll be on when any member is on
I do see that my roller shutters show up for a group in ZHA groups as a button switch
mhmm I'll give that a go again
I tried that before but it didnt work
Can I have some recommendations please?
perhaps I did something wrong
Aqara has decent plugs that come in EU format and switches
I also have some cheap ones from aliexpress that work great and have energy monitoring
Amazon these days doesn't have much options listed. Not sure about other countries, but in my country that is the case.
which country are you from?
I use amazon DE alot
India.
I might be able to get stuff imported from other places, but this would cost extra.
perhaps try aliexpress ? if you look for items that have high sale numbers and reviews they're ok
Could you share some links that you have bought? If you don't mind?
I have a Tuya smart plug already, but it is the external one, that plugs into already existing non smart socket.
and got these for switches
yeah the plugs says tuya but work fine just with conbee II and ZHA for me
Wait I saw these on amazon from Xiaomi
they work great. Got a 4 button and you get 4x single click, 4x double click, .. long press, ..
a lot of actions for one switch
yeah they look very similar
Oh! Nice.
yeah that switch has been a great addition to my living room 🙂 single clicks for on/off open/close actions, long presses to dim lights, double clicks to change colors
yeah great switch with HA
Do they have some indicator lights on them?
indicating if they are toggled on or off
no not a general light
but they have a little LED that lights when you press a button
I see.
on your link you see it under each button
a little opening. a green LED indicates a press for mine
But you have full control on Homeassistant right?
Wait these are not your typical switches.. this doesn't connect to devices with wires and all?
these are like physical buttons for something like Homeassistant..
these are battery powered
Ah! This is not exactly what I wanted.. but cool.
yea the regular switch that connect with electric wires
but wanted the smart feature
have not used any of those type but then you have to look mostly for voltages and if it has neutral or not
those work well
yea these look more like it..
you can find them from several companies on Amazon… GE, Aqara, Lutron, etc
let me see on amazon.. if I can find these..
I have many Aqara products and very happy with them
Can't find on amazon.. perhaps I can order from aliexpress as well
aliexpress has all aqara items 😄
Only problem with aliexpress is shipping time 😓
Yeah, but you pay a lot less
the shipping time also really depends on the sellers
I have had items arrive in a few days
true..
the last one
Home Assistant 2022.4.5
BTW I have not used zigbee before and when I try to add the zigbee integration in my Homeassistant, I get these options.. I am not sure which one to choose here.
Or is this like different for each device I add using the zigbee protocol..
Coordinator?
You mean the hub?
hy, was using Sonoff Zigbee CC2531 USB Dongle, with ZHA on Rpi4, then i switched to Sonoff Zigbee 3.0 USB Dongle Plus (flashed with the CC1352P2_CC2652P_launchpad_coordinator_20220219.zip firmware). I started with a fresh install on the pi, added the ZHA integration, but now i CAN NOT see any zha_event in Developer Tools > Events. zha_event is even missing from the Active Listeners list. If i start listening for *, the events triggered from my zigbee connected devices don't show up with zha_event, i just see events with state_changed. Does anyone have any idea why? I am trying to see why some automations don't work.
Hi, i got some error in my logs from zigbee.. can i fix them? i use the newest home assistant 2022.4.5 all Up to date .. 😦 https://hastebin.com/pukutaxeto
I'm thinking of migrating from zha to zigbee2mqtt. Any recommended guides or gotchas I should be aware of?
Don't worry about it
is this fixed in the next releases? or can i do something ? i want a clear log 😉
There's just some device on your network sending malformed data, it's not critical
okay
It'll probably go away next release, ZDO command callbacks will be removed soon
I did this recently, the official zigbee2mqtt website is the best place to start.. there is a home assistant addon if your running home assistant os/supervised. I run home assistant in a container, so I've installed zigbee2mqtt as a docker container also. Very easy setup! Definitely worth doing..
I'm looking for a little advice testing/extending zigbee device range.. do powered zigbee devices generally have longer range then battery powered? Neighboring wifi networks are cutting my range dramatically, total mess. Double brick house probably isnt helping either...
Thanks, yeah I'm on HAOS
@nova saffron what are the chances your Z1-mini will be back in stock somewhere soon? Also, I want to use one for a grill thermometer and another as a water level sensor, any particular advice on either of those?
I was just at IKEA and they were all out of the Tradfri motion sensors. I asked the guy there and he said they're probably going to be out for a while and that he's pretty sure they have an updated line of sensors/devices for their "home security" push coming out. So if you see the sensors in stock, it might be a good idea to grab them (or wait for new devices, if you're patient)
opinions on the sonoff snzb-03 motion sensor with z2m? looking to replace one of my wyze sense motion sensors that appears to have finally bitten the dust
hi there...
suggestions for a Zigbee USB stick for a new install?
whats the go to dongle?
The Sonoff one has been great for me, price was nice too. https://www.amazon.com/dp/B09KXTCMSC?ref=ppx_pop_mob_ap_share
Not sure if Oz uses any different Zigbee standards from USA, but it’s built on the CC2652P so it should be good for most Zigbee stuff globally.
yep
The zigbee standards are the same everywhere
I believe this is the problem with zigbee just a few use the standard and most use their own (deviate from standard, just because)
I was responding to "Not sure if Oz uses any different Zigbee standards from USA"
Hi I never used zigbee before I have try to pairing TRÅDFRI Shortcut button in zigbee2mqtt use ZIGBEE 3.0 USB DONGLE PLUS but not find any device when I pressed Permit Join (All) do I miss something ?
Have you had a look here? https://www.zigbee2mqtt.io/devices/E1812.html
Are Ikea shortcut button and air purifier not available to connecti via zigbee (conbee II/deconz)
https://www.amazon.com/gp/product/B09HYYZH6R/ vs. https://www.amazon.com/gp/product/B072KT2VC2/
Anyone have any idea what the difference is? My understanding is that the "Amazon cloud only" one will still pair with ZHA/z2m no problem.
yep, I have and use one with ZHA - works fine. (second link).
Hi All, I have rencently moved my Home assitiant from a PI to a server running proxmox. The Pi was located within my house with conbee 2 dongle and was linked to various sensors within the house. The server will now be located in my external garage, in a server rack approx 16m from the house. What is the best way to extend my zigbee network to pick up the sensors in my house? I have thought abut the IKEA plug, this would be the first repeater i could install, but this would be at the 16m range. Any help or advise would be appriciated
Buy one of Tube's network connected coordinators and place it in the house
Leave the Conbee II in the RPi in your house, expose it over TCP with ser2net (Raspbian would work). Spend $0, reduce ewaste.
Just started using zigbee2mqtt yesterday. Got everything set up pretty well I think. I'd like to use an external converter because I got my hands on an Aqara P1 motion sensor. Found this thread: https://github.com/Koenkk/zigbee2mqtt/issues/11990 that talks about adding an external converter. In the z2m frontend there's a tab in the settings for "External converters". I'm wondering what I'm supposed to put as an entry in here? The name of the file that's the external converter? If so, where in HA's file hierarchy is that file supposed to go?
hi all - im looking for someone with ZHA / Z2M experience that can help me troubleshoot. I'm happy to donate or something to make it worth your time. I somehow messed up my switch from ZHA to Z2M, and now I can't get anything to work. Please DM me if you could help. Thanks a lot
Do you really need to do anything? Zigbee is a mesh network usually and you can easily get ranges much greater than that, so it should work from there…? Am I misunderstanding something critical?
16 meters through external walls is going to be a stretch
@torpid rock when i was on the PI i tried to get my workshop with a sensor working on the Zigbee network, but it was really flakey. So thats the main reasoning behind the question.
Huh, I guess I am getting lucky then. I have an aqara button converted into a creek flood detector about 35 meters from the nearest ZED and it has been doing fine. I might be getting a good LOS through a window maybe?
You could also probably put a lilypad device between the two structures, but then you’re routing all the data through one node, which might be just as bad anyway…
HI, A am trying to understand how device binding in the clusters UI works in ZHA. Specifically I want to bind a 4 button IKEA remote with a Hue light. I can get it to bind the on / off, but not the level control. Am I missing something obvious or is this just not possible with these devices without custom automations?
What are you having issues with?
my usb stick has stopped responding to ZHA. so now none of my devices respond
i tried installing Z2M yesterday, but then couldn't get it to work. then i uninstalled it, but now ZHA doesn't work anymore. i tried rolling back to my backup from yesterday but that didn't solve anything
If you ever started up Z2M with your stick, your network is gone
Z2M overwrites all of your network settings with its own
What do you mean by "unresponsive"? Can you post a debug log? https://www.home-assistant.io/integrations/zha/#debug-logging
Also, did you make sure to completely remove Z2M before re-enabling ZHA?
i uninstalled it as an add-on. are there other steps required to remove? i'm running hassos in a VM
The debug log would indicate if the serial port is being accessed by multiple applications
working on the debug log now. the usb stick just shows as "last seen xxx", with xxx being whatever the last time i restarted the machine
so it seems ZHA manages to connect to the stick for a second every time i reboot, but then stops talking
so likely something else is taking over the connection
The last seen not updating for the coordinator is probably just a bug with the web interface, I wouldn't read too much into it
i added the logger configuration to configuration.yaml but i can't figure out where to find the debug log
It's all in /config/home-assistant.log
2022-04-18 19:56:13 DEBUG (MainThread) [zigpy.quirks.registry] Fail because endpoint list mismatch: {232, 230} {1, 2}
2022-04-18 19:56:13 DEBUG (MainThread) [zigpy.quirks.registry] Fail because endpoint list mismatch: {232, 230} {242, 11}
gettting lots of those
Nothing to worry about, it's just explaining why possible quirks aren't applicable
If you redact personal info, upload the whole file somewhere. It probably will be easier to debug that way since the log is very verbose.
okay i will try that.
it may be something with this: 2022-04-18 19:56:15 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.ResetReq.Req(Type=<ResetType.Soft: 1>)
2022-04-18 19:56:15 DEBUG (MainThread) [zigpy_znp.api] Request has no response, not waiting for one.
2022-04-18 19:56:17 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.ResetInd.Callback(Reason=<ResetReason.PowerUp: 0>, TransportRev=2, ProductId=1, MajorRel=2, MinorRel=7, MaintRel=1)
2022-04-18 19:56:17 INFO (MainThread) [zigpy_znp.zigbee.application] ZNP is already configured, not forming a new network
That looks normal to me
2022-04-18 20:07:12 DEBUG (MainThread) [zigpy_znp.zigbee.application] Request failed (Unsuccessful request status code: <Status.MAC_NO_ACK: 233>), retry attempt 3 of 5
2022-04-18 20:07:13 DEBUG (MainThread) [zigpy_znp.api] Sending request: AF.DataRequestExt.Req(DstAddrModeAddress=AddrModeAddress(mode=<AddrMode.NWK: 2>, address=0x4186), DstEndpoint=11, DstPanId=0x0000, SrcEndpoint=1, ClusterId=6, TSN=52, Options=<TransmitOptions.SUPPRESS_ROUTE_DISC_NETWORK|ACK_REQUEST: 48>, Radius=30, Data=b'\x00\x34\x00\x00\x00')
2022-04-18 20:07:13 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataRequestExt.Rsp(Status=<Status.SUCCESS: 0>)
2022-04-18 20:07:14 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataConfirm.Callback(Status=<Status.NWK_NO_ROUTE: 205>, Endpoint=1, TSN=52)
2022-04-18 20:07:14 DEBUG (MainThread) [zigpy_znp.zigbee.application] Request failed (Unsuccessful request status code: <Status.NWK_NO_ROUTE: 205>), retry attempt 4 of 5
i'll upload the file now
Your radio looks functional
But since Z2M overwrote the network settings, your coordinator isn't forming the network your devices are on
So the entities will still appear in HA but there will be no way for your coordinator to reach the devices (since they're on a different network)
that makes sense. so i have to start over then, basically?
Unless you have an older ZHA debug log available (before you used Z2M), unfortunately yes
i do not. bummer
it's just a test set up so i don't have a lot of devices. so no big deal
just trying to learn so i don't mess it up when it's for real
In that case, you may as well run an energy scan to find a better channel for your network (since Z2M moved it from 15 to 11) https://github.com/zigpy/zigpy-znp/blob/dev/TOOLS.md#energy-scan
I just found out that if I long-press the on or off buttons the hue does increase or decrease the brightness, just by one single step until I release and long-press again which is far from convenient, I expected it to 'slide' while holding the button. Is this a mismatch in the protocol used by IKEA and Hue?
Hue controller, ikea bulb, Z2M. Can't reproduce.
Anyone know if IKEA TREDANSEN works with HA?
Did you pair the controller to the bulb or does everything go through ZHA?
That would depend on your controller, but at the off chance it doesn't now it likely will within a week or two, looking at the history of those things.
My other IKEA stuff works so I guess it will be fine. Did not know they were that new 🙂
I don't have the gateway.
Nevermind. It works just fine 🙂
I just got one last Friday. I'm using ZHA (Nortek stick), setup was a cinch, also joined the repeater and the little remote.
Nice! How do I join the repeater?
There's a little hole on the front of the wireless part (the USB port). I think I pushed it in for a few moments and it started blinking.
Only odd thing about it; if you open the blind partially (say 50%), it stays in the "opening" state rather than changing to "open" once it's done.
I'd expect "closed" --> "opening" --> "open", but this is my first zigbee cover, so I'm not sure if my logic matches reality.
oh...one other thing! Fully charged appears to be 50%. Can't get it any higher....
Yeah I noticed the automations are a bit funky cus of that. Have just done open and close yet. Also I noticed that if you set a new lowest point manually with the buttons on the cover. That is actually 0 in HA so it won't go longer.
Bought two today and one is at 7% battery and the other 11%
So maybe some tweaks habe to be done in HA by the developers?
Yeah, my battery came without much of a charge. Charged overnight (light went out), and 50% seemed to be the reading.
Weird
Looking for help with ZHA using custom quirks. Trying to add my Moes (Tuya) smart knob. Not finding very many "walk throughs" of using custom quirks, only descriptions of what they are. Is this the right place?
The tuya smart knob should have a working quirk in the most recent ha release
To get the most functionality you need to switch its mode by triple clicking it I believe
Anyone having issues with the Nortek HUSBZB-1 Zigbee/Z Wave stick not reconnecting after a reboot. I'm having to unplug stick from USB and re-plug to get it back. Wondering if I have the latest drivers, I'm running Win 8.1 with a VMWare Home Assistant VM. Hope this is the right place.
Ok, I can see the same. Perhaps I have more reading to do on ZHA. I was expecting more attributes to be visible. I can see events if I use developer mode and subscribe to zha_events. I will play with triple clicking as well.
There should be device automations set up for it as well
Thanks for pushing me to look more. I was expecting more to show up under entities for the device in the ZHA dashboard instead of just press to identify and battery. When I tried to setup an automation all but a few functions were in there. Setup quick automation to control an RGB LED lamp with WLED and all seems to be working.
whats the longest usb cable you can use with a coordinator? Tried a 30ft today and nuc couldn't detect it
With zha anything that is a “remote” and doesn’t have a state will be events only and if coded there will be device automations available.
30 feet typically needs a powered hub at the end of it for most things IME
Use ser2net and expose the serial port over Ethernet
I did not pair them directly to eachother (did not realize that was an option), only via ZHA and tried to link them via the cluster UI. So to link them directly I should probably use sequence of pressing buttons?
I don't know about ZHA, but in Z2m and Deconz that can be done from software. The benefit is that it will keep working even if your coordinator goes down.
That is the least understood thing in zigbee.
Are you forced to re-pair all devices after changing zigbee stick? going from conbee II to ZZH!
Eh, I just network rested the devices. zigbee2mqtt remembered all the friendly names/device ids
I know I would repair everything anyway. I know that takes only approx 2h and if I wouldn’t I’d always wonder if everything was correctly set.
Of course the 2 hours is a personal thing, if you have 200 devices that could be way longer.
Hi guys! I have a very weird issue with my Conbee 2-stick. Suddenly it doesn't connect to any of my devices. I can still see the devices in HA, but no error appears in the console. Also, the "network graph" seems very broken in the deconz-application, my "Configuration tool 1" is blue with a flashing dot there are no lines to any other devices. I've tried resetting the gateway through the phoscon-app. Any ideas on what could have happened to my stick/setup?
Hello @ all,
I have again and again problems with Z2M, that partially the commands do not arrive/are executed.
I would like to solve this problem with QOS.
Often it happens that a HA automation is started, which transmits the new position to 7 Ikea blinds at the same time - but only 4 or 5 Ikea blinds move into the correct position. (The roller blinds all move in different positions therefore a group does not work here).
The same also with 6-8 hue spots which should go on or off at the same time by motion. Often either not all lamps are on or not all lamps go off.
I have seen that I can use QOS 2 via Z2M. If I understand it correctly I just have to add this value in the device config.
Now I have to make sure that my Mosquitto MQTT broker also does QOS. Unfortunately I don't know where to put this in.
My thought was to set the QOS value at Z2M and Broker to 1 or 2, to be sure that the message from HA arrives at the Zigbee device and is executed.
Has anyone set this up or has info or documentation on it
Is your HA automation using a group to send one message to each of the seven devices at the same time, or are you using a group made in Z2M?
What coordinator are you using?
send to the Ikea blinds all individual. Each blind should drive to a different position. Therefore I do not use HA or z2m groups
now i will set QOS in z2m and also mosquitto Broker - but i´m not sure how can i set the config
coordinator is conbee2 but in the next 2 day i have also a sonoff 3.0 plus dongle
QoS likely won't make a difference unless your MQTT client and broker have an unreliable connection
It's probably just the Conbee. If Z2M has a way to control request concurrency, you may want to try reducing it
I do not know where the problem lis. I see via MQTT Explorer that the message from HA arrives. But in my opinion it can only be MQTT -> z2m or z2m -> Zigbee device.
https://www.zigbee2mqtt.io/guide/configuration/adapter-settings.html#adapter-settings has an option for concurrency
The problem you describe sounds like messages being lost, reducing the concurrency may help that
i will see in the next two days. is it possible to change QOS for Z2m and also for mosquitto MQTT Broker
QoS isn't going to help
I think QoS is also entirely controlled by the client, not the broker
why?
Because the problem is 99.9999999999999% not likely to be MQTT related
You're describing the classic signs of Zigbee messages being lost
Using a Zigbee group for the Hue spots will probably "magically" solve that problem
Reducing concurrency should help too
maybe you are right - i will test it in the next two days with the ne Sonoff Usb dongle
and last question. Any recommendations which zigbee channel and which wifi channel I should use?
Currently I had Zigbee 15 and Ubiquiti WLAN 6. Yes i know the website but it is not clear for me what are the best combination
There's a pinned message with a handy diagram on channels
The best combination is whatever keeps your Zigbee clear of WiFi - yours and your neighbours
In a perfect world you'd have WiFi down on channel 1, no neighbours, and Zigbee up at 25
you mean this one https://pastebin.com/bk1hN0Et
Heyo, seems like my Sonoff Dongle Plus got screwed up somehow. I pressed "update configuration" in the Home Assistant and since then I wasn't able to make it work
Restarted the server, reflashed the firmware on the dongle
still nothjing
[ 725.821465] usb 1-2: new full-speed USB device number 9 using xhci_hcd
[ 725.973054] usb 1-2: New USB device found, idVendor=10c4, idProduct=ea60, bcdDevice= 1.00
[ 725.973072] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 725.973083] usb 1-2: Product: Sonoff Zigbee 3.0 USB Dongle Plus
[ 725.973094] usb 1-2: Manufacturer: ITead
[ 725.973103] usb 1-2: SerialNumber: e431b5188f12ec11abd721c7bd930c07
[ 725.975952] cp210x 1-2:1.0: cp210x converter detected
[ 725.979418] usb 1-2: cp210x converter now attached to ttyUSB0
[ 725.997106] cht-bsw-rt5645 cht-bsw-rt5645: ASoC: failed to init link SSP2-Codec: -517
[ 726.002792] cht-bsw-rt5645 cht-bsw-rt5645: snd_soc_register_card failed -517
I'm getting this weird error when I connect the dongle to the server
Do you have a second computer to test with?
Any platform will work
on Windows, it reports there are no drivers for the device
It reports the device though
It just needs the generic serial port driver for that chip, it'll be a COM port
This one should work: https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers
Okay, installed, seems to be okay
You can't run HA itself on Windows but you can install the Python package that communicates with the Sonoff stick: https://github.com/zigpy/zigpy-znp/blob/dev/TOOLS.md#windows=
Then just run any of the tools: py -3 -m zigpy_znp.tools.network_backup -v COM8 -o network_backup.json
If that works, your stick is functional and it's a problem with your HA installation or hardware
@grim tree posted a code wall, it is moved here --> https://hastebin.com/ayowenaday
If it runs then your stick works fine
From the error, it seems like it's somewhat soundcard related?
Is it somewhat possible that the OS is assigning wrong drivers to the stick?
cp210x converter now attached to ttyUSB0 looks correct. The docs I linked to above have a section for getting into the HA OS installation to run the same tool (it's pre-installed). Does that work?
Yep, also working in the homeAssistant docker bash
Can you enable https://www.home-assistant.io/integrations/zha/#debug-logging and post the startup log? What errors are generated?
If you re-flashed the firmware without doing a network backup/restore, your network settings were erased so none of the previously-joined devices will work until they join the new network (unless you happen to have an earlier ZHA debug log available)
Doesn't bother me, I just got the stick and was just testing it out
Seems like I can't get any logs out of it
I deleted the ZHA device
and now I'm unable to add it
eh, typo in the path, but it does the same even without it
How are you running HA? In Docker?
Does it support hotplugging? Maybe you have to restart.
The exact same library is used by ZHA to communicate with the stick so something somewhere is wrong
is it possible for ZHA/zigpy to force reload the zha_ota folder?
The /config/home-assistant.log file will contain any errors, even if you're still trying to add the integration
Until I clicked the "update configuration" button next to the ZHA device
Not yet. I think it's re-scanned once every four hours.
Nope, looks like 12.
yeah, I'll just restart Home Assistant
HA!
Suddently it found the device
Maan :D
Thanks for your help
dunno why it's working now, I tried restarting the server before
but whatever
Received command 0x06 (TSN 95): upgrade_end(status=<Status.ABORT: 149>
are there any likely reasons server/client would abort an OTA upgrade? (one was "stuck" at 0.0% and then stopped and others didn't even start)
I got sent some images by Gledopto support: some are image_type=0, manufacturer_id=0 and also mismatch what the client/Zigbee device requests but they've worked last time
oh, the devices somehow locked up ...
uhm, or they've bricked themselves
... can Zigbee devices brick themselves even if they don't receive the update fully?
well, one seems to have reset itself somehow (two others still aren't responding even after power cycles, duh)
That's not good 😅 . How long did you keep them off when power cycling? Can they be factory reset?
yeah, I was able to reset one of them so far and it re-paired properly. (i'm not sure why it didn't rejoin the network after a power cycle and why this would even happen when the update only was beginning to be sent)
got a bit scared because of this seemingly similar case: https://github.com/Koenkk/zigbee-OTA/issues/60#issuecomment-974098961
and it would also be nice if Gledopto would provide proper OTA images that don't all have the same image_type and manufacturer_id lol
What does the OTA file's image header look like? Any device type or other restrictions?
these are some examples of the original images they've sent me: https://dpaste.org/J0qDn/raw
of course, there are also multiple models of the "GL-C-007P" with entirely different firmware versions
i was able to temporarily patch zigpy to make it work
Hmm, this isn't great manufacturer_id=0, image_type=4630
yeah, the devices also all request something completely different than what's in the OTA headers
Interesting. Is there enough info in the OTA files to match them to devices? Or does zigpy tweaked to send the "right" image send it to too many devices?
depending on the device model, it asks every 1 to 10 minutes for OTA updates, so just to be sure to not send the wrong image, i've just hard-coded it depending on the file version/model rn (since they're all different and that was the fastest patch)
huh, so one device that "bricked/locked up" now updated properly the second time around
guess i'll try to reset the others now
one of the devices does keep locking up, as soon as it starts to request the update(?)
ok, so I got the GL-C-006P models to correctly update
GL-C-007P (hw version 2) already worked fine without ever locking up in the first place
only the GL-C-009P seems to always crash/lock up after Updating: GLEDOPTO GL-C-009P, ..., Sending reply: query_next_image_response
Guys I just migrated my HA from a Pi3 to Pi4 by restoring my snapshot. Everything looks great, but the ZigBee devices that I had paired to my Conbee usb stick show up, but are listed as offline. Am I forgetting to do something?
Or do I really need to re-pair them all again?
Is your Zigbee stick correctly configured in whichever integration or add on you are using?
Not sure, how would I confirm?
Can I just remove the integration, re-add it with the listed device, and expect my ZigBee paired devices to remain?
Check the setup, make sure it can see the device and it’s using the right serial number.
No, if you remove the stick you’ll likely lose all your configuration.
And make sure you’re using an extension cable for the stick, and if it’s only USB 2.X compatible that it’s plugged into the right port.
is an extension cable necessary?
I can see the device listed under hardware just fine, and the integration is using the right one.
Yes, especially with the Conbee
ok, trying now
Has anybody here been able to get two zigbee dongles working? I have a husbzb-1 which I'm using for zwave, and purchased a Sonoff zigbee dongle (and a Conbee II dongle for backup, long story).
Getting setup with zigbe2mqtt has been smooth, however... devices simply aren't picked up by the sonoffo.
I'm not even sure how to diagnose what's going on.
Well, looks like ZHA is working. 🤷♂️
Hey all. I have been having an issue with scenes and I
a while ago I got a coupleof the sonoff zigbee3 usb sticks and flashed the router firmware on them and they've been working great.. yesterday I got 3 more tand flashed the current router firmware on them and they don't come up on the mesh (z2m).. has something changed with how things work now?
I'm not really sure where to put this. I'm running all zigbee philips bulbs and when I set the bulbs to movie mode or back to normal mode some bulbs don't switch. I"m using zigbee2mqtt. Most things work well, but it's 50/50 if everything changes correctly. Any ideas?
Extension cable did the trick - thanks!
Glad you got it sorted! Interference is a pain.
I'm having some difficulty finding the appropriate setup needed to get a Dockerized zigbee2mqtt communicating with a Dockerized Home Assistant. I have a Dockerized MQTT Mosquito instance that is easily connected to zigbee2mqtt, but I'm not clear on how Home Assistant is supposed to connect up to the MQTT broker. Does it have a built-in MQTT client capability or do I need to install that somehow?
I'm trying to avoid Home Assistant having/being involved with the installation of the MQTT broker under that same Dockerized container.
I see there was an MQTT integration which fooled me at first. It was exactly what I was looking for. I assumed it was the broker.
I started using zigbee2mqtt. I added devices, homeassistant is set to true but they don't show up in HA. Anyone got clues what to check first?
Already removed the mosquitto add-on and setted up the integration again.
Hm, looks like I need to provide a login for zigbee2mqtt to connect to the broker.
Hey, seems likemy roborock causes false motion detects on my HUE sensor, do you know if it's possible to change the sensitivity of the sensor thats is used with ZHA (No hue bridge on system). Some places show that i could use services under dev tool to set sensitivity but the input field didn't allow me to choose the sensor (it didnt appear at all)
I have a thermostat connected to HA with zigbee z2m that worked fine until a couple of days ago when my wifi broke..
Now I can't get any data from the thermostat.. Tried deleting it from z2m, because it had no signal strengt, connected it again and it seems like its working in z2m (as far as I know). after I went into z2m and pressed the refres button on fields under exposure they showed up, but some of them (like power consumption) I cant refresh and it shows just N/A in z2m and null in HA.
tips?
on how to get it to refresh all data?
WiFi breaking shouldn't have caused Zigbee issues unless either you're using a WiFi based coordinator or it somehow changed channel and stomped all over Zigbee
yeah, its weird.
but my ha lost all internet connection.
so a lot of problems came then, like my heatpump not working and some wifi plugs, but after a couple of restarts it worked as normal
What's your coordinator?
tho not the zigbee thermostat.
sonoff
dongle
all other connected devices to that works fine
Then either:
- More than just WiFi broke
- It's purely coincidence
maybe just try "reconfigure" in z2m?
Worth a shot
not tried that yet, because im not really sure what it actually does
get "are you sure" message 😛
I’m running z2m on Home Assistant with sonoff zigbee 3.0 usb dongle plus as coordinator.
I have many devices, some wired switches, power sockets, hue lightbulbs and sensors.
In one of the rooms there’s a group of 5 hue lightbulbs.
The issue arises when my kids accidentally turn off the power to the light bulbs in that room.
When the power brought back, the strangest thing happens, all of my power connected light switches / power sockets toggle off and on.
This is a consistent behavior and happens every time.
This only happens with that specific group of bulbs.
There are no automations or scripts defined in home assistant or node red on my system that toggle all the devices in my home.
I have also didn’t find any log entries of such command or any thing of that sort in home assistant logs.
This have become a real annoyance.
Any help will be hugely appreciated.
Yeah, was like an 20min of work. However my Aqara shade controller E1 is still acting up. Will have to look into it later
Hi!
Sorry if my question is stupidly simple but i have googled a bit with no results on how to move my zigbee stick to a fresh install and keep all my devices.
is it plug and play and all my devises follow or do i need to copy a few files from my old install to the new?
*using ZHA
just had the good old unk_manufacturer/unk_model with an Aqara E1 door sensor
yeah, always getting it now when re-pairing
weird
Previously, I had this in my logs when just pressing the side button once:
[0x4646:1:0x0000] Attribute report received: model='lumi.magnet.acn001'
Error handling '_save_attribute' event with (xx:xx:xx:xx:xx:xx:xx:xx, 1, 0, 5, 'lumi.magnet.acn001') params: FOREIGN KEY constraint failed
but I don't think that's related to the unk_model error
As long as you move /config/ (including zigbee.db and the stuff in .storage), nothing will change from ZHA's perspective
Though that would make your "fresh install" a clone of the old one
Okej, that is not waht i want..
Is it possible to just move "zigbee.db" and some stuff in ".storrage"?
I recently migrated from ZHA to zigbee2mqtt. I got everything set up and has worked great for a few days. I noticed that a Philips Hue motion sensor disappeared from my devices list. It was still detecting motion up until just an hour ago and was able to rejoin easily, but why could this have happened in the first place?
I updated the firmware last night, but it was detecting motion up until just an hour ago. Only thing I can think of that I did to it recently. I have 2 other of these motion sensors which are fine
hrm that's actually stating it failed to persist the model
a bit of a long shot.. but how was it's battery level? I assume updating the firmware drains quite a lot of battery
Actually all of my Hue motion sensors have been reporting 100% battery since I got them
I've had the oldest one for maybe 6 months. I know they have two triple A's but I would still think it would have dropped a little lol
not sure about hue sensors (they are probably better than my crappy xiaomi ones), but i never found the battery levels in z2m very reliable
oh didn't know they are triple A.. then maybe that's not the issue then..
The batteries in the first Hue motion sensor I had lasted 4 years and was triggered multiple times per day
they do cost a fortune.. but i heard they are very reliable?
anyway.. maybe someone else knows..
Wow actually now that you mention it, all my battery levels are reporting at 100% on z2m
It's more the zigbee devices themselves than zigbee2mqtt
On ZHA there were definitely battery levels that were not 100%. I wonder if this is just due to the fact that they don't report that information as often?
Battery levels with any battery powered device are a bit of a crapshoot, at least for zigbee ones
I only migrated from z2m from zha this past weekend
Seems odd that zha would have been reporting battery levels though and z2m isn't
but it sounds like that one particular hue sensor only has disconnect once and not multiple times (yet) ?
Yeah it's only been once. Nothing I'm too worried about yet. I am curious about the battery levels now though
I had a graph on my dashboard displaying battery levels and I just realized I hadn't updated the entity ids
ooo
i think the battery levels do update though.. but it's like once a day or something (i think that's what i read)
It depends on the device and is sometimes configurable
But yeah what about the fact that at least some of them were reporting as non-100% with ZHA
What devices? Aqara?
Anyone seen anything like a Zigbee tripwire sensor, like what a garage door uses to not close on things that reports when the beam is tripped?
if there isn't you may get away with a taped up PIR motion sensor i think
I assume you had a quick look here: https://zigbee.blakadder.com/sensors.html ?
Yeah all Aqara except the 3 Hue sensors
Those Hue sensors were all reporting 100% on ZHA too though
Zigbee devices can report a few battery statistics, including battery voltage and a device-defined battery percentage
from Aqara I have a bunch of motion sensors, vibration, temp
Aqara only reports voltage and Z2M and ZHA just calculate the percentage differently
Yea, I've looked. I either don't know the term to look for or there's none on the ZHA/Z2M compatibility lists.
It's dependent on the device, the specific battery you use, ambient temperature, and so many factors that Aqara battery percentage calculations are practically useless
yeah the only 2 similar types i can think of are the door/window contact sensors and PIR sensors.... interesting threaf https://community.hubitat.com/t/zigbee-trip-beam-sensor/35530/11 .. i think you can achieve something similar by taping a PIR sensor to restrict it's field of view..
what's the application you are planning to use it for?
To turn on lights when a doorless room is walked into, to put on the porch so I get an alert when someone walks up to the door
I have motion sensors outside already but they're way too sensitive
I was looking for those at one point. I let me see if I can remember the name
One trick to do that stuff though is to basically put a funnel over a PIR sensor
If I had beams I could do stuff like put two up to get the direction people are walking though
Break beam, I think that's what it's called. I think those need to be powered though
I've had decent results putting an Aqara motion sensor right up the wall, on top of a lightswitch. The wall and door frame molding acts as a cover for most of the sensor's field of view.
IR beam sensors: https://community.home-assistant.io/t/how-to-connect-ir-beam-sensors/174557 ?
Possibly. I had thought about trying something like that. Problem is if there's any latency you might have issues
if you have an aqara one.. I assume if you mount it at the top/mid of the door facing to the ground it will work?
Well I guess I'll know when one of the batteries actually dies 🙂
Often times it never even dies, the radio just gets weaker and weaker until it starts reporting inconsistently (or starts triggering constantly, like some motion sensors)
I already have problems with my aqara motion sensors cuz I did the hack on them and get a lot of ghost detections now
It might be my fault though cuz I used electrical paint instead of soldering
Try swapping out the battery. Mine also have the 5s mod and exhibit the same inconsistent triggering when the battery gets low.
What motion sensors would you guys recommend? Only one I have now is a Hue one that works well, but I need like 5 more and I don't want to spend that much.
I'm not so sure that's the problem. I mean maybe, but the sensors were having problems even when they were new
I found some of the z2m settings mentioned here useful https://www.youtube.com/watch?v=1dcAXkJxzcY if you haven't seen it yet (especially about the last seen) .. note some tips may require re-pairing
Yeah I was in the same boat. The Aqara ones are pretty nice, though I've heard the new ones don't allow the hardware mod
Aqara ones have issues with working with some other zigbee devices.. it's hard to recommend one.. i heard the IKEA one has a long cool down time
I've had pretty decent luck with them and they're really cheap
link is from here : https://www.zigbee2mqtt.io/devices/RTCGQ11LM.html under troubleshooting
Had some issues with my vibration sensor in the basement
One that I'd definitely recommend though is their contact sensor
The Hook Up did a video comparison saying it's no contest too
ah
I got a bunch of the Xfinity contact sensors, they seem to work well.
I got 30 of them for $150
I'm confused on what I had working before: I have a zigbee2mqtt instance up and running but cannot get it to connect to my containerized home assistant core. What am I missing?? I had something working before but my HA server went up in smoke
(The ZigBee2mqtt is running on a separate raspberry pi)
Can I only connect my zigbee2mqtt to home assistant if it's supervised??
have you defined your MQTT server somewhere?
Samsung SmartThings ADT Smoke Alarm
Anyone know if this is Zigbee or Z-Wave? Not finding a lot of info on it and the hub it was marketed with did both.
Damn, it's Z-Wave.
Doesnt look like it's on my pi and the server hard drive died so I'm rebuilding from scratch. Is there a suggested MQTT server instance to be running? Mosquitto?
yes mosquitto
frequency band 900Mhz is bit of a give away to it being zwave 🙂
Yea, that's all I found that indicated either way. The listings I was looking at didn't have the frequency listed though.
It's not zwave even though it uses the same frequency IIRC
It's propietary I'm pretty sure
Ah.i've been having a hard time finding a Zigbee smoke alarm I can actually buy.
You could look for a smoke alarm listener instead
^
That's what I would do
Or connect a relay to an existing hardwired detector
But most people just end up going for Nest Protects from my experience
They have a HA integration now
Do they require cloud crap?
Thanks. That was the issue.
I then had to divinate what the correct broker term was to get the server to connect to HA via the integration. For future reference the answer is core-mosquitto
I'm having an issues with my aqara temp/humidity sensors not updating in home assistant. Does anybody else have this issue? I am using the sonoff zigbee bridge.
Im trying to move from my windows based deconz to the home assistant add-on. I've got a .tar.gz file I backed up on windows and have a empty deconz instance running on HA, i moved the conbee2 stick and now i'm trying to import the backup but it's not letting me. the Load backup button shows a 🚫 on mouse over and is not clickable. Please help?
as it says above: Zigbee - please remember to mention whether you're using zha (https://www.home-assistant.io/integrations/zha), zigbee2mqtt (https://www.zigbee2mqtt.io/), or deCONZ (https://www.home-assistant.io/integrations/deconz).
anyone succesfully update firmware for tradfri remotes with conbee 2 ?
ive been getting the following issue since the latest HA update:
Source: /usr/local/lib/python3.9/site-packages/zigpy/application.py:73
First occurred: 8:34:20 PM (1 occurrences)
Last logged: 8:34:20 PM
Couldn't start application```
using ZHA with a Sonoff Zigbee 3.0 Plus USB thing
anyone else having such issues, or know how i can troubleshoot the cause?
hmm, googling seems to be pointing to 'corrupt nvram'
I have a bunch of the aqara temp sensors, whats the go with getting them to report temp with only 1 decimal point, and humidity as a full number (0 decimal points)
create template sensors to do that?
i was hoping that wasn't the answer 😄
so i just reset the NVRAM of my zigbee stick and restoring a backup from a while ago
i hope i hadnt changed too much (and that it works)
ok, ZHA is running again
so my NVRAM was somehow corrupted
lucky i had a backup i guess
Have you tried reading our lord and saviour
The docs
No but I found it mucking around in the z2m UI anyway 😄
do you have a sonoff stick?
we are starting to track this a bit
Sonoff 3.0 dongle plus
it's starting to look like this issue is localized to sonoff sticks
:S
there have been more than a handful of folks w/ sonoff sticks that are reporting NVRAM corruption out of the blue
HI really need help here , run in to this error and unable to solve . can someone help
Error while starting zigbee-herdsman
Zigbee2MQTT:error 2022-04-21 21:53:08: Failed to start zigbee
Zigbee2MQTT:error 2022-04-21 21:53:08: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2022-04-21 21:53:08: Exiting...
Zigbee2MQTT:error 2022-04-21 21:53:08: Error: Error while opening serialport 'Error: Error: Resource busy, cannot open /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2483764-if00'
at SerialPort.<anonymous> (/app/node_modules/zigbee-herdsman/src/adapter/deconz/driver/driver.ts:182:28)
at SerialPort._error (/app/node_modules/zigbee-herdsman/node_modules/@serialport/stream/lib/index.js:198:14)
at /app/node_modules/zigbee-herdsman/node_modules/@serialport/stream/lib/index.js:242:12
Do you also have ZHA or deCONZ configured?
That error says that something else is using the stick
may i know how do i see if it is been config and how do u undo it
however i dont think i have configure it
Zigbee2MQTT:info 2022-04-21 22:09:54: Zigbee: disabling joining new devices.
Zigbee2MQTT:info 2022-04-21 22:09:55: Connecting to MQTT server at mqtt://172.30.32.2
Zigbee2MQTT:error 2022-04-21 22:09:55: MQTT failed to connect: connect ECONNREFUSED 172.30.32.2:1883
Zigbee2MQTT:error 2022-04-21 22:09:55: Exiting...
Zigbee2MQTT:info 2022-04-21 22:09:55: Stopping zigbee-herdsman...
now im getting this error
when i want to open the web ui i get 502 bad gateway error
Hi. Does anyone have some suggestions how I can setup an Aqara Roller Blinds E1 controller using phoscon on my Conbee 2?
All issues, forums posts etc. talk about how to control it after it has been paired, and most of them mentions that it was easy to pair. If I start the pairing process by holding the reset button on the device and search for either light, sensor or switch in Phoscon, nothing happens.
Any suggestions?
Thanks!
Zigbee2MQTT:error 2022-04-21 22:09:55: MQTT failed to connect: connect ECONNREFUSED 172.30.32.2:1883
``` there's your problem, you need to fix that now
You may need to tell it to use core-mosquitto instead of the IP
omg thank you so much finally
Tinkerer should we propose some sort of change to the manifest in HA that prevents certain integrations from being installed simultaneously?
We have seen this several times recently
Seems like new users just add multiple Zigbee integrations at the same time not realizing they are independent
like some sort of exclusivity group... that way HA could enforce one is removed before another is installed
and maybe in advanced mode there could be a toggle to ignore the check... 🤷♂️
It'd seem like a good plan - if you've installed X warn if you try to also install Y
Yeah we may have to look at port access to get it right
I am trying to add the integration for deconz to my HASS installation. It always shows up after a restart of HA as a "new device discovered" in integration, but when I am trying to configure it, although it seems to have all the right value for /dev the configure ends in failure. The log only shows some python error I cant read anything out, maybe someone here can help me out what I am doing wrong. And is this the right channel to ask or should I had over to the deconz discord for this? The container running the deconz image seems to work fine. I was able to discover my zigbee stuff there nicely. So the only stuff missing is HA talking to deCONZ.
The python errors talks about PROBE and COMMAND timeouts.
That sounds like ZHA. Can you post the errors? What hardware are you running HA on? What installation method?
I saw a notion to give the HA container the device via commandline/docker-compose, but I doubt thats needed, as I get the "new device discoverd" after a restart of HA, so HA already seems to see the stick.
If you're concurrently trying to ZHA and deCONZ, neither will work
@novel sun posted a code wall, it is moved here --> https://hastebin.com/yijuvateji
well, there seems so many ways to connect these two, I just tried the first.
Which was installing the addon from HASS (instead doing it in my own docker container), lazy as I am 😉
oh
It looked like the "right way" as it gets shown after the deCONZ container went up and was working (and I restarted HA)
oh my, thats embarresing.
Personally I'd suggest the right way is ZHA rather than deCONZ 😛
just searched for "deconnz" in the integrations and thats there as well
Yeah, that connects HA to the deCONZ software
ok, then I am confused, I was under the impression that the deCONZ container is a MUST have to get this going.
Nope
from what I understand what you are saying is, that it is not?
ZHA uses zigpy-deconz to talk to the Conbee directly. Despite the package name suggesting otherwise, it has nothing to do with deCONZ the software. They're two independent ways to control a Zigbee network.
ok, and I would configure my zigbee stuff then with an app (like hue essentials) or how can i do stuff like timers and automation for lights going on and off?
or is this something I can do inside HA as well with just ZHA?
as thats not working here I have no clue whats coming only had a hue bridge so far
ahh ok
well that makes it even easier then i guess
i will give this a go then and kill/deinstall the deconz container then.
thanks for clearing that up!!!
something else. I was reading over the zigbee home automation docs and from there it sounds to me like I will be able to push updates to my ikea stuff, even though I have no ikea bridge? So far I was only able to upgrade my philips bridge, because I guess vendor lock and all.
If you enable those config options, all IKEA devices with OTA updates will update in the background in about 24 hours on their own. There's currently no way to check progress without reading the debug log but you should see lights blink after they finish updating.
nice. I guess I have some ancient firmware on them, so upgrades (if any) should be there. Do I have to configure some webserver where the firmware files are, or does the integration nows where to download these?
or do I have to provide them?
It downloads everything on its own from IKEA's update server
If you have any IKEA remotes, their functionality may change if their firmware is old enough so some automations may break. Just re-join the devices and it'll start working again.
have to get all devices into the new setup first now. of course pushing them into the deCONZ container setup was a waste as this is basically a different "bridge" right?
If you already added devices to deCONZ, ZHA will pick them up if you power cycle them and they re-join the network. Otherwise, it has no idea what devices are on your network.
yeah, already had to lookup how todo that, so I know that.
weird think about the ikea bulps which you have to on/off 6 times
You only have to do it once to reboot them (off, wait 2s, on)
oh?
They then announce themselves on the network (since the stick stores the network settings) and ZHA thinks the device just joined
I understood it in a way that onces they are "paired" you have to reset that first
ahh, they still belong to the network which the sticks spans
but I still have to click the "add device" in HA?
Not sure if this is correct channel, but when I setup scene or script to turn on some lights, they first turn on to previous color and then adjust, is there a way to avoid that? Thanks!
can i configure ZHA so I can connect with the app "hue essentials" or is this a completely wrong way of thinking?
I am having a hard time finding the entry point to do something simple like "switch light on at sunset, turn it off at midnight" inside HA
Zha is for using an zigbee stick
If you want connect a hue bridge to home assistant then you should use the hue integration
no, thats not what I wanted. I manage with the help of Tinkerer to get my deCONZ stick running with HA and are looking for a way to do some automation now.
Sunset trigger, time trigger
HA seems ... complicated in that regard
Not at all
Though if you want something more visual than the native automations, have a look at #node-red-archived
It's a more visual approach
I will have a look at all this, thanks
Really though, HA's automations aren't hard to learn, and you can do almost everything in the UI - at least enough to get you going and then some
I know, the first steps are just hard and suddenly when everything falls into place its suddenly easy; as usual 😉
Although all the new options confuses me atm. For instance my plug now have all two entities, one switch... and one button...
Which model
OSRAM
Okay, i use z2m, so i dont know why that is, i only know that these plugs are not so reliable but thats another topic
OSRAM ... yeah ... just say 
yeah already had some I threw away
same with bulps I bought, the stuff does not seem, well the best
It's probably slightly worse than Tuya, and about on a par with Sonoff
hehe, what do you guys suggest if I get fancy and wanna buy new stuff?
hmm, I guess I better move to another channel with my automation questions, but thanks again for the pointers (my first test just switched a lamp off, so I am on the right track) 🙂
I'd start with the list of known working hardware in the pinned messages
Xiaomi stuff is cheap and pretty good, if quirky. Beyond that it depends on what type of device you want
Hello i am trying to get zigbee2mqqt working but i get
"MQTT failed to connect: connect ECONNREFUSED 127.0.0.1:1883"
Now i do have my HA instance portforwarded 8123 and with a SSL certificate. does this matter for mqtt? as i want this to be connected localy only
Also yes MQTT and zigbee2mqtt are on the same host (VM)
Try using the IP of the host, not 127.0.0.1
i give it a try
this did the trick. thank you
Also i noticed this error in the log provider of supervised
WARNING (MainThread) [supervisor.addons.options] Unknown option 'base_topic' for Zigbee2mqtt (45df7312_zigbee2mqtt) Which i find strange as base_topic is a requirement as far as i am aware
The latest version of the add-on changed a bunch of stuff
Hardware or software issue though?
I'm leaning towards hardware... but it's just a wag
if it were software I would expect all of the TI coords to be doing it
but that doesn't mean there isn't something that we are doing that the sonoff sticks don't like / handle well
all conjecture at this point
hi I have an IKEA LED zigbee bulb that I added recently to Zigbee2MQTT/HA.. it works fine but when I try and use the call service > turn on light function in HA, and add a colour temperature (either in mireds or K), the light does not follow the transition time.. there's also an *undefined at the colour temp bit
@tropic depot ok. im just lucky i had a backup, otherwise it'd be a bad day
ill keep an eye on it (im also doing more frequent backups now, just in caase)
hi @ all
Is there a way to set the energy values of the Xiaomi Plugs to 0? I have already reset the plug several times but the energy value remains the same.
Yeah the only annoying part is having to disable zha to run the backup
Understand
hmm.. ever since I upgraded my coordinator and router firmwares and added 3 more routers my zigbee mesh has gone to shit.. some devices no just refuse to reconnect or even to be re-paired. I've tried changing the batteries but that didn't help either. I was hoping for an improvement and not a degradation :/
What coordinator and routers?
I'm using the zzh! coordinator and the current sonoff usb sticks.
So i read a lot of mixed things about the sonoff ZigBee 3.0 dongle. In terms of how many devices it supports.
This is determined by the firmware? So the max mesh i read is 21 directly and 40 mesh. Is this 21x40 total?
50 direct children, 100 normal routes, 200 source routes
You'll hit performance issues before you reach device limits
Curently got 86 Philips hue lights i plan to switch over
Does anyone know if the cosori smart air fryer has a place on Home assistant... ?
apart from the recent NVRAM corruption issue, I've been happy with the Sonoff Zigbee 3.0 Dongle Plus thing
and they are the right price.. ive got a couple spare
Yeah my issue was getting a nother Hue bridge. Already got 2. But not for long.
what are the chances of something like this working properly? https://www.aliexpress.com/item/1005003703086386.html
ive already got a wifi tap thing, but its either off or on.. no inbetween
and it runs on mains power, and drops off the wifi fairly often
so a battery/solar powered zigbee one seems like a good alternative
If it's really Zigbee then good
I mean, it's Tuya, so it's likely to be a pain in the ass, but ... should work
lol
i can ignore the 'hub' i assume
because that would just be some zigbee gateway thing
Yeah
so like $85 to find out if it will work
🤷♂️
ouch, stupid GST... $91.25 total
well, its ordered.. i guess i'll find out if it works... in a few weeks
so being zigbee, it connected directly to ZHA yeah?
i have a tuya wifi fan, and it was kinda a pain, because of issues with the API originally (not all features were supported)
Buy something CC2652 based. This list is a good one, both Tube and Electrolama have been proven to have excellent customer service. The current generation of EZSP sticks (see here for some) are also a good choice for ZHA.
Anything CC2530 or CC2531 based should be avoided - they're old, slow, and only suitable for a dozen or so devices. The Sonoff ZBbridge isn't advised since it uses WiFi (built in interference causing stability/reliability issues), and the HUSBZB-1 uses an older chipset so should be avoided.
Finally, the ConBee range are fine with deCONZ, but experience with ZHA and Zigbee2MQTT appears to be mixed.
Hi everyone - hoping to get a bit of help pairing (repairing) some 4way scene switches and some smart knobs.... Having issues atm, where I initially tried to pair some Moes Smart Knobs with zigbee2mqtt while on v1.18... only to find that I needed v1.25.... however - I've updated to v1.25 now and my 2x 4gang Tuya scene switches no longer work - and I still can't get the Smart Knobs to pair.
Things I done so far include..... updated HA core to latest stable. Reflashed my cc2531 to v20211115.
When I hold the bottom left button to start pairing mode, all four LED start to flash and when I let go they remain flashing - but even though the scene switch is no longer showing in the device list of zigbee2mqtt, a red warning appears saying that that device has left the network!! confusing as I thought it wasn't ON the network yet as it wasn't appearing....
I've even stop the zigbee2mqtt instance, removed it's confiuration.yaml and database.db from the zigbee2mqtt folder in HA. - restarted everything and it's still the same.
HELP!?
Oh - yeah - the scene switches were working fine before I started to try and pair the smart knobs......
@tropic depot did i get this right - the issue discussion got a little bit wild at the end? the fix for the lumi xiaomi plugs was removing the quirck for the EU thing alltogether?
no
there is a mode attribute that needs to be set
fix is confirmed by multiple folks and will be in an upcoming release
haha ok - this is my luck - i always buy the hardware that has just been wrecked 😄 just today got my aqara plug 😄
compared to wifi what are the advantages of zigbee?
You mean, other than the fact that stuff works without relying on some crappy cloud service?
Or the massively longer battery life?
I mean in powered devices
See above about stuff working
e.g smartpugs
If you buy WiFi devices then you're typically either relying on some cloud service and all the pain that brings, or some reverse engineered local API (better hope that doesn't go away with a firmware update)
e.g I am using right now this device but wifi version https://www.daraz.pk/products/tuya-smart-wifi-socket-smart-plug-16a-with-measurement-uk-plug-easy-to-use-i282947103-s1522861418.html?spm=a2a0e.searchlist.list.39.4eaf382fonTiFP&search=1
...UPDATE... So I've striped out the old config (reset to defaults) and just added my MQTT and Serial port details - loads of errors have now gone from the logs - but still no pairing happening.... thoughts anyone....?
