#zigbee-archived

1 messages ยท Page 128 of 1

frail widget
#

start what?๐Ÿ˜

sour shadow
#

Well, if they don't show in Z2M there's no point in looking at why they don't show in HA

#

So... start looking in Z2M

#

Up the log level, do some troubleshooting

golden vessel
#

maybe you are trying to pair a device that is too far away from the coordinator?

frail widget
#

I got it wokring. First time you pair you can find it in UI but it will be unsported. you need to deletet from UI and pair it again and should work.

#

Thank you guys! ... I was very close to switch to ZAH ๐Ÿ˜…

sour shadow
#

Which Zigbee integration? Where are you getting that log?

lean juniper
#

Hey, I could really use some help.
I'm getting this error with a Raspbee on a Pi 3B+ with the latest verwsion of hass.

device state timeout ignored in state 2

I already updated the Raspbee's firmware and reinstalled hass.io twice.

lean juniper
obsidian sandalBOT
#

deCONZ by dresden elektronik is a software that communicates with ConBee/RaspBee Zigbee gateways and exposes Zigbee devices that are connected to the gateway. Our #zigbee-archived channel is a good place to ask about using it with Home Assistant, but they also have their own Discord server.

sour shadow
#

They may know more on their Discord

lean juniper
#

There's a Discord server just for Dresden Elekroniks?

#

Because it is working just fine with their distribution for the pi.

ashen coral
lean juniper
#

It's probably a hass issue

#

Thank you ! I'll check it out

ashen coral
#

That's not how you make an invite... wait

lean juniper
#

Haha yea it's blocked

ashen coral
sour shadow
#

Yeah, I linked that already ๐Ÿคฃ

ashen coral
#

So you did ๐Ÿคฆ

sour shadow
#

Easy to miss though

dire willow
lean juniper
lean juniper
#

This is in fact an issue with HASS

#

@frail oracle

sour shadow
#

You don't have to keep tagging Mimiix ๐Ÿ˜‰

frail oracle
#

Yep he did

#

was on my behalf.

sour shadow
#

IMO the answer is set fire to the add-on and deny it was involved but that may be a touch harsh

frail oracle
#

@ashen coral @sour shadow the addon doesn't seem to pickup his Raspbee. In a native OS/install it works.

sour shadow
#

Weird, so some Supervisor related problem then

#

Oh how fun

frail oracle
#

Or a configuration thing

#

But i have no clue what has changed to the addon in the last few weeks

sour shadow
#

I only know that deCONZ is a thing I don't know. And I know more about it than about the Supervisor ๐Ÿ˜‚

jolly narwhal
#

Add-ons ๐Ÿคข

lean juniper
frail oracle
#

I have no clue

glad python
#

I'm looking to add zigbee (and also z-wave & bluetooth) to my blue when it comes in, so I'm starting on the zha docs I'm seeing a list of known working ones on /integrations/zha/, but is there any page that compares them and makes any specific recommendations? I feel like I'm in over my head ๐Ÿ˜…

dry fossil
#

Have you checked the topic and pins here? There are several sites with lists of devices that are known to work.

glad python
#

Yeah, I've seen those too, and the pinned message I saw from tinkerer on 1/19 linked what seems to be more higher level developer stuff rather than comparing and making specific recommendations at a user level that's what I mean by I feel like I'm in over my head.

sour shadow
#

Sticks, or devices?

glad python
#

Stick

sour shadow
glad python
#

okay, thanks!

lean juniper
mellow pike
#

I have enabled ZHA debug logging to find out what channel ZHA is using. Im unable to see any messages which contain the channel information. any advise on what to look for ?

forest cobalt
forest cobalt
#

Is you coordinator directly attached via USB?

mellow pike
forest cobalt
#

Ok. Let me test something real quick.

forest cobalt
# mellow pike Yes it is

You'll want to stop HA from the front-end (Configuration>Server Controls > Stop). Then, run docker exec -it home-assistant bash (note: Your container name may be different; Check with docker ps -a to get the container name or id). Then, once you see bash-5.0#: enter in bellows -d [device] info. [device] will be whatever your USB device is (usually /dev/ttyUSB0 or something like that).

#

That will output all the info about your mesh, including the channel number being used.

#

Finally, restart your container (to bring HA back up nicely).

obsidian sandalBOT
mellow pike
#

I have a feeling Stop is not happening correctly

forest cobalt
#

Nope. It didn't find your device. In that same bash session, can you run ls -l /dev/serial/by-id and see what it outputs?

mellow pike
#

I tried this
bash-5.0# bellows -d /dev/ttyUSB1 info
[00:0d:6f:00:11:fe:ad:64]
[0x0000]
[<EmberNetworkStatus.JOINED_NETWORK: 2>]
[<EmberStatus.SUCCESS: 0>, <EmberNodeType.COORDINATOR: 1>, EmberNetworkParameters(extendedPanId=b1:e2:92:a5:e2:21:1a:7b, panId=0x3da8, radioTxPower=8, radioChannel=15, joinMethod=<EmberJoinMethod.USE_MAC_ASSOCIATION: 0>, nwkManagerId=0x0000, nwkUpdateId=0, channels=<Channels.ALL_CHANNELS: 134215680>)]
[<EmberStatus.SUCCESS: 0>, EmberCurrentSecurityState(bitmask=<EmberCurrentSecurityBitmask.64|32|HAVE_TRUST_CENTER_LINK_KEY|GLOBAL_LINK_KEY: 116>, trustCenterLongAddress=00:0d:6f:00:11:fe:ad:64)]
Manufacturer: HubZ ZigBee
Board name: HUSBZB-1
EmberZNet version: 5.4.1.0 build 962
bash-5.0#

forest cobalt
#

Ah! There ya go. So, the channel is 15 (radioChannel=15).

mellow pike
#

/dev/serial/by-id: No such file or directory

#

To change chsnnel to 11 : bellows -d /dev/ttyUSB1 form -D zigbee.db -c 11

forest cobalt
#

Yeah, that may not be implemented in the container. But, should you need it again, you can also run ls -l /dev/ttyUSB0 or ls -l /dev/ttyUSB1. It's really just to test where your USB adapter is mapped.

forest cobalt
mellow pike
#

I just have a few

#

so i want to change

forest cobalt
#

Ah, you'll be fine then.

mellow pike
#

but that command just runs forever

#

never ends

forest cobalt
#

It can take awhile. IIRC, you can speed it up by deleting zigbee.db (the actual file) if you aren't worried about keeping devices around. It will recreate the database when the channel change occurs. So, delete the db, then run the form command.

#

Or you can just rename the zigbee.db file as well.

mellow pike
#

I tried that as well.. renamed it to zigbee2.db.. but the bellows command -D is a mandatory parameter

#

so I created ZHA integration again and added nothing.. hoping the slimmer zigbee.db will make it happen faster

forest cobalt
#

Yeah, you have to pass in a name, but as long as the name you pass in doesn't exist on the filesystem, it will create it.

mellow pike
#

oh.. okay. let me try that

mellow pike
forest cobalt
#

1 sec. That should have worked.

mellow pike
forest cobalt
#

No, that's correct. I derp'd. You need to full path to your database. Try bellows -d /dev/ttyUSB1 form -D /config/zigbee3.db -c 11

mellow pike
#

we are back to waiting.. ill give it a while and see what happens

#

I also tried
zha:
zigpy_config:
network:
channel: 11 # What channel the radio should try to use.
channels: [11, 15, 20, 25] # Channel mask

forest cobalt
#

That's weird. I don't have an adapter directly connected, so I can't fully test it. But it used to work that way before.

mellow pike
#

Thanks a lot for the help.

#

Ill try to figure something out

austere patio
mellow pike
austere patio
#

Have you done an energy scan to make sure that it's actually interference?

#

Or received MAC channel access failure errors?

#

But skip the --i-understand-i-can-update-eui64-only-once-and-i-still-want-to-do-it flag when restoring

mellow pike
#

@austere patio any links the energy scan ?

austere patio
#

Most negative number is the best (e.g. [15, -34] is worse than [20, -88]). Stick to one of 15, 20, 25 (and maybe 26) to sit between WiFi channels 1,6,11. Otherwise, a WiFi router can decide to switch to on one of those three channels and randomly drown out your Zigbee network.

#

If you want to destroy your old network, run bellows -d /dev/... leave, update your ZHA config with the new channel, and delete zigbee.db. The config is only used for forming a new network so it'll work.

mellow pike
#

Currently my wifi is sitting in channel 6

#

and zigbee 15

#

my neighbour in wifi channel 11

#

so i wanted to go to zigbee 11

austere patio
#

If any WiFI router switches to channel 1 your network will not be happy

