#zigbee-archived

1 messages · Page 103 of 1

golden vessel
#

that's probably comunication issues

radiant pawn
#

can you expand on that a bit

golden vessel
#

it is probably loosing some messages

#

it does not get all the states from devices

radiant pawn
#

even though it actually triggered the devices to turn on?

golden vessel
#

yep

radiant pawn
#

is there some kind of message back to the controller

sour shadow
#

Sure, messages get lost all the time

radiant pawn
#

and thats getting lost?

golden vessel
#

speacially if you used group messages, since those are broadcasted

sour shadow
#

The coordinator sends a turn on message and waits for a response to say it was done

#

If the response gets lost, it doesn't know it happened

golden vessel
#

so...
-which stick?
-are you using an USB extension?
-is it connected to a usb 3.0 port?

opal chasm
#

hi, is there a way to enable debug logging(like when you click add device) at runtime?

golden vessel
#

for groups, I'm not even sure it waits for a response

radiant pawn
#
  • conbee2, connected to a USB extension cable to a USB 2.0 port
golden vessel
#

perfect

radiant pawn
#

my LQI is 255

#

for all devices in the group

opal chasm
#

i am currently debugging connection drops and unresponsive devices for a conbee2 on a rpi4.

golden vessel
opal chasm
#

(conbee2 has latest FW, 2x 2M USB 2.0 Extension, away from the pi)

golden vessel
#

2 extensions? 4m?

#

that is a bit too much 😄

sour shadow
opal chasm
#

actually might just be

#

thanks Tinkerer

golden vessel
#

should be fine... I think USB only starts to have issues > 5m

opal chasm
#

let me drop one

sour shadow
#

Depends on the quality of the cables...

opal chasm
#

the second was was a test

radiant pawn
#

any other tips to improve my network to prevent packet loss?

#

does zha vs deconz vs Z2M matter here?

dry fossil
#

Only if you want to join the Z2M master race.

#

The protocol is still the same for all three. What differs is how you get HA to talk to it.

radiant pawn
#

any difference in latency?

#

i notice i have a small delay at the moment with a zha group

sour shadow
#

Nope

#

And an LQI of 255 usually means that there's no information

radiant pawn
#

oh

sour shadow
#

255 would be a perfect signal 😉

golden vessel
#

maybe you have some device "eating" messages

radiant pawn
#

is there any add-on you guys use to see signal info in one place. or a better visualization tool than the one that comes with zha natively

sour shadow
#

Well, the graph should give you it?

#

I use Z2M, where I get all the info in the UI natively 🤷

#

Of course, I also pull it all into HA, for ... reasons

opal chasm
#

zha now has zha_map natively?

radiant pawn
#

yea it does

sour shadow
#

It's had it for a while, longer than Z2M has had a UI ISTR

opal chasm
#

since when?

radiant pawn
#

year or so

opal chasm
#

huh

#

should i drop the zha_map custom component then?

junior meteor
opal chasm
#

huh

#

i restarted HA now for the logger changes, since i did not have the set_level service

#

part of my problem might be bad routing in the mesh

radiant pawn
#

another oddity i noticed about zha groups

#

i have two entities available, light.xxxgroup and switch.xxxgroup

#

why is that?

#

for other groups, only the switch shows up as an entity

opal chasm
#

i seem to have one mains powered device which resets frequently needing a repairing :/

#

"TXStatus.NWK_ROUTE_DISCOVERY_FAILED" and "TXStatus.MAC_CHANNEL_ACCESS_FAILUR"

#

"TXStatus.MAC_CHANNEL_ACCESS_FAILURE"

austere patio
#

MAC_CHANNEL_ACCESS_FAILURE is very not good

#

That means that the radio says that there is too much interference to even attempt sending a packet

opal chasm
#

oh.

#

wow

austere patio
#

Are you using an extension cable and keeping the USB stick away from other RF noisy devices?

opal chasm
#

i moved it over 1,5m now its "nearer" to the rpi but hanging of the sloped ceiling without any contact vs directly against the wall

#

2M, and i recon there should not be too much in that area

#

but heck now it works nicely

#

even the way further located wall switch paired directly

radiant pawn
#

would a google wifi router count as a "RF noisy device"?

whole crown
#

Anyone know if it is possible to run ZHA and Z2M side by side (using two Zigbee sticks)?

opal chasm
#

haha i accidentially even switched usb cables.... i had a bit of tape sticking to the plug to secure it to the wallclock(which is only active on DCF77 and more plasticy than anything else)

#

wifi/BT would in theory being the most offending thing as they send close to the Zigbee channels and on relatively high power levels

sour shadow
#

Well, 2.4 GHz WiFi

austere patio
opal chasm
#

yea 5Ghz not 😄

radiant pawn
#

well crap

#

my pi is hooked directly to that router

#

how are people getting around this

opal chasm
#

extensioncord 🙂

#

longer cable?

#

longer cable=network

austere patio
#

Directly to the router? Are you powering it off of a router USB port?

radiant pawn
#

its hooked directly to the router's ethernet port

opal chasm
#

what i now ask myself.... might it be the amazon bought extension cable which was part of the problem?

#

this warrants debugging tomorrow

austere patio
#

Being on the same network isn't an issue, it's the physical proximity

opal chasm
#

thanks puddly

austere patio
#

Just move the pi or the radio via a usb extension cable somewhere else

radiant pawn
#

how far away from the router is recommended?

#

i currently have it on a 2m apple extension usb cable

austere patio
#

That should be fine. As long as you're not getting errors like MAC_CHANNEL_ACCESS_FAILURE you're probably not being seriously affected by RF interference

radiant pawn
#

i am getting pretty low LSI values for my zigbee network

#

and some lost packets

#

wondering if that could be related

austere patio
#

Is this also with a Conbee?

radiant pawn
#

yea

austere patio
#

Low LQI isn't that big of a deal. If you want to debug it try looking at the error that caused the requests to fail

sour shadow
#

I've got devices with an LQI around 20 without issues

opal chasm
#

mh... the previous cable went throu the back cablechaos of my desk... lots of power, usb3.0, PSUs and other stuff in there

#

but then could this explain the radios complaining about not being able to send stuff?

grave dome
#

Hello there! Got some Zigbee issues :p

obsidian sandalBOT
#

Don't ask to ask, just ask your question. Then people can answer when they're around.

