#zigbee-archived

1 messages · Page 187 of 1

tropic depot
#

can you get full debug logs from this happening?

#

please

#

sorry

mellow geode
#

yeah, I'll try to

tropic depot
#

thanks

mellow geode
#

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

austere patio
#

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.

mellow geode
#

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)

austere patio
#

Feel free to just dump the whole thing, I can filter through it

mellow geode
#

sure, one sec

#

sent you the link via pm

tropic depot
#

is ZHA debug on too?

#

or just the libs?

mellow geode
#

Uh

#

homeassistant.components.zha should be set to debug

split spade
#

Can someone recommend a not-completely-horrible zigbee radiator thermostat? The only good ones I know of are DECT ones.

thorny parrot
#

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.

molten linden
# thorny parrot Has anybody here succesfully gotten their Lutron Aurora's to work with home assi...

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.

thorny parrot
#

I have s HUBZSP (spelling is way off I know, I forget off the top of my head but it's a HUB-something)

molten linden
#

yeah that is SI Labs ezsp based.

thorny parrot
#

I didn't try multiple presses while binding - let me give it a shot!

molten linden
#

issue the command to bind it a few times too.

#

you can enable debug logging (zigpy) to see some feedback in the logs.

thorny parrot
#

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.

thorny parrot
molten linden
#

think the main ones are onoff and levelcontrol

sharp granite
#

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.

sour shadow
#

Battery powered sensors aren't polled

serene fractal
#

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

serene fractal
#

I turned them on and then off but the "On" state stays

sour shadow
#

Which Zigbee integration are you using? ZHA, Zigbee2MQTT, deCONZ?

warped cedar
#

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```
gusty pumice
#

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?

sour shadow
#

It's always worth updating the firmware

thorny parrot
gusty pumice
#

Why did the sonoff 3.0 stick add a device called unk_manufacturer unk_model that I can't delete to my network?

sour shadow
#

To ... what network?

#

I'm guessing you're talking about the Zigbee mesh?

gusty pumice
#

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

uneven ruin
gusty pumice
#

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 🤦‍♂️

ebon thorn
#

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?

ebon thorn
austere patio
whole ermine
#

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!

lusty yew
#

Blah, moved the PC with my conbee on it like 5' and now half of my stuff is flaking out.

austere patio
#

Is your Conbee on a USB extension cable?

lusty yew
#

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.

sharp granite
# sour shadow Battery powered sensors aren't polled

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

sour shadow
#

No, sensors report in, they're not polled

lusty yew
#

You may be able to adjust the report rate.

sour shadow
#

Batteries dying quickly come down to:

  1. Crappy hardware design
  2. Interference/weak signal
austere patio
sharp granite
austere patio
#

Which temp sensors?

sharp granite
#

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

austere patio
#

How often is the device reporting its temperature back to ZHA?

sharp granite
lusty yew
#

Jeez, 22eur per sensor?

sharp granite
lusty yew
#

Ah, that's more reasonable. I paid about $5/ea for my door sensors and they all have temperature sensors on them.

sharp granite
sour shadow
#

My Xiaomi temperature sensors are good for 18 to 24 months on a coin cell battery

sharp granite
lusty yew
#

idk what flat cells cost in Ireland but they're on Amazon here for cheap

sharp granite
lusty yew
#

Coin cells are always stupidly overpriced in stores here too. Can get 10 off of Amazon for what two cost in a store.

austere patio
#

I'd gladly replace my Aqara sensors with something that takes rechargeable AAAs. If only it wasn't Tuya...

lusty yew
#

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.

sharp granite
#

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

lusty yew
#

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.

sour shadow
#

The UK as a whole rarely suffers from "too dry". Ireland and the West coast of Scotland are also rarely lacking in rain.

lusty yew
#

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.

old kernel
#

@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

lusty yew
#

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.

austere patio
#

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

old kernel
#

if you have a second stick, you could leave z2m alone and just pair the thermos with ZHA to make sure they work first

lusty yew
#

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.

old kernel
#

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

austere patio
#

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.

hard patrol
lusty yew
#

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.

austere patio
#

Looks like the thermostat doesn't respond

#

Debug logging would confirm

lusty yew
#

I'm wondering if Zigbee2mqtt was replaying messages or something.

austere patio
#

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

lusty yew
#

It reported as an AC powered device to Z2M

#

Though it also reports a battery %

austere patio
#

Maybe it's just a flaky device. Does it have a backup battery?

lusty yew
#

It's got 4 AA's and a 24VAC connection from my HVAC

austere patio
#

I think it would only use those AA's when it loses 24VAC, no? So it's effectively an always-on end device?

lusty yew
#

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

austere patio
#

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

lusty yew
#

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.

austere patio
#

The radio doesn't lie, it's the one deciding not to transmit because it sees too much noise

lusty yew
#

I guess I'll try changing the channel then

#

Hrm, that is going to require repairing everything...

austere patio
#

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?

lusty yew
#

Going to try just changing my wifi to wifi channel 11, it looks like that's furthest from Zigbee's channel 11.

#

Yea

old kernel
#

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

lusty yew
#

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.

old kernel
#

weird

whole ermine
#

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

lusty yew
#

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.

austere patio
#

Only the unreleased -H2

lusty yew
mellow geode
#

worked last time I tried it but is there any reason you need to root your bridge?

lusty yew
#

Curious to see what I can do with it

wind oriole
austere patio
wind oriole
austere patio
#

Which one? The USB stick or the WiFi one?

wind oriole
#

Oh sorry, the wifi one

whole ermine
#

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?

minor stirrup
#

If anyone has successfully updated the firmware on the Sonoff Zigbee USB Dongle please message me

austere patio
minor stirrup
#

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

austere patio
#

If you're using ZHA, make sure to backup the network data on the stick before you flash

jade mirage
#

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

jade mirage
#

another case solved by dumb luck and 6 hours of reading and experimentation.

frank marten
#

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!

frank marten
#

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

wise oyster
#

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?

wise oyster
#

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.

crude otter
#

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

jolly python
#

Aqara

hard patrol
#

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)

obsidian sandalBOT
#

Please use a code share site to share code or logs, for example:

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.

sour shadow
#

Images of text are horrible things, share the actual text and it helps people help you

hard patrol
#

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

civic quarry
#

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

near echo
near echo
civic quarry
near echo
#

ah I don't use ZHA. I kind of assumed you were on Z2M

civic quarry
#

i opened an issue regarding it, it's a CB432 DIN Rail Switch 32A

tropic depot
#

in HA or in the device handler repo?

civic quarry
#

ZHA device handlers

tropic depot
#

give me a few

civic quarry
#

maybe it's not in the right place

tropic depot
#

no it is

#

what coordinator are you using

civic quarry
#

zigate

tropic depot
#

ugh

civic quarry
#

the last model and it's up to date

tropic depot
#

yeah that radio lib is kind of a mess... thats all

civic quarry
#

Not the best one ?

#

what should i use

tropic depot
#

TI and SI are supported the best but this should work

uneven ruin
#

is their a howto for upgrading the zstack firmware on a TI?

tropic depot
#

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

solid inlet
#

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...

jade mirage
#

yes

#

the stick knew the network until you upgraded it

austere patio
#

It may take a couple of tries for routes to be rebuilt

solid inlet
#

ouch. I don't remember having to this last time, but will do then

austere patio
#

You shouldn't have to

#

Z2M should have restored from a backup

solid inlet
austere patio
#

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?

solid inlet
#

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

ripe herald
#

I upgraded to 2022.04.4 and ZHA went belly up and now all zigbee devices are unavailable. Anyone else having the issue?

solid inlet
#

I did upgrade in the same sweep as I upgraded the stick, so possibly...

#

But not using ZHA, so may indeed be another issue

austere patio
solid inlet
#

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?

ripe herald
#

I am using the Poe tube

austere patio
whole ermine
#

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

sour shadow
#

If the add-on doesn't expose an option for that you're probably out of luck

upper saddle
#

Does anyone know if zigbee plugs with power monitoring exist for the swiss plug type (type J plugs)?

civic quarry
#

@tropic depot i have the logs how can i give it to you?

tropic depot
#

dm them to me

serene fractal
#

Since the update to 2022.4 has anyone had issue with lights not displaying the correct state?

#

100% lost on what to do

tropic depot
#

Integration/coordinator? All lights? Groups? Non groups?

serene fractal
#

ZHA
zzh (CC2652R)
All lights

tropic depot
#

will need logs to determine but nothing has changed with znp or anything related to lights

serene fractal
#

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?

obsidian sandalBOT
serene fractal
#

Awesome, here is the errors

ripe herald
#

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

austere patio
serene fractal
#

where is recommend to upload them to?

austere patio
serene fractal
#

Thank you 🙂

austere patio
#

Strange. Have you tried physically unplugging the coordinator (zzh?)?

ripe herald
#

I did not turn on debug yet since I only have my phone at the moment

austere patio
#

Your coordinator is unresponsive to serial commands. How are you running HA? Docker? HA OS? A virtual machine?

ripe herald
#

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

austere patio
#

It can probably interact with the ESP-32 but for some reason the CC2652 isn't responding to serial

ripe herald
#

Had no issues until I upgraded to 2022.4

#

I think it is HA and not the cordinator

austere patio
#

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?

ripe herald
#

I need to restore from backup i guess

austere patio
#

I suspect that it won't help. Try power cycling the PoE coordinator first.

ripe herald
#

I did that as well

#

I can give it a new try

austere patio
#

Leave it unplugged for like 5-10s, sometimes the residual power keeps the chip on for long enough for it to not actually reset

serene fractal
#

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.

austere patio
serene fractal
#

Alright
I will read it through & make sure I do it correctly

Appreciate it

#

Will report back 🙂

austere patio
#

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.

serene fractal
#

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

austere patio
#

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

solid inlet
#

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.

solid inlet
#

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?

ripe herald
#

After upgrading zha_toolkit and several reboots and restarts my devices decided to come back. Touch wood, so far it works agian

solid inlet
#

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...

misty topaz
dim shard
#

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?

tropic depot
unborn orbit
#

Anyone else using the Sonoff Zigbee 3.0 sticks as routers? If so are you experiencing frequent drop offs on the network?

reef aurora
#

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?

unborn orbit
unborn orbit
reef aurora
#

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

plain latch
#

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

unborn orbit
#

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?

lilac wharf
#

Change channel, stop z2m, delete/rename coordinator backup, start z2m

unborn orbit
#

coordinator_backup.json?

lilac wharf
#

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

unborn orbit
#

Thanks, really appreciate the help

reef aurora
regal herald
#

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?

tropic depot
#

Fairly certain aeotec is zwave no?

tropic depot
#

Hrm looks like they are making stuff samjin used to… interesting

regal herald
#

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.

knotty pebble
#

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

unborn orbit
unborn orbit
# unborn orbit For some reason after doing what we've discussed I'm getting hte following error...

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)

unborn orbit
unborn orbit
lilac wharf
#

yeah, some devices will scan for the same panID on every channel when they can't connect on the previous channel

unborn orbit
unborn orbit
#

Anyone know how to reinclude hue bulbs on a new network? Can't seem to get them into pairing mode

hot tendon
obsidian sandalBOT
worthy portal
#

hi

#

there a some error in my log, can i do something to fix this?

cursive bobcat
#

what the hell heppened this night to deconz, everything down

cursive bobcat
#

no idea what happened but vm lost connection to usb, restarted vm and fixed now

gloomy pawn
#

Anybody has recommendation for zigbee smart door lock, wall switches and sockets (EU plug)?

#

I don't want cloud functionality only local use.

whole ermine
#

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?

austere patio
junior reef
#

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.

junior reef
#

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.

novel gyro
#

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

warm umbra
#

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

knotty pebble
#

@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

warm umbra
knotty pebble
#

you're welcome

warm umbra
#

I was trying to add motion sensors as a group but it seems it only shows light entities

sour shadow
#

You don't use Zigbee groups for sensors, no

warm umbra
#

what would be the best way to add motion sensors together so they work as one ? I have multiple aqara motion sensors

sour shadow
#

That'll be on when any member is on

warm umbra
#

I do see that my roller shutters show up for a group in ZHA groups as a button switch

warm umbra
#

I tried that before but it didnt work

gloomy pawn
warm umbra
#

perhaps I did something wrong

warm umbra
#

I also have some cheap ones from aliexpress that work great and have energy monitoring

gloomy pawn
#

Amazon these days doesn't have much options listed. Not sure about other countries, but in my country that is the case.

warm umbra
#

I use amazon DE alot

gloomy pawn
#

I might be able to get stuff imported from other places, but this would cost extra.

warm umbra
#

perhaps try aliexpress ? if you look for items that have high sale numbers and reviews they're ok

gloomy pawn
#

Could you share some links that you have bought? If you don't mind?

warm umbra
#

I got these

#

They connected right away when set in pairing with ZHA

gloomy pawn
#

I have a Tuya smart plug already, but it is the external one, that plugs into already existing non smart socket.

warm umbra
#

and got these for switches

#

yeah the plugs says tuya but work fine just with conbee II and ZHA for me

gloomy pawn
warm umbra
#

oh thats possible

#

I got those from that Moes brand and they show up as Moes in HA

warm umbra
#

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

warm umbra
#

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

gloomy pawn
#

Do they have some indicator lights on them?

#

indicating if they are toggled on or off

warm umbra
#

no not a general light

#

but they have a little LED that lights when you press a button

gloomy pawn
#

I see.

warm umbra
#

on your link you see it under each button

#

a little opening. a green LED indicates a press for mine

gloomy pawn
#

But you have full control on Homeassistant right?

warm umbra
#

if you mean that you can just use it in HA then yeah 🙂

#

give me a sec

gloomy pawn
#

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..

gloomy pawn
#

Ah! This is not exactly what I wanted.. but cool.

warm umbra
#

must have misunderstood sorry 🙂

#

you mean actual rocker switches or how thats called

gloomy pawn
#

yea the regular switch that connect with electric wires

#

but wanted the smart feature

warm umbra
tropic depot
#

those work well

tropic depot
#

you can find them from several companies on Amazon… GE, Aqara, Lutron, etc

gloomy pawn
#

let me see on amazon.. if I can find these..

warm umbra
#

I have many Aqara products and very happy with them

gloomy pawn
#

Can't find on amazon.. perhaps I can order from aliexpress as well

warm umbra
#

aliexpress has all aqara items 😄

gloomy pawn
#

Only problem with aliexpress is shipping time 😓

sour shadow
#

Yeah, but you pay a lot less

warm umbra
#

the shipping time also really depends on the sellers

#

I have had items arrive in a few days

worthy portal
#

Home Assistant 2022.4.5

gloomy pawn
#

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..

sour shadow
#

What coordinator do you have?

#

Assuming you bought one?

gloomy pawn
#

Coordinator?

sour shadow
#

Yes, Zigbee coordinator

#

The radio that talks to the Zigbee devices

gloomy pawn
#

You mean the hub?

sour shadow
#

Normally people buy a USB stick, but ... what is it?

knotty pebble
#

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.

worthy portal
#

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

ocean cloak
#

I'm thinking of migrating from zha to zigbee2mqtt. Any recommended guides or gotchas I should be aware of?

worthy portal
austere patio
#

There's just some device on your network sending malformed data, it's not critical

worthy portal
#

okay

austere patio
#

It'll probably go away next release, ZDO command callbacks will be removed soon

teal iron
#

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...

torpid rock
#

@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?

agile shadow
#

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)

gloomy pivot
#

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

terse crystal
#

hi there...

#

suggestions for a Zigbee USB stick for a new install?

#

whats the go to dongle?

torpid rock
terse crystal
#

ok

#

thats what I was looking at

#

just digging into zigbee support in Australia

torpid rock
#

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.

terse crystal
#

yep

hot tendon
#

The zigbee standards are the same everywhere

ivory hound
hot tendon
ivory hound
#

most sure you are right

#

they deviate

hot tendon
#

not between countries

#

the manufactureres sure

mortal swan
#

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 ?

cursive bobcat
#

Are Ikea shortcut button and air purifier not available to connecti via zigbee (conbee II/deconz)

fair mountain
molten linden
tacit heath
#

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

sour shadow
#

Buy one of Tube's network connected coordinators and place it in the house

fair mountain
ocean cloak
#

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?

twin bridge
#

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

torpid rock
sour shadow
#

16 meters through external walls is going to be a stretch

tacit heath
#

@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.

torpid rock
#

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…

mossy fern
#

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?

austere patio
twin bridge
#

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

austere patio
#

If you ever started up Z2M with your stick, your network is gone

#

Z2M overwrites all of your network settings with its own

twin bridge
#

got it. how do i start over then?

#

my usb stick (sonoff) is unresponsive

austere patio
#

Also, did you make sure to completely remove Z2M before re-enabling ZHA?

twin bridge
#

i uninstalled it as an add-on. are there other steps required to remove? i'm running hassos in a VM

austere patio
#

The debug log would indicate if the serial port is being accessed by multiple applications

twin bridge
#

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

austere patio
#

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

twin bridge
#

i added the logger configuration to configuration.yaml but i can't figure out where to find the debug log

austere patio
#

It's all in /config/home-assistant.log

twin bridge
#

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

austere patio
#

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.

twin bridge
#

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

austere patio
#

That looks normal to me

twin bridge
#

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

austere patio
#

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)

twin bridge
#

that makes sense. so i have to start over then, basically?

austere patio
#

Unless you have an older ZHA debug log available (before you used Z2M), unfortunately yes

twin bridge
#

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

austere patio
mossy fern
ashen coral
#

Hue controller, ikea bulb, Z2M. Can't reproduce.

small kettle
#

Anyone know if IKEA TREDANSEN works with HA?

ashen coral
ashen coral
small kettle
#

I don't have the gateway.

small kettle
#

Nevermind. It works just fine 🙂

true wing
small kettle
true wing
#

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....

small kettle
#

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?

true wing
small kettle
#

Weird

fleet pivot
#

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?

molten linden
#

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

sleek bough
#

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.

fleet pivot
molten linden
#

There should be device automations set up for it as well

fleet pivot
# molten linden 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.

unborn orbit
#

whats the longest usb cable you can use with a coordinator? Tried a 30ft today and nuc couldn't detect it

molten linden
uneven ruin
austere patio
mossy fern
ashen coral
#

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.

hot tendon
pliant vortex
#

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

twilit narwhal
#

Of course the 2 hours is a personal thing, if you have 200 devices that could be way longer.

mighty river
#

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?

neat depot
#

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

austere patio
#

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?

neat depot
#

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

austere patio
#

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

neat depot
#

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.

sour shadow
#

The problem you describe sounds like messages being lost, reducing the concurrency may help that

neat depot
sour shadow
#

QoS isn't going to help

austere patio
#

I think QoS is also entirely controlled by the client, not the broker

neat depot
sour shadow
#

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

neat depot
#

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

sour shadow
#

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

neat depot
grim tree
#

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

grim tree
#
[  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

austere patio
#

Do you have a second computer to test with?

grim tree
#

I don't have a linux one

#

I have a windows one

austere patio
#

Any platform will work

grim tree
#

on Windows, it reports there are no drivers for the device

#

It reports the device though

austere patio
#

It just needs the generic serial port driver for that chip, it'll be a COM port

grim tree
#

It doesn't create a new port

#

will look for the drivers

austere patio
grim tree
#

Okay, installed, seems to be okay

austere patio
#

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

obsidian sandalBOT
austere patio
#

If it runs then your stick works fine

grim tree
#

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?

austere patio
#

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?

grim tree
#

Yep, also working in the homeAssistant docker bash

austere patio
#

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)

grim tree
#

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

austere patio
#

How are you running HA? In Docker?

grim tree
#

yep

#

Tried the zigpy_znp directly in the docker bash

austere patio
#

Does it support hotplugging? Maybe you have to restart.

grim tree
#

it works

#

I have restarted several times

austere patio
#

The exact same library is used by ZHA to communicate with the stick so something somewhere is wrong

grim tree
#

I'll reboot the whole server

#

The funny thing is it was working today

mellow geode
#

is it possible for ZHA/zigpy to force reload the zha_ota folder?

austere patio
#

The /config/home-assistant.log file will contain any errors, even if you're still trying to add the integration

grim tree
#

Until I clicked the "update configuration" button next to the ZHA device

austere patio
#

Nope, looks like 12.

mellow geode
#

yeah, I'll just restart Home Assistant

grim tree
#

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

mellow geode
#

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)

austere patio
mellow geode
#

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

austere patio
#

What does the OTA file's image header look like? Any device type or other restrictions?

mellow geode
#

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

austere patio
#

Hmm, this isn't great manufacturer_id=0, image_type=4630

mellow geode
#

yeah, the devices also all request something completely different than what's in the OTA headers

austere patio
#

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?

mellow geode
#

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(?)

mellow geode
#

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

nova quest
#

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?

raven jewel
#

Is your Zigbee stick correctly configured in whichever integration or add on you are using?

nova quest
#

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?

raven jewel
#

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.

nova quest
#

is an extension cable necessary?

#

I can see the device listed under hardware just fine, and the integration is using the right one.

austere patio
nova quest
#

ok, trying now

thorny parrot
#

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. 🤷‍♂️

stable tide
#

Hey all. I have been having an issue with scenes and I

remote patio
#

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?

stable tide
#

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?

nova quest
raven jewel
#

Glad you got it sorted! Interference is a pain.

tardy kiln
#

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.

tardy kiln
#

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.

shrewd wren
#

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.

glacial gyro
#

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)

civic ferry
#

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?

sour shadow
#

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

civic ferry
#

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

sour shadow
#

What's your coordinator?

civic ferry
#

tho not the zigbee thermostat.

#

sonoff

#

dongle

#

all other connected devices to that works fine

sour shadow
#

Then either:

  1. More than just WiFi broke
  2. It's purely coincidence
civic ferry
#

maybe just try "reconfigure" in z2m?

sour shadow
#

Worth a shot

civic ferry
#

not tried that yet, because im not really sure what it actually does

#

get "are you sure" message 😛

tame storm
#

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.

pliant vortex
lament birch
#

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

mellow geode
#

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

austere patio
#

Though that would make your "fresh install" a clone of the old one

lament birch
ocean cloak
#

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

tropic depot
bronze prism
ocean cloak
#

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

bronze prism
bronze prism
lilac wharf
#

The batteries in the first Hue motion sensor I had lasted 4 years and was triggered multiple times per day

bronze prism
#

they do cost a fortune.. but i heard they are very reliable?

#

anyway.. maybe someone else knows..

ocean cloak
#

Wow actually now that you mention it, all my battery levels are reporting at 100% on z2m

lilac wharf
ocean cloak
#

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?

lilac wharf
#

Battery levels with any battery powered device are a bit of a crapshoot, at least for zigbee ones

ocean cloak
#

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

bronze prism
#

but it sounds like that one particular hue sensor only has disconnect once and not multiple times (yet) ?

ocean cloak
#

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

bronze prism
#

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)

lilac wharf
#

It depends on the device and is sometimes configurable

ocean cloak
#

But yeah what about the fact that at least some of them were reporting as non-100% with ZHA

austere patio
#

What devices? Aqara?

lusty yew
#

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?

bronze prism
ocean cloak
#

Those Hue sensors were all reporting 100% on ZHA too though

austere patio
#

Zigbee devices can report a few battery statistics, including battery voltage and a device-defined battery percentage

ocean cloak
#

from Aqara I have a bunch of motion sensors, vibration, temp

austere patio
#

Aqara only reports voltage and Z2M and ZHA just calculate the percentage differently

lusty yew
austere patio
#

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

bronze prism
lusty yew
#

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

ocean cloak
#

One trick to do that stuff though is to basically put a funnel over a PIR sensor

lusty yew
#

If I had beams I could do stuff like put two up to get the direction people are walking though

ocean cloak
#

Break beam, I think that's what it's called. I think those need to be powered though

austere patio
bronze prism
ocean cloak
bronze prism
#

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?

ocean cloak
austere patio
#

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)

ocean cloak
#

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

austere patio
#

Try swapping out the battery. Mine also have the 5s mod and exhibit the same inconsistent triggering when the battery gets low.

lusty yew
#

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.

ocean cloak
#

I'm not so sure that's the problem. I mean maybe, but the sensors were having problems even when they were new

bronze prism
ocean cloak
bronze prism
#

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

ocean cloak
#

What do you mean working with other devices?

#

As in like hubs?

ocean cloak
#

I've had pretty decent luck with them and they're really cheap

bronze prism
ocean cloak
#

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

bronze prism
#

ah

lusty yew
#

I got a bunch of the Xfinity contact sensors, they seem to work well.

#

I got 30 of them for $150

lapis venture
#

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??

bronze prism
#

have you defined your MQTT server somewhere?

lusty yew
#

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.

lapis venture
hot tendon
#

yes mosquitto

hot tendon
lusty yew
sturdy nest
#

It's propietary I'm pretty sure

lusty yew
#

Ah.i've been having a hard time finding a Zigbee smoke alarm I can actually buy.

lilac wharf
#

You could look for a smoke alarm listener instead

sturdy nest
#

^

#

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

lusty yew
#

Do they require cloud crap?

sturdy nest
#

I think so, unfortunately

#

That's the integration

lapis venture
# hot tendon yes mosquitto

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

tender rose
#

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.

whole flame
#

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?

hot tendon
gloomy dirge
#

anyone succesfully update firmware for tradfri remotes with conbee 2 ?

crude otter
#

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?

crude otter
#

hmm, googling seems to be pointing to 'corrupt nvram'

thick plover
#

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)

crude otter
#

create template sensors to do that?

thick plover
#

i was hoping that wasn't the answer 😄

crude otter
#

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

thick plover
#

No but I found it mucking around in the z2m UI anyway 😄

tropic depot
#

we are starting to track this a bit

crude otter
#

Sonoff 3.0 dongle plus

tropic depot
#

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

spark iron
#

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

sour shadow
#

Do you also have ZHA or deCONZ configured?

#

That error says that something else is using the stick

spark iron
#

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

sour shadow
#

Well, for ZHA check the Integrations menu

#

For deCONZ check your add-ons

spark iron
#

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

mighty river
#

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!

sour shadow
#

You may need to tell it to use core-mosquitto instead of the IP

spark iron
#

omg thank you so much finally

tropic depot
#

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

tropic depot
#

and maybe in advanced mode there could be a toggle to ignore the check... 🤷‍♂️

sour shadow
tropic depot
#

Yeah we may have to look at port access to get it right

novel sun
#

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.

austere patio
#

That sounds like ZHA. Can you post the errors? What hardware are you running HA on? What installation method?

novel sun
#

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.

austere patio
#

If you're concurrently trying to ZHA and deCONZ, neither will work

obsidian sandalBOT
novel sun
#

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 😉

sour shadow
#

That error is from ZHA

#

Don't use both ZHA and deCONZ

novel sun
#

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.

sour shadow
#

Personally I'd suggest the right way is ZHA rather than deCONZ 😛

novel sun
#

just searched for "deconnz" in the integrations and thats there as well

sour shadow
#

Yeah, that connects HA to the deCONZ software

novel sun
#

ok, then I am confused, I was under the impression that the deCONZ container is a MUST have to get this going.

sour shadow
#

Nope

novel sun
#

from what I understand what you are saying is, that it is not?

sour shadow
#

Correct

#

ZHA is IMO a better choice than deCONZ, and works just fine with the ConBee

austere patio
#

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.

novel sun
#

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?

sour shadow
#

Well, the HA part doesn't change

#

You'd not want to use deCONZ for any logic anyway

novel sun
#

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.

austere patio
#

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.

novel sun
#

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?

austere patio
#

It downloads everything on its own from IKEA's update server

novel sun
#

nice.

#

and the integration now "just works" as it seems, so thanks again for the help

austere patio
#

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.

novel sun
#

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?

austere patio
#

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.

novel sun
#

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

austere patio
#

You only have to do it once to reboot them (off, wait 2s, on)

novel sun
#

oh?

austere patio
#

They then announce themselves on the network (since the stick stores the network settings) and ZHA thinks the device just joined

novel sun
#

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?

keen ruin
#

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!

novel sun
#

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

jolly python
#

Zha is for using an zigbee stick

#

If you want connect a hue bridge to home assistant then you should use the hue integration

novel sun
#

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.

novel sun
#

HA seems ... complicated in that regard

sour shadow
#

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

novel sun
#

I will have a look at all this, thanks

sour shadow
#

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

novel sun
#

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...

jolly python
#

Which model

novel sun
#

OSRAM

jolly python
#

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

sour shadow
#

OSRAM ... yeah ... just say blobcsignno

novel sun
#

yeah already had some I threw away

#

same with bulps I bought, the stuff does not seem, well the best

sour shadow
#

It's probably slightly worse than Tuya, and about on a par with Sonoff

novel sun
#

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) 🙂

sour shadow
#

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

sullen hull
#

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)

sour shadow
#

Try using the IP of the host, not 127.0.0.1

sullen hull
#

i give it a try

sullen hull
sullen hull
#

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

sour shadow
#

The latest version of the add-on changed a bunch of stuff

crude otter
tropic depot
#

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

bronze prism
#

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

crude otter
#

@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)

tropic depot
#

we're working on ways to automate this too

#

no ETA but it is on the list

neat depot
#

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.

crude otter
tropic depot
#

Understand

remote patio
#

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 :/

unborn orbit
remote patio
#

I'm using the zzh! coordinator and the current sonoff usb sticks.

sullen hull
#

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?

sour shadow
#

50 direct children, 100 normal routes, 200 source routes

#

You'll hit performance issues before you reach device limits

sullen hull
#

Curently got 86 Philips hue lights i plan to switch over

nocturne geyser
#

Does anyone know if the cosori smart air fryer has a place on Home assistant... ?

sour shadow
#

Is that Zigbee connected?

crude otter
#

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

sullen hull
#

Yeah my issue was getting a nother Hue bridge. Already got 2. But not for long.

crude otter
#

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

sour shadow
#

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

crude otter
#

lol

#

i can ignore the 'hub' i assume

#

because that would just be some zigbee gateway thing

sour shadow
#

Yeah

crude otter
#

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)

leaden grotto
#

which network based CC2652 devices are recommended?

obsidian sandalBOT
#

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.

scenic shuttle
#

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......

polar helm
#

@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?

tropic depot
#

no

#

there is a mode attribute that needs to be set

#

fix is confirmed by multiple folks and will be in an upcoming release

polar helm
#

haha ok - this is my luck - i always buy the hardware that has just been wrecked 😄 just today got my aqara plug 😄

tropic depot
#

it's working now

#

just needs a new quirks release

leaden grotto
#

compared to wifi what are the advantages of zigbee?

sour shadow
#

You mean, other than the fact that stuff works without relying on some crappy cloud service?

#

Or the massively longer battery life?

leaden grotto
sour shadow
#

See above about stuff working

leaden grotto
#

e.g smartpugs

sour shadow
#

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)

sour shadow
#

Ah, Tuya

leaden grotto
#

using localtuya

#

had to use what is available in local market.

scenic shuttle