mellow pike
#

that is true

austere patio
#

25 is away from WiFi channels 1/6/11 and relatively quiet

#

Though this has little impact on network performance unless you have a sensor sitting right next to a WiFi router that's drowning it out because you're transmitting files 24/7

#

Is there a specific reason you think that WiFi is interfering with your Zigbee network?

mellow pike
mellow pike
#

none of the other ones have this issue

#

it is furtherest away too

austere patio
#

Is there no intermediate router sitting between it and the coordinator?

mellow pike
#

No

#

I got one today to strengthen the connection

#

but before i configured it i was in the wifi interference rabbit hole

austere patio
#

Yeah, I would definitely install that other router. If the link quality between the coordinator and that porch light is poor, in theory changing the channel would "help" it a tiny bit, but another router would be much better

austere patio
#

You can remove it, it's not used at the moment

mellow pike
#

ok

austere patio
#

In the future ZHA will pick one of those three channels if you don't specify channel, depending on the results of an energy scan

mellow pike
#

Thats cool.

#

zha:
zigpy_config:
network:
channel: 25

#

going with this

#

and restarting

#

I also deleted the integration in the ui

austere patio
#

Make sure to run the bellows leave first. Otherwise, it'll just re-use the old network.

mellow pike
#

I restarted HA after bwllows leave and deleting zigbee.db

#

it is still picking up the 15 channel

austere patio
#

Hm. Running the leave and then form -c 25 and then info shows radioChannel=25 for me. Maybe try that?

mellow pike
#

I got it

#

i added the integration in the ui and it picked up 25

#

Thanks a lot @austere patio

#

The energy scan command was pretty sweet.

austere patio
#

Yeah, it's pretty useful

short valve
#

zzh arrived within a week, got it programmed after fighting with TI's dumb website ๐Ÿ˜„

thick plover
#

mine would not flash with the TI software

mighty river
#

Hello!! I have a issue trying to install ZHA at home assistant core. I don't know which usb serial path I should use

#

thanks in advance

thick plover
#

which MQQT client do people run in docker?

jolly narwhal
#

Client?

#

You mean broker?

dry fossil
thick plover
#

yeah broker

#

so just installed eclipse-mosquitto

#

and z2m in docker

#

but getting this error:

Zigbee2MQTT:error 2021-04-17 20:59:27: Failed to start zigbee
Zigbee2MQTT:error 2021-04-17 20:59:27: Check https://www.zigbee2mqtt.io/information/FAQ.html#help-zigbee2mqtt-fails-to-start for possible solutions
Zigbee2MQTT:error 2021-04-17 20:59:27: Exiting...
Zigbee2MQTT:error 2021-04-17 20:59:27: Error: Error while opening serialport 'Error: Error: No such file or directory, cannot open /dev/ttyACM0'
#

even though I have told it to open /dev/ttyUSB0

dry fossil
#

Well that's nothing to do with your MQTT broker. You just aren't passing the right device in.

#

On your Docker host, what's the output of ls -la /dev/serial/by-id?

thick plover
#
drwxr-xr-x 2 root root 60 Apr 17 20:59 .
drwxr-xr-x 4 root root 80 Apr 17 20:59 ..
lrwxrwxrwx 1 root root 13 Apr 17 20:59 usb-1a86_USB_Serial-if00-port0 -> ../../ttyUSB0
dry fossil
#

Then you want to bind /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0, not the alias. The alias can change (i.e. after a restart of the host).

#

What do your device bindings look like for your container?

thick plover
#

๐Ÿ˜„ how do I check that?

#

I am an absolute novice with linux

dry fossil
#

Depends how you set up your container ๐Ÿคทโ€โ™‚๏ธ

#

How did you run it? Docker? Docker Compose? Portainer(๐Ÿคข)?

thick plover
#

Docker

dry fossil
#

Then you should have passed in a ton of arguments when you started the container. What were they?

#

Also... do yourself a favour and learn Docker Compose so you can just have one text file to maintain for all your containers.

thick plover
#

I had been reading docker compose earlier this evening

#

that allows you to have one config file yeah?

dry fossil
#

One file that can define multiple services (containers), yes.

thick plover
#

ok