When you do ask a question, try to provide as much background detail as possible. Ask yourself these questions first so that others don't have to:

  1. What version of the Home Assistant are you running? (remember, last isn't a version)
  2. What exactly are you trying to do that won't work?
  3. Is the problem uniform or erratic?
  4. What's the exact error message?
  5. When did it arise?
  6. What exactly don't you "get"?
  7. Can you share sample code, ideally with line errors where the error occurs?
grave dome
#

Trying to send a screenshot but for some reason Discord is acting strange

#

Anyway! I've got a SonOff bridge, flashed with Tasmota, and one basic Aqara switch paired

#

The switch only shows up in the Tasmota WebUI and not in HomeAssistant

sour shadow
#

You can't post images here, because too many idiots share code as images if it's allowed 😉

grave dome
#

derp

obsidian sandalBOT
#

Please use imgur or other image sharing web sites, and share the link here.

violet dagger
#

There is no discovery for Tasmota Zigbee devices

obsidian sandalBOT
grave dome
sour shadow
#

Time to manually create those entities

grave dome
#

Oh! So that's the part I'm missing then, not bad

violet dagger
#

yup, documented too 😄

grave dome
sour shadow
#

The downside of using a massively cutdown port of Z2M 😉

grave dome
#

Wait, that's the Tasmota side, not HA

golden vessel
#

you can use that sonoff with ZHA, right?

sour shadow
#

They document what's supported 😉

grave dome
#

The end goal is to have it show up in node-red and have fun with that, eg different actions according to the time of day etc

#

I paired the switch here using the Tasmota cmd line (ZbPermitJoin 1) though

golden vessel
#

I have no clue what that does, though. I don't know what tasmota has for zigbee.

grave dome
#

I don't think that Sonoff bridge is natively supported by HA to begin with, it needs Tasmota to work with ZHA

#

Trying discovery from within the HA WebUI, it seems to fail

grave dome
#

(Note! This first have to be flashed)

golden vessel
#

Since you are running Tasmota, you have flashed it

austere patio
#

The screenshot shows that it's an EZSP coordinator, this is just using Tasmota as a serial-over-TCP bridge, right?

grave dome
#

I think that's indeed the case

grave dome
#

Full reset of the bridge, flashed the .ota again and issued the commands as seen on the Digiblur page

#

Turns out the Aqara switches are just a bit finicky (also one can't read the battery state for some reason, it's a two gang variant)

golden vessel
#

It should update battery eventually

grave dome
violet dagger
#

that's not a switch, that's a remote

#

zha events blah blah

lilac wharf
#

Remotes/buttons don't show as entities in ZHA

#

Event trigger with zha_event or a Device™️ trigger if compatible

grave dome
#

Ho, okay! Sorry, it's apparent I still have a lot of reading to do

#

Success, triggers work as expected with regular automation

#

Will have to explore more (node-red stuff) later on

#

Thanks for the support!

grave dome
#

Note: had to try 6 or 7 times to pair one of the Aqara switches, but now that it's done, it seems to be reliable

golden vessel
#

was it failing to pair, or not showing up at all?

austere patio
#

Wasn't the Xiaomi fast joining stuff released recently?

golden vessel
#

yes, but not all xiaomi devices use it

#

and I think those remotes don't need it

grave dome
#

Not showing up at all

mellow geode
#

Does anyone know if there are any EU outdoor plugs (apart from the OSRAM/LEDVANCE plug)?

mellow geode
#

Also, is it "easy" to downgrade a Zigbee device (with ZHA/zigpy)?

#

In theory, I should be able to just remove the check?

mellow geode
#

Well, trying to test different firmware on OSRAM devices

austere patio
#

Yeah just disable the check. Not sure if the most recent version of zigpy is in stable HA but it is in the ota module

#

And then just use the file provider. Make sure to keep only one valid image per device, otherwise only the highest version will be used

mellow geode
#

Yep, will try

mellow geode
#

Might be a stupid question, but what's the simplest way to read the OTA header of an OTA file?

austere patio
#

Parse the image and look at the .header property

#

Something like this: ```Python
import pathlib
from zigpy.ota.image import parse_ota_image

data = pathlib.Path('/path/to/image.ota').read_bytes()
image, remaining = parse_ota_image(data)
assert not remaining

print(image.header)

mellow geode
#

Ah, thanks! Was trying something along those lines, but wasn't quite there yet

austere patio
#

Most common objects should have needlessly verbose string representations so you should be able to just look at image and it'll dump everything

amber gull
#

Just popping in to say ZZH migration was totally flawless -- didn't lose a single node or have any hiccups at all, completely seamless

#

Also selling 31 ecosmart bulbs to some poor guy in Iowa, so that chapter of my life is no more 😂

mellow geode
#

I should do that with all my OSRAM stuff

#

Also, who would run something like this on Windows (C:\OtaProject\Firmware.UI\Views\VisualFirmware\ListFirmwares.cshtml)

#

Oh well

austere patio
#

Looks to be very broken. I should start saving these just in case.

mellow geode
austere patio
#

Ah nice

amber gull
#

technically it's still in beta guys, so don't be hating 😆 X-SITE-DEPLOYMENT-ID firmwareapi-beta

mellow geode
#

For some OSRAM devices, there's even newer firmware available here: http://s3-eu-west-1.amazonaws.com/lightify-osram-firmware/
However, it's all in an encrypted format. I should probably just put some (IKEA) smart plugs in some plastic housings and then put them outside.
I do need some proper RGBW controllers though. The Gledopto Pro controllers (their Zigbee 3.0 series) finally ask for OTAs, but with image_id=0 and manufacturer_id=0. (The "support" never responded to a single request).
On the current "1.0.0" firmware, literally all transition stuff is broken (but I guess the last released firmware for the OSRAM Gardenpole controller also dates back to 2017..)

austere patio
#

OTA_CLA60_RGBW_MasterKey_01020307_110C_encrypt_key.bin and NAFTA_ZHA_A19_TW_01020427_encrypt_key.bin look interesting

mellow geode
#

Mhm, interesting. They are identical. So I guess every "decryption key" (?) for the OTAs is the same

molten linden
#

the ewelink bulbs don't even have an OTA cluster... so forget about FW updates 🤦‍♂️

austere patio
#

There are a bunch of non-encrypted firmwares in there

#

pip install awscli and aws --no-sign-request --region=eu-west-1 s3 sync s3://lightify-osram-firmware/firmware/release/OTA_image_file lightify-firmwares

pallid gazelle
#

Hi, I am new to zigbee network. currently i am using zzh cc26xx as coordinator, multiple aqara siwtches as router, more than 30 end devices.

my devices go unavailable by randomly pick at certain time. same issue with be happen on different devices too. the issue only get resolved temporarily by repairing it. any thoughts?

i found out zigbee connectivity in xiaomi hub having more stability. any reason why?

molten linden
#

see the pinned post for xiaomi devices, they are picky about the routers they use. (some just don't get a long).

pallid gazelle
#

should i change the aqara switches to end devices and deploy other compatible router?

mellow geode
#

The encrypted NAFTA_ZHA_A19_RGBW files are kind of "funny": all of the "showcase" firmwares for different stores and "NO_OVERTEMPPROTECT" firmware (mostly firmware/release/Cloud/copy_from_US_server)

mellow geode
#

Or only the Aqara switches?

#

(Are they "no neutral" switches ("end device firmware") or powered by both LINE and NEUTRAL (so come with "router firmware")?

pallid gazelle
mellow geode
#

Yep, that's why I was asking

#

Not sure why your devices keep dropping off then.

#

Aqara routers and Aqara sensors should work fine

pallid gazelle
limpid tinsel
#

the deCONZ integration isn't discovered automatically anymore, any idea what to do about that? I can't add it...

sour shadow
#

You can manually add deCONZ by going to the integrations page.
Does that not work?

limpid tinsel
#

well what i have to put in there?

#

127.0.0.1 for host?

#

default port 80?

#

i use the official deconz addon

sour shadow
#

I doubt it's 127.0.0.1, but you could try it - I'd personally suggest the IP of the HA host

limpid tinsel
#

gateway is opened, and its not visible under ignored integrations

#

ok let me try with the local ip

#

it still says "can't get an API key"

sour shadow
#

Did you generate one?

limpid tinsel
#

i opened the gateway to let the integration get its API key

#

thats the way it should work imho

#

before it found the integration many times automatically...

#

do i have to use another IP or port?

sour shadow
#

I don't use deCONZ, but I'm sure somebody who does will be along eventually

limpid tinsel
#

hope so

sour shadow
#

There's also the deCONZ Discord though 😉

limpid tinsel
#

deconz/phoscon works... its just the HA integration

sour shadow
#

And they have a channel there for HA 😉

limpid tinsel
#

xD

verbal shale
#

please

elder tinsel
#

@sour shadow @jolly narwhal this seems to be good and 26E dollars whatever that is ....do i need to get a pi3b ready or add a docker to I7 nuc

#

yall ops will that work?

#

especially for xiaomi ....i was using the gateways but that is broken in latest release from what i can tell

sour shadow
#

NUC for the USB stick, Pi for a HAT

elder tinsel
sour shadow
#

That'll work in whatever you want

#

I'd personally spin up Docker on the NUC if it's at all sensibly located

elder tinsel
#

in midlle of house but sorrounded by audio equipment and speakers ...but not many other places

#

i have speakers and amps everywhere

sour shadow
#

Stick it on a USB extension cable and you'll be as good as you can get - as long as you run that cable somewhere other than right next to a bunch of other cables 😄

elder tinsel
#

too bad cant use ap's to bring signal in ... i have them everywhere

#

got another one about same distance from radio and simular rssi and it has stayed connected

#

and by LOS it shoots thru a unif ap

sour shadow
#

LQI 255 generally means I have no idea

#

255 would be a perfect link, which is unlikely

elder tinsel
#

hmm didnt know what that meant this is the one staying connected

#

all of mine have LQI of 255

#

hue motion and every xoiami device

#

and some plugs levdance or what ever there name is

sour shadow
#

Weird... wonder what ZHA is doing then 🤷

elder tinsel
#

i have no clue

cosmic shoal
#

I am moving my question to this channel as it may suit the question better:

I am slowly replacing our ordinary light bulbs with smart light, but I am faced with a conundrum which I would like your take on.

The current light switches installed in our walls cut off the power supply to our lights rendering the smart functionality in the lights useless. I have considered to replace our switches in the house with smart contacts so they don't cut off the power to lights but simply sends a signal to the lights that they needs to be toggled. I am a bit hesitant on that solution, because it means I need to rely 100% on my smart solution. If my raspberry pi (host of my HA installation) goes down, I will not be able to control the lights in my house anymore

How are you tackling this? I know a solution is to use both a smart switch and a physical switch but that I believe is a bit messy and visitors would surely mess it up. I am currently using IKEA lightbulbs and the bulbs are right now mechanically toggled from a light switch mounted in the wall where wiring is hidden behind the wall, so the use of smart sockets is not an option. E.g. example of a mechanical switch in our house: https://imgur.com/tJRUla3

sour shadow
jolly narwhal
#

My lqis are 18-81

#

Noice

molten linden
#

@cosmic shoal I use Shelly’s with esphome on them in a few spots. If the bulb is available in HA the switch toggles the smart bulb through HA if Its unavailable it will trigger the relay.

dry fossil
#

1881? Your year of birth?

jolly narwhal
orchid zinc
#

Hi, I am trying to pair 3 philips hue bulbs to my setup (HA + conbee II on deconz) but phoscon cannot find the bulbs, I have resetted them using the Echo Plus but still they cannot be found. can you please help me out?

violet dagger
#

and now you know why smart bulbs are worse than smart switches

jolly narwhal
#

Not when you have a proper system

#

I haven't had a single pairing issue since moving to zigbee2mqtt and cc1352

dry fossil
#

I assumed blakadder was replying to Pingo.

jolly narwhal
#

But I was replying to the Croat CatBoppin

dry fossil
#

John o'Croats

orchid zinc
#

I am awaiting the sonoff's, 😄 calm down 😛 i will see if I can reset them with a dimmer.

robust gazelle
molten linden
#

I just check if it is on or off and if not one of those fire the relay. I have a gist with the code I’ll dig it up

thorn cobalt
#

If i would like to run deconz on a windows 10 server could it be connected to home assistant?

#

Got my answer already 🙂

golden vessel
thorn cobalt
#

@golden vessel Nothing special 🙂 turns out i needed to wait a little longer

keen crest
#

So I enabled debug logging for zigbee to try to track down what's going on (I have a lamp with a zigbee bulb that has in the past week begun turning on at random times during the night for no apparent reason)

#

I don't understand what's sending the message.

austere patio
#

Can you get 2021-01-03 03:48:00 until 2021-01-03 03:50:00?

keen crest
#

Sure. There's no event I can see that has triggered it, but I will paste

austere patio
#

More context is better so if you don't mind posting the entire log, that would be easier

#

This page is no longer available. It has either expired, been removed by its creator, or removed by one of the Pastebin staff.

keen crest
#

-_-

#

It doesn't seem to like me pasting that much? Just tried a new paste and got the same when I went to it myself.

obsidian sandalBOT
keen crest
#

that works, thanks

#

oh much nicer formatting too

austere patio
#

Not directly related, but Ubuntu paste is really annoying sometimes because the "download as text" link is behind a login for some reason

#

Yeah, devices 0x3741, 0xcfe1, and 0x5bb6 just report that they turned on

#

Usually if they were physically powered off and then back on (and turned on by default after power loss), they would announce themselves on the network first

keen crest
#

In the logbook, it just says "turned on" as opposed to any instances in which they are manually turned on ("by username") or triggered by an automation

austere patio
#

Yeah, the coordinator is subscribed to receive attribute reports when the on_off attribute changes. It changes but not as a result of anything done by ZHA.

#

Do you have these lights bound to some other device (a remote)?

keen crest
#

What's interesting is you say 3 devices are turning on but there's only one I'm seeing actually turn on

austere patio
#

What brand are these bulbs?

keen crest
#

Lightify

austere patio
#

They could also currently be on and the bulb firmware just reports any on_off change, even if it doesn't actually change

keen crest
#

That could be. There would be two other bulbs on at that time, on the left and right of the front door outside

#

This bulb isn't bound to a remote, but there is a pico remote that has an automation that can affect it

#

But those show the automation name in the logbook when used

#

other than that, it's also part of a couple light groups but that shouldn't impact things

surreal rune
#

I'm now just finished moved my HA to HA Blue with Conbee II , it's works perfectly and no more issue with it as I'm mentioned before..

jolly narwhal
#

Skipping layers of virtualization will do that

austere patio
#

Looks like you're not the only one affected by this according to Google, though it's hard to tell if other people have the same root cause and not some broken automation in their respective home automation platform

keen crest
#

I'll give that a shot. Worst case maybe if I remove and readd the bulb the issue will resolve itself

#

Thankfully it's an office table lamp downstairs. It'd create more consternation if it were the lamp in the kid's room at night :)

#

3:49am, TIME TO WAKEY!

golden vessel
#

In zha-ng/EZSP-Firmware repo, what does "DCDC bypass" mean?

golden vessel
drifting sleet
#

Hello again. One quick question: should the coordinator (using the zha integration) have a device type set? I'm using a PiZiGate and it's showing "unknown" in the device settings..

drifting sleet
#

Can maybe someone with a "Raspbee" (this deConz stuff 😄 ) check this in HA?

robust gazelle
mellow geode
austere patio
#

Anyone using Ecosmart/Consciot/Leedarson bulbs have any issues turning them on at 1% brightness?

#

For some reason mine "warm up" for like 10s (or refuse to turn on). Maybe this is why the IKEA ones jump up to 10% and then back down to 1%...

drifting sleet
sharp mango
strange ibex
#

I would just look through the z2m supported devices or whatever you're using

#

hrmm, I am not seeing anything great. It might need some diy love

whole crown
golden vessel
#

New version is looking great!

amber gull
#

Thanks Samantha, looks amaze balls

strange ibex
#

you aren't walthowd by chance, are you, lol

#

@amber gull If you hare walthowd, I was reading through some stuff trying to understand things and have a couple of questions. sorry to ping if you are them or not 😛

#

might just be a weird coincidence, haha. I was reading the github stuff and looked over

amber gull
#

Yes, that’s me

strange ibex
#

Welp, that is a weird coincidence indeed. I have been reading through the z2m stuff tonight trying to sort an issue. I came across the PR where you added firmwares for sengled devices.

#

It seems my device is enabled somewhere as a device that can be updated via OTA but the firmware (image type) isn't in the json. The result is thousands and thousands of errors in my logs 😛

#

Are you still set up to get firmware updates? I don't have a bridge :/

amber gull
#

Yes, I still have the bridge. What is the reported model ID of the device?

strange ibex
#

E12-N1E

#

I am pretty sure this device is the culprit.

#

I have 10 of them

#

It has to be.

amber gull
#

The way the process works, you have to add the model ID to your bridge with a old firmware and then it will give you an endpoint to download

#

Pretty sure I tried E12-N1E but I can look again when I get some time tomorrow

strange ibex
#

I don't have a bridge myself so that would be great. I'd definitely appreciate it.

amber gull
#

Yeah, it's in the list there on the first PR -- but I'll give it a shot again and see if anything new is available

strange ibex
#

Either that or something needs done on the z2m side to not make my device try to OTA over and over

#

Thanks!

amber gull
strange ibex
#

I was reading through that file but didn't fully understand it. Assuming they treat semvar correctly, it would mean there are no updates, eh. I'll have to find the part in z2m that tells my device it is OTA compatible

#

well, I think I actually did find that. They loop through the docs or something, lol. Maybe not

amber gull
#

Some of the models share firmware

strange ibex
#

well, it just needs to fail nicer. the assert() they have is in like a helper that is spamming the logger

#

wouldn't be an issue if it failed silently

#

Thanks for everything. Let me know how it goes if you find time tomorrow.

amber gull
#

I'll ping you tomorrow if I see anything different

strange ibex
#

yeah, it's a recessed light. I guess not a lot of users.

zinc bane
#

I am trying to understand a function of how Zigbee (ZHA) works with groups. I have most of my lights assigned to groups that works 99% of the time. Sometimes I notice one light is not reporting its correct state in HA (or is unresponsive)

But I can turn it ON/OFF as part of a group. If I try to singularly toggle it, it is unresponsive.

How is this light getting its commands ?

zinc bane
mellow geode
#

Does someone here use Blitzwolf plugs by any chance? If yes, how "good" are they at being a router? (OSRAM plugs are bad...) (Do Aqara sensors drop off for example?)

austere patio
# zinc bane yes, all of them

There's an apparent firmware bug with IKEA bulbs that causes them to lock up like this but due to unknown circumstances. The next time it happens try physically power cycling the bulb. If it starts accepting unicast requests after this, then you're experiencing this same bug, unfortunately.

mighty river
#

Quick update regarding my connection issues:
The 2nd bulb (different type, but also Hue) had been installed a few days ago - and is working fine.
So, it really looks like the close proximity of the two Hue color bulbs was causing issues.

Weird, but that's the only explanation I can come up with.

zinc bane
hexed pilot
#

I am starting with zigbee on HA and have baught a Conbee II. I would use it for Philips Hue and Xiaomi Mija sensor, which system would you recommend for this: ZHA / DeconZ or Zigbee2MQTT ?

sour shadow
#

See the pinned message about the options

#

The TL/DR:
zha if you want things fully integrated in HA
Zigbee2MQTT if you don't
deCONZ if you have a reason to use deCONZ

dry fossil
#

deCONZ if you're a masochist 😄

hexed pilot
#

I've read the pinned one... but all seem to be compatible... And for all I also read issues online.
So that was why I was asking for my device types...

#

So ZHA would be the preferred ?

sour shadow
#

That's your choice 😉

#

Those device you mention work with all three, equally well (or badly)

#

I run Zigbee2MQTT, got no issues with Xiaomi or Hue, or other things

hexed pilot
#

Advantage of Zigbee2MQTT would be separate device possible...
But is the Conbee II already 'production ready' for zigbee2MQTT ?

sour shadow
#

I know folks who use it without trouble so YMMV

sturdy spindle
sour shadow
#

Depends on your install method for HA

sturdy spindle
#

i'm running on a raspberry pi

#

with 32 bit image

sour shadow
#

That guide won't work for you, but the folks over there should have details on how you do that

sturdy spindle
#

define "over there" for the stupid man (me)

#

?

lilac wharf
golden vessel
#

I'm curious, why all the "love" for deConz around here? 😄

amber gull
#

We lost our acerbic zealot Minimiimix -- Robban does a great job with the addon, we just don't have many heavy users here

#

Seems like there have been a few quality issues with the firmware and software releases in 2020, but I don't use it first hand and can't comment on how severe they were -- I think in general people tend to blame problems with their zigbee network on the coordinator

#

...when in reality it's a network level issue with their routers, buggy devices, etc

golden vessel
#

"acerbic zealot" 😆

amber gull
golden vessel
amber gull
#

It's on the zigpy discussion because Hedda -- he likes to post all zigbee information to all possible zigbee repos

#

But if you follow the links you can see that manup is soliciting feedback for a complete redesign of all the deconz components

golden vessel
#

yes I noticed

#

I hope then don't add a third UI.... 😄

amber gull
#

Would be nice if they made more of the code publicly available -- it's a bit of a black box at the moment

#

To be honest, the existing deCONZ core, firmware and GUI won't be open sourced any time soon and will be kept restricted to dresden elektronik hardware. For the company there is currently no benefit to support 3rd party Zigbee modules since we only charge for the hardware. It is of course always possible to write a new core, after all the REST-API is just a plugin which implements a rather simple interface. I hope this is understandable, the commercial aspect here is tricky to keep everything running.

#

Also seems to have stalled, not much activity since summer 2020 -- unless they moved elsewhere

golden vessel
#

Yeah, it being a black box was part of what made me move from it a couple years ago

humble crescent
#

Hello, funny you should talk about deconz since it just broke for me after trying to update my docker container. Anywho, i just switched to ZHA, and i'm trying to figure out if there is any hack/way of "importing" my old mesh-net. Pretty much all of my IKEA-stuff (those that are near my conbee2) showed up immediately in ZHA/HA. I'm wondering if there is anyway of "tricking" the rest of the nodes to joining/repairing/showing up without having to manually repair all of them.

#

Some lights just needed a power cycle to be detected for instance

amber gull
#

No supported method @humble crescent -- If you can get your devices to issue a ZDO announce, ZHA should pick them up though

#

How to do that is device specific though -- power cycling your mains stuff is a good start, maybe remove and reinsert batteries in sensors

#

Probably not all devices will come over seamlessly, some may have to be rejoined

humble crescent
#

is that something that could help discover things?

#

hm but reading what you said about "no supported method" im guessing someone would have thought about my glorious google search :/

amber gull
#

That is most referencing ZDO mgmtlqi -- no supported methods in the protocol that I'm aware of to remotely trigger a ZDO announce -- supposed to be handled locally on the device by it's own stack

#

I would just play around with it -- try batteries reinsert for one sensor type, try batteries out for max end device aging time for another (1 hour?), then re-insert

humble crescent
#

Right, yeah that sounds like a reasonable idea, should work for the majority of the stuff atleast

#

i've got a couple of aqara sensors and door sensors that are a pita to get to so i'm trying to avoid getting a ladder

#

and they are attached by tape etc.. so i cant access the battery without tearing them down etc. God damn, shouldnt have touched the deconz container to begin with 😛

#

While i'm here bothering people, whats the go-to zigbee smoke detector? I have a chinese Honeywell that works well but i'd prefer something that i can buy in europe

amber gull
golden vessel
#

@humble crescent for xiaomi sensors you'll have to press the button I think, or ZHA won't be able to interview them and add them to the database correctly

humble crescent
#

god damnit

golden vessel
#

was the network open for pairing (did you press the Add Device button), before pressing the button on the sensor?

humble crescent
#

hah yes 🙂

#

(i shouldnt be cocky, i have forgotten that a couple of times in the past)

humble crescent
woeful comet
#

Hi all, I am having an issue trying to develop a quirk for ZHA, anyone here ever achieved to create a custom quirk and test it using Home Assistant OS (the all in one package) in a raspberry pi ?

austere patio
#

What's your issue?

woeful comet
#

It is like pycache folder won't regenerate

austere patio
#

You rarely have to worry about the __pycache__ folder

#

How are you verifying that the zhaquirks module is loading?

woeful comet
#

But never zhaquirks.path.to.my.quirk

austere patio
#

Ok so that loads. What is the folder structure of your quirk? Are you creating an entirely new module folder or just a new .py file?

woeful comet
#

it is located in the tuya folder

austere patio
#

Can you upload your quirk .py file somewhere?

woeful comet
#

here exactly /usr/local/lib/python3.8/site-packages/zhaquirks/tuya/siren_neo.py

#

ok

#

I also tried to just add ("_TZE200_d0yu2xgi", "TS0601") in the MODELS_INFO of the existing quirk of a similar device, but nothing happen in the logs, it is not even trying my quirk

#

@austere patio what version of Home Assistant do you have ?

austere patio
#

Many versions, but the specific version of HA doesn't matter

#

All of this is done within zigpy

woeful comet
#

Ok, but what do you think i am doing wrong ?

austere patio
#

Your quirk loads fine for me

woeful comet
#

How do you know that ?

austere patio
#

It shows up in zigpy.quirks._DEVICE_REGISTRY._registry['_TZE200_d0yu2xgi']

#

Are you restarting HA after editing the quirk?

woeful comet
#

in the logs ?

#

yep

royal star
#

i cannot figure it out

#

for the life of me

austere patio
# woeful comet in the logs ?

Add python import logging _LOGGER = logging.getLogger(__name__) _LOGGER.info("siren_neo.py has loaded") somewhere before the class TuyaSirenNeo code and look at the logs. That should tell you whether or not your code has loaded.

woeful comet
#

ok thks

#

no siren_neo in the logs after a restart

earnest hinge
austere patio
#

If that doesn't produce any logs then your logging isn't setup properly

woeful comet
#

ok i'll do that, good idea

austere patio
woeful comet
#

i got this log setup

#

ok so i have the good one

#

by restarting HA you mean just click restart in server control ?

austere patio
#

I'm not sure what exactly that button does since I don't use the managed HA install method

#

But if the above change doesn't produce any log output, it may not be restarting HA

woeful comet
#

but even restarting my pi does not work i think i already tried that

#

no Importing in the logs 😦

austere patio
#

Can you upload your logs somewhere (the home-assistant.log file)?

#

It appears that your code changes are having no effect

obsidian sandalBOT
woeful comet
#

i deleted the link of the logs, did you get it ?

austere patio
#

Which link?

#

You can directly message me the file if you want to do that instead

limpid tinsel
#

any idea why the phoscon autodiscovery doesnt work anymore?

#

manually adding it doesnt work too, no api key ...

frail oracle
#

Deconz integration

limpid tinsel
#

??

sour shadow
#

The integration is called deconz 😉

dire willow
#

hot take: if you only have things that are battery powered and really far from your hub, it doesn't work well... JUST THOUGHT I SHOULD LET PEOPLE KNOW
zigbee is a mesh network and having mains powered 'things' throughout your house is a good idea and helps things that are on the 'fringe' work better and expands your overall range. JUST AN FYI...

#

make mistakes and learn. 🙂

sour shadow
#

It's not a good idea 😉

#

It's required

#

One day maybe HA's documentation will mention this... but maybe not

dire willow
#

chuckle chuckle...
I dont think I realized it until I realized it

#

last night/today I wiped 3 hue bulbs and added them to my zigbee network instead.
1 in the primary bedroom and 1 in the living room
SUDDENLY ALL MY SENSORS ARE WORKING BETTER and the graph proves it

sour shadow
#

Yeah, I was talking a few hours ago about the fact that it's not well explained in the docs

dire willow
#

now i am just waiting for the sensor that is 5 ft from a mains bulb to 'network' to it

sour shadow
#

And then, as you graph things, you realise that you can connect directly to a sensor on the far side of the house, but not the one in the next room...

dire willow
#

WHYWHWYHWHWYWHWYHYWHWYWHWY!!!

sour shadow
#

RF is fun 😉

dire willow
#

NO, No it is..... it is very fun... it is also NOT fun!

sour shadow
#

It's just a different kind of fun 😉

#

At least with Zigbee you get an LQI and RSSI to tell you about the link quality. With Z-Wave you just get dead nodes and long delays

unborn phoenix
#

@sour shadow , @dire willow , I love this. I agree completely. I'm evaluating a move from ZWave to Zigbee with our house remodel, and I think I'm in the Zigbee camp, now. Nothing's perfect, but mains devices paired with common sense 2.4GHz spectrum management looks to be the promising way to go.

sour shadow
#

Well, I find that range on Z-Wave is generally better, and the devices are generally better, but they're more expensive, and you get random delays and issues

dire willow
#

I have both

sour shadow
#

Zigbee is cheaper, the devices are often junk, but higher bandwidth and better information means I can fix things - and if I have to throw something away I don't mind the £10

dire willow
#

and they have good reasons for different things

sour shadow
#

They'd planned a Zigbee one, but didn't produce it in the end

dire willow
#

HA! Looks like Abode and them have the same design

#

I needed to extend my range, and added 'accent' lighting under my kids toychest. 🙂

sour shadow
#

They do a LoRa version, so I may just build a LoRa gateway 😄

unborn phoenix
#

Yea, I had Vera for a long while and was REALLY into the benefits of Z-Wave.

#

I even built an indoor farm on Z-wave sensors

sour shadow
#

I do love that I have a remote by the kitchen door Associated with a socket that powers the garden lights

#

No need for automations, and it always works

unborn phoenix
#

That's a great sensor product. I'm totally game for a LoRa implementation.

ashen coral
hard river
#

Does a zigbee router need to be "paired" to the network?

austere patio
#

Yep

hard river
#

I have a CC2530 I just flashed with router firmware

#

So how do I pair it? Just enable pairing in zigbee2mqtt and plug it in?

austere patio
#

The specific router firmware you're using should have instructions for how to put the stick into joining mode

hard river
#

ok thx

#

dughhhhhh. 4. Done! #
Now plug the CC2530 into a power outlet where it will automatically join your Zigbee network. (don’t forget to set permit_join: true to enable joining of new devices). Enjoy your extended Zigbee network range! 😄

austere patio
#

Usually it's plugging it/unplugging it a few times or something like that

hard river
#

In my defense, I woudln't think to find that in the "Done" section 😄

austere patio
#

Documentation always needs improvement

cosmic pendant
#

Hi guys, I have a question on extra ZigBee/Wifi hub to connect smart devices. Situation: My smart switches are only ZigBee and some switches cannot connect to RasPi due to the distance. I'm thinking of adding an extra hub with Zigbee network.

  1. What are the recommended extra hub device I should get?
    2.How do I add an extra hub into HASS?

I've tried some Google-ing but leads to no real answers. Would you be able to impart your kind knowledge to me please?

Thanks in advance

austere patio
#

What hub/stick are you currently using?

#

Hubs/sticks act as coordinators and you can't have more than one coordinator per network to begin with

violet dagger
#

what you're looking for is routers not extra hubs

#

almost any mains powered device will bridge the signal

strange ibex
#

except the zigbee bulbs I bought :P, double-check before you buy. I actually prefer to not have a 100 routers

austere patio
#

Why?

strange ibex
#

I place my routers deliberately. I have 10 recessed lights next to each other. They all don't need to try to be routers.

austere patio
#

Why not?

#

At that scale though it is usually cheaper to replace the in-wall switch with a Zigbee dimmer but that isn't always possible

strange ibex
#

Well firstly, I rather the zigbee routers be something that for sure will always be turned on and currently the lights are on a switch which can bbe turned off

austere patio
#

That can be fixed with a few bits of plastic and a battery-operated Zigbee switch or a Zigbee dimmer and dumb bulbs

strange ibex
#

it isn't a problem since they are just end devices

#

having the ability to turn off the lights with a switch isn't bad

#

it's a feature

#

that I don't use

#

😛

austere patio
#

I think I look at the graph representation of my Zigbee mesh like once per month so the actual device relationships don't matter that much to me. I have two (or three) Zigbee lights per fixture in a room and haven't had issues so far with ~30 routers

strange ibex
#

If I never was able to visualize it I don't think I'd care, lol

#

I have like 60-70 Hue lights that are all routers

#

but those are on the Hue bridge

#

wait, I don't have 60-70

#

I am fucking dumb

#

I have like 40-50. I have 60-70 total lights

austere patio
#

I found a new home for your Hue bridge: 🗑️

strange ibex
#

nope. I like it a lot. entertainment stuff is nice

austere patio
#

As long as your routers and end-devices are relatively compliant I don't think a dense packing should have much impact on your mesh health

strange ibex
#

hue sync box is nice too

austere patio
#

Off-topic but that seems like something that can be made to work with the existing open source coordinator sticks?

#

I'd imagine it directly communicates with the bulbs via a Zigbee group or something, maybe after verifying that a coordinator is a "real" Hue hub

strange ibex
#

nah

#

Hue bulbs use UDP for entertainment API

austere patio
#

Are they not Zigbee?

strange ibex
#

they are zigbee until they use entertainment api

austere patio
#

So something translates those UDP datagrams to Zigbee...

strange ibex
#

I think diyHue does it

#

if not, they were working on it

#

zigbee would never keep up with the entertainment magic

#

which is why they aren't using 'er

austere patio
#

If the bulbs communicate over Zigbee with the Hub then how do they receive these updates?

#

Or am I thinking of something else?

strange ibex
#

it kicks into a special mode where it no longer is able to do normal zigbee stuffs.

#

bridge does udp <-> bulb

austere patio
#

I'll have to pick both up to see how it works. Maybe they have more OTA upgrades hiding in that bridge

strange ibex
#

for sure. I read into it years ago when they released it

#

I was super interested since it was a feature that popped out of nowhere

#

for stuff I already had

#

they have some official docs in their dev portal

#

let me find it

#

have to register/login

austere patio
#

Maybe they do it over a Bluetooth side-channel or something? Zigbee can in theory support a relatively high throughput, at least to transmit high-frequency color state information

strange ibex
#

that grpahic shows zigbee, lol

#

it isn't though

austere patio
#

Unless the bulbs communicate over Bluetooth or something, it's either Zigbee or magic

strange ibex
#

I am probably just very wrong

#

I probably am

#

the UDP is probably just between the bridge and app

#

that'd make more sense

#

yeah, it still uses zigbee, my bad

#

I read some shit years ago and have no problem spitting my brain at you

#

I still feel unsure

#

I was so confident I had to have read something wrong

#

but that is wild

austere patio
#

app <-> UDP <-> bridge <-> zigbee <-> bulb seems pretty normal

strange ibex
#

because I have dug into this shit really deep and you used to only be able to do a very small amount of updates

#

yeah, but it was just HTTP before which isn't slow

#

UDP is faster for sure

#

but like, it was WAYYYY slower than you'd expect

#

like, you couldn't even poll a bulb more than once every few seconds because of the internals.

#

so my brain thought more shit happened than really did

austere patio
#

Try one of the sticks that gives you relatively low-level access to the Zigbee radio

#

You can sit in the dark for hours at a time when they break once every few months

#

But that's what makes them fun

strange ibex
#

the hue bulbs are really nice and I think I might just get hose for the future

#

the dimming and transitions in Hue are very nice

#

I don't feel like finding similar results

lilac wharf
#

that is some killer hardware PWM

strange ibex
#

yeah

austere patio
#

Yeah, other bulbs do have some jerky transitions near the low end of the brightness scale

strange ibex
#

the PWM is magic but I didn't want to steal tediore's line

lilac wharf
#

people on discord probably think i work for signify

strange ibex
#

😛

#

you aren't wrong though.

#

they just work well

#

these new ones from sengled do okay for the job but have 0 color to color transitioning

lilac wharf
#

best PWM i've seen tbh

austere patio
#

But for $0.50 like the Ecosmart bulbs kits, you can't justify buying Hue

#

Or was it Consciot

#

Sure they'll burn your house down but they are cheap

lilac wharf
#

😂

#

it was consciot, but it's all just leedarson anyway

strange ibex
#

I wish you could filter out groups in entities

#

I mean light groups

austere patio
#

LeedArson. At least they don't lie about their intent.

lilac wharf
#

Arson indeed, GND and VCC are adjacent

strange ibex
#

very nice!

austere patio
#

Yeah, it's based on the reference design by SiLabs I believe

strange ibex
#

put your dick in it

lilac wharf
#

Hole's too big

austere patio
#

The IKEA module is similar and you can turn that into a pretty decent coordinator if you don't mind the form factor

lilac wharf
#

really?

austere patio
#

And ditch Z2M

lilac wharf
#

never

strange ibex
#

I love z2m

austere patio
strange ibex
#

ZZH4lyfe

#

until ZZH-P, that is

lilac wharf
#

damn, throwing shade at koenkk

Our user MPM1107 like to implenting but dont geting much help. And Koenk have zero intrest and have closing the thred in his repro.

austere patio
#

Yeah, the SiLabs EZSP protocol isn't exactly trivial to implement

strange ibex
#

you are using trivial oddly and I'mma punch you

lilac wharf
#

seems like a valid use

#

so heck off

strange ibex
#

I associate it with "non important"

lilac wharf
#

yeah i said it

strange ibex
#

HECK

austere patio
#

Like the deCONZ serial protocol is pretty darn simple (for the Conbee) and works for the most part

lilac wharf
#

inb4 "deconz bad"

strange ibex
#

people use it in place of "simple" and I'mma punch their glasses

#

✊👓

lilac wharf
#

we're trying to be part of the evolution of the word

strange ibex
#

lol

#

that is the beauty of language. It is always evolving

#

we live in a timeline where literally does not mean literally anymore

lilac wharf
#

literally

strange ibex
#

makes me want to punch my own glasses

#

I don't have any

#

but if I did

lilac wharf
strange ibex
#

WHY WEBSTER

#

WHY THE FUCK YOU DO THAT, YOU DOPES

lilac wharf
strange ibex
#

DO IT

#

I keep it on OVH for that reason

#

everything else has moved on, lol

#

share server stays on OVH

lilac wharf
#

heh

strange ibex
#

I'mma move to lounge

woeful comet
#

Hi all, does any of you have a dry contact working with ZHA ?

grizzled arrow
#

Is there a way to get the Zigbee device info from ZHA into the frontend? I want to show the RSSI of my devices in Lovelace.

sour shadow
#

Various cards can show attributes

#

There's an entity attributes card for instance - #frontend-archived can help you more there

grizzled arrow
#

Funny thing is a ZHA device doesn’t have an entity name.

sour shadow
#

devtools -> States?

grizzled arrow
#

No, all entities over there

sour shadow
#

Is that no, there's no entities for my ZHA device or something else?

grizzled arrow
#

As a ZHA device has no entity name, it is not in the state list. The sensors from the device are there, but I want the attributes of the device.

#

So no, device is not in the list

sour shadow
#

Devices are collections of entities

#

The RSSI should be an attribute of one of the entities

grizzled arrow
#

I’ll have a 2nd look

#

No, the rssi value isn’t there

sour shadow
#

Weird... hopefully somebody who knows why ZHA doesn't follow the normal standards will be along

golden vessel
#

I was finally able to capture a ghost motion

#

the sensor sends a motion report indeed 😮

#

also sends a lux report, and another message before those, but it has a Bad FCS

tropic depot
#

@golden vessel hahahahaha told you!!!

#

@sour shadow we used to have device entities and we were asked to remove them. Those contained the rssi and lqi. We never added individual sensors for them after that. IMO they are noise and not really useful but we can reconsider.

grizzled arrow
#

@tropic depot There are more attributes in ZHA devices. Would be nice to get them somehow, even if it is noise.

sour shadow
tropic depot
#

Sure but if you mean only on the UI there are already ways to do that

sour shadow
#

In a card?

tropic depot
#

Tinker, I’m more concerned with the constant change in rssi/lqi causing a ton of saved state changes

sour shadow
#

Sure, which is why making them optional may be a way to go

#

Then folks who're running on an SD card doesn't have a problem, and the rest of us can have our data 😄

#

Obviously if ZHA is chattier than Z2M it may get noisy, but I don't have a volume issue with 50 or so Z2M devices reporting that

tropic depot
#

Sounds good, what else about the device does Z2M expose as entities

#

I have no issues with creating parity

sour shadow
#

Let me grab a sample

#

Battery devices also report: battery, linkquality
Mains reports: linkquality

#

The main entities also report the LQI as an attribute

jolly narwhal
#

My zigbee2mqtt is so chatty I can seldom read the console in realtime 🐔

#

100ish devices

#

Not that it affects performance in any way

sour shadow
#

I like the numbers because it means I can, at some point, see if I can work out any patterns to the variations. I've done that before to help work out when things needed moved/rearranged

mighty river
#

Hi everybody, I hope I can get an answer on a simple question. I am using zigbee2mqtt and have a Philips Hue bridge with bulbs. My Xiaomi sensors are out of range. Do I need to disconnect the HUB and connect using MQTT to increase the link quality of these sensors?

sour shadow
#

Everything needs to be in the same mesh

mighty river
#

The Philips Bridge is connected through an integration and not

sour shadow
#

So yes, you'd need to move the bulbs to Zigbee2MQTT, or the sensors to Hue

mighty river
#

ahh ok

#

But the Xiaomi sensors don't work through the Philips bridge I presume?

sour shadow
#

🤷

#

I don't use the Hue bridge, Zigbee2MQTT all the way 😉

mighty river
#

haha my wife is complaining a bit she likes the Hue app

jolly narwhal
#

Apps are pointless, do automations ;-)

#

Based on patterns, sunlight, actions or other factors

sour shadow
#

Voice control is for when automations have failed. Apps are for when voice control fails 😛

mighty river
#

I first wanted to have good reliable link quality

#

Before setting up automation flows

#

I first linked all sensors and devices

sour shadow
#

Trouble is, that mesh needs routers

#

Your other options are to buy some appropriate devices and pair them to Z2M

mighty river
#

Yes that's why I wanted to use the HUE lights but did not see them in the network map

sour shadow
#

Well, no 😉

mighty river
#

But thought it might be because of the bridge

sour shadow
#

They're not in the same mesh...

mighty river
#

So thanks for the explaining

#

Yes I get that now 🙂

#

Will check if a different router is more convenient

mighty river
#

I still have raspberries

#

Yes bought one

#

Have it in my NUC

#

But the NUC is in the attic

#

And still want to use the PI for the "slimme meter"

#

And CO2 measuring

#

So I can add this to make a router

sour shadow
#

The stick is the router - when flashed with router firmware

#

You just stick it in any USB power source - no need for a Pi, or any computer

mighty river
#

🙂

sour shadow
#

Heck, you could buy some $5 CC2531 sticks and use those, the range just won't be awesome

mighty river
#

Did not know

#

But if I can use a device I need (like the Hue lights) it's not needed

#

But I am glad I came to this chat

#

Saved me a lot of time

lilac wharf
#

@tropic depot @sour shadow devices that support OTA updates also expose "update available" and "update state" entities

sour shadow
#

Yeah, I've also got _tamper on some and _battery_low on those that report it

lilac wharf
#

Yup, I think ZHA picks up the tamper entity too if available

sour shadow
#

For those that report it, yes - not all do

#

My Konke sensor does

#
binary_sensor.master_bedroom_door_battery_low
tropic depot
#

interesting, so do you get that and the battery sensor or is it one or the other?

sour shadow
#
 binary_sensor.master_bedroom_door_battery_low    off
 binary_sensor.master_bedroom_door_contact    on
 binary_sensor.master_bedroom_door_tamper    off
 sensor.master_bedroom_door_battery    100
 sensor.master_bedroom_door_linkquality    93
#

So, both

tropic depot
#

Eesh ok, lots to consider

#

That’s a lot of entities

#

😂

sour shadow
#

I mean, the link quality is also an attribute, and IMO the battery should be, but it just reports the voltage not the level

tropic depot
#

That’s more accurate tbh

sour shadow
#

Well, yes 😄

#

But harder to normalise for humans

tropic depot
#

What we do for battery is an estimation based on voltage

#

The problem is the data is junk... lithium batteries have crazy curves... they essentially fall off a cliff

sour shadow
#

Ayup

tropic depot
#

So you can go from 100 -> 0 without gradual degradation

#

Which is also confusing to users

sour shadow
#

I think that's where the low battery sensor comes in, but yeah - until you realise that Lithium, and others, behave "strangely" it's confusing

tropic depot
#

and different devices work with varying lower voltages so it’s a mess to support

#

Centralite devices can work all the way into the low 2’s but Xiaomi devices get a bit wacky under 2.8ish

#

Makes stuff really fun

sour shadow
#

2.835 has one of mine reporting 32%

tropic depot
#

Yup

sour shadow
#

Of course, give it a few minutes and it'll report 36% and a different voltage

tropic depot
#

😂

#

yup

sour shadow
#

100% seems to be anything from 3.000 and up

lilac wharf
#

My batteries are all over the place sometimes, it's ridiculous lol

tropic depot
#

We need a fairly significant change in ZHA to do this... we only support 1 entity per cluster atm... once that’s taken care of we’ll address a lot of this

#

will handle this, tamper, all of the remaining energy monitoring stuff, etc.

lilac wharf
#

I'd rather all OEMs just do battery normal/low only like some of mine do

celest sail
#

Humans seem to prefer perceived granularity

sour shadow
#
 binary_sensor.spare_bedroom_socket_update_available    on
 sensor.spare_bedroom_socket_energy    0.03
 sensor.spare_bedroom_socket_linkquality    132
 sensor.spare_bedroom_socket_power    0
 sensor.spare_bedroom_socket_update_state    available
 switch.spare_bedroom_socket_switch    off
``` that's one of the sockets with power monitoring FYI - reporting an OTA update available (that always fails 😂 )
junior meteor
#

Which socket is that?

sour shadow
#

Salus SP600

violet dew
mighty river
#

Hello everybody, am starting with Home assistant and am using ZigbeeMQTT. I just connected an Ikea Tradfi bulb. I see an update is available

#

But don't understand how to send a message to a topic

#

Once an update is available you can update it by sending to zigbee2mqtt/bridge/request/device/ota_update/update""

sour shadow
#

Z2M has a UI now

#

If you enable that you don't need to use MQTT to work it

mighty river
#

I already have that working

sour shadow
#

Then you can do it in the UI

mighty river
#

wow that was easy

#

Sorry for the question

sour shadow
#

No worries 😉

hushed arch
#

Whats the current recommendation for a zigbee controller? Personally in the past I've used a phillips hue with home assistant. Now I use a Conbee which I love. I'm attempting to recommend a zigbee controller to a friend but it appears very very hard to get the Conbee 2 in the uk.

The frequently recommended usb controllers on tindie are also soldout at the moment.

Is there another way to connect to zigbee devices I'm missing. Like "Just buy and alexa and use it as a zigbee controller"?

sour shadow
#

The answer depends on your choice of Zigbee integration - see the pinned messages 😉

hushed arch
#

Good answer! I've just read those docs. One of the main issues is still the recommended devices are sort of unavailable to purchase!

sour shadow
#

Well, the ones for Zigbee2MQTT are, but they'll be available again shortly

#

You can start with a lesser stick and upgrade

#

If you start with a CC253x on the Zigbee 3 firmware you can migrate without re-pairing

hushed arch
#

Great, thanks

royal star
#

Happy cr2032 day for me - replacing all the batteries in my sensors

golden vessel
#

but yeah, its the sensor's fault I guess. I have no clue why lol

celest ivy
#

Hi everyone! I'm using ZHA with Philips motion sensors, and they create two entities: 'on off' and 'occupancy'

#

The 'on off' one doesn't seem to ever do anything. But it's the only kind of sensor the motion blueprint will accept, and I really wanted to try that one

golden vessel
celest ivy
#

Could it be that I configured something wrong?

golden vessel
celest ivy
golden vessel
#

There could be some issue during pair, and it didn't get properly configured

celest ivy
#

Ah, so it's normal to have both?

#

It's with all my Hue sensors though

golden vessel
celest ivy
#

Hah, I do the opposite, but the blueprint author seems to have aqara sensors like you 🙂

golden vessel
#

is the ocuppancy sensor changing to off in a reasonable time? becuse the xiaomi one stays on for 10 minutes IIRC, that's why I use the motion sensor instead

#

if so, just change the blueprint to work it that

mellow geode
#

The hue ones stay on for like 10 seconds

#

I think Z2M only has occupancy

#

(For the hue sensors)

#

I also just ignore the on_off one

amber gull
#

IIRC, on the Aqara sensors the occupancy is a just a virtual sensor that ZHA maintains to make automations easier

ember tree
#

Hi guys, How can I reconfigure ZHA integration without deleting it?

#

Is there away to parameterize the usb path? using !secret xxx

austere patio
#

The USB path is stored in .storage/core.config_entries, in the same folder as your configuration.yaml file

ember tree
#

Can I use !secret xx ??

austere patio
#

It's not configured via YAML so no

ember tree
#

Thank you very much

ember tree
austere patio
#

You mean configure ZHA to use it?

ember tree
#

Yes, Instead of usning socket:ip:port, if I can use socket://hostname:port?

#

as usb_path

molten linden
#

^ as long as HA can resolve it yes.

ember tree
#

Ok thank you both. I will see if it does

thorny phoenix
#

all devices have to be paired at few cm from usb when using cc2531 adapter?
i have 2 ikea bulbs and cannot pair at all

austere patio
#

No, you should be able to join them to your network from afar

#

Make sure you're permitting joins and that the IKEA bulbs have been reset

#

Power cycle them to get them to start searching for new networks again

strange ibex
#

puddly, do your modded aqras lose state often? I have seen a few people say such

#

I think I read earlier that you have some. aqara motion sensors

austere patio
#

Yeah, I have a bunch. What do you mean by "lose state"?

#

Aqara sensors only send an event when motion is detected. They don't send an event when motion is cleared.

#

In theory the modded ones should act the same as the non-modded ones in that regard, though if you mod all of them you can reduce the timeout to 5-10s with a custom component

charred tinsel
#

Hi, I'm having issues with the on/off Ikea remote and the 5 button remote not showing button presses in home assistant. They pair fine, but button presses don't show up as an "zha_event" Using the Sonoff bridge flashed with tasmota 9.2. I have other devices (mainly Aqara and Sonoff) that show up just fine. Based on blakadder database they should be compatible with ZHA. Wondering if it's my use of the sonoff bridge. Any guidance?

mighty river
#

Hi guys, I believe I'm having issues with my ZHA component.. I should enable debug logging for ZHA and check the home-assistant.log file whenever the issue takes place... am I right? thanks in advanced

amber gull
#

@charred tinsel remove the devices from home assistant completely and then repair

#

And yes, @mighty river

strange ibex
#

puddly, I am just using state triggers anyways. A lot of people have reported the modded ones fail after a few days.

charred tinsel
amber gull
#

usually it's due to how IKEA handles the ZLL group, but never looked into the details -- happens to me fairly regularly

#

maybe try remove from ZHA, restart HA and then re-pair -- also sometimes HA will be a bit fast and overwhelm the remote at binding

#

also try shaking the remote, of course

charred tinsel
austere patio
#

No issues. They just report every 5s instead of ~70s

strange ibex
#

ahh, mono says his fail every few days after the mod. maybe because he used graphite instead of solder 😛

austere patio
#

Oh, that would explain it

#

Yeah just probe around until you find a good ground and solder magnet wire or something. It's a little tight so you may want to use more wire than necessary to be able to bend it into the correct orientation and position.

strange ibex
#

thanks. I'll see if the default timeouts fit me needs first before I dig in

mighty river
#

Hi guys. I've noticed that when I come back home after a long period of time some of my zigbee devices have some delay the first time they trigger.. After that, they work as usually.. it's like they are in sleep mode? dunno..

#

can that be disabled/avoided?

sour shadow
#

What is a long period?

austere patio
#

What devices?

mighty river
#

By long I meant more than an hour

#

specially the philips hue motion sensor is doing that

gentle flint
amber gull
#

I am doing zigbee wrong  🙋‍♂️

strange ibex
#

doubt (x)

#

walt, did you find some time to check for that firmware by chance?

amber gull
#

No, sorry. Pulled the hub out to remind myself but I haven’t hooked it back up yet

gentle flint
gentle flint
cosmic pendant
cosmic pendant
sour shadow
#

Zigbee router 😉

#

That connects to your Zigbee mesh, via another router, or directly to the coordinator.

#

CC2531 USB Dongle for the wifi
Nope - that doesn't do WiFi 😛

cosmic pendant
sour shadow
#

The Pi 4 isn't a coordinator

#

The stick you connect to the Pi is

#

The Hub wouldn't be a router, the Hub would be a coordinator for a separate mesh - not helping you at all

cosmic pendant
#

I see.. may i know what device (brand/model) I should be google for a zigbee router?

sour shadow
#

Largely anything that's not battery powered

cosmic pendant
sour shadow
#

No 😉

cosmic pendant
#

How much does it cost?

sour shadow
#

Don't remember to be honest, bought it a couple of years back

#

The seller could tell you 😉

#

Or you can buy anything else...

#

Tradfri repeater, any mains socket

cosmic pendant
#

Oh.. i thought you're the seller

sour shadow
#

No

cosmic pendant
sour shadow
#

FYI, you can stop tagging 😉

obsidian sandalBOT
#

Discord isn't like IRC, you don't have to tag people on every response. Keep in mind that every time you tag somebody, they get a notification ping. That can very quickly become annoying and people may block you.

When using Discord's new Reply feature it defaults to pinging the person you reply to, click @ ON to @ OFF to stop this - on the right side of the compose bar.

sour shadow
#

☝️

cosmic pendant
#

understand

dusk zenith
#

Hey Everyone! Is there any reliable way to get the Tradfri Gateway work reliably with home-assistant? Mine seems to not like keeping states updated which causes many downstream problems ... from what I found googling apart from restarting the hub frequently there don't seem many options other than ditching the gateway for zigbee2mqtt or the new python integration?

violet dagger
fathom lantern
lethal flower
#

I use ConBee II with extension cord. I can add easly 15 Ikea (light bulbs and motion sensors) devices , but then ZHA stops find any more. Before starting to play with ZHA I had 30+ devices working fine with deConz. Any ideas how I can find rest of my devices?

lethal flower
austere patio
#

If your lights are already on the network formed by deCONZ, I believe you can just power cycle the bulbs and ZHA will pick them up

lethal flower
#

I removed deconz to avoid confusions

austere patio
#

Network settings are stored on the stick so ZHA is likely using your "old" network, it just isn't aware of the bulbs

#

As for the specific button, there's rarely a need to add via a specific device. Only when you're using Xiaomi or some other sensors that pick their parents poorly.

#

Also I'm pretty sure joins are only permitted for 60s, despite the spinner on the ZHA page showing otherwise. I'd refresh it every minute as well.

lethal flower
#

I had long distance from my outside temp sensor to my ConBee, so thats why I wonder should I use it via other device. Also when I add few bulbs using this "via this device" feature, those devices are still visible as full meshed with each others.
I am not sure will that even work like I think it should wokr.

austere patio
#

The "add device" asks every router on the network to permit joins. The "add via this device" asks only that specific router to permit joins

lethal flower
#

ok

#

that makes sense

austere patio
#

Sometimes the seemingly most intuitive parent isn't actually the best so as long as your sensor does a proper scan when joining the network it should pick a good parent

#

So to move over your bulbs, try powering them off for 10s then powering them on

gentle flint
#

disclaimer: xiaomi doesn't do proper parent scan and joins the 1st one which replies

lilac wharf
#

And then they apparently don't reroute often either right?

raven vortex
#

Hi everybody.
I have some trouble with my conbee2 and my new sensor AQARA. I have added the 'deConz' add-on on my supervised HA and I have made the integration. But at the end, when I go to 'Phoscon'->'Sensors'->'Add a new sensor', I hace nothing discovered. Any ideas ? Many thanks.

amber gull
#

Xiaomi will actually choose a new parent if you click their button

#

Not sure if you leave them alone if they do the same

#

(tested on motion and door/window sensor)

gentle flint
lilac wharf
#

Interesting, my temp/humidity sensors must be stubborn then heh

#

I'm of the mindset that there's nothing to worry about if everything is working though

gentle flint
#

i need to replace my xiaomis with konke. with a mix of compatible and incomaptible routers, sometimes they pick the wrong parent when they roam. The only devices I'm having problems with

sour shadow
#

There's no reason to worry about them reconnecting, as long as they work

lilac wharf
#

I only have two xiaomi devices (temp/humidity sensors). Everything else is a mix of tradfri, linkind, samsung, ecolink...

gentle flint
#

ha, that would explain why you don't complain about xiaomis 😄 I had quite a few more, and while some of those have been stable in past two years, there were some which I have to reconnect occasionally.

lilac wharf
#

Odd. Zigbee has been rock solid for me, and I even have two separate networks (zigbee2mqtt and hue bridge)

#

inb4 "hue bridge 🤢"

amber gull
#

I have about ~ 40 Xiaomi sensors -- all in all they work fine -- replaced 9 routers a few days ago, and think I lost three sensors -- clicked the button on them and they came back online

gentle flint
#

I didn't say zigbee network. Only xiaomi on zigbee network. With a zoo of different devices on the network, only xiaomis are causing grief

lilac wharf
#

Yeah, I got what you mean

#

That's a shame too, the xiaomi stuff looks nice

gentle flint
amber gull
#

swapped out last ecosmarts for ikea bulbs

gentle flint
#

yeah, someone just needs to write a better firmware fox xiaomi 🙂

gentle flint
lilac wharf
#

|| ecosharts ||

amber gull
#

I kept five with the hope that LEEDARSON will eventually released a more modern firmware ...

lilac wharf
#

Still holding onto that mini hub in hopes I can grab a firmware update

amber gull
#

Yeah, ditto -- kept the consciot bulbs too, but just in "cold storage" not on the network

lilac wharf
#

I have one of those too, and a couple of linkind plugs I'm not currently using that I'm assuming I could pair to the hub

#

These linkind plugs are small

#

15A rated and Zigbee 3.0

amber gull
#

The real question, did you pay more then $5 for them?

lilac wharf
#

Well it was a $10 button/plug combo, so I guess it depends on how much you value each of those 😄

#

Even split? $5 for the button and $5 for the plug?

#

That was a screamin deal. Bought 4 packs

molten linden
#

I got so fed up with trying to join the buttons I returned the 2 plug/button packs I bought.

mellow geode
#

I'm trying to bind a Hue Dimmer switch to a lamp (not a Zigbee group).
I've reset it multiple time, then unbound the coordinator and finally tried to bind the lamp. HA still sees the commands from the RWL021 and the lamp doesn't react.
I guess I'll need to look at the logs later on, but is there anything obvious that I'm doing wrong? (Also called remove_all on the groups cluster) (And yes I'm pressing buttons on the remote before/after I clicked a button in Home Assistant)

gentle flint
#

I think RWL021 only binds to groups

mellow geode
#

Oh

lilac wharf
#

@molten linden paired fine with z2m...has support for the buttons not been merged yet in ZHA?

gentle flint
#

i think ikea remotes like that too

lilac wharf
#

Thought I saw it was

mellow geode
molten linden
#

I never could get it paired to my mesh..

#

so I got frustrated and returned them the next day.

gentle flint
#

pairing to mesh must be something else

molten linden
#

I'm sure I was just short patience that night, and spending too much time on $5 stuff so said f it.

lilac wharf
#

That's too bad, the plugs and buttons are pretty nice

gentle flint
#

wait, rwl021 is a hue remote, isn't it? How have you got it for $5

lilac wharf
#

Maybe you can buy the bundle back at $8 now used

molten linden
#

the plugs worked fine, I liked that they were 15 amp.

lilac wharf
#

We're talking about linkind stuff @gentle flint

#

I wish I could get a hue remote for $5 lol

#

Those are nice too

molten linden
#

there's a new version supposedly coming out

#

if only made it actually fit a standard US face plate

gentle flint
#

just get ikeas for $12??? or how much are ikeas 2 buttons?

lilac wharf
#

Yeah, and it has a hue logo on the bottom button wail

#

My only gripe with the plugs (and other linkind stuff) is the large amount of text that's on a part of the product that would likely be visible in normal use @molten linden

molten linden
#

like their contact sensors!

#

My dad was in PR/Marketing/Advertising.. I listened to way to many rants about free advertising/marketing on products you pay for... kind of funny.

lilac wharf
#

Yeah those are nice

#

Very quick

#

But lots of damn text lol

molten linden
#

I spent a week modding a conact sensor to be recessed in a door frame so it could not be seen... (or replace a zwave one that was already there).. the hell I'm putting up something with big LINKIND on the side.

lilac wharf
#

Exactly lol

#

I actually returned a two pack of sensors when I saw how bad it was

#

I know white vinyl tape would probably work, but still...

mellow geode
#

Just tried to bind my Hue Dimmer (RWL021) to a Zigbee group. Also doesn't seem to work.
I think the issue is that it isn't properly unbinding from the coordinator. (https://github.com/home-assistant/core/pull/43959 shouldn't affect this, right?)
(I'm still getting zha_events from the remote in Home Assistant.)
Called remove_all on the Groups cluster through the UI and (again) unbound the device from the coordinator through the UI. Is there anything else I can try?

sour shadow
molten linden
lilac wharf
#

Is that the contact sensor you were messing with the other day?

molten linden
#

in the end prob could have kept the battery on the board... but want to drill bit deeper in fit a larger battery.

#

think I did this before christmas.. lol timeline is blurry.

lilac wharf
#

Oh, maybe it was that long ago heh

molten linden
#

oh yea - yesI was trying to mod a centralite they fit with the big battery. but they use the hall effect sensor.

lilac wharf
#

Ah right

tropic depot
#

so it could be unbound

mellow geode
#

Yeah. Doesn't seem to work for me.

#

I'll look at the logs later and see what's wrong, I guess

tropic depot
#

are you clicking a button on the remote when issuing the command?

#

it needs to be awake to receive it

#

issue command, press button on the remote