#
   -it \
   -v $(pwd)/data:/app/data \
   --device=/dev/serial/by-id/usb-1a86_USB_Serial-if00-port0 \
   -e TZ=Australia/Sydney \
   -v /run/udev:/run/udev:ro \
   --privileged=true \
   koenkk/zigbee2mqtt```
#

is how I was planning to run z2m

#

which gives me

Zigbee2MQTT:error 2021-04-17 21:08:20: Failed to start zigbee
Zigbee2MQTT:error 2021-04-17 21:08:20: Check https://www.zigbee2mqtt.io/information/FAQ.html#help-zigbee2mqtt-fails-to-start for possible solutions
Zigbee2MQTT:error 2021-04-17 21:08:20: Exiting...
Zigbee2MQTT:error 2021-04-17 21:08:20: Error: Error while opening serialport 'Error: Error: No such file or directory, cannot open /dev/ttyACM0'
    at Znp.<anonymous> (/app/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:136:32)
    at Generator.next (<anonymous>)
    at /app/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:27:71
    at new Promise (<anonymous>)
    at __awaiter (/app/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:23:12)
    at SerialPort.<anonymous> (/app/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:134:49)
    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
dry fossil
#

Ok... so you're passing in the ID of the device... use that in your Z2M config, not the default value of /dev/ttyACM0

thick plover
#

ok. now here is the kicker, how do I get into the z2m config?

#

I think that is the point I got up to earlier before I tried starting over ๐Ÿ˜„

dry fossil
#

Well you're already mapping a volume for the config folder, right? ๐Ÿ˜‰ Edit the files in that folder.

#

-v $(pwd)/data:/app/data

thick plover
#

hahaha

#

would that be cd /app/data ?

#

to get to that directory?

dry fossil
#

The bit on the left is on your host, the bit on the right is the mapped location within the container.

#

I have no idea what the left hand side is, since it's relative to the current working directory... only you know where you were when you ran that command.

thick plover
#

i have a feeling when I run ls -l that it isn't showing me everything

dry fossil
#

ls -la to show hidden files too... but a directory without a dot at the beginning isn't hidden anyway.

#

I'd suggest taking a step back. Read up on Docker Compose, get yourself a system that works for you. I have all my containers running out of /home/mono/docker, a docker-compose.yaml in that folder, and container-specific folders within that folder (i.e. /home/mono/docker/homeassistant).

thick plover
#

ah yes, that makes sense. that is what i was reading up on earlier

dry fossil
thick plover
#

so with that, you create the docker-compose.yaml and it is more or less a directory with settings of all your containers?

dry fossil
#

Pretty much. The first time you want to fire up the containers, and whenever you've changed a definition, you'll just cd into that folder and run docker-compose up -d to have Docker Compose action your changes. No horrible command lines with 50 arguments to type out perfectly each time.

#

And let's be honest, you were just going to store those Docker commands somewhere and copy/paste each time, right? Compose means you have an easy-to-read file that also serves as the method of firing up the services.

thick plover
#

alright, have done some reading, youtubing, and have finally set up compose correctly @dry fossil , but now I am getting this when I try to get z2m running....

found character '\t' that cannot start any token
  in "./docker-compose.yaml", line 22, column 1
#

the line it refers to is container_name: zigbee2mqtt

jolly narwhal
#

You have formatting issues for sure

thick plover
#

actually i think i just spotted it

#

yeah, its one tab too far in smh

jolly narwhal
#

Y'aml doesn't use tabs so I hope not

dry fossil
#

Tabs ๐Ÿคข

#

Spaces everywhere. Only monsters use tabs in code.

thick plover
#

sorry, spaces! haha

dry fossil
#

Well you have a tab, since that's what \t is.

#

If you're using a real editor like VS Code, you can set it to insert a number of spaces whenever you tab. I use 4, I know some people prefer 2.

thick plover
#

yeah, got it.

#

Notepad ++ - is it trash?

dry fossil
#

It's... ok

#

VS Code is fast. No reason not to use it.

jolly narwhal
#

If set up correctly

#

Even I use vscode

#

And I'm a hardware nรธrd

thick plover
#

i will dl shortly ๐Ÿ™‚

#

I think it has worked

dry fossil
#

Finally this year โ€” right before the Labor Day weekend โ€” Googleโ€™s developer advocate decided to weigh in. โ€œWe are going to parse a billion files among 14 programming languages to decide which one is on top.โ€ They crunched files from the top 400,000 GitHub repositories, looking at only files of code written in the top languages โ€” and their chart showed that spaces were by far the most popular method of indenting, in every language. Except Go and C.
Spaces ftw.

thick plover
#

although mosquitto has some strange name of b8952f72e23a_mosquitto

dry fossil
#

The container? You didn't give it a name.

#

But don't worry about what Docker refers to it as.

thick plover
#

i have slight OCD...

#

anyway... haha

dry fossil
#

It's just a unique ID. If you spun up two of the same container, they'd need different ID's.

thick plover
#

ah, i must have done that

#

even tho mosquitto isnt there

dry fossil
#

Not where? Your Compose file? You ran that stupid Docker command earlier with all the args ๐Ÿ˜‰

#

Destroy that container, use Compose.

thick plover
#

i deleted the old containers

#

anyway, it doesn't matter

#

what matters is, i need to get into the front end now ๐Ÿ™‚

dry fossil
#

I don't use the UI, I'll let someone else jump in.

thick plover
#

how do you add devices then?

dry fossil
#

MQTT ๐ŸŽ‰

#

Zigbee2MQTT does everything via MQTT. The UI is just there for people that like UI's instead of command line stuff.

thick plover
#

do the new devices pop up in the config.yaml for mqtt?

dry fossil
#

Nope. configuration.yaml for purely for config. You'll see other stuff appear in devices.yaml and groups.yaml as appropriate.

obsidian sandalBOT
thick plover
#

got that in the z2m.yaml

compact plover
#

I've installed ZAH which seems to work fine with my newly flashed llama ZZH stick. Trying to pair an Aqara motion sensor to test and it starts fine but then seems to stop. It says starting interview and shows the device (which flashes blue) but then nothing is saved afterwards

dry fossil
compact plover
#

I got it to "Starting Interview
IEEE: 00:15:8d:00:03:ce:5c:a7
NWK: 0x91b3" - but what should I do after that to make the device usable in HA?

#

I kept pressing and it worked!

#

cool

thick plover
#

would I have to open up the port on whatever machine I am trying to access the UI on?

#

and @dry fossil - if I have made changes to config etc, should I be telling docker-compose to rerun or something?

dry fossil
#

No need to tag me. If I'm not here to read your messages, I'm not coming back to the computer for you ๐Ÿ˜‰

#

Yes, you'll usually want to restart a container if you change the config, unless the application running in that container has another mechanism to pick up changes.

thick plover
#

ok and that is via docker-compose up?

dry fossil
#

That'll only do something if the Compose definition has changed. docker-compose restart <containername> to force a restart.

thick plover
#

legend

#

grrr, no luck with getting the UI going

austere patio
#

That should at least tell you if it will "work". Figuring out why the user you're trying to run HA as doesn't have permission is a different problem.

azure tinsel
#

Does anyone have experience with zigbee curtain motors? And which ones work out of the box with zha? I read there are allot with problems like Aqara and zemismart. Which do not show up properly. Or is this allready fixed

austere patio
#

More tuya...

hollow condor
#

@azure tinsel I use IKEA Trรฅdfri without issues

#

fyrtur

ivory hound
#

that moment when you hear ppl they use ikea tradfri without issues and you have 2 bulbs that brings down half of your zigbee network in one day, is laughable ๐Ÿคฃ

austere patio
#

That update is coming any day now

ivory hound
austere patio
#

That stupid OTA update that IKEA will never release that upgrades all of their stuff to the newer EmberZNet that doesn't have the crashing problem

ivory hound
#

ah lol really you still wait for ikea update

#

i have ikea bulbs for 2 years now i moved on

austere patio
#

I run into it like once every six months so it's not really an issue for me but one can still hope

ivory hound
#

let me know when they do it ๐Ÿ™‚ but my guess is we both gonna be old or dead by then ๐Ÿ™‚

#

i dont know how is that work for you but for me ikea crush my z2m network badly every day i had a device not working because of them

#

after i've removed them all is super ok

#

i think they worked ok in ZHA with Elelabs-ELU013

#

but on z2mqtt disaster

austere patio
#

Every single router on my network is IKEA (or LEEDARSON ๐Ÿคฎ) and they work fine with a TI coordinator ๐Ÿคทโ€โ™‚๏ธ . Could be that specific network layouts or devices joining/leaving frequently makes it happen sooner.

ivory hound
#

no idea for me they are shit

jolly narwhal
#

You mean my 60+ IKEA bulbs @ivory hound ?

ivory hound
#

i am not holding my breath for any updates ๐Ÿ™‚

ivory hound
jolly narwhal
ivory hound
#

haha

#

is a mystery to me how your network holds @jolly narwhal , what do you have as a integration ZHA? what coordinator?

fading ether
#

Howdy. Random question, every now and then Zigbeee devices disappear what is the best way to re-add them? Forget them and them add them new?

jolly narwhal
#

Cc1352p2 and zigbee2mqtt @ivory hound

fading ether
#

They don't disappear but rather disconnect.

rugged hinge
#

I have a MS01 by eWeLink motion sensor that keeps triggering for no reason. Its set up via ZHA. Any suggestions on what I can try?

austere patio
ivory hound
#

ah i don't know that coordinator, I have a CC2652R

fading ether
#

Where is the best place to view the ZHA log

ivory hound
#

some sensors report motion when battery is done

rugged hinge
#

@ivory hound It reads 100%. Its new of this week

#

Ill try a new battery though

austere patio
ivory hound
#

ikea trafri bulbs and so

fading ether
#

Nope. No routers. Well, I have a Tube one, but it is not setup. They are aqara sensors that connect to a HUSBZB-1

austere patio
#

You definitely want to set up some routers ๐Ÿ™‚

fading ether
#

On the log front, I understand the general logs. Is there a way to view specific entries for ZHA?

ivory hound
#

maybe your network is does not have enough covereage

#

my advice @fading ether add some routers

#

and

fading ether
#

I was mucking with my wifi network and I wonder if it caused some interference.

ivory hound
#

make sure no wifi / bluetooth interference

fading ether
#

I have had the same problem the last time, I was messing with wifi.

austere patio
#

Unless your WiFi network is running on a channel other than 1/6/11, it shouldn't be a problem

fading ether
#

Meaning, I rewired my wifi network and so things went down and then came back.

#

Good point.

#

I can add my router. I have one and just have not enabled it. :-)

austere patio
#

Depending on the Aqara devices you have, they likely won't notice it. You will have to re-join them through that router specifically to make sure they don't pick the coordinator as a parent again (if it's far away)

fading ether
#

Channel 11 and151

#

For Wifi.

#

So that is a problem?

austere patio
#

5GHz won't be an issue here and WiFi 11 is on the opposite end of the 2.4GHz spectrum from Zigbee 15

fading ether
#

Okay

#

If I do that, I need to figure out how to join through the router.

austere patio
#

After you join the router, instead of clicking on the "add devices" button on the bottom right, click on the router device and there should be a button to permit joins only through it

ivory hound
#

@austere patio what you said about wifi channes and zigbee ones is not quite right

#

or maybe i misunderstood

#

let me give you guys a thing to help

#

with that

ivory hound
#

@fading ether read this

#

i think is the same

#

haha

austere patio
#

Zigbee 15 sits between WiFi 1 and 6. WiFi 11 is far away.

fading ether
#

Not sure I understand, honestly.

#

I get the 1,6,11 thing ,and am trying to determine if wifi 11 is a problem and what to do about it.

ivory hound
#

@fading ether ok so is like this

#

wifi zigbee and bluetooth

fading ether
#

I have two APs and both broadcast on 11

ivory hound
#

they all use ~2,4GHz

fading ether
#

Right, I get that.

ivory hound
#

now if you have stron wifi on a channel lets say 11

#

like you said

fading ether
#

Everything is on 11 which I would think would be okay because Zigbee could use 1 or 6

ivory hound
#

that means zigbee channel 24 is kinda saturated

fading ether
#

So is it smart enough to know now to use that channel since the other two are clear?

ivory hound
#

read what i've sent

sour shadow
ivory hound
#

you will get it

sour shadow
#

You want to read that link, about Zigbee channels vs WiFi channels

ivory hound
#

i sent same one

sour shadow
ivory hound
#

also @fading ether i understand you have 2 ap in your home both on same channel?

fading ether
#

Yes.

ivory hound
#

dot do that ๐Ÿ™‚

#

is bad

fading ether
#

My Unifi system does that automatically.

sour shadow
#

Then it needs taken to one side and shot

#

Deliberately causing interference is dumb

ivory hound
#

yah it does that mesh shit

#

they are not ap's

fading ether
#

Nope, no mesh.

ivory hound
#

they are repeaters in this case

fading ether
#

It was meshed, but I fixed that today. 2 hardwired APs.

ivory hound
#

anyway not zigbee related, moving on

fading ether
#

Net net the aqara sensors all work fine, but one is a bit finicky.

ivory hound
#

2 ap on same channel is a big mistake

fading ether
#

It is a water sensor and is surrounded by three others which are all happy.

austere patio
#

What do the LQI values look like for the three devices?

fading ether
#

One sec.

austere patio
#

It could be that they're just all barely connected and a draining battery is causing the radio to operate at a lower power

ivory hound
#

@fading ether go here and read all again you have all the questions and info you need

fading ether
#

LQI=104

#

LQI=4-

#

40

sour shadow
#

The range is 1 (terrible) to 254 (awesome)

fading ether
#

Strange that they are so different.

sour shadow
#

1 is basically nearly dead

austere patio
#

I don't recall the "okay" range for SiLabs coordinators but I don't think the 40 is very good

fading ether
#

Gotcha.

ivory hound
#

from what i understand LQI of 20+ is ok

sour shadow
#

TBH I see LQIs all the way down to 20 - without general issues

austere patio
#

For TI, LQI = remapped last-hop RSSI

#

For SiLabs, LQI is more complicated and more indicative of Zigbee link quality

#

Can't really compare values between different coordinator hardware and especially firmware

fading ether
#

Okay, back to the topic. All I can think if is that something about my wifi reconfiguration caused the sensor to drop offline.

austere patio
#

Get that router placed half way between where the coordinator and your sensors, permit joins through the router, and re-join all the sensors to your mesh through it

fading ether
#

k

sour shadow
#

More routers are always a good thing

austere patio
#

There really isn't a whole lot left to debug if the sensor is gone and you've checked the usual suspects, like batteries

fading ether
#

Is there a specific zha log to review?

austere patio
#

I don't have the water leak sensors but if they also have a blue indicator LED and it is very dim when it blinks, swap out the battery

#

If you didn't enable debug logging it won't contain much but the entries are in the main home-assistant.log file

fading ether
#

got it, but that log contains alot of other junk. Is it easy to etup remote logging? I have that on my Linux boxes.

austere patio
#

Not sure. I usually just grep it and look for (case-insensitive) zigpy|bellows|zha

ivory hound
#

@sour shadow that hue motion sensor is great even got firmware update for it on z2m

fading ether
#

Got it. So you use the CLI.

ivory hound
#

is awesome

sour shadow
#

I may have to splash for a couple of them myself

fading ether
#

Is it located at /var/log?

austere patio
#

It's in the same folder as your configuration.yaml file

fading ether
#

Thx

ivory hound
#

i had on it 2016 firmware now i have 2019

golden vessel
#

anyone played with the Sonoff Zigbee 3.0 USB Dongle? Is it any good?

#

its much cheaper than the Elelabs stick...

golden vessel
#

still not the perfect cheap stick ๐Ÿ˜ฆ

rugged hinge
#

@ivory hound i wanted to report back that changing my battery fixed it. Thanks for the help

gentle flint
austere patio
#

Why did they ship this thing out?

dim shard
#

Hey guys. I'm running into issues with my Zigbee network. When I call lights from automations, services or Node Red they have a tendency to not respond at times. Especially when I'm trying to call multiple lights at once, some don't turn on or off when the service call is made. And for the life of me, I can't seem to figure out why.

#

Anyone have any idea what could cause this?

austere patio
#

What Zigbee stick and integration are you using?

dim shard
#

ZHA with a Conbee II

#

But the problem started happening before I moved to Proxmox, on my RPi with the RaspBee II shield.

mellow geode
#

Conbee II also had the same issue for me

#

Switching to an Elelabs stick, ZZH or one of tubes coordinators should solve it

dim shard
#

The thing is, I didn't have the issue with my RaspBee shield at first.

mellow geode
#

With ZHA or deConz?

dim shard
#

ZHA

#

I ended up do having that issue. Then I moved to Proxmox and had to get a Conbee stick, which has the exact same issue.

mellow geode
#

I guess you could try updating the firmware but that didnโ€™t solve this issue for me back then

dim shard
#

Already tried that. But for me it didn't help either.

#

Might a channel change help? Then I'll just change to channel 11 on both my Conbee and ZHA. That should have no overlap with nearby wireless channels, which it does have now.

rugged hinge
#

I lied. My motion sensor is going crazy again. Battery replaced, any other suggestions?

#

MS01 by eWeLink connected via ZHA

rugged hinge
golden vessel
#

I've also had issues with ikea ones (usually not that frequent) and some xiaomi ones :/

#

also ZHA

#

I need to buy another pack of batteries... just to make sure its not them

thick plover
#

Wondering if anyone knows how to troubleshoot the front end of zigbee2mqtt. I have installed both mosquitto broker and z2m as docker containers (running on a raspberry Pi with Linux/raspbian) and they are running, but cannot get the UI to work.

thick plover
#

actually, now it is working, however....

zigbee2mqtt    | Zigbee2MQTT:info  2021-04-18 16:51:28: Started frontend on port 192.168.1.65:8080
zigbee2mqtt    | Zigbee2MQTT:info  2021-04-18 16:51:28: Connecting to MQTT server at mqtt://localhost:1883
zigbee2mqtt    | Zigbee2MQTT:debug 2021-04-18 16:51:28: Using MQTT anonymous login
zigbee2mqtt    | Zigbee2MQTT:error 2021-04-18 16:51:38: Not connected to MQTT server!
#

its Not connecting to the MQQT server

jolly narwhal
#

Well, is the mqtt server running on the same server as zigbee2mqtt?

thick plover
#

yeah it is

#

I am gonna confirm step 3 is done

jolly narwhal
#

If it is in containers localhost might not be correct

thick plover
#

it is, should I slap the IP of the host in there?

#

it did have IP:PORT

jolly narwhal
#

Maybe

#

I am a sith, I always deal with abdolutes

thick plover
#
zigbee2mqtt    | Zigbee2MQTT:info  2021-04-18 17:09:37: Connecting to MQTT server at mqtt://192.168.1.65
zigbee2mqtt    | Zigbee2MQTT:debug 2021-04-18 17:09:37: Using MQTT anonymous login
zigbee2mqtt    | Zigbee2MQTT:error 2021-04-18 17:09:47: Not connected to MQTT server!
#

still get that

jolly narwhal
#

Well, is the container running?

thick plover
#

yes

jolly narwhal
#

docker logs <mqttcontainername>

thick plover
#

b8952f72e23a_mosquitto | 1618729841: mosquitto version 2.0.10 running

#

that is the entire start sequence

jolly narwhal
thick plover
#

should I be concerned about Error: Address not available ?

jolly narwhal
#

Then you have forgotten to tell it to listen

#

Or you have a conflict

thick plover
#

how do you tell it to listed? is that listener 1883?

jolly narwhal
#

My entire mosquitto.conf

thick plover
#

legend

jolly narwhal
thick plover
#

that looks very different to mine

#

uh thats my z2m one thats why lol

#

god, now it throws different errors

#
b8952f72e23a_mosquitto | 1618730477: Error found at /mosquitto/config/mosquitto.conf:881.
#

think I got it working, although by using docker-compose up to run it all, the only way I can then do something on the host is by hitting CTRL-C which kills the containers...

jolly narwhal
#

Well log_desk isn't valid

thick plover
#

yep, removed that and it worked ๐Ÿ™‚

jolly narwhal
#

You need to run docker-compose up -d

thick plover
#

aw snap

#

now, last thing before i disappear adding all my devices to this network. naming conventions... whats the best way to do that?

jolly narwhal
#

I do domain.room_fixture_bulbnumber

thick plover
#

so light.office_ceiling_1 or sensor.bathroom_humidity_1 ?

jolly narwhal
#

light.livingroom_doglamp or light.livingroom_upstandinglamp_3 or switch.livingroom_dumblamp

#

Yes

thick plover
#

awesome

#

thanks once again mate

#

one more, does that differ to friendly name?

jolly narwhal
#

Yes

#

That would be Livingroom Doglamp

#

For example

thick plover
#

perfect, although how do you change the device_id?

#

and then, how does this all plug in to HA? Through the z2m integration? or mqtt?

#

add-on not integration

jolly narwhal
#

I do all my renaming of devices in Z2m

#

But friendly name in z2m is a template for how the device name and friendly name will look in ha

thick plover
#

oh. so a friendly name for a sensor of office_temperature will come into HA looking like sensor.office_temperature ?

jolly narwhal
#

Yes

thick plover
#

awesome

jolly narwhal
#

Or friendly name of Office Temperature will be sensor.office_temperature

thick plover
#

and to discover devices in HA, just slap the mqtt stuff in the config file?

jolly narwhal
#

Nope

#

Just add the mqtt integration

#

And enable home assistant in z2m

#

It will automatically populate and remove devices in ha

thick plover
#

awesome

thick plover
#

so just deleted a Philips Hue light from the Hue app, now it is discoverable by both Hue app and Alexa, should it automatically pop up in the z2m UI, or do I have to manually serach?

#

cos only 1/3 have worked so far

jolly narwhal
#

You have to enable joining in z2m

#

And then put the bulb in pairing mode, which if it isn't paired it should be

thick plover
#

yeah have done that. permit to join all is on, and have deleted the devices from the Hue app

#

just deleted a heap more, they all got picked up right away by alexa

#

that isn't why they aren't showing is it?

#

restart of z2m sorted it

#

and now its all instantaneous

thick plover
#

righto, another problem...

b8952f72e23a eclipse-mosquitto:latest "/docker-entrypoint.โ€ฆ" 21 hours ago Restarting (13) 21 seconds ago b8952f72e23a_mosquitto

#

mosquitto is 'restarting' non stop

#

and ever since it did, z2m won't work

jolly narwhal
#

Well, read the logs

#

Or start it attached

#

docker stop <containername>

#

docker start -a <containername>

thick plover
#

nothing new int he logs

#

yeah still sitting at 'restarting' even after starting attached

jolly narwhal
#

You should see everything happening on the console if you start it attached

#

It will tell you why for sure

thick plover
#

it did nothing. just started it and put it into restarting status again

#

like, no wall of text on the console at all

#

alright, I removed my password line password_file /mosquitto/config/mosquitto.password and turned anon access back on and it all worked

jolly narwhal
#

So it restarted because the file didn't exist

thick plover
golden vessel
#

@thick plover Remember that you can always go ZHA and avoid all that trouble ๐Ÿ˜€

sour shadow
thick plover
#

as in the folder directory of the container?

sour shadow
#

Well, sort of - where something sits on the host doesn't matter for where it is inside the container

thick plover
#

righto... how do you get it in the container then?

sour shadow
#

What does your compose file look like?

thick plover
sour shadow
#

Well, yeah, you haven't mapped the password file through ๐Ÿ˜„

#
    volumes:
      - ./data-mosquitto/config/mosquitto.conf:/mosquitto/config/mosquitto.conf
      - ./data-mosquitto/data:/mosquitto/data
      - ./data-mosquitto/log:/mosquitto/log
``` no `mosquitto.password` there
dry fossil
#

Why not just map the entire config folder in? ๐Ÿค”

#
    volumes:
      - ./data-mosquitto/config/:/mosquitto/config/```
That'd save having to map individual files.
#

Also works in reverse... any files Mosquitto creates in that folder that you hadn't explicitly mapped will survive when you recreate the container.

thick plover
#

oh cool

#

am i gonna lose all my z2m devices if I do this? ๐Ÿ™‚

sour shadow
#

No

thick plover
#

which side of the colon is inside the container?

jolly narwhal
#

Right

thick plover
#

ah yeah, should have noticed that

#

is there a way to encrypt the mosquitto.password file?

jolly narwhal
#

It is already

#

If you use the utility

frail shell
#

Hello people , does someone has experience with connecting a xiaomi pir to a different hub then the orginal one

jolly narwhal
#

Yes

#

I have multiple with zigbee2mqtt

frail shell
#

ah nice

thick plover
#

any tips for devices that refuse to pair?

sour shadow
#

Try a new battery. Try a slightly different location. Make sure it's within reach of a router that has capacity. Check that it supports the channel your mesh uses...

thick plover
#

ah, capacity. whats the capacity of these devices?

#

CC2652R is what I have

sour shadow
#

Well, every router has different limits

#

Some may be as low as half a dozen, some may be up at 50 or so

#

That coordinator should be good for a few dozen

thick plover
#

36 on there so far...

#

I will do some digging around on that one.

As for programming something like a light switch to do x when you press it... would that be done in z2m or in HA?

sour shadow
#

Well, you can possibly do both

#

Binding allows you to have one Zigbee device directly control another

#

otherwise it's automations all the way

thick plover
#

hmm should have done some more research before I jumped all in on this haha. someones going to kill me ๐Ÿ˜„

sour shadow
#

The biggest challenge is usually building out the mesh

jolly narwhal
#

Not the wife?

sour shadow
#

She's become used to the fact that there's yet another AliExpress/Amazon delivery with yet another gadget

jolly narwhal
#

You mean, two every day

thick plover
#

i snapped a philips hue light taking it out of the ceiling this evening, the spring bracket retainer snapped.... theres a new one arriving tomorrow ๐Ÿ˜„

thick plover
#

Supports controllers integrated with one of the following integrations: deCONZ, ZHA, Zigbee2MQTT.

#

does that mean you need to be using the actual HA integration of z2m to use this blueprint?

dry fossil
#

Z2M isn't an integration. It's a piece of software that sends all the Zigbee commands via MQTT, which HA has an integration for.

#

MQTT is MQTT. Doesn't change a thing.

thick plover
#

ok so that should work then

thick plover
#

I think zigbee2MQTT has broken my HA...

#
Source: util/logging.py:101
First occurred: 23:30:57 (5 occurrences)
Last logged: 23:30:57

Exception in state_received when handling msg on 'zigbee2mqtt/Kitchen Ceiling 1': '{"update":{"state":"idle"},"update_available":false}' Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/mqtt/debug_info.py", line 32, in wrapper msg_callback(msg) File "/usr/src/homeassistant/homeassistant/components/mqtt/light/schema_json.py", line 297, in state_received if values["state"] == "ON": KeyError: 'state'```
dry fossil
#

Z2M can't break HA, it doesn't talk to HA ๐Ÿ˜‰

#

If something's wrong between HA and MQTT, diagnose that.

#

It's probably not a Zigbee thing though.

thick plover
#

i think a bloke in automations is helping out.... just was weird that it also threw that error up there

#

ah cool

dire willow
#

FIGURED IT OUT and in case people buy the same remote and want to figure it out too

#

The instructions say to press and hold the power button--- the trick is that you need to POWER the remote on first, so it is not just a press and hold the power button and then hit the s1

#

actually:
press the power to turn it on, then press and hold the power button, then hit s1

dire willow
#

but, the getting it to work thing was hard...

icy tusk
#

I am starting to have to replace batteries on my zigbee devices. It looks like around 50% battery charge they are getting unreliable and even drop off the network as 'unavailable'. Just replacing the battery doesn't make them available again .... I have to re-pair the device which is a nuisance and it doesn't make sense to me. Is this normal or is there a secret handshake that I am missing ?

sour shadow
#

Wake them?

icy tusk
#

I tried restarting HA, rebooting the host, pressing the reset button on the device, running a reconfigure for the device - nothing works

sour shadow
#

Simply waking the devices has never failed me, but you haven't said what those brands are

icy tusk
#

So far they are all Sonoff brand, mostly PIR's and one temp/humidity sensor. How do you wake them ?

sour shadow
#

Usually it's a short press on the reset/pair button, enough to wake them but not enough to reset them

icy tusk
#

On the PIR, I did try to activate them by moving mu hand in front of the sensor and it triggers (flashes) but doesn't become available

sour shadow
#

On Xiaomi and Konke devices it causes the LED to flash and the device to check in

icy tusk
#

I tried the short reset as well - no joy

#

OK, thanks .... if doing the quick reset push is 'supposed' to work, I will try that more diligently on the next device tat goes down. I tried it on both a pir and the temp/humidity sensor but I didn't try it multiple times and these things sometimes need convincing.

sour shadow
#

Of course, if you're regularly replacing batteries, then either they're really crappy (well, they are Sonoff), or you're lacking enough routers for a healthy mesh

#

You should get 2+ years from a set of batteries

icy tusk
#

How about 3 - 4 months ???? I wasn't going to worry about battery life until I replaced the batteries that came with the devices which might not be too good. The replacements have dates marked on them so I can see what happens with new batteries.

sour shadow
#

If you can measure it in months then that's not good

#

I've had to replace one battery that came with a device before that device was in use for a year

#

Out of ... 40 or so

icy tusk
#

Yeah, I wasn't too impressed either but before I get all bent out of shape I want to see what happens with new batteries. Mind you, they are still China batteries ....

sour shadow
#

I have 30 Xiaomi devices, from China, and 10 Konke, ditto, one battery failed before a year was up

icy tusk
#

I have roughly 20 zigbee devices going and replaced5 batteries so far ... I think

sour shadow
#

I've replaced three batteries, in the humidity sensors, all of which have been in use for 18-24 months

#

One door sensor had a failing battery after 4 months, that's the only outlier

#

The humidity sensors do seem to go through batteries faster than the door/window sensors, none of which are showing any drop in battery level of note

icy tusk
#

Hmmmmm, maybe I need to look at bringing in a Xiaomi device for testing. Do they make PIR's that are small and are not prone to random triggering (Sonoff's trigger maybe 2 or 3 times per day)

sour shadow
#

The Sonoffs are known to be crappy motion sensors

icy tusk
#

Yes, I have figured that out. I have some Aquara units coming but they are almost twice the price and three times the physical size. The Sonoff's are easy to stick all over the place and not too obvious.

sour shadow
#

I prefer the look of the Konke units, they're a lot easier to overlook

icy tusk
#

I do not use mqtt .... another thing to go wrong

sour shadow
#

Nothing goes wrong shrug

icy tusk
#

I will have a search for the Konke one's - can't say I ever noticed them before

sour shadow
#

They're relatively new, but easy to get on AliExpress

icy tusk
#

Got a link? I just did a search and nothing 'konke' in the first page of search results searching for 'konke'. Instead I get a lot of Aquara devices

jolly narwhal
#

Batteries you say

#

I've replaced one inside my house in 2 years

#

And one outside

icy tusk
#

Gaaaaahhhhhh

icy tusk
#

Thanks .... I actually searched for 'konke motion' ..... I will look those over and maybe bring one in to test - thanks!

#

Konke PIR ordered ..... thanks again!

sour shadow
#

Now I hope you read the links I posted earlier, and paid attention to my warning ๐Ÿ˜‰

icy tusk
#

Ummm .... no, I didn't because they seemed to relate to MQTT ....

sour shadow
#

Well... they're docs about the devices, while parts are Z2M specific, parts aren't ๐Ÿ˜‰

icy tusk
#

I see that the device only works on a few channels .... I will deal with that when I get the thing. So far I have never had to deal with setting channels or anything else for that matter. I just pair it and I am off to the races.

sour shadow
#

Yes, which is why I warned about that

#

If you have to change channel you have to re-pair everything

icy tusk
#

It does look nice and small which I prefer so if it works and doesn't false trigger then it will probably become my go-to device

#

OMG ..... I did not realize that re-pairing would be required for everything. ..... I will cross the bridge when I come to it ๐Ÿ™‚

dry fossil
#

Or... re-pair them all while you wait for your order to arrive so everything works that day with minimal effort.

icy tusk
#

Good idea mono ..... need to figure out how to change channels first ....

sour shadow
#

Covered in the ZHA docs

#

Possibly it's 15 by default, but it's not clear

icy tusk
#

Found it .... never looked at the doc's before, interesting ....

sour shadow
#

The docs are full of useful and relevant things ๐Ÿ˜‚

icy tusk
#

Imagine that ....n who would have thunk ... ๐Ÿ™‚

ivory hound
#

how do i stop an ota on z2m?

#

any way to force stop it? seem is stuck

jolly narwhal
#

Nope

#

It'll time out

#

I've never seen one hang though

#

I've done... Probably 100

sour shadow
#

Yeah, they either run to completion, or fail with a timeout

ivory hound
#

yeah, I've succeeded that

#

๐Ÿ˜…

#

it was working nicely and i closed z2m web interface

#

and when i open it again

#

it says in progress time N/A

#

and stuck

untold talon
#

Hey all

#

Trying to get an Aurora dimmer to turn on and off and dim a couple of zigbee light bulbs

#

Anyway to do this withtou node-red?

rigid spear
#

adding a zigbee stick here (Nortek) and the integration asks me for "port speed" and "data flow control"
what are the value? couldn't find the answer

austere patio
jolly narwhal
#

I'm a VM or a docker container?

thick plover
#

Anyone able to break down how to get the Philips Hue Dimmer working with lights connected via zigbee2mqtt? I have tried a few automations and blueprints and cannot seem to get it going. It makes me wonder if they are even working in z2m. I did the reset on the device, interviewed and added to z2m fine, but they still show on the Hue app and don't send any data in the z2m log when the buttons are pressed.

jolly narwhal
#

Well, does the device appear in z2m?

#

And in HA?

#

As in, available

#

Mine say "last seen: 1 minute ago" in z2m

#

Even if I haven't pressed it for days

#

This automation uses a hue dimmer switch

thick plover
#

mine appear in z2m but say "N/A" under last seen

sour shadow
#

Make sure that last_seen is enabled

#

However, if it shows in the Hue app and works there, it's not connected to Z2M

thick plover
#

Any idea how to get rid of it from the Hue app?

#

the 'accessories' in the hue app, none of them budge

sour shadow
#

No idea, don't use it since I took my Hue bridge to the recycling centre ๐Ÿ˜‚

ivory hound
#

@thick plover the correct way to remove zigbee devices from hue bridge is to unbind / remove them from hue bridge while your zigbee network is open to receive new devices

#

in your case

#

i would do this

#

remove device from z2m

thick plover
#

ah so remove from z2m and try remove from hue again?

ivory hound
#

then open join in z2m

#

and then do remove zigbee devices from hue bridge is to unbind / remove them from hue bridge while your zigbee network is open to receive new devices

thick plover
#

all my devices are now last seen 'just now'

ivory hound
#

the thing is that device should not be joined anywhere while you want to join it on z2m

thick plover
#

actually i think its all good, they all say 'unreachable' now in the hue app

#

FMD - i didn't realize the delete button was hidden on the ios hue app and you had to scroll down the page hahaha

ivory hound
#

that's not good

#

that means hue still wants to reach them

thick plover
#

they are all deleted now ๐Ÿ™‚

#

gonna give atxbyea's automation a go now...

ivory hound
#

yah the thing is they still remain in hue network if you delete them while they are unreachable ๐Ÿ™‚

#

i should know it happen to me in the begining

#

however that wont be a problem if you unplug hue bridge

thick plover
#

oh its getting unplugged ๐Ÿ™‚

#

i have 0 requirement for it now

ivory hound
#

then you are fine

#

MQTT publish: topic 'zigbee2mqtt/Kitchen Dimmer', payload '{"battery":89,"counter":1,"last_seen":"2021-04-19T07:05:36.048Z","linkquality":66,"update":{"progress":72.72,"remaining":447,"state":"updating"},"update_available":false}'

#

uhuuu

#

speaking of hue

#

haha

thick plover
#

instead of using scene.turn_on could you use light.turn_on?

ivory hound
#

yes

thick plover
#

hmm - not working for me that way then

ivory hound
#

but not in scene context

#

look at docs

thick plover
#
alias: Office HueDimmer On
description: ''
trigger:
  - platform: state
    entity_id: sensor.office_action
    to: on-press
condition: []
action:
  - service: light.turn_on
    target:
      entity_id: light.office_lights
mode: single
ivory hound
#

Finished update of 'Kitchen Dimmer' ๐Ÿ˜„

thick plover
#

i updated a light last night, took forever

#

47 minutes

ivory hound
#

this is how it works

#

data transfer rates are very slow

#

but hey it works

#

zigbee is not build for speed

thick plover
#

except for when yours truly wants to get a switch to turn a group of lights on and off...

ivory hound
#

how many?

sour shadow
#

Zigbee groups are great for that

ivory hound
#

like @sour shadow said if that group needs to have many zigbee lights use a zigbee group

thick plover
#

like 3

#

yeah was going to make groups in z2m and try that instead

ivory hound
#

if you only need under 4 or so lights in that group you can do a group in home assistant

thick plover
#

yeah I have the lights all set up as groups in HA already

#

doesn't work with those, so will try via a z2m group

ivory hound
#

so what's not working?

thick plover
#

just nothing when I click the button on the remote

sour shadow
#

I did a group for three lights, works more reliably than when doing them one at a time

ivory hound
#

yah you did something wrong

#

i have light groups in ha and they work flowerless

#

they never failed

thick plover
#

they worked with the hue entities

#

do the z2m groups carry over to HA?

ivory hound
#

again read docs

thick plover
#

๐Ÿ˜„ will do

ivory hound
#

we can't answer every question you have ๐Ÿ™‚ we are not encyclopedia

thick plover
#

then why the hell am I here? ๐Ÿ˜„

ivory hound
#

you do realize all ppl here help voluntary, right?

thick plover
#

I am joking mate. Of course. And hopefully I can impart wisdom some day too

ivory hound
#

hope so, not to long agao i was you ๐Ÿ™‚

thick plover
#

weird, the hue dimmer that I have been trying to get working, I can see it in the Map on z2m, however its not connected to anything...

sour shadow
#

I see that on and off - devices that aren't connected, apparently, yet work fine

thick plover
#

BTW Tinkerer, now up to 46 devices on the CC2652R

#

got it all working ๐Ÿ˜„ no idea why its decided to start working, but automations controlling the lights now work

#

now, what other sensors should I buy ๐Ÿ˜„

sour shadow
#

All of them

thick plover
#

this is the correct answer

#

i will let my wife know ๐Ÿ™‚

#

when the stuff arrives...

dry fossil
#

The trick is to also buy a bunch of stuff for her at the same time.

#

Either she won't even notice your stuff or she'll be so happy with her stuff that she won't question your stuff.

jolly narwhal
#

MR SMART

analog quail
#

Hi, I've been looking at light bulbs on Amazon - can you still get ZigBee compatible bulbs? Most of them now seem to say 2.54GHz WiFi and not Zigbee yet they all claim compatibility with Hue etc. I had Innr before but they don't seem to be available now for a reasonable price.

jolly narwhal
#

I don't see amazon stopping selling zigbee anytime soon

analog quail
#

maybe it's because I'm looking for an E14 bulb

jolly narwhal
#

but zigbee is 2.4ghz just like 802.11.b\g\n

violet dagger
#

just look for the red Z logo

sour shadow
#

See the hardware lists in the pinned messages

analog quail
#

Ah I see, it's strange some of them say you need to enable 2.4Ghz on your WiFi AP so I assumed they were "normal" WiFi.

sour shadow
#

Well, those are normal WiFi

#

But ... 2.4 GHz means nothing

#

WiFi, Bluetooth, Zigbee, and more all live there

analog quail
#

Right I understand thanks.

sour shadow
#

I bought some Ikea E14 bulbs the other day, not from Amazon, but Amazon also lists a range of options

analog quail
#

But the ones that are WiFi (not Zigbee) are not compatible with Home Assistant without flashing their firmware?

sour shadow
#

They're possibly supported by one of the various cloud based integrations, if you're lucky

jolly narwhal
#

A lot are compatible with stock firmware

#

a lot are not

analog quail
#

I've already got a ConBee so will find a Zigbee one. Thanks.

jolly narwhal
#

my condolances

#

๐Ÿ˜„

analog quail
#

Is ConBee not good ?

jolly narwhal
#

depends, which zigbee platform are you using it with ?

analog quail
#

I think it's Phoscon ?

jolly narwhal
#

that supposedly works fine

analog quail
jolly narwhal
analog quail
#

thanks

ocean timber
ivory hound
#

so i'd like to bribe someone to be able to update in z2m Samsung GP-U999SJVLBEA SmartThings Motion Sensor and Samsung SmartThings GP-U999SJVLAEA Multifunction Sensor ๐Ÿคฃ

#

that would be awesome

#

when i sold my SmartThings hub i did not think about the update part :))

thick plover
desert cloak
#

Just notice the binding option on zigbee2mqtt. Does that mean that I can for example make my tradfri remotes to directly control my tradfri bulbs or group of bulbs, and at the same time control the bulbs with zigbee2mqtt and read the actions the remotes are sending by mqtt.

jolly narwhal
#

if the devices support binding

#

not all do

desert cloak
#

Tradfri bulbs and tradfri remotes probably do?

jolly narwhal
#

probably

desert cloak
#

Isnโ€™t that the normal ikea way to use remotes

#

And motion sensors

jolly narwhal
#

probably, I don't use bindings at all

#

everything happens via HA

junior meteor
#

Yeah, afaik, IKEA's Tradfri system works like that that you directly bind remotes with bulbs and other stuff. That's what's biting them back now for adding new features

#

So it should support binding

dry fossil
#

You don't have to bind them. I have a blind and remote connected to Z2M.

desert cloak
#

I am using node red for ikea remotes now and maybe binding them directly may make the brightness up/down smoother

#

Instead of using my own node red functionality

jolly narwhal
#

you guys adjust your brightnesses manually ? ๐Ÿ˜„

dry fossil
#

Putting the 'manual' into 'home automation'

desert cloak
#

For the rest of the family yes, adaptive lightning did not get wife approval and had to remove it completely

jolly narwhal
#

wife loves adaptive lighting

desert cloak
#

Too dim for taking showers at the night

jolly narwhal
#

One of the few rooms I don't have smart lights yet, the bathroom but that should be easily addressable with a water sensor

#

if shower == lights up

#

or temp, or humidity

desert cloak
#

Too slow to adapt. Maybe have it another go after some planning first

dry fossil
#

Flow sensor then?

jolly narwhal
#

slow to adapt ? a temp sensor on the outflow pipe or a water sensor would be instantanious

desert cloak
#

Door sensor and motion sensor and temp/humidity in bathroom and sauna but the problem is how to know if she is going to take a shower in the middle of the night (needs enough light) or just go to the toilet (dim is good enough).

dry fossil
jolly narwhal
#

temp sensor on the outflow pipe will be hard to misinterpret

#

or a water sensor on the floor \ side of the shower

desert cloak
#

All the sensors should be invisible if asked her. Water sensors are in use under the dishwasher, washing machine and done other places I can hide them completely but on the bathroom floor, that would not be acceptable ๐Ÿง

dry fossil
#

You have pipes behind the wall, right?

jolly narwhal
dry fossil
#

Sensor on pipe = invisible.

jolly narwhal
#

or like 90% of norwegian showers, freestanding cabinets with skirts and easily accessible pipes

#

not sure how common that is in the rest of the world

dry fossil
#

Yeah, we have skirts too.

desert cloak
#

That would anyway be too slow if the light comes brighter just after the water is flowing. The compromise right now is to use door sensors and motion sensors together. Opening either of the bathroom doors between 1am and 5am will put light on at dim, but if the motion sensor above the shower also triggers they will go to the full brightness.

jolly narwhal
#

lights coming on at 100% brightness after 22:00

#

๐Ÿ‘€

#

I would die

dry fossil
#

Does the shower have a door? If so, just put a contact sensor on it.

jolly narwhal
dry fossil
#

But 'too slow'? How many seconds between opening the shower and turning it on? Like 2 seconds?

desert cloak
#

Well, everything should be invisible, immediate and work every time.

#

But iteration by iteration this will be better, not perfect but better ๐Ÿ˜

dry fossil
sour shadow
#

That sounds like it's going to be costly then ๐Ÿ˜‰

dry fossil
#

What if someone just wants to grab something from the shower cubical?

sour shadow
#

Reduced visibility == expensive ๐Ÿ˜„

#

(you start looking at recessed mountings for sensors, and those aren't cheap)

desert cloak
#

Yeah, compromises need to be made

sour shadow
#

TBH many surface mount sensors aren't exactly obvious - the Xiaomi light sensors for instance

thick plover
#

I think this hue dimmer I have is no good - it worked for a bit, now z2m says it hasn't been seen in over an hour ๐Ÿ˜ฆ

#

@ivory hound is this because its still looking for the hue hub?

ivory hound
#

if you press the buttons on it

#

they work?

ocean timber
jolly narwhal
#

or the outlet pipe

#

the inlet pipe can fluxuate based on nearby faucets

ocean timber
late mauve
#

I have a few cheap zigbee plugs with energy meters, Blitzwolf BW-SHP13 that I use with ConBee + deCONZ add-on. The plugs work fine, but seem to only update the power once per minute or so. Which is fine most for getting trends, but when the consumption goes from 0 to something more or from something to 0, I'd like to know within 2-3 second or so to be able to use it as a trigger. I can't find any setting in deCONZ for this and Google gave me loads of stuff but not what I want. Any tips here? Is it even possible?

ivory hound
#

@late mauve don't think you can do that

#

this is why i use tasmota plugs (wifi)

jolly narwhal
#

No idea about the blitzwolf zigbee plugs, I too use tasmota (including blitzwolf plugs) for all power monitoring needs

ivory hound
#

in fact because of this reason i removed all my zigbee plugs

violet dagger
#

they're fine with z2m

ivory hound
#

another issue i had with zigbee plugs on ZHA is some smart guy removed consumption in KWh and now all reports come as W witch is plain wrong

#

most have 2 sensors that report the same thing

ocean timber
ivory hound
#

as long as you can run tasmota on it it will work very good

#

you can even make them report like once per 2 or 3 seconds

#

you can make them report on percentage power change

#

anyway not zigbee moving on

#

look into that

violet dagger
#

who?

jolly narwhal
#

some jerk

violet dagger
#

that must be me then

ivory hound
#

:))))))

thick plover
#

if i take the battery out and put it back in, it starts working again

ivory hound
#

if you still speak about that hue dimmer, i am pretty sure is not paired correctly in this case

thick plover
#

yeah it is. bugger. i will try deleting from z2m, adding to hue again, deleting it properly from hue, then adding back to z2m

ivory hound
#

that's best way

sterile sleet
#

I have a new zzh, can I just adjust the path in .storage (was conbee til now) or are there additional steps I should take care of?

sour shadow
#

If you migrate the sticks (see the pinned messages), yes

thick plover
#

Tinkerer, what was that integration you mentioned that adapts the lights depending on the sun's state?

sour shadow
thick plover
#

sweet, looks like you can exclude/include rooms too

sterile sleet
#

radio_type = znp then? or ti_cc ?

foggy pawn
#

Hi there. I'm using the default HA Zigbee handler (ZDO?) and got a new Zigbee wall switch. Standard question: can I make it a pair software-only buttons, i.e. no actual mains switching ?

#

it's a (tuya) tyzs3-based device

sterile sleet
#

hm, no errors, no worky. devices available but do not react

sterile sleet
ivory hound
#

@sterile sleet did you flash it? u have zzh one no?

sterile sleet
#

I have zzh! and the test python script shows PASS|OK , yes I flashed it

ivory hound
#

can you share your zigbee2mqtt conf in a pastebin? also how do you run z2m?

sterile sleet
#

I run zha

ivory hound
#

ahhh

#

how do you run ha then?

sterile sleet
ivory hound
#

ok perfect

#

then make sure your use /dev/tty*

#

everywhere

sterile sleet
#

I use /dev/serial

ivory hound
#

yeah that is the problem

sterile sleet
#

wut

ivory hound
#

it happen to me too

#

try to change everywhere

#

it will work

sterile sleet
#

let me try..

ivory hound
#

go go

#

also remove and re add zha

#

or change paths or whatever

sterile sleet
#

updated compose, updated core.config_entries, starting now..

jolly narwhal
#

what in tarnation

#

I see no reason why that wouldn't work

ivory hound
#

i see some

foggy pawn
#

um... anybody with experience on those tuya devices? I'm using ZHA

jolly narwhal
#

I use a tuya zigbee device with z2m

ivory hound
#

you know most ppl don't know but /dev/tty* and /dev/serial/by-id don't use same drivers ๐Ÿ˜…

sterile sleet
#

tty* is usually just a symlink

#

and no worky either with ttyUSB0

foggy pawn
#

yes they're just symlinks

#

and using IDs is better so you don't screw up your devices. Esp. true with drives, you don't want to accidentally nuke your data ๐Ÿ˜›

ivory hound
#

@sterile sleet still not working?

foggy pawn
#

@jolly narwhal oof. I just wonder if there's a way to make a wall-switch essentially just a pair of software-controlled buttons -- I don't need it to switch anything since I have smart gear behind it already

sterile sleet
#

nope, I use device_type: ti_cc in core_config

ivory hound
#

my best guess is this happen because you updated from deconz to zzh without removing integration and just changing in confs

#

if i picked that right

sterile sleet
#

yes

ivory hound
#

try to remove zha

#

restart

#

and do a fresh zha add

sterile sleet
#

but I need to repair everything then?

ivory hound
#

in my opinion you need to repair eveything anyway

#

i just dont see it how you can switch from conbee to zzh without repairing

foggy pawn
#

well I guess I can just wire the switch up to just power itself and forget it...

#

(ugh no, it's got no neutral... think i'm stuck here XD)

sterile sleet
#

should be possible afaik

ivory hound
#

@sterile sleet if i were you I would even delete zigbee.db just to be sure i start fresh

#

just make a new zigbee newtork on the correct channel (with less interference)

#

this is what I would do

sterile sleet
#

fml

jolly narwhal
#

just migrate to z2m already ๐Ÿ˜‰

sterile sleet
#

and have no control over my devices? nah

jolly narwhal
#

no control ๐Ÿค”

sterile sleet
#

try sending a colorloop speed command to a bulb with z2m

ivory hound
#

is doable but not simple as zha

sterile sleet
#

last I checked it's not even possible

jolly narwhal
sterile sleet
#

hue_move is just from color x to y - no continous/infinite move

jolly narwhal
#

what on earth are you using that for ?

sterile sleet
#

ambient lightning

jolly narwhal
#

trying to see what it does

ivory hound
#

@jolly narwhal is right with that move it works

#

you can make a script with a while loop

#

as I said is possible but not so simple as ZHA

sterile sleet
#

I just like to let the bulbs work that out themselves. hue_move is just another command to make the network / coordinator busy

ivory hound
#

for me colorloop is not needed ever, to be honest a script will do this just fine ๐Ÿ™‚ but i don't need it, ofc now it depends of use case scenarios of everyone

#

in my book ZHA and Zigbee2MQTT are both good

#

both have advantages and disadvantages

#

at one point i used both in the same time :))

sterile sleet
#

If the bulb supports it - I let the bulb calculate stuff and free the mesh

#

yeah I think I will pair the bulbs back to the hue bridge and everything else to z2m

#

OK I will do it @jolly narwhal

#

fml though, 70 devices

forest cobalt
#

Personally, I like z2m over ZHA simply because I like the added benefit of my zigbee devices being available outside of HA (should HA go down, etc).

golden vessel
#

@sterile sleet you can't change coordinators without re-pairing at the momento

jolly narwhal
#

took me 45 minutes to repair 60+ devices @sterile sleet, then I even had a few issues

sterile sleet
golden vessel
#

Yeah, if they are both ezsp you can

forest cobalt
# sterile sleet fml though, 70 devices

Yeah, been there, done that... It hurt. But, there was the bonus of finding out that most of my crawlspace devices had dropped off my mesh for over a month. lol

sterile sleet
#

first off, replug that conbee and unpair everything

jolly narwhal
#

nah

#

just reset all devices with whatever coordinator you want to use in pairing mode

#

I've never unpaired anything from either HUE, Xiaomi or Tradfri

sterile sleet
#

some of the bulbs are monsters to reset afaik

jolly narwhal
#

which bulbs ? tradfri is just power flip 6 times, hue I just use the dimmer and press until they flash

sterile sleet
#

hue

jolly narwhal
#

with the dimmer it is easy then

forest cobalt
sterile sleet
#

fuck meeee I have 10 hue motion sensors

forest cobalt
#

For the Hue bulbs, you could always use the hue-thief script.

ivory hound
jolly narwhal
#

Never seen those, moving the xiaomi motion sensors were just holding the button for five seconds with z2m in pairing mode

forest cobalt
#

The hue motion sensors are EASY. Pop a pin in the back of it for about 1-2 seconds.

sterile sleet
#

yeah but they are partially glued

violet dagger
#

i didn't know amount of hue bulbs is a good incentive for copulation

ivory hound
#

lol hue motion sensors are really really good

#

haha

forest cobalt
#

@sterile sleet Yeah, ewwww @ that.

forest cobalt
jolly narwhal
#

same with my xiaomi ones

sterile sleet
#

mine worked for 5 years straight

jolly narwhal
#

had zero issues

#

only had them for 2 years though, but haven't replaced a battery yet

#

even did the 1 second hack on one of them

ivory hound
#

lol no xiaomi again ๐Ÿ™‚ that are shit, I agree they last a lot but they report at 2 minutes intervals etc

jolly narwhal
#

mine report every second roughly

#

๐Ÿ˜„

#

if I watch the mqtt log while moving in my office

#

it will be flooded

forest cobalt
#

I've thought about getting a few of the Xiaomi ones to play with, but my Hue ones work way too well... ๐Ÿ˜„

ivory hound
#

you cant compare hue motion or samjin smartthing motion sensors with xiaomi

violet dagger
#

you can't?

ivory hound
#

different category's

violet dagger
#

they're both zigbee motion sensors

jolly narwhal
#

I have no comparative ground, but there is nothing the hue sensor can offer me that the xiaomi can't do right now

ivory hound
#

i can give you one

#

temperature :)))))))

jolly narwhal
#

I don't use them for that ๐Ÿคท

#

I have temperature senors at better locations in each room

ivory hound
jolly narwhal
#

best motion detection location is not the same as best temperature location

forest cobalt
#

Do the xiaomi ones have lux as well?

jolly narwhal
#

yes, it's shitty though

ivory hound
#

some of them do

sour shadow
#

When detecting motion

violet dagger
#

that seems like an overly broad and incorrect statement

ivory hound
#

but lux on xiaomi is .... like motion / in a grey area

sour shadow
#

If you want a light sensor, buy a dedicated one

forest cobalt
#

Hmmmm, that'd be a deal killer for me then. I use lux EVERYWHERE in my autos.

ivory hound
#

yah the aqara illuminance one is good

jolly narwhal
#

It seems very good so far

#

I'm testing out my first one

forest cobalt
#

Hmmmm... food for thought then. Just have to get the wife to sign off on more sensors ๐Ÿ˜‰